Files
swiftadmin/public/static/js/markdown/cherry-markdown.min.js

1 line
2.3 MiB
JavaScript
Raw Normal View History

2022-08-19 19:48:37 +08:00
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).Cherry={})}(this,(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function r(t,e){return t(e={exports:{}},e.exports),e.exports}var i,a,o=function(t){return t&&t.Math==Math&&t},s=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof e&&e)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),A=Function.prototype,u=A.apply,h=A.call,f="object"==typeof Reflect&&Reflect.apply||(l?h.bind(u):function(){return h.apply(u,arguments)}),d=Function.prototype,p=d.bind,g=d.call,m=l&&p.bind(g,g),y=l?function(t){return t&&m(t)}:function(t){return t&&function(){return g.apply(t,arguments)}},v=function(t){return"function"==typeof t},b=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),w=Function.prototype.call,_=l?w.bind(w):function(){return w.apply(w,arguments)},E={}.propertyIsEnumerable,C=Object.getOwnPropertyDescriptor,x={f:C&&!E.call({1:2},1)?function(t){var e=C(this,t);return!!e&&e.enumerable}:E},B=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},T=y({}.toString),k=y("".slice),S=function(t){return k(T(t),8,-1)},I=s.Object,N=y("".split),M=c((function(){return!I("z").propertyIsEnumerable(0)}))?function(t){return"String"==S(t)?N(t,""):I(t)}:I,F=s.TypeError,D=function(t){if(null==t)throw F("Can't call method on "+t);return t},L=function(t){return M(D(t))},O=function(t){return"object"==typeof t?null!==t:v(t)},R={},U=function(t){return v(t)?t:void 0},P=function(t,e){return arguments.length<2?U(R[t])||U(s[t]):R[t]&&R[t][e]||s[t]&&s[t][e]},Q=y({}.isPrototypeOf),H=P("navigator","userAgent")||"",G=s.process,j=s.Deno,K=G&&G.versions||j&&j.version,$=K&&K.v8;$&&(a=(i=$.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!a&&H&&(!(i=H.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=H.match(/Chrome\/(\d+)/))&&(a=+i[1]);var Y=a,V=!!Object.getOwnPropertySymbols&&!c((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Y&&Y<41})),z=V&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,W=s.Object,q=z?function(t){return"symbol"==typeof t}:function(t){var e=P("Symbol");return v(e)&&Q(e.prototype,W(t))},X=s.String,J=function(t){try{return X(t)}catch(t){return"Object"}},Z=s.TypeError,tt=function(t){if(v(t))return t;throw Z(J(t)+" is not a function")},et=function(t,e){var n=t[e];return null==n?void 0:tt(n)},nt=s.TypeError,rt=Object.defineProperty,it=s["__core-js_shared__"]||function(t,e){try{rt(s,t,{value:e,configurable:!0,writable:!0})}catch(n){s[t]=e}return e}("__core-js_shared__",{}),at=r((function(t){(t.exports=function(t,e){return it[t]||(it[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.6",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE",source:"https://github.com/zloirock/core-js"})})),ot=s.Object,st=function(t){return ot(D(t))},ct=y({}.hasOwnProperty),lt=Object.hasOwn||function(t,e){return ct(st(t),e)},At=0,ut=Math.random(),ht=y(1..toString),ft=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ht(++At+ut,36)},dt=at("wks"),pt=s.Symbol,gt=pt&&pt.for,mt=z?pt:pt&&pt.withoutSetter||ft,yt=function(t){if(!lt(dt,t)||!V&&"string"!=typeof dt[t]){var e="Symbol."+t;V&&lt(pt,t)?dt[t]=pt[t]:dt[t]=z&&gt?gt(e):mt(e)}return dt[t]},vt=s.TypeError,bt=yt("toPrimitive"),wt=function(t,e){if(!O(t)||q(t))return t;var n,r=et(t,bt);if(r){if(void 0===e&&(e="default"),n=_(r,t,e),!O(n)||q(n))return n;throw vt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;i