@wangeditor-next/editor 5.3.8 → 5.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -21,7 +21,7 @@ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?windo
21
21
  *
22
22
  * Copyright (c) 2014-2017, Jon Schlinkert.
23
23
  * Released under the MIT License.
24
- */function pC(e){return"[object Object]"===Object.prototype.toString.call(e)}cC({target:"Object",stat:!0,forced:dC},{keys:function(e){return fC(SE(e))}});var hC={isHistory(e){return!1!==pC(t=e)&&(void 0===(n=t.constructor)||!1!==pC(r=n.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||jf.isOperationList(e.redos[0]))&&(0===e.undos.length||jf.isOperationList(e.undos[0]));var t,n,r}},vC=new WeakMap,gC=new WeakMap,yC={isHistoryEditor:e=>hC.isHistory(e.history)&&Nf.isEditor(e),isMerging:e=>gC.get(e),isSaving:e=>vC.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=yC.isMerging(e);gC.set(e,!1),t(),gC.set(e,n)},withoutSaving(e,t){var n=yC.isSaving(e);vC.set(e,!1),t(),vC.set(e,n)}},mC=lE.String,bC=function(e){if("Symbol"===Zw(e))throw TypeError("Cannot convert a Symbol value to a string");return mC(e)},EC=function(){var e=nw(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},wC=$w.PROPER,SC=RegExp.prototype,CC=SC.toString,DC=mE(EC),AC=jE((function(){return"/a/b"!=CC.call({source:"a",flags:"b"})})),xC=wC&&"toString"!=CC.name;(AC||xC)&&Vw(RegExp.prototype,"toString",(function(){var e=nw(this),t=bC(e.source),n=e.flags;return"/"+t+"/"+bC(void 0===n&&iw(SC,e)&&!("flags"in SC)?DC(e):n)}),{unsafe:!0});var OC,TC=KE?Object.defineProperties:function(e,t){nw(e);for(var n,r=jS(t),o=fC(t),i=o.length,a=0;i>a;)bw.f(e,n=o[a++],r[n]);return e},NC=BE("document","documentElement"),kC=kw("IE_PROTO"),BC=function(){},IC=function(e){return"<script>"+e+"<\/script>"},FC=function(e){e.write(IC("")),e.close();var t=e.parentWindow.Object;return e=null,t},PC=function(){try{OC=new ActiveXObject("htmlfile")}catch(e){}var e,t;PC="undefined"!=typeof document?document.domain&&OC?FC(OC):((t=JE("iframe")).style.display="none",NC.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(IC("document.F=Object")),e.close(),e.F):FC(OC);for(var n=YS.length;n--;)delete PC.prototype[YS[n]];return PC()};Bw[kC]=!0;var RC=Object.create||function(e,t){var n;return null!==e?(BC.prototype=nw(e),n=new BC,BC.prototype=null,n[kC]=e):n=PC(),void 0===t?n:TC(n,t)},_C=GE("unscopables"),LC=Array.prototype;null==LC[_C]&&bw.f(LC,_C,{configurable:!0,value:RC(null)});var jC=function(e){LC[_C][e]=!0},MC=GS.includes;cC({target:"Array",proto:!0},{includes:function(e){return MC(this,e,arguments.length>1?arguments[1]:void 0)}}),jC("includes");var zC=GE("match"),HC=function(e){var t;return YE(e)&&(void 0!==(t=e[zC])?!!t:"RegExp"==qw(e))},UC=lE.TypeError,$C=function(e){if(HC(e))throw UC("The method doesn't accept regular expressions");return e},VC=GE("match"),GC=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[VC]=!1,"/./"[e](t)}catch(e){}}return!1},WC=mE("".indexOf);cC({target:"String",proto:!0,forced:!GC("includes")},{includes:function(e){return!!~WC(bC(EE(this)),bC($C(e)),arguments.length>1?arguments[1]:void 0)}});var qC=/"/g,KC=mE("".replace);cC({target:"String",proto:!0,forced:("anchor",jE((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return"a","name",t=e,n=bC(EE(this)),r="<a",(r+=' name="'+KC(bC(t),qC,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var YC=function(e,t,n){var r,o;nw(e);try{if(!(r=dw(e,"return"))){if("throw"===t)throw n;return n}r=ow(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return nw(r),n},XC=function(e,t,n,r){try{return r?t(nw(n)[0],n[1]):t(n)}catch(t){YC(e,"throw",t)}},ZC={},JC=GE("iterator"),QC=Array.prototype,eD=function(e){return void 0!==e&&(ZC.Array===e||QC[JC]===e)},tD=function(e,t,n){var r=gw(t);r in e?bw.f(e,r,Ew(0,n)):e[r]=n},nD=GE("iterator"),rD=function(e){if(null!=e)return dw(e,nD)||dw(e,"@@iterator")||ZC[Zw(e)]},oD=lE.TypeError,iD=function(e,t){var n=arguments.length<2?rD(e):t;if(fw(n))return nw(ow(n,e));throw oD(lw(e)+" is not iterable")},aD=lE.Array,uD=GE("iterator"),sD=!1;try{var lD=0,cD={next:function(){return{done:!!lD++}},return:function(){sD=!0}};cD[uD]=function(){return this},Array.from(cD,(function(){throw 2}))}catch(PO){}var fD=function(e,t){if(!t&&!sD)return!1;var n=!1;try{var r={};r[uD]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},dD=!fD((function(e){Array.from(e)}));cC({target:"Array",stat:!0,forced:dD},{from:function(e){var t=SE(e),n=SS(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=oS(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,d=rD(t),p=0;if(!d||this==aD&&eD(d))for(a=pS(t),u=n?new this(a):aD(a);a>p;p++)f=i?o(t[p],p):t[p],tD(u,p,f);else for(c=(l=iD(t,d)).next,u=n?new this:[];!(s=ow(c,l)).done;p++)f=i?XC(l,o,[s.value,p],!0):s.value,tD(u,p,f);return u.length=p,u}});var pD,hD,vD,gD=mE("".charAt),yD=mE("".charCodeAt),mD=mE("".slice),bD=function(e){return function(t,n){var r,o,i=bC(EE(t)),a=cS(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=yD(i,a))<55296||r>56319||a+1===u||(o=yD(i,a+1))<56320||o>57343?e?gD(i,a):r:e?mD(i,a,a+2):o-56320+(r-55296<<10)+65536}},ED={codeAt:bD(!1),charAt:bD(!0)},wD=!jE((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),SD=kw("IE_PROTO"),CD=lE.Object,DD=CD.prototype,AD=wD?CD.getPrototypeOf:function(e){var t=SE(e);if(DE(t,SD))return t[SD];var n=t.constructor;return NE(n)&&t instanceof n?n.prototype:t instanceof CD?DD:null},xD=GE("iterator"),OD=!1;[].keys&&("next"in(vD=[].keys())?(hD=AD(AD(vD)))!==Object.prototype&&(pD=hD):OD=!0);var TD=null==pD||jE((function(){var e={};return pD[xD].call(e)!==e}));TD&&(pD={}),NE(pD[xD])||Vw(pD,xD,(function(){return this}));var ND={IteratorPrototype:pD,BUGGY_SAFARI_ITERATORS:OD},kD=bw.f,BD=GE("toStringTag"),ID=function(e,t,n){e&&!DE(e=n?e:e.prototype,BD)&&kD(e,BD,{configurable:!0,value:t})},FD=ND.IteratorPrototype,PD=function(){return this},RD=lE.String,_D=lE.TypeError,LD=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=mE(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return nw(n),function(e){if("object"==typeof e||NE(e))return e;throw _D("Can't set "+RD(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),jD=$w.PROPER,MD=$w.CONFIGURABLE,zD=ND.IteratorPrototype,HD=ND.BUGGY_SAFARI_ITERATORS,UD=GE("iterator"),$D=function(){return this},VD=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=RC(FD,{next:Ew(1,n)}),ID(e,o,!1),ZC[o]=PD}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!HD&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[UD]||p["@@iterator"]||o&&p[o],v=!HD&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=AD(g.call(new e)))!==Object.prototype&&u.next&&(AD(u)!==zD&&(LD?LD(u,zD):NE(u[UD])||Vw(u,UD,$D)),ID(u,f,!0)),jD&&"values"==o&&h&&"values"!==h.name&&(MD?ww(p,"name","values"):(d=!0,v=function(){return ow(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(HD||d||!(l in p))&&Vw(p,l,s[l]);else cC({target:t,proto:!0,forced:HD||d},s);return p[UD]!==v&&Vw(p,UD,v,{name:o}),ZC[t]=v,s},GD=ED.charAt,WD=Mw.set,qD=Mw.getterFor("String Iterator");VD(String,"String",(function(e){WD(this,{type:"String Iterator",string:bC(e),index:0})}),(function(){var e,t=qD(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=GD(n,r),t.index+=e.length,{value:e,done:!1})}));var KD,YD=zS.f,XD=mE("".endsWith),ZD=mE("".slice),JD=Math.min,QD=GC("endsWith"),eA=!(QD||(KD=YD(String.prototype,"endsWith"),!KD||KD.writable));cC({target:"String",proto:!0,forced:!eA&&!QD},{endsWith:function(e){var t=bC(EE(this));$C(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:JD(dS(n),r),i=bC(e);return XD?XD(t,i,o):ZD(t,o-i.length,o)===i}});var tA=mE([].join),nA=uS!=Object,rA=NS("join",",");cC({target:"Array",proto:!0,forced:nA||!rA},{join:function(e){return tA(jS(this),void 0===e?",":e)}});var oA=GE("species"),iA=function(e){return LE>=51||!jE((function(){var t=[];return(t.constructor={})[oA]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},aA=TS.map,uA=iA("map");cC({target:"Array",proto:!0,forced:!uA},{map:function(e){return aA(this,e,arguments.length>1?arguments[1]:void 0)}});var sA=lE.RegExp,lA=jE((function(){var e=sA("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),cA=lA||jE((function(){return!sA("a","y").sticky})),fA={BROKEN_CARET:lA||jE((function(){var e=sA("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:cA,UNSUPPORTED_Y:lA},dA=lE.RegExp,pA=jE((function(){var e=dA(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),hA=lE.RegExp,vA=jE((function(){var e=hA("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),gA=Mw.get,yA=pE("native-string-replace",String.prototype.replace),mA=RegExp.prototype.exec,bA=mA,EA=mE("".charAt),wA=mE("".indexOf),SA=mE("".replace),CA=mE("".slice),DA=function(){var e=/a/,t=/b*/g;return ow(mA,e,"a"),ow(mA,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),AA=fA.BROKEN_CARET,xA=void 0!==/()??/.exec("")[1];(DA||xA||AA||pA||vA)&&(bA=function(e){var t,n,r,o,i,a,u,s=this,l=gA(s),c=bC(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=ow(bA,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=AA&&s.sticky,h=ow(EC,s),v=s.source,g=0,y=c;if(p&&(h=SA(h,"y",""),-1===wA(h,"g")&&(h+="g"),y=CA(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==EA(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),xA&&(n=new RegExp("^"+v+"$(?!\\s)",h)),DA&&(r=s.lastIndex),o=ow(mA,p?n:s,y),p?o?(o.input=CA(o.input,g),o[0]=CA(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:DA&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),xA&&o&&o.length>1&&ow(yA,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=RC(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var OA=bA;cC({target:"RegExp",proto:!0,forced:/./.exec!==OA},{exec:OA});var TA=Function.prototype,NA=TA.apply,kA=TA.bind,BA=TA.call,IA="object"==typeof Reflect&&Reflect.apply||(kA?BA.bind(NA):function(){return BA.apply(NA,arguments)}),FA=GE("species"),PA=RegExp.prototype,RA=function(e,t,n,r){var o=GE(e),i=!jE((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!jE((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[FA]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=mE(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=mE(e),s=t.exec;return s===OA||s===PA.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));Vw(String.prototype,e,s[0]),Vw(PA,o,s[1])}r&&ww(PA[o],"sham",!0)},_A=ED.charAt,LA=function(e,t,n){return t+(n?_A(e,t).length:1)},jA=Math.floor,MA=mE("".charAt),zA=mE("".replace),HA=mE("".slice),UA=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,$A=/\$([$&'`]|\d{1,2})/g,VA=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=$A;return void 0!==o&&(o=SE(o),s=UA),zA(i,s,(function(i,s){var l;switch(MA(s,0)){case"$":return"$";case"&":return e;case"`":return HA(t,0,n);case"'":return HA(t,a);case"<":l=o[HA(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=jA(c/10);return 0===f?i:f<=u?void 0===r[f-1]?MA(s,1):r[f-1]+MA(s,1):i}l=r[c-1]}return void 0===l?"":l}))},GA=lE.TypeError,WA=function(e,t){var n=e.exec;if(NE(n)){var r=ow(n,e,t);return null!==r&&nw(r),r}if("RegExp"===qw(e))return ow(OA,e,t);throw GA("RegExp#exec called on incompatible receiver")},qA=GE("replace"),KA=Math.max,YA=Math.min,XA=mE([].concat),ZA=mE([].push),JA=mE("".indexOf),QA=mE("".slice),ex="$0"==="a".replace(/./,"$0"),tx=!!/./[qA]&&""===/./[qA]("a","$0");RA("replace",(function(e,t,n){var r=tx?"$":"$0";return[function(e,n){var r=EE(this),o=null==e?void 0:dw(e,qA);return o?ow(o,e,r,n):ow(t,bC(r),e,n)},function(e,o){var i=nw(this),a=bC(e);if("string"==typeof o&&-1===JA(o,r)&&-1===JA(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=NE(o);s||(o=bC(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=WA(i,a);if(null===d)break;if(ZA(f,d),!l)break;""===bC(d[0])&&(i.lastIndex=LA(a,dS(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=bC((d=f[g])[0]),m=KA(YA(cS(d.index),a.length),0),b=[],E=1;E<d.length;E++)ZA(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=XA([y],b,m,a);void 0!==w&&ZA(S,w);var C=bC(IA(o,void 0,S))}else C=VA(y,a,m,b,w,o);m>=v&&(h+=QA(a,v,m)+C,v=m+y.length)}return h+QA(a,v)}]}),!!jE((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!ex||tx);var nx=function(e,t){return nx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},nx(e,t)};function rx(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}nx(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ox=function(){return ox=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ox.apply(this,arguments)};function ix(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ax(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function ux(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var sx=0,lx=function(){this.id=""+sx++},cx=Mw.set,fx=Mw.getterFor("Array Iterator"),dx=VD(Array,"Array",(function(e,t){cx(this,{type:"Array Iterator",target:jS(e),index:0,kind:t})}),(function(){var e=fx(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");ZC.Arguments=ZC.Array,jC("keys"),jC("values"),jC("entries");var px=function(e,t,n){for(var r in t)Vw(e,r,t[r],n);return e},hx=lE.Array,vx=Math.max,gx=function(e,t,n){for(var r=pS(e),o=$S(t,r),i=$S(void 0===n?r:n,r),a=hx(vx(i-o,0)),u=0;o<i;o++,u++)tD(a,u,e[o]);return a.length=u,a},yx=ZS.f,mx="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],bx={f:function(e){return mx&&"Window"==qw(e)?function(e){try{return yx(e)}catch(e){return gx(mx)}}(e):yx(jS(e))}},Ex=jE((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),wx=Object.isExtensible,Sx=jE((function(){wx(1)}))||Ex?function(e){return!!YE(e)&&(!Ex||"ArrayBuffer"!=qw(e))&&(!wx||wx(e))}:wx,Cx=!jE((function(){return Object.isExtensible(Object.preventExtensions({}))})),Dx=iE((function(e){var t=bw.f,n=!1,r=TE("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=ZS.f,t=mE([].splice),o={};o[r]=1,e(o).length&&(ZS.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},cC({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:bx.f}))},fastKey:function(e,t){if(!YE(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!DE(e,r)){if(!Sx(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!DE(e,r)){if(!Sx(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Cx&&n&&Sx(e)&&!DE(e,r)&&i(e),e}};Bw[r]=!0})),Ax=lE.TypeError,xx=function(e,t){this.stopped=e,this.result=t},Ox=xx.prototype,Tx=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=oS(t,c),v=function(e){return r&&YC(r,"normal",e),new xx(!0,e)},g=function(e){return f?(nw(e),p?h(e[0],e[1],v):h(e[0],e[1])):p?h(e,v):h(e)};if(d)r=e;else{if(!(o=rD(e)))throw Ax(lw(e)+" is not iterable");if(eD(o)){for(i=0,a=pS(e);a>i;i++)if((u=g(e[i]))&&iw(Ox,u))return u;return new xx(!1)}r=iD(e,o)}for(s=r.next;!(l=ow(s,r)).done;){try{u=g(l.value)}catch(e){YC(r,"throw",e)}if("object"==typeof u&&u&&iw(Ox,u))return u}return new xx(!1)},Nx=lE.TypeError,kx=function(e,t){if(iw(t,e))return e;throw Nx("Incorrect invocation")},Bx=function(e,t,n){var r,o;return LD&&NE(r=t.constructor)&&r!==n&&YE(o=r.prototype)&&o!==n.prototype&&LD(e,o),e},Ix=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=lE[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=mE(u[e]);Vw(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!YE(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!YE(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!YE(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(sC(e,!NE(a)||!(o||u.forEach&&!jE((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),Dx.enable();else if(sC(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=jE((function(){f.has(1)})),h=fD((function(e){new a(e)})),v=!o&&jE((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){kx(e,u);var n=Bx(new a,e,s);return null!=t&&Tx(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,cC({global:!0,forced:s!=a},l),ID(s,e),o||n.setStrong(s,e,r),s},Fx=Dx.getWeakData,Px=Mw.set,Rx=Mw.getterFor,_x=TS.find,Lx=TS.findIndex,jx=mE([].splice),Mx=0,zx=function(e){return e.frozen||(e.frozen=new Hx)},Hx=function(){this.entries=[]},Ux=function(e,t){return _x(e.entries,(function(e){return e[0]===t}))};Hx.prototype={get:function(e){var t=Ux(this,e);if(t)return t[1]},has:function(e){return!!Ux(this,e)},set:function(e,t){var n=Ux(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Lx(this.entries,(function(t){return t[0]===e}));return~t&&jx(this.entries,t,1),!!~t}};var $x,Vx={getConstructor:function(e,t,n,r){var o=e((function(e,o){kx(e,i),Px(e,{type:t,id:Mx++,frozen:void 0}),null!=o&&Tx(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Rx(t),u=function(e,t,n){var r=a(e),o=Fx(nw(t),!0);return!0===o?zx(r).set(t,n):o[r.id]=n,e};return px(i,{delete:function(e){var t=a(this);if(!YE(e))return!1;var n=Fx(e);return!0===n?zx(t).delete(e):n&&DE(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!YE(e))return!1;var n=Fx(e);return!0===n?zx(t).has(e):n&&DE(n,t.id)}}),px(i,n?{get:function(e){var t=a(this);if(YE(e)){var n=Fx(e);return!0===n?zx(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},Gx=Mw.enforce,Wx=!lE.ActiveXObject&&"ActiveXObject"in lE,qx=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Kx=Ix("WeakMap",qx,Vx);if(Tw&&Wx){$x=Vx.getConstructor(qx,"WeakMap",!0),Dx.enable();var Yx=Kx.prototype,Xx=mE(Yx.delete),Zx=mE(Yx.has),Jx=mE(Yx.get),Qx=mE(Yx.set);px(Yx,{delete:function(e){if(YE(e)&&!Sx(e)){var t=Gx(this);return t.frozen||(t.frozen=new $x),Xx(this,e)||t.frozen.delete(e)}return Xx(this,e)},has:function(e){if(YE(e)&&!Sx(e)){var t=Gx(this);return t.frozen||(t.frozen=new $x),Zx(this,e)||t.frozen.has(e)}return Zx(this,e)},get:function(e){if(YE(e)&&!Sx(e)){var t=Gx(this);return t.frozen||(t.frozen=new $x),Zx(this,e)?Jx(this,e):t.frozen.get(e)}return Jx(this,e)},set:function(e,t){if(YE(e)&&!Sx(e)){var n=Gx(this);n.frozen||(n.frozen=new $x),Zx(this,e)?Qx(this,e,t):n.frozen.set(e,t)}else Qx(this,e,t);return this}})}var eO=GE("iterator"),tO=GE("toStringTag"),nO=dx.values,rO=function(e,t){if(e){if(e[eO]!==nO)try{ww(e,eO,nO)}catch(t){e[eO]=nO}if(e[tO]||ww(e,tO,t),Qw[t])for(var n in dx)if(e[n]!==dx[n])try{ww(e,n,dx[n])}catch(t){e[n]=dx[n]}}};for(var oO in Qw)rO(lE[oO]&&lE[oO].prototype,oO);rO(nS,"DOMTokenList");var iO=new WeakMap,aO=new WeakMap,uO=new WeakMap,sO=new WeakMap,lO=new WeakMap,cO=new WeakMap,fO=new WeakMap,dO=new WeakMap,pO=new WeakMap,hO=new WeakMap,vO=new WeakMap,gO=new WeakMap,yO=new WeakMap,mO=new WeakMap,bO=new WeakMap,EO=new WeakMap,wO=new WeakMap,SO=new WeakMap,CO=new WeakMap,DO=new WeakMap,AO=new WeakMap,xO=new WeakMap,OO=new WeakMap,TO=new WeakMap,NO=new WeakMap,kO=TS.find,BO=!0;"find"in[]&&Array(1).find((function(){BO=!1})),cC({target:"Array",proto:!0,forced:BO},{find:function(e){return kO(this,e,arguments.length>1?arguments[1]:void 0)}}),jC("find"),cC({global:!0},{globalThis:lE});const IO=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];eh&&(Mp.fn.css=eh),ah&&(Mp.fn.append=ah),zp&&(Mp.fn.addClass=zp),Hp&&(Mp.fn.removeClass=Hp),Up&&(Mp.fn.hasClass=Up),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Vp&&(Mp.fn.removeAttr=Vp),Jp&&(Mp.fn.hide=Jp),Qp&&(Mp.fn.show=Qp),Zp&&(Mp.fn.offset=Zp),Yp&&(Mp.fn.width=Yp),Xp&&(Mp.fn.height=Xp),sh&&(Mp.fn.parent=sh),lh&&(Mp.fn.parents=lh),ih&&(Mp.fn.is=ih),Gp&&(Mp.fn.dataset=Gp),Wp&&(Mp.fn.val=Wp),oh&&(Mp.fn.text=oh),rh&&(Mp.fn.html=rh),fh&&(Mp.fn.children=fh),dh&&(Mp.fn.remove=dh),ch&&(Mp.fn.find=ch),th&&(Mp.fn.each=th),ph&&(Mp.fn.empty=ph);var FO,PO,RO=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},_O=function(e){return LO(e)&&1===e.nodeType},LO=function(e){var t=RO(e);return!!t&&e instanceof t.Node},jO=function(e){var t=e&&e.anchorNode&&RO(e.anchorNode);return!!t&&e instanceof t.Selection},MO=function(e){return LO(e)&&3===e.nodeType},zO=function(e){var t,n,r;return null!==(t=window.document.getElementById(e))&&void 0!==t?t:(null===(r=null===(n=window.document.activeElement)||void 0===n?void 0:n.shadowRoot)||void 0===r?void 0:r.getElementById(e))||null},HO=function(e,t,n){for(var r,o=e.childNodes,i=o[t],a=t,u=!1,s=!1;(LO(r=i)&&8===r.nodeType||_O(i)&&0===i.childNodes.length||_O(i)&&"false"===i.getAttribute("contenteditable"))&&(!u||!s);)a>=o.length?(u=!0,a=t-1,n="backward"):a<0?(s=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},UO=function(e,t,n){return ax(HO(e,t,n),1)[0]},$O=function e(t){var n,r,o="";if(MO(t)&&t.nodeValue)return t.nodeValue;if(_O(t)){try{for(var i=ix(Array.from(t.childNodes)),a=i.next();!a.done;a=i.next())o+=e(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}var u=getComputedStyle(t).getPropertyValue("display");"block"!==u&&"list"!==u&&"table-row"!==u&&"BR"!==t.tagName||(o+="\n")}return o};function VO(e,t){if(!(e instanceof HTMLElement&&"true"===e.dataset.slateVoid))for(var n=e.childNodes,r=n.length;r--;){var o=n[r],i=o.nodeType;3==i?t(o,e):1!=i&&9!=i&&11!=i||VO(o,t)}}function GO(e){if(0===e.length)return"";var t=e[0];return t.nodeType!==FO.ELEMENT_NODE?"":t.tagName.toLowerCase()}(PO=FO||(FO={}))[PO.ELEMENT_NODE=1]="ELEMENT_NODE",PO[PO.TEXT_NODE=3]="TEXT_NODE",PO[PO.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",PO[PO.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",PO[PO.COMMENT_NODE=8]="COMMENT_NODE",PO[PO.DOCUMENT_NODE=9]="DOCUMENT_NODE",PO[PO.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",PO[PO.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",void 0!==globalThis.navigator&&void 0!==globalThis.window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var WO="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),qO="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var KO="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),YO="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),XO="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ZO="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var JO=!XO&&!YO&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,QO={getWindow:function(e){var t=AO.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=DO.get(t);return n||(n=new lx,DO.set(t,n)),n},setNewKey:function(e){var t=new lx;DO.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var o=bO.get(r);if(null==o){if(Nf.isEditor(r))return n;break}var i=mO.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=QO.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},getParentNode:function(e,t){return bO.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&null!=r;){var o=QO.getParentNode(e,r);if(null==o)break;n.push(o),r=o}return n},getTopNode:function(e,t){var n=[QO.findPath(e,t)[0]];return Rf.get(e,n)},toDOMNode:function(e,t){var n;if(Nf.isEditor(t))n=EO.get(e);else{var r=QO.findKey(e,t);n=SO.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){void 0===n&&(n={});var r,o=n.editable,i=void 0!==o&&o,a=QO.toDOMNode(e,e);try{r=_O(t)?t:t.parentElement}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!r&&(r.closest("[data-slate-editor]")===a&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))||!!r.getAttribute("data-slate-string"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=qf.isBackward(t),i=QO.toDOMPoint(e,n),a=qf.isCollapsed(t)?i:QO.toDOMPoint(e,r),u=QO.getWindow(e).document.createRange(),s=ax(o?a:i,2),l=s[0],c=s[1],f=ax(o?i:a,2),d=f[0],p=f[1],h=!!(_O(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),v=!!(_O(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,h?1:c),u.setEnd(d,v?1:p),u},toDOMPoint:function(e,t){var n,r,o,i=ax(Nf.node(e,t.path),1)[0],a=QO.toDOMNode(e,i);Nf.void(e,{at:t})&&(t={path:t.path,offset:0});var u=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var l=ix(u),c=l.next();!c.done;c=l.next()){var f=c.value,d=f.childNodes[0];if(null!=d&&null!=d.textContent){var p=d.textContent.length,h=f.getAttribute("data-slate-length"),v=s+(null==h?p:parseInt(h,10));if(t.offset<=v){o=[d,Math.min(p,Math.max(0,t.offset-s))];break}s=v}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return o},toSlateNode:function(e,t){var n=_O(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?wO.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,o=t.target;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);var i,a=QO.toSlateNode(e,t.target),u=QO.findPath(e,a);if(Nf.isVoid(e,a)){var s=o.getBoundingClientRect(),l=e.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,c=Nf.point(e,u,{edge:l?"start":"end"}),f=l?Nf.before(e,c):Nf.after(e,c);if(f)return Nf.range(e,f)}var d=this.getWindow(e).document;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(n,r);else{var p=d.caretPositionFromPoint(n,r);p&&((i=d.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);return QO.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,o,i,a,u,s=n.exactMatch,l=n.suppressThrow;if((jO(t)?t.anchorNode:t.startContainer)&&(jO(t)?(r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=ZO&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,u=t.collapsed)),null==r||null==i||null==o||null==a)throw new Error("Cannot resolve a Slate range from DOM range: "+t);var c=QO.toSlatePoint(e,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:QO.toSlatePoint(e,[i,a],{exactMatch:s,suppressThrow:l});if(!f)return null;var d={anchor:c,focus:f};return qf.isExpanded(d)&&qf.isForward(d)&&_O(i)&&Nf.void(e,{at:d.focus,mode:"highest"})&&(d=Nf.unhangRange(e,d,{voids:!0})),d},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=ax(o?t:function(e){var t,n=ax(e,2),r=n[0],o=n[1];if(_O(r)&&r.childNodes.length){var i=o===r.childNodes.length,a=i?o-1:o;for(r=(t=ax(HO(r,a,i?"backward":"forward"),2))[0],i=(a=t[1])<o;_O(r)&&r.childNodes.length;){var u=i?r.childNodes.length-1:0;r=UO(r,u,i?"backward":"forward")}o=i&&null!=r.textContent?r.textContent.length:0}return[r,o]}(t),2),u=a[0],s=a[1],l=u.parentNode,c=null,f=0;if(l){var d=l.closest('[data-slate-void="true"]'),p=l.closest("[data-slate-leaf]"),h=null;if(p){c=p.closest('[data-slate-node="text"]');var v=QO.getWindow(e).document.createRange();v.setStart(c,0),v.setEnd(u,s);var g=v.cloneContents();ux(ux([],ax(Dp(g.querySelectorAll("[data-slate-zero-width]")))),ax(Dp(g.querySelectorAll("[contenteditable=false]")))).forEach((function(e){e.parentNode.removeChild(e)})),f=g.textContent.length,h=c}else d&&((p=d.querySelector("[data-slate-leaf]"))?(c=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach((function(e){f-=e.textContent.length}))):f=1);h&&f===h.textContent.length&&(l.hasAttribute("data-slate-zero-width")||qO&&(null===(r=h.textContent)||void 0===r?void 0:r.endsWith("\n")))&&f--}if(!c){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t)}var y=QO.toSlateNode(e,c);return{path:QO.findPath(e,y),offset:f}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return Nf.hasPath(e,n.path)&&Nf.hasPath(e,r.path)},getNodeType:function(e){return Cf.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map((function(e){return Rf.string(e)})).join("")},getSelectedElems:function(e){var t,n,r=[],o=Nf.nodes(e,{universal:!0});try{for(var i=ix(o),a=i.next();!a.done;a=i.next()){var u=ax(a.value,1)[0];Cf.isElement(u)&&r.push(u)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=ax(Nf.nodes(e,{match:function(e){return n.checkNodeType(e,t)},universal:!0}),1),o=r[0];return null==o?null:o[0]},getSelectedTextNode:function(e){var t=ax(Nf.nodes(e,{match:function(e){return ed.isText(e)},universal:!0}),1),n=t[0];return null==n?null:n[0]},isNodeSelected:function(e,t){var n=ax(Nf.nodes(e,{match:function(e){return e===t},universal:!0}),1),r=n[0];return null!=r&&ax(r,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(Nf.isEnd(e,n.anchor,t)||Nf.isEnd(e,n.focus,t))},getTextarea:function(e){var t=iO.get(e);if(null==t)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return sO.get(e)||null},getHoverbar:function(e){return cO.get(e)||null},normalizeContent:function(e){e.children.forEach((function(t,n){e.normalizeNode([t,[n]])}))},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,o,i=QO.getTextarea(e).$textArea,a=null==i?void 0:i[0].childNodes;if(a)try{for(var u=ix(Array.from(a)),s=u.next();!s.done;s=u.next()){var l=s.value;if(3!==l.nodeType)break;l.remove()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}var c=Nf.nodes(e,{match:function(t){return!(!Cf.isElement(t)||e.isInline(t))},universal:!0});try{for(var f=ix(c),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];VO(QO.toDOMNode(e,h),(function(e,t){var n=Mp(t);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||t.removeChild(e)}))}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=Nf.nodes(e,{match:function(t){return e.isVoid(t)}}),o=0;try{for(var i=ix(r),a=i.next();!a.done;a=i.next())a.value,o++}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(null==t)return!1;if(qf.isExpanded(t))return!1;var n=QO.getSelectedNodeByType(e,"paragraph");if(null===n)return!1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(e,t){var n=Nf.node(e,t);if(null==n)return!1;var r=ax(n,1)[0].children;return 1===r.length&&""===r[0].text}},eT=1,tT={},nT={};var rT=TS.filter,oT=iA("filter");cC({target:"Array",proto:!0,forced:!oT},{filter:function(e){return rT(this,e,arguments.length>1?arguments[1]:void 0)}});var iT="\t\n\v\f\r                 \u2028\u2029\ufeff",aT=mE("".replace),uT="["+iT+"]",sT=RegExp("^"+uT+uT+"*"),lT=RegExp(uT+uT+"*$"),cT=function(e){return function(t){var n=bC(EE(t));return 1&e&&(n=aT(n,sT,"")),2&e&&(n=aT(n,lT,"")),n}},fT={start:cT(1),end:cT(2),trim:cT(3)},dT=$w.PROPER,pT=fT.trim;cC({target:"String",proto:!0,forced:function(e){return jE((function(){return!!iT[e]()||"​…᠎"!=="​…᠎"[e]()||dT&&iT[e].name!==e}))}("trim")},{trim:function(){return pT(this)}});var hT=[];var vT={};function gT(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"}var yT,mT,bT,ET,wT=lE.Promise,ST=GE("species"),CT=function(e){var t=BE(e),n=bw.f;KE&&t&&!t[ST]&&n(t,ST,{configurable:!0,get:function(){return this}})},DT=lE.TypeError,AT=GE("species"),xT=function(e,t){var n,r=nw(e).constructor;return void 0===r||null==(n=nw(r)[AT])?t:function(e){if(SS(e))return e;throw DT(lw(e)+" is not a constructor")}(n)},OT=mE([].slice),TT=/(?:ipad|iphone|ipod).*applewebkit/i.test(IE),NT="process"==qw(lE.process),kT=lE.setImmediate,BT=lE.clearImmediate,IT=lE.process,FT=lE.Dispatch,PT=lE.Function,RT=lE.MessageChannel,_T=lE.String,LT=0,jT={};try{yT=lE.location}catch(PO){}var MT=function(e){if(DE(jT,e)){var t=jT[e];delete jT[e],t()}},zT=function(e){return function(){MT(e)}},HT=function(e){MT(e.data)},UT=function(e){lE.postMessage(_T(e),yT.protocol+"//"+yT.host)};kT&&BT||(kT=function(e){var t=OT(arguments,1);return jT[++LT]=function(){IA(NE(e)?e:PT(e),void 0,t)},mT(LT),LT},BT=function(e){delete jT[e]},NT?mT=function(e){IT.nextTick(zT(e))}:FT&&FT.now?mT=function(e){FT.now(zT(e))}:RT&&!TT?(ET=(bT=new RT).port2,bT.port1.onmessage=HT,mT=oS(ET.postMessage,ET)):lE.addEventListener&&NE(lE.postMessage)&&!lE.importScripts&&yT&&"file:"!==yT.protocol&&!jE(UT)?(mT=UT,lE.addEventListener("message",HT,!1)):mT="onreadystatechange"in JE("script")?function(e){NC.appendChild(JE("script")).onreadystatechange=function(){NC.removeChild(this),MT(e)}}:function(e){setTimeout(zT(e),0)});var $T,VT,GT,WT,qT,KT,YT,XT,ZT={set:kT,clear:BT},JT=/ipad|iphone|ipod/i.test(IE)&&void 0!==lE.Pebble,QT=/web0s(?!.*chrome)/i.test(IE),eN=zS.f,tN=ZT.set,nN=lE.MutationObserver||lE.WebKitMutationObserver,rN=lE.document,oN=lE.process,iN=lE.Promise,aN=eN(lE,"queueMicrotask"),uN=aN&&aN.value;uN||($T=function(){var e,t;for(NT&&(e=oN.domain)&&e.exit();VT;){t=VT.fn,VT=VT.next;try{t()}catch(e){throw VT?WT():GT=void 0,e}}GT=void 0,e&&e.enter()},TT||NT||QT||!nN||!rN?!JT&&iN&&iN.resolve?((YT=iN.resolve(void 0)).constructor=iN,XT=oS(YT.then,YT),WT=function(){XT($T)}):NT?WT=function(){oN.nextTick($T)}:(tN=oS(tN,lE),WT=function(){tN($T)}):(qT=!0,KT=rN.createTextNode(""),new nN($T).observe(KT,{characterData:!0}),WT=function(){KT.data=qT=!qT}));var sN,lN,cN,fN,dN=uN||function(e){var t={fn:e,next:void 0};GT&&(GT.next=t),VT||(VT=t,WT()),GT=t},pN=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=fw(t),this.reject=fw(n)},hN={f:function(e){return new pN(e)}},vN=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},gN="object"==typeof window,yN=ZT.set,mN=GE("species"),bN="Promise",EN=Mw.getterFor(bN),wN=Mw.set,SN=Mw.getterFor(bN),CN=wT&&wT.prototype,DN=wT,AN=CN,xN=lE.TypeError,ON=lE.document,TN=lE.process,NN=hN.f,kN=NN,BN=!!(ON&&ON.createEvent&&lE.dispatchEvent),IN=NE(lE.PromiseRejectionEvent),FN=!1,PN=sC(bN,(function(){var e=xw(DN),t=e!==String(DN);if(!t&&66===LE)return!0;if(LE>=51&&/native code/.test(e))return!1;var n=new DN((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[mN]=r,!(FN=n.then((function(){}))instanceof r)||!t&&gN&&!IN})),RN=PN||!fD((function(e){DN.all(e).catch((function(){}))})),_N=function(e){var t;return!(!YE(e)||!NE(t=e.then))&&t},LN=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;dN((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&HN(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(xN("Promise-chain cycle")):(u=_N(a))?ow(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&MN(e)}))}},jN=function(e,t,n){var r,o;BN?((r=ON.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),lE.dispatchEvent(r)):r={promise:t,reason:n},!IN&&(o=lE["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=lE.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},MN=function(e){ow(yN,lE,(function(){var t,n=e.facade,r=e.value;if(zN(e)&&(t=vN((function(){NT?TN.emit("unhandledRejection",r,n):jN("unhandledrejection",n,r)})),e.rejection=NT||zN(e)?2:1,t.error))throw t.value}))},zN=function(e){return 1!==e.rejection&&!e.parent},HN=function(e){ow(yN,lE,(function(){var t=e.facade;NT?TN.emit("rejectionHandled",t):jN("rejectionhandled",t,e.value)}))},UN=function(e,t,n){return function(r){e(t,r,n)}},$N=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,LN(e,!0))},VN=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw xN("Promise can't be resolved itself");var r=_N(t);r?dN((function(){var n={done:!1};try{ow(r,t,UN(VN,n,e),UN($N,n,e))}catch(t){$N(n,t,e)}})):(e.value=t,e.state=1,LN(e,!1))}catch(t){$N({done:!1},t,e)}}};if(PN&&(AN=(DN=function(e){kx(this,AN),fw(e),ow(sN,this);var t=EN(this);try{e(UN(VN,t),UN($N,t))}catch(e){$N(t,e)}}).prototype,(sN=function(e){wN(this,{type:bN,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=px(AN,{then:function(e,t){var n=SN(this),r=n.reactions,o=NN(xT(this,DN));return o.ok=!NE(e)||e,o.fail=NE(t)&&t,o.domain=NT?TN.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&LN(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),lN=function(){var e=new sN,t=EN(e);this.promise=e,this.resolve=UN(VN,t),this.reject=UN($N,t)},hN.f=NN=function(e){return e===DN||e===cN?new lN(e):kN(e)},NE(wT)&&CN!==Object.prototype)){fN=CN.then,FN||(Vw(CN,"then",(function(e,t){var n=this;return new DN((function(e,t){ow(fN,n,e,t)})).then(e,t)}),{unsafe:!0}),Vw(CN,"catch",AN.catch,{unsafe:!0}));try{delete CN.constructor}catch(PO){}LD&&LD(CN,AN)}cC({global:!0,wrap:!0,forced:PN},{Promise:DN}),ID(DN,bN,!1),CT(bN),cN=BE(bN),cC({target:bN,stat:!0,forced:PN},{reject:function(e){var t=NN(this);return ow(t.reject,void 0,e),t.promise}}),cC({target:bN,stat:!0,forced:PN},{resolve:function(e){return function(e,t){if(nw(e),YE(t)&&t.constructor===e)return t;var n=hN.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),cC({target:bN,stat:!0,forced:RN},{all:function(e){var t=this,n=NN(t),r=n.resolve,o=n.reject,i=vN((function(){var n=fw(t.resolve),i=[],a=0,u=1;Tx(e,(function(e){var s=a++,l=!1;u++,ow(n,t,e).then((function(e){l||(l=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=NN(t),r=n.reject,o=vN((function(){var o=fw(t.resolve);Tx(e,(function(e){ow(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var GN=fA.UNSUPPORTED_Y,WN=Math.min,qN=[].push,KN=mE(/./.exec),YN=mE(qN),XN=mE("".slice);function ZN(e){Promise.resolve().then(e)}function JN(e,t){return Cf.isElement(e)?function(e,t){var n=e.type,r=void 0===n?"":n,o=e.children,i=void 0===o?[]:o,a=Nf.isVoid(t,e),u="";a||(u=i.map((function(e){return JN(e,t)})).join(""));var s=function(e){return vT[e]||gT}(r),l=s(e,u,t),c="";if(c="string"==typeof l?l:l.html||"",a||hT.forEach((function(t){return c=t(e,c)})),"string"==typeof l)return c;var f=l.prefix,d=void 0===f?"":f,p=l.suffix,h=void 0===p?"":p;return d&&(c=d+c),h&&(c+=h),c}(e,t):function(e,t){var n=e.text;if(null==n)throw new Error("Current node is not slate Text "+JSON.stringify(e));var r=n;r=function(e){return e.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;")}(r);var o=QO.getParentsNodes(t,e).some((function(e){return"pre"===QO.getNodeType(e)}));if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/&nbsp;/g," ")),""===r){var i=QO.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>"}return hT.forEach((function(t){return r=t(e,r)})),r}(e,t)}function QN(e){return"w-e-element-"+e}RA("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=bC(EE(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!HC(e))return ow(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=ow(OA,f,r))&&!((a=f.lastIndex)>c&&(YN(s,XN(r,c,i.index)),i.length>1&&i.index<r.length&&IA(qN,s,gx(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&KN(f,"")||YN(s,""):YN(s,XN(r,c)),s.length>o?gx(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:ow(t,this,e,n)}:t,[function(t,n){var o=EE(this),i=null==t?void 0:dw(t,e);return i?ow(i,t,o,n):ow(r,bC(o),t,n)},function(e,o){var i=nw(this),a=bC(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=xT(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(GN?"g":"y"),f=new s(GN?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===WA(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=GN?0:h;var g,y=WA(f,GN?XN(a,h):a);if(null===y||(g=WN(dS(f.lastIndex+(GN?h:0)),a.length))===p)h=LA(a,h,l);else{if(YN(v,XN(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(YN(v,y[m]),v.length===d)return v;h=p=g}}return YN(v,XN(a,p)),v}]}),!!jE((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),GN);var ek=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},tk=function(e,t,n){var r=QO.toDOMRange(e,t).getBoundingClientRect(),o=QO.toDOMRange(e,n).getBoundingClientRect();return ek(r,o)&&ek(o,r)},nk=["span","b","strong","i","em","s","strike","u","font","sub","sup"],rk=[];var ok=[];var ik={};var ak=bw.f,uk=ZS.f,sk=Mw.enforce,lk=GE("match"),ck=lE.RegExp,fk=ck.prototype,dk=lE.SyntaxError,pk=mE(EC),hk=mE(fk.exec),vk=mE("".charAt),gk=mE("".replace),yk=mE("".indexOf),mk=mE("".slice),bk=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ek=/a/g,wk=/a/g,Sk=new ck(Ek)!==Ek,Ck=fA.MISSED_STICKY,Dk=fA.UNSUPPORTED_Y,Ak=KE&&(!Sk||Ck||pA||vA||jE((function(){return wk[lk]=!1,ck(Ek)!=Ek||ck(wk)==wk||"/a/i"!=ck(Ek,"i")})));if(sC("RegExp",Ak)){for(var xk=function(e,t){var n,r,o,i,a,u,s=iw(fk,this),l=HC(e),c=void 0===t,f=[],d=e;if(!s&&l&&c&&e.constructor===xk)return e;if((l||iw(fk,e))&&(e=e.source,c&&(t="flags"in d?d.flags:pk(d))),e=void 0===e?"":bC(e),t=void 0===t?"":bC(t),d=e,pA&&"dotAll"in Ek&&(r=!!t&&yk(t,"s")>-1)&&(t=gk(t,/s/g,"")),n=t,Ck&&"sticky"in Ek&&(o=!!t&&yk(t,"y")>-1)&&Dk&&(t=gk(t,/y/g,"")),vA&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},u=!1,s=!1,l=0,c="";r<=n;r++){if("\\"===(t=vk(e,r)))t+=vk(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:hk(bk,mk(e,r+1))&&(r+=2,s=!0),o+=t,l++;continue;case">"===t&&s:if(""===c||DE(a,c))throw new dk("Invalid capture group name");a[c]=!0,i[i.length]=[c,l],s=!1,c="";continue}s?c+=t:o+=t}return[o,i]}(e),e=i[0],f=i[1]),a=Bx(ck(e,t),s?this:fk,xk),(r||o||f.length)&&(u=sk(a),r&&(u.dotAll=!0,u.raw=xk(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=vk(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+vk(e,++r);return o}(e),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),e!==d)try{ww(a,"source",""===d?"(?:)":d)}catch(e){}return a},Ok=function(e){e in xk||ak(xk,e,{configurable:!0,get:function(){return ck[e]},set:function(t){ck[e]=t}})},Tk=uk(ck),Nk=0;Tk.length>Nk;)Ok(Tk[Nk++]);fk.constructor=xk,xk.prototype=fk,Vw(lE,"RegExp",xk)}CT("RegExp");var kk=new RegExp(String.fromCharCode(160),"g");function Bk(e){return e.replace(kk," ")}function Ik(e,t){var n=e.length;if(n){var r=e[n-1];if(ed.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text=r.text+t,!0}}return!1}function Fk(e,t,n){return{type:"paragraph",children:[{text:Mp(e).text().replace(/\s+/gm," ")}]}}function Pk(e,t){var n=function(e,t){var n=[];if(null!=e.attr("data-w-e-is-void"))return n;var r=e[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?(n.push({text:""}),n):(r.forEach((function(e){if(e.nodeType!==FO.ELEMENT_NODE)if(e.nodeType!==FO.TEXT_NODE);else{var r=e.textContent||"";if(""===r.trim()&&r.indexOf("\n")>=0)return;r&&(r=Bk(r),Ik(n,r)||n.push({text:r}))}else{if("BR"===e.nodeName)return void(Ik(n,"\n")||n.push({text:"\n"}));var o=_k(Mp(e),t);Array.isArray(o)?o.forEach((function(e){return n.push(e)})):n.push(o)}})),n)}(e,t),r=function(e){for(var t in ik)if(e[0].matches(t))return ik[t];return Fk}(e),o=r(e[0],n,t);return Array.isArray(o)||(o=[o]),o.forEach((function(r){Nf.isVoid(t,r)||(0===n.length&&(r.children=[{text:e.text().replace(/\s+/gm," ")}]),ok.forEach((function(n){r=n(e[0],r,t)})))})),o}function Rk(e,t){0===e.parents("pre").length&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=e[0].textContent||"";n=function(e){return e.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"®").replace(/&copy;/g,"©").replace(/&trade;/g,"™").replace(/&quot;/g,'"')}(n);var r={text:n=Bk(n)};return ok.forEach((function(n){r=n(e[0],r,t)})),r}function _k(e,t){rk.forEach((function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=Mp(r(e[0])))}));var n=GO(e);if("span"===n){if(e.attr("data-w-e-type"))return Pk(e,t);if(e[0].childNodes.length>1){var r=e[0].childNodes;return Array.from(r).map((function(n){return Mp(e[0]).empty(),Mp(e[0]).append(Mp(n)),Rk(Mp(e[0]),t)}))}return Rk(e,t)}return"code"===n?"pre"===GO(e.parent())?Pk(e,t):Rk(e,t):nk.includes(n)?Rk(e,t):Pk(e,t)}function Lk(e,t,n){var r=Mp(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",(function(){r.removeAttr(t)})),!1)}function jk(e,t){void 0===t&&(t="");var n=[];""===t&&(t="<p><br></p>"),0!==t.indexOf("<")&&(t=t.split(/\n/).map((function(e){return"<p>"+e+"</p>"})).join(""));var r=Mp("<div>"+t+"</div>");return Array.from(r.children()).forEach((function(t){var r=_k(Mp(t),e);Array.isArray(r)?r.forEach((function(e){return n.push(e)})):n.push(r)})),n}var Mk=bw.f,zk=Dx.fastKey,Hk=Mw.set,Uk=Mw.getterFor,$k={getConstructor:function(e,t,n,r){var o=e((function(e,o){kx(e,i),Hk(e,{type:t,index:RC(null),first:void 0,last:void 0,size:0}),KE||(e.size=0),null!=o&&Tx(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Uk(t),u=function(e,t,n){var r,o,i=a(e),u=s(e,t);return u?u.value=n:(i.last=u={index:o=zk(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),KE?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},s=function(e,t){var n,r=a(e),o=zk(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return px(i,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,KE?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=s(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),KE?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=oS(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),px(i,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return u(this,0===e?0:e,t)}}:{add:function(e){return u(this,e=0===e?0:e,e)}}),KE&&Mk(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=Uk(t),i=Uk(r);VD(e,t,(function(e,t){Hk(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),CT(t)}};Ix("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),$k);var Vk=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function Gk(e,t){e.isInline(t)?(e.insertNode(t),"link"===t.type&&e.insertFragment([{text:""}])):md.insertNodes(e,t,{mode:"highest"})}var Wk=function(e){var t=e;return t.setFragmentData=function(e){var n=t.selection;if(n){var r=ax(qf.edges(n),2),o=r[0],i=r[1],a=Nf.void(t,{at:o.path}),u=Nf.void(t,{at:i.path});if(!qf.isCollapsed(n)||a){var s=QO.toDOMRange(t,n),l=s.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach((function(e){e.textContent&&""!==e.textContent.trim()&&(c=e)})),u){var f=ax(u,1)[0],d=s.cloneRange(),p=QO.toDOMNode(t,f);d.setEndAfter(p),l=d.cloneContents()}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach((function(e){var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),MO(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),l.appendChild(h),c=h}var v=t.getFragment(),g=JSON.stringify(v),y=window.btoa(encodeURIComponent(g));c.setAttribute("data-slate-fragment",y),e.setData("application/x-slate-fragment",y);var m=l.ownerDocument.createElement("div");return m.appendChild(l),m.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(m),e.setData("text/html",m.innerHTML),e.setData("text/plain",$O(m)),l.ownerDocument.body.removeChild(m),e}}},t.insertData=function(e){var n,r,o=e.getData("application/x-slate-fragment");if(o){var i=decodeURIComponent(window.atob(o)),a=JSON.parse(i);t.insertFragment(a)}else{var u=e.getData("text/plain"),s=e.getData("text/html");if(s)t.dangerouslyInsertHtml(s);else{var l=QO.getLeftLengthOfMaxLength(t);if(u){var c=u.split(/\r\n|\r|\n/),f=!1;try{for(var d=ix(c),p=d.next();!p.done;p=d.next()){var h=p.value;f&&l>0&&md.splitNodes(t,{always:!0}),t.insertText(h),f=!0}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}}}}},t},qk=function(e){return null!=e},Kk={object:!0,function:!0,undefined:!0},Yk=/^\s*class[\s{/}]/,Xk=Function.prototype.toString,Zk=function(e){return!!function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!function(e){if(!function(e){return!!qk(e)&&hasOwnProperty.call(Kk,typeof e)}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}(e)}(e)&&!Yk.test(Xk.call(e))},Jk=function(e){return null!=e},Qk=Object.keys,eB=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return Qk(Jk(e)?Object(e):e)},tB=function(e){if(!Jk(e))throw new TypeError("Cannot use null or undefined");return e},nB=Math.max,rB=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,i=nB(arguments.length,2);for(e=Object(tB(e)),o=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<i;++r)eB(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e},oB=Array.prototype.forEach,iB=Object.create,aB=function(e,t){var n;for(n in e)t[n]=e[n]},uB=function(e){var t=iB(null);return oB.call(arguments,(function(e){Jk(e)&&aB(Object(e),t)})),t},sB="razdwatrzy",lB=String.prototype.indexOf,cB="function"==typeof sB.contains&&!0===sB.contains("dwa")&&!1===sB.contains("foo")?String.prototype.contains:function(e){return lB.call(this,e,arguments[1])>-1},fB=iE((function(e){var t=e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],qk(e)?(n=cB.call(e,"c"),r=cB.call(e,"e"),o=cB.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?rB(uB(i),a):a};t.gs=function(e,t,n){var r,o,i,a;return"string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],qk(t)?Zk(t)?qk(n)?Zk(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,qk(e)?(r=cB.call(e,"c"),o=cB.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?rB(uB(i),a):a}})),dB=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},pB=iE((function(e,t){var n,r,o,i,a,u,s,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,d=Object.defineProperty,p=Object.defineProperties,h=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return dB(t),h.call(this,"__ee__")?n=this.__ee__:(n=v.value=f(null),d(this,"__ee__",v),v.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},r=function(e,t){var r,i;return dB(t),i=this,n.call(this,e,r=function(){o.call(i,e,r),l.call(t,this,arguments)}),r.__eeOnceListener__=t,this},o=function(e,t){var n,r,o,i;if(dB(t),!h.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},i=function(e){var t,n,r,o,i;if(h.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)l.call(r,this,i)}else switch(arguments.length){case 1:c.call(o,this);break;case 2:c.call(o,this,arguments[1]);break;case 3:c.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];l.call(o,this,i)}},a={on:n,once:r,off:o,emit:i},u={on:fB(n),once:fB(r),off:fB(o),emit:fB(i)},s=p({},u),e.exports=t=function(e){return null==e?f(s):p(Object(e),u)},t.methods=a}));function hB(e){var t=TO.get(e);return null==t&&(t=pB(),TO.set(e,t)),t}var vB=new WeakMap;function gB(e,t){var n=vB.get(e);null==n&&(n=new Set,vB.set(e,n)),n.add(t)}function yB(e){return vB.get(e)||new Set}function mB(e){vB.set(e,new Set)}function bB(e){var t=QO.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r}}function EB(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=bB(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,u=r.height,s=QO.toDOMRange(e,n).getClientRects()[0];if(null==s)return t;s.width;var l=s.height,c={},f=s.top-o,d=s.left-i;if(d>a/2){var p=a-d;c.right=p+5+"px"}else c.left=d+5+"px";if(f>u/2){var h=u-f;c.bottom=h+5+"px"}else{var v=f+l;v<0&&(v=0),c.top=v+5+"px"}return c}function wB(e,t,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==e.selection)return r;var o=Cf.isElement(t)&&e.isVoid(t),i=Cf.isElement(t)&&e.isInline(t),a=CO.get(t);if(null==a)return r;var u=a.getBoundingClientRect(),s=u.top,l=u.left,c=u.height,f=u.width;if(o){var d=function(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(null==r)break;if(++n>1e4)break;var o=r.nodeName;if(1===r.nodeType){var i=o.toLowerCase();if(IO.includes(i)||"iframe"===i||"video"===i)return r;var a=r.children||[],u=a.length;if(u)for(var s=u-1;s>=0;s--)t.push(a[s])}}return null}(a);if(null!=d){var p=d.getBoundingClientRect();s=p.top,c=p.height}}var h=bB(e);if(null==h)return r;var v,g=h.top,y=h.left,m=h.width,b=h.height,E={},w=s-g,S=l-y;if("bar"===n)return E.left=S+"px",w>40?E.bottom=b-w+5+"px":E.top=w+c+5+"px",E;if("modal"===n)return o?i?S>(m-f)/2?E.right=m-S+5+"px":E.left=S+f+5+"px":E.left="20px":E.left=S+"px",o?((v=w)<0&&(v=0),E.top=v+"px"):w>(b-c)/2?E.bottom=b-w+5+"px":((v=w+c)<0&&(v=0),E.top=v+5+"px"),E;throw new Error("type '"+n+"' is invalid")}function SB(e,t){ZN((function(){var n=bB(e);if(null!=n){var r,o=n.top,i=n.left,a=n.width,u=n.height,s=t.offset(),l=s.top,c=s.left,f=t.width(),d=t.height(),p=l-o,h=c-i,v=t.attr("style");if(v.indexOf("top")>=0&&(r=p+d-u)>0){var g=t.css("top"),y=parseInt(g.toString())-r;y<0&&(y=0),t.css("top",y+"px")}if(v.indexOf("bottom")>=0&&l<0){var m=t.css("bottom"),b=parseInt(m.toString())-Math.abs(l);t.css("bottom",b+"px")}if(v.indexOf("left")>=0&&(r=h+f-a)>0){var E=t.css("left"),w=parseInt(E.toString())-r;w<0&&(w=0),t.css("left",w+"px")}if(v.indexOf("right")>=0&&c<0){var S=t.css("right"),C=parseInt(S.toString())-Math.abs(c);t.css("right",C+"px")}}}))}var CB=iA("slice"),DB=GE("species"),AB=lE.Array,xB=Math.max;cC({target:"Array",proto:!0,forced:!CB},{slice:function(e,t){var n,r,o,i=jS(this),a=pS(i),u=$S(e,a),s=$S(void 0===t?a:t,a);if(hS(i)&&(n=i.constructor,(SS(n)&&(n===AB||hS(n.prototype))||YE(n)&&null===(n=n[DB]))&&(n=void 0),n===AB||void 0===n))return OT(i,u,s);for(r=new(void 0===n?AB:n)(xB(s-u,0)),o=0;u<s;u++,o++)u in i&&tD(r,o,i[u]);return r.length=o,r}});var OB=zS.f,TB=mE("".startsWith),NB=mE("".slice),kB=Math.min,BB=GC("startsWith"),IB=!BB&&!!function(){var e=OB(String.prototype,"startsWith");return e&&!e.writable}();cC({target:"String",proto:!0,forced:!IB&&!BB},{startsWith:function(e){var t=bC(EE(this));$C(e);var n=dS(kB(arguments.length>1?arguments[1]:void 0,t.length)),r=bC(e);return TB?TB(t,r,n):NB(t,n,n+r.length)===r}});var FB=Object.assign,PB=Object.defineProperty,RB=mE([].concat),_B=!FB||jE((function(){if(KE&&1!==FB({b:1},FB(PB({},"a",{enumerable:!0,get:function(){PB(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=FB({},e)[n]||fC(FB({},t)).join("")!=r}))?function(e,t){for(var n=SE(e),r=arguments.length,o=1,i=JS.f,a=LS.f;r>o;)for(var u,s=uS(arguments[o++]),l=i?RB(fC(s),i(s)):fC(s),c=l.length,f=0;c>f;)u=l[f++],KE&&!ow(a,s,u)||(n[u]=s[u]);return n}:FB;cC({target:"Object",stat:!0,forced:Object.assign!==_B},{assign:_B});var LB=["props","attrs","style","dataset","on","hook"];function jB(e){var t=e.data,n=void 0===t?{}:t,r=e.children,o=void 0===r?[]:r;Object.keys(n).forEach((function(t){var r,o,i=n[t];if("key"!==t){if(!LB.includes(t)){if(t.startsWith("data-")){var a=t.slice(5);return a=Ag(a),function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.dataset&&(n.dataset={}),Object.assign(n.dataset,t)}(e,((r={})[a]=i,r)),void delete n[t]}!function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,t)}(e,(o={},o[t]=i,o)),delete n[t]}}else e.key=i})),o.length>0&&o.forEach((function(e){"string"!=typeof e&&jB(e)}))}var MB=[];var zB={};function HB(e,t,n){return Fv(n.isInline(e)?"span":"div",null,t)}function UB(e,t){return void 0===t&&(t=!1),Fv("span",{"data-slate-string":!0},t?e+"\n":e)}function $B(e,t){return void 0===e&&(e=0),void 0===t&&(t=!1),Fv("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\ufeff",t?Fv("br",null):null)}function VB(e,t,n,r){return mO.set(e,t),bO.set(e,n),Cf.isElement(e)?function(e,t){var n,r=QO.findKey(t,e),o=t.isInline(e),i=Nf.isVoid(t,e),a=QN(r.id),u={id:a,key:r.id,"data-slate-node":"element","data-slate-inline":o},s=e.type,l=e.children,c=void 0===l?[]:l,f=function(e){return zB[e]||HB}(s);n=i?null:c.map((function(n,r){return VB(n,r,e,t)}));var d=f(e,n,t);if(i){u["data-slate-void"]=!0;var p=o?"span":"div",h=ax(Rf.texts(e),1),v=ax(h[0],1)[0],g=Fv(p,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},VB(v,0,e,t));d=Fv(p,{style:{position:"relative"}},d,g),mO.set(v,0),bO.set(v,e)}return null==d.data&&(d.data={}),Object.assign(d.data,u),i||o||(d=function(e,t){var n=t;return MB.forEach((function(r){n=r(e,t)})),n}(e,d)),ZN((function(){var t=zO(a);null!=t&&(SO.set(r,t),CO.set(e,t),wO.set(t,e))})),d}(e,r):function(e,t,n){if(null==e.text)throw new Error("Current node is not slate Text "+JSON.stringify(e));var r=QO.findKey(n,e),o=n.getConfig().decorate;if(null==o)throw new Error("Can not get config.decorate");var i=QO.findPath(n,e),a=o([e,i]),u=ed.decorations(e,a),s=u.map((function(r,o){var i=function(e,t,n,r,o){void 0===t&&(t=!1);var i=e.text,a=QO.findPath(o,n),u=Mf.parent(a);if(Nf.isEditor(r))throw new Error("Text node "+JSON.stringify(n)+" parent is Editor");return o.isVoid(r)?$B(Rf.string(r).length):""!==i||r.children[r.children.length-1]!==n||o.isInline(r)||""!==Nf.string(o,u)?""===i?$B():t&&"\n"===i.slice(-1)?UB(i,!0):UB(i):$B(0,!0)}(r,o===u.length-1,e,t,n);return i=function(e,t){var n=t;return MB.forEach((function(t){n=t(e,n)})),n}(r,i),Fv("span",{"data-slate-leaf":!0},i)})),l=function(e){return"w-e-text-"+e}(r.id),c=Fv("span",{"data-slate-node":"text",id:l,key:r.id},s);return ZN((function(){var t=zO(l);null!=t&&(SO.set(r,t),CO.set(e,t),wO.set(t,e))})),c}(e,n,r)}function GB(e,t){var n,r=e.$scroll,o=function(e){return"w-e-textarea-"+e}(e.id),i=t.getConfig(),a=i.readOnly,u=i.autoFocus,s=function(e,t){return void 0===t&&(t=!1),pv("div#"+e,{props:{contentEditable:!t}})}(o,a),l=t.children||[];s.children=l.map((function(e,n){var r=VB(e,n,t,t);return jB(r),r}));var c=vO.get(e);if(null==c&&(c=!0),c){var f=function(e,t){return Mp('<div\n id="'+e+'"\n data-slate-editor\n data-slate-node="value"\n suppressContentEditableWarning\n role="textarea"\n spellCheck="true"\n autoCorrect="true"\n autoCapitalize="true"\n ></div>')}(o);r.append(f),e.$textArea=f,n=f[0],(p=fv([yv,xv,Bv,Ev,Dv,vv]))(n,s),vO.set(e,!1),gO.set(e,p)}else{var d=yO.get(e),p=gO.get(e);if(null==d||null==p)return;n=d.elm,p(d,s)}if(null!=n||null!=(n=zO(o))){if((c?u:t.isFocused())&&n.focus({preventScroll:!0}),c){var h=RO(n);h&&AO.set(t,h)}EO.set(t,n),CO.set(t,n),wO.set(n,t),yO.set(e,s)}}function WB(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function qB(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function KB(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return qB(n.overflowY,t)||qB(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function YB(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}function XB(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,u=t.skipOverflowHiddenElements,s="function"==typeof a?a:function(e){return e!==a};if(!WB(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=e;WB(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break}null!=f&&f===document.body&&KB(f)&&!KB(document.documentElement)||null!=f&&KB(f,u)&&c.push(f)}for(var d=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),y=g.height,m=g.width,b=g.top,E=g.right,w=g.bottom,S=g.left,C="start"===o||"nearest"===o?b:"end"===o?w:b+y/2,D="center"===i?S+m/2:"end"===i?E:S,A=[],x=0;x<c.length;x++){var O=c[x],T=O.getBoundingClientRect(),N=T.height,k=T.width,B=T.top,I=T.right,F=T.bottom,P=T.left;if("if-needed"===r&&b>=0&&S>=0&&w<=p&&E<=d&&b>=B&&w<=F&&S>=P&&E<=I)return A;var R=getComputedStyle(O),_=parseInt(R.borderLeftWidth,10),L=parseInt(R.borderTopWidth,10),j=parseInt(R.borderRightWidth,10),M=parseInt(R.borderBottomWidth,10),z=0,H=0,U="offsetWidth"in O?O.offsetWidth-O.clientWidth-_-j:0,$="offsetHeight"in O?O.offsetHeight-O.clientHeight-L-M:0;if(l===O)z="start"===o?C:"end"===o?C-p:"nearest"===o?YB(v,v+p,p,L,M,v+C,v+C+y,y):C-p/2,H="start"===i?D:"center"===i?D-d/2:"end"===i?D-d:YB(h,h+d,d,_,j,h+D,h+D+m,m),z=Math.max(0,z+v),H=Math.max(0,H+h);else{z="start"===o?C-B-L:"end"===o?C-F+M+$:"nearest"===o?YB(B,F,N,L,M+$,C,C+y,y):C-(B+N/2)+$/2,H="start"===i?D-P-_:"center"===i?D-(P+k/2)+U/2:"end"===i?D-I+j+U:YB(P,I,k,_,j+U,D,D+m,m);var V=O.scrollLeft,G=O.scrollTop;C+=G-(z=Math.max(0,Math.min(G+z,O.scrollHeight-N+$))),D+=V-(H=Math.max(0,Math.min(V+H,O.scrollWidth-k+U)))}A.push({el:O,top:z,left:H})}return A}function ZB(e){return e===Object(e)&&0!==Object.keys(e).length}function JB(e,t){return LO(t)&&QO.hasDOMNode(e,t,{editable:!0})}function QB(e,t){if(e.getConfig().readOnly)return!1;var n=eI(e,t)&&QO.toSlateNode(e,t);return Nf.isVoid(e,n)}function eI(e,t){return LO(t)&&QO.hasDOMNode(e,t)}function tI(e,t,n){void 0===n&&(n=!1);var r=t.selection,o=t.getConfig(),i=QO.findDocumentOrShadowRoot(t).getSelection();if(i&&(!e.isComposing||n)&&t.isFocused()){var a="None"!==i.type;if(r||a){var u=EO.get(t),s=!1;if(u.contains(i.anchorNode)&&u.contains(i.focusNode)&&(s=!0),a&&s&&r){var l=QO.toSlateRange(t,i,{exactMatch:!0,suppressThrow:!0});if(l&&qf.equals(l,r)){var c=!0;if(qf.isCollapsed(r)){var f=i.anchorNode,d=i.anchorOffset;if(f===u){var p=u.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(c=!1),(h=p[d-1])&&h.matches("table")&&(c=!1)}}if(c)return}}if(!r||QO.hasRange(t,r)){e.isUpdatingSelection=!0;var v=r&&QO.toDOMRange(t,r);if(v){qf.isBackward(r)?i.setBaseAndExtent(v.endContainer,v.endOffset,v.startContainer,v.startOffset):i.setBaseAndExtent(v.startContainer,v.startOffset,v.endContainer,v.endOffset);var g=v.startContainer.parentElement;if(!g.closest("[data-slate-spacer]")){g.getBoundingClientRect=v.getBoundingClientRect.bind(v);var y=document.body;(function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(ZB(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:XB(e,t));if(!n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:ZB(e)?e:{block:"start",inline:"nearest"}}(t);(function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))})(XB(e,r),r.behavior)}})(g,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:y,block:"end",behavior:"smooth"}),delete g.getBoundingClientRect}}else i.removeAllRanges();setTimeout((function(){v&&qO&&u.focus(),e.isUpdatingSelection=!1}))}else t.selection=QO.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})}}}var nI=new WeakMap,rI=new WeakMap,oI={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},iI={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},aI={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},uI=function(e){var t=oI[e],n=iI[e],r=aI[e],o=t&&Rg(t),i=n&&Rg(n),a=r&&Rg(r);return function(e){return!(!o||!o(e))||!!(WO&&i&&i(e))||!(WO||!a||!a(e))}},sI={isBold:uI("bold"),isCompose:uI("compose"),isMoveBackward:uI("moveBackward"),isMoveForward:uI("moveForward"),isDeleteBackward:uI("deleteBackward"),isDeleteForward:uI("deleteForward"),isDeleteLineBackward:uI("deleteLineBackward"),isDeleteLineForward:uI("deleteLineForward"),isDeleteWordBackward:uI("deleteWordBackward"),isDeleteWordForward:uI("deleteWordForward"),isExtendBackward:uI("extendBackward"),isExtendForward:uI("extendForward"),isExtendLineBackward:uI("extendLineBackward"),isExtendLineForward:uI("extendLineForward"),isItalic:uI("italic"),isMoveLineBackward:uI("moveLineBackward"),isMoveLineForward:uI("moveLineForward"),isMoveWordBackward:uI("moveWordBackward"),isMoveWordForward:uI("moveWordForward"),isRedo:uI("redo"),isSplitBlock:uI("splitBlock"),isTransposeCharacter:uI("transposeCharacter"),isUndo:uI("undo"),isTab:uI("tab"),isSelectAll:uI("selectAll")};function lI(e){e.preventDefault()}var cI={beforeinput:function(e,t,n){var r=e,o=n.getConfig().readOnly;if(JO&&!o&&JB(n,r.target)){var i=n.selection,a=r.inputType,u=r.dataTransfer||r.data||void 0;if("insertCompositionText"!==a&&"deleteCompositionText"!==a){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var s=ax(r.getTargetRanges(),1)[0];if(s){var l=QO.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&qf.equals(i,l)||md.select(n,l)}}if(i&&qf.isExpanded(i)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";Nf.deleteFragment(n,{direction:c})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":Nf.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":Nf.deleteForward(n);break;case"deleteContentBackward":Nf.deleteBackward(n);break;case"deleteEntireSoftLine":Nf.deleteBackward(n,{unit:"line"}),Nf.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":Nf.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":Nf.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":Nf.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":Nf.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":Nf.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":Nf.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":Nf.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===a&&!NO.get(n))break;u instanceof DataTransfer?n.insertData(u):"string"==typeof u&&Nf.insertText(n,u)}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,i=t.latestElement;if(!n.getConfig().readOnly&&!o&&JB(n,r.target)){var a=QO.findDocumentOrShadowRoot(n);if(i!==a.activeElement){var u=r.relatedTarget;if(!(u===QO.toDOMNode(n,n)||_O(u)&&u.hasAttribute("data-slate-spacer"))){if(null!=u&&LO(u)&&QO.hasDOMNode(n,u)){var s=QO.toSlateNode(n,u);if(Cf.isElement(s)&&!n.isVoid(s))return}if(KO){var l=a.getSelection();null==l||l.removeAllRanges()}xO.delete(n)}}}},focus:function(e,t,n){var r=QO.toDOMNode(n,n),o=QO.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,qO&&e.target!==r?r.focus():xO.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&eI(n,e.target)&&LO(e.target)){var r=QO.toSlateNode(n,e.target),o=QO.findPath(n,r);if(Nf.hasPath(n,o)&&Rf.get(n,o)===r){var i=Nf.start(n,o),a=Nf.end(n,o),u=Nf.void(n,{at:i}),s=Nf.void(n,{at:a});if(u&&s&&Mf.equals(u[1],s[1])){var l=Nf.range(n,i);md.select(n,l)}}}},compositionstart:function(e,t,n){if(JB(n,e.target)){var r=n.selection;if(r&&qf.isExpanded(r)&&(Nf.deleteFragment(n),Promise.resolve().then((function(){tI(t,n,!0)}))),r&&(qf.isExpanded(r)||qf.isCollapsed(r))){var o=QO.toDOMRange(n,r).startContainer,i=o.textContent||"";nI.set(n,i),rI.set(n,o)}t.isComposing=!0,function(e,t){var n;t.getConfig().placeholder&&t.isEmpty()&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(JB(n,r.target)){t.isComposing=!1;var o=n.selection;if(null!=o){(ZO||qO)&&QO.cleanExposedTexNodeInSelectionBlock(n);for(var i=qf.isBackward(o)?o.focus:o.anchor,a=ax(Nf.node(n,[i.path[0]]),1)[0],u=0;u<i.path.length;u++){var s=ax(Nf.node(n,i.path.slice(0,u+1)),1)[0];if(Cf.isElement(s)&&((KO||qO)&&"link"===s.type||"code"===s.type)){QO.setNewKey(a);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=QO.getLeftLengthOfMaxLength(n);c<l.length?(QO.toDOMRange(n,o).startContainer.textContent=nI.get(n)||"",c>0&&Nf.insertText(n,l.slice(0,c)),t.changeViewState()):Nf.insertText(n,l)}else{var f=QO.findDocumentOrShadowRoot(n).getSelection();f&&function(e,t){if(qf.isCollapsed(t)){var n=t.anchor,r=t.focus;if(2===n.path.length&&2===r.path.length&&(0===n.offset||0===r.path.offset)){var o=Nf.node(e,n.path),i=0===n.offset?n.path:r.path,a=[i[0],i[1]-1];if(0===i[1])return!1;var u=Nf.node(e,a);if(ed.isText(u[0])&&ed.isText(o[0]))return!0}}}(n,o)&&(n.selection=QO.toSlateRange(n,f,{exactMatch:!1,suppressThrow:!1})),Nf.insertText(n,l)}KO||setTimeout((function(){var e=n.selection;if(null!=e){var t=rI.get(n);null!=t&&QO.toDOMRange(n,e).startContainer!==t&&(t.textContent=nI.get(n)||"")}}))}}}},compositionupdate:function(e,t,n){JB(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&JB(n,r.target)){if(function(e,t){var n=sO.get(e),r=n&&n.getMenus(),o=cO.get(e),i=o&&o.getMenus(),a=ox(ox({},r),i);for(var u in a){var s=a[u],l=s.hotkey;if(l&&Pg(l,t)&&!s.isDisabled(e)){var c=s.getValue(e);s.exec(e,c)}}}(n,r),sI.isTab(r))return lI(r),void n.handleTab();if(sI.isRedo(r))return lI(r),void("function"==typeof n.redo&&n.redo());if(sI.isUndo(r))return lI(r),void("function"==typeof n.undo&&n.undo());if(sI.isMoveLineBackward(r))return lI(r),void md.move(n,{unit:"line",reverse:!0});if(sI.isMoveLineForward(r))return lI(r),void md.move(n,{unit:"line"});if(sI.isExtendLineBackward(r))return lI(r),void md.move(n,{unit:"line",edge:"focus",reverse:!0});if(sI.isExtendLineForward(r))return lI(r),void md.move(n,{unit:"line",edge:"focus"});if(sI.isMoveBackward(r))return lI(r),void(o&&qf.isCollapsed(o)?md.move(n,{reverse:!0}):md.collapse(n,{edge:"start"}));if(sI.isMoveForward(r))return lI(r),void(o&&qf.isCollapsed(o)?md.move(n):md.collapse(n,{edge:"end"}));if(sI.isMoveWordBackward(r))return lI(r),o&&qf.isExpanded(o)&&md.collapse(n,{edge:"focus"}),void md.move(n,{unit:"word",reverse:!0});if(sI.isMoveWordForward(r))return lI(r),o&&qf.isExpanded(o)&&md.collapse(n,{edge:"focus"}),void md.move(n,{unit:"word"});if(sI.isSelectAll(r))return lI(r),void n.selectAll();if(JO){if((ZO||KO)&&o&&(sI.isDeleteBackward(r)||sI.isDeleteForward(r))&&qf.isCollapsed(o)){var i=Rf.parent(n,o.anchor.path);if(Cf.isElement(i)&&Nf.isVoid(n,i)&&Nf.isInline(n,i))return r.preventDefault(),void md.delete(n,{unit:"block"})}}else{if(sI.isBold(r)||sI.isItalic(r)||sI.isTransposeCharacter(r))return void lI(r);if(sI.isSplitBlock(r))return lI(r),void Nf.insertBreak(n);if(sI.isDeleteBackward(r))return lI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"backward"}):Nf.deleteBackward(n));if(sI.isDeleteForward(r))return lI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"forward"}):Nf.deleteForward(n));if(sI.isDeleteLineBackward(r))return lI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"backward"}):Nf.deleteBackward(n,{unit:"line"}));if(sI.isDeleteLineForward(r))return lI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"forward"}):Nf.deleteForward(n,{unit:"line"}));if(sI.isDeleteWordBackward(r))return lI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"backward"}):Nf.deleteBackward(n,{unit:"word"}));if(sI.isDeleteWordForward(r))return lI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"forward"}):Nf.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!JO&&!n.getConfig().readOnly&&JB(n,e.target)){e.preventDefault();var r=e.key;Nf.insertText(n,r)}},copy:function(e,t,n){var r=e;if(JB(n,r.target)){r.preventDefault();var o=r.clipboardData;null!=o&&n.setFragmentData(o)}},cut:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&JB(n,r.target)){r.preventDefault();var i=r.clipboardData;if(null!=i&&(n.setFragmentData(i),o))if(qf.isExpanded(o))Nf.deleteFragment(n);else{var a=Rf.parent(n,o.anchor.path);Nf.isVoid(n,a)&&md.delete(n)}}},paste:function(e,t,n){NO.set(n,!0);var r=e;if(!n.getConfig().readOnly&&JB(n,r.target)){var o=n.getConfig().customPaste;if(o&&!1===o(n,r))return void NO.set(n,!1);if(!JO||function(e){return e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length}(r)){r.preventDefault();var i=r.clipboardData;null!=i&&n.insertData(i)}}},dragover:function(e,t,n){if(eI(n,e.target)){var r=QO.toSlateNode(n,e.target);Nf.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(eI(n,r.target)&&!n.getConfig().readOnly){var o=QO.toSlateNode(n,r.target),i=QO.findPath(n,o);if(Nf.isVoid(n,o)||Nf.void(n,{at:i,voids:!0})){var a=Nf.range(n,i);md.select(n,a)}var u=r.dataTransfer;null!=u&&(t.isDraggingInternally=!0,n.setFragmentData(u))}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&eI(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,o=r.dataTransfer;if(!n.getConfig().readOnly&&eI(n,r.target)&&null!=o&&!(JO&&KO&&o.files.length>0)){r.preventDefault();var i=n.selection,a=QO.findEventRange(n,r);md.select(n,a),t.isDraggingInternally&&(i&&md.delete(n,{at:i}),t.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},fI=1,dI=function(){function e(e){var t=this;this.id=fI++,this.$textArea=null,this.$progressBar=Mp('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=Mp('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=ev((function(){var e=t.editorInstance;!function(e,t){var n=e.isComposing,r=e.isUpdatingSelection,o=e.isDraggingInternally;if(!(t.getConfig().readOnly||n||r||o)){var i=QO.findDocumentOrShadowRoot(t),a=i.activeElement,u=QO.toDOMNode(t,t),s=i.getSelection();if(a===u?(e.latestElement=a,xO.set(t,!0)):xO.delete(t),!s)return md.deselect(t);var l=s.anchorNode,c=s.focusNode,f=JB(t,l)||QB(t,l),d=JB(t,c)||QB(t,c);if(f&&d){var p=QO.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!1});md.select(t,p)}}}(t,e)}),100);var n=Mp(e);if(0===n.length)throw new Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=n;var r=Mp('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=Mp('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,ZN((function(){var e=t.editorInstance,n=QO.getWindow(e);n.document.addEventListener("selectionchange",t.onDOMSelectionChange),e.on("destroyed",(function(){n.document.removeEventListener("selectionchange",t.onDOMSelectionChange)})),r.on("click",(function(){return e.hidePanelOrModal()})),e.on("change",t.changeViewState.bind(t));var o=e.getConfig().onChange;o&&e.on("change",(function(){return o(e)})),t.onFocusAndOnBlur(),e.on("change",t.changeMaxLengthInfo.bind(t)),t.bindEvent()}))}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var e=aO.get(this);if(null==e)throw new Error("Can not get editor instance");return e},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=t&&(Lh(cI,(function(n,o){t.on(o,(function(t){n(t,e,r)}))})),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",ev((function(){r.emit("scroll")}),100))))},e.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=t.selection,t.on("change",(function(){null==e.latestEditorSelection&&null!=t.selection?setTimeout((function(){return o&&o(t)})):null!=e.latestEditorSelection&&null==t.selection&&setTimeout((function(){return r&&r(t)})),e.latestEditorSelection=t.selection}))},e.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-QO.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=n+"/"+t}},e.prototype.changeProgress=function(e){var t=this.$progressBar;t.css("width",e+"%"),e>=100&&setTimeout((function(){t.hide(),t.css("width","0"),t.show()}),1e3)},e.prototype.changeViewState=function(){var e=this,t=this.editorInstance;GB(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var o=t.isEmpty();if(o&&!e.showPlaceholder&&!e.isComposing){if(null==e.$placeholder){var i=Mp('<div class="w-e-text-placeholder">'+r+"</div>");e.$textAreaContainer.append(i),e.$placeholder=i}return e.$placeholder.show(),void(e.showPlaceholder=!0)}!o&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1)}}(this,t),ZN((function(){tI(e,t)}))},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function pI(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&pI(t)}function hI(){return Mp('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function vI(){return Mp('<div class="w-e-bar-divider"></div>')}function gI(e,t,n,r,o){if(void 0===o&&(o=!1),t){if(r){var i=WO?"cmd":"ctrl";r=r.replace("mod",i)}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var a=r?n+"\n"+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5")}}}RA("match",(function(e,t,n){return[function(t){var n=EE(this),r=null==t?void 0:dw(t,e);return r?ow(r,t,n):new RegExp(t)[e](bC(n))},function(e){var r=nw(this),o=bC(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return WA(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=WA(r,o));){var c=bC(u[0]);s[l]=c,""===c&&(r.lastIndex=LA(o,dS(r.lastIndex),a)),l++}return 0===l?null:s}]}));var yI=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=Mp('<div class="w-e-bar-item"></div>'),this.$button=Mp('<button type="button"></button>'),this.disabled=!1,this.menu=t;var o=t.tag,i=t.width;if("button"!==o)throw new Error("Invalid tag '"+o+"', expected 'button'");var a=t.title,u=t.hotkey,s=void 0===u?"":u,l=t.iconSvg,c=void 0===l?"":l,f=this.$button;if(c){var d=Mp(c);pI(d),f.append(d)}else f.text(a);gI(f,c,a,s,n),n&&c&&f.append(Mp('<span class="title">'+a+"</span>")),i&&f.css("width",i+"px"),f.attr("data-menu-key",e),this.$elem.append(f),ZN((function(){return r.init()}))}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",(function(t){t.preventDefault(),BI(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick())}))},e.prototype.exec=function(){var e=BI(this),t=this.menu,n=t.getValue(e);t.exec(e,n)},e.prototype.setActive=function(){var e=BI(this),t=this.$button,n="active";this.menu.isActive(e)?t.addClass(n):t.removeClass(n)},e.prototype.setDisabled=function(){var e=BI(this),t=this.$button,n=this.menu.isDisabled(e);(null==e.selection||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?t.addClass(r):t.removeClass(r),this.disabled=n},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),mI=function(e){function t(t,n,r){return void 0===r&&(r=!1),e.call(this,t,n,r)||this}return rx(t,e),t.prototype.onButtonClick=function(){},t}(yI),bI=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e)}return e.prototype.record=function(e){var t=dO.get(e);null==t&&(t=new Set,dO.set(e,t)),t.add(this),pO.set(this,e)},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n)},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=pO.get(this);e&&e.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=pO.get(this);e&&e.emit("modalOrPanelHide")}},e}(),EI=function(e){function t(t){var n=e.call(this,t)||this;return n.type="dropPanel",n.$elem=Mp('<div class="w-e-drop-panel"></div>'),n}return rx(t,e),t.prototype.genSelfElem=function(){return null},t}(bI),wI=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=hI();o.$button.append(i)}return o}return rx(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var e=this.menu;if(null!=e.getPanelContentElem){var t=BI(this);if(null==this.dropPanel){var n=new EI(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n}else{var o=this.dropPanel;o.isShow?o.hide():(r=e.getPanelContentElem(t),o.renderContent(r),o.show())}var i=this.dropPanel;if(i.isShow){var a=this.$elem,u=a.offset().left,s=a.parents(".w-e-bar");u-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},t}(yI),SI=function(e){function t(t,n){void 0===n&&(n=0);var r=e.call(this,t)||this;r.type="modal",r.$elem=Mp('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",(function(e){return e.stopPropagation()})),o.on("keyup",(function(e){"Escape"===e.code&&(r.hide(),t.restoreSelection())})),r}return rx(t,e),t.prototype.genSelfElem=function(){var e=this,t=Mp('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),n=pO.get(this);return t.on("click",(function(){e.hide(),null==n||n.restoreSelection()})),t},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr("style",""),t&&n.css("width",t+"px"),n.css(e)},t}(bI);function CI(e,t,n){var r=Mp('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=Mp('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function DI(e,t,n){var r=Mp('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=Mp('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]]}function AI(e,t){var n=Mp('<div class="button-container"></div>'),r=Mp('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var xI=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;return o.$body=Mp("body"),o.modal=null,o.menu=n,o}return rx(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var e=BI(this),t=this.menu.getModalPositionNode(e);return Cf.isElement(t)?wB(e,t,"modal"):EB(e)},t.prototype.handleModal=function(){var e=BI(this),t=this.menu;if(null==this.modal){var n=new SI(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n}else(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1)},t.prototype.renderAndShowModal=function(e,t){void 0===t&&(t=!1);var n=BI(this),r=this.menu;if(null!=r.getModalContentElem){var o=QO.getTextarea(n),i=QO.getToolbar(n),a=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,u=r.getModalContentElem(n);if(e.renderContent(u),a)e.setStyle({left:"0",right:"0"});else{var s=this.getPosition();e.setStyle(s)}t&&(a?e.appendTo(this.$body):e.appendTo(o.$textAreaContainer)),e.show(),a||SB(n,e.$elem),setTimeout((function(){n.blur()}))}},t}(yI),OI=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="selectList",r.$elem=Mp('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width",n+"px"),r.$elem.on("click",(function(e){e.stopPropagation()})),r}return rx(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=Mp("<ul></ul>");e.forEach((function(e){var t=e.value,r=e.text,o=e.selected,i=e.styleForRenderMenuList,a=Mp('<li data-value="'+t+'"></li>');if(i&&a.css(i),o){var u=Mp('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');a.append(u),a.addClass("selected")}a.append(Mp('<span data-value="'+t+'">'+r+"</span>")),a.attr("title",r),n.append(a)})),t.append(n)},t.prototype.genSelfElem=function(){return null},t}(bI),TI=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=Mp('<div class="w-e-bar-item"></div>'),this.$button=Mp('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=t.tag,i=t.title,a=t.width,u=t.iconSvg,s=void 0===u?"":u,l=t.hotkey,c=void 0===l?"":l;if("select"!==o)throw new Error("Invalid tag '"+o+"', expected 'select'");var f=this.$button;a&&f.css("width",a+"px"),f.attr("data-menu-key",e),gI(f,s,i,c,n),this.$elem.append(f),this.menu=t,ZN((function(){return r.init()}))}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",(function(t){t.preventDefault(),BI(e).hidePanelOrModal(),e.trigger()}))},e.prototype.trigger=function(){var e=this,t=BI(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new OI(t,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(t);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",(function(t){var n=t.target;if(null!=n){t.preventDefault();var r=Mp(n).attr("data-value");e.onChange(r)}}))}else(r=this.selectList).isShow?r.hide():(o=n.getOptions(t),r.renderList(o),r.show())}},e.prototype.onChange=function(e){var t=BI(this),n=this.menu;n.exec&&n.exec(t,e)},e.prototype.setSelectedValue=function(){var e=BI(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r="",o=0;o<n;o++){var i=e[o];if(i.value===t){r=i.text;break}}return r}(t.getOptions(e),n.toString()),o=this.$button,i=hI();o.empty(),o.text(r),o.append(i)},e.prototype.setDisabled=function(){var e=BI(this),t=this.menu.isDisabled(e),n=this.$button;(null==e.selection||e.isDisabled())&&(t=!0);var r="disabled";t?n.addClass(r):n.removeClass(r),this.disabled=t},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),NI=function(){function e(e){this.$elem=Mp('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=Mp('<div class="w-e-bar-item-menus-container"></div>'),this.$button=Mp('<button type="button"></button>');var t=e.key,n=e.iconSvg,r=e.title,o=this.$elem,i=this.$button;if(n){var a=Mp(n);pI(a),i.append(a)}else i.text(r);i.attr("data-menu-key",t);var u=hI();i.append(u),o.append(i);var s=this.$container;o.append(s);var l=this.createObserver();this.observe(l)}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t)},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver((function(){var o=t.find("button"),i=o.length;if(0!==i){var a=0;o.each((function(e){Mp(e).hasClass("disabled")&&a++})),r.disconnect(),a===i?n.addClass("disabled"):n.removeClass("disabled"),e.observe(r)}}));return r},e}(),kI=new WeakMap;function BI(e){var t=fO.get(e);if(null==t)throw new Error("Can not get editor instance");return t}function II(e,t,n){void 0===n&&(n=!1);var r=kI.get(t);if(r)return r;var o=t.tag;if("button"===o){var i=t.showDropPanel,a=t.showModal;r=i?new wI(e,t,n):a?new xI(e,t,n):new mI(e,t,n)}if("select"===o&&(r=new TI(e,t,n)),null==r)throw new Error("Invalid tag in menu "+JSON.stringify(t));return kI.set(t,r),r}function FI(e,t){var n=e.selection;return null!=n&&!qf.isCollapsed(n)&&!QO.getSelectedElems(e).some((function(t){if(e.isVoid(t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0}))&&!!ed.isText(t)}var PI=function(){function e(){var e=this;this.$elem=Mp('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=Zg((function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys,a=void 0===i?[]:i;null!=o&&e.changeItemsState(),o&&Cf.isElement(o)&&t&&e.isSamePath(o,e.prevSelectedNode)||(e.hideAndClean(),null!=o&&(e.registerItems(a),e.setPosition(o),e.show()),e.prevSelectedNode=o)}),200),ZN((function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),QO.getTextarea(t).$textAreaContainer.append(n),t.on("change",e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on("scroll",r),t.on("fullScreen",r),t.on("unFullScreen",r)}))}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&n-e[0].getBoundingClientRect().bottom<360&&(t=!0),t?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var e=this;ZN((function(){e.hoverbarItems.forEach((function(e){e.changeMenuState()}))}))},e.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach((function(e){if("|"!==e)t.registerSingleItem(e);else{var r=vI();n.append(r)}}))},e.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(null==r){var o=nT[e];if(null==o)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof o)throw new Error("Menu item factory (key='"+e+"') is not a function");r=o(),n[e]=r}var i=t.getMenuConfig(e);i&&void 0!==i.iconSvg&&(r.iconSvg=i.iconSvg);var a=II(e,r);this.hoverbarItems.push(a),fO.set(a,t),this.$elem.append(a.$elem)},e.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),Cf.isElement(e)){var r=wB(t,e,"bar");return n.css(r),void SB(t,n)}if(ed.isText(e))return r=EB(t),n.css(r),void SB(t,n);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(null==e.selection)return null;var t=this.getHoverbarKeysConf(),n=null,r=[],o=function(o){var i=t[o],a=i.match,u=i.menuKeys,s=void 0===u?[]:u,l=a||function(e,t){return QO.checkNodeType(t,o)},c=ax(Nf.nodes(e,{match:function(t){return l(e,t)},universal:!0}),1),f=c[0];if(null!=f)return n=f[0],r=s,"break"};for(var i in t)if("break"===o(i))break;return null==n||0===r.length?null:{node:n,menuKeys:r}},e.prototype.getEditorInstance=function(){var e=lO.get(this);if(null==e)throw new Error("Can not get editor instance");return e},e.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=void 0===e?{}:e,n=t.text;return n&&null==n.match&&(n.match=FI),t},e.prototype.isSamePath=function(e,t){if(null==e||null==t)return!1;var n=QO.findPath(null,e),r=QO.findPath(null,t);return Mf.equals(n,r)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function RI(e,t,n,r){if(mO.set(e,t),bO.set(e,n),Cf.isElement(e)){var o=e.children;if((void 0===o?[]:o).forEach((function(t,n){return RI(t,n,e,r)})),Nf.isVoid(r,e)){var i=ax(Rf.texts(e),1),a=ax(i[0],1)[0];mO.set(a,0),bO.set(a,e)}}}function _I(e){var t=e.selector,n=void 0===t?"":t,r=e.config,o=void 0===r?{}:r,i=e.content,a=e.html,u=e.plugins,s=void 0===u?[]:u,l=(e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];yC.withoutSaving(t,(()=>{Nf.withoutNormalizing(t,(()=>{for(var e of r)t.apply(e)}))})),e.redos.pop(),e.undos.push(r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];yC.withoutSaving(t,(()=>{Nf.withoutNormalizing(t,(()=>{var e=r.map(jf.inverse).reverse();for(var n of e)t.apply(n)}))})),e.redos.push(r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:o}=t,{undos:i}=o,a=i[i.length-1],u=a&&a[a.length-1],s=((e,t)=>!(!t||"set_selection"!==e.type||"set_selection"!==t.type))(e,u),l=yC.isSaving(t),c=yC.isMerging(t);if(null==l&&(l=((e,t)=>"set_selection"!==e.type||null!=e.properties&&null!=e.newProperties)(e)),l){if(null==c&&(c=null!=a&&(0!==r.length||((e,t)=>"set_selection"===e.type||!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Mf.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Mf.equals(e.path,t.path)))(e,u)||s)),a&&c)s&&a.pop(),a.push(e);else{var f=[e];i.push(f)}for(;i.length>100;)i.shift();(e=>"set_selection"!==e.type)(e)&&(o.redos=[])}n(e)},t})(function(e){var t=e,n=t.insertText,r=t.insertNode,o=t.insertFragment,i=t.dangerouslyInsertHtml;return t.insertText=function(e){if(t.getConfig().maxLength){var r=QO.getLeftLengthOfMaxLength(t);r<=0||(r<e.length?n(e.slice(0,r)):n(e))}else n(e)},t.insertNode=function(e){if(t.getConfig().maxLength){var n=QO.getLeftLengthOfMaxLength(t);n<=0||n<Rf.string(e).length||r(e)}else r(e)},t.insertFragment=function(e){if(t.getConfig().maxLength){if(e.length>0){var n=e[0];if(QO.getLeftLengthOfMaxLength(t)<Rf.string(n).length)return;o([n]);for(var r=1;r<e.length;r++)t.insertNode(e[r])}}else o(e)},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e)if(t.getConfig().maxLength){var r=QO.getLeftLengthOfMaxLength(t);if(!(r<=0)){var o=document.createElement("div");o.innerHTML=e;var a=Array.from(o.childNodes).reduce((function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===FO.TEXT_NODE?e+(t.textContent||""):n===FO.ELEMENT_NODE?Vk.has(r.toLowerCase())?e:e+(t.textContent||""):e:e}),"");r<a.length||i(e,n)}}else i(e,n)},t}(function(e){var t=e;return t.on=function(e,n){var r=hB(t);if(r.on(e,n),"destroyed"===e&&gB(t,n),"destroyed"!==e){var o=function(){return r.off(e,n)};r.on("destroyed",o),gB(t,o)}},t.once=function(e,n){hB(t).once(e,n)},t.off=function(e,n){hB(t).off(e,n)},t.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=hB(t);o.emit.apply(o,ux([e],ax(n))),"destroyed"===e&&(yB(t).forEach((function(e){return o.off("destroyed",e)})),mB(t))},t}(function(e){var t=e;return t.select=function(e){md.select(t,e)},t.deselect=function(){var n=t.selection,r=QO.findDocumentOrShadowRoot(t).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),n&&md.deselect(e)},t.move=function(t,n){void 0===n&&(n=!1),t&&(t<0||md.move(e,{distance:t,unit:"character",reverse:n}))},t.moveReverse=function(e){t.move(e,!0)},t.restoreSelection=function(){var e=OO.get(t);null!=e&&(t.focus(),md.select(t,e))},t.getSelectionPosition=function(){return EB(t)},t.getNodePosition=function(e){return wB(t,e)},t.isSelectedAll=function(){var e=t.selection;if(null==e)return!1;var n=ax(qf.edges(e),2),r=n[0],o=n[1],i=ax(Nf.edges(t,[]),2),a=i[0],u=i[1];return!(!$f.equals(r,a)||!$f.equals(o,u))},t.selectAll=function(){var e=Nf.start(t,[]),n=Nf.end(t,[]);md.select(t,{anchor:e,focus:n})},t}(function(e){var t=e,n=t.onChange,r=t.insertText,o=t.apply,i=t.deleteBackward;return t.insertText=function(e){t.getConfig().readOnly||r(e)},t.apply=function(e){var n,r,i,a,u,s,l,c,f=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":try{for(var d=ix(Nf.levels(t,{at:e.path})),p=d.next();!p.done;p=d.next()){var h=ax(p.value,2),v=h[0],g=h[1],y=QO.findKey(t,v);f.push([g,y])}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var m=ix(Nf.levels(t,{at:Mf.parent(e.path)})),b=m.next();!b.done;b=m.next()){var E=ax(b.value,2);v=E[0],g=E[1],y=QO.findKey(t,v),f.push([g,y])}}catch(e){i={error:e}}finally{try{b&&!b.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}break;case"move_node":try{for(var w=ix(Nf.levels(t,{at:Mf.common(Mf.parent(e.path),Mf.parent(e.newPath))})),S=w.next();!S.done;S=w.next()){var C=ax(S.value,2);v=C[0],g=C[1],y=QO.findKey(t,v),f.push([g,y])}}catch(e){u={error:e}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(u)throw u.error}}}o(e);try{for(var D=ix(f),A=D.next();!A.done;A=D.next()){var x=ax(A.value,2);g=x[0],y=x[1],v=ax(Nf.node(t,g),1)[0],DO.set(v,y)}}catch(e){l={error:e}}finally{try{A&&!A.done&&(c=D.return)&&c.call(D)}finally{if(l)throw l.error}}},t.deleteBackward=function(n){if("line"!==n)return i(n);if(e.selection&&qf.isCollapsed(e.selection)){var r=Nf.above(e,{match:function(t){return Nf.isBlock(e,t)},at:e.selection});if(r){var o=ax(r,2)[1],a=Nf.range(e,o,e.selection.anchor),u=function(e,t){var n=Nf.range(e,qf.end(t)),r=Array.from(Nf.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(tk(e,Nf.range(e,r[o]),n))return Nf.range(e,r[o],n);if(r.length<2)return Nf.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)tk(e,Nf.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return Nf.range(e,r[i],n)}(t,a);qf.isCollapsed(u)||md.delete(e,{at:u})}}},t.onChange=function(){var e=t.selection;null!=e&&OO.set(t,e),t.emit("change"),n()},t.handleTab=function(){t.insertText(" ")},t.getHtml=function(){var e=t.children;return(void 0===e?[]:e).map((function(e){return JN(e,t)})).join("")},t.getText=function(){var e=t.children;return(void 0===e?[]:e).map((function(e){return Rf.string(e)})).join("\n")},t.getSelectionText=function(){var n=t.selection;return null==n?"":Nf.string(e,n)},t.getElemsByType=function(e,n){var r,o;void 0===n&&(n=!1);var i=[],a=Nf.nodes(t,{at:[],universal:!0});try{for(var u=ix(a),s=u.next();!s.done;s=u.next()){var l=ax(s.value,1)[0];if(Cf.isElement(l)&&(n?l.type.indexOf(e)>=0:l.type===e)){var c=QN(QO.findKey(t,l).id);i.push(ox(ox({},l),{id:c}))}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return i},t.getElemsByTypePrefix=function(e){return t.getElemsByType(e,!0)},t.isEmpty=function(){var e=t.children,n=void 0===e?[]:e;if(n.length>1)return!1;var r=n[0];if(null==r)return!0;if(Cf.isElement(r)&&"paragraph"===r.type){var o=r.children,i=void 0===o?[]:o;if(i.length>1)return!1;var a=i[0];if(null==a)return!0;if(ed.isText(a)&&""===a.text)return!0}return!1},t.clear=function(){md.delete(t,{at:{anchor:Nf.start(t,[]),focus:Nf.end(t,[])}}),0===t.children.length&&md.insertNodes(t,[{type:"paragraph",children:[{text:""}]}])},t.getParentNode=function(e){return QO.getParentNode(t,e)},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e){var r=document.createElement("div");r.innerHTML=e;var o=Array.from(r.childNodes);if(o=o.filter((function(e){var t=e.nodeType,n=e.nodeName;return t===FO.TEXT_NODE||t===FO.ELEMENT_NODE&&!Vk.has(n.toLowerCase())})),0!==o.length){var i=t.selection;if(null!=i){var a=null;QO.isSelectedEmptyParagraph(t)&&!n&&(a=[i.focus.path[0]]),r.setAttribute("hidden","true"),document.body.appendChild(r);var u=0;o.forEach((function(e,n){var r=e.nodeType,i=e.nodeName,a=e.textContent,s=void 0===a?"":a;if(r!==FO.TEXT_NODE)if("BR"!==i){var l=e,c=!1;if(nk.includes(i.toLowerCase()))c=!0;else for(var f in ik)if(l.matches(f)){c=!0;break}if(c){var d=_k(Mp(l),t);return Array.isArray(d)?(d.forEach((function(e){return Gk(t,e)})),u++):(Gk(t,d),u++),void(QO.isSelectedVoidNode(t)&&t.move(1))}var p=window.getComputedStyle(l).display;if(!QO.isSelectedEmptyParagraph(t)&&p.indexOf("inline")<0){if(n>=1){var h=o[n-1];"matches"in h&&h.matches("ul:not([data-w-e-type]),ol:not([data-w-e-type])")&&t.insertBreak()}t.insertBreak()}t.dangerouslyInsertHtml(l.innerHTML,!0)}else t.insertText("\n");else{if(!s||!s.trim())return;t.insertNode({text:s})}})),u&&a&&QO.isEmptyPath(t,a)&&md.removeNodes(t,{at:a}),r.remove()}}}},t.setHtml=function(e){void 0===e&&(e="");var n=t.isDisabled(),r=t.isFocused(),o=JSON.stringify(t.selection);t.enable(),t.focus(),t.clear();var i=jk(t,e);if(md.insertFragment(t,i),r||(t.deselect(),t.blur()),n&&(t.deselect(),t.disable()),t.isFocused())try{t.select(JSON.parse(o))}catch(e){t.select(Nf.start(t,[]))}},t}(function(e){var t=e;return t.getAllMenuKeys=function(){var e=[];for(var t in nT)e.push(t);return e},t.getConfig=function(){var e=hO.get(t);if(null==e)throw new Error("Can not get editor config");return e},t.getMenuConfig=function(e){var n=t.getConfig().MENU_CONF;return(void 0===n?{}:n)[e]||{}},t.alert=function(e,n){void 0===n&&(n="info");var r=t.getConfig().customAlert;r&&r(e,n)},t}(function(e){var t=Wk(Gc());return t.id="wangEditor-"+eT++,t.isDestroyed=!1,t.isFullScreen=!1,t.focus=function(e){if(QO.toDOMNode(t,t).focus({preventScroll:!0}),xO.set(t,!0),e){var n=Nf.end(t,[]);md.select(t,n)}else{var r=OO.get(t);r?md.select(t,r):md.select(t,Nf.start(t,[]))}},t.isFocused=function(){return!!xO.get(t)},t.blur=function(){QO.toDOMNode(t,t).blur(),md.deselect(t),xO.set(t,!1)},t.updateView=function(){QO.getTextarea(t).changeViewState();var e=QO.getToolbar(t);e&&e.changeToolbarState();var n=QO.getHoverbar(t);n&&n.changeHoverbarState()},t.destroy=function(){if(!t.isDestroyed){var e=QO.getTextarea(t);e.destroy(),iO.delete(t),aO.delete(e);var n=QO.getToolbar(t);n&&(n.destroy(),sO.delete(t),uO.delete(n));var r=QO.getHoverbar(t);r&&(r.destroy(),cO.delete(t),lO.delete(r)),t.isDestroyed=!0,t.emit("destroyed")}},t.scrollToElem=function(e){if(!t.getConfig().scroll){var n="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return n+="\nYou has disabled editor scroll, please do this yourself",void console.warn(n)}var r=Mp("#"+e);if(0!==r.length){var o=r[0];if(!QO.hasDOMNode(t,o))return n="Element (found by id is '"+e+"') is not in editor DOM",n+="\n 通过 id '"+e+"' 找到的 element 不在 editor DOM 之内",void console.error(n,o);var i=QO.getTextarea(t),a=i.$textAreaContainer,u=i.$scroll,s=r.offset().top,l=a.offset().top;u[0].scrollBy({top:s-l,behavior:"smooth"})}},t.showProgressBar=function(e){e<1||QO.getTextarea(t).changeProgress(e)},t.hidePanelOrModal=function(){var e=dO.get(t);null!=e&&e.forEach((function(e){return e.hide()}))},t.enable=function(){t.getConfig().readOnly=!1,t.updateView()},t.disable=function(){t.getConfig().readOnly=!0,t.updateView()},t.isDisabled=function(){return t.getConfig().readOnly},t.toDOMNode=function(e){return QO.toDOMNode(t,e)},t.fullScreen=function(){if(!t.isFullScreen){var e=null,n=QO.getToolbar(t);n&&(e=n.$box);var r=QO.getTextarea(t).$box.parent();if(e&&e.parent()[0]!==r[0])throw new Error("Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent\n不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致");r.addClass("w-e-full-screen-container");var o=r.css("z-index");r.attr("data-z-index",o.toString()),t.isFullScreen=!0,t.emit("fullScreen")}},t.unFullScreen=function(){if(t.isFullScreen){var e=QO.getTextarea(t).$box.parent();setTimeout((function(){e.removeClass("w-e-full-screen-container"),t.isFullScreen=!1,t.emit("unFullScreen")}),200)}},t.getEditableContainer=function(){return QO.getTextarea(t).$textAreaContainer[0]},t}()))))));if(n&&function(e,t){return Lk(e,"data-w-e-textarea",t)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(e){void 0===e&&(e={});var t=Jg(tT),n={},r=e.MENU_CONF,o=void 0===r?{}:r;return Lh(t,(function(e,t){n[t]=ox(ox({},e),o[t]||{})})),delete e.MENU_CONF,ox({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(e,t){window.alert(t+":\n"+e)}},e)}(o);hO.set(l,c);var f=c.hoverbarKeys,d=void 0===f?{}:f;if(s.forEach((function(e){l=e(l)})),null!=a&&(l.children=jk(l,a)),i&&i.length&&(l.children=i),0===l.children.length&&(l.children=[{type:"paragraph",children:[{text:""}]}]),QO.normalizeContent(l),n){var p=new dI(n);iO.set(l,p),aO.set(p,l),p.changeViewState(),ZN((function(){var e=p.$scroll;null!=e&&e.height()<300&&console.warn("编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常\nTextarea height < 300px . This may be cause modal and hoverbar position error",e)}));var h=void 0;Object.keys(d).length>0&&(h=new PI,lO.set(h,l),cO.set(l,h)),l.on("change",(function(){l.hidePanelOrModal()})),l.on("scroll",(function(){l.hidePanelOrModal()}))}else l.children.forEach((function(e,t){return RI(e,t,l,l)}));var v=c.onCreated,g=c.onDestroyed;return v&&l.on("created",(function(){return v(l)})),g&&l.on("destroyed",(function(){return g(l)})),ZN((function(){return l.emit("created")})),l}var LI=iA("splice"),jI=lE.TypeError,MI=Math.max,zI=Math.min;cC({target:"Array",proto:!0,forced:!LI},{splice:function(e,t){var n,r,o,i,a,u,s=SE(this),l=pS(s),c=$S(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=zI(MI(cS(t),0),l-c)),l+n-r>9007199254740991)throw jI("Maximum allowed length exceeded");for(o=AS(s,r),i=0;i<r;i++)(a=c+i)in s&&tD(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var HI=function(){function e(e,t){var n=this;this.$toolbar=Mp('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=Zg((function(){n.toolbarItems.forEach((function(e){e.changeMenuState()}))}),200),this.config=t;var r=Mp(e);if(0===r.length)throw new Error("Cannot find toolbar DOM by selector '"+e+"'");this.$box=r;var o=this.$toolbar;o.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),r.append(o),ZN((function(){n.registerItems(),n.changeToolbarState(),n.getEditorInstance().on("change",n.changeToolbarState)}))}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var e=this,t="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=void 0===o?[]:o,a=r.insertKeys,u=void 0===a?{index:0,keys:[]}:a,s=r.excludeKeys,l=void 0===s?[]:s,c=Jg(i);u.keys.length>0&&("string"==typeof u.keys&&(u.keys=[u.keys]),u.keys.forEach((function(e,t){c.splice(u.index+t,0,e)})));var f=c.filter((function(e){if("string"==typeof e){if(l.includes(e))return!1}else if(l.includes(e.key))return!1;return!0})),d=f.length;f.forEach((function(r,o){if("|"===r){if(0===o)return;if(o+1===d)return;if("|"===t)return;var i=vI();return n.append(i),void(t=r)}if("string"==typeof r)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t="group"}))},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=function(e){return new NI(e)}(e),o=e.menuKeys,i=void 0===o?[]:o,a=this.config.excludeKeys,u=void 0===a?[]:a;i.forEach((function(e){u.includes(e)||t.registerSingleItem(e,r)})),n.append(r.$elem)},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof NI,o=this.menus,i=o[e];if(null==i){var a=nT[e];if(null==a)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof a)throw new Error("Menu item factory (key='"+e+"') is not a function");i=a(),o[e]=i}else console.warn("Duplicated toolbar menu key '"+e+"'\n重复注册了菜单栏 menu '"+e+"'");var u=n.getMenuConfig(e);u&&void 0!==u.iconSvg&&(i.iconSvg=u.iconSvg);var s=II(e,i,r);this.toolbarItems.push(s),fO.set(s,n),r?t.appendBarItem(s):t.$toolbar.append(s.$elem)},e.prototype.getEditorInstance=function(){var e=uO.get(this);if(null==e)throw new Error("Can not get editor instance");return e},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}();var UI=$w.EXISTS,$I=bw.f,VI=Function.prototype,GI=mE(VI.toString),WI=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,qI=mE(WI.exec);function KI(e){var t=e.server,n=void 0===t?"":t,r=e.fieldName,o=void 0===r?"":r,i=e.maxFileSize,a=void 0===i?10485760:i,u=e.maxNumberOfFiles,s=void 0===u?100:u,l=e.meta,c=void 0===l?{}:l,f=e.metaWithUrl,d=void 0!==f&&f,p=e.headers,h=void 0===p?{}:p,v=e.withCredentials,g=void 0!==v&&v,y=e.timeout,m=void 0===y?1e4:y,b=e.onBeforeUpload,E=void 0===b?function(e){return e}:b,w=e.onSuccess,S=void 0===w?function(e,t){}:w,C=e.onError,D=void 0===C?function(e,t,n){console.error(e.name+" upload error",t,n)}:C,A=e.onProgress,x=void 0===A?function(e){}:A;if(!n)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var O=n;d&&(O=function(e,t){var n=ax(e.split("#"),2),r=n[0],o=n[1],i=[];Lh(t,(function(e,t){i.push(t+"="+e)}));var a=i.join("&");return r=r.indexOf("?")>0?r+"&"+a:r+"?"+a,o?r+"#"+o:r}(O,c));var T=new Im({onBeforeUpload:E,restrictions:{maxFileSize:a,maxNumberOfFiles:s},meta:c}).use(rE,{endpoint:O,headers:h,formData:!0,fieldName:o,bundle:!0,withCredentials:g,timeout:m});return T.on("upload-success",(function(e,t){var n=t.body,r=void 0===n?{}:n;try{S(e,r)}catch(e){console.error("wangEditor upload file - onSuccess error",e)}T.removeFile(e.id)})),T.on("progress",(function(e){e<1||x(e)})),T.on("upload-error",(function(e,t,n){try{D(e,t,n)}catch(e){console.error("wangEditor upload file - onError error",e)}T.removeFile(e.id)})),T.on("restriction-failed",(function(e,t){try{D(e,t)}catch(e){console.error("wangEditor upload file - onError error",e)}T.removeFile(e.id)})),T}function YI(e){return YI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YI(e)}function XI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){XI(e,t,n[t])}))}return e}function JI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eF(e,t,n){return t&&QI(e.prototype,t),n&&QI(e,n),e}function tF(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nF(e,t){if(t&&("object"===YI(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return tF(e)}function rF(e){return rF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},rF(e)}function oF(e,t){return oF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},oF(e,t)}function iF(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oF(e,t)}KE&&!UI&&$I(VI,"name",{configurable:!0,get:function(){try{return qI(WI,GI(this))[1]}catch(e){return""}}});var aF={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},uF=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};JI(this,e),this.init(t,n)}return eF(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||aF,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,ZI({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),sF=function(){function e(){JI(this,e),this.observers={}}return eF(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var o=[].concat(this.observers[e]);o.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function lF(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function cF(e){return null==e?"":""+e}function fF(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function dF(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function pF(e,t,n){var r=dF(e,t,Object);r.obj[r.k]=n}function hF(e,t){var n=dF(e,t),r=n.obj,o=n.k;if(r)return r[o]}function vF(e,t,n){var r=hF(e,n);return void 0!==r?r:hF(t,n)}function gF(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):gF(e[r],t[r],n):e[r]=t[r]);return e}function yF(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var mF={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function bF(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return mF[e]})):e}var EF="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function wF(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,u=r.slice(i,i+a).join(n),s=o[u];void 0===s&&r.length>i+a;)a++,s=o[u=r.slice(i,i+a).join(n)];if(void 0===s)return;if("string"==typeof s)return s;if(u&&"string"==typeof s[u])return s[u];var l=r.slice(i+a).join(n);return l?wF(s,l,n):void 0}o=o[r[i]]}return o}}var SF=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return JI(this,t),n=nF(this,rF(t).call(this)),EF&&sF.call(tF(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return iF(t,sF),eF(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var u=hF(this.data,a);return u||!i||"string"!=typeof n?u:wF(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),pF(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var u=hF(this.data,a)||{};r?gF(u,n,o):u=ZI({},u,n),pF(this.data,a,u),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?ZI({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(),CF={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}},DF={},AF=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return JI(this,t),n=nF(this,rF(t).call(this)),EF&&sF.call(tF(n)),fF(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,tF(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=uF.create("translator"),n}return iF(t,sF),eF(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:o};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,n,r){var o=this;if("object"!==YI(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],n),u=a.key,s=a.namespaces,l=s[s.length-1],c=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(f){var d=n.nsSeparator||this.options.nsSeparator;return l+d+u}return u}var p=this.resolve(e,n),h=p&&p.res,v=p&&p.usedKey||u,g=p&&p.exactUsedKey||u,y=Object.prototype.toString.apply(h),m=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,w="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(E&&h&&w&&m.indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,h,ZI({},n,{ns:s})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var S="[object Array]"===y,C=S?[]:{},D=S?g:v;for(var A in h)if(Object.prototype.hasOwnProperty.call(h,A)){var x="".concat(D).concat(i).concat(A);C[A]=this.translate(x,ZI({},n,{joinArrays:!1,ns:s})),C[A]===x&&(C[A]=h[A])}h=C}}else if(E&&"string"==typeof b&&"[object Array]"===y)(h=h.join(b))&&(h=this.extendTranslation(h,e,n,r));else{var O=!1,T=!1,N=void 0!==n.count&&"string"!=typeof n.count,k=t.hasDefaultValue(n),B=N?this.pluralResolver.getSuffix(c,n.count):"",I=n["defaultValue".concat(B)]||n.defaultValue;!this.isValidLookup(h)&&k&&(O=!0,h=I),this.isValidLookup(h)||(T=!0,h=u);var F=n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,P=F&&T?void 0:h,R=k&&I!==h&&this.options.updateMissing;if(T||O||R){if(this.logger.log(R?"updateKey":"missingKey",c,l,u,R?I:h),i){var _=this.resolve(u,ZI({},n,{keySeparator:!1}));_&&_.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var L=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&j&&j[0])for(var M=0;M<j.length;M++)L.push(j[M]);else"all"===this.options.saveMissingTo?L=this.languageUtils.toResolveHierarchy(n.lng||this.language):L.push(n.lng||this.language);var z=function(e,t,r){o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,R?r:P,R,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,R?r:P,R,n),o.emit("missingKey",e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?L.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(t){z([e],u+t,n["defaultValue".concat(t)]||I)}))})):z(L,u,I))}h=this.extendTranslation(h,e,n,p,r),T&&h===u&&this.options.appendNamespaceToMissingKey&&(h="".concat(l,":").concat(u)),(T||O)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(ZI({},n,{interpolation:ZI({},this.options.interpolation,n.interpolation)}));var a,u=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(u){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=ZI({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),u){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=CF.handle(d,e,t,this.options&&this.options.postProcessPassResolved?ZI({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,u),l=s.key;n=l;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==u.count&&"string"!=typeof u.count,d=void 0!==u.context&&("string"==typeof u.context||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:a.languageUtils.toResolveHierarchy(u.lng||a.language,u.fallbackLng);c.forEach((function(e){a.isValidLookup(t)||(i=e,!DF["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(DF["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,s,c=l,p=[c];for(a.i18nFormat&&a.i18nFormat.addLookupKeys?a.i18nFormat.addLookupKeys(p,l,n,e,u):(f&&(i=a.pluralResolver.getSuffix(n,u.count)),f&&d&&p.push(c+i),d&&p.push(c+="".concat(a.options.contextSeparator).concat(u.context)),f&&p.push(c+=i));s=p.pop();)a.isValidLookup(t)||(r=s,t=a.getResource(n,e,s,u))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}();function xF(e){return e.charAt(0).toUpperCase()+e.slice(1)}var OF=function(){function e(t){JI(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=uF.create("languageUtils")}return eF(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=xF(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=xF(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=xF(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),e}(),TF=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],NF={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function kF(){var e={};return TF.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:NF[t.fc]}}))})),e}var BF=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};JI(this,e),this.languageUtils=t,this.options=n,this.logger=uF.create("pluralResolver"),this.rules=kF()}return eF(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),IF=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};JI(this,e),this.logger=uF.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return eF(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:bF,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?yF(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?yF(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?yF(t.nestingPrefix):t.nestingPrefixEscaped||yF("$t("),this.nestingSuffix=t.nestingSuffix?yF(t.nestingSuffix):t.nestingSuffixEscaped||yF(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,u=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(u.formatSeparator)<0){var o=vF(t,s,e);return u.alwaysFormat?u.format(o,void 0,n,ZI({},r,t,{interpolationkey:e})):o}var i=e.split(u.formatSeparator),a=i.shift().trim(),l=i.join(u.formatSeparator).trim();return u.format(vF(t,s,a),l,n,ZI({},r,t,{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,p=[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return u.escapeValue?l(u.escape(e)):l(e)}}];return p.forEach((function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=c(o[1].trim())))if("function"==typeof f){var n=f(e,o,r);i="string"==typeof n?n:""}else{if(d){i=o[0];continue}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i=""}else"string"==typeof i||u.useRawValueToEscape||(i=cF(i));var s=t.safeValue(i);if(e=e.replace(o[0],s),d?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=u.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=ZI({},i);function u(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=ZI({},t,a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),s=c,l=!0}if((r=t(u.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=cF(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=s.reduce((function(e,t){return o.format(e,t,i.lng,ZI({},i,{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}(),FF=function(e){function t(e,n,r){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return JI(this,t),o=nF(this,rF(t).call(this)),EF&&sF.call(tF(o)),o.backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=i,o.logger=uF.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,i.backend,i),o}return iF(t,sF),eF(t,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],u=[],s=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var u="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?a.indexOf(u)<0&&a.push(u):(o.state[u]=1,r=!1,a.indexOf(u)<0&&a.push(u),i.indexOf(u)<0&&i.push(u),s.indexOf(t)<0&&s.push(t)))})),r||u.push(e)})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:u,toLoadNamespaces:s}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=dF(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],i[a].push(n)}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(u,s){u&&s&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(u,s)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,ZI({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}();function PF(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===YI(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===YI(e[2])||"object"===YI(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function RF(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function _F(){}var LF=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(JI(this,t),e=nF(this,rF(t).call(this)),EF&&sF.call(tF(e)),e.options=RF(n),e.services={},e.logger=uF,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),nF(e,tF(e));setTimeout((function(){e.init(n,r)}),0)}return e}return iF(t,sF),eF(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=ZI({},PF(),this.options,RF(t)),this.format=this.options.interpolation.format,n||(n=_F),!this.options.isClone){this.modules.logger?uF.init(r(this.modules.logger),this.options):uF.init(null,this.options);var o=new OF(this.options);this.store=new SF(this.options.resources,this.options);var i=this.services;i.logger=uF,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new BF(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new IF(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new FF(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new AF(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&"dev"!==a[0]&&(this.options.lng=a[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var s=["addResource","addResources","addResourceBundle","removeResourceBundle"];s.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var l=lF(),c=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),l.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_F,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(o)a(o);else{var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=lF();return e||(e=this.languages),t||(t=this.options.ns),n||(n=_F),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&CF.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=lF();this.emit("languageChanging",e);var o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(n.language=o,n.languages=n.services.languageUtils.toResolveHierarchy(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==YI(o)){for(var a=arguments.length,u=new Array(a>2?a-2:0),s=2;s<a;s++)u[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,o].concat(u))}else i=ZI({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var l=r.options.keySeparator||".",c=n?"".concat(n).concat(l).concat(t):t;return r.t(c,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var u=n.precheck(this,a);if(void 0!==u)return u}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=lF();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=lF();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_F,o=ZI({},this.options,n,{isClone:!0}),i=new t(o),a=["store","services","language"];return a.forEach((function(t){i[t]=e[t]})),i.services=ZI({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new AF(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),jF=new LF;function MF(e,t){jF.addResourceBundle(e,"translation",t,!0,!0)}function zF(e){jF.changeLanguage(e)}function HF(e){return jF.getResourceBundle(e,"translation")}jF.init({lng:"zh-CN",resources:{}});var UF=jF.t.bind(jF);MF("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),MF("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var $F=ea?{}.toString:function(){return"[object "+oa(this)+"]"};ea||wi(Object.prototype,"toString",$F,{unsafe:!0});var VF=Array.isArray||function(e){return"Array"==Ur(e)},GF=function(){},WF=[],qF=Jr("Reflect","construct"),KF=/^\s*(?:class|function)\b/,YF=Mr(KF.exec),XF=!KF.exec(GF),ZF=function(e){if(!Yr(e))return!1;try{return qF(GF,WF,e),!0}catch(e){return!1}},JF=!qF||xr((function(){var e;return ZF(ZF.call)||!ZF(Object)||!ZF((function(){e=!0}))||e}))?function(e){if(!Yr(e))return!1;switch(oa(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return XF||!!YF(KF,ri(e))}:ZF,QF=Fo("species"),eP=Ar.Array,tP=function(e,t){return new(function(e){var t;return VF(e)&&(t=e.constructor,(JF(t)&&(t===eP||VF(t.prototype))||Xr(t)&&null===(t=t[QF]))&&(t=void 0)),void 0===t?eP:t}(e))(0===t?0:t)},nP=Mr([].push),rP=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=So(s),v=Gr(h),g=yu(l,c),y=ki(v),m=0,b=f||tP,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:nP(E,d)}else switch(e){case 4:return!1;case 7:nP(E,d)}return i?-1:r||o?o:E}},oP={forEach:rP(0),map:rP(1),filter:rP(2),some:rP(3),every:rP(4),find:rP(5),findIndex:rP(6),filterReject:rP(7)}.forEach,iP=function(e,t){var n=[][e];return!!n&&xr((function(){n.call(null,t||function(){throw 1},1)}))}("forEach"),aP=iP?[].forEach:function(e){return oP(this,e,arguments.length>1?arguments[1]:void 0)},uP=function(e){if(e&&e.forEach!==aP)try{Jo(e,"forEach",aP)}catch(t){e.forEach=aP}};for(var sP in fs)fs[sP]&&uP(Ar[sP]&&Ar[sP].prototype);uP(hs),MF("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",editSize:"Edit size",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link",ok:"Ok",width:"Width",height:"Height"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),MF("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",editSize:"修改尺寸",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接",ok:"确定",width:"宽度",height:"高度"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"}});var lP={type:"paragraph",renderElem:function(e,t,n){return Fv("p",null,t)}},cP="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function fP(e){var t={exports:{}};return e(t,t.exports),t.exports}var dP,pP,hP=function(e){return e&&e.Math==Math&&e},vP=hP("object"==typeof globalThis&&globalThis)||hP("object"==typeof window&&window)||hP("object"==typeof self&&self)||hP("object"==typeof cP&&cP)||function(){return this}()||Function("return this")(),gP=function(e){try{return!!e()}catch(e){return!0}},yP=!gP((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),mP=Function.prototype.call,bP=mP.bind?mP.bind(mP):function(){return mP.apply(mP,arguments)},EP={}.propertyIsEnumerable,wP=Object.getOwnPropertyDescriptor,SP=wP&&!EP.call({1:2},1)?function(e){var t=wP(this,e);return!!t&&t.enumerable}:EP,CP={f:SP},DP=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},AP=Function.prototype,xP=AP.bind,OP=AP.call,TP=xP&&xP.bind(OP),NP=xP?function(e){return e&&TP(OP,e)}:function(e){return e&&function(){return OP.apply(e,arguments)}},kP=NP({}.toString),BP=NP("".slice),IP=function(e){return BP(kP(e),8,-1)},FP=vP.Object,PP=NP("".split),RP=gP((function(){return!FP("z").propertyIsEnumerable(0)}))?function(e){return"String"==IP(e)?PP(e,""):FP(e)}:FP,_P=vP.TypeError,LP=function(e){if(null==e)throw _P("Can't call method on "+e);return e},jP=function(e){return RP(LP(e))},MP=function(e){return"function"==typeof e},zP=function(e){return"object"==typeof e?null!==e:MP(e)},HP=function(e){return MP(e)?e:void 0},UP=function(e,t){return arguments.length<2?HP(vP[e]):vP[e]&&vP[e][t]},$P=NP({}.isPrototypeOf),VP=UP("navigator","userAgent")||"",GP=vP.process,WP=vP.Deno,qP=GP&&GP.versions||WP&&WP.version,KP=qP&&qP.v8;KP&&(pP=(dP=KP.split("."))[0]>0&&dP[0]<4?1:+(dP[0]+dP[1])),!pP&&VP&&(!(dP=VP.match(/Edge\/(\d+)/))||dP[1]>=74)&&(dP=VP.match(/Chrome\/(\d+)/))&&(pP=+dP[1]);var YP=pP,XP=!!Object.getOwnPropertySymbols&&!gP((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&YP&&YP<41})),ZP=XP&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,JP=vP.Object,QP=ZP?function(e){return"symbol"==typeof e}:function(e){var t=UP("Symbol");return MP(t)&&$P(t.prototype,JP(e))},eR=vP.String,tR=function(e){try{return eR(e)}catch(e){return"Object"}},nR=vP.TypeError,rR=function(e){if(MP(e))return e;throw nR(tR(e)+" is not a function")},oR=function(e,t){var n=e[t];return null==n?void 0:rR(n)},iR=vP.TypeError,aR=Object.defineProperty,uR=function(e,t){try{aR(vP,e,{value:t,configurable:!0,writable:!0})}catch(n){vP[e]=t}return t},sR=vP["__core-js_shared__"]||uR("__core-js_shared__",{}),lR=fP((function(e){(e.exports=function(e,t){return sR[e]||(sR[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),cR=vP.Object,fR=function(e){return cR(LP(e))},dR=NP({}.hasOwnProperty),pR=Object.hasOwn||function(e,t){return dR(fR(e),t)},hR=0,vR=Math.random(),gR=NP(1..toString),yR=function(e){return"Symbol("+(void 0===e?"":e)+")_"+gR(++hR+vR,36)},mR=lR("wks"),bR=vP.Symbol,ER=bR&&bR.for,wR=ZP?bR:bR&&bR.withoutSetter||yR,SR=function(e){if(!pR(mR,e)||!XP&&"string"!=typeof mR[e]){var t="Symbol."+e;XP&&pR(bR,e)?mR[e]=bR[e]:mR[e]=ZP&&ER?ER(t):wR(t)}return mR[e]},CR=vP.TypeError,DR=SR("toPrimitive"),AR=function(e){var t=function(e,t){if(!zP(e)||QP(e))return e;var n,r=oR(e,DR);if(r){if(void 0===t&&(t="default"),n=bP(r,e,t),!zP(n)||QP(n))return n;throw CR("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&MP(n=e.toString)&&!zP(r=bP(n,e)))return r;if(MP(n=e.valueOf)&&!zP(r=bP(n,e)))return r;if("string"!==t&&MP(n=e.toString)&&!zP(r=bP(n,e)))return r;throw iR("Can't convert object to primitive value")}(e,t)}(e,"string");return QP(t)?t:t+""},xR=vP.document,OR=zP(xR)&&zP(xR.createElement),TR=function(e){return OR?xR.createElement(e):{}},NR=!yP&&!gP((function(){return 7!=Object.defineProperty(TR("div"),"a",{get:function(){return 7}}).a})),kR=Object.getOwnPropertyDescriptor,BR={f:yP?kR:function(e,t){if(e=jP(e),t=AR(t),NR)try{return kR(e,t)}catch(e){}if(pR(e,t))return DP(!bP(CP.f,e,t),e[t])}},IR=vP.String,FR=vP.TypeError,PR=function(e){if(zP(e))return e;throw FR(IR(e)+" is not an object")},RR=vP.TypeError,_R=Object.defineProperty,LR={f:yP?_R:function(e,t,n){if(PR(e),t=AR(t),PR(n),NR)try{return _R(e,t,n)}catch(e){}if("get"in n||"set"in n)throw RR("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},jR=yP?function(e,t,n){return LR.f(e,t,DP(1,n))}:function(e,t,n){return e[t]=n,e},MR=NP(Function.toString);MP(sR.inspectSource)||(sR.inspectSource=function(e){return MR(e)});var zR,HR,UR,$R=sR.inspectSource,VR=vP.WeakMap,GR=MP(VR)&&/native code/.test($R(VR)),WR=lR("keys"),qR=function(e){return WR[e]||(WR[e]=yR(e))},KR={},YR=vP.TypeError,XR=vP.WeakMap;if(GR||sR.state){var ZR=sR.state||(sR.state=new XR),JR=NP(ZR.get),QR=NP(ZR.has),e_=NP(ZR.set);zR=function(e,t){if(QR(ZR,e))throw new YR("Object already initialized");return t.facade=e,e_(ZR,e,t),t},HR=function(e){return JR(ZR,e)||{}},UR=function(e){return QR(ZR,e)}}else{var t_=qR("state");KR[t_]=!0,zR=function(e,t){if(pR(e,t_))throw new YR("Object already initialized");return t.facade=e,jR(e,t_,t),t},HR=function(e){return pR(e,t_)?e[t_]:{}},UR=function(e){return pR(e,t_)}}var n_={set:zR,get:HR,has:UR,enforce:function(e){return UR(e)?HR(e):zR(e,{})},getterFor:function(e){return function(t){var n;if(!zP(t)||(n=HR(t)).type!==e)throw YR("Incompatible receiver, "+e+" required");return n}}},r_=Function.prototype,o_=yP&&Object.getOwnPropertyDescriptor,i_=pR(r_,"name"),a_={EXISTS:i_,PROPER:i_&&"something"===function(){}.name,CONFIGURABLE:i_&&(!yP||yP&&o_(r_,"name").configurable)},u_=fP((function(e){var t=a_.CONFIGURABLE,n=n_.get,r=n_.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;MP(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!pR(i,"name")||t&&i.name!==f)&&jR(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==vP?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:jR(e,n,i)):l?e[n]=i:uR(n,i)})(Function.prototype,"toString",(function(){return MP(this)&&n(this).source||$R(this)}))})),s_=Math.ceil,l_=Math.floor,c_=function(e){var t=+e;return t!=t||0===t?0:(t>0?l_:s_)(t)},f_=Math.max,d_=Math.min,p_=function(e,t){var n=c_(e);return n<0?f_(n+t,0):d_(n,t)},h_=Math.min,v_=function(e){return e>0?h_(c_(e),9007199254740991):0},g_=function(e){return v_(e.length)},y_=function(e){return function(t,n,r){var o,i=jP(t),a=g_(i),u=p_(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},m_={includes:y_(!0),indexOf:y_(!1)},b_=m_.indexOf,E_=NP([].push),w_=function(e,t){var n,r=jP(e),o=0,i=[];for(n in r)!pR(KR,n)&&pR(r,n)&&E_(i,n);for(;t.length>o;)pR(r,n=t[o++])&&(~b_(i,n)||E_(i,n));return i},S_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],C_=S_.concat("length","prototype"),D_={f:Object.getOwnPropertyNames||function(e){return w_(e,C_)}},A_={f:Object.getOwnPropertySymbols},x_=NP([].concat),O_=UP("Reflect","ownKeys")||function(e){var t=D_.f(PR(e)),n=A_.f;return n?x_(t,n(e)):t},T_=function(e,t){for(var n=O_(t),r=LR.f,o=BR.f,i=0;i<n.length;i++){var a=n[i];pR(e,a)||r(e,a,o(t,a))}},N_=/#|\.prototype\./,k_=function(e,t){var n=I_[B_(e)];return n==P_||n!=F_&&(MP(t)?gP(t):!!t)},B_=k_.normalize=function(e){return String(e).replace(N_,".").toLowerCase()},I_=k_.data={},F_=k_.NATIVE="N",P_=k_.POLYFILL="P",R_=k_,__=BR.f,L_=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?vP:l?vP[u]||uR(u,{}):(vP[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=__(n,r))&&a.value:n[r],!R_(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;T_(i,o)}(e.sham||o&&o.sham)&&jR(i,"sham",!0),u_(n,r,i,e)}},j_=NP(NP.bind),M_=Array.isArray||function(e){return"Array"==IP(e)},z_={};z_[SR("toStringTag")]="z";var H_="[object z]"===String(z_),U_=SR("toStringTag"),$_=vP.Object,V_="Arguments"==IP(function(){return arguments}()),G_=H_?IP:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=$_(e),U_))?n:V_?IP(t):"Object"==(r=IP(t))&&MP(t.callee)?"Arguments":r},W_=function(){},q_=[],K_=UP("Reflect","construct"),Y_=/^\s*(?:class|function)\b/,X_=NP(Y_.exec),Z_=!Y_.exec(W_),J_=function(e){if(!MP(e))return!1;try{return K_(W_,q_,e),!0}catch(e){return!1}},Q_=!K_||gP((function(){var e;return J_(J_.call)||!J_(Object)||!J_((function(){e=!0}))||e}))?function(e){if(!MP(e))return!1;switch(G_(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Z_||!!X_(Y_,$R(e))}:J_,eL=SR("species"),tL=vP.Array,nL=function(e,t){return new(function(e){var t;return M_(e)&&(t=e.constructor,(Q_(t)&&(t===tL||M_(t.prototype))||zP(t)&&null===(t=t[eL]))&&(t=void 0)),void 0===t?tL:t}(e))(0===t?0:t)},rL=NP([].push),oL=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=fR(s),v=RP(h),g=function(e,t){return rR(e),void 0===t?e:j_?j_(e,t):function(){return e.apply(t,arguments)}}(l,c),y=g_(v),m=0,b=f||nL,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:rL(E,d)}else switch(e){case 4:return!1;case 7:rL(E,d)}return i?-1:r||o?o:E}},iL={forEach:oL(0),map:oL(1),filter:oL(2),some:oL(3),every:oL(4),find:oL(5),findIndex:oL(6),filterReject:oL(7)},aL=SR("species"),uL=function(e){return YP>=51||!gP((function(){var t=[];return(t.constructor={})[aL]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},sL=iL.filter;L_({target:"Array",proto:!0,forced:!uL("filter")},{filter:function(e){return sL(this,e,arguments.length>1?arguments[1]:void 0)}});var lL=H_?{}.toString:function(){return"[object "+G_(this)+"]"};H_||u_(Object.prototype,"toString",lL,{unsafe:!0});var cL,fL=vP.String,dL=function(e){if("Symbol"===G_(e))throw TypeError("Cannot convert a Symbol value to a string");return fL(e)},pL=function(){var e=PR(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},hL=vP.RegExp,vL=gP((function(){var e=hL("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),gL=vL||gP((function(){return!hL("a","y").sticky})),yL={BROKEN_CARET:vL||gP((function(){var e=hL("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:gL,UNSUPPORTED_Y:vL},mL=Object.keys||function(e){return w_(e,S_)},bL=yP?Object.defineProperties:function(e,t){PR(e);for(var n,r=jP(t),o=mL(t),i=o.length,a=0;i>a;)LR.f(e,n=o[a++],r[n]);return e},EL=UP("document","documentElement"),wL=qR("IE_PROTO"),SL=function(){},CL=function(e){return"<script>"+e+"<\/script>"},DL=function(e){e.write(CL("")),e.close();var t=e.parentWindow.Object;return e=null,t},AL=function(){try{cL=new ActiveXObject("htmlfile")}catch(e){}var e,t;AL="undefined"!=typeof document?document.domain&&cL?DL(cL):((t=TR("iframe")).style.display="none",EL.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(CL("document.F=Object")),e.close(),e.F):DL(cL);for(var n=S_.length;n--;)delete AL.prototype[S_[n]];return AL()};KR[wL]=!0;var xL,OL,TL=Object.create||function(e,t){var n;return null!==e?(SL.prototype=PR(e),n=new SL,SL.prototype=null,n[wL]=e):n=AL(),void 0===t?n:bL(n,t)},NL=vP.RegExp,kL=gP((function(){var e=NL(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),BL=vP.RegExp,IL=gP((function(){var e=BL("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),FL=n_.get,PL=lR("native-string-replace",String.prototype.replace),RL=RegExp.prototype.exec,_L=RL,LL=NP("".charAt),jL=NP("".indexOf),ML=NP("".replace),zL=NP("".slice),HL=(OL=/b*/g,bP(RL,xL=/a/,"a"),bP(RL,OL,"a"),0!==xL.lastIndex||0!==OL.lastIndex),UL=yL.BROKEN_CARET,$L=void 0!==/()??/.exec("")[1];(HL||$L||UL||kL||IL)&&(_L=function(e){var t,n,r,o,i,a,u,s=this,l=FL(s),c=dL(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=bP(_L,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=UL&&s.sticky,h=bP(pL,s),v=s.source,g=0,y=c;if(p&&(h=ML(h,"y",""),-1===jL(h,"g")&&(h+="g"),y=zL(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==LL(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),$L&&(n=new RegExp("^"+v+"$(?!\\s)",h)),HL&&(r=s.lastIndex),o=bP(RL,p?n:s,y),p?o?(o.input=zL(o.input,g),o[0]=zL(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:HL&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),$L&&o&&o.length>1&&bP(PL,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=TL(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var VL=_L;L_({target:"RegExp",proto:!0,forced:/./.exec!==VL},{exec:VL});var GL=Function.prototype,WL=GL.apply,qL=GL.bind,KL=GL.call,YL="object"==typeof Reflect&&Reflect.apply||(qL?KL.bind(WL):function(){return KL.apply(WL,arguments)}),XL=SR("species"),ZL=RegExp.prototype,JL=function(e,t,n,r){var o=SR(e),i=!gP((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!gP((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[XL]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=NP(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=NP(e),s=t.exec;return s===VL||s===ZL.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));u_(String.prototype,e,s[0]),u_(ZL,o,s[1])}r&&jR(ZL[o],"sham",!0)},QL=NP("".charAt),ej=NP("".charCodeAt),tj=NP("".slice),nj=function(e){return function(t,n){var r,o,i=dL(LP(t)),a=c_(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=ej(i,a))<55296||r>56319||a+1===u||(o=ej(i,a+1))<56320||o>57343?e?QL(i,a):r:e?tj(i,a,a+2):o-56320+(r-55296<<10)+65536}},rj=(nj(!1),nj(!0)),oj=function(e,t,n){return t+(n?rj(e,t).length:1)},ij=Math.floor,aj=NP("".charAt),uj=NP("".replace),sj=NP("".slice),lj=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,cj=/\$([$&'`]|\d{1,2})/g,fj=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=cj;return void 0!==o&&(o=fR(o),s=lj),uj(i,s,(function(i,s){var l;switch(aj(s,0)){case"$":return"$";case"&":return e;case"`":return sj(t,0,n);case"'":return sj(t,a);case"<":l=o[sj(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=ij(c/10);return 0===f?i:f<=u?void 0===r[f-1]?aj(s,1):r[f-1]+aj(s,1):i}l=r[c-1]}return void 0===l?"":l}))},dj=vP.TypeError,pj=function(e,t){var n=e.exec;if(MP(n)){var r=bP(n,e,t);return null!==r&&PR(r),r}if("RegExp"===IP(e))return bP(VL,e,t);throw dj("RegExp#exec called on incompatible receiver")},hj=SR("replace"),vj=Math.max,gj=Math.min,yj=NP([].concat),mj=NP([].push),bj=NP("".indexOf),Ej=NP("".slice),wj="$0"==="a".replace(/./,"$0"),Sj=!!/./[hj]&&""===/./[hj]("a","$0");JL("replace",(function(e,t,n){var r=Sj?"$":"$0";return[function(e,n){var r=LP(this),o=null==e?void 0:oR(e,hj);return o?bP(o,e,r,n):bP(t,dL(r),e,n)},function(e,o){var i=PR(this),a=dL(e);if("string"==typeof o&&-1===bj(o,r)&&-1===bj(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=MP(o);s||(o=dL(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=pj(i,a);if(null===d)break;if(mj(f,d),!l)break;""===dL(d[0])&&(i.lastIndex=oj(a,v_(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=dL((d=f[g])[0]),m=vj(gj(c_(d.index),a.length),0),b=[],E=1;E<d.length;E++)mj(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=yj([y],b,m,a);void 0!==w&&mj(S,w);var C=dL(YL(o,void 0,S))}else C=fj(y,a,m,b,w,o);m>=v&&(h+=Ej(a,v,m)+C,v=m+y.length)}return h+Ej(a,v)}]}),!!gP((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!wj||Sj);var Cj=SR("unscopables"),Dj=Array.prototype;null==Dj[Cj]&&LR.f(Dj,Cj,{configurable:!0,value:TL(null)});var Aj=function(e){Dj[Cj][e]=!0},xj=iL.find,Oj=!0;"find"in[]&&Array(1).find((function(){Oj=!1})),L_({target:"Array",proto:!0,forced:Oj},{find:function(e){return xj(this,e,arguments.length>1?arguments[1]:void 0)}}),Aj("find");var Tj=SR("match"),Nj=function(e){var t;return zP(e)&&(void 0!==(t=e[Tj])?!!t:"RegExp"==IP(e))},kj=vP.TypeError,Bj=SR("species"),Ij=function(e,t,n){var r=AR(t);r in e?LR.f(e,r,DP(0,n)):e[r]=n},Fj=vP.Array,Pj=Math.max,Rj=function(e,t,n){for(var r=g_(e),o=p_(t,r),i=p_(void 0===n?r:n,r),a=Fj(Pj(i-o,0)),u=0;o<i;o++,u++)Ij(a,u,e[o]);return a.length=u,a},_j=yL.UNSUPPORTED_Y,Lj=Math.min,jj=[].push,Mj=NP(/./.exec),zj=NP(jj),Hj=NP("".slice);JL("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=dL(LP(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Nj(e))return bP(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=bP(VL,f,r))&&!((a=f.lastIndex)>c&&(zj(s,Hj(r,c,i.index)),i.length>1&&i.index<r.length&&YL(jj,s,Rj(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&Mj(f,"")||zj(s,""):zj(s,Hj(r,c)),s.length>o?Rj(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:bP(t,this,e,n)}:t,[function(t,n){var o=LP(this),i=null==t?void 0:oR(t,e);return i?bP(i,t,o,n):bP(r,dL(o),t,n)},function(e,o){var i=PR(this),a=dL(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=PR(e).constructor;return void 0===r||null==(n=PR(r)[Bj])?t:function(e){if(Q_(e))return e;throw kj(tR(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_j?"g":"y"),f=new s(_j?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===pj(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=_j?0:h;var g,y=pj(f,_j?Hj(a,h):a);if(null===y||(g=Lj(v_(f.lastIndex+(_j?h:0)),a.length))===p)h=oj(a,h,l);else{if(zj(v,Hj(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(zj(v,y[m]),v.length===d)return v;h=p=g}}return zj(v,Hj(a,p)),v}]}),!!gP((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),_j);var Uj="\t\n\v\f\r                 \u2028\u2029\ufeff",$j=NP("".replace),Vj="["+Uj+"]",Gj=RegExp("^"+Vj+Vj+"*"),Wj=RegExp(Vj+Vj+"*$"),qj=function(e){return function(t){var n=dL(LP(t));return 1&e&&(n=$j(n,Gj,"")),2&e&&(n=$j(n,Wj,"")),n}},Kj={start:qj(1),end:qj(2),trim:qj(3)},Yj=a_.PROPER,Xj=Kj.trim;function Zj(e){return 0===Mp("<div>"+e+"</div>").children().filter((function(e){return"BR"!==e.tagName})).length}function Jj(e){return 0===e.length?"":e[0].outerHTML}function Qj(e){return e.length?e[0].tagName.toLowerCase():""}function eM(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");u[0].trim()===t&&(n=u[1].trim())}}return n}L_({target:"String",proto:!0,forced:("trim",gP((function(){return!!Uj.trim()||"​…᠎"!=="​…᠎".trim()||Yj&&"trim"!==Uj.trim.name})))},{trim:function(){return Xj(this)}}),L_({global:!0},{globalThis:vP}),eh&&(Mp.fn.css=eh),ah&&(Mp.fn.append=ah),uh&&(Mp.fn.prepend=uh),zp&&(Mp.fn.addClass=zp),Hp&&(Mp.fn.removeClass=Hp),Up&&(Mp.fn.hasClass=Up),qp&&(Mp.fn.on=qp),Kp&&(Mp.fn.off=Kp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Vp&&(Mp.fn.removeAttr=Vp),Jp&&(Mp.fn.hide=Jp),Qp&&(Mp.fn.show=Qp),lh&&(Mp.fn.parents=lh),Gp&&(Mp.fn.dataset=Gp),Wp&&(Mp.fn.val=Wp),oh&&(Mp.fn.text=oh),rh&&(Mp.fn.html=rh),fh&&(Mp.fn.children=fh),dh&&(Mp.fn.remove=dh),ch&&(Mp.fn.find=ch),Yp&&(Mp.fn.width=Yp),Xp&&(Mp.fn.height=Xp),nh&&(Mp.fn.filter=nh),ph&&(Mp.fn.empty=ph);var tM={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}},nM=function(e,t){return nM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},nM(e,t)};function rM(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}nM(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var oM=function(){return oM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oM.apply(this,arguments)};function iM(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function aM(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function uM(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function sM(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function lM(e){var t=sM(Nf.nodes(e,{match:function(t){return e.children[0]===t},mode:"highest"}),1)[0];if(null==t)return!1;var n=t[0];if(!Cf.isElement(n))return!1;if("paragraph"===n.type)return!1;if(""!==Rf.string(n))return!1;var r=n.children,o=void 0===r?[]:r;return!!ed.isText(o[0])&&(md.setNodes(e,{type:"paragraph"}),!0)}"function"==typeof SuppressedError&&SuppressedError;var cM={renderElems:[lP],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[tM],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(e){lM(r)||t(e)},r.deleteForward=function(e){lM(r)||n(e)},r}},fM=/"/g,dM=NP("".replace),pM=function(e,t,n,r){var o=dL(LP(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+dM(dL(r),fM,"&quot;")+'"'),i+">"+o+"</"+t+">"},hM=function(e){return gP((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))};function vM(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function gM(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0)}L_({target:"String",proto:!0,forced:hM("bold")},{bold:function(){return pM(this,"b","","")}}),L_({target:"String",proto:!0,forced:hM("italics")},{italics:function(){return pM(this,"i","","")}}),L_({target:"String",proto:!0,forced:hM("sub")},{sub:function(){return pM(this,"sub","","")}}),L_({target:"String",proto:!0,forced:hM("sup")},{sup:function(){return pM(this,"sup","","")}});var yM={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},mM=TR("span").classList,bM=mM&&mM.constructor&&mM.constructor.prototype,EM=bM===Object.prototype?void 0:bM,wM=function(e,t){var n=[][e];return!!n&&gP((function(){n.call(null,t||function(){throw 1},1)}))},SM=iL.forEach,CM=wM("forEach")?[].forEach:function(e){return SM(this,e,arguments.length>1?arguments[1]:void 0)},DM=function(e){if(e&&e.forEach!==CM)try{jR(e,"forEach",CM)}catch(t){e.forEach=CM}};for(var AM in yM)yM[AM]&&DM(vP[AM]&&vP[AM].prototype);function xM(e,t){return null==e.selection||!!sM(Nf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0]}function OM(e,t){Object.keys(t).forEach((function(t){"text"!==t&&Nf.removeMark(e,t)}))}DM(EM),L_({target:"Object",stat:!0,forced:gP((function(){mL(1)}))},{keys:function(e){return mL(fR(e))}});var TM=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(e){var t=this.mark,n=Nf.marks(e);return n?n[t]:!!sM(Nf.nodes(e,{match:function(e){return!0===e[t]}}),1)[0]},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return xM(e,this.mark)},e.prototype.exec=function(e,t){var n=this.mark,r=this.marksNeedToRemove;t?e.removeMark(n):(e.addMark(n,!0),r&&r.forEach((function(t){return e.removeMark(t)})))},e}(),NM='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',kM='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',BM='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',IM='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',FM='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',PM='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',RM='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',_M='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',LM='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',jM='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',MM='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',zM='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',HM='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',UM='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',$M='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',VM='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',GM='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',WM='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',qM='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',KM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="bold",t.title=UF("textStyle.bold"),t.iconSvg=NM,t.hotkey="mod+b",t}return rM(t,e),t}(TM),YM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="code",t.title=UF("textStyle.code"),t.iconSvg=FM,t.hotkey="mod+e",t}return rM(t,e),t}(TM),XM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="italic",t.title=UF("textStyle.italic"),t.iconSvg=BM,t.hotkey="mod+i",t}return rM(t,e),t}(TM),ZM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="through",t.title=UF("textStyle.through"),t.iconSvg=IM,t.hotkey="mod+shift+x",t}return rM(t,e),t}(TM),JM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="underline",t.title=UF("textStyle.underline"),t.iconSvg=kM,t.hotkey="mod+u",t}return rM(t,e),t}(TM),QM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sub",t.marksNeedToRemove=["sup"],t.title=UF("textStyle.sub"),t.iconSvg=qM,t.hotkey="",t}return rM(t,e),t}(TM),ez=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sup",t.marksNeedToRemove=["sub"],t.title=UF("textStyle.sup"),t.iconSvg=WM,t.hotkey="",t}return rM(t,e),t}(TM),tz=function(){function e(){this.title=UF("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return xM(e)},e.prototype.exec=function(e,t){var n,r,o=Nf.nodes(e,{match:function(e){return ed.isText(e)},universal:!0});try{for(var i=uM(o),a=i.next();!a.done;a=i.next())OM(e,a.value[0])}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e}(),nz={renderStyle:function(e,t){var n=e,r=n.bold,o=n.italic,i=n.underline,a=n.code,u=n.through,s=n.sub,l=n.sup,c=t;return r&&(c=Fv("strong",null,c)),a&&(c=Fv("code",null,c)),o&&(c=Fv("em",null,c)),i&&(c=Fv("u",null,c)),u&&(c=Fv("s",null,c)),s&&(c=Fv("sub",null,c)),l&&(c=Fv("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new KM}},{key:"underline",factory:function(){return new JM}},{key:"italic",factory:function(){return new XM}},{key:"through",factory:function(){return new ZM}},{key:"code",factory:function(){return new YM}},{key:"sub",factory:function(){return new QM}},{key:"sup",factory:function(){return new ez}},{key:"clearStyle",factory:function(){return new tz}}],styleToHtml:function(e,t){if(!ed.isText(e))return t;if(Zj(t))return vM(e,t);var n=Mp(t);if("br"===Qj(n))return vM(e,"<br>");var r=n.html();return r=vM(e,r),n.html(r),Jj(n)},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t;return gM(r,"b,strong")&&(o.bold=!0),gM(r,"i,em")&&(o.italic=!0),gM(r,"u")&&(o.underline=!0),gM(r,"s,strike")&&(o.through=!0),gM(r,"sub")&&(o.sub=!0),gM(r,"sup")&&(o.sup=!0),gM(r,"code")&&(o.code=!0),o}};function rz(e){return function(t,n,r){return Fv("h"+e,null,n)}}var oz={type:"header1",renderElem:rz(1)},iz={type:"header2",renderElem:rz(2)},az={type:"header3",renderElem:rz(3)},uz={type:"header4",renderElem:rz(4)},sz={type:"header5",renderElem:rz(5)},lz=a_.PROPER,cz=RegExp.prototype,fz=cz.toString,dz=NP(pL),pz=gP((function(){return"/a/b"!=fz.call({source:"a",flags:"b"})})),hz=lz&&"toString"!=fz.name;(pz||hz)&&u_(RegExp.prototype,"toString",(function(){var e=PR(this),t=dL(e.source),n=e.flags;return"/"+t+"/"+dL(void 0===n&&$P(cz,e)&&!("flags"in cz)?dz(e):n)}),{unsafe:!0});var vz,gz=vP.TypeError,yz=function(e){if(Nj(e))throw gz("The method doesn't accept regular expressions");return e},mz=SR("match"),bz=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[mz]=!1,"/./"[e](t)}catch(e){}}return!1},Ez=BR.f,wz=NP("".startsWith),Sz=NP("".slice),Cz=Math.min,Dz=bz("startsWith");function Az(e){var t=sM(Nf.nodes(e,{match:function(e){return QO.getNodeType(e).startsWith("header")},universal:!0}),1),n=t[0];if(null==n)return"paragraph";var r=sM(n,1)[0];return QO.getNodeType(r)}function xz(e){return null==e.selection||!sM(Nf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function Oz(e,t){t&&md.setNodes(e,{type:t})}L_({target:"String",proto:!0,forced:!(!Dz&&(vz=Ez(String.prototype,"startsWith"),vz&&!vz.writable)||Dz)},{startsWith:function(e){var t=dL(LP(this));yz(e);var n=v_(Cz(arguments.length>1?arguments[1]:void 0,t.length)),r=dL(e);return wz?wz(t,r,n):Sz(t,n,n+r.length)===r}});var Tz=function(){function e(){this.title=UF("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(e){var t=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:UF("header.text")}],n=this.getValue(e).toString();return t.forEach((function(e){e.value===n?e.selected=!0:delete e.selected})),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){return Az(e)},e.prototype.isDisabled=function(e){return xz(e)},e.prototype.exec=function(e,t){Oz(e,t.toString())},e}(),Nz=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return Az(e)},e.prototype.isActive=function(e){return this.getValue(e)===this.type},e.prototype.isDisabled=function(e){return xz(e)},e.prototype.exec=function(e,t){var n=this.type;Oz(e,t===n?"paragraph":n)},e}(),kz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H1",t.type="header1",t}return rM(t,e),t}(Nz),Bz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H2",t.type="header2",t}return rM(t,e),t}(Nz),Iz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H3",t.type="header3",t}return rM(t,e),t}(Nz),Fz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H4",t.type="header4",t}return rM(t,e),t}(Nz),Pz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H5",t.type="header5",t}return rM(t,e),t}(Nz),Rz={key:"headerSelect",factory:function(){return new Tz}},_z={key:"header1",factory:function(){return new kz}},Lz={key:"header2",factory:function(){return new Bz}},jz={key:"header3",factory:function(){return new Iz}},Mz={key:"header4",factory:function(){return new Fz}},zz={key:"header5",factory:function(){return new Pz}};function Hz(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function Uz(e){return function(t,n,r){var o=Mp(t);return 0===(n=n.filter((function(e){return!!ed.isText(e)||!!r.isInline(e)}))).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var $z={renderElems:[oz,iz,az,uz,sz],elemsToHtml:[{type:"header1",elemToHtml:Hz(1)},{type:"header2",elemToHtml:Hz(2)},{type:"header3",elemToHtml:Hz(3)},{type:"header4",elemToHtml:Hz(4)},{type:"header5",elemToHtml:Hz(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:Uz(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:Uz(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:Uz(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:Uz(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:Uz(5)}],menus:[Rz,_z,Lz,jz,Mz,zz],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=sM(Nf.nodes(n,{match:function(e){return QO.getNodeType(e).startsWith("header")},universal:!0}),1)[0];r&&QO.isSelectionAtLineEnd(e,r[1])?md.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},Vz=Object.assign,Gz=Object.defineProperty,Wz=NP([].concat),qz=!Vz||gP((function(){if(yP&&1!==Vz({b:1},Vz(Gz({},"a",{enumerable:!0,get:function(){Gz(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=Vz({},e)[n]||mL(Vz({},t)).join("")!=r}))?function(e,t){for(var n=fR(e),r=arguments.length,o=1,i=A_.f,a=CP.f;r>o;)for(var u,s=RP(arguments[o++]),l=i?Wz(mL(s),i(s)):mL(s),c=l.length,f=0;c>f;)u=l[f++],yP&&!bP(a,s,u)||(n[u]=s[u]);return n}:Vz;function Kz(e,t){null==e.data&&(e.data={});var n=e.data;null==n.style&&(n.style={}),Object.assign(n.style,t)}L_({target:"Object",stat:!0,forced:Object.assign!==qz},{assign:qz});var Yz={selector:"font",preParseHtml:function(e){var t=Mp(e);if("font"!==Qj(t))return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},Xz=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){var t=this.mark,n=Nf.marks(e);return n&&n[t]?n[t]:""},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return null==e.selection||!!sM(Nf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){var t=this.mark;if(null==this.$content){var n=Mp('<ul class="w-e-panel-content-color"></ul>');n.on("click","li",(function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=e.selection)){var o=Mp(r).attr("data-value");"0"===o?Nf.removeMark(e,t):Nf.addMark(e,t,o)}})),this.$content=n}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var o=this.getValue(e),i=e.getMenuConfig(t).colors;(void 0===i?[]:i).forEach((function(e){var t=Mp('<div class="color-block" data-value="'+e+'"></div>');t.css("background-color",e);var n=Mp('<li data-value="'+e+'"></li>');o===e&&n.addClass("active"),n.append(t),r.append(n)}));var a="";"color"===t&&(a=UF("color.default")),"bgColor"===t&&(a=UF("color.clear"));var u=Mp('\n <li data-value="0" class="clear">\n <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>\n '+a+"\n </li>\n ");return r.prepend(u),r[0]},e}(),Zz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("color.color"),t.iconSvg=_M,t.mark="color",t}return rM(t,e),t}(Xz),Jz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("color.bgColor"),t.iconSvg=LM,t.mark="bgColor",t}return rM(t,e),t}(Xz),Qz=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],eH={renderStyle:function(e,t){var n=e,r=n.color,o=n.bgColor,i=t;return r&&Kz(i,{color:r}),o&&Kz(i,{backgroundColor:o}),i},styleToHtml:function(e,t){if(!ed.isText(e))return t;var n,r=e,o=r.color,i=r.bgColor;return o||i?((Zj(t)||"span"!==Qj(n=Mp(t)))&&(n=Mp("<span>"+t+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),Jj(n)):t},preParseHtml:[Yz],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t,i=eM(r,"color");i&&(o.color=i);var a=eM(r,"background-color");return a||(a=eM(r,"background")),a&&(o.bgColor=a),o},menus:[{key:"color",factory:function(){return new Zz},config:{colors:Qz}},{key:"bgColor",factory:function(){return new Jz},config:{colors:Qz}}]},tH=/^(?:\w+:)?\/\/(\S+)$/,nH=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,rH=/^[^\s\.]+\.\S{2,}$/,oH=m_.includes;L_({target:"Array",proto:!0},{includes:function(e){return oH(this,e,arguments.length>1?arguments[1]:void 0)}}),Aj("includes");var iH=NP([].slice),aH=uL("slice"),uH=SR("species"),sH=vP.Array,lH=Math.max;function cH(e){return void 0===e&&(e="r"),e+"-"+jh()}function fH(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function dH(e,t,n,r){return iM(this,void 0,void 0,(function(){var o,i;return aM(this,(function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if("string"==typeof(i=a.sent()))return t.alert(i,"error"),[2,!1];if(null==i)return[2,!1];a.label=2;case 2:return[2,!0]}}))}))}function pH(e,t,n){return iM(this,void 0,void 0,(function(){var r;return aM(this,(function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}}))}))}function hH(e){return null==e.selection||!!QO.getSelectedElems(e).some((function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0}))}function vH(e,t){return{type:"link",url:fH(e),children:t?[{text:t}]:[]}}function gH(e,t,n){return iM(this,void 0,void 0,(function(){var r,o,i,a,u;return aM(this,(function(s){switch(s.label){case 0:return n?(t||(t=n),e.restoreSelection(),hH(e)?[2]:[4,dH("insertLink",e,t,n)]):[2];case 1:return s.sent()?[4,pH("insertLink",e,n)]:[2];case 2:if(r=s.sent(),null==(o=e.selection))return[2];if(qf.isCollapsed(o)){if((a=QO.getLeftLengthOfMaxLength(e))<=0)return[2];e.insertText(" "),a<t.length+1&&(t=t.slice(0,a-1)),u=vH(r,t),md.insertNodes(e,u),e.insertFragment([{text:" "}])}else if((i=Nf.string(e,o))!==t){if((a=QO.getLeftLengthOfMaxLength(e))<=0)return[2];a<i.length-t.length&&(t=t.slice(0,a)),e.deleteFragment(),u=vH(r,t),md.insertNodes(e,u)}else u=vH(r),md.wrapNodes(e,u,{split:!0}),md.collapse(e,{edge:"end"});return[2]}}))}))}L_({target:"Array",proto:!0,forced:!aH},{slice:function(e,t){var n,r,o,i=jP(this),a=g_(i),u=p_(e,a),s=p_(void 0===t?a:t,a);if(M_(i)&&(n=i.constructor,(Q_(n)&&(n===sH||M_(n.prototype))||zP(n)&&null===(n=n[uH]))&&(n=void 0),n===sH||void 0===n))return iH(i,u,s);for(r=new(void 0===n?sH:n)(lH(s-u,0)),o=0;u<s;u++,o++)u in i&&Ij(r,o,i[u]);return r.length=o,r}});var yH={type:"link",renderElem:function(e,t,n){var r=e,o=r.url,i=r.target;return Fv("a",{href:o,target:void 0===i?"_blank":i},t)}},mH={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}};function bH(){return cH("w-e-insert-link")}var EH=function(){function e(){this.title=UF("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=bH(),this.urlInputId=bH(),this.buttonId=bH()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return hH(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=e.selection,n=this,r=n.textInputId,o=n.urlInputId,i=n.buttonId,a=sM(CI(UF("link.text"),r),2),u=a[0],s=Mp(a[1]),l=sM(CI(UF("link.url"),o),2),c=l[0],f=Mp(l[1]),d=sM(AI(i,UF("common.ok")),1)[0];if(null==this.$content){var p=Mp("<div></div>");p.on("click","#"+i,(function(t){t.preventDefault();var n=p.find("#"+r).val(),i=p.find("#"+o).val();gH(e,n,i),e.hidePanelOrModal()})),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(d),null==t||qf.isCollapsed(t))s.val("");else{var v=Nf.string(e,t);s.val(v)}return f.val(""),setTimeout((function(){s.focus()})),h[0]},e}();function wH(){return cH("w-e-update-link")}var SH=function(){function e(){this.title=UF("link.edit"),this.iconSvg=PM,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=wH(),this.buttonId=wH()}return e.prototype.getSelectedLinkElem=function(e){var t=QO.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.getModalPositionNode=function(e){return QO.getSelectedNodeByType(e,"link")},e.prototype.getModalContentElem=function(e){var t=this.urlInputId,n=this.buttonId,r=sM(CI(UF("link.url"),t),2),o=r[0],i=Mp(r[1]),a=sM(AI(n,UF("common.ok")),1)[0];if(null==this.$content){var u=Mp("<div></div>");u.on("click","button",(function(n){n.preventDefault(),e.restoreSelection();var r=QO.getSelectedNodeByType(e,"link"),o=r?Rf.string(r):"",i=u.find("#"+t).val();!function(e,t,n){iM(this,void 0,void 0,(function(){var r,o;return aM(this,(function(i){switch(i.label){case 0:return n?[4,dH("editLink",e,t,n)]:[2];case 1:return i.sent()?[4,pH("editLink",e,n)]:[2];case 2:return r=i.sent(),o={url:fH(r)},md.setNodes(e,o,{match:function(e){return QO.checkNodeType(e,"link")}}),[2]}}))}))}(e,o,i),e.hidePanelOrModal()})),this.$content=u}var s=this.$content;s.empty(),s.append(o),s.append(a);var l=this.getValue(e);return i.val(l),setTimeout((function(){i.focus()})),s[0]},e}(),CH=function(){function e(){this.title=UF("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==QO.getSelectedNodeByType(e,"link")},e.prototype.exec=function(e,t){this.isDisabled(e)||md.unwrapNodes(e,{match:function(e){return QO.checkNodeType(e,"link")}})},e}(),DH=function(){function e(){this.title=UF("link.view"),this.iconSvg=RM,this.tag="button"}return e.prototype.getSelectedLinkElem=function(e){var t=QO.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw new Error("View link failed, link url is '"+t+"'");window.open(t,"_blank")}},e}(),AH={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},xH={renderElems:[yH],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e,r=n.url,o=n.target;return'<a href="'+r+'" target="'+(void 0===o?"_blank":o)+'">'+t+"</a>"}}],parseElemsHtml:[mH],menus:[{key:"insertLink",factory:function(){return new EH},config:AH},{key:"editLink",factory:function(){return new SH},config:AH},{key:"unLink",factory:function(){return new CH}},{key:"viewLink",factory:function(){return new DH}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var o=e;return o.isInline=function(e){return"link"===e.type||t(e)},o.insertData=function(e){var t=e.getData("text/plain");if(function(e){if("string"!=typeof e)return!1;var t=e.match(tH);if(!t)return!1;var n=t[1];return!(!n||!nH.test(n)&&!rH.test(n))}(t)){if(!hH(o)){var r=o.selection;if(null!=r){var i=Nf.string(o,r);gH(o,i,t)}}}else n(e)},o.normalizeNode=function(e){var t=sM(e,2),n=t[0],i=t[1];return"link"!==QO.getNodeType(n)?r([n,i]):""===Rf.string(n)?md.removeNodes(o,{at:i}):r([n,i])},o}},OH=NP(1..valueOf),TH=vP.RangeError,NH=vP.RangeError,kH=vP.String,BH=Math.floor,IH=NP((function(e){var t=dL(LP(this)),n="",r=c_(e);if(r<0||r==1/0)throw TH("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),FH=NP("".slice),PH=NP(1..toFixed),RH=function(e,t,n){return 0===t?n:t%2==1?RH(e,t-1,n*e):RH(e*e,t/2,n)},_H=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=BH(o/1e7)},LH=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=BH(r/t),r=r%t*1e7},jH=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=kH(e[t]);n=""===n?r:n+IH("0",7-r.length)+r}return n};function MH(e,t){return"w-e-image-container-"+QO.findKey(e,t).id}L_({target:"Number",proto:!0,forced:gP((function(){return"0.000"!==PH(8e-5,3)||"1"!==PH(.9,0)||"1.25"!==PH(1.255,2)||"1000000000000000128"!==PH(0xde0b6b3a7640080,0)}))||!gP((function(){PH({})}))},{toFixed:function(e){var t,n,r,o,i=OH(this),a=c_(e),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw NH("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return kH(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*RH(2,69,1))-69)<0?i*RH(2,-t,1):i/RH(2,t,1),n*=4503599627370496,(t=52-t)>0){for(_H(u,0,n),r=a;r>=7;)_H(u,1e7,0),r-=7;for(_H(u,RH(10,r,1),0),r=t-1;r>=23;)LH(u,1<<23),r-=23;LH(u,1<<r),_H(u,1,1),LH(u,2),l=jH(u)}else _H(u,0,n),_H(u,1<<-t,0),l=jH(u)+IH("0",a);return a>0?s+((o=l.length)<=a?"0."+IH("0",a-o)+l:FH(l,0,o-a)+"."+FH(l,o-a)):s+l}});var zH={type:"image",renderElem:function(e,t,n){var r=e,o=r.src,i=r.alt,a=void 0===i?"":i,u=r.href,s=void 0===u?"":u,l=r.style,c=void 0===l?{}:l,f=c.width,d=void 0===f?"":f,p=c.height,h=void 0===p?"":p,v=QO.isNodeSelected(n,e),g={maxWidth:"100%"};d&&(g.width="100%"),h&&(g.height="100%");var y=Fv("img",{style:g,src:o,alt:a,"data-href":s}),m=n.isDisabled();return v&&!m?function(e,t,n,r){var o=Mp("body"),i=MH(e,t),a=r.width;r.height;var u=0,s=0,l=0,c=0,f=!1,d=null;function p(t,n){d=function(){var e=Mp("#"+i);if(0===e.length)throw new Error("Cannot find image container elem");return e}(),u=t,c=n;var r=d.find("img");if(0===r.length)throw new Error("Cannot find image elem");s=r.width(),l=r.height(),o.on("mousemove",h),o.on("mouseup",v);var a=QO.getHoverbar(e);a&&a.hideAndClean()}var h=ev((function(e){e.preventDefault();var t=e.clientX,n=s+(f?u-t:t-u);n>c-6||null!=d&&(n<=15||l*(n/s)<=15||d.css("width",n+"px"))}),100);function v(n){if(o.off("mousemove",h),null!=d){var r=d.width().toFixed(2),i={style:oM(oM({},t.style),{width:r+"px"})};md.setNodes(e,i,{at:QO.findPath(e,t)}),o.off("mouseup",v)}}var g={};return a&&(g.width=a),Fv("div",{id:i,style:g,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(n){var r=Mp(n.target);if(r.hasClass("w-e-image-dragger")){n.preventDefault(),(r.hasClass("left-top")||r.hasClass("left-bottom"))&&(f=!0);var o=QO.getParentNode(e,t);if(null!=o){var i=QO.toDOMNode(e,o),a=i.getBoundingClientRect(),u=window.getComputedStyle(i),s=parseFloat(u.paddingLeft),l=parseFloat(u.paddingRight),c=parseFloat(u.borderLeftWidth),d=parseFloat(u.borderRightWidth);p(n.clientX,a.width-s-l-c-d)}}}}},n,Fv("div",{className:"w-e-image-dragger left-top"}),Fv("div",{className:"w-e-image-dragger right-top"}),Fv("div",{className:"w-e-image-dragger left-bottom"}),Fv("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,y,{width:d,height:h}):function(e,t,n,r){var o=r.width,i={};return o&&(i.width=o),Fv("div",{id:MH(e,t),style:i,className:"w-e-image-container"},n)}(n,e,y,{width:d,height:h})}},HH={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:eM(r,"width"),height:eM(r,"height")},width:r.attr("width")||"",height:r.attr("height")||"",children:[{text:""}]}}};function UH(e,t,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),iM(this,void 0,void 0,(function(){var i,a;return aM(this,(function(u){switch(u.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if("string"==typeof(a=u.sent()))return t.alert(a,"error"),[2,!1];if(null==a)return[2,!1];u.label=2;case 2:return[2,!0]}}))}))}function $H(e,t,n){return iM(this,void 0,void 0,(function(){var r;return aM(this,(function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}}))}))}function VH(e,t,n,r){return void 0===n&&(n=""),void 0===r&&(r=""),iM(this,void 0,void 0,(function(){var o,i,a;return aM(this,(function(u){switch(u.label){case 0:return[4,UH("insertImage",e,t,n,r)];case 1:return u.sent()?[4,$H("insertImage",e,t)]:[2];case 2:return o=u.sent(),i={type:"image",src:fH(o),href:r,alt:n,style:{},children:[{text:""}]},null===e.selection&&e.restoreSelection(),QO.getSelectedNodeByType(e,"image")&&e.move(1),GH(e)||(md.insertNodes(e,i),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(i)),[2]}}))}))}function GH(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!sM(Nf.nodes(e,{match:function(t){var n=QO.getNodeType(t);return"code"===n||"pre"===n||"link"===n||"list-item"===n||!!n.startsWith("header")||"blockquote"===n||!!Nf.isVoid(e,t)},universal:!0}),1)[0]}function WH(){return cH("w-e-insert-image")}var qH=function(){function e(){this.title=UF("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=WH(),this.altInputId=WH(),this.hrefInputId=WH(),this.buttonId=WH()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return GH(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,a=n.buttonId,u=sM(CI(UF("image.src"),r),2),s=u[0],l=Mp(u[1]),c=sM(CI(UF("image.desc"),o),2),f=c[0],d=Mp(c[1]),p=sM(CI(UF("image.link"),i),2),h=p[0],v=Mp(p[1]),g=sM(AI(a,UF("common.ok")),1)[0];if(null==this.$content){var y=Mp("<div></div>");y.on("click","#"+a,(function(n){n.preventDefault();var a=y.find("#"+r).val().trim(),u=y.find("#"+o).val().trim(),s=y.find("#"+i).val().trim();t.insertImage(e,a,u,s),e.hidePanelOrModal()})),this.$content=y}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(h),m.append(g),l.val(""),d.val(""),v.val(""),setTimeout((function(){l.focus()})),m[0]},e.prototype.insertImage=function(e,t,n,r){void 0===n&&(n=""),void 0===r&&(r=""),t&&(e.restoreSelection(),this.isDisabled(e)||VH(e,t,n,r))},e}(),KH=function(){function e(){this.title=UF("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==QO.getSelectedNodeByType(e,"image")},e.prototype.exec=function(e,t){this.isDisabled(e)||md.removeNodes(e,{match:function(e){return QO.checkNodeType(e,"image")}})},e}();function YH(){return cH("w-e-edit-image")}var XH=function(){function e(){this.title=UF("image.edit"),this.iconSvg=PM,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=YH(),this.altInputId=YH(),this.hrefInputId=YH(),this.buttonId=YH()}return e.prototype.getValue=function(e){return""},e.prototype.getImageNode=function(e){return QO.getSelectedNodeByType(e,"image")},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"image")},e.prototype.getModalPositionNode=function(e){return this.getImageNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,a=n.buttonId,u=this.getImageNode(e);if(null==u)throw new Error("Not found selected image node");var s=sM(CI(UF("image.src"),r),2),l=s[0],c=Mp(s[1]),f=sM(CI(UF("image.desc"),o),2),d=f[0],p=Mp(f[1]),h=sM(CI(UF("image.link"),i),2),v=h[0],g=Mp(h[1]),y=sM(AI(a,UF("common.ok")),1)[0];if(null==this.$content){var m=Mp("<div></div>");m.on("click","#"+a,(function(n){n.preventDefault();var a=m.find("#"+r).val(),u=m.find("#"+o).val(),s=m.find("#"+i).val();t.updateImage(e,a,u,s),e.hidePanelOrModal()})),this.$content=m}var b=this.$content;b.empty(),b.append(l),b.append(d),b.append(v),b.append(y);var E=u,w=E.src,S=E.alt,C=void 0===S?"":S,D=E.href,A=void 0===D?"":D;return c.val(w),p.val(C),g.val(A),setTimeout((function(){c.focus()})),b[0]},e.prototype.updateImage=function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),t&&(e.restoreSelection(),this.isDisabled(e)||function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),iM(this,void 0,void 0,(function(){var i,a,u,s,l,c;return aM(this,(function(f){switch(f.label){case 0:return[4,UH("editImage",e,t,n,r)];case 1:return f.sent()?[4,$H("editImage",e,t)]:[2];case 2:return i=f.sent(),null==(a=QO.getSelectedNodeByType(e,"image"))||(u=a.style,s={src:i,alt:n,href:r,style:oM(oM({},void 0===u?{}:u),o)},md.setNodes(e,s,{match:function(e){return QO.checkNodeType(e,"image")}}),l=QO.getSelectedNodeByType(e,"image"),(c=e.getMenuConfig("editImage").onUpdatedImage)&&c(l)),[2]}}))}))}(e,t,n,r,o))},e}(),ZH=function(){function e(){this.title=UF("image.viewLink"),this.iconSvg=RM,this.tag="button"}return e.prototype.getValue=function(e){var t=QO.getSelectedNodeByType(e,"image");return t&&t.href||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!this.getValue(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw new Error("View image link failed, image.href is '"+t+"'");window.open(t,"_blank")}},e}(),JH=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getSelectedNode=function(e){return QO.getSelectedNodeByType(e,"image")},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedNode(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.getSelectedNode(e);if(null!=n){var r=QO.getHoverbar(e);r&&r.hideAndClean();var o=n.style,i={style:oM(oM({},void 0===o?{}:o),{width:this.value,height:""})};md.setNodes(e,i,{match:function(e){return QO.checkNodeType(e,"image")}})}}},e}(),QH=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="30%",t.value="30%",t}return rM(t,e),t}(JH),eU=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="50%",t.value="50%",t}return rM(t,e),t}(JH),tU=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="100%",t.value="100%",t}return rM(t,e),t}(JH);function nU(){return cH("w-e-insert-image")}var rU=function(){function e(){this.title=UF("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=nU(),this.heightInputId=nU(),this.buttonId=nU()}return e.prototype.getSelectedImageNode=function(e){return QO.getSelectedNodeByType(e,"image")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedImageNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedImageNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=t.widthInputId,r=t.heightInputId,o=t.buttonId,i=sM(CI(UF("image.width"),n,"auto"),2),a=i[0],u=Mp(i[1]),s=sM(CI(UF("image.height"),r,"auto"),2),l=s[0],c=Mp(s[1]),f=sM(AI(o,UF("image.ok")),1)[0];if(null==this.$content){var d=Mp("<div></div>");d.on("click","#"+o,(function(t){t.preventDefault();var o=d.find("#"+n).val().trim(),i=d.find("#"+r).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},u=function(e){return/^\d+(\.\d+)?$/.test(e)},s="auto",l="auto";a(o)?s=o:u(o)&&(s=parseInt(o)+"px"),a(i)?l=i:u(i)&&(l=parseInt(i)+"px");var c=h.style,f=void 0===c?{}:c;e.restoreSelection();var p=oM(oM({},f),{style:{width:s,height:l}});md.setNodes(e,p,{match:function(e){return QO.checkNodeType(e,"image")}}),e.hidePanelOrModal()})),this.$content=d}var p=this.$content;p.empty(),p.append(a),p.append(l),p.append(f);var h=this.getSelectedImageNode(e);if(null==h)return p[0];var v=h.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"auto":y,b=g.height,E=void 0===b?"auto":b;return u.val(m),c.val(E),setTimeout((function(){u.focus()})),p[0]},e}(),oU={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},iU={renderElems:[zH],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e,r=n.src,o=n.alt,i=void 0===o?"":o,a=n.href,u=void 0===a?"":a,s=n.width,l=void 0===s?"":s,c=n.height,f=void 0===c?"":c,d=n.style,p=void 0===d?{}:d,h=p.width,v=void 0===h?"":h,g=p.height,y=void 0===g?"":g,m="";return v&&(m+="width: "+v+";"),y&&(m+="height: "+y+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+u+'" width="'+l+'" height="'+f+'" style="'+m+'"/>'}}],parseElemsHtml:[HH],menus:[{key:"insertImage",factory:function(){return new qH},config:oU},{key:"deleteImage",factory:function(){return new KH}},{key:"editImage",factory:function(){return new XH},config:oU},{key:"viewImageLink",factory:function(){return new ZH}},{key:"imageWidth30",factory:function(){return new QH}},{key:"imageWidth50",factory:function(){return new eU}},{key:"imageWidth100",factory:function(){return new tU}},{key:"editorImageSizeMenu",factory:function(){return new rU}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(e){return"image"===e.type||t(e)},r.isVoid=function(e){return"image"===e.type||n(e)},r}},aU={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var o=Fv("div",{style:{margin:"5px 0"}},Fv("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Fv("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(t){var r=QO.findPath(n,e),o={checked:t.target.checked};md.setNodes(n,o,{at:r})}}})),Fv("span",null,t));return o}},uU=function(){function e(){this.title=UF("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!QO.getSelectedNodeByType(e,"todo")},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some((function(t){if(Nf.isVoid(e,t)&&Nf.isBlock(e,t))return!0;var n=t.type;return!!["pre","table","list-item"].includes(n)||void 0}))},e.prototype.exec=function(e,t){var n=this.isActive(e);md.setNodes(e,{type:n?"paragraph":"todo"})},e}(),sU={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return null!=r.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:t}}},lU={renderElems:[aU],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=Mp(e).find("li"),n=Mp('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[sU],menus:[{key:"todo",factory:function(){return new uU}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(n){var r=e.selection;if(r&&qf.isCollapsed(r)){var o=QO.getSelectedNodeByType(e,"todo");if(o&&0===Rf.string(o).length)return void md.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(n)},n}},cU={type:"blockquote",renderElem:function(e,t,n){return Fv("blockquote",null,t)}},fU={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},dU=function(){function e(){this.title=UF("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!QO.getSelectedNodeByType(e,"blockquote")},e.prototype.isDisabled=function(e){return null==e.selection||!sM(Nf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||"blockquote"===t},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.isActive(e)?"paragraph":"blockquote";md.setNodes(e,{type:n},{mode:"highest"})}},e}();function pU(e){e.deleteBackward("character"),md.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}var hU={renderElems:[cU],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[fU],menus:[{key:"blockquote",factory:function(){return new dU}}],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var o=r.selection;if(null==o)return t();var i=sM(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"blockquote")},universal:!0}),1)[0];if(!i)return t();var a=i[0];if(QO.getParentNode(e,a)){var u=QO.findPath(e,a),s=Nf.end(e,u);if($f.equals(s,o.focus)){var l=Rf.string(a);if(l&&"\n"===l.slice(-1))return void pU(r)}n("\n")}else pU(r)},r}},vU=function(){function e(){this.title=UF("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!sM(Nf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){if(null==this.$content){var t=Mp('<ul class="w-e-panel-content-emotion"></ul>');t.on("click","li",(function(t){var n=t.target;if(null!=n){t.preventDefault();var r=Mp(n).text();e.insertText(r)}})),this.$content=t}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=e.getMenuConfig("emotion").emotions;return(void 0===r?[]:r).forEach((function(e){var t=Mp("<li>"+e+"</li>");n.append(t)})),n[0]},e}(),gU={menus:[{key:"emotion",factory:function(){return new vU},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},yU={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},mU={selector:"font",preParseHtml:function(e){var t=Mp(e);if("font"!==Qj(t))return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",yU[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},bU=NP("".indexOf);L_({target:"String",proto:!0,forced:!bz("includes")},{includes:function(e){return!!~bU(dL(LP(this)),dL(yz(e)),arguments.length>1?arguments[1]:void 0)}});var EU,wU,SU=function(e){return e&&e.Math==Math&&e},CU=SU("object"==typeof globalThis&&globalThis)||SU("object"==typeof window&&window)||SU("object"==typeof self&&self)||SU("object"==typeof cP&&cP)||function(){return this}()||Function("return this")(),DU=Function.prototype,AU=DU.apply,xU=DU.bind,OU=DU.call,TU="object"==typeof Reflect&&Reflect.apply||(xU?OU.bind(AU):function(){return OU.apply(AU,arguments)}),NU=Function.prototype,kU=NU.bind,BU=NU.call,IU=kU&&kU.bind(BU),FU=kU?function(e){return e&&IU(BU,e)}:function(e){return e&&function(){return BU.apply(e,arguments)}},PU=function(e){return"function"==typeof e},RU=function(e){try{return!!e()}catch(e){return!0}},_U=!RU((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),LU=Function.prototype.call,jU=LU.bind?LU.bind(LU):function(){return LU.apply(LU,arguments)},MU={}.propertyIsEnumerable,zU=Object.getOwnPropertyDescriptor,HU=zU&&!MU.call({1:2},1)?function(e){var t=zU(this,e);return!!t&&t.enumerable}:MU,UU={f:HU},$U=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},VU=FU({}.toString),GU=FU("".slice),WU=function(e){return GU(VU(e),8,-1)},qU=CU.Object,KU=FU("".split),YU=RU((function(){return!qU("z").propertyIsEnumerable(0)}))?function(e){return"String"==WU(e)?KU(e,""):qU(e)}:qU,XU=CU.TypeError,ZU=function(e){if(null==e)throw XU("Can't call method on "+e);return e},JU=function(e){return YU(ZU(e))},QU=function(e){return"object"==typeof e?null!==e:PU(e)},e$={},t$=function(e){return PU(e)?e:void 0},n$=function(e,t){return arguments.length<2?t$(e$[e])||t$(CU[e]):e$[e]&&e$[e][t]||CU[e]&&CU[e][t]},r$=FU({}.isPrototypeOf),o$=n$("navigator","userAgent")||"",i$=CU.process,a$=CU.Deno,u$=i$&&i$.versions||a$&&a$.version,s$=u$&&u$.v8;s$&&(wU=(EU=s$.split("."))[0]>0&&EU[0]<4?1:+(EU[0]+EU[1])),!wU&&o$&&(!(EU=o$.match(/Edge\/(\d+)/))||EU[1]>=74)&&(EU=o$.match(/Chrome\/(\d+)/))&&(wU=+EU[1]);var l$=wU,c$=!!Object.getOwnPropertySymbols&&!RU((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&l$&&l$<41})),f$=c$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,d$=CU.Object,p$=f$?function(e){return"symbol"==typeof e}:function(e){var t=n$("Symbol");return PU(t)&&r$(t.prototype,d$(e))},h$=CU.String,v$=CU.TypeError,g$=function(e){if(PU(e))return e;throw v$(function(e){try{return h$(e)}catch(e){return"Object"}}(e)+" is not a function")},y$=CU.TypeError,m$=Object.defineProperty,b$=CU["__core-js_shared__"]||function(e,t){try{m$(CU,e,{value:t,configurable:!0,writable:!0})}catch(n){CU[e]=t}return t}("__core-js_shared__",{}),E$=fP((function(e){(e.exports=function(e,t){return b$[e]||(b$[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),w$=CU.Object,S$=function(e){return w$(ZU(e))},C$=FU({}.hasOwnProperty),D$=Object.hasOwn||function(e,t){return C$(S$(e),t)},A$=0,x$=Math.random(),O$=FU(1..toString),T$=function(e){return"Symbol("+(void 0===e?"":e)+")_"+O$(++A$+x$,36)},N$=E$("wks"),k$=CU.Symbol,B$=k$&&k$.for,I$=f$?k$:k$&&k$.withoutSetter||T$,F$=function(e){if(!D$(N$,e)||!c$&&"string"!=typeof N$[e]){var t="Symbol."+e;c$&&D$(k$,e)?N$[e]=k$[e]:N$[e]=f$&&B$?B$(t):I$(t)}return N$[e]},P$=CU.TypeError,R$=F$("toPrimitive"),_$=function(e){var t=function(e,t){if(!QU(e)||p$(e))return e;var n,r,o=null==(n=e[R$])?void 0:g$(n);if(o){if(void 0===t&&(t="default"),r=jU(o,e,t),!QU(r)||p$(r))return r;throw P$("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&PU(n=e.toString)&&!QU(r=jU(n,e)))return r;if(PU(n=e.valueOf)&&!QU(r=jU(n,e)))return r;if("string"!==t&&PU(n=e.toString)&&!QU(r=jU(n,e)))return r;throw y$("Can't convert object to primitive value")}(e,t)}(e,"string");return p$(t)?t:t+""},L$=CU.document,j$=QU(L$)&&QU(L$.createElement),M$=function(e){return j$?L$.createElement(e):{}},z$=!_U&&!RU((function(){return 7!=Object.defineProperty(M$("div"),"a",{get:function(){return 7}}).a})),H$=Object.getOwnPropertyDescriptor,U$={f:_U?H$:function(e,t){if(e=JU(e),t=_$(t),z$)try{return H$(e,t)}catch(e){}if(D$(e,t))return $U(!jU(UU.f,e,t),e[t])}},$$=/#|\.prototype\./,V$=function(e,t){var n=W$[G$(e)];return n==K$||n!=q$&&(PU(t)?RU(t):!!t)},G$=V$.normalize=function(e){return String(e).replace($$,".").toLowerCase()},W$=V$.data={},q$=V$.NATIVE="N",K$=V$.POLYFILL="P",Y$=V$,X$=FU(FU.bind),Z$=function(e,t){return g$(e),void 0===t?e:X$?X$(e,t):function(){return e.apply(t,arguments)}},J$=CU.String,Q$=CU.TypeError,eV=function(e){if(QU(e))return e;throw Q$(J$(e)+" is not an object")},tV=CU.TypeError,nV=Object.defineProperty,rV={f:_U?nV:function(e,t,n){if(eV(e),t=_$(t),eV(n),z$)try{return nV(e,t,n)}catch(e){}if("get"in n||"set"in n)throw tV("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},oV=_U?function(e,t,n){return rV.f(e,t,$U(1,n))}:function(e,t,n){return e[t]=n,e},iV=U$.f,aV=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return TU(e,this,arguments)};return t.prototype=e.prototype,t},uV=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,d=e.stat,p=e.proto,h=f?CU:d?CU[c]:(CU[c]||{}).prototype,v=f?e$:e$[c]||oV(e$,c,{})[c],g=v.prototype;for(o in t)n=!Y$(f?o:c+(d?".":"#")+o,e.forced)&&h&&D$(h,o),a=v[o],n&&(u=e.noTargetGet?(l=iV(h,o))&&l.value:h[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?Z$(i,CU):e.wrap&&n?aV(i):p&&PU(i)?FU(i):i,(e.sham||i&&i.sham||a&&a.sham)&&oV(s,"sham",!0),oV(v,o,s),p&&(D$(e$,r=c+"Prototype")||oV(e$,r,{}),oV(e$[r],o,i),e.real&&g&&!g[o]&&oV(g,o,i)))},sV=Array.isArray||function(e){return"Array"==WU(e)},lV=Math.ceil,cV=Math.floor,fV=function(e){var t=+e;return t!=t||0===t?0:(t>0?cV:lV)(t)},dV=Math.min,pV=function(e){return(t=e.length)>0?dV(fV(t),9007199254740991):0;var t},hV=function(e,t,n){var r=_$(t);r in e?rV.f(e,r,$U(0,n)):e[r]=n},vV={};vV[F$("toStringTag")]="z";var gV="[object z]"===String(vV),yV=F$("toStringTag"),mV=CU.Object,bV="Arguments"==WU(function(){return arguments}()),EV=gV?WU:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=mV(e),yV))?n:bV?WU(t):"Object"==(r=WU(t))&&PU(t.callee)?"Arguments":r},wV=FU(Function.toString);PU(b$.inspectSource)||(b$.inspectSource=function(e){return wV(e)});var SV=b$.inspectSource,CV=function(){},DV=[],AV=n$("Reflect","construct"),xV=/^\s*(?:class|function)\b/,OV=FU(xV.exec),TV=!xV.exec(CV),NV=function(e){if(!PU(e))return!1;try{return AV(CV,DV,e),!0}catch(e){return!1}},kV=!AV||RU((function(){var e;return NV(NV.call)||!NV(Object)||!NV((function(){e=!0}))||e}))?function(e){if(!PU(e))return!1;switch(EV(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return TV||!!OV(xV,SV(e))}:NV,BV=F$("species"),IV=CU.Array,FV=function(e,t){return new(function(e){var t;return sV(e)&&(t=e.constructor,(kV(t)&&(t===IV||sV(t.prototype))||QU(t)&&null===(t=t[BV]))&&(t=void 0)),void 0===t?IV:t}(e))(0===t?0:t)},PV=F$("species"),RV=F$("isConcatSpreadable"),_V=CU.TypeError,LV=l$>=51||!RU((function(){var e=[];return e[RV]=!1,e.concat()[0]!==e})),jV=l$>=51||!RU((function(){var e=[];return(e.constructor={})[PV]=function(){return{foo:1}},1!==e.concat(Boolean).foo})),MV=function(e){if(!QU(e))return!1;var t=e[RV];return void 0!==t?!!t:sV(e)};uV({target:"Array",proto:!0,forced:!LV||!jV},{concat:function(e){var t,n,r,o,i,a=S$(this),u=FV(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(MV(i=-1===t?a:arguments[t])){if(s+(o=pV(i))>9007199254740991)throw _V("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&hV(u,s,i[n])}else{if(s>=9007199254740991)throw _V("Maximum allowed index exceeded");hV(u,s++,i)}return u.length=s,u}});var zV,HV=CU.String,UV=function(e){if("Symbol"===EV(e))throw TypeError("Cannot convert a Symbol value to a string");return HV(e)},$V=Math.max,VV=Math.min,GV=function(e,t){var n=fV(e);return n<0?$V(n+t,0):VV(n,t)},WV=function(e){return function(t,n,r){var o,i=JU(t),a=pV(i),u=GV(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},qV={includes:WV(!0),indexOf:WV(!1)},KV={},YV=qV.indexOf,XV=FU([].push),ZV=function(e,t){var n,r=JU(e),o=0,i=[];for(n in r)!D$(KV,n)&&D$(r,n)&&XV(i,n);for(;t.length>o;)D$(r,n=t[o++])&&(~YV(i,n)||XV(i,n));return i},JV=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],QV=Object.keys||function(e){return ZV(e,JV)},eG=_U?Object.defineProperties:function(e,t){eV(e);for(var n,r=JU(t),o=QV(t),i=o.length,a=0;i>a;)rV.f(e,n=o[a++],r[n]);return e},tG=n$("document","documentElement"),nG=E$("keys"),rG=function(e){return nG[e]||(nG[e]=T$(e))},oG=rG("IE_PROTO"),iG=function(){},aG=function(e){return"<script>"+e+"<\/script>"},uG=function(e){e.write(aG("")),e.close();var t=e.parentWindow.Object;return e=null,t},sG=function(){try{zV=new ActiveXObject("htmlfile")}catch(e){}var e,t;sG="undefined"!=typeof document?document.domain&&zV?uG(zV):((t=M$("iframe")).style.display="none",tG.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(aG("document.F=Object")),e.close(),e.F):uG(zV);for(var n=JV.length;n--;)delete sG.prototype[JV[n]];return sG()};KV[oG]=!0;var lG,cG,fG,dG=Object.create||function(e,t){var n;return null!==e?(iG.prototype=eV(e),n=new iG,iG.prototype=null,n[oG]=e):n=sG(),void 0===t?n:eG(n,t)},pG=JV.concat("length","prototype"),hG={f:Object.getOwnPropertyNames||function(e){return ZV(e,pG)}},vG=CU.Array,gG=Math.max,yG=hG.f,mG="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],bG={f:function(e){return mG&&"Window"==WU(e)?function(e){try{return yG(e)}catch(e){return function(e,t,n){for(var r=pV(e),o=GV(void 0,r),i=GV(r,r),a=vG(gG(i-o,0)),u=0;o<i;o++,u++)hV(a,u,e[o]);return a.length=u,a}(mG)}}(e):yG(JU(e))}},EG={f:Object.getOwnPropertySymbols},wG=FU([].slice),SG=function(e,t,n,r){r&&r.enumerable?e[t]=n:oV(e,t,n)},CG={f:F$},DG=rV.f,AG=function(e){var t=e$.Symbol||(e$.Symbol={});D$(t,e)||DG(t,e,{value:CG.f(e)})},xG=gV?{}.toString:function(){return"[object "+EV(this)+"]"},OG=rV.f,TG=F$("toStringTag"),NG=function(e,t,n,r){if(e){var o=n?e:e.prototype;D$(o,TG)||OG(o,TG,{configurable:!0,value:t}),r&&!gV&&oV(o,"toString",xG)}},kG=CU.WeakMap,BG=PU(kG)&&/native code/.test(SV(kG)),IG=CU.TypeError,FG=CU.WeakMap;if(BG||b$.state){var PG=b$.state||(b$.state=new FG),RG=FU(PG.get),_G=FU(PG.has),LG=FU(PG.set);lG=function(e,t){if(_G(PG,e))throw new IG("Object already initialized");return t.facade=e,LG(PG,e,t),t},cG=function(e){return RG(PG,e)||{}},fG=function(e){return _G(PG,e)}}else{var jG=rG("state");KV[jG]=!0,lG=function(e,t){if(D$(e,jG))throw new IG("Object already initialized");return t.facade=e,oV(e,jG,t),t},cG=function(e){return D$(e,jG)?e[jG]:{}},fG=function(e){return D$(e,jG)}}var MG={set:lG,get:cG,has:fG,enforce:function(e){return fG(e)?cG(e):lG(e,{})},getterFor:function(e){return function(t){var n;if(!QU(t)||(n=cG(t)).type!==e)throw IG("Incompatible receiver, "+e+" required");return n}}},zG=FU([].push),HG=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=S$(s),v=YU(h),g=Z$(l,c),y=pV(v),m=0,b=f||FV,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:zG(E,d)}else switch(e){case 4:return!1;case 7:zG(E,d)}return i?-1:r||o?o:E}},UG=[HG(0),HG(1),HG(2),HG(3),HG(4),HG(5),HG(6),HG(7)][0],$G=rG("hidden"),VG=F$("toPrimitive"),GG=MG.set,WG=MG.getterFor("Symbol"),qG=Object.prototype,KG=CU.Symbol,YG=KG&&KG.prototype,XG=CU.TypeError,ZG=CU.QObject,JG=n$("JSON","stringify"),QG=U$.f,eW=rV.f,tW=bG.f,nW=UU.f,rW=FU([].push),oW=E$("symbols"),iW=E$("op-symbols"),aW=E$("string-to-symbol-registry"),uW=E$("symbol-to-string-registry"),sW=E$("wks"),lW=!ZG||!ZG.prototype||!ZG.prototype.findChild,cW=_U&&RU((function(){return 7!=dG(eW({},"a",{get:function(){return eW(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=QG(qG,t);r&&delete qG[t],eW(e,t,n),r&&e!==qG&&eW(qG,t,r)}:eW,fW=function(e,t){var n=oW[e]=dG(YG);return GG(n,{type:"Symbol",tag:e,description:t}),_U||(n.description=t),n},dW=function(e,t,n){e===qG&&dW(iW,t,n),eV(e);var r=_$(t);return eV(n),D$(oW,r)?(n.enumerable?(D$(e,$G)&&e[$G][r]&&(e[$G][r]=!1),n=dG(n,{enumerable:$U(0,!1)})):(D$(e,$G)||eW(e,$G,$U(1,{})),e[$G][r]=!0),cW(e,r,n)):eW(e,r,n)},pW=function(e,t){eV(e);var n=JU(t),r=QV(n).concat(yW(n));return UG(r,(function(t){_U&&!jU(hW,n,t)||dW(e,t,n[t])})),e},hW=function(e){var t=_$(e),n=jU(nW,this,t);return!(this===qG&&D$(oW,t)&&!D$(iW,t))&&(!(n||!D$(this,t)||!D$(oW,t)||D$(this,$G)&&this[$G][t])||n)},vW=function(e,t){var n=JU(e),r=_$(t);if(n!==qG||!D$(oW,r)||D$(iW,r)){var o=QG(n,r);return!o||!D$(oW,r)||D$(n,$G)&&n[$G][r]||(o.enumerable=!0),o}},gW=function(e){var t=tW(JU(e)),n=[];return UG(t,(function(e){D$(oW,e)||D$(KV,e)||rW(n,e)})),n},yW=function(e){var t=e===qG,n=tW(t?iW:JU(e)),r=[];return UG(n,(function(e){!D$(oW,e)||t&&!D$(qG,e)||rW(r,oW[e])})),r};if(c$||(YG=(KG=function(){if(r$(YG,this))throw XG("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?UV(arguments[0]):void 0,t=T$(e),n=function(e){this===qG&&jU(n,iW,e),D$(this,$G)&&D$(this[$G],t)&&(this[$G][t]=!1),cW(this,t,$U(1,e))};return _U&&lW&&cW(qG,t,{configurable:!0,set:n}),fW(t,e)}).prototype,SG(YG,"toString",(function(){return WG(this).tag})),SG(KG,"withoutSetter",(function(e){return fW(T$(e),e)})),UU.f=hW,rV.f=dW,U$.f=vW,hG.f=bG.f=gW,EG.f=yW,CG.f=function(e){return fW(F$(e),e)},_U&&eW(YG,"description",{configurable:!0,get:function(){return WG(this).description}})),uV({global:!0,wrap:!0,forced:!c$,sham:!c$},{Symbol:KG}),UG(QV(sW),(function(e){AG(e)})),uV({target:"Symbol",stat:!0,forced:!c$},{for:function(e){var t=UV(e);if(D$(aW,t))return aW[t];var n=KG(t);return aW[t]=n,uW[n]=t,n},keyFor:function(e){if(!p$(e))throw XG(e+" is not a symbol");if(D$(uW,e))return uW[e]},useSetter:function(){lW=!0},useSimple:function(){lW=!1}}),uV({target:"Object",stat:!0,forced:!c$,sham:!_U},{create:function(e,t){return void 0===t?dG(e):pW(dG(e),t)},defineProperty:dW,defineProperties:pW,getOwnPropertyDescriptor:vW}),uV({target:"Object",stat:!0,forced:!c$},{getOwnPropertyNames:gW,getOwnPropertySymbols:yW}),uV({target:"Object",stat:!0,forced:RU((function(){EG.f(1)}))},{getOwnPropertySymbols:function(e){return EG.f(S$(e))}}),JG){var mW=!c$||RU((function(){var e=KG();return"[null]"!=JG([e])||"{}"!=JG({a:e})||"{}"!=JG(Object(e))}));uV({target:"JSON",stat:!0,forced:mW},{stringify:function(e,t,n){var r=wG(arguments),o=t;if((QU(t)||void 0!==e)&&!p$(e))return sV(t)||(t=function(e,t){if(PU(o)&&(t=jU(o,this,e,t)),!p$(t))return t}),r[1]=t,TU(JG,null,r)}})}if(!YG[VG]){var bW=YG.valueOf;SG(YG,VG,(function(e){return jU(bW,this)}))}NG(KG,"Symbol"),KV[$G]=!0,AG("asyncIterator"),AG("hasInstance"),AG("isConcatSpreadable"),AG("iterator"),AG("match"),AG("matchAll"),AG("replace"),AG("search"),AG("species"),AG("split"),AG("toPrimitive"),AG("toStringTag"),AG("unscopables"),NG(CU.JSON,"JSON",!0);var EW,wW,SW,CW=e$.Symbol,DW={},AW=Function.prototype,xW=_U&&Object.getOwnPropertyDescriptor,OW=D$(AW,"name"),TW={EXISTS:OW,PROPER:OW&&"something"===function(){}.name,CONFIGURABLE:OW&&(!_U||_U&&xW(AW,"name").configurable)},NW=!RU((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),kW=rG("IE_PROTO"),BW=CU.Object,IW=BW.prototype,FW=NW?BW.getPrototypeOf:function(e){var t=S$(e);if(D$(t,kW))return t[kW];var n=t.constructor;return PU(n)&&t instanceof n?n.prototype:t instanceof BW?IW:null},PW=F$("iterator"),RW=!1;[].keys&&("next"in(SW=[].keys())?(wW=FW(FW(SW)))!==Object.prototype&&(EW=wW):RW=!0);var _W=null==EW||RU((function(){var e={};return EW[PW].call(e)!==e}));EW=_W?{}:dG(EW),PU(EW[PW])||SG(EW,PW,(function(){return this}));var LW={IteratorPrototype:EW,BUGGY_SAFARI_ITERATORS:RW},jW=LW.IteratorPrototype,MW=function(){return this};CU.String,CU.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e={};try{FU(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(e,[]),e instanceof Array}catch(e){}}();var zW=TW.PROPER,HW=LW.BUGGY_SAFARI_ITERATORS,UW=F$("iterator"),$W=function(){return this},VW=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=dG(jW,{next:$U(1,n)}),NG(e,o,!1,!0),DW[o]=MW}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!HW&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[UW]||p["@@iterator"]||o&&p[o],v=!HW&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=FW(g.call(new e)))!==Object.prototype&&u.next&&(NG(u,f,!0,!0),DW[f]=$W),zW&&"values"==o&&h&&"values"!==h.name&&(d=!0,v=function(){return jU(h,this)}),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(HW||d||!(l in p))&&SG(p,l,s[l]);else uV({target:t,proto:!0,forced:HW||d},s);return a&&p[UW]!==v&&SG(p,UW,v,{name:o}),DW[t]=v,s},GW=MG.set,WW=MG.getterFor("Array Iterator");VW(Array,"Array",(function(e,t){GW(this,{type:"Array Iterator",target:JU(e),index:0,kind:t})}),(function(){var e=WW(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),DW.Arguments=DW.Array;var qW=F$("toStringTag");for(var KW in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var YW=CU[KW],XW=YW&&YW.prototype;XW&&EV(XW)!==qW&&oV(XW,qW,KW),DW[KW]=DW.Array}var ZW=CW;AG("asyncDispose"),AG("dispose"),AG("matcher"),AG("metadata"),AG("observable"),AG("patternMatch"),AG("replaceAll");var JW=ZW,QW=FU("".charAt),eq=FU("".charCodeAt),tq=FU("".slice),nq=function(e){return function(t,n){var r,o,i=UV(ZU(t)),a=fV(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=eq(i,a))<55296||r>56319||a+1===u||(o=eq(i,a+1))<56320||o>57343?e?QW(i,a):r:e?tq(i,a,a+2):o-56320+(r-55296<<10)+65536}},rq=(nq(!1),nq(!0)),oq=MG.set,iq=MG.getterFor("String Iterator");VW(String,"String",(function(e){oq(this,{type:"String Iterator",string:UV(e),index:0})}),(function(){var e,t=iq(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=rq(n,r),t.index+=e.length,{value:e,done:!1})}));var aq=CG.f("iterator"),uq=fP((function(e){function t(n){return"function"==typeof JW&&"symbol"==typeof aq?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof JW&&e.constructor===JW&&e!==JW.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),sq=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(uq),lq=a_.EXISTS,cq=LR.f,fq=Function.prototype,dq=NP(fq.toString),pq=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,hq=NP(pq.exec);yP&&!lq&&cq(fq,"name",{configurable:!0,get:function(){try{return hq(pq,dq(this))[1]}catch(e){return""}}});var vq=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.mark,n=Nf.marks(e);return n&&n[t]?n[t]:""},e.prototype.isDisabled=function(e){return null==e.selection||(this.mark,!!sM(Nf.nodes(e,{match:function(t){return"pre"===QO.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0])},e.prototype.exec=function(e,t){var n=this.mark;t?e.addMark(n,t):e.removeMark(n)},e}(),gq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("fontSize.title"),t.iconSvg=jM,t.mark="fontSize",t}return rM(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontSizeList,r=void 0===n?[]:n;t.push({text:UF("fontSize.default"),value:""}),r.forEach((function(e){if("string"==typeof e)t.push({text:e,value:e});else if("object"===sq(e)){var n=e.name,r=e.value;t.push({text:n,value:r})}}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},t}(vq),yq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("fontFamily.title"),t.iconSvg=MM,t.mark="fontFamily",t.selectPanelWidth=150,t}return rM(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontFamilyList,r=void 0===n?[]:n;t.push({text:UF("fontFamily.default"),value:""}),r.forEach((function(e){if("string"==typeof e)t.push({text:e,value:e,styleForRenderMenuList:{"font-family":e}});else if("object"===sq(e)){var n=e.name,r=e.value;t.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}})}}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},t}(vq),mq={renderStyle:function(e,t){var n=e,r=n.fontSize,o=n.fontFamily,i=t;return r&&Kz(i,{fontSize:r}),o&&Kz(i,{fontFamily:o}),i},styleToHtml:function(e,t){if(!ed.isText(e))return t;var n,r=e,o=r.fontSize,i=r.fontFamily;return o||i?((Zj(t)||"span"!==Qj(n=Mp(t)))&&(n=Mp("<span>"+t+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),Jj(n)):t},preParseHtml:[mU],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t,i=n.getMenuConfig("fontSize").fontSizeList,a=void 0===i?[]:i,u=eM(r,"font-size"),s=a.find((function(e){return e.value&&e.value===u}))||a.includes(u);u&&s&&(o.fontSize=u);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=void 0===l?[]:l,f=eM(r,"font-family").replace(/"/g,""),d=c.find((function(e){return e.value&&e.value===f}))||c.includes(f);return f&&d&&(o.fontFamily=f),o},menus:[{key:"fontSize",factory:function(){return new gq},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new yq},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},bq={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=Mp(e),n=eM(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}},Eq=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){var t=sM(Nf.nodes(e,{match:function(e){return!!e.indent},universal:!0}),1),n=t[0];return null==n?"":sM(n,1)[0].indent||""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=sM(Nf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e}(),wq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("indent.decrease"),t.iconSvg=zM,t}return rM(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!t.indent},t.prototype.exec=function(e,t){md.setNodes(e,{indent:null},{match:function(e){return Cf.isElement(e)}})},t}(Eq),Sq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("indent.increase"),t.iconSvg=HM,t.DEFAULT_INDENT_VALUE="2em",t}return rM(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!!t.indent},t.prototype.getIndentValue=function(e){var t=this.getMatchNode(e);if(!t)return this.DEFAULT_INDENT_VALUE;var n=t.children.filter(ed.isText)[0];if(!n||!n.fontSize)return this.DEFAULT_INDENT_VALUE;var r=n.fontSize,o=parseInt(n.fontSize);return""+2*o+r.replace(""+o,"")},t.prototype.exec=function(e,t){var n=this.getIndentValue(e);md.setNodes(e,{indent:n},{match:function(e){return Cf.isElement(e)},mode:"highest"})},t}(Eq),Cq={renderStyle:function(e,t){if(!Cf.isElement(e))return t;var n=e.indent,r=t;return n&&Kz(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!Cf.isElement(e))return t;var n=e.indent;if(!n)return t;var r=Mp(t);return r.css("text-indent",n),Jj(r)},preParseHtml:[bq],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;var o=t,i=eM(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Sq}},{key:"delIndent",factory:function(){return new wq}}]},Dq=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=sM(Nf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return"paragraph"===t||"blockquote"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some((function(t){var n=t.type;return!(!Nf.isVoid(e,t)||!Nf.isBlock(e,t)||"video"===n)||!!["pre","code"].includes(n)||void 0}))},e}(),Aq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("justify.left"),t.iconSvg=UM,t}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"left"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Dq),xq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("justify.right"),t.iconSvg=$M,t}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"right"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Dq),Oq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("justify.center"),t.iconSvg=VM,t}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"center"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Dq),Tq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=UF("justify.justify"),t.iconSvg=GM,t}return rM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"justify"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Dq),Nq={renderStyle:function(e,t){if(!Cf.isElement(e))return t;var n=e.textAlign,r=t;return n&&Kz(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!Cf.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=Mp(t);return r.css("text-align",n),Jj(r)},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;var o=t,i=eM(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new Aq}},{key:"justifyRight",factory:function(){return new xq}},{key:"justifyCenter",factory:function(){return new Oq}},{key:"justifyJustify",factory:function(){return new Tq}}]},kq=function(){function e(){this.title=UF("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("lineHeight").lineHeightList,r=void 0===n?[]:n;t.push({text:UF("lineHeight.default"),value:""}),r.forEach((function(e){t.push({text:e,value:e})}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},e.prototype.getMatchNode=function(e){var t=sM(Nf.nodes(e,{match:function(e){var t=QO.getNodeType(e);return!!t.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(t)},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getMatchNode(e);return null==t?"":Cf.isElement(t)&&t.lineHeight||""},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getMatchNode(e)},e.prototype.exec=function(e,t){md.setNodes(e,{lineHeight:t.toString()},{mode:"highest"})},e}(),Bq={renderStyle:function(e,t){if(!Cf.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Kz(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!Cf.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=Mp(t);return r.css("line-height",n),Jj(r)},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;var o=t,i=n.getMenuConfig("lineHeight").lineHeightList,a=void 0===i?[]:i,u=eM(r,"line-height");return u&&a.includes(u)&&(o.lineHeight=u),o},menus:[{key:"lineHeight",factory:function(){return new kq},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Iq=function(){function e(){this.title=UF("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.redo&&e.redo()},e}(),Fq=function(){function e(){this.title=UF("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.undo&&e.undo()},e}(),Pq={menus:[{key:"redo",factory:function(){return new Iq}},{key:"undo",factory:function(){return new Fq}}]},Rq={type:"divider",renderElem:function(e,t,n){return pv("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:QO.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(e){return e.preventDefault()}}},[pv("hr")])}},_q=function(){function e(){this.title=UF("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some((function(t){if(e.isVoid(t))return!0;var n=QO.getNodeType(t);return"table"===n||"pre"===n||void 0}))},e.prototype.exec=function(e,t){md.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),Lq={renderElems:[Rq],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new _q}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return"divider"===e.type||t(e)},r.normalizeNode=function(e){var t=sM(e,2),o=t[0],i=t[1];if("divider"!==QO.getNodeType(o))return n([o,i]);QO.isLastNode(r,o)&&md.insertNodes(r,QO.genEmptyParagraph(),{at:[i[0]+1]})},r}},jq=iL.map;L_({target:"Array",proto:!0,forced:!uL("map")},{map:function(e){return jq(this,e,arguments.length>1?arguments[1]:void 0)}});var Mq=NP([].join),zq=RP!=Object,Hq=wM("join",",");L_({target:"Array",proto:!0,forced:zq||!Hq},{join:function(e){return Mq(jP(this),void 0===e?",":e)}});var Uq=function(){function e(){this.title=UF("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(e){var t=QO.getSelectedNodeByType(e,"code");if(null==t)return null;var n=QO.getParentNode(e,t);return null==n||"pre"!==QO.getNodeType(n)?null:t},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);return null==t?"":t.language||""},e.prototype.isActive=function(e){return!!this.getSelectCodeElem(e)},e.prototype.isDisabled=function(e){if(null==e.selection)return!0;var t=QO.getSelectedElems(e);return!!t.some((function(t){return e.isVoid(t)}))||!t.some((function(e){var t=QO.getNodeType(e);if("pre"===t||"paragraph"===t)return!0}))},e.prototype.exec=function(e,t){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,t.toString())},e.prototype.changeToPlainText=function(e){var t=this.getSelectCodeElem(e);if(null!=t){var n=Rf.string(t);md.removeNodes(e,{mode:"highest"});var r=n.split("\n").map((function(e){return{type:"paragraph",children:[{text:e}]}}));md.insertNodes(e,r,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(e,t){var n,r,o=[],i=Nf.nodes(e,{match:function(t){return e.children.includes(t)},universal:!0});try{for(var a=uM(i),u=a.next();!u.done;u=a.next()){var s=sM(u.value,1)[0];s&&o.push(Rf.string(s))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}md.removeNodes(e,{mode:"highest"});var l={type:"pre",children:[{type:"code",language:t,children:[{text:o.join("\n")}]}]};md.insertNodes(e,l,{mode:"highest"})},e}(),$q={key:"codeBlock",factory:function(){return new Uq}};L_({target:"String",proto:!0,forced:hM("anchor")},{anchor:function(e){return pM(this,"a","name",e)}}),JL("match",(function(e,t,n){return[function(t){var n=LP(this),r=null==t?void 0:oR(t,e);return r?bP(r,t,n):new RegExp(t)[e](dL(n))},function(e){var r=PR(this),o=dL(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return pj(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=pj(r,o));){var c=dL(u[0]);s[l]=c,""===c&&(r.lastIndex=oj(o,v_(r.lastIndex),a)),l++}return 0===l?null:s}]}));var Vq={type:"pre",renderElem:function(e,t,n){return Fv("pre",null,t)}},Gq={type:"code",renderElem:function(e,t,n){return Fv("code",null,t)}},Wq={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return"code"===QO.getNodeType(e)}))).length&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter((function(e){return"code"===QO.getNodeType(e)}))}}},qq={menus:[$q],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var o=e;return o.insertBreak=function(){var e=QO.getSelectedNodeByType(o,"code");if(null!=e){var n=function(e,t){var n=t.selection;if(null==n)return"";var r=Rf.string(e),o=n.anchor.offset,i=r.slice(0,o).split("\n"),a=i.length;return 0===a?"":i[a-1]}(e,o);if(n){var r=n.match(/^\s+/);if(null!=r&&null!=r[0]){var i=r[0];return void o.insertText("\n"+i)}}o.insertText("\n")}else t()},o.normalizeNode=function(e){var t=sM(e,2),r=t[0],i=t[1],a=QO.getNodeType(r);return"code"===a&&i.length<=1&&md.setNodes(o,{type:"paragraph"},{at:i}),"pre"===a&&(QO.isLastNode(o,r)&&md.insertNodes(o,QO.genEmptyParagraph(),{at:[i[0]+1]}),"code"!==QO.getNodeType(r.children[0])&&(md.unwrapNodes(o),md.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([r,i])},o.insertData=function(e){if(null!=QO.getSelectedNodeByType(o,"code")){var t=e.getData("text/plain");Nf.insertText(o,t)}else r(e)},o},renderElems:[Vq,Gq],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=Mp(e);if("code"!==Qj(t))return e;var n=t.find("xmp");if(0===n.length)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:Mp(e)[0].textContent||""}]}}},Wq]},Kq=function(){function e(){this.title=UF("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return e.isFullScreen},e.prototype.isDisabled=function(e){return!1},e.prototype.exec=function(e,t){e.isFullScreen?e.unFullScreen():e.fullScreen()},e}(),Yq={menus:[{key:"fullScreen",factory:function(){return new Kq}}]},Xq=function(){function e(){this.title=UF("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!!qf.isExpanded(t)},e.prototype.exec=function(e,t){var n=e.selection;if(null!=n){var r=[n.anchor.path[0]];md.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:r}),e.select(Nf.start(e,r))}},e}(),Zq=[nz,eH,mq,Cq,Nq,Bq,iU,Lq,gU,xH,qq,hU,$z,cM,lU,Pq,Yq,{menus:[{key:"enter",factory:function(){return new Xq}}]}];MF("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),MF("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var Jq="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Qq(e){var t={exports:{}};return e(t,t.exports),t.exports}var eK,tK,nK=function(e){return e&&e.Math==Math&&e},rK=nK("object"==typeof globalThis&&globalThis)||nK("object"==typeof window&&window)||nK("object"==typeof self&&self)||nK("object"==typeof Jq&&Jq)||function(){return this}()||Function("return this")(),oK=Function.prototype,iK=oK.bind,aK=oK.call,uK=iK&&iK.bind(aK),sK=iK?function(e){return e&&uK(aK,e)}:function(e){return e&&function(){return aK.apply(e,arguments)}},lK=function(e){try{return!!e()}catch(e){return!0}},cK=sK({}.toString),fK=sK("".slice),dK=function(e){return fK(cK(e),8,-1)},pK=rK.Object,hK=sK("".split),vK=lK((function(){return!pK("z").propertyIsEnumerable(0)}))?function(e){return"String"==dK(e)?hK(e,""):pK(e)}:pK,gK=rK.TypeError,yK=function(e){if(null==e)throw gK("Can't call method on "+e);return e},mK=function(e){return vK(yK(e))},bK=Object.defineProperty,EK=function(e,t){try{bK(rK,e,{value:t,configurable:!0,writable:!0})}catch(n){rK[e]=t}return t},wK=rK["__core-js_shared__"]||EK("__core-js_shared__",{}),SK=Qq((function(e){(e.exports=function(e,t){return wK[e]||(wK[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),CK=rK.Object,DK=function(e){return CK(yK(e))},AK=sK({}.hasOwnProperty),xK=Object.hasOwn||function(e,t){return AK(DK(e),t)},OK=0,TK=Math.random(),NK=sK(1..toString),kK=function(e){return"Symbol("+(void 0===e?"":e)+")_"+NK(++OK+TK,36)},BK=function(e){return"function"==typeof e},IK=function(e){return BK(e)?e:void 0},FK=function(e,t){return arguments.length<2?IK(rK[e]):rK[e]&&rK[e][t]},PK=FK("navigator","userAgent")||"",RK=rK.process,_K=rK.Deno,LK=RK&&RK.versions||_K&&_K.version,jK=LK&&LK.v8;jK&&(tK=(eK=jK.split("."))[0]>0&&eK[0]<4?1:+(eK[0]+eK[1])),!tK&&PK&&(!(eK=PK.match(/Edge\/(\d+)/))||eK[1]>=74)&&(eK=PK.match(/Chrome\/(\d+)/))&&(tK=+eK[1]);var MK,zK=tK,HK=!!Object.getOwnPropertySymbols&&!lK((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&zK&&zK<41})),UK=HK&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$K=SK("wks"),VK=rK.Symbol,GK=VK&&VK.for,WK=UK?VK:VK&&VK.withoutSetter||kK,qK=function(e){if(!xK($K,e)||!HK&&"string"!=typeof $K[e]){var t="Symbol."+e;HK&&xK(VK,e)?$K[e]=VK[e]:$K[e]=UK&&GK?GK(t):WK(t)}return $K[e]},KK=function(e){return"object"==typeof e?null!==e:BK(e)},YK=rK.String,XK=rK.TypeError,ZK=function(e){if(KK(e))return e;throw XK(YK(e)+" is not an object")},JK=!lK((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),QK=rK.document,eY=KK(QK)&&KK(QK.createElement),tY=function(e){return eY?QK.createElement(e):{}},nY=!JK&&!lK((function(){return 7!=Object.defineProperty(tY("div"),"a",{get:function(){return 7}}).a})),rY=Function.prototype.call,oY=rY.bind?rY.bind(rY):function(){return rY.apply(rY,arguments)},iY=sK({}.isPrototypeOf),aY=rK.Object,uY=UK?function(e){return"symbol"==typeof e}:function(e){var t=FK("Symbol");return BK(t)&&iY(t.prototype,aY(e))},sY=rK.String,lY=function(e){try{return sY(e)}catch(e){return"Object"}},cY=rK.TypeError,fY=function(e){if(BK(e))return e;throw cY(lY(e)+" is not a function")},dY=function(e,t){var n=e[t];return null==n?void 0:fY(n)},pY=rK.TypeError,hY=rK.TypeError,vY=qK("toPrimitive"),gY=function(e){var t=function(e,t){if(!KK(e)||uY(e))return e;var n,r=dY(e,vY);if(r){if(void 0===t&&(t="default"),n=oY(r,e,t),!KK(n)||uY(n))return n;throw hY("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&BK(n=e.toString)&&!KK(r=oY(n,e)))return r;if(BK(n=e.valueOf)&&!KK(r=oY(n,e)))return r;if("string"!==t&&BK(n=e.toString)&&!KK(r=oY(n,e)))return r;throw pY("Can't convert object to primitive value")}(e,t)}(e,"string");return uY(t)?t:t+""},yY=rK.TypeError,mY=Object.defineProperty,bY={f:JK?mY:function(e,t,n){if(ZK(e),t=gY(t),ZK(n),nY)try{return mY(e,t,n)}catch(e){}if("get"in n||"set"in n)throw yY("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},EY=Math.ceil,wY=Math.floor,SY=function(e){var t=+e;return t!=t||0===t?0:(t>0?wY:EY)(t)},CY=Math.max,DY=Math.min,AY=function(e,t){var n=SY(e);return n<0?CY(n+t,0):DY(n,t)},xY=Math.min,OY=function(e){return e>0?xY(SY(e),9007199254740991):0},TY=function(e){return OY(e.length)},NY=function(e){return function(t,n,r){var o,i=mK(t),a=TY(i),u=AY(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},kY={includes:NY(!0),indexOf:NY(!1)},BY={},IY=kY.indexOf,FY=sK([].push),PY=function(e,t){var n,r=mK(e),o=0,i=[];for(n in r)!xK(BY,n)&&xK(r,n)&&FY(i,n);for(;t.length>o;)xK(r,n=t[o++])&&(~IY(i,n)||FY(i,n));return i},RY=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_Y=Object.keys||function(e){return PY(e,RY)},LY=JK?Object.defineProperties:function(e,t){ZK(e);for(var n,r=mK(t),o=_Y(t),i=o.length,a=0;i>a;)bY.f(e,n=o[a++],r[n]);return e},jY=FK("document","documentElement"),MY=SK("keys"),zY=function(e){return MY[e]||(MY[e]=kK(e))},HY=zY("IE_PROTO"),UY=function(){},$Y=function(e){return"<script>"+e+"<\/script>"},VY=function(e){e.write($Y("")),e.close();var t=e.parentWindow.Object;return e=null,t},GY=function(){try{MK=new ActiveXObject("htmlfile")}catch(e){}var e,t;GY="undefined"!=typeof document?document.domain&&MK?VY(MK):((t=tY("iframe")).style.display="none",jY.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write($Y("document.F=Object")),e.close(),e.F):VY(MK);for(var n=RY.length;n--;)delete GY.prototype[RY[n]];return GY()};BY[HY]=!0;var WY=Object.create||function(e,t){var n;return null!==e?(UY.prototype=ZK(e),n=new UY,UY.prototype=null,n[HY]=e):n=GY(),void 0===t?n:LY(n,t)},qY=qK("unscopables"),KY=Array.prototype;null==KY[qY]&&bY.f(KY,qY,{configurable:!0,value:WY(null)});var YY=function(e){KY[qY][e]=!0},XY={},ZY=sK(Function.toString);BK(wK.inspectSource)||(wK.inspectSource=function(e){return ZY(e)});var JY,QY,eX,tX=wK.inspectSource,nX=rK.WeakMap,rX=BK(nX)&&/native code/.test(tX(nX)),oX=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},iX=JK?function(e,t,n){return bY.f(e,t,oX(1,n))}:function(e,t,n){return e[t]=n,e},aX=rK.TypeError,uX=rK.WeakMap;if(rX||wK.state){var sX=wK.state||(wK.state=new uX),lX=sK(sX.get),cX=sK(sX.has),fX=sK(sX.set);JY=function(e,t){if(cX(sX,e))throw new aX("Object already initialized");return t.facade=e,fX(sX,e,t),t},QY=function(e){return lX(sX,e)||{}},eX=function(e){return cX(sX,e)}}else{var dX=zY("state");BY[dX]=!0,JY=function(e,t){if(xK(e,dX))throw new aX("Object already initialized");return t.facade=e,iX(e,dX,t),t},QY=function(e){return xK(e,dX)?e[dX]:{}},eX=function(e){return xK(e,dX)}}var pX,hX,vX,gX={set:JY,get:QY,has:eX,enforce:function(e){return eX(e)?QY(e):JY(e,{})},getterFor:function(e){return function(t){var n;if(!KK(t)||(n=QY(t)).type!==e)throw aX("Incompatible receiver, "+e+" required");return n}}},yX={}.propertyIsEnumerable,mX=Object.getOwnPropertyDescriptor,bX={f:mX&&!yX.call({1:2},1)?function(e){var t=mX(this,e);return!!t&&t.enumerable}:yX},EX=Object.getOwnPropertyDescriptor,wX={f:JK?EX:function(e,t){if(e=mK(e),t=gY(t),nY)try{return EX(e,t)}catch(e){}if(xK(e,t))return oX(!oY(bX.f,e,t),e[t])}},SX=Function.prototype,CX=JK&&Object.getOwnPropertyDescriptor,DX=xK(SX,"name"),AX={EXISTS:DX,PROPER:DX&&"something"===function(){}.name,CONFIGURABLE:DX&&(!JK||JK&&CX(SX,"name").configurable)},xX=Qq((function(e){var t=AX.CONFIGURABLE,n=gX.get,r=gX.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;BK(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!xK(i,"name")||t&&i.name!==f)&&iX(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==rK?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:iX(e,n,i)):l?e[n]=i:EK(n,i)})(Function.prototype,"toString",(function(){return BK(this)&&n(this).source||tX(this)}))})),OX=RY.concat("length","prototype"),TX={f:Object.getOwnPropertyNames||function(e){return PY(e,OX)}},NX={f:Object.getOwnPropertySymbols},kX=sK([].concat),BX=FK("Reflect","ownKeys")||function(e){var t=TX.f(ZK(e)),n=NX.f;return n?kX(t,n(e)):t},IX=function(e,t){for(var n=BX(t),r=bY.f,o=wX.f,i=0;i<n.length;i++){var a=n[i];xK(e,a)||r(e,a,o(t,a))}},FX=/#|\.prototype\./,PX=function(e,t){var n=_X[RX(e)];return n==jX||n!=LX&&(BK(t)?lK(t):!!t)},RX=PX.normalize=function(e){return String(e).replace(FX,".").toLowerCase()},_X=PX.data={},LX=PX.NATIVE="N",jX=PX.POLYFILL="P",MX=PX,zX=wX.f,HX=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?rK:l?rK[u]||EK(u,{}):(rK[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=zX(n,r))&&a.value:n[r],!MX(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;IX(i,o)}(e.sham||o&&o.sham)&&iX(i,"sham",!0),xX(n,r,i,e)}},UX=!lK((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),$X=zY("IE_PROTO"),VX=rK.Object,GX=VX.prototype,WX=UX?VX.getPrototypeOf:function(e){var t=DK(e);if(xK(t,$X))return t[$X];var n=t.constructor;return BK(n)&&t instanceof n?n.prototype:t instanceof VX?GX:null},qX=qK("iterator"),KX=!1;[].keys&&("next"in(vX=[].keys())?(hX=WX(WX(vX)))!==Object.prototype&&(pX=hX):KX=!0);var YX=null==pX||lK((function(){var e={};return pX[qX].call(e)!==e}));YX&&(pX={}),BK(pX[qX])||xX(pX,qX,(function(){return this}));var XX={IteratorPrototype:pX,BUGGY_SAFARI_ITERATORS:KX},ZX=bY.f,JX=qK("toStringTag"),QX=function(e,t,n){e&&!xK(e=n?e:e.prototype,JX)&&ZX(e,JX,{configurable:!0,value:t})},eZ=XX.IteratorPrototype,tZ=function(){return this},nZ=rK.String,rZ=rK.TypeError,oZ=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=sK(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return ZK(n),function(e){if("object"==typeof e||BK(e))return e;throw rZ("Can't set "+nZ(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),iZ=AX.PROPER,aZ=AX.CONFIGURABLE,uZ=XX.IteratorPrototype,sZ=XX.BUGGY_SAFARI_ITERATORS,lZ=qK("iterator"),cZ=function(){return this},fZ=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=WY(eZ,{next:oX(1,n)}),QX(e,o,!1),XY[o]=tZ}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!sZ&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[lZ]||p["@@iterator"]||o&&p[o],v=!sZ&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=WX(g.call(new e)))!==Object.prototype&&u.next&&(WX(u)!==uZ&&(oZ?oZ(u,uZ):BK(u[lZ])||xX(u,lZ,cZ)),QX(u,f,!0)),iZ&&"values"==o&&h&&"values"!==h.name&&(aZ?iX(p,"name","values"):(d=!0,v=function(){return oY(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(sZ||d||!(l in p))&&xX(p,l,s[l]);else HX({target:t,proto:!0,forced:sZ||d},s);return p[lZ]!==v&&xX(p,lZ,v,{name:o}),XY[t]=v,s},dZ=gX.set,pZ=gX.getterFor("Array Iterator"),hZ=fZ(Array,"Array",(function(e,t){dZ(this,{type:"Array Iterator",target:mK(e),index:0,kind:t})}),(function(){var e=pZ(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");XY.Arguments=XY.Array,YY("keys"),YY("values"),YY("entries");var vZ={};vZ[qK("toStringTag")]="z";var gZ="[object z]"===String(vZ),yZ=qK("toStringTag"),mZ=rK.Object,bZ="Arguments"==dK(function(){return arguments}()),EZ=gZ?dK:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=mZ(e),yZ))?n:bZ?dK(t):"Object"==(r=dK(t))&&BK(t.callee)?"Arguments":r},wZ=gZ?{}.toString:function(){return"[object "+EZ(this)+"]"};gZ||xX(Object.prototype,"toString",wZ,{unsafe:!0});var SZ=rK.String,CZ=function(e){if("Symbol"===EZ(e))throw TypeError("Cannot convert a Symbol value to a string");return SZ(e)},DZ=sK("".charAt),AZ=sK("".charCodeAt),xZ=sK("".slice),OZ=function(e){return function(t,n){var r,o,i=CZ(yK(t)),a=SY(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=AZ(i,a))<55296||r>56319||a+1===u||(o=AZ(i,a+1))<56320||o>57343?e?DZ(i,a):r:e?xZ(i,a,a+2):o-56320+(r-55296<<10)+65536}},TZ={codeAt:OZ(!1),charAt:OZ(!0)},NZ=TZ.charAt,kZ=gX.set,BZ=gX.getterFor("String Iterator");fZ(String,"String",(function(e){kZ(this,{type:"String Iterator",string:CZ(e),index:0})}),(function(){var e,t=BZ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=NZ(n,r),t.index+=e.length,{value:e,done:!1})}));var IZ=function(e,t,n){for(var r in t)xX(e,r,t[r],n);return e},FZ=rK.Array,PZ=Math.max,RZ=TX.f,_Z="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],LZ={f:function(e){return _Z&&"Window"==dK(e)?function(e){try{return RZ(e)}catch(e){return function(e,t,n){for(var r,o,i,a,u=TY(e),s=AY(void 0,u),l=AY(u,u),c=FZ(PZ(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],(a=gY(o))in r?bY.f(r,a,oX(0,i)):r[a]=i;return c.length=f,c}(_Z)}}(e):RZ(mK(e))}},jZ=lK((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),MZ=Object.isExtensible,zZ=lK((function(){MZ(1)}))||jZ?function(e){return!!KK(e)&&(!jZ||"ArrayBuffer"!=dK(e))&&(!MZ||MZ(e))}:MZ,HZ=!lK((function(){return Object.isExtensible(Object.preventExtensions({}))})),UZ=Qq((function(e){var t=bY.f,n=!1,r=kK("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=TX.f,t=sK([].splice),o={};o[r]=1,e(o).length&&(TX.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},HX({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:LZ.f}))},fastKey:function(e,t){if(!KK(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!xK(e,r)){if(!zZ(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!xK(e,r)){if(!zZ(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return HZ&&n&&zZ(e)&&!xK(e,r)&&i(e),e}};BY[r]=!0})),$Z=sK(sK.bind),VZ=function(e,t){return fY(e),void 0===t?e:$Z?$Z(e,t):function(){return e.apply(t,arguments)}},GZ=qK("iterator"),WZ=Array.prototype,qZ=qK("iterator"),KZ=function(e){if(null!=e)return dY(e,qZ)||dY(e,"@@iterator")||XY[EZ(e)]},YZ=rK.TypeError,XZ=function(e,t,n){var r,o;ZK(e);try{if(!(r=dY(e,"return"))){if("throw"===t)throw n;return n}r=oY(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return ZK(r),n},ZZ=rK.TypeError,JZ=function(e,t){this.stopped=e,this.result=t},QZ=JZ.prototype,eJ=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=VZ(t,f),g=function(e){return r&&XZ(r,"normal",e),new JZ(!0,e)},y=function(e){return d?(ZK(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=KZ(e)))throw ZZ(lY(e)+" is not iterable");if(void 0!==(c=o)&&(XY.Array===c||WZ[GZ]===c)){for(i=0,a=TY(e);a>i;i++)if((u=y(e[i]))&&iY(QZ,u))return u;return new JZ(!1)}r=function(e,t){var n=arguments.length<2?KZ(e):t;if(fY(n))return ZK(oY(n,e));throw YZ(lY(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=oY(s,r)).done;){try{u=y(l.value)}catch(e){XZ(r,"throw",e)}if("object"==typeof u&&u&&iY(QZ,u))return u}return new JZ(!1)},tJ=rK.TypeError,nJ=function(e,t){if(iY(t,e))return e;throw tJ("Incorrect invocation")},rJ=qK("iterator"),oJ=!1;try{var iJ=0,aJ={next:function(){return{done:!!iJ++}},return:function(){oJ=!0}};aJ[rJ]=function(){return this},Array.from(aJ,(function(){throw 2}))}catch(Ml){}var uJ=Array.isArray||function(e){return"Array"==dK(e)},sJ=function(){},lJ=[],cJ=FK("Reflect","construct"),fJ=/^\s*(?:class|function)\b/,dJ=sK(fJ.exec),pJ=!fJ.exec(sJ),hJ=function(e){if(!BK(e))return!1;try{return cJ(sJ,lJ,e),!0}catch(e){return!1}},vJ=!cJ||lK((function(){var e;return hJ(hJ.call)||!hJ(Object)||!hJ((function(){e=!0}))||e}))?function(e){if(!BK(e))return!1;switch(EZ(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return pJ||!!dJ(fJ,tX(e))}:hJ,gJ=qK("species"),yJ=rK.Array,mJ=function(e,t){return new(function(e){var t;return uJ(e)&&(t=e.constructor,(vJ(t)&&(t===yJ||uJ(t.prototype))||KK(t)&&null===(t=t[gJ]))&&(t=void 0)),void 0===t?yJ:t}(e))(0===t?0:t)},bJ=sK([].push),EJ=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=DK(s),v=vK(h),g=VZ(l,c),y=TY(v),m=0,b=f||mJ,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:bJ(E,d)}else switch(e){case 4:return!1;case 7:bJ(E,d)}return i?-1:r||o?o:E}},wJ={forEach:EJ(0),map:EJ(1),filter:EJ(2),some:EJ(3),every:EJ(4),find:EJ(5),findIndex:EJ(6),filterReject:EJ(7)},SJ=UZ.getWeakData,CJ=gX.set,DJ=gX.getterFor,AJ=wJ.find,xJ=wJ.findIndex,OJ=sK([].splice),TJ=0,NJ=function(e){return e.frozen||(e.frozen=new kJ)},kJ=function(){this.entries=[]},BJ=function(e,t){return AJ(e.entries,(function(e){return e[0]===t}))};kJ.prototype={get:function(e){var t=BJ(this,e);if(t)return t[1]},has:function(e){return!!BJ(this,e)},set:function(e,t){var n=BJ(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=xJ(this.entries,(function(t){return t[0]===e}));return~t&&OJ(this.entries,t,1),!!~t}};var IJ,FJ={getConstructor:function(e,t,n,r){var o=e((function(e,o){nJ(e,i),CJ(e,{type:t,id:TJ++,frozen:void 0}),null!=o&&eJ(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=DJ(t),u=function(e,t,n){var r=a(e),o=SJ(ZK(t),!0);return!0===o?NJ(r).set(t,n):o[r.id]=n,e};return IZ(i,{delete:function(e){var t=a(this);if(!KK(e))return!1;var n=SJ(e);return!0===n?NJ(t).delete(e):n&&xK(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!KK(e))return!1;var n=SJ(e);return!0===n?NJ(t).has(e):n&&xK(n,t.id)}}),IZ(i,n?{get:function(e){var t=a(this);if(KK(e)){var n=SJ(e);return!0===n?NJ(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},PJ=gX.enforce,RJ=!rK.ActiveXObject&&"ActiveXObject"in rK,_J=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},LJ=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=rK[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=sK(u[e]);xX(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!KK(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!KK(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!KK(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(MX(e,!BK(a)||!(o||u.forEach&&!lK((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),UZ.enable();else if(MX(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=lK((function(){f.has(1)})),h=function(e,t){if(!oJ)return!1;var n=!1;try{var r={};r[rJ]=function(){return{next:function(){return{done:n=!0}}}},function(e){new a(e)}(r)}catch(e){}return n}(),v=!o&&lK((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){nJ(e,u);var n=function(e,t,n){var r,o;return oZ&&BK(r=t.constructor)&&r!==n&&KK(o=r.prototype)&&o!==n.prototype&&oZ(e,o),e}(new a,e,s);return null!=t&&eJ(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,HX({global:!0,forced:s!=a},l),QX(s,e),o||n.setStrong(s,e,r),s}("WeakMap",_J,FJ);if(rX&&RJ){IJ=FJ.getConstructor(_J,"WeakMap",!0),UZ.enable();var jJ=LJ.prototype,MJ=sK(jJ.delete),zJ=sK(jJ.has),HJ=sK(jJ.get),UJ=sK(jJ.set);IZ(jJ,{delete:function(e){if(KK(e)&&!zZ(e)){var t=PJ(this);return t.frozen||(t.frozen=new IJ),MJ(this,e)||t.frozen.delete(e)}return MJ(this,e)},has:function(e){if(KK(e)&&!zZ(e)){var t=PJ(this);return t.frozen||(t.frozen=new IJ),zJ(this,e)||t.frozen.has(e)}return zJ(this,e)},get:function(e){if(KK(e)&&!zZ(e)){var t=PJ(this);return t.frozen||(t.frozen=new IJ),zJ(this,e)?HJ(this,e):t.frozen.get(e)}return HJ(this,e)},set:function(e,t){if(KK(e)&&!zZ(e)){var n=PJ(this);n.frozen||(n.frozen=new IJ),zJ(this,e)?UJ(this,e,t):n.frozen.set(e,t)}else UJ(this,e,t);return this}})}var $J={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},VJ=tY("span").classList,GJ=VJ&&VJ.constructor&&VJ.constructor.prototype,WJ=GJ===Object.prototype?void 0:GJ,qJ=qK("iterator"),KJ=qK("toStringTag"),YJ=hZ.values,XJ=function(e,t){if(e){if(e[qJ]!==YJ)try{iX(e,qJ,YJ)}catch(t){e[qJ]=YJ}if(e[KJ]||iX(e,KJ,t),$J[t])for(var n in hZ)if(e[n]!==hZ[n])try{iX(e,n,hZ[n])}catch(t){e[n]=hZ[n]}}};for(var ZJ in $J)XJ(rK[ZJ]&&rK[ZJ].prototype,ZJ);XJ(WJ,"DOMTokenList");var JJ=new WeakMap,QJ={type:"list-item",renderElem:function(e,t,n){JJ.set(e,n);var r=e,o=r.level,i=void 0===o?0:o,a=r.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(void 0!==a&&a){var l=function(e,t){var n=t,r=n.type,o=n.level,i=void 0===o?0:o,a=n.ordered,u=void 0!==a&&a;if(!u)return-1;var s=1,l=t,c=QO.findPath(e,l);if(0===c[0])return 1;for(;c[0]>0;){var f=Mf.previous(c),d=Nf.node(e,f);if(null==d)break;var p=d[0],h=p.level,v=void 0===h?0:h,g=p.type,y=p.ordered;if(g!==r)break;if(v<i)break;if(v===i){if(y!==u)break;s++}l=p,c=f}return s}(n,e);s=l+"."}else s=function(e){void 0===e&&(e=0);var t="";switch(e){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(i);var c=function(e){var t,n=e.children||[],r=n.length;if(0===r)return"";for(var o=0;o<r&&!t;o++){var i=n[o];ed.isText(i)&&(t=i)}return null==t?"":t.color||""}(e);return Fv("div",{style:u},Fv("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),Fv("span",null,t))}},eQ=function(e,t){return eQ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},eQ(e,t)};function tQ(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}eQ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function nQ(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function rQ(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function oQ(e,t,n){for(var r=t.type,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["type"]),i=void 0!==n?n:o.level||0,a=QO.findPath(e,t),u=a;;){if(0===u.length||0===a[a.length-1])return null;u=Mf.previous(u);var s=Nf.node(e,u);if(!s)return null;var l=rQ(s,1)[0],c=l.level,f=void 0===c?0:c;if(QO.getNodeType(l)!==r)return null;if(f===i)return l}}function iQ(e,t,n){var r=oQ(e,t,n);return!!r&&r.ordered===t.ordered}function aQ(e){return Nf.nodes(e,{at:e.selection||void 0,match:function(t){return 1===QO.findPath(e,t).length}})}"function"==typeof SuppressedError&&SuppressedError;var uQ=kY.includes;HX({target:"Array",proto:!0},{includes:function(e){return uQ(this,e,arguments.length>1?arguments[1]:void 0)}}),YY("includes");var sQ,lQ,cQ=function(){var e=ZK(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},fQ=rK.RegExp,dQ=lK((function(){var e=fQ("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),pQ=dQ||lK((function(){return!fQ("a","y").sticky})),hQ={BROKEN_CARET:dQ||lK((function(){var e=fQ("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:pQ,UNSUPPORTED_Y:dQ},vQ=rK.RegExp,gQ=lK((function(){var e=vQ(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),yQ=rK.RegExp,mQ=lK((function(){var e=yQ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),bQ=gX.get,EQ=SK("native-string-replace",String.prototype.replace),wQ=RegExp.prototype.exec,SQ=wQ,CQ=sK("".charAt),DQ=sK("".indexOf),AQ=sK("".replace),xQ=sK("".slice),OQ=(lQ=/b*/g,oY(wQ,sQ=/a/,"a"),oY(wQ,lQ,"a"),0!==sQ.lastIndex||0!==lQ.lastIndex),TQ=hQ.BROKEN_CARET,NQ=void 0!==/()??/.exec("")[1];(OQ||NQ||TQ||gQ||mQ)&&(SQ=function(e){var t,n,r,o,i,a,u,s=this,l=bQ(s),c=CZ(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=oY(SQ,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=TQ&&s.sticky,h=oY(cQ,s),v=s.source,g=0,y=c;if(p&&(h=AQ(h,"y",""),-1===DQ(h,"g")&&(h+="g"),y=xQ(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==CQ(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),NQ&&(n=new RegExp("^"+v+"$(?!\\s)",h)),OQ&&(r=s.lastIndex),o=oY(wQ,p?n:s,y),p?o?(o.input=xQ(o.input,g),o[0]=xQ(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:OQ&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),NQ&&o&&o.length>1&&oY(EQ,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=WY(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var kQ=SQ;HX({target:"RegExp",proto:!0,forced:/./.exec!==kQ},{exec:kQ});var BQ=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return QO.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some((function(t){if(Nf.isVoid(e,t)&&Nf.isBlock(e,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0}))},e.prototype.exec=function(e,t){this.isActive(e)?md.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):md.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),IQ='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',FQ='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',PQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!1,t.title=UF("listModule.unOrderedList"),t.iconSvg=IQ,t}return tQ(t,e),t}(BQ),RQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!0,t.title=UF("listModule.orderedList"),t.iconSvg=FQ,t}return tQ(t,e),t}(BQ),_Q={key:"bulletedList",factory:function(){return new PQ}},LQ={key:"numberedList",factory:function(){return new RQ}},jQ=[],MQ={type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=void 0!==o&&o?"ol":"ul",a=function(e){var t=JJ.get(e);if(null==t)return 0;var n=e,r=n.type,o=n.ordered,i=void 0!==o&&o,a=n.level,u=void 0===a?0:a,s=QO.findPath(t,e);if(0===s[0])return u+1;var l=Mf.previous(s),c=Nf.node(t,l);if(!c)return 0;var f=rQ(c,1)[0];if(QO.getNodeType(f)!==r)return u+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<u?u-g:g>u?iQ(t,e)?0:1:g===u?h===i?0:1:0}(e);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",jQ.push(i);var s=function(e){var t=JJ.get(e);if(null==t)return 0;var n=e,r=n.type,o=n.ordered,i=void 0!==o&&o,a=n.level,u=void 0===a?0:a,s=QO.findPath(t,e);if(s[0]===t.children.length-1)return u+1;var l=Mf.next(s),c=Nf.node(t,l);if(!c)return 0;var f=rQ(c,1)[0];if(QO.getNodeType(f)!==r)return u+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<u?iQ(t,f)?u-g:u-g+1:g>u?0:g===u?h===i?0:1:0}(e);if(s>0)for(u=0;u<s;u++)r+="</"+jQ.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},zQ=qK("species"),HQ=wJ.filter,UQ=("filter",zK>=51||!lK((function(){var e=[];return(e.constructor={})[zQ]=function(){return{foo:1}},1!==e.filter(Boolean).foo})));HX({target:"Array",proto:!0,forced:!UQ},{filter:function(e){return HQ(this,e,arguments.length>1?arguments[1]:void 0)}});var $Q=Function.prototype,VQ=$Q.apply,GQ=$Q.bind,WQ=$Q.call,qQ="object"==typeof Reflect&&Reflect.apply||(GQ?WQ.bind(VQ):function(){return WQ.apply(VQ,arguments)}),KQ=(qK("species"),RegExp.prototype),YQ=TZ.charAt,XQ=function(e,t,n){return t+(n?YQ(e,t).length:1)},ZQ=Math.floor,JQ=sK("".charAt),QQ=sK("".replace),e0=sK("".slice),t0=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,n0=/\$([$&'`]|\d{1,2})/g,r0=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=n0;return void 0!==o&&(o=DK(o),s=t0),QQ(i,s,(function(i,s){var l;switch(JQ(s,0)){case"$":return"$";case"&":return e;case"`":return e0(t,0,n);case"'":return e0(t,a);case"<":l=o[e0(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=ZQ(c/10);return 0===f?i:f<=u?void 0===r[f-1]?JQ(s,1):r[f-1]+JQ(s,1):i}l=r[c-1]}return void 0===l?"":l}))},o0=rK.TypeError,i0=function(e,t){var n=e.exec;if(BK(n)){var r=oY(n,e,t);return null!==r&&ZK(r),r}if("RegExp"===dK(e))return oY(kQ,e,t);throw o0("RegExp#exec called on incompatible receiver")},a0=qK("replace"),u0=Math.max,s0=Math.min,l0=sK([].concat),c0=sK([].push),f0=sK("".indexOf),d0=sK("".slice),p0="$0"==="a".replace(/./,"$0"),h0=!!/./[a0]&&""===/./[a0]("a","$0");!function(e,t,n,r){var o=qK(e),i=!lK((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!lK((function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=sK(/./[o]),s=function(e,t,n){var r=h0?"$":"$0";return[function(e,n){var r=yK(this),o=null==e?void 0:dY(e,a0);return o?oY(o,e,r,n):oY(t,CZ(r),e,n)},function(e,o){var i=ZK(this),a=CZ(e);if("string"==typeof o&&-1===f0(o,r)&&-1===f0(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=BK(o);s||(o=CZ(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=i0(i,a);if(null===d)break;if(c0(f,d),!l)break;""===CZ(d[0])&&(i.lastIndex=XQ(a,OY(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=CZ((d=f[g])[0]),m=u0(s0(SY(d.index),a.length),0),b=[],E=1;E<d.length;E++)c0(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=l0([y],b,m,a);void 0!==w&&c0(S,w);var C=CZ(qQ(o,void 0,S))}else C=r0(y,a,m,b,w,o);m>=v&&(h+=d0(a,v,m)+C,v=m+y.length)}return h+d0(a,v)}]}(0,""[e],(function(e,t,n,r,o){var a=sK(e),s=t.exec;return s===kQ||s===KQ.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));xX(String.prototype,e,s[0]),xX(KQ,o,s[1])}}("replace",0,!!lK((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!p0||h0);var v0=rK.TypeError,g0=function(e,t,n,r,o,i,a,u){for(var s,l,c=o,f=0,d=!!a&&VZ(a,u);f<r;){if(f in n){if(s=d?d(n[f],f,t):n[f],i>0&&uJ(s))l=TY(s),c=g0(e,t,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw v0("Exceed the acceptable array length");e[c]=s}c++}f++}return c},y0=g0;function m0(e){return e.length?e[0].tagName.toLowerCase():""}HX({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=DK(this),n=TY(t),r=mJ(t,0);return r.length=y0(r,t,t,n,0,void 0===e?1:SY(e)),r}}),YY("flat"),HX({global:!0},{globalThis:rK}),ah&&(Mp.fn.append=ah),$p&&(Mp.fn.attr=$p),sh&&(Mp.fn.parent=sh);var b0={renderElems:[QJ],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,o=e.insertBreak,i=e;return i.insertBreak=function(){var t=rQ(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"list-item")},universal:!0}),1)[0];return t?""!==t[0].children[0].text?o():void md.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(n){var r=i.selection;if(null!=r)if(qf.isExpanded(r))t(n);else{var o=QO.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==r.focus.offset)t(n);else{var a=o,u=a.level,s=void 0===u?0:u,l=a.ordered,c=void 0!==l&&l;if(s>0){var f=oQ(e,o,s-1);f&&f.ordered!==c?md.setNodes(i,{level:s-1,ordered:!c}):md.setNodes(i,{level:s-1})}else md.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else t(n)}else t(n)},i.handleTab=function(){var e,t,r,o,a=i.selection;if(null!=a){if(qf.isCollapsed(a)){var u=QO.getSelectedNodeByType(i,"list-item");if(null==u)return void n();if(0===a.focus.offset){var s=u.level,l=void 0===s?0:s;return void md.setNodes(i,{level:l+1})}}if(qf.isExpanded(a)){var c=0,f=!1;try{for(var d=nQ(aQ(i)),p=d.next();!p.done;p=d.next()){var h=rQ(p.value,1)[0];"list-item"===QO.getNodeType(h)?c++:f=!0}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}if(f||c<=1)return void n();try{for(var v=nQ(aQ(i)),g=v.next();!g.done;g=v.next()){var y=rQ(g.value,2),m=(h=y[0],y[1]),b=h.level;l=void 0===b?0:b,md.setNodes(i,{level:l+1},{at:m})}}catch(e){r={error:e}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(r)throw r.error}}}else n()}else n()},i.normalizeNode=function(e){var t=rQ(e,2),n=t[0],o=t[1],a=QO.getNodeType(n);return"bulleted-list"!==a&&"numbered-list"!==a||md.unwrapNodes(i,{at:o}),r([n,o])},i},menus:[_Q,LQ],elemsToHtml:[MQ],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(e){return"ol"===m0(e.parent())}(r),i=function(e){for(var t=0,n=e.parent(),r=m0(n);"ul"===r||"ol"===r;)r=m0(n=n.parent()),t++;return t-1}(r);return{type:"list-item",ordered:o,level:i,children:t}}}]};MF("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header",mergeCell:"merge cell",splitCell:"split cell"}}),MF("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格"}});var E0="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function w0(e){var t={exports:{}};return e(t,t.exports),t.exports}var S0,C0,D0=function(e){return e&&e.Math==Math&&e},A0=D0("object"==typeof globalThis&&globalThis)||D0("object"==typeof window&&window)||D0("object"==typeof self&&self)||D0("object"==typeof E0&&E0)||function(){return this}()||Function("return this")(),x0=function(e){try{return!!e()}catch(e){return!0}},O0=!x0((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),T0=Function.prototype.call,N0=T0.bind?T0.bind(T0):function(){return T0.apply(T0,arguments)},k0={}.propertyIsEnumerable,B0=Object.getOwnPropertyDescriptor,I0={f:B0&&!k0.call({1:2},1)?function(e){var t=B0(this,e);return!!t&&t.enumerable}:k0},F0=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},P0=Function.prototype,R0=P0.bind,_0=P0.call,L0=R0&&R0.bind(_0),j0=R0?function(e){return e&&L0(_0,e)}:function(e){return e&&function(){return _0.apply(e,arguments)}},M0=j0({}.toString),z0=j0("".slice),H0=function(e){return z0(M0(e),8,-1)},U0=A0.Object,$0=j0("".split),V0=x0((function(){return!U0("z").propertyIsEnumerable(0)}))?function(e){return"String"==H0(e)?$0(e,""):U0(e)}:U0,G0=A0.TypeError,W0=function(e){if(null==e)throw G0("Can't call method on "+e);return e},q0=function(e){return V0(W0(e))},K0=function(e){return"function"==typeof e},Y0=function(e){return"object"==typeof e?null!==e:K0(e)},X0=function(e){return K0(e)?e:void 0},Z0=function(e,t){return arguments.length<2?X0(A0[e]):A0[e]&&A0[e][t]},J0=j0({}.isPrototypeOf),Q0=Z0("navigator","userAgent")||"",e1=A0.process,t1=A0.Deno,n1=e1&&e1.versions||t1&&t1.version,r1=n1&&n1.v8;r1&&(C0=(S0=r1.split("."))[0]>0&&S0[0]<4?1:+(S0[0]+S0[1])),!C0&&Q0&&(!(S0=Q0.match(/Edge\/(\d+)/))||S0[1]>=74)&&(S0=Q0.match(/Chrome\/(\d+)/))&&(C0=+S0[1]);var o1=C0,i1=!!Object.getOwnPropertySymbols&&!x0((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o1&&o1<41})),a1=i1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,u1=A0.Object,s1=a1?function(e){return"symbol"==typeof e}:function(e){var t=Z0("Symbol");return K0(t)&&J0(t.prototype,u1(e))},l1=A0.String,c1=function(e){try{return l1(e)}catch(e){return"Object"}},f1=A0.TypeError,d1=function(e){if(K0(e))return e;throw f1(c1(e)+" is not a function")},p1=function(e,t){var n=e[t];return null==n?void 0:d1(n)},h1=A0.TypeError,v1=Object.defineProperty,g1=function(e,t){try{v1(A0,e,{value:t,configurable:!0,writable:!0})}catch(n){A0[e]=t}return t},y1=A0["__core-js_shared__"]||g1("__core-js_shared__",{}),m1=w0((function(e){(e.exports=function(e,t){return y1[e]||(y1[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),b1=A0.Object,E1=function(e){return b1(W0(e))},w1=j0({}.hasOwnProperty),S1=Object.hasOwn||function(e,t){return w1(E1(e),t)},C1=0,D1=Math.random(),A1=j0(1..toString),x1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+A1(++C1+D1,36)},O1=m1("wks"),T1=A0.Symbol,N1=T1&&T1.for,k1=a1?T1:T1&&T1.withoutSetter||x1,B1=function(e){if(!S1(O1,e)||!i1&&"string"!=typeof O1[e]){var t="Symbol."+e;i1&&S1(T1,e)?O1[e]=T1[e]:O1[e]=a1&&N1?N1(t):k1(t)}return O1[e]},I1=A0.TypeError,F1=B1("toPrimitive"),P1=function(e){var t=function(e,t){if(!Y0(e)||s1(e))return e;var n,r=p1(e,F1);if(r){if(void 0===t&&(t="default"),n=N0(r,e,t),!Y0(n)||s1(n))return n;throw I1("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&K0(n=e.toString)&&!Y0(r=N0(n,e)))return r;if(K0(n=e.valueOf)&&!Y0(r=N0(n,e)))return r;if("string"!==t&&K0(n=e.toString)&&!Y0(r=N0(n,e)))return r;throw h1("Can't convert object to primitive value")}(e,t)}(e,"string");return s1(t)?t:t+""},R1=A0.document,_1=Y0(R1)&&Y0(R1.createElement),L1=function(e){return _1?R1.createElement(e):{}},j1=!O0&&!x0((function(){return 7!=Object.defineProperty(L1("div"),"a",{get:function(){return 7}}).a})),M1=Object.getOwnPropertyDescriptor,z1={f:O0?M1:function(e,t){if(e=q0(e),t=P1(t),j1)try{return M1(e,t)}catch(e){}if(S1(e,t))return F0(!N0(I0.f,e,t),e[t])}},H1=A0.String,U1=A0.TypeError,$1=function(e){if(Y0(e))return e;throw U1(H1(e)+" is not an object")},V1=A0.TypeError,G1=Object.defineProperty,W1={f:O0?G1:function(e,t,n){if($1(e),t=P1(t),$1(n),j1)try{return G1(e,t,n)}catch(e){}if("get"in n||"set"in n)throw V1("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},q1=O0?function(e,t,n){return W1.f(e,t,F0(1,n))}:function(e,t,n){return e[t]=n,e},K1=j0(Function.toString);K0(y1.inspectSource)||(y1.inspectSource=function(e){return K1(e)});var Y1,X1,Z1,J1=y1.inspectSource,Q1=A0.WeakMap,e2=K0(Q1)&&/native code/.test(J1(Q1)),t2=m1("keys"),n2=function(e){return t2[e]||(t2[e]=x1(e))},r2={},o2=A0.TypeError,i2=A0.WeakMap;if(e2||y1.state){var a2=y1.state||(y1.state=new i2),u2=j0(a2.get),s2=j0(a2.has),l2=j0(a2.set);Y1=function(e,t){if(s2(a2,e))throw new o2("Object already initialized");return t.facade=e,l2(a2,e,t),t},X1=function(e){return u2(a2,e)||{}},Z1=function(e){return s2(a2,e)}}else{var c2=n2("state");r2[c2]=!0,Y1=function(e,t){if(S1(e,c2))throw new o2("Object already initialized");return t.facade=e,q1(e,c2,t),t},X1=function(e){return S1(e,c2)?e[c2]:{}},Z1=function(e){return S1(e,c2)}}var f2={set:Y1,get:X1,has:Z1,enforce:function(e){return Z1(e)?X1(e):Y1(e,{})},getterFor:function(e){return function(t){var n;if(!Y0(t)||(n=X1(t)).type!==e)throw o2("Incompatible receiver, "+e+" required");return n}}},d2=Function.prototype,p2=O0&&Object.getOwnPropertyDescriptor,h2=S1(d2,"name"),v2={EXISTS:h2,PROPER:h2&&"something"===function(){}.name,CONFIGURABLE:h2&&(!O0||O0&&p2(d2,"name").configurable)},g2=w0((function(e){var t=v2.CONFIGURABLE,n=f2.get,r=f2.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;K0(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!S1(i,"name")||t&&i.name!==f)&&q1(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==A0?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:q1(e,n,i)):l?e[n]=i:g1(n,i)})(Function.prototype,"toString",(function(){return K0(this)&&n(this).source||J1(this)}))})),y2=Math.ceil,m2=Math.floor,b2=function(e){var t=+e;return t!=t||0===t?0:(t>0?m2:y2)(t)},E2=Math.max,w2=Math.min,S2=function(e,t){var n=b2(e);return n<0?E2(n+t,0):w2(n,t)},C2=Math.min,D2=function(e){return e>0?C2(b2(e),9007199254740991):0},A2=function(e){return D2(e.length)},x2=function(e){return function(t,n,r){var o,i=q0(t),a=A2(i),u=S2(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},O2={includes:x2(!0),indexOf:x2(!1)},T2=O2.indexOf,N2=j0([].push),k2=function(e,t){var n,r=q0(e),o=0,i=[];for(n in r)!S1(r2,n)&&S1(r,n)&&N2(i,n);for(;t.length>o;)S1(r,n=t[o++])&&(~T2(i,n)||N2(i,n));return i},B2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],I2=B2.concat("length","prototype"),F2={f:Object.getOwnPropertyNames||function(e){return k2(e,I2)}},P2={f:Object.getOwnPropertySymbols},R2=j0([].concat),_2=Z0("Reflect","ownKeys")||function(e){var t=F2.f($1(e)),n=P2.f;return n?R2(t,n(e)):t},L2=function(e,t){for(var n=_2(t),r=W1.f,o=z1.f,i=0;i<n.length;i++){var a=n[i];S1(e,a)||r(e,a,o(t,a))}},j2=/#|\.prototype\./,M2=function(e,t){var n=H2[z2(e)];return n==$2||n!=U2&&(K0(t)?x0(t):!!t)},z2=M2.normalize=function(e){return String(e).replace(j2,".").toLowerCase()},H2=M2.data={},U2=M2.NATIVE="N",$2=M2.POLYFILL="P",V2=M2,G2=z1.f,W2=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?A0:l?A0[u]||g1(u,{}):(A0[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=G2(n,r))&&a.value:n[r],!V2(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;L2(i,o)}(e.sham||o&&o.sham)&&q1(i,"sham",!0),g2(n,r,i,e)}},q2={};q2[B1("toStringTag")]="z";var K2="[object z]"===String(q2),Y2=B1("toStringTag"),X2=A0.Object,Z2="Arguments"==H0(function(){return arguments}()),J2=K2?H0:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=X2(e),Y2))?n:Z2?H0(t):"Object"==(r=H0(t))&&K0(t.callee)?"Arguments":r},Q2=A0.String,e4=function(e){if("Symbol"===J2(e))throw TypeError("Cannot convert a Symbol value to a string");return Q2(e)},t4=/"/g,n4=j0("".replace);W2({target:"String",proto:!0,forced:("anchor",x0((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return"a","name",t=e,n=e4(W0(this)),r="<a",(r+=' name="'+n4(e4(t),t4,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var r4,o4=function(){var e=$1(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},i4=A0.RegExp,a4=x0((function(){var e=i4("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),u4=a4||x0((function(){return!i4("a","y").sticky})),s4={BROKEN_CARET:a4||x0((function(){var e=i4("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:u4,UNSUPPORTED_Y:a4},l4=Object.keys||function(e){return k2(e,B2)},c4=O0?Object.defineProperties:function(e,t){$1(e);for(var n,r=q0(t),o=l4(t),i=o.length,a=0;i>a;)W1.f(e,n=o[a++],r[n]);return e},f4=Z0("document","documentElement"),d4=n2("IE_PROTO"),p4=function(){},h4=function(e){return"<script>"+e+"<\/script>"},v4=function(e){e.write(h4("")),e.close();var t=e.parentWindow.Object;return e=null,t},g4=function(){try{r4=new ActiveXObject("htmlfile")}catch(e){}var e,t;g4="undefined"!=typeof document?document.domain&&r4?v4(r4):((t=L1("iframe")).style.display="none",f4.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h4("document.F=Object")),e.close(),e.F):v4(r4);for(var n=B2.length;n--;)delete g4.prototype[B2[n]];return g4()};r2[d4]=!0;var y4,m4,b4=Object.create||function(e,t){var n;return null!==e?(p4.prototype=$1(e),n=new p4,p4.prototype=null,n[d4]=e):n=g4(),void 0===t?n:c4(n,t)},E4=A0.RegExp,w4=x0((function(){var e=E4(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),S4=A0.RegExp,C4=x0((function(){var e=S4("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),D4=f2.get,A4=m1("native-string-replace",String.prototype.replace),x4=RegExp.prototype.exec,O4=x4,T4=j0("".charAt),N4=j0("".indexOf),k4=j0("".replace),B4=j0("".slice),I4=(m4=/b*/g,N0(x4,y4=/a/,"a"),N0(x4,m4,"a"),0!==y4.lastIndex||0!==m4.lastIndex),F4=s4.BROKEN_CARET,P4=void 0!==/()??/.exec("")[1];(I4||P4||F4||w4||C4)&&(O4=function(e){var t,n,r,o,i,a,u,s=this,l=D4(s),c=e4(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=N0(O4,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=F4&&s.sticky,h=N0(o4,s),v=s.source,g=0,y=c;if(p&&(h=k4(h,"y",""),-1===N4(h,"g")&&(h+="g"),y=B4(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==T4(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),P4&&(n=new RegExp("^"+v+"$(?!\\s)",h)),I4&&(r=s.lastIndex),o=N0(x4,p?n:s,y),p?o?(o.input=B4(o.input,g),o[0]=B4(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:I4&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),P4&&o&&o.length>1&&N0(A4,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=b4(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var R4=O4;W2({target:"RegExp",proto:!0,forced:/./.exec!==R4},{exec:R4});var _4=Array.isArray||function(e){return"Array"==H0(e)},L4=function(){},j4=[],M4=Z0("Reflect","construct"),z4=/^\s*(?:class|function)\b/,H4=j0(z4.exec),U4=!z4.exec(L4),$4=function(e){if(!K0(e))return!1;try{return M4(L4,j4,e),!0}catch(e){return!1}},V4=!M4||x0((function(){var e;return $4($4.call)||!$4(Object)||!$4((function(){e=!0}))||e}))?function(e){if(!K0(e))return!1;switch(J2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return U4||!!H4(z4,J1(e))}:$4,G4=function(e,t,n){var r=P1(t);r in e?W1.f(e,r,F0(0,n)):e[r]=n},W4=B1("species"),q4=function(e){return o1>=51||!x0((function(){var t=[];return(t.constructor={})[W4]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},K4=j0([].slice),Y4=q4("slice"),X4=B1("species"),Z4=A0.Array,J4=Math.max;W2({target:"Array",proto:!0,forced:!Y4},{slice:function(e,t){var n,r,o,i=q0(this),a=A2(i),u=S2(e,a),s=S2(void 0===t?a:t,a);if(_4(i)&&(n=i.constructor,(V4(n)&&(n===Z4||_4(n.prototype))||Y0(n)&&null===(n=n[X4]))&&(n=void 0),n===Z4||void 0===n))return K4(i,u,s);for(r=new(void 0===n?Z4:n)(J4(s-u,0)),o=0;u<s;u++,o++)u in i&&G4(r,o,i[u]);return r.length=o,r}});var Q4=function(){return Q4=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Q4.apply(this,arguments)};function e6(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function t6(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function n6(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function r6(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var o6=B1("unscopables"),i6=Array.prototype;null==i6[o6]&&W1.f(i6,o6,{configurable:!0,value:b4(null)});var a6,u6,s6,l6=function(e){i6[o6][e]=!0},c6={},f6=!x0((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),d6=n2("IE_PROTO"),p6=A0.Object,h6=p6.prototype,v6=f6?p6.getPrototypeOf:function(e){var t=E1(e);if(S1(t,d6))return t[d6];var n=t.constructor;return K0(n)&&t instanceof n?n.prototype:t instanceof p6?h6:null},g6=B1("iterator"),y6=!1;[].keys&&("next"in(s6=[].keys())?(u6=v6(v6(s6)))!==Object.prototype&&(a6=u6):y6=!0);var m6=null==a6||x0((function(){var e={};return a6[g6].call(e)!==e}));m6&&(a6={}),K0(a6[g6])||g2(a6,g6,(function(){return this}));var b6={IteratorPrototype:a6,BUGGY_SAFARI_ITERATORS:y6},E6=W1.f,w6=B1("toStringTag"),S6=function(e,t,n){e&&!S1(e=n?e:e.prototype,w6)&&E6(e,w6,{configurable:!0,value:t})},C6=b6.IteratorPrototype,D6=function(){return this},A6=A0.String,x6=A0.TypeError,O6=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=j0(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return $1(n),function(e){if("object"==typeof e||K0(e))return e;throw x6("Can't set "+A6(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),T6=v2.PROPER,N6=v2.CONFIGURABLE,k6=b6.IteratorPrototype,B6=b6.BUGGY_SAFARI_ITERATORS,I6=B1("iterator"),F6=function(){return this},P6=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=b4(C6,{next:F0(1,n)}),S6(e,o,!1),c6[o]=D6}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!B6&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[I6]||p["@@iterator"]||o&&p[o],v=!B6&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=v6(g.call(new e)))!==Object.prototype&&u.next&&(v6(u)!==k6&&(O6?O6(u,k6):K0(u[I6])||g2(u,I6,F6)),S6(u,f,!0)),T6&&"values"==o&&h&&"values"!==h.name&&(N6?q1(p,"name","values"):(d=!0,v=function(){return N0(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(B6||d||!(l in p))&&g2(p,l,s[l]);else W2({target:t,proto:!0,forced:B6||d},s);return p[I6]!==v&&g2(p,I6,v,{name:o}),c6[t]=v,s},R6=f2.set,_6=f2.getterFor("Array Iterator"),L6=P6(Array,"Array",(function(e,t){R6(this,{type:"Array Iterator",target:q0(e),index:0,kind:t})}),(function(){var e=_6(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");c6.Arguments=c6.Array,l6("keys"),l6("values"),l6("entries");var j6=K2?{}.toString:function(){return"[object "+J2(this)+"]"};K2||g2(Object.prototype,"toString",j6,{unsafe:!0});var M6=j0("".charAt),z6=j0("".charCodeAt),H6=j0("".slice),U6=function(e){return function(t,n){var r,o,i=e4(W0(t)),a=b2(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=z6(i,a))<55296||r>56319||a+1===u||(o=z6(i,a+1))<56320||o>57343?e?M6(i,a):r:e?H6(i,a,a+2):o-56320+(r-55296<<10)+65536}},$6={codeAt:U6(!1),charAt:U6(!0)},V6=$6.charAt,G6=f2.set,W6=f2.getterFor("String Iterator");P6(String,"String",(function(e){G6(this,{type:"String Iterator",string:e4(e),index:0})}),(function(){var e,t=W6(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=V6(n,r),t.index+=e.length,{value:e,done:!1})}));var q6=A0.Array,K6=Math.max,Y6=function(e,t,n){for(var r=A2(e),o=S2(t,r),i=S2(void 0===n?r:n,r),a=q6(K6(i-o,0)),u=0;o<i;o++,u++)G4(a,u,e[o]);return a.length=u,a},X6=F2.f,Z6="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],J6={f:function(e){return Z6&&"Window"==H0(e)?function(e){try{return X6(e)}catch(e){return Y6(Z6)}}(e):X6(q0(e))}},Q6=x0((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),e3=Object.isExtensible,t3=x0((function(){e3(1)}))||Q6?function(e){return!!Y0(e)&&(!Q6||"ArrayBuffer"!=H0(e))&&(!e3||e3(e))}:e3,n3=!x0((function(){return Object.isExtensible(Object.preventExtensions({}))})),r3=w0((function(e){var t=W1.f,n=!1,r=x1("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=F2.f,t=j0([].splice),o={};o[r]=1,e(o).length&&(F2.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},W2({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:J6.f}))},fastKey:function(e,t){if(!Y0(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!S1(e,r)){if(!t3(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!S1(e,r)){if(!t3(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return n3&&n&&t3(e)&&!S1(e,r)&&i(e),e}};r2[r]=!0})),o3=j0(j0.bind),i3=function(e,t){return d1(e),void 0===t?e:o3?o3(e,t):function(){return e.apply(t,arguments)}},a3=B1("iterator"),u3=Array.prototype,s3=B1("iterator"),l3=function(e){if(null!=e)return p1(e,s3)||p1(e,"@@iterator")||c6[J2(e)]},c3=A0.TypeError,f3=function(e,t,n){var r,o;$1(e);try{if(!(r=p1(e,"return"))){if("throw"===t)throw n;return n}r=N0(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return $1(r),n},d3=A0.TypeError,p3=function(e,t){this.stopped=e,this.result=t},h3=p3.prototype,v3=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=i3(t,f),g=function(e){return r&&f3(r,"normal",e),new p3(!0,e)},y=function(e){return d?($1(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=l3(e)))throw d3(c1(e)+" is not iterable");if(void 0!==(c=o)&&(c6.Array===c||u3[a3]===c)){for(i=0,a=A2(e);a>i;i++)if((u=y(e[i]))&&J0(h3,u))return u;return new p3(!1)}r=function(e,t){var n=arguments.length<2?l3(e):t;if(d1(n))return $1(N0(n,e));throw c3(c1(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=N0(s,r)).done;){try{u=y(l.value)}catch(e){f3(r,"throw",e)}if("object"==typeof u&&u&&J0(h3,u))return u}return new p3(!1)},g3=A0.TypeError,y3=function(e,t){if(J0(t,e))return e;throw g3("Incorrect invocation")},m3=B1("iterator"),b3=!1;try{var E3=0,w3={next:function(){return{done:!!E3++}},return:function(){b3=!0}};w3[m3]=function(){return this},Array.from(w3,(function(){throw 2}))}catch(Ml){}var S3=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=A0[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=j0(u[e]);g2(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!Y0(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!Y0(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!Y0(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(V2(e,!K0(a)||!(o||u.forEach&&!x0((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),r3.enable();else if(V2(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=x0((function(){f.has(1)})),h=function(e,t){if(!b3)return!1;var n=!1;try{var r={};r[m3]=function(){return{next:function(){return{done:n=!0}}}},function(e){new a(e)}(r)}catch(e){}return n}(),v=!o&&x0((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){y3(e,u);var n=function(e,t,n){var r,o;return O6&&K0(r=t.constructor)&&r!==n&&Y0(o=r.prototype)&&o!==n.prototype&&O6(e,o),e}(new a,e,s);return null!=t&&v3(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,W2({global:!0,forced:s!=a},l),S6(s,e),o||n.setStrong(s,e,r),s},C3=function(e,t,n){for(var r in t)g2(e,r,t[r],n);return e},D3=B1("species"),A3=A0.Array,x3=function(e,t){return new(function(e){var t;return _4(e)&&(t=e.constructor,(V4(t)&&(t===A3||_4(t.prototype))||Y0(t)&&null===(t=t[D3]))&&(t=void 0)),void 0===t?A3:t}(e))(0===t?0:t)},O3=j0([].push),T3=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=E1(s),v=V0(h),g=i3(l,c),y=A2(v),m=0,b=f||x3,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:O3(E,d)}else switch(e){case 4:return!1;case 7:O3(E,d)}return i?-1:r||o?o:E}},N3={forEach:T3(0),map:T3(1),filter:T3(2),some:T3(3),every:T3(4),find:T3(5),findIndex:T3(6),filterReject:T3(7)},k3=r3.getWeakData,B3=f2.set,I3=f2.getterFor,F3=N3.find,P3=N3.findIndex,R3=j0([].splice),_3=0,L3=function(e){return e.frozen||(e.frozen=new j3)},j3=function(){this.entries=[]},M3=function(e,t){return F3(e.entries,(function(e){return e[0]===t}))};j3.prototype={get:function(e){var t=M3(this,e);if(t)return t[1]},has:function(e){return!!M3(this,e)},set:function(e,t){var n=M3(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=P3(this.entries,(function(t){return t[0]===e}));return~t&&R3(this.entries,t,1),!!~t}};var z3={getConstructor:function(e,t,n,r){var o=e((function(e,o){y3(e,i),B3(e,{type:t,id:_3++,frozen:void 0}),null!=o&&v3(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=I3(t),u=function(e,t,n){var r=a(e),o=k3($1(t),!0);return!0===o?L3(r).set(t,n):o[r.id]=n,e};return C3(i,{delete:function(e){var t=a(this);if(!Y0(e))return!1;var n=k3(e);return!0===n?L3(t).delete(e):n&&S1(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!Y0(e))return!1;var n=k3(e);return!0===n?L3(t).has(e):n&&S1(n,t.id)}}),C3(i,n?{get:function(e){var t=a(this);if(Y0(e)){var n=k3(e);return!0===n?L3(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}};S3("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),z3);var H3={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},U3=L1("span").classList,$3=U3&&U3.constructor&&U3.constructor.prototype,V3=$3===Object.prototype?void 0:$3,G3=B1("iterator"),W3=B1("toStringTag"),q3=L6.values,K3=function(e,t){if(e){if(e[G3]!==q3)try{q1(e,G3,q3)}catch(t){e[G3]=q3}if(e[W3]||q1(e,W3,t),H3[t])for(var n in L6)if(e[n]!==L6[n])try{q1(e,n,L6[n])}catch(t){e[n]=L6[n]}}};for(var Y3 in H3)K3(A0[Y3]&&A0[Y3].prototype,Y3);K3(V3,"DOMTokenList");var X3,Z3=f2.enforce,J3=!A0.ActiveXObject&&"ActiveXObject"in A0,Q3=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},e5=S3("WeakMap",Q3,z3);if(e2&&J3){X3=z3.getConstructor(Q3,"WeakMap",!0),r3.enable();var t5=e5.prototype,n5=j0(t5.delete),r5=j0(t5.has),o5=j0(t5.get),i5=j0(t5.set);C3(t5,{delete:function(e){if(Y0(e)&&!t3(e)){var t=Z3(this);return t.frozen||(t.frozen=new X3),n5(this,e)||t.frozen.delete(e)}return n5(this,e)},has:function(e){if(Y0(e)&&!t3(e)){var t=Z3(this);return t.frozen||(t.frozen=new X3),r5(this,e)||t.frozen.has(e)}return r5(this,e)},get:function(e){if(Y0(e)&&!t3(e)){var t=Z3(this);return t.frozen||(t.frozen=new X3),r5(this,e)?o5(this,e):t.frozen.get(e)}return o5(this,e)},set:function(e,t){if(Y0(e)&&!t3(e)){var n=Z3(this);n.frozen||(n.frozen=new X3),r5(this,e)?i5(this,e,t):n.frozen.set(e,t)}else i5(this,e,t);return this}})}var a5=new WeakMap,u5=new WeakMap,s5=N3.map,l5=q4("map");W2({target:"Array",proto:!0,forced:!l5},{map:function(e){return s5(this,e,arguments.length>1?arguments[1]:void 0)}});var c5=O2.includes;W2({target:"Array",proto:!0},{includes:function(e){return c5(this,e,arguments.length>1?arguments[1]:void 0)}}),l6("includes");var f5=B1("match"),d5=function(e){var t;return Y0(e)&&(void 0!==(t=e[f5])?!!t:"RegExp"==H0(e))},p5=A0.TypeError,h5=function(e){if(d5(e))throw p5("The method doesn't accept regular expressions");return e},v5=B1("match"),g5=j0("".indexOf);W2({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[v5]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~g5(e4(W0(this)),e4(h5(e)),arguments.length>1?arguments[1]:void 0)}});var y5={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function m5(e){return!Nf.isEditor(e)&&Cf.isElement(e)&&"type"in e}function b5(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=y5,o=t.map((function(e){var t;return null===(t=null==r?void 0:r.blocks)||void 0===t?void 0:t[e]}));return function(e){return m5(e)&&o.includes(e.type)}}function E5(e,t){for(var n=n6(t,2),r=n[0],o=n[1],i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var u=n6(Rf.common(e,r,o),2),s=u[0],l=u[1];return!!b5.apply(void 0,r6([e],n6(i)))(s,l)||!!Nf.above(e,{match:b5.apply(void 0,r6([e],n6(i))),at:l})}function w5(e,t){var n,r;void 0===t&&(t={});var o=[];try{for(var i=t6(function(e,t){var n,r,o,i,a,u,s,l,c,f,d,p,h,v,g,y,m,b;return void 0===t&&(t={}),e6(this,(function(E){switch(E.label){case 0:if(n=n6(Nf.nodes(e,{match:b5(e,"table"),at:t.at}),1),!(r=n[0]))return[2,[]];o=n6(r,2),i=o[1],E.label=1;case 1:E.trys.push([1,6,7,8]),a=t6(Nf.nodes(e,{match:b5(e,"table"),at:i})),u=a.next(),E.label=2;case 2:if(u.done)return[3,5];s=n6(u.value,2),l=s[1],c=[];try{for(m=void 0,f=t6(Nf.nodes(e,{match:b5(e,"tr"),at:l})),d=f.next();!d.done;d=f.next())p=n6(d.value,2),h=p[1],c.push(r6([],n6(Nf.nodes(e,{match:b5(e,"th","td"),at:h}))))}catch(e){m={error:e}}finally{try{d&&!d.done&&(b=f.return)&&b.call(f)}finally{if(m)throw m.error}}return[4,c];case 3:E.sent(),E.label=4;case 4:return u=a.next(),[3,2];case 5:return[3,8];case 6:return v=E.sent(),g={error:v},[3,8];case 7:try{u&&!u.done&&(y=a.return)&&y.call(a)}finally{if(g)throw g.error}return[7];case 8:return[2]}}))}(e,{at:t.at})),a=i.next();!a.done;a=i.next()){for(var u=a.value,s=[],l=0;l<u.length;l++){s[l]||(s[l]=[]);for(var c=0;c<u[l].length;c++)for(var f=n6(u[l][c],1)[0],d=f.rowSpan,p=void 0===d?1:d,h=f.colSpan,v=void 0===h?1:h,g=0;g<v+0;g++)for(var y=0;y<p;y++)s[l+y]||(s[l+y]=[]),s[l+y][c+g]||(s[l+y][c+g]=[u[l+y][c+g],{rtl:g-0+1,ltr:v-g+0,ttb:y+1,btt:p-y}])}o.push.apply(o,r6([],n6(s)))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}var S5=function(){function e(e,t){this.x=e,this.y=t}return e.valueOf=function(e,t){return new this(e,t)},e.equals=function(e,t){return e.x===t.x&&e.y===t.y},e}(),C5={isInTable:function(e,t){return void 0===t&&(t={}),!!n6(Nf.nodes(e,{match:b5(e,"table"),at:t.at}),1)[0]},selection:function(e){var t,n,r,o,i,a,u,s;return e6(this,(function(l){switch(l.label){case 0:t=a5.get(e),n=0,l.label=1;case 1:if(!(t&&n<t.length))return[3,4];for(r=[],o=0;o<t[n].length;o++)i=n6(t[n][o],2),a=i[0],u=i[1],s=u.ltr,1===u.ttb&&r.push(a),o+=s-1;return[4,r];case 2:l.sent(),l.label=3;case 3:return n++,[3,1];case 4:return[2]}}))},unselect:function(e){var t;u5.delete(e),a5.delete(e),null===(t=document.getSelection())||void 0===t||t.removeAllRanges()},isSelected:function(e,t){var n=u5.get(e);return!!n&&n.has(t)}};function D5(e){var t=e.selection;if(null==t)return!1;var n=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell")}}),1)[0];if(n){var r=n6(n,2)[1],o=Nf.start(e,r);if($f.equals(t.anchor,o))return!0}return!1}function A5(e,t){var n,r,o=Nf.nodes(e,{at:t,match:function(e){return"table"===QO.getNodeType(e)}}),i=!1;try{for(var a=t6(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}var x5=N3.find,O5=!0;"find"in[]&&Array(1).find((function(){O5=!1})),W2({target:"Array",proto:!0,forced:O5},{find:function(e){return x5(this,e,arguments.length>1?arguments[1]:void 0)}}),l6("find");var T5=Function.prototype,N5=T5.apply,k5=T5.bind,B5=T5.call,I5="object"==typeof Reflect&&Reflect.apply||(k5?B5.bind(N5):function(){return B5.apply(N5,arguments)}),F5=B1("species"),P5=RegExp.prototype,R5=function(e,t,n,r){var o=B1(e),i=!x0((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!x0((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[F5]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=j0(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=j0(e),s=t.exec;return s===R4||s===P5.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));g2(String.prototype,e,s[0]),g2(P5,o,s[1])}r&&q1(P5[o],"sham",!0)},_5=A0.TypeError,L5=B1("species"),j5=$6.charAt,M5=function(e,t,n){return t+(n?j5(e,t).length:1)},z5=A0.TypeError,H5=function(e,t){var n=e.exec;if(K0(n)){var r=N0(n,e,t);return null!==r&&$1(r),r}if("RegExp"===H0(e))return N0(R4,e,t);throw z5("RegExp#exec called on incompatible receiver")},U5=s4.UNSUPPORTED_Y,$5=Math.min,V5=[].push,G5=j0(/./.exec),W5=j0(V5),q5=j0("".slice);R5("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=e4(W0(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!d5(e))return N0(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=N0(R4,f,r))&&!((a=f.lastIndex)>c&&(W5(s,q5(r,c,i.index)),i.length>1&&i.index<r.length&&I5(V5,s,Y6(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&G5(f,"")||W5(s,""):W5(s,q5(r,c)),s.length>o?Y6(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:N0(t,this,e,n)}:t,[function(t,n){var o=W0(this),i=null==t?void 0:p1(t,e);return i?N0(i,t,o,n):N0(r,e4(o),t,n)},function(e,o){var i=$1(this),a=e4(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=$1(e).constructor;return void 0===r||null==(n=$1(r)[L5])?t:function(e){if(V4(e))return e;throw _5(c1(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(U5?"g":"y"),f=new s(U5?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===H5(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=U5?0:h;var g,y=H5(f,U5?q5(a,h):a);if(null===y||(g=$5(D2(f.lastIndex+(U5?h:0)),a.length))===p)h=M5(a,h,l);else{if(W5(v,q5(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(W5(v,y[m]),v.length===d)return v;h=p=g}}return W5(v,q5(a,p)),v}]}),!!x0((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),U5);var K5="\t\n\v\f\r                 \u2028\u2029\ufeff",Y5=j0("".replace),X5="["+K5+"]",Z5=RegExp("^"+X5+X5+"*"),J5=RegExp(X5+X5+"*$"),Q5=function(e){return function(t){var n=e4(W0(t));return 1&e&&(n=Y5(n,Z5,"")),2&e&&(n=Y5(n,J5,"")),n}},e8={start:Q5(1),end:Q5(2),trim:Q5(3)},t8=v2.PROPER,n8=e8.trim;function r8(e){return e.length?e[0].tagName.toLowerCase():""}W2({target:"String",proto:!0,forced:function(e){return x0((function(){return!!K5[e]()||"​…᠎"!=="​…᠎"[e]()||t8&&K5[e].name!==e}))}("trim")},{trim:function(){return n8(this)}}),W2({global:!0},{globalThis:A0}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Wp&&(Mp.fn.val=Wp),rh&&(Mp.fn.html=rh),Gp&&(Mp.fn.dataset=Gp),zp&&(Mp.fn.addClass=zp),Hp&&(Mp.fn.removeClass=Hp),fh&&(Mp.fn.children=fh),th&&(Mp.fn.each=th),ch&&(Mp.fn.find=ch);var o8=null,i8=!1,a8=!1,u8=0,s8=0,l8=null,c8=Mp(window);c8.on("mousedown",(function(e){var t=e.target;if(t.closest('[data-block-type="table-cell"]'))i8=!0;else if("DIV"==t.tagName&&t.closest(".column-resizer-item")){if(null==l8)return;var n=n6(Nf.nodes(l8,{match:b5(l8,"table")}),1),r=n6(n[0],1)[0],o=r.width,i=void 0===o?"auto":o,a=r.columnWidths,u=void 0===a?[]:a,s=r.resizingIndex,l=void 0===s?-1:s;if("100%"==i)return;a8=!0;var c=e.clientX;u8=c,s8=u[l],document.body.style.cursor="col-resize",e.preventDefault()}c8.on("mousemove",f8),c8.on("mouseup",d8)}));var f8=ev((function(e){if(a8&&null!=l8){e.preventDefault();var t=e.clientX,n=s8+(t-u8);(n=Math.floor(100*n)/100)<30&&(n=30);var r=n6(Nf.nodes(l8,{match:b5(l8,"table")}),1),o=n6(r[0],1)[0],i=o.columnWidths,a=void 0===i?[]:i,u=o.resizingIndex,s=void 0===u?-1:u,l=o.scrollWidth,c=void 0===l?0:l,f=a.reduce((function(e,t){return e+t}),0),d=f-a[s];f>c&&d+n>c&&(n=c-d+.5);var p=r6([],n6(a)).map((function(e){return Math.floor(e)}));p[s]=n,md.setNodes(l8,{columnWidths:p},{mode:"highest"})}}),100);function d8(e){i8=!1,a8=!1,l8=null,document.body.style.cursor="",c8.off("mousemove",f8),c8.off("mouseup",d8)}function p8(e,t){"mouseenter"===t.type?md.setNodes(e,{isResizing:!0},{mode:"highest"}):md.setNodes(e,{isResizing:!1},{mode:"highest"})}function h8(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function v8(e){return h8(e).every((function(e){return!!e.isHeader}))}var g8={type:"table",renderElem:function(e,t,n){var r=function(e,t){if(e.isDisabled())return!1;var n=e.selection;if(null==n)return!0;if(qf.isCollapsed(n))return!0;var r=n.anchor,o=n.focus,i=QO.findPath(e,t),a=Nf.start(e,i),u=Nf.end(e,i),s=$f.compare(r,u)<=0&&$f.compare(r,a)>=0,l=$f.compare(o,u)<=0&&$f.compare(o,a)>=0;return!!(s&&l&&Mf.equals(r.path.slice(0,3),o.path.slice(0,3)))}(n,e),o=e,i=o.width,a=void 0===i?"auto":i,u=o.height,s=o.columnWidths,l=void 0===s?[]:s,c=o.scrollWidth,f=void 0===c?0:c,d=o.isHoverCellBorder,p=o.resizingIndex,h=o.isResizing,v=QO.isNodeSelected(n,e),g=n6(C5.selection(n),1)[0],y=function(e){var t,n,r=[],o=e.reduce((function(e,t){return e+t}),0);try{for(var i=t6(e),a=i.next();!a.done;a=i.next()){var u=a.value;r.push(u/o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}(l),m=Fv("div",{className:"table-container","data-selected":v,on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!n.isDisabled()){t.target.closest('[data-block-type="table-cell"]')&&C5.unselect(n);var r=QO.findPath(n,e),o=Nf.start(n,r),i=n.selection;null!=i?i.anchor.path[0]!==r[0]&&n.select(o):n.select(o)}}}},Fv("table",{width:a,contentEditable:r,className:"table "+(g?"table-selection-none":""),style:{width:"100%"==a?"":l.reduce((function(e,t){return e+t}),0)+"px"},on:{mousemove:Zg((function(t){return function(e,t,n){if(!e.isDisabled()&&!i8&&!a8){var r=t,o=r.width,i=void 0===o?"auto":o,a=r.columnWidths,u=void 0===a?[]:a,s=r.isHoverCellBorder,l=r.resizingIndex;if("100%"!=i){var c=n.clientX,f=n.target;if(f instanceof HTMLElement&&c>(h=f.getBoundingClientRect()).x+5&&c<h.x+h.width-5)return void(s&&md.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(f instanceof HTMLElement){var d=f.closest(".table");if(d)for(var p=n.clientX,h=d.getBoundingClientRect(),v=function(e){var t,n,r=[],o=0;try{for(var i=t6(e),a=i.next();!a.done;a=i.next())o+=a.value,r.push(o)}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}(u),g=0;g<v.length;g++)if(p-h.x>=v[g]-5&&p-h.x<v[g]+5){if(l==g)return;return void md.setNodes(e,{isHoverCellBorder:!0,resizingIndex:g},{mode:"highest"})}}1==s&&md.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}}(n,e,t)}),25)}},Fv("colgroup",{contentEditable:!1},l.map((function(e){return Fv("col",{width:e})}))),Fv("tbody",null,t)),Fv("div",{className:"column-resizer",contenteditable:"false"},l.map((function(e,t){var r=e;return"100%"==a&&(r=y[t]*f),Fv("div",{className:"column-resizer-item",style:{minWidth:r+"px"}},Fv("div",{className:"resizer-line-hotzone "+(d&&t==p?"visible ":"")+(h&&t==p?"highlight":""),style:{height:u+"px"},on:{mouseenter:function(e){return p8(n,e)},mouseleave:function(e){return p8(n,e)},mousedown:function(e){return function(e,t){a8||(l8=e)}(n)}}},Fv("div",{className:"resizer-line"})))})))),b=pv("div",{hook:{insert:function(e){var t=e.elm;return function(e,t){if(t instanceof HTMLElement){var n=t.querySelector("table");n&&(o8=new ResizeObserver((function(t){var n=n6(t,1)[0].contentRect;md.setNodes(e,{scrollWidth:n.width,height:n.height},{mode:"highest"})}))).observe(n)}}(n,t)},destroy:function(){o8&&(null==o8||o8.disconnect(),o8=null)}}},m);return b}},y8={type:"table-row",renderElem:function(e,t,n){return Fv("tr",null,t)}},m8={type:"table-cell",renderElem:function(e,t,n){var r=function(e,t){var n=QO.getParentNode(e,t);if(null==n)return!1;var r=QO.getParentNode(e,n);return null!=r&&h8(r).some((function(e){return e===t}))}(n,e),o=e,i=o.colSpan,a=void 0===i?1:i,u=o.rowSpan,s=void 0===u?1:u,l=o.isHeader,c=void 0!==l&&l,f=o.hidden,d=void 0!==f&&f;return Fv(r&&c?"th":"td",{colSpan:a,rowSpan:s,"data-block-type":"table-cell",className:C5.isSelected(n,e)?"w-e-selected":"",style:{display:d?"none":""}},t)}},b8={selector:"table",preParseHtml:function(e){var t=Mp(e);if("table"!==r8(t))return e;var n=t.find("tbody");if(0===n.length)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}},E8=N3.filter,w8=q4("filter");W2({target:"Array",proto:!0,forced:!w8},{filter:function(e){return E8(this,e,arguments.length>1?arguments[1]:void 0)}});var S8=Math.floor,C8=j0("".charAt),D8=j0("".replace),A8=j0("".slice),x8=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,O8=/\$([$&'`]|\d{1,2})/g,T8=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=O8;return void 0!==o&&(o=E1(o),s=x8),D8(i,s,(function(i,s){var l;switch(C8(s,0)){case"$":return"$";case"&":return e;case"`":return A8(t,0,n);case"'":return A8(t,a);case"<":l=o[A8(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=S8(c/10);return 0===f?i:f<=u?void 0===r[f-1]?C8(s,1):r[f-1]+C8(s,1):i}l=r[c-1]}return void 0===l?"":l}))},N8=B1("replace"),k8=Math.max,B8=Math.min,I8=j0([].concat),F8=j0([].push),P8=j0("".indexOf),R8=j0("".slice),_8="$0"==="a".replace(/./,"$0"),L8=!!/./[N8]&&""===/./[N8]("a","$0");R5("replace",(function(e,t,n){var r=L8?"$":"$0";return[function(e,n){var r=W0(this),o=null==e?void 0:p1(e,N8);return o?N0(o,e,r,n):N0(t,e4(r),e,n)},function(e,o){var i=$1(this),a=e4(e);if("string"==typeof o&&-1===P8(o,r)&&-1===P8(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=K0(o);s||(o=e4(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=H5(i,a);if(null===d)break;if(F8(f,d),!l)break;""===e4(d[0])&&(i.lastIndex=M5(a,D2(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=e4((d=f[g])[0]),m=k8(B8(b2(d.index),a.length),0),b=[],E=1;E<d.length;E++)F8(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=I8([y],b,m,a);void 0!==w&&F8(S,w);var C=e4(I5(o,void 0,S))}else C=T8(y,a,m,b,w,o);m>=v&&(h+=R8(a,v,m)+C,v=m+y.length)}return h+R8(a,v)}]}),!!x0((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!_8||L8),W2({target:"Array",proto:!0},{fill:function(e){for(var t=E1(this),n=A2(t),r=arguments.length,o=S2(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:S2(i,n);a>o;)t[o++]=e;return t}}),l6("fill");var j8={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===r8(r),colSpan:o,rowSpan:i,width:a,children:t}}},M8={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter((function(e){return"table-cell"===QO.getNodeType(e)}))}}},z8={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r,o=Mp(e),i="auto";"100%"===function(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");"width"===u[0].trim()&&(n=u[1].trim())}}return n}(o)&&(i="100%"),"100%"===o.attr("width")&&(i="100%");var a={type:"table",width:i,children:t.filter((function(e){return"table-row"===QO.getNodeType(e)}))},u=null===(r=o.find("tr")[0])||void 0===r?void 0:r.children.length;return u>0&&(a.columnWidths=Array(u).fill(180)),a}},H8=v2.PROPER,U8=RegExp.prototype,$8=U8.toString,V8=j0(o4),G8=x0((function(){return"/a/b"!=$8.call({source:"a",flags:"b"})})),W8=H8&&"toString"!=$8.name;(G8||W8)&&g2(RegExp.prototype,"toString",(function(){var e=$1(this),t=e4(e.source),n=e.flags;return"/"+t+"/"+e4(void 0===n&&J0(U8,e)&&!("flags"in U8)?V8(e):n)}),{unsafe:!0});var q8=function(){function e(){this.title=UF("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!QO.getSelectedElems(e).some((function(t){var n=QO.getNodeType(t);return"pre"===n||"table"===n||"list-item"===n||!!e.isVoid(t)}))},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var n=Mp('<div class="w-e-panel-content-table"></div>'),r=Mp("<span>0 &times; 0</span>"),o=Mp("<table></table>"),i=0;i<10;i++){for(var a=Mp("<tr></tr>"),u=0;u<10;u++){var s=Mp("<td></td>");s.attr("data-x",u.toString()),s.attr("data-y",i.toString()),a.append(s),s.on("mouseenter",(function(e){var t=e.target;if(null!=t){var n=Mp(t).dataset(),i=n.x,a=n.y;r[0].innerHTML=i+1+" &times; "+(a+1),o.children().each((function(e){Mp(e).children().each((function(e){var t=Mp(e),n=t.dataset(),r=n.x,o=n.y;r<=i&&o<=a?t.addClass("active"):t.removeClass("active")}))}))}})),s.on("click",(function(n){n.preventDefault();var r=n.target;if(null!=r){var o=Mp(r).dataset(),i=o.x,a=o.y;t.insertTable(e,a+1,i+1)}}))}o.append(a)}return n.append(o),n.append(r),this.$content=n,n[0]},e.prototype.insertTable=function(e,t,n){var r=parseInt(t,10),o=parseInt(n,10);if(r&&o&&!(r<=0||o<=0)){QO.isSelectedEmptyParagraph(e)&&md.removeNodes(e,{mode:"highest"}),0===e.children.length&&md.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"});var i=function(e,t){for(var n=[],r=Array(t).fill(60),o=0;o<e;o++){for(var i=[],a=0;a<t;a++){var u={type:"table-cell",children:[{text:""}]};0===o&&(u.isHeader=!0),i.push(u)}n.push({type:"table-row",children:i})}return{type:"table",width:"auto",children:n,columnWidths:r}}(r,o);md.insertNodes(e,i,{mode:"highest"})}},e}(),K8=function(){function e(){this.title=UF("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==QO.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||md.removeNodes(e,{mode:"highest"})},e}(),Y8=function(){function e(){this.title=UF("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell")},universal:!0}),1),r=n6(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(0!==u){var s=w5(e),l=0;e:for(var c=0;c<s.length;c++)for(var f=0;f<s[c].length;f++){var d=n6(s[c][f],1),p=n6(d[0],2)[1];if(Mf.equals(i,p)){l=c;break e}}Nf.withoutNormalizing(e,(function(){for(var t=l+1,n=t>=0&&t<s.length,r=[],o=0;n&&o<s[l].length;o++){var a=n6(s[l][o],2)[1],c=a.ttb,f=a.btt;if(c>1||f>1){if(1==f)continue;var d=n6(s[l-(c-1)][o],1),p=n6(d[0],2),h=p[0],v=p[1],g=h.rowSpan||1;r.push(o),h.hidden||md.setNodes(e,{rowSpan:g+1},{at:v})}}for(var y={type:"table-row",children:[]},m=0;m<u;m++){var b={type:"table-cell",hidden:r.includes(m),children:[{text:""}]};y.children.push(b)}var E=Mf.parent(i),w=Mf.next(E);md.insertNodes(e,y,{at:w})}))}}},e}(),X8=function(){function e(){this.title=UF("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table-row")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-row")},universal:!0}),1),r=n6(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o);if(((null==a?void 0:a.children.length)||0)<=1)md.removeNodes(e,{mode:"highest"});else{var u=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell")},universal:!0}),1),s=n6(u[0],2)[1],l=w5(e),c=0;e:for(var f=0;f<l.length;f++)for(var d=0;d<l[f].length;d++){var p=n6(l[f][d],1),h=n6(p[0],2)[1];if(Mf.equals(s,h)){c=f;break e}}Nf.withoutNormalizing(e,(function(){for(var t,n,r=0;r<l[c].length;r++){var o=n6(l[c][r],2),a=n6(o[0],1)[0].hidden,u=o[1],s=u.ttb,f=u.btt;if(s>1||f>1){var d=n6(l[c-(s-1)][r],1),p=n6(d[0],2),h=p[0],v=h.rowSpan,g=void 0===v?1:v,y=h.colSpan,m=void 0===y?1:y,b=p[1];if(a)md.setNodes(e,{rowSpan:Math.max(g-1,1),colSpan:m},{at:b});else{var E=n6(l[c+1][r],1),w=n6(E[0],2)[1];md.setNodes(e,{rowSpan:g-1,colSpan:m,hidden:!1},{at:w});try{for(var S=(t=void 0,t6(Rf.children(e,b,{reverse:!0}))),C=S.next();!C.done;C=S.next()){var D=n6(C.value,2)[1];md.moveNodes(e,{to:r6(r6([],n6(w)),[0]),at:D})}}catch(e){t={error:e}}finally{try{C&&!C.done&&(n=S.return)&&n.call(S)}finally{if(t)throw t.error}}}}}md.removeNodes(e,{at:i})}))}}},e}(),Z8=q4("splice"),J8=A0.TypeError,Q8=Math.max,e7=Math.min;W2({target:"Array",proto:!0,forced:!Z8},{splice:function(e,t){var n,r,o,i,a,u,s=E1(this),l=A2(s),c=S2(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=e7(Q8(b2(t),0),l-c)),l+n-r>9007199254740991)throw J8("Maximum allowed length exceeded");for(o=x3(s,r),i=0;i<r;i++)(a=c+i)in s&&G4(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var t7=function(){function e(){this.title=UF("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell")},universal:!0}),1),r=n6(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o);if(null!=a){var u=QO.getParentNode(e,a);if(null!=u){var s=w5(e),l=0;e:for(var c=0;c<s.length;c++)for(var f=0;f<s[c].length;f++){var d=n6(s[c][f],1),p=n6(d[0],2)[1];if(Mf.equals(i,p)){l=f;break e}}Nf.withoutNormalizing(e,(function(){for(var t=[],n=0;n<s.length;n++){var r=n6(s[n][l],2)[1],o=r.ltr,i=r.rtl;if(o>1||i>1){if(1==i)continue;var a=n6(s[n][l-(i-1)],1),c=n6(a[0],2),f=c[0],d=c[1],p=f.colSpan||1;t.push(n),f.hidden||md.setNodes(e,{colSpan:p+1},{at:d})}}for(n=0;n<s.length;n++){var h={type:"table-cell",hidden:t.includes(n),children:[{text:""}]};0===n&&v8(u)&&(h.isHeader=!0);var v=n6(s[n][l],1),g=n6(v[0],2)[1];md.insertNodes(e,h,{at:g})}var y=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table")},universal:!0}),1)[0];if(y){var m=n6(y,2),b=m[0],E=m[1],w=b.columnWidths,S=r6([],n6(void 0===w?[]:w));S.splice(l,0,60),md.setNodes(e,{columnWidths:S},{at:E})}}))}}}},e}(),n7=function(){function e(){this.title=UF("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table-cell")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table-cell")},universal:!0}),1),r=n6(n[0],2),o=r[0],i=r[1],a=QO.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(!a||u<=1)md.removeNodes(e,{mode:"highest"});else if(null!=QO.getParentNode(e,a)){var s=w5(e),l=0;e:for(var c=0;c<s.length;c++)for(var f=0;f<s[c].length;f++){var d=n6(s[c][f],1),p=n6(d[0],2)[1];if(Mf.equals(i,p)){l=f;break e}}Nf.withoutNormalizing(e,(function(){for(var t,n,r=0;r<s.length;r++){var o=n6(s[r][l],2),i=n6(o[0],1)[0].hidden,a=o[1],u=a.rtl,c=a.ltr;if(u>1||c>1){var f=n6(s[r][l-(u-1)],1),d=n6(f[0],2),p=d[0],h=p.rowSpan,v=void 0===h?1:h,g=p.colSpan,y=void 0===g?1:g,m=d[1];if(i)md.setNodes(e,{rowSpan:v,colSpan:Math.max(y-1,1)},{at:m});else{var b=n6(s[r][l+1],1),E=n6(b[0],2)[1];md.setNodes(e,{rowSpan:v,colSpan:y-1,hidden:!1},{at:E});try{for(var w=(t=void 0,t6(Rf.children(e,m,{reverse:!0}))),S=w.next();!S.done;S=w.next()){var C=n6(S.value,2)[1];md.moveNodes(e,{to:r6(r6([],n6(E)),[0]),at:C})}}catch(e){t={error:e}}finally{try{S&&!S.done&&(n=w.return)&&n.call(w)}finally{if(t)throw t.error}}}}}for(r=0;r<s.length;r++){var D=n6(s[r][l],1);m=n6(D[0],2)[1],md.removeNodes(e,{at:m})}var A=n6(Nf.nodes(e,{match:function(e){return QO.checkNodeType(e,"table")},universal:!0}),1)[0];if(A){var x=n6(A,2),O=x[0],T=x[1],N=O.columnWidths,k=r6([],n6(void 0===N?[]:N));k.splice(l,1),md.setNodes(e,{columnWidths:k},{at:T})}}))}}},e}(),r7=N3.forEach,o7=function(e,t){var n=[].forEach;return!!n&&x0((function(){n.call(null,(function(){throw 1}),1)}))}(),i7=o7?[].forEach:function(e){return r7(this,e,arguments.length>1?arguments[1]:void 0)},a7=function(e){if(e&&e.forEach!==i7)try{q1(e,"forEach",i7)}catch(t){e.forEach=i7}};for(var u7 in H3)H3[u7]&&a7(A0[u7]&&A0[u7].prototype);a7(V3);var s7=function(){function e(){this.title=UF("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=QO.getSelectedNodeByType(e,"table");return null!=t&&v8(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=!t,r=QO.getSelectedNodeByType(e,"table");null!=r&&h8(r).forEach((function(t){return md.setNodes(e,{isHeader:n},{at:QO.findPath(e,t)})}))}},e}(),l7=function(){function e(){this.title=UF("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=QO.getSelectedNodeByType(e,"table");return null!=t&&"100%"===t.width},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==QO.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n={width:t?"auto":"100%"};md.setNodes(e,n,{mode:"highest"})}},e}(),c7=function(){function e(){this.title=UF("tableModule.mergeCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M482.2 508.4 331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4c2.4-1.8 2.4-5.4 0-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4c-2.3 1.8-2.3 5.3 0 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return!this.canMerge(e)},e.prototype.exec=function(e,t){this.isDisabled(e)||(this.merge(e),C5.unselect(e))},e.prototype.canMerge=function(e){var t=a5.get(e);if(!t||!t.length)return!1;var n=n6(t[t.length-1][t[t.length-1].length-1],1),r=n6(n[0],2)[1],o=n6(t[0][0],1);return!!E5(e,[n6(o[0],2)[1],r],"table")},e.prototype.merge=function(e){if(this.canMerge(e)){var t=a5.get(e);if(t&&t.length){var n=n6(t[0][0],1),r=n6(n[0],2)[1],o=n6(Rf.children(e,r,{reverse:!0}),1),i=n6(o[0],2)[1];w5(e,{at:r}),Nf.withoutNormalizing(e,(function(){for(var n,o,a=0,u=0,s=t.length-1;s>=0;s--,a++){u=0;for(var l=t[s].length-1;l>=0;l--,u++){var c=n6(t[s][l],2),f=n6(c[0],2)[1],d=c[1].ttb;if(!(Mf.equals(r,f)||d>1)){try{for(var p=(n=void 0,t6(Rf.children(e,f,{reverse:!0}))),h=p.next();!h.done;h=p.next()){var v=n6(h.value,2)[1];md.moveNodes(e,{to:Mf.next(i),at:v})}}catch(e){n={error:e}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var g=n6(Nf.nodes(e,{match:b5(e,"tr"),at:f}),1),y=n6(g[0],2)[1];n6(Rf.children(e,y),2)[1]&&md.setNodes(e,{hidden:!0},{at:f})}}}md.setNodes(e,{rowSpan:a,colSpan:u},{at:r})}))}}},e}(),f7=function(){function e(){this.title=UF("tableModule.splitCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M362.667 494.933v53.334l25.6-25.6zm0-241.066L460.8 352V78.933H57.6v98.134h305.067zm0 535.466v57.6H57.6v98.134h403.2V691.2zM661.333 494.933v53.334l-25.6-25.6zm0-241.066L563.2 352V78.933h403.2v98.134H661.333zm0 535.466v57.6H966.4v98.134H563.2V691.2z"/><path d="M753.067 341.333 693.333 281.6 512 460.8 330.667 281.6l-59.734 59.733 181.334 181.334L270.933 704l59.734 59.733L512 582.4l181.333 181.333L753.067 704 571.733 522.667z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=n6(Nf.nodes(e,{match:b5(e,"td")}),1),n=n6(t[0],1)[0],r=n.rowSpan,o=void 0===r?1:r,i=n.colSpan;return!(o>1||(void 0===i?1:i)>1)},e.prototype.exec=function(e,t){this.isDisabled(e)||this.split(e)},e.prototype.split=function(e,t){void 0===t&&(t={});var n=n6(Nf.nodes(e,{match:b5(e,"table","th","td"),at:t.at}),2),r=n[0],o=n[1];if(r&&o){var i=a5.get(e)||[],a=w5(e,{at:t.at});Nf.withoutNormalizing(e,(function(){for(var n=a.length-1;n>=0;n--)for(var r=a[n].length-1;r>=0;r--){var u=n6(a[n][r],2),s=n6(u[0],2)[1],l=u[1],c=l.ltr,f=l.rtl,d=l.btt,p=l.ttb;if(f>1)r-=f-2;else if(!(p>1||1===d&&1===c)){var h=!!t.all;if(i.length)e:for(var v=0;!t.all&&v<i.length;v++)for(var g=0;g<i[v].length;g++){var y=n6(i[v][g],1),m=n6(y[0],2)[1];if(Mf.equals(m,s)){h=!0;break e}}else m=n6(o,2)[1],Mf.equals(m,s)&&(h=!0);if(h){var b=n6(Nf.nodes(e,{match:b5(e,"table"),at:s}),1);n6(b[0],1)[0];e:for(var E=1;E<d;E++)for(v=r;v>=0;v--){var w=n6(a[n+E][v],2);if(n6(w[0],2)[1],1!=w[1].ttb){for(var S=0;S<c;S++){var C=n6(a[n+E][v+S],1),D=n6(C[0],2)[1];md.unsetNodes(e,["hidden","colSpan","rowSpan"],{at:D})}continue e}}for(S=1;S<c;S++){var A=n6(a[n][r+S],1);D=n6(A[0],2)[1],md.unsetNodes(e,["hidden","colSpan","rowSpan"],{at:D})}md.setNodes(e,{rowSpan:1,colSpan:1},{at:s})}}}}))}},e}(),d7={renderElems:[g8,y8,m8],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(void 0===n?"auto":n)+';table-layout: fixed;"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,o=void 0===r?1:r,i=n.rowSpan,a=void 0===i?1:i,u=n.isHeader,s=void 0!==u&&u,l=n.width,c=void 0===l?"auto":l,f=n.hidden,d=s?"th":"td";return"<"+d+' colSpan="'+o+'" rowSpan="'+a+'" width="'+c+'" style="'+(void 0!==f&&f?"display:none":"")+'">'+t+"</"+d+">"}}],preParseHtml:[b8],parseElemsHtml:[j8,M8,z8],menus:[{key:"insertTable",factory:function(){return new q8}},{key:"deleteTable",factory:function(){return new K8}},{key:"insertTableRow",factory:function(){return new Y8}},{key:"deleteTableRow",factory:function(){return new X8}},{key:"insertTableCol",factory:function(){return new t7}},{key:"deleteTableCol",factory:function(){return new n7}},{key:"tableHeader",factory:function(){return new s7}},{key:"tableFullWidth",factory:function(){return new l7}},{key:"mergeTableCell",factory:function(){return new c7}},{key:"splitTableCell",factory:function(){return new f7}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,i=e.insertData,a=e.handleTab,u=e.selectAll,s=e;return s.insertBreak=function(){null==QO.getSelectedNodeByType(s,"table")?t():s.insertText("\n")},s.deleteBackward=function(e){if(!D5(s)){var t=s.selection;if(t){var r=Nf.before(s,t);if(r){var o=A5(s,r),i=A5(s,t);if(o&&!i)return}}n(e)}},s.handleTab=function(){var t;if(QO.getSelectedNodeByType(s,"table")){var n=Nf.above(e);QO.checkNodeType(n[0],"table-cell")&&md.select(e,n[1]);var r=Nf.next(e);if(r)r[0]&&r[0].text&&(r=null!==(t=Nf.above(e,{at:r[1]}))&&void 0!==t?t:r),md.select(e,r[1]);else{var o=s.children||[],i=o.length;if(QO.checkNodeType(o[i-1],"table")){var u=QO.genEmptyParagraph();md.insertNodes(s,u,{at:[i]}),s.handleTab()}}}else a()},s.deleteForward=function(e){D5(s)||r(e)},s.normalizeNode=function(e){var t=n6(e,2),n=t[0],r=t[1];if("table"!==QO.getNodeType(n))return o([n,r]);if(QO.isLastNode(s,n)){var i=QO.genEmptyParagraph();md.insertNodes(s,i,{at:[r[0]+1]})}},s.insertData=function(e){if(null!=QO.getSelectedNodeByType(s,"table")){var t=e.getData("text/plain");"\n"===t||/<img[^>]+>/.test(e.getData("text/html"))?i(e):Nf.insertText(s,t)}else i(e)},s.selectAll=function(){var e=s.selection;if(null!=e){var t=QO.getSelectedNodeByType(s,"table-cell");if(null!=t){var n=e.anchor,r=e.focus;if(Mf.equals(n.path.slice(0,3),r.path.slice(0,3)))if(0!==Rf.string(t).length){var o=QO.findPath(s,t),i={anchor:Nf.start(s,o),focus:Nf.end(s,o)};s.select(i)}else u();else u()}else u()}else u()},function(e){var t=e.apply;e.apply=function(n){if(!jf.isSelectionOperation(n)||!n.newProperties)return t(n);var r=Q4(Q4({},e.selection),n.newProperties);if(!qf.isRange(r))return C5.unselect(e),t(n);var o=n6(Nf.nodes(e,{match:b5(e,"th","td"),at:qf.start(r)}),1)[0],i=n6(Nf.nodes(e,{match:b5(e,"th","td"),at:qf.end(r)}),1)[0];if(!o||!i)return C5.unselect(e),t(n);var a=n6(o,2)[1],u=n6(i,2)[1];if(Mf.equals(a,u)||!E5(e,[a,u],"table"))return C5.unselect(e),t(n);var s=w5(e,{at:a}),l=S5.valueOf(0,0),c=S5.valueOf(0,0);e:for(var f=0;f<s.length;f++)for(var d=0;d<s[f].length;d++){var p=n6(s[f][d],1),h=n6(p[0],2)[1];if(Mf.equals(a,h)&&(l.x=f,l.y=d),Mf.equals(u,h)){c.x=f,c.y=d;break e}}for(var v=S5.valueOf(Math.min(l.x,c.x),Math.min(l.y,c.y)),g=S5.valueOf(Math.max(l.x,c.x),Math.max(l.y,c.y));;){var y=S5.valueOf(v.x,v.y),m=S5.valueOf(g.x,g.y);for(f=y.x;f<=m.x;f++)for(d=y.y;d<=m.y;d++){var b=n6(s[f][d],2)[1],E=b.rtl,w=b.ltr,S=b.btt,C=b.ttb;y.x=Math.min(y.x,f-(C-1)),y.y=Math.min(y.y,d-(E-1)),m.x=Math.max(m.x,f+(S-1)),m.y=Math.max(m.y,d+(w-1))}if(S5.equals(v,y)&&S5.equals(g,m))break;v=y,g=m}var D=[],A=new WeakSet;for(f=v.x;f<=g.x;f++){var x=[];for(d=v.y;d<=g.y;d++){var O=n6(s[f][d],1),T=n6(O[0],1)[0];A.add(T),x.push(s[f][d])}D.push(x)}a5.set(e,D),u5.set(e,A),t(n)}}(s),s}};MF("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",edit:"Edit video",width:"Width",height:"Height"}}),MF("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var p7=function(){return p7=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p7.apply(this,arguments)};function h7(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function v7(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function g7(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function y7(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}"function"==typeof SuppressedError&&SuppressedError;var m7="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function b7(e){var t={exports:{}};return e(t,t.exports),t.exports}var E7,w7,S7=function(e){return e&&e.Math==Math&&e},C7=S7("object"==typeof globalThis&&globalThis)||S7("object"==typeof window&&window)||S7("object"==typeof self&&self)||S7("object"==typeof m7&&m7)||function(){return this}()||Function("return this")(),D7=function(e){try{return!!e()}catch(e){return!0}},A7=!D7((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),x7=Function.prototype.call,O7=x7.bind?x7.bind(x7):function(){return x7.apply(x7,arguments)},T7={}.propertyIsEnumerable,N7=Object.getOwnPropertyDescriptor,k7={f:N7&&!T7.call({1:2},1)?function(e){var t=N7(this,e);return!!t&&t.enumerable}:T7},B7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},I7=Function.prototype,F7=I7.bind,P7=I7.call,R7=F7&&F7.bind(P7),_7=F7?function(e){return e&&R7(P7,e)}:function(e){return e&&function(){return P7.apply(e,arguments)}},L7=_7({}.toString),j7=_7("".slice),M7=function(e){return j7(L7(e),8,-1)},z7=C7.Object,H7=_7("".split),U7=D7((function(){return!z7("z").propertyIsEnumerable(0)}))?function(e){return"String"==M7(e)?H7(e,""):z7(e)}:z7,$7=C7.TypeError,V7=function(e){if(null==e)throw $7("Can't call method on "+e);return e},G7=function(e){return U7(V7(e))},W7=function(e){return"function"==typeof e},q7=function(e){return"object"==typeof e?null!==e:W7(e)},K7=function(e){return W7(e)?e:void 0},Y7=function(e,t){return arguments.length<2?K7(C7[e]):C7[e]&&C7[e][t]},X7=_7({}.isPrototypeOf),Z7=Y7("navigator","userAgent")||"",J7=C7.process,Q7=C7.Deno,e9=J7&&J7.versions||Q7&&Q7.version,t9=e9&&e9.v8;t9&&(w7=(E7=t9.split("."))[0]>0&&E7[0]<4?1:+(E7[0]+E7[1])),!w7&&Z7&&(!(E7=Z7.match(/Edge\/(\d+)/))||E7[1]>=74)&&(E7=Z7.match(/Chrome\/(\d+)/))&&(w7=+E7[1]);var n9=w7,r9=!!Object.getOwnPropertySymbols&&!D7((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n9&&n9<41})),o9=r9&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,i9=C7.Object,a9=o9?function(e){return"symbol"==typeof e}:function(e){var t=Y7("Symbol");return W7(t)&&X7(t.prototype,i9(e))},u9=C7.String,s9=function(e){try{return u9(e)}catch(e){return"Object"}},l9=C7.TypeError,c9=function(e){if(W7(e))return e;throw l9(s9(e)+" is not a function")},f9=function(e,t){var n=e[t];return null==n?void 0:c9(n)},d9=C7.TypeError,p9=Object.defineProperty,h9=function(e,t){try{p9(C7,e,{value:t,configurable:!0,writable:!0})}catch(n){C7[e]=t}return t},v9=C7["__core-js_shared__"]||h9("__core-js_shared__",{}),g9=b7((function(e){(e.exports=function(e,t){return v9[e]||(v9[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),y9=C7.Object,m9=function(e){return y9(V7(e))},b9=_7({}.hasOwnProperty),E9=Object.hasOwn||function(e,t){return b9(m9(e),t)},w9=0,S9=Math.random(),C9=_7(1..toString),D9=function(e){return"Symbol("+(void 0===e?"":e)+")_"+C9(++w9+S9,36)},A9=g9("wks"),x9=C7.Symbol,O9=x9&&x9.for,T9=o9?x9:x9&&x9.withoutSetter||D9,N9=function(e){if(!E9(A9,e)||!r9&&"string"!=typeof A9[e]){var t="Symbol."+e;r9&&E9(x9,e)?A9[e]=x9[e]:A9[e]=o9&&O9?O9(t):T9(t)}return A9[e]},k9=C7.TypeError,B9=N9("toPrimitive"),I9=function(e){var t=function(e,t){if(!q7(e)||a9(e))return e;var n,r=f9(e,B9);if(r){if(void 0===t&&(t="default"),n=O7(r,e,t),!q7(n)||a9(n))return n;throw k9("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&W7(n=e.toString)&&!q7(r=O7(n,e)))return r;if(W7(n=e.valueOf)&&!q7(r=O7(n,e)))return r;if("string"!==t&&W7(n=e.toString)&&!q7(r=O7(n,e)))return r;throw d9("Can't convert object to primitive value")}(e,t)}(e,"string");return a9(t)?t:t+""},F9=C7.document,P9=q7(F9)&&q7(F9.createElement),R9=function(e){return P9?F9.createElement(e):{}},_9=!A7&&!D7((function(){return 7!=Object.defineProperty(R9("div"),"a",{get:function(){return 7}}).a})),L9=Object.getOwnPropertyDescriptor,j9={f:A7?L9:function(e,t){if(e=G7(e),t=I9(t),_9)try{return L9(e,t)}catch(e){}if(E9(e,t))return B7(!O7(k7.f,e,t),e[t])}},M9=C7.String,z9=C7.TypeError,H9=function(e){if(q7(e))return e;throw z9(M9(e)+" is not an object")},U9=C7.TypeError,$9=Object.defineProperty,V9={f:A7?$9:function(e,t,n){if(H9(e),t=I9(t),H9(n),_9)try{return $9(e,t,n)}catch(e){}if("get"in n||"set"in n)throw U9("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},G9=A7?function(e,t,n){return V9.f(e,t,B7(1,n))}:function(e,t,n){return e[t]=n,e},W9=_7(Function.toString);W7(v9.inspectSource)||(v9.inspectSource=function(e){return W9(e)});var q9,K9,Y9,X9=v9.inspectSource,Z9=C7.WeakMap,J9=W7(Z9)&&/native code/.test(X9(Z9)),Q9=g9("keys"),eee=function(e){return Q9[e]||(Q9[e]=D9(e))},tee={},nee=C7.TypeError,ree=C7.WeakMap;if(J9||v9.state){var oee=v9.state||(v9.state=new ree),iee=_7(oee.get),aee=_7(oee.has),uee=_7(oee.set);q9=function(e,t){if(aee(oee,e))throw new nee("Object already initialized");return t.facade=e,uee(oee,e,t),t},K9=function(e){return iee(oee,e)||{}},Y9=function(e){return aee(oee,e)}}else{var see=eee("state");tee[see]=!0,q9=function(e,t){if(E9(e,see))throw new nee("Object already initialized");return t.facade=e,G9(e,see,t),t},K9=function(e){return E9(e,see)?e[see]:{}},Y9=function(e){return E9(e,see)}}var lee={set:q9,get:K9,has:Y9,enforce:function(e){return Y9(e)?K9(e):q9(e,{})},getterFor:function(e){return function(t){var n;if(!q7(t)||(n=K9(t)).type!==e)throw nee("Incompatible receiver, "+e+" required");return n}}},cee=Function.prototype,fee=A7&&Object.getOwnPropertyDescriptor,dee=E9(cee,"name"),pee={EXISTS:dee,PROPER:dee&&"something"===function(){}.name,CONFIGURABLE:dee&&(!A7||A7&&fee(cee,"name").configurable)},hee=b7((function(e){var t=pee.CONFIGURABLE,n=lee.get,r=lee.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;W7(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!E9(i,"name")||t&&i.name!==f)&&G9(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==C7?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:G9(e,n,i)):l?e[n]=i:h9(n,i)})(Function.prototype,"toString",(function(){return W7(this)&&n(this).source||X9(this)}))})),vee=Math.ceil,gee=Math.floor,yee=function(e){var t=+e;return t!=t||0===t?0:(t>0?gee:vee)(t)},mee=Math.max,bee=Math.min,Eee=function(e,t){var n=yee(e);return n<0?mee(n+t,0):bee(n,t)},wee=Math.min,See=function(e){return e>0?wee(yee(e),9007199254740991):0},Cee=function(e){return See(e.length)},Dee=function(e){return function(t,n,r){var o,i=G7(t),a=Cee(i),u=Eee(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Aee={includes:Dee(!0),indexOf:Dee(!1)},xee=Aee.indexOf,Oee=_7([].push),Tee=function(e,t){var n,r=G7(e),o=0,i=[];for(n in r)!E9(tee,n)&&E9(r,n)&&Oee(i,n);for(;t.length>o;)E9(r,n=t[o++])&&(~xee(i,n)||Oee(i,n));return i},Nee=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kee=Nee.concat("length","prototype"),Bee={f:Object.getOwnPropertyNames||function(e){return Tee(e,kee)}},Iee={f:Object.getOwnPropertySymbols},Fee=_7([].concat),Pee=Y7("Reflect","ownKeys")||function(e){var t=Bee.f(H9(e)),n=Iee.f;return n?Fee(t,n(e)):t},Ree=function(e,t){for(var n=Pee(t),r=V9.f,o=j9.f,i=0;i<n.length;i++){var a=n[i];E9(e,a)||r(e,a,o(t,a))}},_ee=/#|\.prototype\./,Lee=function(e,t){var n=Mee[jee(e)];return n==Hee||n!=zee&&(W7(t)?D7(t):!!t)},jee=Lee.normalize=function(e){return String(e).replace(_ee,".").toLowerCase()},Mee=Lee.data={},zee=Lee.NATIVE="N",Hee=Lee.POLYFILL="P",Uee=Lee,$ee=j9.f,Vee=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?C7:l?C7[u]||h9(u,{}):(C7[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=$ee(n,r))&&a.value:n[r],!Uee(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ree(i,o)}(e.sham||o&&o.sham)&&G9(i,"sham",!0),hee(n,r,i,e)}},Gee={};Gee[N9("toStringTag")]="z";var Wee="[object z]"===String(Gee),qee=N9("toStringTag"),Kee=C7.Object,Yee="Arguments"==M7(function(){return arguments}()),Xee=Wee?M7:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Kee(e),qee))?n:Yee?M7(t):"Object"==(r=M7(t))&&W7(t.callee)?"Arguments":r},Zee=C7.String,Jee=function(e){if("Symbol"===Xee(e))throw TypeError("Cannot convert a Symbol value to a string");return Zee(e)},Qee="\t\n\v\f\r                 \u2028\u2029\ufeff",ete=_7("".replace),tte="["+Qee+"]",nte=RegExp("^"+tte+tte+"*"),rte=RegExp(tte+tte+"*$"),ote=function(e){return function(t){var n=Jee(V7(t));return 1&e&&(n=ete(n,nte,"")),2&e&&(n=ete(n,rte,"")),n}},ite={start:ote(1),end:ote(2),trim:ote(3)},ate=pee.PROPER,ute=ite.trim;function ste(e){return e.length?e[0].tagName.toLowerCase():""}function lte(e,t,n,r){void 0===t&&(t="auto"),void 0===n&&(n="auto"),void 0===r&&(r={});var o=Mp(e),i=r.width,a=void 0===i?"":i,u=r.height,s=void 0===u?"":u,l="";return a&&(l+="width: "+a+";"),s&&(l+="height: "+s+";"),o.attr("width",t),o.attr("height",n),o.attr("style",l),o[0].outerHTML}Vee({target:"String",proto:!0,forced:("trim",D7((function(){return!!Qee.trim()||"​…᠎"!=="​…᠎".trim()||ate&&"trim"!==Qee.trim.name})))},{trim:function(){return ute(this)}}),Vee({global:!0},{globalThis:C7}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Wp&&(Mp.fn.val=Wp),rh&&(Mp.fn.html=rh),sh&&(Mp.fn.parent=sh),Up&&(Mp.fn.hasClass=Up),ph&&(Mp.fn.empty=ph);var cte,fte={type:"video",renderElem:function(e,t,n){var r,o=e,i=o.src,a=void 0===i?"":i,u=o.poster,s=void 0===u?"":u,l=o.key,c=void 0===l?"":l,f=o.width,d=void 0===f?"auto":f,p=o.height,h=void 0===p?"auto":p,v=o.style,g=void 0===v?{}:v,y=o.textAlign,m=void 0===y?"center":y,b=QO.isNodeSelected(n,e);if(0===a.trim().indexOf("<iframe ")){r=Fv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m},innerHTML:lte(a,d,h,g)})}else{var E=Fv("video",{key:c,poster:s,controls:!0,style:g},Fv("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==d&&(E.data.width=d),"auto"!==h&&(E.data.height=h),r=Fv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m}},E)}return pv("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},r)}},dte={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,o=void 0===r?"":r,i=n.poster,a=void 0===i?"":i,u=n.width,s=void 0===u?"auto":u,l=n.height,c=void 0===l?"auto":l,f=n.style,d=void 0===f?{}:f,p=n.textAlign,h='<div data-w-e-type="video" data-w-e-is-void style="text-align: '+(void 0===p?"center":p)+';">\n';if(0===o.trim().indexOf("<iframe "))h+=lte(o,s,c,d);else{var v=d.width,g=void 0===v?"":v,y=d.height,m=void 0===y?"":y,b="";g&&(b+="width: "+g+";"),m&&(b+="height: "+m+";"),h+='<video poster="'+a+'" controls="true" width="'+s+'" height="'+c+'" style="'+b+'"><source src="'+o+'" type="video/mp4"/></video>'}return h+"\n</div>"}},pte=Object.keys||function(e){return Tee(e,Nee)},hte=A7?Object.defineProperties:function(e,t){H9(e);for(var n,r=G7(t),o=pte(t),i=o.length,a=0;i>a;)V9.f(e,n=o[a++],r[n]);return e},vte=Y7("document","documentElement"),gte=eee("IE_PROTO"),yte=function(){},mte=function(e){return"<script>"+e+"<\/script>"},bte=function(e){e.write(mte("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ete=function(){try{cte=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ete="undefined"!=typeof document?document.domain&&cte?bte(cte):((t=R9("iframe")).style.display="none",vte.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(mte("document.F=Object")),e.close(),e.F):bte(cte);for(var n=Nee.length;n--;)delete Ete.prototype[Nee[n]];return Ete()};tee[gte]=!0;var wte=Object.create||function(e,t){var n;return null!==e?(yte.prototype=H9(e),n=new yte,yte.prototype=null,n[gte]=e):n=Ete(),void 0===t?n:hte(n,t)},Ste=N9("unscopables"),Cte=Array.prototype;null==Cte[Ste]&&V9.f(Cte,Ste,{configurable:!0,value:wte(null)});var Dte=function(e){Cte[Ste][e]=!0},Ate=Aee.includes;Vee({target:"Array",proto:!0},{includes:function(e){return Ate(this,e,arguments.length>1?arguments[1]:void 0)}}),Dte("includes");var xte={selector:"iframe,video,p",preParseHtml:function(e){var t=Mp(e),n=t;if("p"===ste(t)){var r=t.children();if(1===r.length){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=Mp(o))}}var a=ste(n);if("iframe"!==a&&"video"!==a)return n[0];if("video"===n.parent().attr("data-w-e-type"))return n[0];var u=Mp('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return u.append(n),u[0]}},Ote=_7(_7.bind),Tte=function(e,t){return c9(e),void 0===t?e:Ote?Ote(e,t):function(){return e.apply(t,arguments)}},Nte=Array.isArray||function(e){return"Array"==M7(e)},kte=function(){},Bte=[],Ite=Y7("Reflect","construct"),Fte=/^\s*(?:class|function)\b/,Pte=_7(Fte.exec),Rte=!Fte.exec(kte),_te=function(e){if(!W7(e))return!1;try{return Ite(kte,Bte,e),!0}catch(e){return!1}},Lte=!Ite||D7((function(){var e;return _te(_te.call)||!_te(Object)||!_te((function(){e=!0}))||e}))?function(e){if(!W7(e))return!1;switch(Xee(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Rte||!!Pte(Fte,X9(e))}:_te,jte=N9("species"),Mte=C7.Array,zte=function(e,t){return new(function(e){var t;return Nte(e)&&(t=e.constructor,(Lte(t)&&(t===Mte||Nte(t.prototype))||q7(t)&&null===(t=t[jte]))&&(t=void 0)),void 0===t?Mte:t}(e))(0===t?0:t)},Hte=_7([].push),Ute=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=m9(s),v=U7(h),g=Tte(l,c),y=Cee(v),m=0,b=f||zte,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Hte(E,d)}else switch(e){case 4:return!1;case 7:Hte(E,d)}return i?-1:r||o?o:E}},$te={forEach:Ute(0),map:Ute(1),filter:Ute(2),some:Ute(3),every:Ute(4),find:Ute(5),findIndex:Ute(6),filterReject:Ute(7)},Vte=$te.find,Gte=!0;"find"in[]&&Array(1).find((function(){Gte=!1})),Vee({target:"Array",proto:!0,forced:Gte},{find:function(e){return Vte(this,e,arguments.length>1?arguments[1]:void 0)}}),Dte("find");var Wte=Wee?{}.toString:function(){return"[object "+Xee(this)+"]"};function qte(e,t,n,r,o){return void 0===t&&(t=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),void 0===o&&(o={}),{type:"video",src:e,poster:t,width:n,height:r,style:o,children:[{text:""}]}}Wee||hee(Object.prototype,"toString",Wte,{unsafe:!0});var Kte,Yte,Xte={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=Mp(e),o="",i="",a="auto",u="auto",s={},l=r.find("iframe");if(l.length>0)return a=l.attr("width")||"auto",u=l.attr("height")||"auto",s=l.attr("style")||{},qte(o=l[0].outerHTML,i,a,u,s);var c=r.find("video");return(o=c.attr("src")||"")||c.length>0&&(o=c.find("source").attr("src")||""),a=c.attr("width")||"auto",u=c.attr("height")||"auto",qte(o,i=c.attr("poster")||"",a,u,s=l.attr("style")||{})}},Zte=function(){var e=H9(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Jte=C7.RegExp,Qte=D7((function(){var e=Jte("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ene=Qte||D7((function(){return!Jte("a","y").sticky})),tne={BROKEN_CARET:Qte||D7((function(){var e=Jte("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ene,UNSUPPORTED_Y:Qte},nne=C7.RegExp,rne=D7((function(){var e=nne(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),one=C7.RegExp,ine=D7((function(){var e=one("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),ane=lee.get,une=g9("native-string-replace",String.prototype.replace),sne=RegExp.prototype.exec,lne=sne,cne=_7("".charAt),fne=_7("".indexOf),dne=_7("".replace),pne=_7("".slice),hne=(Yte=/b*/g,O7(sne,Kte=/a/,"a"),O7(sne,Yte,"a"),0!==Kte.lastIndex||0!==Yte.lastIndex),vne=tne.BROKEN_CARET,gne=void 0!==/()??/.exec("")[1];(hne||gne||vne||rne||ine)&&(lne=function(e){var t,n,r,o,i,a,u,s=this,l=ane(s),c=Jee(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=O7(lne,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=vne&&s.sticky,h=O7(Zte,s),v=s.source,g=0,y=c;if(p&&(h=dne(h,"y",""),-1===fne(h,"g")&&(h+="g"),y=pne(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==cne(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),gne&&(n=new RegExp("^"+v+"$(?!\\s)",h)),hne&&(r=s.lastIndex),o=O7(sne,p?n:s,y),p?o?(o.input=pne(o.input,g),o[0]=pne(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:hne&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),gne&&o&&o.length>1&&O7(une,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=wte(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var yne=lne;Vee({target:"RegExp",proto:!0,forced:/./.exec!==yne},{exec:yne});var mne=Function.prototype,bne=mne.apply,Ene=mne.bind,wne=mne.call,Sne="object"==typeof Reflect&&Reflect.apply||(Ene?wne.bind(bne):function(){return wne.apply(bne,arguments)}),Cne=(N9("species"),RegExp.prototype),Dne=_7("".charAt),Ane=_7("".charCodeAt),xne=_7("".slice),One=function(e){return function(t,n){var r,o,i=Jee(V7(t)),a=yee(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Ane(i,a))<55296||r>56319||a+1===u||(o=Ane(i,a+1))<56320||o>57343?e?Dne(i,a):r:e?xne(i,a,a+2):o-56320+(r-55296<<10)+65536}},Tne={codeAt:One(!1),charAt:One(!0)},Nne=Tne.charAt,kne=function(e,t,n){return t+(n?Nne(e,t).length:1)},Bne=Math.floor,Ine=_7("".charAt),Fne=_7("".replace),Pne=_7("".slice),Rne=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,_ne=/\$([$&'`]|\d{1,2})/g,Lne=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=_ne;return void 0!==o&&(o=m9(o),s=Rne),Fne(i,s,(function(i,s){var l;switch(Ine(s,0)){case"$":return"$";case"&":return e;case"`":return Pne(t,0,n);case"'":return Pne(t,a);case"<":l=o[Pne(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=Bne(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Ine(s,1):r[f-1]+Ine(s,1):i}l=r[c-1]}return void 0===l?"":l}))},jne=C7.TypeError,Mne=function(e,t){var n=e.exec;if(W7(n)){var r=O7(n,e,t);return null!==r&&H9(r),r}if("RegExp"===M7(e))return O7(yne,e,t);throw jne("RegExp#exec called on incompatible receiver")},zne=N9("replace"),Hne=Math.max,Une=Math.min,$ne=_7([].concat),Vne=_7([].push),Gne=_7("".indexOf),Wne=_7("".slice),qne="$0"==="a".replace(/./,"$0"),Kne=!!/./[zne]&&""===/./[zne]("a","$0");function Yne(e){return void 0===e&&(e="r"),e+"-"+jh()}!function(e,t,n,r){var o=N9(e),i=!D7((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!D7((function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=_7(/./[o]),s=function(e,t,n){var r=Kne?"$":"$0";return[function(e,n){var r=V7(this),o=null==e?void 0:f9(e,zne);return o?O7(o,e,r,n):O7(t,Jee(r),e,n)},function(e,o){var i=H9(this),a=Jee(e);if("string"==typeof o&&-1===Gne(o,r)&&-1===Gne(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=W7(o);s||(o=Jee(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=Mne(i,a);if(null===d)break;if(Vne(f,d),!l)break;""===Jee(d[0])&&(i.lastIndex=kne(a,See(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=Jee((d=f[g])[0]),m=Hne(Une(yee(d.index),a.length),0),b=[],E=1;E<d.length;E++)Vne(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=$ne([y],b,m,a);void 0!==w&&Vne(S,w);var C=Jee(Sne(o,void 0,S))}else C=Lne(y,a,m,b,w,o);m>=v&&(h+=Wne(a,v,m)+C,v=m+y.length)}return h+Wne(a,v)}]}(0,""[e],(function(e,t,n,r,o){var a=_7(e),s=t.exec;return s===yne||s===Cne.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));hee(String.prototype,e,s[0]),hee(Cne,o,s[1])}}("replace",0,!!D7((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!qne||Kne);var Xne=C7.Promise,Zne=function(e,t,n){for(var r in t)hee(e,r,t[r],n);return e},Jne=C7.String,Qne=C7.TypeError,ere=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=_7(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return H9(n),function(e){if("object"==typeof e||W7(e))return e;throw Qne("Can't set "+Jne(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),tre=V9.f,nre=N9("toStringTag"),rre=function(e,t,n){e&&!E9(e=n?e:e.prototype,nre)&&tre(e,nre,{configurable:!0,value:t})},ore=N9("species"),ire=C7.TypeError,are=function(e,t){if(X7(t,e))return e;throw ire("Incorrect invocation")},ure={},sre=N9("iterator"),lre=Array.prototype,cre=N9("iterator"),fre=function(e){if(null!=e)return f9(e,cre)||f9(e,"@@iterator")||ure[Xee(e)]},dre=C7.TypeError,pre=function(e,t,n){var r,o;H9(e);try{if(!(r=f9(e,"return"))){if("throw"===t)throw n;return n}r=O7(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return H9(r),n},hre=C7.TypeError,vre=function(e,t){this.stopped=e,this.result=t},gre=vre.prototype,yre=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=Tte(t,f),g=function(e){return r&&pre(r,"normal",e),new vre(!0,e)},y=function(e){return d?(H9(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=fre(e)))throw hre(s9(e)+" is not iterable");if(void 0!==(c=o)&&(ure.Array===c||lre[sre]===c)){for(i=0,a=Cee(e);a>i;i++)if((u=y(e[i]))&&X7(gre,u))return u;return new vre(!1)}r=function(e,t){var n=arguments.length<2?fre(e):t;if(c9(n))return H9(O7(n,e));throw dre(s9(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=O7(s,r)).done;){try{u=y(l.value)}catch(e){pre(r,"throw",e)}if("object"==typeof u&&u&&X7(gre,u))return u}return new vre(!1)},mre=N9("iterator"),bre=!1;try{var Ere=0,wre={next:function(){return{done:!!Ere++}},return:function(){bre=!0}};wre[mre]=function(){return this},Array.from(wre,(function(){throw 2}))}catch(Ml){}var Sre,Cre,Dre,Are,xre=function(e,t){if(!t&&!bre)return!1;var n=!1;try{var r={};r[mre]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Ore=C7.TypeError,Tre=N9("species"),Nre=_7([].slice),kre=/(?:ipad|iphone|ipod).*applewebkit/i.test(Z7),Bre="process"==M7(C7.process),Ire=C7.setImmediate,Fre=C7.clearImmediate,Pre=C7.process,Rre=C7.Dispatch,_re=C7.Function,Lre=C7.MessageChannel,jre=C7.String,Mre=0,zre={};try{Sre=C7.location}catch(Ml){}var Hre=function(e){if(E9(zre,e)){var t=zre[e];delete zre[e],t()}},Ure=function(e){return function(){Hre(e)}},$re=function(e){Hre(e.data)},Vre=function(e){C7.postMessage(jre(e),Sre.protocol+"//"+Sre.host)};Ire&&Fre||(Ire=function(e){var t=Nre(arguments,1);return zre[++Mre]=function(){Sne(W7(e)?e:_re(e),void 0,t)},Cre(Mre),Mre},Fre=function(e){delete zre[e]},Bre?Cre=function(e){Pre.nextTick(Ure(e))}:Rre&&Rre.now?Cre=function(e){Rre.now(Ure(e))}:Lre&&!kre?(Are=(Dre=new Lre).port2,Dre.port1.onmessage=$re,Cre=Tte(Are.postMessage,Are)):C7.addEventListener&&W7(C7.postMessage)&&!C7.importScripts&&Sre&&"file:"!==Sre.protocol&&!D7(Vre)?(Cre=Vre,C7.addEventListener("message",$re,!1)):Cre="onreadystatechange"in R9("script")?function(e){vte.appendChild(R9("script")).onreadystatechange=function(){vte.removeChild(this),Hre(e)}}:function(e){setTimeout(Ure(e),0)});var Gre,Wre,qre,Kre,Yre,Xre,Zre,Jre,Qre={set:Ire,clear:Fre},eoe=/ipad|iphone|ipod/i.test(Z7)&&void 0!==C7.Pebble,toe=/web0s(?!.*chrome)/i.test(Z7),noe=j9.f,roe=Qre.set,ooe=C7.MutationObserver||C7.WebKitMutationObserver,ioe=C7.document,aoe=C7.process,uoe=C7.Promise,soe=noe(C7,"queueMicrotask"),loe=soe&&soe.value;loe||(Gre=function(){var e,t;for(Bre&&(e=aoe.domain)&&e.exit();Wre;){t=Wre.fn,Wre=Wre.next;try{t()}catch(e){throw Wre?Kre():qre=void 0,e}}qre=void 0,e&&e.enter()},kre||Bre||toe||!ooe||!ioe?!eoe&&uoe&&uoe.resolve?((Zre=uoe.resolve(void 0)).constructor=uoe,Jre=Tte(Zre.then,Zre),Kre=function(){Jre(Gre)}):Bre?Kre=function(){aoe.nextTick(Gre)}:(roe=Tte(roe,C7),Kre=function(){roe(Gre)}):(Yre=!0,Xre=ioe.createTextNode(""),new ooe(Gre).observe(Xre,{characterData:!0}),Kre=function(){Xre.data=Yre=!Yre}));var coe,foe,doe,poe,hoe=loe||function(e){var t={fn:e,next:void 0};qre&&(qre.next=t),Wre||(Wre=t,Kre()),qre=t},voe=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=c9(t),this.reject=c9(n)},goe={f:function(e){return new voe(e)}},yoe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},moe="object"==typeof window,boe=Qre.set,Eoe=N9("species"),woe="Promise",Soe=lee.getterFor(woe),Coe=lee.set,Doe=lee.getterFor(woe),Aoe=Xne&&Xne.prototype,xoe=Xne,Ooe=Aoe,Toe=C7.TypeError,Noe=C7.document,koe=C7.process,Boe=goe.f,Ioe=Boe,Foe=!!(Noe&&Noe.createEvent&&C7.dispatchEvent),Poe=W7(C7.PromiseRejectionEvent),Roe=!1,_oe=Uee(woe,(function(){var e=X9(xoe),t=e!==String(xoe);if(!t&&66===n9)return!0;if(n9>=51&&/native code/.test(e))return!1;var n=new xoe((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Eoe]=r,!(Roe=n.then((function(){}))instanceof r)||!t&&moe&&!Poe})),Loe=_oe||!xre((function(e){xoe.all(e).catch((function(){}))})),joe=function(e){var t;return!(!q7(e)||!W7(t=e.then))&&t},Moe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;hoe((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&$oe(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Toe("Promise-chain cycle")):(u=joe(a))?O7(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Hoe(e)}))}},zoe=function(e,t,n){var r,o;Foe?((r=Noe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),C7.dispatchEvent(r)):r={promise:t,reason:n},!Poe&&(o=C7["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=C7.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Hoe=function(e){O7(boe,C7,(function(){var t,n=e.facade,r=e.value;if(Uoe(e)&&(t=yoe((function(){Bre?koe.emit("unhandledRejection",r,n):zoe("unhandledrejection",n,r)})),e.rejection=Bre||Uoe(e)?2:1,t.error))throw t.value}))},Uoe=function(e){return 1!==e.rejection&&!e.parent},$oe=function(e){O7(boe,C7,(function(){var t=e.facade;Bre?koe.emit("rejectionHandled",t):zoe("rejectionhandled",t,e.value)}))},Voe=function(e,t,n){return function(r){e(t,r,n)}},Goe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Moe(e,!0))},Woe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Toe("Promise can't be resolved itself");var r=joe(t);r?hoe((function(){var n={done:!1};try{O7(r,t,Voe(Woe,n,e),Voe(Goe,n,e))}catch(t){Goe(n,t,e)}})):(e.value=t,e.state=1,Moe(e,!1))}catch(t){Goe({done:!1},t,e)}}};if(_oe&&(Ooe=(xoe=function(e){are(this,Ooe),c9(e),O7(coe,this);var t=Soe(this);try{e(Voe(Woe,t),Voe(Goe,t))}catch(e){Goe(t,e)}}).prototype,(coe=function(e){Coe(this,{type:woe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Zne(Ooe,{then:function(e,t){var n=Doe(this),r=n.reactions,o=Boe(function(e,t){var n,r=H9(e).constructor;return void 0===r||null==(n=H9(r)[Tre])?t:function(e){if(Lte(e))return e;throw Ore(s9(e)+" is not a constructor")}(n)}(this,xoe));return o.ok=!W7(e)||e,o.fail=W7(t)&&t,o.domain=Bre?koe.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&Moe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),foe=function(){var e=new coe,t=Soe(e);this.promise=e,this.resolve=Voe(Woe,t),this.reject=Voe(Goe,t)},goe.f=Boe=function(e){return e===xoe||e===doe?new foe(e):Ioe(e)},W7(Xne)&&Aoe!==Object.prototype)){poe=Aoe.then,Roe||(hee(Aoe,"then",(function(e,t){var n=this;return new xoe((function(e,t){O7(poe,n,e,t)})).then(e,t)}),{unsafe:!0}),hee(Aoe,"catch",Ooe.catch,{unsafe:!0}));try{delete Aoe.constructor}catch(Ml){}ere&&ere(Aoe,Ooe)}function qoe(e,t,n,r,o){return void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o=""),h7(this,void 0,void 0,(function(){var i,a,u,s,l,c,f;return v7(this,(function(d){switch(d.label){case 0:return t?(e.restoreSelection(),i=e.getMenuConfig("insertVideo"),a=i.onInsertedVideo,u=i.checkVideo,s=i.parseVideoSrc,[4,u(t,n)]):[2];case 1:return"string"==typeof(l=d.sent())?(e.alert(l,"error"),[2]):null==l?[2]:[4,s(t)];case 2:return 0!==(c=d.sent()).trim().indexOf("<iframe ")&&(c=c.replace(/</g,"&lt;").replace(/>/g,"&gt;")),f={type:"video",src:c,poster:n,children:[{text:""}],style:{width:r,height:o}},Promise.resolve().then((function(){md.insertNodes(e,f)})),a(f),[2]}}))}))}function Koe(){return Yne("w-e-insert-video")}Vee({global:!0,wrap:!0,forced:_oe},{Promise:xoe}),rre(xoe,woe,!1),function(e){var t=Y7("Promise"),n=V9.f;A7&&t&&!t[ore]&&n(t,ore,{configurable:!0,get:function(){return this}})}(),doe=Y7(woe),Vee({target:woe,stat:!0,forced:_oe},{reject:function(e){var t=Boe(this);return O7(t.reject,void 0,e),t.promise}}),Vee({target:woe,stat:!0,forced:_oe},{resolve:function(e){return function(e,t){if(H9(e),q7(t)&&t.constructor===e)return t;var n=goe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),Vee({target:woe,stat:!0,forced:Loe},{all:function(e){var t=this,n=Boe(t),r=n.resolve,o=n.reject,i=yoe((function(){var n=c9(t.resolve),i=[],a=0,u=1;yre(e,(function(e){var s=a++,l=!1;u++,O7(n,t,e).then((function(e){l||(l=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Boe(t),r=n.reject,o=yoe((function(){var o=c9(t.resolve);yre(e,(function(e){O7(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Yoe=function(){function e(){this.title=UF("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=Koe(),this.posterInputId=Koe(),this.buttonId=Koe()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!QO.getSelectedElems(e).some((function(t){var n=QO.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)}))},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,a=g7(CI(UF("videoModule.videoSrc"),r,UF("videoModule.videoSrcPlaceHolder")),2),u=a[0],s=a[1],l=g7(CI(UF("videoModule.videoPoster"),o,UF("videoModule.videoPosterPlaceHolder")),2),c=l[0],f=l[1],d=Mp(s),p=Mp(f),h=g7(AI(i,UF("videoModule.ok")),1)[0];if(null==this.$content){var v=Mp("<div></div>");v.on("click","#"+i,(function(n){return h7(t,void 0,void 0,(function(){var t,i;return v7(this,(function(a){switch(a.label){case 0:return n.preventDefault(),t=v.find("#"+r).val().trim(),i=v.find("#"+o).val().trim(),[4,qoe(e,t,i)];case 1:return a.sent(),e.hidePanelOrModal(),[2]}}))}))})),this.$content=v}var g=this.$content;return g.empty(),g.append(u),g.append(c),g.append(h),d.val(""),p.val(""),setTimeout((function(){d.focus()})),g[0]},e}(),Xoe=_7([].join),Zoe=U7!=Object,Joe=function(e,t){var n=[].join;return!!n&&D7((function(){n.call(null,",",1)}))}();Vee({target:"Array",proto:!0,forced:Zoe||!Joe},{join:function(e){return Xoe(G7(this),void 0===e?",":e)}});var Qoe,eie,tie,nie=!D7((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),rie=eee("IE_PROTO"),oie=C7.Object,iie=oie.prototype,aie=nie?oie.getPrototypeOf:function(e){var t=m9(e);if(E9(t,rie))return t[rie];var n=t.constructor;return W7(n)&&t instanceof n?n.prototype:t instanceof oie?iie:null},uie=N9("iterator"),sie=!1;[].keys&&("next"in(tie=[].keys())?(eie=aie(aie(tie)))!==Object.prototype&&(Qoe=eie):sie=!0);var lie=null==Qoe||D7((function(){var e={};return Qoe[uie].call(e)!==e}));lie&&(Qoe={}),W7(Qoe[uie])||hee(Qoe,uie,(function(){return this}));var cie={IteratorPrototype:Qoe,BUGGY_SAFARI_ITERATORS:sie},fie=cie.IteratorPrototype,die=function(){return this},pie=pee.PROPER,hie=pee.CONFIGURABLE,vie=cie.IteratorPrototype,gie=cie.BUGGY_SAFARI_ITERATORS,yie=N9("iterator"),mie=function(){return this},bie=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=wte(fie,{next:B7(1,n)}),rre(e,o,!1),ure[o]=die}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!gie&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[yie]||p["@@iterator"]||o&&p[o],v=!gie&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=aie(g.call(new e)))!==Object.prototype&&u.next&&(aie(u)!==vie&&(ere?ere(u,vie):W7(u[yie])||hee(u,yie,mie)),rre(u,f,!0)),pie&&"values"==o&&h&&"values"!==h.name&&(hie?G9(p,"name","values"):(d=!0,v=function(){return O7(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(gie||d||!(l in p))&&hee(p,l,s[l]);else Vee({target:t,proto:!0,forced:gie||d},s);return p[yie]!==v&&hee(p,yie,v,{name:o}),ure[t]=v,s},Eie=lee.set,wie=lee.getterFor("Array Iterator"),Sie=bie(Array,"Array",(function(e,t){Eie(this,{type:"Array Iterator",target:G7(e),index:0,kind:t})}),(function(){var e=wie(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");ure.Arguments=ure.Array,Dte("keys"),Dte("values"),Dte("entries");var Cie=Tne.charAt,Die=lee.set,Aie=lee.getterFor("String Iterator");bie(String,"String",(function(e){Die(this,{type:"String Iterator",string:Jee(e),index:0})}),(function(){var e,t=Aie(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Cie(n,r),t.index+=e.length,{value:e,done:!1})}));var xie=function(e,t,n){var r=I9(t);r in e?V9.f(e,r,B7(0,n)):e[r]=n},Oie=C7.Array,Tie=Math.max,Nie=Bee.f,kie="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Bie={f:function(e){return kie&&"Window"==M7(e)?function(e){try{return Nie(e)}catch(e){return function(e,t,n){for(var r=Cee(e),o=Eee(void 0,r),i=Eee(r,r),a=Oie(Tie(i-o,0)),u=0;o<i;o++,u++)xie(a,u,e[o]);return a.length=u,a}(kie)}}(e):Nie(G7(e))}},Iie=D7((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Fie=Object.isExtensible,Pie=D7((function(){Fie(1)}))||Iie?function(e){return!!q7(e)&&(!Iie||"ArrayBuffer"!=M7(e))&&(!Fie||Fie(e))}:Fie,Rie=!D7((function(){return Object.isExtensible(Object.preventExtensions({}))})),_ie=b7((function(e){var t=V9.f,n=!1,r=D9("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Bee.f,t=_7([].splice),o={};o[r]=1,e(o).length&&(Bee.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},Vee({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Bie.f}))},fastKey:function(e,t){if(!q7(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!E9(e,r)){if(!Pie(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!E9(e,r)){if(!Pie(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Rie&&n&&Pie(e)&&!E9(e,r)&&i(e),e}};tee[r]=!0})),Lie=_ie.getWeakData,jie=lee.set,Mie=lee.getterFor,zie=$te.find,Hie=$te.findIndex,Uie=_7([].splice),$ie=0,Vie=function(e){return e.frozen||(e.frozen=new Gie)},Gie=function(){this.entries=[]},Wie=function(e,t){return zie(e.entries,(function(e){return e[0]===t}))};Gie.prototype={get:function(e){var t=Wie(this,e);if(t)return t[1]},has:function(e){return!!Wie(this,e)},set:function(e,t){var n=Wie(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Hie(this.entries,(function(t){return t[0]===e}));return~t&&Uie(this.entries,t,1),!!~t}};var qie,Kie={getConstructor:function(e,t,n,r){var o=e((function(e,o){are(e,i),jie(e,{type:t,id:$ie++,frozen:void 0}),null!=o&&yre(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Mie(t),u=function(e,t,n){var r=a(e),o=Lie(H9(t),!0);return!0===o?Vie(r).set(t,n):o[r.id]=n,e};return Zne(i,{delete:function(e){var t=a(this);if(!q7(e))return!1;var n=Lie(e);return!0===n?Vie(t).delete(e):n&&E9(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!q7(e))return!1;var n=Lie(e);return!0===n?Vie(t).has(e):n&&E9(n,t.id)}}),Zne(i,n?{get:function(e){var t=a(this);if(q7(e)){var n=Lie(e);return!0===n?Vie(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},Yie=lee.enforce,Xie=!C7.ActiveXObject&&"ActiveXObject"in C7,Zie=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Jie=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=C7[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=_7(u[e]);hee(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!q7(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!q7(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!q7(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Uee(e,!W7(a)||!(o||u.forEach&&!D7((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),_ie.enable();else if(Uee(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=D7((function(){f.has(1)})),h=xre((function(e){new a(e)})),v=!o&&D7((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){are(e,u);var n=function(e,t,n){var r,o;return ere&&W7(r=t.constructor)&&r!==n&&q7(o=r.prototype)&&o!==n.prototype&&ere(e,o),e}(new a,e,s);return null!=t&&yre(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,Vee({global:!0,forced:s!=a},l),rre(s,e),o||n.setStrong(s,e,r),s}("WeakMap",Zie,Kie);if(J9&&Xie){qie=Kie.getConstructor(Zie,"WeakMap",!0),_ie.enable();var Qie=Jie.prototype,eae=_7(Qie.delete),tae=_7(Qie.has),nae=_7(Qie.get),rae=_7(Qie.set);Zne(Qie,{delete:function(e){if(q7(e)&&!Pie(e)){var t=Yie(this);return t.frozen||(t.frozen=new qie),eae(this,e)||t.frozen.delete(e)}return eae(this,e)},has:function(e){if(q7(e)&&!Pie(e)){var t=Yie(this);return t.frozen||(t.frozen=new qie),tae(this,e)||t.frozen.has(e)}return tae(this,e)},get:function(e){if(q7(e)&&!Pie(e)){var t=Yie(this);return t.frozen||(t.frozen=new qie),tae(this,e)?nae(this,e):t.frozen.get(e)}return nae(this,e)},set:function(e,t){if(q7(e)&&!Pie(e)){var n=Yie(this);n.frozen||(n.frozen=new qie),tae(this,e)?rae(this,e,t):n.frozen.set(e,t)}else rae(this,e,t);return this}})}var oae={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},iae=R9("span").classList,aae=iae&&iae.constructor&&iae.constructor.prototype,uae=aae===Object.prototype?void 0:aae,sae=N9("iterator"),lae=N9("toStringTag"),cae=Sie.values,fae=function(e,t){if(e){if(e[sae]!==cae)try{G9(e,sae,cae)}catch(t){e[sae]=cae}if(e[lae]||G9(e,lae,t),oae[t])for(var n in Sie)if(e[n]!==Sie[n])try{G9(e,n,Sie[n])}catch(t){e[n]=Sie[n]}}};for(var dae in oae)fae(C7[dae]&&C7[dae].prototype,dae);fae(uae,"DOMTokenList");var pae=pee.EXISTS,hae=V9.f,vae=Function.prototype,gae=_7(vae.toString),yae=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,mae=_7(yae.exec);A7&&!pae&&hae(vae,"name",{configurable:!0,get:function(){try{return mae(yae,gae(this))[1]}catch(e){return""}}});var bae=N9("species"),Eae=n9>=51||!D7((function(){var e=[];return(e.constructor={})[bae]=function(){return{foo:1}},1!==e.slice(Boolean).foo})),wae=N9("species"),Sae=C7.Array,Cae=Math.max;function Dae(e){return e.getMenuConfig("uploadVideo")}Vee({target:"Array",proto:!0,forced:!Eae},{slice:function(e,t){var n,r,o,i=G7(this),a=Cee(i),u=Eee(e,a),s=Eee(void 0===t?a:t,a);if(Nte(i)&&(n=i.constructor,(Lte(n)&&(n===Sae||Nte(n.prototype))||q7(n)&&null===(n=n[wae]))&&(n=void 0),n===Sae||void 0===n))return Nre(i,u,s);for(r=new(void 0===n?Sae:n)(Cae(s-u,0)),o=0;u<s;u++,o++)u in i&&xie(r,o,i[u]);return r.length=o,r}});var Aae=new WeakMap;function xae(e,t){return h7(this,void 0,void 0,(function(){var n,r,o,i;return v7(this,(function(a){switch(a.label){case 0:return n=function(e){var t=Aae.get(e);if(null!=t)return t;var n=Dae(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=KI(p7(p7({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,(function(t,n){return qoe(e,t,n)})),void r(t,n);var o=n.errno,u=void 0===o?1:o,s=n.data,l=void 0===s?{}:s;if(0===u){var c=l.url,f=void 0===c?"":c,d=l.poster;qoe(e,f,void 0===d?"":d),r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),Aae.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}}))}))}var Oae=function(){function e(){this.title=UF("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i((function(t,n){return qoe(e,t,n)}));else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=Mp("body"),s=Mp('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",(function(){var t=s[0].files;!function(e,t){var n,r;h7(this,void 0,void 0,(function(){var o,i,a,u,s,l;return v7(this,(function(c){switch(c.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=Dae(e).customUpload,c.label=1;case 1:c.trys.push([1,9,10,15]),a=y7(o),c.label=2;case 2:return[4,a.next()];case 3:return(u=c.sent()).done?[3,8]:(s=u.value,i?[4,i(s,(function(t,n){return qoe(e,t,n)}))]:[3,5]);case 4:return c.sent(),[3,7];case 5:return[4,xae(e,s)];case 6:c.sent(),c.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return l=c.sent(),n={error:l},[3,15];case 10:return c.trys.push([10,,13,14]),u&&!u.done&&(r=a.return)?[4,r.call(a)]:[3,12];case 11:c.sent(),c.label=12;case 12:return[3,14];case 13:if(n)throw n.error;return[7];case 14:return[7];case 15:return[2]}}))}))}(e,t)}))}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!QO.getSelectedElems(e).some((function(t){var n=QO.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)}))},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}();function Tae(){return Yne("w-e-insert-video")}var Nae=function(){function e(){this.title=UF("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Tae(),this.heightInputId=Tae(),this.buttonId=Tae()}return e.prototype.getSelectedVideoNode=function(e){return QO.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=t.widthInputId,r=t.heightInputId,o=t.buttonId,i=g7(CI(UF("videoModule.width"),n,"auto"),2),a=i[0],u=Mp(i[1]),s=g7(CI(UF("videoModule.height"),r,"auto"),2),l=s[0],c=Mp(s[1]),f=g7(AI(o,UF("videoModule.ok")),1)[0];if(null==this.$content){var d=Mp("<div></div>");d.on("click","#"+o,(function(t){t.preventDefault();var o=d.find("#"+n).val().trim(),i=d.find("#"+r).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},u=function(e){return/^\d+(\.\d+)?$/.test(e)},s="auto",l="auto";a(o)?s=o:u(o)&&(s=parseInt(o)+"px"),a(i)?l=i:u(i)&&(l=parseInt(i)+"px");var c=h.style,f=void 0===c?{}:c;e.restoreSelection();var p=p7(p7({},f),{style:{width:s,height:l}});md.setNodes(e,p,{match:function(e){return QO.checkNodeType(e,"video")}}),e.hidePanelOrModal()})),this.$content=d}var p=this.$content;p.empty(),p.append(a),p.append(l),p.append(f);var h=this.getSelectedVideoNode(e);if(null==h)return p[0];var v=h.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"":y,b=g.height,E=void 0===b?"":b;return u.val(m),c.val(E),setTimeout((function(){u.focus()})),p[0]},e}();function kae(){return Yne("w-e-edit-video")}var Bae=function(){function e(){this.title=UF("videoModule.edit"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=kae(),this.posterInputId=kae(),this.buttonId=kae()}return e.prototype.getSelectedVideoNode=function(e){return QO.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,a=g7(CI(UF("videoModule.videoSrc"),r,UF("videoModule.videoSrcPlaceHolder")),2),u=a[0],s=a[1],l=g7(CI(UF("videoModule.videoPoster"),o,UF("videoModule.videoPosterPlaceHolder")),2),c=l[0],f=l[1],d=Mp(s),p=Mp(f),h=g7(AI(i,UF("videoModule.ok")),1)[0];if(null==this.$content){var v=Mp("<div></div>");v.on("click","#"+i,(function(n){return h7(t,void 0,void 0,(function(){var t,i,a,u;return v7(this,(function(s){return n.preventDefault(),t=v.find("#"+r).val().trim(),i=v.find("#"+o).val().trim(),a=Yne("video-"),u={src:t,poster:i,key:a},e.restoreSelection(),md.setNodes(e,u,{match:function(e){return QO.checkNodeType(e,"video")}}),e.hidePanelOrModal(),[2]}))}))})),this.$content=v}var g=this.$content;g.empty(),g.append(u),g.append(c),g.append(h);var y=this.getSelectedVideoNode(e);if(null==y)return g[0];var m=y.src,b=void 0===m?"":m,E=y.poster,w=void 0===E?"":E;return d.val(b),p.val(w),setTimeout((function(){d.focus()})),g[0]},e}(),Iae={renderElems:[fte],elemsToHtml:[dte],preParseHtml:[xte],parseElemsHtml:[Xte],menus:[{key:"insertVideo",factory:function(){return new Yoe},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Oae},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new Nae}},{key:"editVideoSrc",factory:function(){return new Bae}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return"video"===e.type||t(e)},r.normalizeNode=function(e){var t=g7(e,2),o=t[0],i=t[1];return"video"===QO.getNodeType(o)&&QO.isLastNode(r,o)&&md.insertNodes(r,QO.genEmptyParagraph(),{at:[i[0]+1]}),n([o,i])},r}};MF("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),MF("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var Fae="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Pae(e){var t={exports:{}};return e(t,t.exports),t.exports}var Rae,_ae,Lae=function(e){return e&&e.Math==Math&&e},jae=Lae("object"==typeof globalThis&&globalThis)||Lae("object"==typeof window&&window)||Lae("object"==typeof self&&self)||Lae("object"==typeof Fae&&Fae)||function(){return this}()||Function("return this")(),Mae=function(e){try{return!!e()}catch(e){return!0}},zae=!Mae((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Hae=Function.prototype.call,Uae=Hae.bind?Hae.bind(Hae):function(){return Hae.apply(Hae,arguments)},$ae={}.propertyIsEnumerable,Vae=Object.getOwnPropertyDescriptor,Gae={f:Vae&&!$ae.call({1:2},1)?function(e){var t=Vae(this,e);return!!t&&t.enumerable}:$ae},Wae=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},qae=Function.prototype,Kae=qae.bind,Yae=qae.call,Xae=Kae&&Kae.bind(Yae),Zae=Kae?function(e){return e&&Xae(Yae,e)}:function(e){return e&&function(){return Yae.apply(e,arguments)}},Jae=Zae({}.toString),Qae=Zae("".slice),eue=function(e){return Qae(Jae(e),8,-1)},tue=jae.Object,nue=Zae("".split),rue=Mae((function(){return!tue("z").propertyIsEnumerable(0)}))?function(e){return"String"==eue(e)?nue(e,""):tue(e)}:tue,oue=jae.TypeError,iue=function(e){if(null==e)throw oue("Can't call method on "+e);return e},aue=function(e){return rue(iue(e))},uue=function(e){return"function"==typeof e},sue=function(e){return"object"==typeof e?null!==e:uue(e)},lue=function(e){return uue(e)?e:void 0},cue=function(e,t){return arguments.length<2?lue(jae[e]):jae[e]&&jae[e][t]},fue=Zae({}.isPrototypeOf),due=cue("navigator","userAgent")||"",pue=jae.process,hue=jae.Deno,vue=pue&&pue.versions||hue&&hue.version,gue=vue&&vue.v8;gue&&(_ae=(Rae=gue.split("."))[0]>0&&Rae[0]<4?1:+(Rae[0]+Rae[1])),!_ae&&due&&(!(Rae=due.match(/Edge\/(\d+)/))||Rae[1]>=74)&&(Rae=due.match(/Chrome\/(\d+)/))&&(_ae=+Rae[1]);var yue=_ae,mue=!!Object.getOwnPropertySymbols&&!Mae((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&yue&&yue<41})),bue=mue&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Eue=jae.Object,wue=bue?function(e){return"symbol"==typeof e}:function(e){var t=cue("Symbol");return uue(t)&&fue(t.prototype,Eue(e))},Sue=jae.String,Cue=function(e){try{return Sue(e)}catch(e){return"Object"}},Due=jae.TypeError,Aue=function(e){if(uue(e))return e;throw Due(Cue(e)+" is not a function")},xue=function(e,t){var n=e[t];return null==n?void 0:Aue(n)},Oue=jae.TypeError,Tue=Object.defineProperty,Nue=function(e,t){try{Tue(jae,e,{value:t,configurable:!0,writable:!0})}catch(n){jae[e]=t}return t},kue=jae["__core-js_shared__"]||Nue("__core-js_shared__",{}),Bue=Pae((function(e){(e.exports=function(e,t){return kue[e]||(kue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Iue=jae.Object,Fue=function(e){return Iue(iue(e))},Pue=Zae({}.hasOwnProperty),Rue=Object.hasOwn||function(e,t){return Pue(Fue(e),t)},_ue=0,Lue=Math.random(),jue=Zae(1..toString),Mue=function(e){return"Symbol("+(void 0===e?"":e)+")_"+jue(++_ue+Lue,36)},zue=Bue("wks"),Hue=jae.Symbol,Uue=Hue&&Hue.for,$ue=bue?Hue:Hue&&Hue.withoutSetter||Mue,Vue=function(e){if(!Rue(zue,e)||!mue&&"string"!=typeof zue[e]){var t="Symbol."+e;mue&&Rue(Hue,e)?zue[e]=Hue[e]:zue[e]=bue&&Uue?Uue(t):$ue(t)}return zue[e]},Gue=jae.TypeError,Wue=Vue("toPrimitive"),que=function(e){var t=function(e,t){if(!sue(e)||wue(e))return e;var n,r=xue(e,Wue);if(r){if(void 0===t&&(t="default"),n=Uae(r,e,t),!sue(n)||wue(n))return n;throw Gue("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&uue(n=e.toString)&&!sue(r=Uae(n,e)))return r;if(uue(n=e.valueOf)&&!sue(r=Uae(n,e)))return r;if("string"!==t&&uue(n=e.toString)&&!sue(r=Uae(n,e)))return r;throw Oue("Can't convert object to primitive value")}(e,t)}(e,"string");return wue(t)?t:t+""},Kue=jae.document,Yue=sue(Kue)&&sue(Kue.createElement),Xue=function(e){return Yue?Kue.createElement(e):{}},Zue=!zae&&!Mae((function(){return 7!=Object.defineProperty(Xue("div"),"a",{get:function(){return 7}}).a})),Jue=Object.getOwnPropertyDescriptor,Que={f:zae?Jue:function(e,t){if(e=aue(e),t=que(t),Zue)try{return Jue(e,t)}catch(e){}if(Rue(e,t))return Wae(!Uae(Gae.f,e,t),e[t])}},ese=jae.String,tse=jae.TypeError,nse=function(e){if(sue(e))return e;throw tse(ese(e)+" is not an object")},rse=jae.TypeError,ose=Object.defineProperty,ise={f:zae?ose:function(e,t,n){if(nse(e),t=que(t),nse(n),Zue)try{return ose(e,t,n)}catch(e){}if("get"in n||"set"in n)throw rse("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ase=zae?function(e,t,n){return ise.f(e,t,Wae(1,n))}:function(e,t,n){return e[t]=n,e},use=Zae(Function.toString);uue(kue.inspectSource)||(kue.inspectSource=function(e){return use(e)});var sse,lse,cse,fse=kue.inspectSource,dse=jae.WeakMap,pse=uue(dse)&&/native code/.test(fse(dse)),hse=Bue("keys"),vse=function(e){return hse[e]||(hse[e]=Mue(e))},gse={},yse=jae.TypeError,mse=jae.WeakMap;if(pse||kue.state){var bse=kue.state||(kue.state=new mse),Ese=Zae(bse.get),wse=Zae(bse.has),Sse=Zae(bse.set);sse=function(e,t){if(wse(bse,e))throw new yse("Object already initialized");return t.facade=e,Sse(bse,e,t),t},lse=function(e){return Ese(bse,e)||{}},cse=function(e){return wse(bse,e)}}else{var Cse=vse("state");gse[Cse]=!0,sse=function(e,t){if(Rue(e,Cse))throw new yse("Object already initialized");return t.facade=e,ase(e,Cse,t),t},lse=function(e){return Rue(e,Cse)?e[Cse]:{}},cse=function(e){return Rue(e,Cse)}}var Dse={set:sse,get:lse,has:cse,enforce:function(e){return cse(e)?lse(e):sse(e,{})},getterFor:function(e){return function(t){var n;if(!sue(t)||(n=lse(t)).type!==e)throw yse("Incompatible receiver, "+e+" required");return n}}},Ase=Function.prototype,xse=zae&&Object.getOwnPropertyDescriptor,Ose=Rue(Ase,"name"),Tse={EXISTS:Ose,PROPER:Ose&&"something"===function(){}.name,CONFIGURABLE:Ose&&(!zae||zae&&xse(Ase,"name").configurable)},Nse=Pae((function(e){var t=Tse.CONFIGURABLE,n=Dse.get,r=Dse.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;uue(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Rue(i,"name")||t&&i.name!==f)&&ase(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==jae?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:ase(e,n,i)):l?e[n]=i:Nue(n,i)})(Function.prototype,"toString",(function(){return uue(this)&&n(this).source||fse(this)}))})),kse=Math.ceil,Bse=Math.floor,Ise=function(e){var t=+e;return t!=t||0===t?0:(t>0?Bse:kse)(t)},Fse=Math.max,Pse=Math.min,Rse=function(e,t){var n=Ise(e);return n<0?Fse(n+t,0):Pse(n,t)},_se=Math.min,Lse=function(e){return e>0?_se(Ise(e),9007199254740991):0},jse=function(e){return Lse(e.length)},Mse=function(e){return function(t,n,r){var o,i=aue(t),a=jse(i),u=Rse(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},zse=(Mse(!0),Mse(!1)),Hse=Zae([].push),Use=function(e,t){var n,r=aue(e),o=0,i=[];for(n in r)!Rue(gse,n)&&Rue(r,n)&&Hse(i,n);for(;t.length>o;)Rue(r,n=t[o++])&&(~zse(i,n)||Hse(i,n));return i},$se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Vse=$se.concat("length","prototype"),Gse={f:Object.getOwnPropertyNames||function(e){return Use(e,Vse)}},Wse={f:Object.getOwnPropertySymbols},qse=Zae([].concat),Kse=cue("Reflect","ownKeys")||function(e){var t=Gse.f(nse(e)),n=Wse.f;return n?qse(t,n(e)):t},Yse=function(e,t){for(var n=Kse(t),r=ise.f,o=Que.f,i=0;i<n.length;i++){var a=n[i];Rue(e,a)||r(e,a,o(t,a))}},Xse=/#|\.prototype\./,Zse=function(e,t){var n=Qse[Jse(e)];return n==tle||n!=ele&&(uue(t)?Mae(t):!!t)},Jse=Zse.normalize=function(e){return String(e).replace(Xse,".").toLowerCase()},Qse=Zse.data={},ele=Zse.NATIVE="N",tle=Zse.POLYFILL="P",nle=Zse,rle=Que.f,ole=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?jae:l?jae[u]||Nue(u,{}):(jae[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=rle(n,r))&&a.value:n[r],!nle(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Yse(i,o)}(e.sham||o&&o.sham)&&ase(i,"sham",!0),Nse(n,r,i,e)}},ile=Array.isArray||function(e){return"Array"==eue(e)},ale={};ale[Vue("toStringTag")]="z";var ule="[object z]"===String(ale),sle=Vue("toStringTag"),lle=jae.Object,cle="Arguments"==eue(function(){return arguments}()),fle=ule?eue:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=lle(e),sle))?n:cle?eue(t):"Object"==(r=eue(t))&&uue(t.callee)?"Arguments":r},dle=function(){},ple=[],hle=cue("Reflect","construct"),vle=/^\s*(?:class|function)\b/,gle=Zae(vle.exec),yle=!vle.exec(dle),mle=function(e){if(!uue(e))return!1;try{return hle(dle,ple,e),!0}catch(e){return!1}},ble=!hle||Mae((function(){var e;return mle(mle.call)||!mle(Object)||!mle((function(){e=!0}))||e}))?function(e){if(!uue(e))return!1;switch(fle(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return yle||!!gle(vle,fse(e))}:mle,Ele=function(e,t,n){var r=que(t);r in e?ise.f(e,r,Wae(0,n)):e[r]=n},wle=Vue("species"),Sle=Zae([].slice),Cle=("slice",yue>=51||!Mae((function(){var e=[];return(e.constructor={})[wle]=function(){return{foo:1}},1!==e.slice(Boolean).foo}))),Dle=Vue("species"),Ale=jae.Array,xle=Math.max;ole({target:"Array",proto:!0,forced:!Cle},{slice:function(e,t){var n,r,o,i=aue(this),a=jse(i),u=Rse(e,a),s=Rse(void 0===t?a:t,a);if(ile(i)&&(n=i.constructor,(ble(n)&&(n===Ale||ile(n.prototype))||sue(n)&&null===(n=n[Dle]))&&(n=void 0),n===Ale||void 0===n))return Sle(i,u,s);for(r=new(void 0===n?Ale:n)(xle(s-u,0)),o=0;u<s;u++,o++)u in i&&Ele(r,o,i[u]);return r.length=o,r}});var Ole=ule?{}.toString:function(){return"[object "+fle(this)+"]"};ule||Nse(Object.prototype,"toString",Ole,{unsafe:!0});var Tle,Nle=jae.String,kle=function(e){if("Symbol"===fle(e))throw TypeError("Cannot convert a Symbol value to a string");return Nle(e)},Ble=function(){var e=nse(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ile=jae.RegExp,Fle=Mae((function(){var e=Ile("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Ple=Fle||Mae((function(){return!Ile("a","y").sticky})),Rle={BROKEN_CARET:Fle||Mae((function(){var e=Ile("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Ple,UNSUPPORTED_Y:Fle},_le=Object.keys||function(e){return Use(e,$se)},Lle=zae?Object.defineProperties:function(e,t){nse(e);for(var n,r=aue(t),o=_le(t),i=o.length,a=0;i>a;)ise.f(e,n=o[a++],r[n]);return e},jle=cue("document","documentElement"),Mle=vse("IE_PROTO"),zle=function(){},Hle=function(e){return"<script>"+e+"<\/script>"},Ule=function(e){e.write(Hle("")),e.close();var t=e.parentWindow.Object;return e=null,t},$le=function(){try{Tle=new ActiveXObject("htmlfile")}catch(e){}var e,t;$le="undefined"!=typeof document?document.domain&&Tle?Ule(Tle):((t=Xue("iframe")).style.display="none",jle.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Hle("document.F=Object")),e.close(),e.F):Ule(Tle);for(var n=$se.length;n--;)delete $le.prototype[$se[n]];return $le()};gse[Mle]=!0;var Vle,Gle,Wle=Object.create||function(e,t){var n;return null!==e?(zle.prototype=nse(e),n=new zle,zle.prototype=null,n[Mle]=e):n=$le(),void 0===t?n:Lle(n,t)},qle=jae.RegExp,Kle=Mae((function(){var e=qle(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Yle=jae.RegExp,Xle=Mae((function(){var e=Yle("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Zle=Dse.get,Jle=Bue("native-string-replace",String.prototype.replace),Qle=RegExp.prototype.exec,ece=Qle,tce=Zae("".charAt),nce=Zae("".indexOf),rce=Zae("".replace),oce=Zae("".slice),ice=(Gle=/b*/g,Uae(Qle,Vle=/a/,"a"),Uae(Qle,Gle,"a"),0!==Vle.lastIndex||0!==Gle.lastIndex),ace=Rle.BROKEN_CARET,uce=void 0!==/()??/.exec("")[1];(ice||uce||ace||Kle||Xle)&&(ece=function(e){var t,n,r,o,i,a,u,s=this,l=Zle(s),c=kle(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Uae(ece,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=ace&&s.sticky,h=Uae(Ble,s),v=s.source,g=0,y=c;if(p&&(h=rce(h,"y",""),-1===nce(h,"g")&&(h+="g"),y=oce(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==tce(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),uce&&(n=new RegExp("^"+v+"$(?!\\s)",h)),ice&&(r=s.lastIndex),o=Uae(Qle,p?n:s,y),p?o?(o.input=oce(o.input,g),o[0]=oce(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:ice&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),uce&&o&&o.length>1&&Uae(Jle,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Wle(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var sce=ece;ole({target:"RegExp",proto:!0,forced:/./.exec!==sce},{exec:sce});var lce=Function.prototype,cce=lce.apply,fce=lce.bind,dce=lce.call,pce="object"==typeof Reflect&&Reflect.apply||(fce?dce.bind(cce):function(){return dce.apply(cce,arguments)}),hce=Vue("species"),vce=RegExp.prototype,gce=Vue("match"),yce=jae.TypeError,mce=Vue("species"),bce=function(e,t){var n,r=nse(e).constructor;return void 0===r||null==(n=nse(r)[mce])?t:function(e){if(ble(e))return e;throw yce(Cue(e)+" is not a constructor")}(n)},Ece=Zae("".charAt),wce=Zae("".charCodeAt),Sce=Zae("".slice),Cce=function(e){return function(t,n){var r,o,i=kle(iue(t)),a=Ise(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=wce(i,a))<55296||r>56319||a+1===u||(o=wce(i,a+1))<56320||o>57343?e?Ece(i,a):r:e?Sce(i,a,a+2):o-56320+(r-55296<<10)+65536}},Dce={codeAt:Cce(!1),charAt:Cce(!0)},Ace=Dce.charAt,xce=function(e,t,n){return t+(n?Ace(e,t).length:1)},Oce=jae.Array,Tce=Math.max,Nce=function(e,t,n){for(var r=jse(e),o=Rse(t,r),i=Rse(void 0===n?r:n,r),a=Oce(Tce(i-o,0)),u=0;o<i;o++,u++)Ele(a,u,e[o]);return a.length=u,a},kce=jae.TypeError,Bce=function(e,t){var n=e.exec;if(uue(n)){var r=Uae(n,e,t);return null!==r&&nse(r),r}if("RegExp"===eue(e))return Uae(sce,e,t);throw kce("RegExp#exec called on incompatible receiver")},Ice=Rle.UNSUPPORTED_Y,Fce=Math.min,Pce=[].push,Rce=Zae(/./.exec),_ce=Zae(Pce),Lce=Zae("".slice);!function(e,t,n,r){var o=Vue(e),i=!Mae((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Mae((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[hce]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=Zae(/./[o]),s=function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o,i=kle(iue(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!sue(r=e)||!(void 0!==(o=r[gce])?o:"RegExp"==eue(r)))return Uae(t,i,e,a);for(var u,s,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=new RegExp(e.source,f+"g");(u=Uae(sce,p,i))&&!((s=p.lastIndex)>d&&(_ce(c,Lce(i,d,u.index)),u.length>1&&u.index<i.length&&pce(Pce,c,Nce(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&Rce(p,"")||_ce(c,""):_ce(c,Lce(i,d)),c.length>a?Nce(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Uae(t,this,e,n)}:t,[function(t,n){var o=iue(this),i=null==t?void 0:xue(t,e);return i?Uae(i,t,o,n):Uae(r,kle(o),t,n)},function(e,o){var i=nse(this),a=kle(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=bce(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Ice?"g":"y"),f=new s(Ice?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Bce(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=Ice?0:h;var g,y=Bce(f,Ice?Lce(a,h):a);if(null===y||(g=Fce(Lse(f.lastIndex+(Ice?h:0)),a.length))===p)h=xce(a,h,l);else{if(_ce(v,Lce(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(_ce(v,y[m]),v.length===d)return v;h=p=g}}return _ce(v,Lce(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=Zae(e),s=t.exec;return s===sce||s===vce.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));Nse(String.prototype,e,s[0]),Nse(vce,o,s[1])}r&&ase(vce[o],"sham",!0)}("split",0,!!Mae((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Ice);var jce=function(){return jce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},jce.apply(this,arguments)};function Mce(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function zce(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function Hce(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}"function"==typeof SuppressedError&&SuppressedError;var Uce=Vue("unscopables"),$ce=Array.prototype;null==$ce[Uce]&&ise.f($ce,Uce,{configurable:!0,value:Wle(null)});var Vce,Gce,Wce,qce=function(e){$ce[Uce][e]=!0},Kce={},Yce=!Mae((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Xce=vse("IE_PROTO"),Zce=jae.Object,Jce=Zce.prototype,Qce=Yce?Zce.getPrototypeOf:function(e){var t=Fue(e);if(Rue(t,Xce))return t[Xce];var n=t.constructor;return uue(n)&&t instanceof n?n.prototype:t instanceof Zce?Jce:null},efe=Vue("iterator"),tfe=!1;[].keys&&("next"in(Wce=[].keys())?(Gce=Qce(Qce(Wce)))!==Object.prototype&&(Vce=Gce):tfe=!0);var nfe=null==Vce||Mae((function(){var e={};return Vce[efe].call(e)!==e}));nfe&&(Vce={}),uue(Vce[efe])||Nse(Vce,efe,(function(){return this}));var rfe={IteratorPrototype:Vce,BUGGY_SAFARI_ITERATORS:tfe},ofe=ise.f,ife=Vue("toStringTag"),afe=function(e,t,n){e&&!Rue(e=n?e:e.prototype,ife)&&ofe(e,ife,{configurable:!0,value:t})},ufe=rfe.IteratorPrototype,sfe=function(){return this},lfe=jae.String,cfe=jae.TypeError,ffe=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Zae(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return nse(n),function(e){if("object"==typeof e||uue(e))return e;throw cfe("Can't set "+lfe(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),dfe=Tse.PROPER,pfe=Tse.CONFIGURABLE,hfe=rfe.IteratorPrototype,vfe=rfe.BUGGY_SAFARI_ITERATORS,gfe=Vue("iterator"),yfe=function(){return this},mfe=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Wle(ufe,{next:Wae(1,n)}),afe(e,o,!1),Kce[o]=sfe}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!vfe&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[gfe]||p["@@iterator"]||o&&p[o],v=!vfe&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=Qce(g.call(new e)))!==Object.prototype&&u.next&&(Qce(u)!==hfe&&(ffe?ffe(u,hfe):uue(u[gfe])||Nse(u,gfe,yfe)),afe(u,f,!0)),dfe&&"values"==o&&h&&"values"!==h.name&&(pfe?ase(p,"name","values"):(d=!0,v=function(){return Uae(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(vfe||d||!(l in p))&&Nse(p,l,s[l]);else ole({target:t,proto:!0,forced:vfe||d},s);return p[gfe]!==v&&Nse(p,gfe,v,{name:o}),Kce[t]=v,s},bfe=Dse.set,Efe=Dse.getterFor("Array Iterator"),wfe=mfe(Array,"Array",(function(e,t){bfe(this,{type:"Array Iterator",target:aue(e),index:0,kind:t})}),(function(){var e=Efe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");Kce.Arguments=Kce.Array,qce("keys"),qce("values"),qce("entries");var Sfe=Dce.charAt,Cfe=Dse.set,Dfe=Dse.getterFor("String Iterator");mfe(String,"String",(function(e){Cfe(this,{type:"String Iterator",string:kle(e),index:0})}),(function(){var e,t=Dfe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Sfe(n,r),t.index+=e.length,{value:e,done:!1})}));var Afe=function(e,t,n){for(var r in t)Nse(e,r,t[r],n);return e},xfe=Gse.f,Ofe="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Tfe={f:function(e){return Ofe&&"Window"==eue(e)?function(e){try{return xfe(e)}catch(e){return Nce(Ofe)}}(e):xfe(aue(e))}},Nfe=Mae((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),kfe=Object.isExtensible,Bfe=Mae((function(){kfe(1)}))||Nfe?function(e){return!!sue(e)&&(!Nfe||"ArrayBuffer"!=eue(e))&&(!kfe||kfe(e))}:kfe,Ife=!Mae((function(){return Object.isExtensible(Object.preventExtensions({}))})),Ffe=Pae((function(e){var t=ise.f,n=!1,r=Mue("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Gse.f,t=Zae([].splice),o={};o[r]=1,e(o).length&&(Gse.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},ole({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Tfe.f}))},fastKey:function(e,t){if(!sue(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Rue(e,r)){if(!Bfe(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!Rue(e,r)){if(!Bfe(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Ife&&n&&Bfe(e)&&!Rue(e,r)&&i(e),e}};gse[r]=!0})),Pfe=Zae(Zae.bind),Rfe=function(e,t){return Aue(e),void 0===t?e:Pfe?Pfe(e,t):function(){return e.apply(t,arguments)}},_fe=Vue("iterator"),Lfe=Array.prototype,jfe=Vue("iterator"),Mfe=function(e){if(null!=e)return xue(e,jfe)||xue(e,"@@iterator")||Kce[fle(e)]},zfe=jae.TypeError,Hfe=function(e,t,n){var r,o;nse(e);try{if(!(r=xue(e,"return"))){if("throw"===t)throw n;return n}r=Uae(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return nse(r),n},Ufe=jae.TypeError,$fe=function(e,t){this.stopped=e,this.result=t},Vfe=$fe.prototype,Gfe=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=Rfe(t,f),g=function(e){return r&&Hfe(r,"normal",e),new $fe(!0,e)},y=function(e){return d?(nse(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=Mfe(e)))throw Ufe(Cue(e)+" is not iterable");if(void 0!==(c=o)&&(Kce.Array===c||Lfe[_fe]===c)){for(i=0,a=jse(e);a>i;i++)if((u=y(e[i]))&&fue(Vfe,u))return u;return new $fe(!1)}r=function(e,t){var n=arguments.length<2?Mfe(e):t;if(Aue(n))return nse(Uae(n,e));throw zfe(Cue(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=Uae(s,r)).done;){try{u=y(l.value)}catch(e){Hfe(r,"throw",e)}if("object"==typeof u&&u&&fue(Vfe,u))return u}return new $fe(!1)},Wfe=jae.TypeError,qfe=function(e,t){if(fue(t,e))return e;throw Wfe("Incorrect invocation")},Kfe=Vue("iterator"),Yfe=!1;try{var Xfe=0,Zfe={next:function(){return{done:!!Xfe++}},return:function(){Yfe=!0}};Zfe[Kfe]=function(){return this},Array.from(Zfe,(function(){throw 2}))}catch(Ml){}var Jfe=function(e,t){if(!t&&!Yfe)return!1;var n=!1;try{var r={};r[Kfe]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Qfe=Vue("species"),ede=jae.Array,tde=function(e,t){return new(function(e){var t;return ile(e)&&(t=e.constructor,(ble(t)&&(t===ede||ile(t.prototype))||sue(t)&&null===(t=t[Qfe]))&&(t=void 0)),void 0===t?ede:t}(e))(0===t?0:t)},nde=Zae([].push),rde=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Fue(s),v=rue(h),g=Rfe(l,c),y=jse(v),m=0,b=f||tde,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:nde(E,d)}else switch(e){case 4:return!1;case 7:nde(E,d)}return i?-1:r||o?o:E}},ode={forEach:rde(0),map:rde(1),filter:rde(2),some:rde(3),every:rde(4),find:rde(5),findIndex:rde(6),filterReject:rde(7)},ide=Ffe.getWeakData,ade=Dse.set,ude=Dse.getterFor,sde=ode.find,lde=ode.findIndex,cde=Zae([].splice),fde=0,dde=function(e){return e.frozen||(e.frozen=new pde)},pde=function(){this.entries=[]},hde=function(e,t){return sde(e.entries,(function(e){return e[0]===t}))};pde.prototype={get:function(e){var t=hde(this,e);if(t)return t[1]},has:function(e){return!!hde(this,e)},set:function(e,t){var n=hde(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=lde(this.entries,(function(t){return t[0]===e}));return~t&&cde(this.entries,t,1),!!~t}};var vde,gde={getConstructor:function(e,t,n,r){var o=e((function(e,o){qfe(e,i),ade(e,{type:t,id:fde++,frozen:void 0}),null!=o&&Gfe(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=ude(t),u=function(e,t,n){var r=a(e),o=ide(nse(t),!0);return!0===o?dde(r).set(t,n):o[r.id]=n,e};return Afe(i,{delete:function(e){var t=a(this);if(!sue(e))return!1;var n=ide(e);return!0===n?dde(t).delete(e):n&&Rue(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!sue(e))return!1;var n=ide(e);return!0===n?dde(t).has(e):n&&Rue(n,t.id)}}),Afe(i,n?{get:function(e){var t=a(this);if(sue(e)){var n=ide(e);return!0===n?dde(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},yde=Dse.enforce,mde=!jae.ActiveXObject&&"ActiveXObject"in jae,bde=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Ede=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=jae[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=Zae(u[e]);Nse(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!sue(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!sue(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!sue(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(nle(e,!uue(a)||!(o||u.forEach&&!Mae((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),Ffe.enable();else if(nle(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Mae((function(){f.has(1)})),h=Jfe((function(e){new a(e)})),v=!o&&Mae((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){qfe(e,u);var n=function(e,t,n){var r,o;return ffe&&uue(r=t.constructor)&&r!==n&&sue(o=r.prototype)&&o!==n.prototype&&ffe(e,o),e}(new a,e,s);return null!=t&&Gfe(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,ole({global:!0,forced:s!=a},l),afe(s,e),o||n.setStrong(s,e,r),s}("WeakMap",bde,gde);if(pse&&mde){vde=gde.getConstructor(bde,"WeakMap",!0),Ffe.enable();var wde=Ede.prototype,Sde=Zae(wde.delete),Cde=Zae(wde.has),Dde=Zae(wde.get),Ade=Zae(wde.set);Afe(wde,{delete:function(e){if(sue(e)&&!Bfe(e)){var t=yde(this);return t.frozen||(t.frozen=new vde),Sde(this,e)||t.frozen.delete(e)}return Sde(this,e)},has:function(e){if(sue(e)&&!Bfe(e)){var t=yde(this);return t.frozen||(t.frozen=new vde),Cde(this,e)||t.frozen.has(e)}return Cde(this,e)},get:function(e){if(sue(e)&&!Bfe(e)){var t=yde(this);return t.frozen||(t.frozen=new vde),Cde(this,e)?Dde(this,e):t.frozen.get(e)}return Dde(this,e)},set:function(e,t){if(sue(e)&&!Bfe(e)){var n=yde(this);n.frozen||(n.frozen=new vde),Cde(this,e)?Ade(this,e,t):n.frozen.set(e,t)}else Ade(this,e,t);return this}})}var xde={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ode=Xue("span").classList,Tde=Ode&&Ode.constructor&&Ode.constructor.prototype,Nde=Tde===Object.prototype?void 0:Tde,kde=Vue("iterator"),Bde=Vue("toStringTag"),Ide=wfe.values,Fde=function(e,t){if(e){if(e[kde]!==Ide)try{ase(e,kde,Ide)}catch(t){e[kde]=Ide}if(e[Bde]||ase(e,Bde,t),xde[t])for(var n in wfe)if(e[n]!==wfe[n])try{ase(e,n,wfe[n])}catch(t){e[n]=wfe[n]}}};for(var Pde in xde)Fde(jae[Pde]&&jae[Pde].prototype,Pde);Fde(Nde,"DOMTokenList");var Rde=function(e,t){var n=[][e];return!!n&&Mae((function(){n.call(null,t||function(){throw 1},1)}))},_de=ode.forEach,Lde=Rde("forEach")?[].forEach:function(e){return _de(this,e,arguments.length>1?arguments[1]:void 0)},jde=function(e){if(e&&e.forEach!==Lde)try{ase(e,"forEach",Lde)}catch(t){e.forEach=Lde}};for(var Mde in xde)xde[Mde]&&jde(jae[Mde]&&jae[Mde].prototype);jde(Nde);var zde,Hde,Ude,$de,Vde=jae.Promise,Gde=Vue("species"),Wde=/(?:ipad|iphone|ipod).*applewebkit/i.test(due),qde="process"==eue(jae.process),Kde=jae.setImmediate,Yde=jae.clearImmediate,Xde=jae.process,Zde=jae.Dispatch,Jde=jae.Function,Qde=jae.MessageChannel,epe=jae.String,tpe=0,npe={};try{zde=jae.location}catch(Ml){}var rpe=function(e){if(Rue(npe,e)){var t=npe[e];delete npe[e],t()}},ope=function(e){return function(){rpe(e)}},ipe=function(e){rpe(e.data)},ape=function(e){jae.postMessage(epe(e),zde.protocol+"//"+zde.host)};Kde&&Yde||(Kde=function(e){var t=Sle(arguments,1);return npe[++tpe]=function(){pce(uue(e)?e:Jde(e),void 0,t)},Hde(tpe),tpe},Yde=function(e){delete npe[e]},qde?Hde=function(e){Xde.nextTick(ope(e))}:Zde&&Zde.now?Hde=function(e){Zde.now(ope(e))}:Qde&&!Wde?($de=(Ude=new Qde).port2,Ude.port1.onmessage=ipe,Hde=Rfe($de.postMessage,$de)):jae.addEventListener&&uue(jae.postMessage)&&!jae.importScripts&&zde&&"file:"!==zde.protocol&&!Mae(ape)?(Hde=ape,jae.addEventListener("message",ipe,!1)):Hde="onreadystatechange"in Xue("script")?function(e){jle.appendChild(Xue("script")).onreadystatechange=function(){jle.removeChild(this),rpe(e)}}:function(e){setTimeout(ope(e),0)});var upe,spe,lpe,cpe,fpe,dpe,ppe,hpe,vpe={set:Kde,clear:Yde},gpe=/ipad|iphone|ipod/i.test(due)&&void 0!==jae.Pebble,ype=/web0s(?!.*chrome)/i.test(due),mpe=Que.f,bpe=vpe.set,Epe=jae.MutationObserver||jae.WebKitMutationObserver,wpe=jae.document,Spe=jae.process,Cpe=jae.Promise,Dpe=mpe(jae,"queueMicrotask"),Ape=Dpe&&Dpe.value;Ape||(upe=function(){var e,t;for(qde&&(e=Spe.domain)&&e.exit();spe;){t=spe.fn,spe=spe.next;try{t()}catch(e){throw spe?cpe():lpe=void 0,e}}lpe=void 0,e&&e.enter()},Wde||qde||ype||!Epe||!wpe?!gpe&&Cpe&&Cpe.resolve?((ppe=Cpe.resolve(void 0)).constructor=Cpe,hpe=Rfe(ppe.then,ppe),cpe=function(){hpe(upe)}):qde?cpe=function(){Spe.nextTick(upe)}:(bpe=Rfe(bpe,jae),cpe=function(){bpe(upe)}):(fpe=!0,dpe=wpe.createTextNode(""),new Epe(upe).observe(dpe,{characterData:!0}),cpe=function(){dpe.data=fpe=!fpe}));var xpe,Ope,Tpe,Npe,kpe=Ape||function(e){var t={fn:e,next:void 0};lpe&&(lpe.next=t),spe||(spe=t,cpe()),lpe=t},Bpe=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=Aue(t),this.reject=Aue(n)},Ipe={f:function(e){return new Bpe(e)}},Fpe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ppe="object"==typeof window,Rpe=vpe.set,_pe=Vue("species"),Lpe="Promise",jpe=Dse.getterFor(Lpe),Mpe=Dse.set,zpe=Dse.getterFor(Lpe),Hpe=Vde&&Vde.prototype,Upe=Vde,$pe=Hpe,Vpe=jae.TypeError,Gpe=jae.document,Wpe=jae.process,qpe=Ipe.f,Kpe=qpe,Ype=!!(Gpe&&Gpe.createEvent&&jae.dispatchEvent),Xpe=uue(jae.PromiseRejectionEvent),Zpe=!1,Jpe=nle(Lpe,(function(){var e=fse(Upe),t=e!==String(Upe);if(!t&&66===yue)return!0;if(yue>=51&&/native code/.test(e))return!1;var n=new Upe((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[_pe]=r,!(Zpe=n.then((function(){}))instanceof r)||!t&&Ppe&&!Xpe})),Qpe=Jpe||!Jfe((function(e){Upe.all(e).catch((function(){}))})),ehe=function(e){var t;return!(!sue(e)||!uue(t=e.then))&&t},the=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;kpe((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&ihe(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Vpe("Promise-chain cycle")):(u=ehe(a))?Uae(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&rhe(e)}))}},nhe=function(e,t,n){var r,o;Ype?((r=Gpe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),jae.dispatchEvent(r)):r={promise:t,reason:n},!Xpe&&(o=jae["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=jae.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},rhe=function(e){Uae(Rpe,jae,(function(){var t,n=e.facade,r=e.value;if(ohe(e)&&(t=Fpe((function(){qde?Wpe.emit("unhandledRejection",r,n):nhe("unhandledrejection",n,r)})),e.rejection=qde||ohe(e)?2:1,t.error))throw t.value}))},ohe=function(e){return 1!==e.rejection&&!e.parent},ihe=function(e){Uae(Rpe,jae,(function(){var t=e.facade;qde?Wpe.emit("rejectionHandled",t):nhe("rejectionhandled",t,e.value)}))},ahe=function(e,t,n){return function(r){e(t,r,n)}},uhe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,the(e,!0))},she=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Vpe("Promise can't be resolved itself");var r=ehe(t);r?kpe((function(){var n={done:!1};try{Uae(r,t,ahe(she,n,e),ahe(uhe,n,e))}catch(t){uhe(n,t,e)}})):(e.value=t,e.state=1,the(e,!1))}catch(t){uhe({done:!1},t,e)}}};if(Jpe&&($pe=(Upe=function(e){qfe(this,$pe),Aue(e),Uae(xpe,this);var t=jpe(this);try{e(ahe(she,t),ahe(uhe,t))}catch(e){uhe(t,e)}}).prototype,(xpe=function(e){Mpe(this,{type:Lpe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Afe($pe,{then:function(e,t){var n=zpe(this),r=n.reactions,o=qpe(bce(this,Upe));return o.ok=!uue(e)||e,o.fail=uue(t)&&t,o.domain=qde?Wpe.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&the(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),Ope=function(){var e=new xpe,t=jpe(e);this.promise=e,this.resolve=ahe(she,t),this.reject=ahe(uhe,t)},Ipe.f=qpe=function(e){return e===Upe||e===Tpe?new Ope(e):Kpe(e)},uue(Vde)&&Hpe!==Object.prototype)){Npe=Hpe.then,Zpe||(Nse(Hpe,"then",(function(e,t){var n=this;return new Upe((function(e,t){Uae(Npe,n,e,t)})).then(e,t)}),{unsafe:!0}),Nse(Hpe,"catch",$pe.catch,{unsafe:!0}));try{delete Hpe.constructor}catch(Ml){}ffe&&ffe(Hpe,$pe)}ole({global:!0,wrap:!0,forced:Jpe},{Promise:Upe}),afe(Upe,Lpe,!1),function(e){var t=cue("Promise"),n=ise.f;zae&&t&&!t[Gde]&&n(t,Gde,{configurable:!0,get:function(){return this}})}(),Tpe=cue(Lpe),ole({target:Lpe,stat:!0,forced:Jpe},{reject:function(e){var t=qpe(this);return Uae(t.reject,void 0,e),t.promise}}),ole({target:Lpe,stat:!0,forced:Jpe},{resolve:function(e){return function(e,t){if(nse(e),sue(t)&&t.constructor===e)return t;var n=Ipe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),ole({target:Lpe,stat:!0,forced:Qpe},{all:function(e){var t=this,n=qpe(t),r=n.resolve,o=n.reject,i=Fpe((function(){var n=Aue(t.resolve),i=[],a=0,u=1;Gfe(e,(function(e){var s=a++,l=!1;u++,Uae(n,t,e).then((function(e){l||(l=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=qpe(t),r=n.reject,o=Fpe((function(){var o=Aue(t.resolve);Gfe(e,(function(e){Uae(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var lhe=Tse.PROPER,che=RegExp.prototype,fhe=che.toString,dhe=Zae(Ble),phe=Mae((function(){return"/a/b"!=fhe.call({source:"a",flags:"b"})})),hhe=lhe&&"toString"!=fhe.name;(phe||hhe)&&Nse(RegExp.prototype,"toString",(function(){var e=nse(this),t=kle(e.source),n=e.flags;return"/"+t+"/"+kle(void 0===n&&fue(che,e)&&!("flags"in che)?dhe(e):n)}),{unsafe:!0});var vhe=Tse.EXISTS,ghe=ise.f,yhe=Function.prototype,mhe=Zae(yhe.toString),bhe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ehe=Zae(bhe.exec);zae&&!vhe&&ghe(yhe,"name",{configurable:!0,get:function(){try{return Ehe(bhe,mhe(this))[1]}catch(e){return""}}});var whe=new WeakMap;function She(e){return e.getMenuConfig("uploadImage")}function Che(e,t){return Mce(this,void 0,void 0,(function(){return zce(this,(function(n){return[2,new Promise((function(n){var r=new FileReader;r.readAsDataURL(t),r.onload=function(){var o=r.result;if(o){var i=o.toString(),a=0===i.indexOf("data:image")?"":i;VH(e,i,t.name,a),n("ok")}}}))]}))}))}function Dhe(e,t){return Mce(this,void 0,void 0,(function(){var n,r,o,i;return zce(this,(function(a){switch(a.label){case 0:return n=function(e){var t=whe.get(e);if(null!=t)return t;var n=She(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=KI(jce(jce({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,(function(t,n,r){return VH(e,t,n,r)})),void r(t,n);var o=n.errno,u=void 0===o?1:o,s=n.data,l=void 0===s?{}:s;if(0===u){if(Array.isArray(l))l.forEach((function(t){var n=t.url,r=void 0===n?"":n,o=t.alt,i=void 0===o?"":o,a=t.href;VH(e,r,i,void 0===a?"":a)}));else{var c=l.url,f=void 0===c?"":c,d=l.alt,p=void 0===d?"":d,h=l.href;VH(e,f,p,void 0===h?"":h)}r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),whe.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}}))}))}function Ahe(e,t){var n,r;return Mce(this,void 0,void 0,(function(){var o,i,a,u,s,l,c,f,d;return zce(this,(function(p){switch(p.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=She(e),a=i.customUpload,u=i.base64LimitSize,p.label=1;case 1:p.trys.push([1,11,12,17]),s=Hce(o),p.label=2;case 2:return[4,s.next()];case 3:return(l=p.sent()).done?[3,10]:(c=l.value,f=c.size,u&&f<=u?[4,Che(e,c)]:[3,5]);case 4:return p.sent(),[3,9];case 5:return a?[4,a(c,(function(t,n,r){return VH(e,t,n,r)}))]:[3,7];case 6:return p.sent(),[3,9];case 7:return[4,Dhe(e,c)];case 8:p.sent(),p.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return d=p.sent(),n={error:d},[3,17];case 12:return p.trys.push([12,,15,16]),l&&!l.done&&(r=s.return)?[4,r.call(s)]:[3,14];case 13:p.sent(),p.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}}))}))}var xhe=Zae([].join),Ohe=rue!=Object,The=Rde("join",",");ole({target:"Array",proto:!0,forced:Ohe||!The},{join:function(e){return xhe(aue(this),void 0===e?",":e)}}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),dh&&(Mp.fn.remove=dh),Wp&&(Mp.fn.val=Wp),gh&&(Mp.fn.click=gh),Jp&&(Mp.fn.hide=Jp);var Nhe=function(){function e(){this.title=UF("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return GH(e)},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage")},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i((function(t,n,r){return VH(e,t,n,r)}));else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=Mp("body"),s=Mp('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",(function(){var t=s[0].files;Ahe(e,t)}))}},e}(),khe={menus:[{key:"uploadImage",factory:function(){return new Nhe},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(GH(n))t(r);else if(r.getData("text/plain"))t(r);else{var o=r.files;o.length<=0?t(r):Array.prototype.slice.call(o).some((function(e){return"image"===function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e.type.split("/"),1)[0]}))?Ahe(e,o):t(r)}},n}};MF("en",{highLightModule:{selectLang:"Language"}}),MF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var Bhe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ihe(e){var t={exports:{}};return e(t,t.exports),t.exports}var Fhe,Phe,Rhe=function(e){return e&&e.Math==Math&&e},_he=Rhe("object"==typeof globalThis&&globalThis)||Rhe("object"==typeof window&&window)||Rhe("object"==typeof self&&self)||Rhe("object"==typeof Bhe&&Bhe)||function(){return this}()||Function("return this")(),Lhe=Object.defineProperty,jhe=function(e,t){try{Lhe(_he,e,{value:t,configurable:!0,writable:!0})}catch(n){_he[e]=t}return t},Mhe=_he["__core-js_shared__"]||jhe("__core-js_shared__",{}),zhe=Ihe((function(e){(e.exports=function(e,t){return Mhe[e]||(Mhe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Hhe=Function.prototype,Uhe=Hhe.bind,$he=Hhe.call,Vhe=Uhe&&Uhe.bind($he),Ghe=Uhe?function(e){return e&&Vhe($he,e)}:function(e){return e&&function(){return $he.apply(e,arguments)}},Whe=_he.TypeError,qhe=function(e){if(null==e)throw Whe("Can't call method on "+e);return e},Khe=_he.Object,Yhe=function(e){return Khe(qhe(e))},Xhe=Ghe({}.hasOwnProperty),Zhe=Object.hasOwn||function(e,t){return Xhe(Yhe(e),t)},Jhe=0,Qhe=Math.random(),eve=Ghe(1..toString),tve=function(e){return"Symbol("+(void 0===e?"":e)+")_"+eve(++Jhe+Qhe,36)},nve=function(e){return"function"==typeof e},rve=function(e){return nve(e)?e:void 0},ove=function(e,t){return arguments.length<2?rve(_he[e]):_he[e]&&_he[e][t]},ive=ove("navigator","userAgent")||"",ave=_he.process,uve=_he.Deno,sve=ave&&ave.versions||uve&&uve.version,lve=sve&&sve.v8;lve&&(Phe=(Fhe=lve.split("."))[0]>0&&Fhe[0]<4?1:+(Fhe[0]+Fhe[1])),!Phe&&ive&&(!(Fhe=ive.match(/Edge\/(\d+)/))||Fhe[1]>=74)&&(Fhe=ive.match(/Chrome\/(\d+)/))&&(Phe=+Fhe[1]);var cve=Phe,fve=function(e){try{return!!e()}catch(e){return!0}},dve=!!Object.getOwnPropertySymbols&&!fve((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&cve&&cve<41})),pve=dve&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,hve=zhe("wks"),vve=_he.Symbol,gve=vve&&vve.for,yve=pve?vve:vve&&vve.withoutSetter||tve,mve=function(e){if(!Zhe(hve,e)||!dve&&"string"!=typeof hve[e]){var t="Symbol."+e;dve&&Zhe(vve,e)?hve[e]=vve[e]:hve[e]=pve&&gve?gve(t):yve(t)}return hve[e]},bve={};bve[mve("toStringTag")]="z";var Eve="[object z]"===String(bve),wve=!fve((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Sve=function(e){return"object"==typeof e?null!==e:nve(e)},Cve=_he.document,Dve=Sve(Cve)&&Sve(Cve.createElement),Ave=function(e){return Dve?Cve.createElement(e):{}},xve=!wve&&!fve((function(){return 7!=Object.defineProperty(Ave("div"),"a",{get:function(){return 7}}).a})),Ove=_he.String,Tve=_he.TypeError,Nve=function(e){if(Sve(e))return e;throw Tve(Ove(e)+" is not an object")},kve=Function.prototype.call,Bve=kve.bind?kve.bind(kve):function(){return kve.apply(kve,arguments)},Ive=Ghe({}.isPrototypeOf),Fve=_he.Object,Pve=pve?function(e){return"symbol"==typeof e}:function(e){var t=ove("Symbol");return nve(t)&&Ive(t.prototype,Fve(e))},Rve=_he.String,_ve=function(e){try{return Rve(e)}catch(e){return"Object"}},Lve=_he.TypeError,jve=function(e){if(nve(e))return e;throw Lve(_ve(e)+" is not a function")},Mve=function(e,t){var n=e[t];return null==n?void 0:jve(n)},zve=_he.TypeError,Hve=_he.TypeError,Uve=mve("toPrimitive"),$ve=function(e){var t=function(e,t){if(!Sve(e)||Pve(e))return e;var n,r=Mve(e,Uve);if(r){if(void 0===t&&(t="default"),n=Bve(r,e,t),!Sve(n)||Pve(n))return n;throw Hve("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&nve(n=e.toString)&&!Sve(r=Bve(n,e)))return r;if(nve(n=e.valueOf)&&!Sve(r=Bve(n,e)))return r;if("string"!==t&&nve(n=e.toString)&&!Sve(r=Bve(n,e)))return r;throw zve("Can't convert object to primitive value")}(e,t)}(e,"string");return Pve(t)?t:t+""},Vve=_he.TypeError,Gve=Object.defineProperty,Wve={f:wve?Gve:function(e,t,n){if(Nve(e),t=$ve(t),Nve(n),xve)try{return Gve(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Vve("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},qve=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Kve=wve?function(e,t,n){return Wve.f(e,t,qve(1,n))}:function(e,t,n){return e[t]=n,e},Yve=Ghe(Function.toString);nve(Mhe.inspectSource)||(Mhe.inspectSource=function(e){return Yve(e)});var Xve,Zve,Jve,Qve=Mhe.inspectSource,ege=_he.WeakMap,tge=nve(ege)&&/native code/.test(Qve(ege)),nge=zhe("keys"),rge=function(e){return nge[e]||(nge[e]=tve(e))},oge={},ige=_he.TypeError,age=_he.WeakMap;if(tge||Mhe.state){var uge=Mhe.state||(Mhe.state=new age),sge=Ghe(uge.get),lge=Ghe(uge.has),cge=Ghe(uge.set);Xve=function(e,t){if(lge(uge,e))throw new ige("Object already initialized");return t.facade=e,cge(uge,e,t),t},Zve=function(e){return sge(uge,e)||{}},Jve=function(e){return lge(uge,e)}}else{var fge=rge("state");oge[fge]=!0,Xve=function(e,t){if(Zhe(e,fge))throw new ige("Object already initialized");return t.facade=e,Kve(e,fge,t),t},Zve=function(e){return Zhe(e,fge)?e[fge]:{}},Jve=function(e){return Zhe(e,fge)}}var dge={set:Xve,get:Zve,has:Jve,enforce:function(e){return Jve(e)?Zve(e):Xve(e,{})},getterFor:function(e){return function(t){var n;if(!Sve(t)||(n=Zve(t)).type!==e)throw ige("Incompatible receiver, "+e+" required");return n}}},pge=Function.prototype,hge=wve&&Object.getOwnPropertyDescriptor,vge=Zhe(pge,"name"),gge={EXISTS:vge,PROPER:vge&&"something"===function(){}.name,CONFIGURABLE:vge&&(!wve||wve&&hge(pge,"name").configurable)},yge=Ihe((function(e){var t=gge.CONFIGURABLE,n=dge.get,r=dge.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;nve(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Zhe(i,"name")||t&&i.name!==f)&&Kve(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==_he?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:Kve(e,n,i)):l?e[n]=i:jhe(n,i)})(Function.prototype,"toString",(function(){return nve(this)&&n(this).source||Qve(this)}))})),mge=Ghe({}.toString),bge=Ghe("".slice),Ege=function(e){return bge(mge(e),8,-1)},wge=mve("toStringTag"),Sge=_he.Object,Cge="Arguments"==Ege(function(){return arguments}()),Dge=Eve?Ege:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Sge(e),wge))?n:Cge?Ege(t):"Object"==(r=Ege(t))&&nve(t.callee)?"Arguments":r},Age=Eve?{}.toString:function(){return"[object "+Dge(this)+"]"};Eve||yge(Object.prototype,"toString",Age,{unsafe:!0});var xge,Oge={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Tge=Ave("span").classList,Nge=Tge&&Tge.constructor&&Tge.constructor.prototype,kge=Nge===Object.prototype?void 0:Nge,Bge=Ghe(Ghe.bind),Ige=_he.Object,Fge=Ghe("".split),Pge=fve((function(){return!Ige("z").propertyIsEnumerable(0)}))?function(e){return"String"==Ege(e)?Fge(e,""):Ige(e)}:Ige,Rge=Math.ceil,_ge=Math.floor,Lge=function(e){var t=+e;return t!=t||0===t?0:(t>0?_ge:Rge)(t)},jge=Math.min,Mge=function(e){return e>0?jge(Lge(e),9007199254740991):0},zge=function(e){return Mge(e.length)},Hge=Array.isArray||function(e){return"Array"==Ege(e)},Uge=function(){},$ge=[],Vge=ove("Reflect","construct"),Gge=/^\s*(?:class|function)\b/,Wge=Ghe(Gge.exec),qge=!Gge.exec(Uge),Kge=function(e){if(!nve(e))return!1;try{return Vge(Uge,$ge,e),!0}catch(e){return!1}},Yge=!Vge||fve((function(){var e;return Kge(Kge.call)||!Kge(Object)||!Kge((function(){e=!0}))||e}))?function(e){if(!nve(e))return!1;switch(Dge(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return qge||!!Wge(Gge,Qve(e))}:Kge,Xge=mve("species"),Zge=_he.Array,Jge=function(e,t){return new(function(e){var t;return Hge(e)&&(t=e.constructor,(Yge(t)&&(t===Zge||Hge(t.prototype))||Sve(t)&&null===(t=t[Xge]))&&(t=void 0)),void 0===t?Zge:t}(e))(0===t?0:t)},Qge=Ghe([].push),eye=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Yhe(s),v=Pge(h),g=function(e,t){return jve(e),void 0===t?e:Bge?Bge(e,t):function(){return e.apply(t,arguments)}}(l,c),y=zge(v),m=0,b=f||Jge,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Qge(E,d)}else switch(e){case 4:return!1;case 7:Qge(E,d)}return i?-1:r||o?o:E}},tye=[eye(0),eye(1),eye(2),eye(3),eye(4),eye(5),eye(6),eye(7)][0],nye=(xge=[].forEach)&&fve((function(){xge.call(null,(function(){throw 1}),1)}))?[].forEach:function(e){return tye(this,e,arguments.length>1?arguments[1]:void 0)},rye=function(e){if(e&&e.forEach!==nye)try{Kve(e,"forEach",nye)}catch(t){e.forEach=nye}};for(var oye in Oge)Oge[oye]&&rye(_he[oye]&&_he[oye].prototype);rye(kge);var iye={}.propertyIsEnumerable,aye=Object.getOwnPropertyDescriptor,uye={f:aye&&!iye.call({1:2},1)?function(e){var t=aye(this,e);return!!t&&t.enumerable}:iye},sye=function(e){return Pge(qhe(e))},lye=Object.getOwnPropertyDescriptor,cye={f:wve?lye:function(e,t){if(e=sye(e),t=$ve(t),xve)try{return lye(e,t)}catch(e){}if(Zhe(e,t))return qve(!Bve(uye.f,e,t),e[t])}},fye=Math.max,dye=Math.min,pye=function(e,t){var n=Lge(e);return n<0?fye(n+t,0):dye(n,t)},hye=function(e){return function(t,n,r){var o,i=sye(t),a=zge(i),u=pye(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},vye=(hye(!0),hye(!1)),gye=Ghe([].push),yye=function(e,t){var n,r=sye(e),o=0,i=[];for(n in r)!Zhe(oge,n)&&Zhe(r,n)&&gye(i,n);for(;t.length>o;)Zhe(r,n=t[o++])&&(~vye(i,n)||gye(i,n));return i},mye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bye=mye.concat("length","prototype"),Eye={f:Object.getOwnPropertyNames||function(e){return yye(e,bye)}},wye={f:Object.getOwnPropertySymbols},Sye=Ghe([].concat),Cye=ove("Reflect","ownKeys")||function(e){var t=Eye.f(Nve(e)),n=wye.f;return n?Sye(t,n(e)):t},Dye=function(e,t){for(var n=Cye(t),r=Wve.f,o=cye.f,i=0;i<n.length;i++){var a=n[i];Zhe(e,a)||r(e,a,o(t,a))}},Aye=/#|\.prototype\./,xye=function(e,t){var n=Tye[Oye(e)];return n==kye||n!=Nye&&(nve(t)?fve(t):!!t)},Oye=xye.normalize=function(e){return String(e).replace(Aye,".").toLowerCase()},Tye=xye.data={},Nye=xye.NATIVE="N",kye=xye.POLYFILL="P",Bye=xye,Iye=cye.f,Fye=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?_he:l?_he[u]||jhe(u,{}):(_he[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Iye(n,r))&&a.value:n[r],!Bye(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Dye(i,o)}(e.sham||o&&o.sham)&&Kve(i,"sham",!0),yge(n,r,i,e)}},Pye=Object.keys||function(e){return yye(e,mye)},Rye=Object.assign,_ye=Object.defineProperty,Lye=Ghe([].concat),jye=!Rye||fve((function(){if(wve&&1!==Rye({b:1},Rye(_ye({},"a",{enumerable:!0,get:function(){_ye(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=Rye({},e)[n]||Pye(Rye({},t)).join("")!=r}))?function(e,t){for(var n=Yhe(e),r=arguments.length,o=1,i=wye.f,a=uye.f;r>o;)for(var u,s=Pge(arguments[o++]),l=i?Lye(Pye(s),i(s)):Pye(s),c=l.length,f=0;c>f;)u=l[f++],wve&&!Bve(a,s,u)||(n[u]=s[u]);return n}:Rye;Fye({target:"Object",stat:!0,forced:Object.assign!==jye},{assign:jye});var Mye=Ihe((function(e){var t=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var u in i)if(i.hasOwnProperty(u)){if(u==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(u)||(a[u]=i[u])}var l=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===l&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var u in t)if(t.hasOwnProperty(u)){n.call(t,u,t[u],r||u);var s=t[u],l=o.util.type(s);"Object"!==l||i[a(s)]?"Array"!==l||i[a(s)]||(i[a(s)]=!0,e(s,n,u,i)):(i[a(s)]=!0,e(s,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(n,r,i){var a=o.util.getLanguage(n),u=o.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var s=n.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&(s.className=s.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var l={element:n,language:a,grammar:u,code:n.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),i&&i.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(i&&i.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(r&&e.Worker){var f=new Worker(o.filename);f.onmessage=function(e){c(e.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return o.hooks.run("before-tokenize",r),r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return l(o,o.head,e),u(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function u(e,t,n,r,s,f){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var v=p[h],g=v.inside,y=!!v.lookbehind,m=!!v.greedy,b=v.alias;if(m&&!v.pattern.global){var E=v.pattern.toString().match(/[imsuy]*$/)[0];v.pattern=RegExp(v.pattern.source,E+"g")}for(var w=v.pattern||v,S=r.next,C=s;S!==t.tail&&!(f&&C>=f.reach);C+=S.value.length,S=S.next){var D=S.value;if(t.length>e.length)return;if(!(D instanceof i)){var A,x=1;if(m){if(!(A=a(w,C,e,y)))break;var O=A.index,T=A.index+A[0].length,N=C;for(N+=S.value.length;O>=N;)N+=(S=S.next).value.length;if(C=N-=S.value.length,S.value instanceof i)continue;for(var k=S;k!==t.tail&&(N<T||"string"==typeof k.value);k=k.next)x++,N+=k.value.length;x--,D=e.slice(C,N),A.index-=C}else if(!(A=a(w,0,D,y)))continue;O=A.index;var B=A[0],I=D.slice(0,O),F=D.slice(O+B.length),P=C+D.length;f&&P>f.reach&&(f.reach=P);var R=S.prev;if(I&&(R=l(t,R,I),C+=I.length),c(t,R,x),S=l(t,R,new i(d,g?o.tokenize(B,g):B,b,B)),F&&l(t,S,F),x>1){var _={cause:d+","+h,reach:P};u(e,t,n,S.prev,C,_),f&&_.reach>f.reach&&(f.reach=_.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var u="";for(var s in i.attributes)u+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+u+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var f=o.util.currentScript();function d(){o.manual||o.highlightAll()}if(f&&(o.filename=f.src,f.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var p=document.readyState;"loading"===p||"interactive"===p&&f&&f.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
24
+ */function pC(e){return"[object Object]"===Object.prototype.toString.call(e)}cC({target:"Object",stat:!0,forced:dC},{keys:function(e){return fC(SE(e))}});var hC={isHistory(e){return!1!==pC(t=e)&&(void 0===(n=t.constructor)||!1!==pC(r=n.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||jf.isOperationList(e.redos[0]))&&(0===e.undos.length||jf.isOperationList(e.undos[0]));var t,n,r}},vC=new WeakMap,gC=new WeakMap,yC={isHistoryEditor:e=>hC.isHistory(e.history)&&Nf.isEditor(e),isMerging:e=>gC.get(e),isSaving:e=>vC.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=yC.isMerging(e);gC.set(e,!1),t(),gC.set(e,n)},withoutSaving(e,t){var n=yC.isSaving(e);vC.set(e,!1),t(),vC.set(e,n)}},mC=lE.String,bC=function(e){if("Symbol"===Zw(e))throw TypeError("Cannot convert a Symbol value to a string");return mC(e)},EC=function(){var e=nw(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},wC=$w.PROPER,SC=RegExp.prototype,CC=SC.toString,DC=mE(EC),AC=jE((function(){return"/a/b"!=CC.call({source:"a",flags:"b"})})),xC=wC&&"toString"!=CC.name;(AC||xC)&&Vw(RegExp.prototype,"toString",(function(){var e=nw(this),t=bC(e.source),n=e.flags;return"/"+t+"/"+bC(void 0===n&&iw(SC,e)&&!("flags"in SC)?DC(e):n)}),{unsafe:!0});var OC=function(e){return void 0!==e&&(DE(e,"value")||DE(e,"writable"))},TC=!jE((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),NC=kw("IE_PROTO"),kC=lE.Object,BC=kC.prototype,IC=TC?kC.getPrototypeOf:function(e){var t=SE(e);if(DE(t,NC))return t[NC];var n=t.constructor;return NE(n)&&t instanceof n?n.prototype:t instanceof kC?BC:null};cC({target:"Reflect",stat:!0},{get:function e(t,n){var r,o,i=arguments.length<3?t:arguments[2];return nw(t)===i?t[n]:(r=zS.f(t,n))?OC(r)?r.value:void 0===r.get?void 0:ow(r.get,i):YE(o=IC(t))?e(o,n,i):void 0}});var FC,PC=KE?Object.defineProperties:function(e,t){nw(e);for(var n,r=jS(t),o=fC(t),i=o.length,a=0;i>a;)bw.f(e,n=o[a++],r[n]);return e},RC=BE("document","documentElement"),_C=kw("IE_PROTO"),LC=function(){},jC=function(e){return"<script>"+e+"<\/script>"},MC=function(e){e.write(jC("")),e.close();var t=e.parentWindow.Object;return e=null,t},zC=function(){try{FC=new ActiveXObject("htmlfile")}catch(e){}var e,t;zC="undefined"!=typeof document?document.domain&&FC?MC(FC):((t=JE("iframe")).style.display="none",RC.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(jC("document.F=Object")),e.close(),e.F):MC(FC);for(var n=YS.length;n--;)delete zC.prototype[YS[n]];return zC()};Bw[_C]=!0;var HC=Object.create||function(e,t){var n;return null!==e?(LC.prototype=nw(e),n=new LC,LC.prototype=null,n[_C]=e):n=zC(),void 0===t?n:PC(n,t)},UC=GE("unscopables"),$C=Array.prototype;null==$C[UC]&&bw.f($C,UC,{configurable:!0,value:HC(null)});var VC=function(e){$C[UC][e]=!0},GC=GS.includes;cC({target:"Array",proto:!0},{includes:function(e){return GC(this,e,arguments.length>1?arguments[1]:void 0)}}),VC("includes");var WC=GE("match"),qC=function(e){var t;return YE(e)&&(void 0!==(t=e[WC])?!!t:"RegExp"==qw(e))},KC=lE.TypeError,YC=function(e){if(qC(e))throw KC("The method doesn't accept regular expressions");return e},XC=GE("match"),ZC=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[XC]=!1,"/./"[e](t)}catch(e){}}return!1},JC=mE("".indexOf);cC({target:"String",proto:!0,forced:!ZC("includes")},{includes:function(e){return!!~JC(bC(EE(this)),bC(YC(e)),arguments.length>1?arguments[1]:void 0)}});var QC=/"/g,eD=mE("".replace);cC({target:"String",proto:!0,forced:("anchor",jE((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return"a","name",t=e,n=bC(EE(this)),r="<a",(r+=' name="'+eD(bC(t),QC,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var tD=function(e,t,n){var r,o;nw(e);try{if(!(r=dw(e,"return"))){if("throw"===t)throw n;return n}r=ow(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return nw(r),n},nD=function(e,t,n,r){try{return r?t(nw(n)[0],n[1]):t(n)}catch(t){tD(e,"throw",t)}},rD={},oD=GE("iterator"),iD=Array.prototype,aD=function(e){return void 0!==e&&(rD.Array===e||iD[oD]===e)},uD=function(e,t,n){var r=gw(t);r in e?bw.f(e,r,Ew(0,n)):e[r]=n},sD=GE("iterator"),lD=function(e){if(null!=e)return dw(e,sD)||dw(e,"@@iterator")||rD[Zw(e)]},cD=lE.TypeError,fD=function(e,t){var n=arguments.length<2?lD(e):t;if(fw(n))return nw(ow(n,e));throw cD(lw(e)+" is not iterable")},dD=lE.Array,pD=GE("iterator"),hD=!1;try{var vD=0,gD={next:function(){return{done:!!vD++}},return:function(){hD=!0}};gD[pD]=function(){return this},Array.from(gD,(function(){throw 2}))}catch(yN){}var yD=function(e,t){if(!t&&!hD)return!1;var n=!1;try{var r={};r[pD]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},mD=!yD((function(e){Array.from(e)}));cC({target:"Array",stat:!0,forced:mD},{from:function(e){var t=SE(e),n=SS(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=oS(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,d=lD(t),p=0;if(!d||this==dD&&aD(d))for(a=pS(t),u=n?new this(a):dD(a);a>p;p++)f=i?o(t[p],p):t[p],uD(u,p,f);else for(c=(l=fD(t,d)).next,u=n?new this:[];!(s=ow(c,l)).done;p++)f=i?nD(l,o,[s.value,p],!0):s.value,uD(u,p,f);return u.length=p,u}});var bD,ED,wD,SD=mE("".charAt),CD=mE("".charCodeAt),DD=mE("".slice),AD=function(e){return function(t,n){var r,o,i=bC(EE(t)),a=cS(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=CD(i,a))<55296||r>56319||a+1===u||(o=CD(i,a+1))<56320||o>57343?e?SD(i,a):r:e?DD(i,a,a+2):o-56320+(r-55296<<10)+65536}},xD={codeAt:AD(!1),charAt:AD(!0)},OD=GE("iterator"),TD=!1;[].keys&&("next"in(wD=[].keys())?(ED=IC(IC(wD)))!==Object.prototype&&(bD=ED):TD=!0);var ND=null==bD||jE((function(){var e={};return bD[OD].call(e)!==e}));ND&&(bD={}),NE(bD[OD])||Vw(bD,OD,(function(){return this}));var kD={IteratorPrototype:bD,BUGGY_SAFARI_ITERATORS:TD},BD=bw.f,ID=GE("toStringTag"),FD=function(e,t,n){e&&!DE(e=n?e:e.prototype,ID)&&BD(e,ID,{configurable:!0,value:t})},PD=kD.IteratorPrototype,RD=function(){return this},_D=lE.String,LD=lE.TypeError,jD=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=mE(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return nw(n),function(e){if("object"==typeof e||NE(e))return e;throw LD("Can't set "+_D(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),MD=$w.PROPER,zD=$w.CONFIGURABLE,HD=kD.IteratorPrototype,UD=kD.BUGGY_SAFARI_ITERATORS,$D=GE("iterator"),VD=function(){return this},GD=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=HC(PD,{next:Ew(1,n)}),FD(e,o,!1),rD[o]=RD}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!UD&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[$D]||p["@@iterator"]||o&&p[o],v=!UD&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=IC(g.call(new e)))!==Object.prototype&&u.next&&(IC(u)!==HD&&(jD?jD(u,HD):NE(u[$D])||Vw(u,$D,VD)),FD(u,f,!0)),MD&&"values"==o&&h&&"values"!==h.name&&(zD?ww(p,"name","values"):(d=!0,v=function(){return ow(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(UD||d||!(l in p))&&Vw(p,l,s[l]);else cC({target:t,proto:!0,forced:UD||d},s);return p[$D]!==v&&Vw(p,$D,v,{name:o}),rD[t]=v,s},WD=xD.charAt,qD=Mw.set,KD=Mw.getterFor("String Iterator");GD(String,"String",(function(e){qD(this,{type:"String Iterator",string:bC(e),index:0})}),(function(){var e,t=KD(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=WD(n,r),t.index+=e.length,{value:e,done:!1})}));var YD,XD=zS.f,ZD=mE("".endsWith),JD=mE("".slice),QD=Math.min,eA=ZC("endsWith"),tA=!(eA||(YD=XD(String.prototype,"endsWith"),!YD||YD.writable));cC({target:"String",proto:!0,forced:!tA&&!eA},{endsWith:function(e){var t=bC(EE(this));YC(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:QD(dS(n),r),i=bC(e);return ZD?ZD(t,i,o):JD(t,o-i.length,o)===i}});var nA=mE([].join),rA=uS!=Object,oA=NS("join",",");cC({target:"Array",proto:!0,forced:rA||!oA},{join:function(e){return nA(jS(this),void 0===e?",":e)}});var iA=GE("species"),aA=function(e){return LE>=51||!jE((function(){var t=[];return(t.constructor={})[iA]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},uA=TS.map,sA=aA("map");cC({target:"Array",proto:!0,forced:!sA},{map:function(e){return uA(this,e,arguments.length>1?arguments[1]:void 0)}});var lA=lE.RegExp,cA=jE((function(){var e=lA("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),fA=cA||jE((function(){return!lA("a","y").sticky})),dA={BROKEN_CARET:cA||jE((function(){var e=lA("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:fA,UNSUPPORTED_Y:cA},pA=lE.RegExp,hA=jE((function(){var e=pA(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),vA=lE.RegExp,gA=jE((function(){var e=vA("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),yA=Mw.get,mA=pE("native-string-replace",String.prototype.replace),bA=RegExp.prototype.exec,EA=bA,wA=mE("".charAt),SA=mE("".indexOf),CA=mE("".replace),DA=mE("".slice),AA=function(){var e=/a/,t=/b*/g;return ow(bA,e,"a"),ow(bA,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),xA=dA.BROKEN_CARET,OA=void 0!==/()??/.exec("")[1];(AA||OA||xA||hA||gA)&&(EA=function(e){var t,n,r,o,i,a,u,s=this,l=yA(s),c=bC(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=ow(EA,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=xA&&s.sticky,h=ow(EC,s),v=s.source,g=0,y=c;if(p&&(h=CA(h,"y",""),-1===SA(h,"g")&&(h+="g"),y=DA(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==wA(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),OA&&(n=new RegExp("^"+v+"$(?!\\s)",h)),AA&&(r=s.lastIndex),o=ow(bA,p?n:s,y),p?o?(o.input=DA(o.input,g),o[0]=DA(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:AA&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),OA&&o&&o.length>1&&ow(mA,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=HC(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var TA=EA;cC({target:"RegExp",proto:!0,forced:/./.exec!==TA},{exec:TA});var NA=Function.prototype,kA=NA.apply,BA=NA.bind,IA=NA.call,FA="object"==typeof Reflect&&Reflect.apply||(BA?IA.bind(kA):function(){return IA.apply(kA,arguments)}),PA=GE("species"),RA=RegExp.prototype,_A=function(e,t,n,r){var o=GE(e),i=!jE((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!jE((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[PA]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=mE(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=mE(e),s=t.exec;return s===TA||s===RA.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));Vw(String.prototype,e,s[0]),Vw(RA,o,s[1])}r&&ww(RA[o],"sham",!0)},LA=xD.charAt,jA=function(e,t,n){return t+(n?LA(e,t).length:1)},MA=Math.floor,zA=mE("".charAt),HA=mE("".replace),UA=mE("".slice),$A=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,VA=/\$([$&'`]|\d{1,2})/g,GA=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=VA;return void 0!==o&&(o=SE(o),s=$A),HA(i,s,(function(i,s){var l;switch(zA(s,0)){case"$":return"$";case"&":return e;case"`":return UA(t,0,n);case"'":return UA(t,a);case"<":l=o[UA(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=MA(c/10);return 0===f?i:f<=u?void 0===r[f-1]?zA(s,1):r[f-1]+zA(s,1):i}l=r[c-1]}return void 0===l?"":l}))},WA=lE.TypeError,qA=function(e,t){var n=e.exec;if(NE(n)){var r=ow(n,e,t);return null!==r&&nw(r),r}if("RegExp"===qw(e))return ow(TA,e,t);throw WA("RegExp#exec called on incompatible receiver")},KA=GE("replace"),YA=Math.max,XA=Math.min,ZA=mE([].concat),JA=mE([].push),QA=mE("".indexOf),ex=mE("".slice),tx="$0"==="a".replace(/./,"$0"),nx=!!/./[KA]&&""===/./[KA]("a","$0");_A("replace",(function(e,t,n){var r=nx?"$":"$0";return[function(e,n){var r=EE(this),o=null==e?void 0:dw(e,KA);return o?ow(o,e,r,n):ow(t,bC(r),e,n)},function(e,o){var i=nw(this),a=bC(e);if("string"==typeof o&&-1===QA(o,r)&&-1===QA(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=NE(o);s||(o=bC(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=qA(i,a);if(null===d)break;if(JA(f,d),!l)break;""===bC(d[0])&&(i.lastIndex=jA(a,dS(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=bC((d=f[g])[0]),m=YA(XA(cS(d.index),a.length),0),b=[],E=1;E<d.length;E++)JA(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=ZA([y],b,m,a);void 0!==w&&JA(S,w);var C=bC(FA(o,void 0,S))}else C=GA(y,a,m,b,w,o);m>=v&&(h+=ex(a,v,m)+C,v=m+y.length)}return h+ex(a,v)}]}),!!jE((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!tx||nx);var rx=function(e,t){return rx=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},rx(e,t)};function ox(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}rx(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ix=function(){return ix=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ix.apply(this,arguments)};function ax(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ux(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function sx(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var lx=0,cx=function(){this.id=""+lx++},fx=Mw.set,dx=Mw.getterFor("Array Iterator"),px=GD(Array,"Array",(function(e,t){fx(this,{type:"Array Iterator",target:jS(e),index:0,kind:t})}),(function(){var e=dx(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");rD.Arguments=rD.Array,VC("keys"),VC("values"),VC("entries");var hx=function(e,t,n){for(var r in t)Vw(e,r,t[r],n);return e},vx=lE.Array,gx=Math.max,yx=function(e,t,n){for(var r=pS(e),o=$S(t,r),i=$S(void 0===n?r:n,r),a=vx(gx(i-o,0)),u=0;o<i;o++,u++)uD(a,u,e[o]);return a.length=u,a},mx=ZS.f,bx="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ex={f:function(e){return bx&&"Window"==qw(e)?function(e){try{return mx(e)}catch(e){return yx(bx)}}(e):mx(jS(e))}},wx=jE((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Sx=Object.isExtensible,Cx=jE((function(){Sx(1)}))||wx?function(e){return!!YE(e)&&(!wx||"ArrayBuffer"!=qw(e))&&(!Sx||Sx(e))}:Sx,Dx=!jE((function(){return Object.isExtensible(Object.preventExtensions({}))})),Ax=iE((function(e){var t=bw.f,n=!1,r=TE("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=ZS.f,t=mE([].splice),o={};o[r]=1,e(o).length&&(ZS.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},cC({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Ex.f}))},fastKey:function(e,t){if(!YE(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!DE(e,r)){if(!Cx(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!DE(e,r)){if(!Cx(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Dx&&n&&Cx(e)&&!DE(e,r)&&i(e),e}};Bw[r]=!0})),xx=lE.TypeError,Ox=function(e,t){this.stopped=e,this.result=t},Tx=Ox.prototype,Nx=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=oS(t,c),v=function(e){return r&&tD(r,"normal",e),new Ox(!0,e)},g=function(e){return f?(nw(e),p?h(e[0],e[1],v):h(e[0],e[1])):p?h(e,v):h(e)};if(d)r=e;else{if(!(o=lD(e)))throw xx(lw(e)+" is not iterable");if(aD(o)){for(i=0,a=pS(e);a>i;i++)if((u=g(e[i]))&&iw(Tx,u))return u;return new Ox(!1)}r=fD(e,o)}for(s=r.next;!(l=ow(s,r)).done;){try{u=g(l.value)}catch(e){tD(r,"throw",e)}if("object"==typeof u&&u&&iw(Tx,u))return u}return new Ox(!1)},kx=lE.TypeError,Bx=function(e,t){if(iw(t,e))return e;throw kx("Incorrect invocation")},Ix=function(e,t,n){var r,o;return jD&&NE(r=t.constructor)&&r!==n&&YE(o=r.prototype)&&o!==n.prototype&&jD(e,o),e},Fx=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=lE[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=mE(u[e]);Vw(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!YE(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!YE(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!YE(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(sC(e,!NE(a)||!(o||u.forEach&&!jE((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),Ax.enable();else if(sC(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=jE((function(){f.has(1)})),h=yD((function(e){new a(e)})),v=!o&&jE((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){Bx(e,u);var n=Ix(new a,e,s);return null!=t&&Nx(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,cC({global:!0,forced:s!=a},l),FD(s,e),o||n.setStrong(s,e,r),s},Px=Ax.getWeakData,Rx=Mw.set,_x=Mw.getterFor,Lx=TS.find,jx=TS.findIndex,Mx=mE([].splice),zx=0,Hx=function(e){return e.frozen||(e.frozen=new Ux)},Ux=function(){this.entries=[]},$x=function(e,t){return Lx(e.entries,(function(e){return e[0]===t}))};Ux.prototype={get:function(e){var t=$x(this,e);if(t)return t[1]},has:function(e){return!!$x(this,e)},set:function(e,t){var n=$x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=jx(this.entries,(function(t){return t[0]===e}));return~t&&Mx(this.entries,t,1),!!~t}};var Vx,Gx={getConstructor:function(e,t,n,r){var o=e((function(e,o){Bx(e,i),Rx(e,{type:t,id:zx++,frozen:void 0}),null!=o&&Nx(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=_x(t),u=function(e,t,n){var r=a(e),o=Px(nw(t),!0);return!0===o?Hx(r).set(t,n):o[r.id]=n,e};return hx(i,{delete:function(e){var t=a(this);if(!YE(e))return!1;var n=Px(e);return!0===n?Hx(t).delete(e):n&&DE(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!YE(e))return!1;var n=Px(e);return!0===n?Hx(t).has(e):n&&DE(n,t.id)}}),hx(i,n?{get:function(e){var t=a(this);if(YE(e)){var n=Px(e);return!0===n?Hx(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},Wx=Mw.enforce,qx=!lE.ActiveXObject&&"ActiveXObject"in lE,Kx=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Yx=Fx("WeakMap",Kx,Gx);if(Tw&&qx){Vx=Gx.getConstructor(Kx,"WeakMap",!0),Ax.enable();var Xx=Yx.prototype,Zx=mE(Xx.delete),Jx=mE(Xx.has),Qx=mE(Xx.get),eO=mE(Xx.set);hx(Xx,{delete:function(e){if(YE(e)&&!Cx(e)){var t=Wx(this);return t.frozen||(t.frozen=new Vx),Zx(this,e)||t.frozen.delete(e)}return Zx(this,e)},has:function(e){if(YE(e)&&!Cx(e)){var t=Wx(this);return t.frozen||(t.frozen=new Vx),Jx(this,e)||t.frozen.has(e)}return Jx(this,e)},get:function(e){if(YE(e)&&!Cx(e)){var t=Wx(this);return t.frozen||(t.frozen=new Vx),Jx(this,e)?Qx(this,e):t.frozen.get(e)}return Qx(this,e)},set:function(e,t){if(YE(e)&&!Cx(e)){var n=Wx(this);n.frozen||(n.frozen=new Vx),Jx(this,e)?eO(this,e,t):n.frozen.set(e,t)}else eO(this,e,t);return this}})}var tO=GE("iterator"),nO=GE("toStringTag"),rO=px.values,oO=function(e,t){if(e){if(e[tO]!==rO)try{ww(e,tO,rO)}catch(t){e[tO]=rO}if(e[nO]||ww(e,nO,t),Qw[t])for(var n in px)if(e[n]!==px[n])try{ww(e,n,px[n])}catch(t){e[n]=px[n]}}};for(var iO in Qw)oO(lE[iO]&&lE[iO].prototype,iO);oO(nS,"DOMTokenList");var aO=new WeakMap,uO=new WeakMap,sO=new WeakMap,lO=new WeakMap,cO=new WeakMap,fO=new WeakMap,dO=new WeakMap,pO=new WeakMap,hO=new WeakMap,vO=new WeakMap,gO=new WeakMap,yO=new WeakMap,mO=new WeakMap,bO=new WeakMap,EO=new WeakMap,wO=new WeakMap,SO=new WeakMap,CO=new WeakMap,DO=new WeakMap,AO=new WeakMap,xO=new WeakMap,OO=new WeakMap,TO=new WeakMap,NO=new WeakMap,kO=new WeakMap,BO=TS.find,IO=!0;"find"in[]&&Array(1).find((function(){IO=!1})),cC({target:"Array",proto:!0,forced:IO},{find:function(e){return BO(this,e,arguments.length>1?arguments[1]:void 0)}}),VC("find"),cC({global:!0},{globalThis:lE});const FO=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];var PO,RO,_O,LO,jO=lE.Promise,MO=GE("species"),zO=function(e){var t=BE(e),n=bw.f;KE&&t&&!t[MO]&&n(t,MO,{configurable:!0,get:function(){return this}})},HO=lE.TypeError,UO=GE("species"),$O=function(e,t){var n,r=nw(e).constructor;return void 0===r||null==(n=nw(r)[UO])?t:function(e){if(SS(e))return e;throw HO(lw(e)+" is not a constructor")}(n)},VO=mE([].slice),GO=/(?:ipad|iphone|ipod).*applewebkit/i.test(IE),WO="process"==qw(lE.process),qO=lE.setImmediate,KO=lE.clearImmediate,YO=lE.process,XO=lE.Dispatch,ZO=lE.Function,JO=lE.MessageChannel,QO=lE.String,eT=0,tT={};try{PO=lE.location}catch(yN){}var nT=function(e){if(DE(tT,e)){var t=tT[e];delete tT[e],t()}},rT=function(e){return function(){nT(e)}},oT=function(e){nT(e.data)},iT=function(e){lE.postMessage(QO(e),PO.protocol+"//"+PO.host)};qO&&KO||(qO=function(e){var t=VO(arguments,1);return tT[++eT]=function(){FA(NE(e)?e:ZO(e),void 0,t)},RO(eT),eT},KO=function(e){delete tT[e]},WO?RO=function(e){YO.nextTick(rT(e))}:XO&&XO.now?RO=function(e){XO.now(rT(e))}:JO&&!GO?(LO=(_O=new JO).port2,_O.port1.onmessage=oT,RO=oS(LO.postMessage,LO)):lE.addEventListener&&NE(lE.postMessage)&&!lE.importScripts&&PO&&"file:"!==PO.protocol&&!jE(iT)?(RO=iT,lE.addEventListener("message",oT,!1)):RO="onreadystatechange"in JE("script")?function(e){RC.appendChild(JE("script")).onreadystatechange=function(){RC.removeChild(this),nT(e)}}:function(e){setTimeout(rT(e),0)});var aT,uT,sT,lT,cT,fT,dT,pT,hT={set:qO,clear:KO},vT=/ipad|iphone|ipod/i.test(IE)&&void 0!==lE.Pebble,gT=/web0s(?!.*chrome)/i.test(IE),yT=zS.f,mT=hT.set,bT=lE.MutationObserver||lE.WebKitMutationObserver,ET=lE.document,wT=lE.process,ST=lE.Promise,CT=yT(lE,"queueMicrotask"),DT=CT&&CT.value;DT||(aT=function(){var e,t;for(WO&&(e=wT.domain)&&e.exit();uT;){t=uT.fn,uT=uT.next;try{t()}catch(e){throw uT?lT():sT=void 0,e}}sT=void 0,e&&e.enter()},GO||WO||gT||!bT||!ET?!vT&&ST&&ST.resolve?((dT=ST.resolve(void 0)).constructor=ST,pT=oS(dT.then,dT),lT=function(){pT(aT)}):WO?lT=function(){wT.nextTick(aT)}:(mT=oS(mT,lE),lT=function(){mT(aT)}):(cT=!0,fT=ET.createTextNode(""),new bT(aT).observe(fT,{characterData:!0}),lT=function(){fT.data=cT=!cT}));var AT,xT,OT,TT,NT=DT||function(e){var t={fn:e,next:void 0};sT&&(sT.next=t),uT||(uT=t,lT()),sT=t},kT=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=fw(t),this.reject=fw(n)},BT={f:function(e){return new kT(e)}},IT=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},FT="object"==typeof window,PT=hT.set,RT=GE("species"),_T="Promise",LT=Mw.getterFor(_T),jT=Mw.set,MT=Mw.getterFor(_T),zT=jO&&jO.prototype,HT=jO,UT=zT,$T=lE.TypeError,VT=lE.document,GT=lE.process,WT=BT.f,qT=WT,KT=!!(VT&&VT.createEvent&&lE.dispatchEvent),YT=NE(lE.PromiseRejectionEvent),XT=!1,ZT=sC(_T,(function(){var e=xw(HT),t=e!==String(HT);if(!t&&66===LE)return!0;if(LE>=51&&/native code/.test(e))return!1;var n=new HT((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[RT]=r,!(XT=n.then((function(){}))instanceof r)||!t&&FT&&!YT})),JT=ZT||!yD((function(e){HT.all(e).catch((function(){}))})),QT=function(e){var t;return!(!YE(e)||!NE(t=e.then))&&t},eN=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;NT((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&oN(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d($T("Promise-chain cycle")):(u=QT(a))?ow(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&nN(e)}))}},tN=function(e,t,n){var r,o;KT?((r=VT.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),lE.dispatchEvent(r)):r={promise:t,reason:n},!YT&&(o=lE["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=lE.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},nN=function(e){ow(PT,lE,(function(){var t,n=e.facade,r=e.value;if(rN(e)&&(t=IT((function(){WO?GT.emit("unhandledRejection",r,n):tN("unhandledrejection",n,r)})),e.rejection=WO||rN(e)?2:1,t.error))throw t.value}))},rN=function(e){return 1!==e.rejection&&!e.parent},oN=function(e){ow(PT,lE,(function(){var t=e.facade;WO?GT.emit("rejectionHandled",t):tN("rejectionhandled",t,e.value)}))},iN=function(e,t,n){return function(r){e(t,r,n)}},aN=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,eN(e,!0))},uN=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw $T("Promise can't be resolved itself");var r=QT(t);r?NT((function(){var n={done:!1};try{ow(r,t,iN(uN,n,e),iN(aN,n,e))}catch(t){aN(n,t,e)}})):(e.value=t,e.state=1,eN(e,!1))}catch(t){aN({done:!1},t,e)}}};if(ZT&&(UT=(HT=function(e){Bx(this,UT),fw(e),ow(AT,this);var t=LT(this);try{e(iN(uN,t),iN(aN,t))}catch(e){aN(t,e)}}).prototype,(AT=function(e){jT(this,{type:_T,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=hx(UT,{then:function(e,t){var n=MT(this),r=n.reactions,o=WT($O(this,HT));return o.ok=!NE(e)||e,o.fail=NE(t)&&t,o.domain=WO?GT.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&eN(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),xT=function(){var e=new AT,t=LT(e);this.promise=e,this.resolve=iN(uN,t),this.reject=iN(aN,t)},BT.f=WT=function(e){return e===HT||e===OT?new xT(e):qT(e)},NE(jO)&&zT!==Object.prototype)){TT=zT.then,XT||(Vw(zT,"then",(function(e,t){var n=this;return new HT((function(e,t){ow(TT,n,e,t)})).then(e,t)}),{unsafe:!0}),Vw(zT,"catch",UT.catch,{unsafe:!0}));try{delete zT.constructor}catch(yN){}jD&&jD(zT,UT)}cC({global:!0,wrap:!0,forced:ZT},{Promise:HT}),FD(HT,_T,!1),zO(_T),OT=BE(_T),cC({target:_T,stat:!0,forced:ZT},{reject:function(e){var t=WT(this);return ow(t.reject,void 0,e),t.promise}}),cC({target:_T,stat:!0,forced:ZT},{resolve:function(e){return function(e,t){if(nw(e),YE(t)&&t.constructor===e)return t;var n=BT.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),cC({target:_T,stat:!0,forced:JT},{all:function(e){var t=this,n=WT(t),r=n.resolve,o=n.reject,i=IT((function(){var n=fw(t.resolve),i=[],a=0,u=1;Nx(e,(function(e){var s=a++,l=!1;u++,ow(n,t,e).then((function(e){l||(l=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=WT(t),r=n.reject,o=IT((function(){var o=fw(t.resolve);Nx(e,(function(e){ow(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var sN=dA.UNSUPPORTED_Y,lN=Math.min,cN=[].push,fN=mE(/./.exec),dN=mE(cN),pN=mE("".slice);function hN(e){Promise.resolve().then(e)}_A("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=bC(EE(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!qC(e))return ow(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=ow(TA,f,r))&&!((a=f.lastIndex)>c&&(dN(s,pN(r,c,i.index)),i.length>1&&i.index<r.length&&FA(cN,s,yx(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&fN(f,"")||dN(s,""):dN(s,pN(r,c)),s.length>o?yx(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:ow(t,this,e,n)}:t,[function(t,n){var o=EE(this),i=null==t?void 0:dw(t,e);return i?ow(i,t,o,n):ow(r,bC(o),t,n)},function(e,o){var i=nw(this),a=bC(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=$O(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(sN?"g":"y"),f=new s(sN?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===qA(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=sN?0:h;var g,y=qA(f,sN?pN(a,h):a);if(null===y||(g=lN(dS(f.lastIndex+(sN?h:0)),a.length))===p)h=jA(a,h,l);else{if(dN(v,pN(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(dN(v,y[m]),v.length===d)return v;h=p=g}}return dN(v,pN(a,p)),v}]}),!!jE((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),sN);var vN=function(e){return Object.prototype.toString.call(e)};eh&&(Mp.fn.css=eh),ah&&(Mp.fn.append=ah),zp&&(Mp.fn.addClass=zp),Hp&&(Mp.fn.removeClass=Hp),Up&&(Mp.fn.hasClass=Up),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Vp&&(Mp.fn.removeAttr=Vp),Jp&&(Mp.fn.hide=Jp),Qp&&(Mp.fn.show=Qp),Zp&&(Mp.fn.offset=Zp),Yp&&(Mp.fn.width=Yp),Xp&&(Mp.fn.height=Xp),sh&&(Mp.fn.parent=sh),lh&&(Mp.fn.parents=lh),ih&&(Mp.fn.is=ih),Gp&&(Mp.fn.dataset=Gp),Wp&&(Mp.fn.val=Wp),oh&&(Mp.fn.text=oh),rh&&(Mp.fn.html=rh),fh&&(Mp.fn.children=fh),dh&&(Mp.fn.remove=dh),ch&&(Mp.fn.find=ch),th&&(Mp.fn.each=th),ph&&(Mp.fn.empty=ph);var gN,yN,mN=/\[object HTML([A-Z][a-z]*)*Element\]/,bN=function(e){return EN(e)&&1===e.nodeType},EN=function(e){return null!=e&&"number"==typeof e.nodeType},wN=function(e){return"[object Selection]"===vN(e)},SN=function(e){return EN(e)&&3===e.nodeType},CN=function(e){var t,n,r;return null!==(t=window.document.getElementById(e))&&void 0!==t?t:(null===(r=null===(n=window.document.activeElement)||void 0===n?void 0:n.shadowRoot)||void 0===r?void 0:r.getElementById(e))||null},DN=function(e,t,n){for(var r,o=e.childNodes,i=o[t],a=t,u=!1,s=!1;(EN(r=i)&&8===r.nodeType||bN(i)&&0===i.childNodes.length||bN(i)&&"false"===i.getAttribute("contenteditable"))&&(!u||!s);)a>=o.length?(u=!0,a=t-1,n="backward"):a<0?(s=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},AN=function(e,t,n){return ux(DN(e,t,n),1)[0]},xN=function e(t){var n,r,o="";if(SN(t)&&t.nodeValue)return t.nodeValue;if(bN(t)){try{for(var i=ax(Array.from(t.childNodes)),a=i.next();!a.done;a=i.next())o+=e(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}var u=getComputedStyle(t).getPropertyValue("display");"block"!==u&&"list"!==u&&"table-row"!==u&&"BR"!==t.tagName||(o+="\n")}return o};function ON(e,t){if(n=e,!mN.test(vN(n))||"true"!==e.dataset.slateVoid)for(var n,r=e.childNodes,o=r.length;o--;){var i=r[o],a=i.nodeType;3==a?t(i,e):1!=a&&9!=a&&11!=a||ON(i,t)}}function TN(e){if(0===e.length)return"";var t=e[0];return t.nodeType!==gN.ELEMENT_NODE?"":t.tagName.toLowerCase()}(yN=gN||(gN={}))[yN.ELEMENT_NODE=1]="ELEMENT_NODE",yN[yN.TEXT_NODE=3]="TEXT_NODE",yN[yN.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",yN[yN.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",yN[yN.COMMENT_NODE=8]="COMMENT_NODE",yN[yN.DOCUMENT_NODE=9]="DOCUMENT_NODE",yN[yN.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",yN[yN.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",void 0!==globalThis.navigator&&void 0!==globalThis.window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var NN="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),kN="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var BN="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),IN="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),FN="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),PN="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var RN=!FN&&!IN&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,_N={getWindow:function(e){var t=xO.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=AO.get(t);return n||(n=new cx,AO.set(t,n)),n},setNewKey:function(e){var t=new cx;AO.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var o=EO.get(r);if(null==o){if(Nf.isEditor(r))return n;break}var i=bO.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=_N.toDOMNode(e,e),n=t.getRootNode();return"[object HTMLDocument]"!==vN(n)&&!function(e){return"[object ShadowRoot]"===vN(e)}(n)||null==Reflect.get(n,"getSelection")?t.ownerDocument:n},getParentNode:function(e,t){return EO.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&null!=r;){var o=_N.getParentNode(e,r);if(null==o)break;n.push(o),r=o}return n},getTopNode:function(e,t){var n=[_N.findPath(e,t)[0]];return Rf.get(e,n)},toDOMNode:function(e,t){var n;if(Nf.isEditor(t))n=wO.get(e);else{var r=_N.findKey(e,t);n=CO.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){void 0===n&&(n={});var r,o=n.editable,i=void 0!==o&&o,a=_N.toDOMNode(e,e);try{r=bN(t)?t:t.parentElement}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!r&&(r.closest("[data-slate-editor]")===a&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))||!!r.getAttribute("data-slate-string"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=qf.isBackward(t),i=_N.toDOMPoint(e,n),a=qf.isCollapsed(t)?i:_N.toDOMPoint(e,r),u=_N.getWindow(e).document.createRange(),s=ux(o?a:i,2),l=s[0],c=s[1],f=ux(o?i:a,2),d=f[0],p=f[1],h=!!(bN(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),v=!!(bN(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,h?1:c),u.setEnd(d,v?1:p),u},toDOMPoint:function(e,t){var n,r,o,i=ux(Nf.node(e,t.path),1)[0],a=_N.toDOMNode(e,i);Nf.void(e,{at:t})&&(t={path:t.path,offset:0});var u=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var l=ax(u),c=l.next();!c.done;c=l.next()){var f=c.value,d=f.childNodes[0];if(null!=d&&null!=d.textContent){var p=d.textContent.length,h=f.getAttribute("data-slate-length"),v=s+(null==h?p:parseInt(h,10));if(t.offset<=v){o=[d,Math.min(p,Math.max(0,t.offset-s))];break}s=v}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return o},toSlateNode:function(e,t){var n=bN(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?SO.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,o=t.target;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);var i,a=_N.toSlateNode(e,t.target),u=_N.findPath(e,a);if(Nf.isVoid(e,a)){var s=o.getBoundingClientRect(),l=e.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,c=Nf.point(e,u,{edge:l?"start":"end"}),f=l?Nf.before(e,c):Nf.after(e,c);if(f)return Nf.range(e,f)}var d=this.getWindow(e).document;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(n,r);else{var p=d.caretPositionFromPoint(n,r);p&&((i=d.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);return _N.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,o,i,a,u,s=n.exactMatch,l=n.suppressThrow;if((wN(t)?t.anchorNode:t.startContainer)&&(wN(t)?(r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=PN&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,u=t.collapsed)),null==r||null==i||null==o||null==a)throw new Error("Cannot resolve a Slate range from DOM range: "+t);var c=_N.toSlatePoint(e,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:_N.toSlatePoint(e,[i,a],{exactMatch:s,suppressThrow:l});if(!f)return null;var d={anchor:c,focus:f};return qf.isExpanded(d)&&qf.isForward(d)&&bN(i)&&Nf.void(e,{at:d.focus,mode:"highest"})&&(d=Nf.unhangRange(e,d,{voids:!0})),d},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=ux(o?t:function(e){var t,n=ux(e,2),r=n[0],o=n[1];if(bN(r)&&r.childNodes.length){var i=o===r.childNodes.length,a=i?o-1:o;for(r=(t=ux(DN(r,a,i?"backward":"forward"),2))[0],i=(a=t[1])<o;bN(r)&&r.childNodes.length;){var u=i?r.childNodes.length-1:0;r=AN(r,u,i?"backward":"forward")}o=i&&null!=r.textContent?r.textContent.length:0}return[r,o]}(t),2),u=a[0],s=a[1],l=u.parentNode,c=null,f=0;if(l){var d=l.closest('[data-slate-void="true"]'),p=l.closest("[data-slate-leaf]"),h=null;if(p){c=p.closest('[data-slate-node="text"]');var v=_N.getWindow(e).document.createRange();v.setStart(c,0),v.setEnd(u,s);var g=v.cloneContents();sx(sx([],ux(Dp(g.querySelectorAll("[data-slate-zero-width]")))),ux(Dp(g.querySelectorAll("[contenteditable=false]")))).forEach((function(e){e.parentNode.removeChild(e)})),f=g.textContent.length,h=c}else d&&((p=d.querySelector("[data-slate-leaf]"))?(c=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach((function(e){f-=e.textContent.length}))):f=1);h&&f===h.textContent.length&&(l.hasAttribute("data-slate-zero-width")||kN&&(null===(r=h.textContent)||void 0===r?void 0:r.endsWith("\n")))&&f--}if(!c){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t)}var y=_N.toSlateNode(e,c);return{path:_N.findPath(e,y),offset:f}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return Nf.hasPath(e,n.path)&&Nf.hasPath(e,r.path)},getNodeType:function(e){return Cf.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map((function(e){return Rf.string(e)})).join("")},getSelectedElems:function(e){var t,n,r=[],o=Nf.nodes(e,{universal:!0});try{for(var i=ax(o),a=i.next();!a.done;a=i.next()){var u=ux(a.value,1)[0];Cf.isElement(u)&&r.push(u)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=ux(Nf.nodes(e,{match:function(e){return n.checkNodeType(e,t)},universal:!0}),1),o=r[0];return null==o?null:o[0]},getSelectedTextNode:function(e){var t=ux(Nf.nodes(e,{match:function(e){return ed.isText(e)},universal:!0}),1),n=t[0];return null==n?null:n[0]},isNodeSelected:function(e,t){var n=ux(Nf.nodes(e,{match:function(e){return e===t},universal:!0}),1),r=n[0];return null!=r&&ux(r,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(Nf.isEnd(e,n.anchor,t)||Nf.isEnd(e,n.focus,t))},getTextarea:function(e){var t=aO.get(e);if(null==t)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return lO.get(e)||null},getHoverbar:function(e){return fO.get(e)||null},normalizeContent:function(e){e.children.forEach((function(t,n){e.normalizeNode([t,[n]])}))},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,o,i=_N.getTextarea(e).$textArea,a=null==i?void 0:i[0].childNodes;if(a)try{for(var u=ax(Array.from(a)),s=u.next();!s.done;s=u.next()){var l=s.value;if(3!==l.nodeType)break;l.remove()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}var c=Nf.nodes(e,{match:function(t){return!(!Cf.isElement(t)||e.isInline(t))},universal:!0});try{for(var f=ax(c),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];ON(_N.toDOMNode(e,h),(function(e,t){var n=Mp(t);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||t.removeChild(e)}))}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=Nf.nodes(e,{match:function(t){return e.isVoid(t)}}),o=0;try{for(var i=ax(r),a=i.next();!a.done;a=i.next())a.value,o++}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(null==t)return!1;if(qf.isExpanded(t))return!1;var n=_N.getSelectedNodeByType(e,"paragraph");if(null===n)return!1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(e,t){var n=Nf.node(e,t);if(null==n)return!1;var r=ux(n,1)[0].children;return 1===r.length&&""===r[0].text}},LN=1,jN={},MN={};var zN=TS.filter,HN=aA("filter");cC({target:"Array",proto:!0,forced:!HN},{filter:function(e){return zN(this,e,arguments.length>1?arguments[1]:void 0)}});var UN="\t\n\v\f\r                 \u2028\u2029\ufeff",$N=mE("".replace),VN="["+UN+"]",GN=RegExp("^"+VN+VN+"*"),WN=RegExp(VN+VN+"*$"),qN=function(e){return function(t){var n=bC(EE(t));return 1&e&&(n=$N(n,GN,"")),2&e&&(n=$N(n,WN,"")),n}},KN={start:qN(1),end:qN(2),trim:qN(3)},YN=$w.PROPER,XN=KN.trim;cC({target:"String",proto:!0,forced:function(e){return jE((function(){return!!UN[e]()||"​…᠎"!=="​…᠎"[e]()||YN&&UN[e].name!==e}))}("trim")},{trim:function(){return XN(this)}});var ZN=[];var JN={};function QN(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"}function ek(e,t){return Cf.isElement(e)?function(e,t){var n=e.type,r=void 0===n?"":n,o=e.children,i=void 0===o?[]:o,a=Nf.isVoid(t,e),u="";a||(u=i.map((function(e){return ek(e,t)})).join(""));var s=function(e){return JN[e]||QN}(r),l=s(e,u,t),c="";if(c="string"==typeof l?l:l.html||"",a||ZN.forEach((function(t){return c=t(e,c)})),"string"==typeof l)return c;var f=l.prefix,d=void 0===f?"":f,p=l.suffix,h=void 0===p?"":p;return d&&(c=d+c),h&&(c+=h),c}(e,t):function(e,t){var n=e.text;if(null==n)throw new Error("Current node is not slate Text "+JSON.stringify(e));var r=n;r=function(e){return e.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;")}(r);var o=_N.getParentsNodes(t,e).some((function(e){return"pre"===_N.getNodeType(e)}));if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/&nbsp;/g," ")),""===r){var i=_N.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>"}return ZN.forEach((function(t){return r=t(e,r)})),r}(e,t)}function tk(e){return"w-e-element-"+e}var nk=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},rk=function(e,t,n){var r=_N.toDOMRange(e,t).getBoundingClientRect(),o=_N.toDOMRange(e,n).getBoundingClientRect();return nk(r,o)&&nk(o,r)},ok=["span","b","strong","i","em","s","strike","u","font","sub","sup"],ik=[];var ak=[];var uk={};var sk=bw.f,lk=ZS.f,ck=Mw.enforce,fk=GE("match"),dk=lE.RegExp,pk=dk.prototype,hk=lE.SyntaxError,vk=mE(EC),gk=mE(pk.exec),yk=mE("".charAt),mk=mE("".replace),bk=mE("".indexOf),Ek=mE("".slice),wk=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Sk=/a/g,Ck=/a/g,Dk=new dk(Sk)!==Sk,Ak=dA.MISSED_STICKY,xk=dA.UNSUPPORTED_Y,Ok=KE&&(!Dk||Ak||hA||gA||jE((function(){return Ck[fk]=!1,dk(Sk)!=Sk||dk(Ck)==Ck||"/a/i"!=dk(Sk,"i")})));if(sC("RegExp",Ok)){for(var Tk=function(e,t){var n,r,o,i,a,u,s=iw(pk,this),l=qC(e),c=void 0===t,f=[],d=e;if(!s&&l&&c&&e.constructor===Tk)return e;if((l||iw(pk,e))&&(e=e.source,c&&(t="flags"in d?d.flags:vk(d))),e=void 0===e?"":bC(e),t=void 0===t?"":bC(t),d=e,hA&&"dotAll"in Sk&&(r=!!t&&bk(t,"s")>-1)&&(t=mk(t,/s/g,"")),n=t,Ak&&"sticky"in Sk&&(o=!!t&&bk(t,"y")>-1)&&xk&&(t=mk(t,/y/g,"")),gA&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},u=!1,s=!1,l=0,c="";r<=n;r++){if("\\"===(t=yk(e,r)))t+=yk(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:gk(wk,Ek(e,r+1))&&(r+=2,s=!0),o+=t,l++;continue;case">"===t&&s:if(""===c||DE(a,c))throw new hk("Invalid capture group name");a[c]=!0,i[i.length]=[c,l],s=!1,c="";continue}s?c+=t:o+=t}return[o,i]}(e),e=i[0],f=i[1]),a=Ix(dk(e,t),s?this:pk,Tk),(r||o||f.length)&&(u=ck(a),r&&(u.dotAll=!0,u.raw=Tk(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=yk(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+yk(e,++r);return o}(e),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),e!==d)try{ww(a,"source",""===d?"(?:)":d)}catch(e){}return a},Nk=function(e){e in Tk||sk(Tk,e,{configurable:!0,get:function(){return dk[e]},set:function(t){dk[e]=t}})},kk=lk(dk),Bk=0;kk.length>Bk;)Nk(kk[Bk++]);pk.constructor=Tk,Tk.prototype=pk,Vw(lE,"RegExp",Tk)}zO("RegExp");var Ik=new RegExp(String.fromCharCode(160),"g");function Fk(e){return e.replace(Ik," ")}function Pk(e,t){var n=e.length;if(n){var r=e[n-1];if(ed.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text=r.text+t,!0}}return!1}function Rk(e,t,n){return{type:"paragraph",children:[{text:Mp(e).text().replace(/\s+/gm," ")}]}}function _k(e,t){var n=function(e,t){var n=[];if(null!=e.attr("data-w-e-is-void"))return n;var r=e[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?(n.push({text:""}),n):(r.forEach((function(e){if(e.nodeType!==gN.ELEMENT_NODE)if(e.nodeType!==gN.TEXT_NODE);else{var r=e.textContent||"";if(""===r.trim()&&r.indexOf("\n")>=0)return;r&&(r=Fk(r),Pk(n,r)||n.push({text:r}))}else{if("BR"===e.nodeName)return void(Pk(n,"\n")||n.push({text:"\n"}));var o=jk(Mp(e),t);Array.isArray(o)?o.forEach((function(e){return n.push(e)})):n.push(o)}})),n)}(e,t),r=function(e){for(var t in uk)if(e[0].matches(t))return uk[t];return Rk}(e),o=r(e[0],n,t);return Array.isArray(o)||(o=[o]),o.forEach((function(r){Nf.isVoid(t,r)||(0===n.length&&(r.children=[{text:e.text().replace(/\s+/gm," ")}]),ak.forEach((function(n){r=n(e[0],r,t)})))})),o}function Lk(e,t){0===e.parents("pre").length&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=e[0].textContent||"";n=function(e){return e.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"®").replace(/&copy;/g,"©").replace(/&trade;/g,"™").replace(/&quot;/g,'"')}(n);var r={text:n=Fk(n)};return ak.forEach((function(n){r=n(e[0],r,t)})),r}function jk(e,t){ik.forEach((function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=Mp(r(e[0])))}));var n=TN(e);if("span"===n){if(e.attr("data-w-e-type"))return _k(e,t);if(e[0].childNodes.length>1){var r=e[0].childNodes;return Array.from(r).map((function(n){return Mp(e[0]).empty(),Mp(e[0]).append(Mp(n)),Lk(Mp(e[0]),t)}))}return Lk(e,t)}return"code"===n?"pre"===TN(e.parent())?_k(e,t):Lk(e,t):ok.includes(n)?Lk(e,t):_k(e,t)}function Mk(e,t,n){var r=Mp(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",(function(){r.removeAttr(t)})),!1)}function zk(e,t){void 0===t&&(t="");var n=[];""===t&&(t="<p><br></p>"),0!==t.indexOf("<")&&(t=t.split(/\n/).map((function(e){return"<p>"+e+"</p>"})).join(""));var r=Mp("<div>"+t+"</div>");return Array.from(r.children()).forEach((function(t){var r=jk(Mp(t),e);Array.isArray(r)?r.forEach((function(e){return n.push(e)})):n.push(r)})),n}var Hk=bw.f,Uk=Ax.fastKey,$k=Mw.set,Vk=Mw.getterFor,Gk={getConstructor:function(e,t,n,r){var o=e((function(e,o){Bx(e,i),$k(e,{type:t,index:HC(null),first:void 0,last:void 0,size:0}),KE||(e.size=0),null!=o&&Nx(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Vk(t),u=function(e,t,n){var r,o,i=a(e),u=s(e,t);return u?u.value=n:(i.last=u={index:o=Uk(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),KE?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},s=function(e,t){var n,r=a(e),o=Uk(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return hx(i,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,KE?e.size=0:this.size=0},delete:function(e){var t=this,n=a(t),r=s(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),KE?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=a(this),r=oS(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),hx(i,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return u(this,0===e?0:e,t)}}:{add:function(e){return u(this,e=0===e?0:e,e)}}),KE&&Hk(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=Vk(t),i=Vk(r);GD(e,t,(function(e,t){$k(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),zO(t)}};Fx("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Gk);var Wk=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function qk(e,t){e.isInline(t)?(e.insertNode(t),"link"===t.type&&e.insertFragment([{text:""}])):md.insertNodes(e,t,{mode:"highest"})}var Kk=function(e){var t=e;return t.setFragmentData=function(e){var n=t.selection;if(n){var r=ux(qf.edges(n),2),o=r[0],i=r[1],a=Nf.void(t,{at:o.path}),u=Nf.void(t,{at:i.path});if(!qf.isCollapsed(n)||a){var s=_N.toDOMRange(t,n),l=s.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach((function(e){e.textContent&&""!==e.textContent.trim()&&(c=e)})),u){var f=ux(u,1)[0],d=s.cloneRange(),p=_N.toDOMNode(t,f);d.setEndAfter(p),l=d.cloneContents()}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach((function(e){var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),SN(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),l.appendChild(h),c=h}var v=t.getFragment(),g=JSON.stringify(v),y=window.btoa(encodeURIComponent(g));c.setAttribute("data-slate-fragment",y),e.setData("application/x-slate-fragment",y);var m=l.ownerDocument.createElement("div");return m.appendChild(l),m.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(m),e.setData("text/html",m.innerHTML),e.setData("text/plain",xN(m)),l.ownerDocument.body.removeChild(m),e}}},t.insertData=function(e){var n,r,o=e.getData("application/x-slate-fragment");if(o){var i=decodeURIComponent(window.atob(o)),a=JSON.parse(i);t.insertFragment(a)}else{var u=e.getData("text/plain"),s=e.getData("text/html");if(s)t.dangerouslyInsertHtml(s);else{var l=_N.getLeftLengthOfMaxLength(t);if(u){var c=u.split(/\r\n|\r|\n/),f=!1;try{for(var d=ax(c),p=d.next();!p.done;p=d.next()){var h=p.value;f&&l>0&&md.splitNodes(t,{always:!0}),t.insertText(h),f=!0}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}}}}},t},Yk=function(e){return null!=e},Xk={object:!0,function:!0,undefined:!0},Zk=/^\s*class[\s{/}]/,Jk=Function.prototype.toString,Qk=function(e){return!!function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!function(e){if(!function(e){return!!Yk(e)&&hasOwnProperty.call(Xk,typeof e)}(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}(e)}(e)&&!Zk.test(Jk.call(e))},eB=function(e){return null!=e},tB=Object.keys,nB=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return tB(eB(e)?Object(e):e)},rB=function(e){if(!eB(e))throw new TypeError("Cannot use null or undefined");return e},oB=Math.max,iB=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,i=oB(arguments.length,2);for(e=Object(rB(e)),o=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<i;++r)nB(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e},aB=Array.prototype.forEach,uB=Object.create,sB=function(e,t){var n;for(n in e)t[n]=e[n]},lB=function(e){var t=uB(null);return aB.call(arguments,(function(e){eB(e)&&sB(Object(e),t)})),t},cB="razdwatrzy",fB=String.prototype.indexOf,dB="function"==typeof cB.contains&&!0===cB.contains("dwa")&&!1===cB.contains("foo")?String.prototype.contains:function(e){return fB.call(this,e,arguments[1])>-1},pB=iE((function(e){var t=e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],Yk(e)?(n=dB.call(e,"c"),r=dB.call(e,"e"),o=dB.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?iB(lB(i),a):a};t.gs=function(e,t,n){var r,o,i,a;return"string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],Yk(t)?Qk(t)?Yk(n)?Qk(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,Yk(e)?(r=dB.call(e,"c"),o=dB.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?iB(lB(i),a):a}})),hB=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},vB=iE((function(e,t){var n,r,o,i,a,u,s,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,d=Object.defineProperty,p=Object.defineProperties,h=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return hB(t),h.call(this,"__ee__")?n=this.__ee__:(n=v.value=f(null),d(this,"__ee__",v),v.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},r=function(e,t){var r,i;return hB(t),i=this,n.call(this,e,r=function(){o.call(i,e,r),l.call(t,this,arguments)}),r.__eeOnceListener__=t,this},o=function(e,t){var n,r,o,i;if(hB(t),!h.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},i=function(e){var t,n,r,o,i;if(h.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)l.call(r,this,i)}else switch(arguments.length){case 1:c.call(o,this);break;case 2:c.call(o,this,arguments[1]);break;case 3:c.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];l.call(o,this,i)}},a={on:n,once:r,off:o,emit:i},u={on:pB(n),once:pB(r),off:pB(o),emit:pB(i)},s=p({},u),e.exports=t=function(e){return null==e?f(s):p(Object(e),u)},t.methods=a}));function gB(e){var t=NO.get(e);return null==t&&(t=vB(),NO.set(e,t)),t}var yB=new WeakMap;function mB(e,t){var n=yB.get(e);null==n&&(n=new Set,yB.set(e,n)),n.add(t)}function bB(e){return yB.get(e)||new Set}function EB(e){yB.set(e,new Set)}function wB(e){var t=_N.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r}}function SB(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=wB(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,u=r.height,s=_N.toDOMRange(e,n).getClientRects()[0];if(null==s)return t;s.width;var l=s.height,c={},f=s.top-o,d=s.left-i;if(d>a/2){var p=a-d;c.right=p+5+"px"}else c.left=d+5+"px";if(f>u/2){var h=u-f;c.bottom=h+5+"px"}else{var v=f+l;v<0&&(v=0),c.top=v+5+"px"}return c}function CB(e,t,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==e.selection)return r;var o=Cf.isElement(t)&&e.isVoid(t),i=Cf.isElement(t)&&e.isInline(t),a=DO.get(t);if(null==a)return r;var u=a.getBoundingClientRect(),s=u.top,l=u.left,c=u.height,f=u.width;if(o){var d=function(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(null==r)break;if(++n>1e4)break;var o=r.nodeName;if(1===r.nodeType){var i=o.toLowerCase();if(FO.includes(i)||"iframe"===i||"video"===i)return r;var a=r.children||[],u=a.length;if(u)for(var s=u-1;s>=0;s--)t.push(a[s])}}return null}(a);if(null!=d){var p=d.getBoundingClientRect();s=p.top,c=p.height}}var h=wB(e);if(null==h)return r;var v,g=h.top,y=h.left,m=h.width,b=h.height,E={},w=s-g,S=l-y;if("bar"===n)return E.left=S+"px",w>40?E.bottom=b-w+5+"px":E.top=w+c+5+"px",E;if("modal"===n)return o?i?S>(m-f)/2?E.right=m-S+5+"px":E.left=S+f+5+"px":E.left="20px":E.left=S+"px",o?((v=w)<0&&(v=0),E.top=v+"px"):w>(b-c)/2?E.bottom=b-w+5+"px":((v=w+c)<0&&(v=0),E.top=v+5+"px"),E;throw new Error("type '"+n+"' is invalid")}function DB(e,t){hN((function(){var n=wB(e);if(null!=n){var r,o=n.top,i=n.left,a=n.width,u=n.height,s=t.offset(),l=s.top,c=s.left,f=t.width(),d=t.height(),p=l-o,h=c-i,v=t.attr("style");if(v.indexOf("top")>=0&&(r=p+d-u)>0){var g=t.css("top"),y=parseInt(g.toString())-r;y<0&&(y=0),t.css("top",y+"px")}if(v.indexOf("bottom")>=0&&l<0){var m=t.css("bottom"),b=parseInt(m.toString())-Math.abs(l);t.css("bottom",b+"px")}if(v.indexOf("left")>=0&&(r=h+f-a)>0){var E=t.css("left"),w=parseInt(E.toString())-r;w<0&&(w=0),t.css("left",w+"px")}if(v.indexOf("right")>=0&&c<0){var S=t.css("right"),C=parseInt(S.toString())-Math.abs(c);t.css("right",C+"px")}}}))}var AB=aA("slice"),xB=GE("species"),OB=lE.Array,TB=Math.max;cC({target:"Array",proto:!0,forced:!AB},{slice:function(e,t){var n,r,o,i=jS(this),a=pS(i),u=$S(e,a),s=$S(void 0===t?a:t,a);if(hS(i)&&(n=i.constructor,(SS(n)&&(n===OB||hS(n.prototype))||YE(n)&&null===(n=n[xB]))&&(n=void 0),n===OB||void 0===n))return VO(i,u,s);for(r=new(void 0===n?OB:n)(TB(s-u,0)),o=0;u<s;u++,o++)u in i&&uD(r,o,i[u]);return r.length=o,r}});var NB=zS.f,kB=mE("".startsWith),BB=mE("".slice),IB=Math.min,FB=ZC("startsWith"),PB=!FB&&!!function(){var e=NB(String.prototype,"startsWith");return e&&!e.writable}();cC({target:"String",proto:!0,forced:!PB&&!FB},{startsWith:function(e){var t=bC(EE(this));YC(e);var n=dS(IB(arguments.length>1?arguments[1]:void 0,t.length)),r=bC(e);return kB?kB(t,r,n):BB(t,n,n+r.length)===r}});var RB=Object.assign,_B=Object.defineProperty,LB=mE([].concat),jB=!RB||jE((function(){if(KE&&1!==RB({b:1},RB(_B({},"a",{enumerable:!0,get:function(){_B(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=RB({},e)[n]||fC(RB({},t)).join("")!=r}))?function(e,t){for(var n=SE(e),r=arguments.length,o=1,i=JS.f,a=LS.f;r>o;)for(var u,s=uS(arguments[o++]),l=i?LB(fC(s),i(s)):fC(s),c=l.length,f=0;c>f;)u=l[f++],KE&&!ow(a,s,u)||(n[u]=s[u]);return n}:RB;cC({target:"Object",stat:!0,forced:Object.assign!==jB},{assign:jB});var MB=["props","attrs","style","dataset","on","hook"];function zB(e){var t=e.data,n=void 0===t?{}:t,r=e.children,o=void 0===r?[]:r;Object.keys(n).forEach((function(t){var r,o,i=n[t];if("key"!==t){if(!MB.includes(t)){if(t.startsWith("data-")){var a=t.slice(5);return a=Ag(a),function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.dataset&&(n.dataset={}),Object.assign(n.dataset,t)}(e,((r={})[a]=i,r)),void delete n[t]}!function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,t)}(e,(o={},o[t]=i,o)),delete n[t]}}else e.key=i})),o.length>0&&o.forEach((function(e){"string"!=typeof e&&zB(e)}))}var HB=[];var UB={};function $B(e,t,n){return Fv(n.isInline(e)?"span":"div",null,t)}function VB(e,t){return void 0===t&&(t=!1),Fv("span",{"data-slate-string":!0},t?e+"\n":e)}function GB(e,t){return void 0===e&&(e=0),void 0===t&&(t=!1),Fv("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\ufeff",t?Fv("br",null):null)}function WB(e,t,n,r){return bO.set(e,t),EO.set(e,n),Cf.isElement(e)?function(e,t){var n,r=_N.findKey(t,e),o=t.isInline(e),i=Nf.isVoid(t,e),a=tk(r.id),u={id:a,key:r.id,"data-slate-node":"element","data-slate-inline":o},s=e.type,l=e.children,c=void 0===l?[]:l,f=function(e){return UB[e]||$B}(s);n=i?null:c.map((function(n,r){return WB(n,r,e,t)}));var d=f(e,n,t);if(i){u["data-slate-void"]=!0;var p=o?"span":"div",h=ux(Rf.texts(e),1),v=ux(h[0],1)[0],g=Fv(p,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},WB(v,0,e,t));d=Fv(p,{style:{position:"relative"}},d,g),bO.set(v,0),EO.set(v,e)}return null==d.data&&(d.data={}),Object.assign(d.data,u),i||o||(d=function(e,t){var n=t;return HB.forEach((function(r){n=r(e,t)})),n}(e,d)),hN((function(){var t=CN(a);null!=t&&(CO.set(r,t),DO.set(e,t),SO.set(t,e))})),d}(e,r):function(e,t,n){if(null==e.text)throw new Error("Current node is not slate Text "+JSON.stringify(e));var r=_N.findKey(n,e),o=n.getConfig().decorate;if(null==o)throw new Error("Can not get config.decorate");var i=_N.findPath(n,e),a=o([e,i]),u=ed.decorations(e,a),s=u.map((function(r,o){var i=function(e,t,n,r,o){void 0===t&&(t=!1);var i=e.text,a=_N.findPath(o,n),u=Mf.parent(a);if(Nf.isEditor(r))throw new Error("Text node "+JSON.stringify(n)+" parent is Editor");return o.isVoid(r)?GB(Rf.string(r).length):""!==i||r.children[r.children.length-1]!==n||o.isInline(r)||""!==Nf.string(o,u)?""===i?GB():t&&"\n"===i.slice(-1)?VB(i,!0):VB(i):GB(0,!0)}(r,o===u.length-1,e,t,n);return i=function(e,t){var n=t;return HB.forEach((function(t){n=t(e,n)})),n}(r,i),Fv("span",{"data-slate-leaf":!0},i)})),l=function(e){return"w-e-text-"+e}(r.id),c=Fv("span",{"data-slate-node":"text",id:l,key:r.id},s);return hN((function(){var t=CN(l);null!=t&&(CO.set(r,t),DO.set(e,t),SO.set(t,e))})),c}(e,n,r)}function qB(e,t){var n,r=e.$scroll,o=function(e){return"w-e-textarea-"+e}(e.id),i=t.getConfig(),a=i.readOnly,u=i.autoFocus,s=function(e,t){return void 0===t&&(t=!1),pv("div#"+e,{props:{contentEditable:!t}})}(o,a),l=t.children||[];s.children=l.map((function(e,n){var r=WB(e,n,t,t);return zB(r),r}));var c=gO.get(e);if(null==c&&(c=!0),c){var f=function(e,t){return Mp('<div\n id="'+e+'"\n data-slate-editor\n data-slate-node="value"\n suppressContentEditableWarning\n role="textarea"\n spellCheck="true"\n autoCorrect="true"\n autoCapitalize="true"\n ></div>')}(o);r.append(f),e.$textArea=f,n=f[0],(p=fv([yv,xv,Bv,Ev,Dv,vv]))(n,s),gO.set(e,!1),yO.set(e,p)}else{var d=mO.get(e),p=yO.get(e);if(null==d||null==p)return;n=d.elm,p(d,s)}if(null!=n||null!=(n=CN(o))){var h;if((c?u:t.isFocused())&&n.focus({preventScroll:!0}),c){var v=(h=n)&&h.ownerDocument&&h.ownerDocument.defaultView||null;v&&xO.set(t,v)}wO.set(t,n),DO.set(t,n),SO.set(n,t),mO.set(e,s)}}function KB(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function YB(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function XB(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return YB(n.overflowY,t)||YB(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function ZB(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}function JB(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,u=t.skipOverflowHiddenElements,s="function"==typeof a?a:function(e){return e!==a};if(!KB(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=e;KB(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break}null!=f&&f===document.body&&XB(f)&&!XB(document.documentElement)||null!=f&&XB(f,u)&&c.push(f)}for(var d=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),y=g.height,m=g.width,b=g.top,E=g.right,w=g.bottom,S=g.left,C="start"===o||"nearest"===o?b:"end"===o?w:b+y/2,D="center"===i?S+m/2:"end"===i?E:S,A=[],x=0;x<c.length;x++){var O=c[x],T=O.getBoundingClientRect(),N=T.height,k=T.width,B=T.top,I=T.right,F=T.bottom,P=T.left;if("if-needed"===r&&b>=0&&S>=0&&w<=p&&E<=d&&b>=B&&w<=F&&S>=P&&E<=I)return A;var R=getComputedStyle(O),_=parseInt(R.borderLeftWidth,10),L=parseInt(R.borderTopWidth,10),j=parseInt(R.borderRightWidth,10),M=parseInt(R.borderBottomWidth,10),z=0,H=0,U="offsetWidth"in O?O.offsetWidth-O.clientWidth-_-j:0,$="offsetHeight"in O?O.offsetHeight-O.clientHeight-L-M:0;if(l===O)z="start"===o?C:"end"===o?C-p:"nearest"===o?ZB(v,v+p,p,L,M,v+C,v+C+y,y):C-p/2,H="start"===i?D:"center"===i?D-d/2:"end"===i?D-d:ZB(h,h+d,d,_,j,h+D,h+D+m,m),z=Math.max(0,z+v),H=Math.max(0,H+h);else{z="start"===o?C-B-L:"end"===o?C-F+M+$:"nearest"===o?ZB(B,F,N,L,M+$,C,C+y,y):C-(B+N/2)+$/2,H="start"===i?D-P-_:"center"===i?D-(P+k/2)+U/2:"end"===i?D-I+j+U:ZB(P,I,k,_,j+U,D,D+m,m);var V=O.scrollLeft,G=O.scrollTop;C+=G-(z=Math.max(0,Math.min(G+z,O.scrollHeight-N+$))),D+=V-(H=Math.max(0,Math.min(V+H,O.scrollWidth-k+U)))}A.push({el:O,top:z,left:H})}return A}function QB(e){return e===Object(e)&&0!==Object.keys(e).length}function eI(e,t){return EN(t)&&_N.hasDOMNode(e,t,{editable:!0})}function tI(e,t){if(e.getConfig().readOnly)return!1;var n=nI(e,t)&&_N.toSlateNode(e,t);return Nf.isVoid(e,n)}function nI(e,t){return EN(t)&&_N.hasDOMNode(e,t)}function rI(e,t,n){void 0===n&&(n=!1);var r=t.selection,o=t.getConfig(),i=_N.findDocumentOrShadowRoot(t).getSelection();if(i&&(!e.isComposing||n)&&t.isFocused()){var a="None"!==i.type;if(r||a){var u=wO.get(t),s=!1;if(u.contains(i.anchorNode)&&u.contains(i.focusNode)&&(s=!0),a&&s&&r){var l=_N.toSlateRange(t,i,{exactMatch:!0,suppressThrow:!0});if(l&&qf.equals(l,r)){var c=!0;if(qf.isCollapsed(r)){var f=i.anchorNode,d=i.anchorOffset;if(f===u){var p=u.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(c=!1),(h=p[d-1])&&h.matches("table")&&(c=!1)}}if(c)return}}if(!r||_N.hasRange(t,r)){e.isUpdatingSelection=!0;var v=r&&_N.toDOMRange(t,r);if(v){qf.isBackward(r)?i.setBaseAndExtent(v.endContainer,v.endOffset,v.startContainer,v.startOffset):i.setBaseAndExtent(v.startContainer,v.startOffset,v.endContainer,v.endOffset);var g=v.startContainer.parentElement;if(!g.closest("[data-slate-spacer]")){g.getBoundingClientRect=v.getBoundingClientRect.bind(v);var y=document.body;(function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(QB(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:JB(e,t));if(!n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:QB(e)?e:{block:"start",inline:"nearest"}}(t);(function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))})(JB(e,r),r.behavior)}})(g,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:y,block:"end",behavior:"smooth"}),delete g.getBoundingClientRect}}else i.removeAllRanges();setTimeout((function(){v&&kN&&u.focus(),e.isUpdatingSelection=!1}))}else t.selection=_N.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})}}}var oI=new WeakMap,iI=new WeakMap,aI={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},uI={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},sI={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},lI=function(e){var t=aI[e],n=uI[e],r=sI[e],o=t&&Rg(t),i=n&&Rg(n),a=r&&Rg(r);return function(e){return!(!o||!o(e))||!!(NN&&i&&i(e))||!(NN||!a||!a(e))}},cI={isBold:lI("bold"),isCompose:lI("compose"),isMoveBackward:lI("moveBackward"),isMoveForward:lI("moveForward"),isDeleteBackward:lI("deleteBackward"),isDeleteForward:lI("deleteForward"),isDeleteLineBackward:lI("deleteLineBackward"),isDeleteLineForward:lI("deleteLineForward"),isDeleteWordBackward:lI("deleteWordBackward"),isDeleteWordForward:lI("deleteWordForward"),isExtendBackward:lI("extendBackward"),isExtendForward:lI("extendForward"),isExtendLineBackward:lI("extendLineBackward"),isExtendLineForward:lI("extendLineForward"),isItalic:lI("italic"),isMoveLineBackward:lI("moveLineBackward"),isMoveLineForward:lI("moveLineForward"),isMoveWordBackward:lI("moveWordBackward"),isMoveWordForward:lI("moveWordForward"),isRedo:lI("redo"),isSplitBlock:lI("splitBlock"),isTransposeCharacter:lI("transposeCharacter"),isUndo:lI("undo"),isTab:lI("tab"),isSelectAll:lI("selectAll")};function fI(e){e.preventDefault()}var dI={beforeinput:function(e,t,n){var r=e,o=n.getConfig().readOnly;if(RN&&!o&&eI(n,r.target)){var i=n.selection,a=r.inputType,u=r.dataTransfer||r.data||void 0;if("insertCompositionText"!==a&&"deleteCompositionText"!==a){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var s=ux(r.getTargetRanges(),1)[0];if(s){var l=_N.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&qf.equals(i,l)||md.select(n,l)}}if(i&&qf.isExpanded(i)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";Nf.deleteFragment(n,{direction:c})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":Nf.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":Nf.deleteForward(n);break;case"deleteContentBackward":Nf.deleteBackward(n);break;case"deleteEntireSoftLine":Nf.deleteBackward(n,{unit:"line"}),Nf.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":Nf.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":Nf.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":Nf.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":Nf.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":Nf.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":Nf.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":Nf.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===a&&!kO.get(n))break;"[object DataTransfer]"===vN(u)?n.insertData(u):"string"==typeof u&&Nf.insertText(n,u)}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,i=t.latestElement;if(!n.getConfig().readOnly&&!o&&eI(n,r.target)){var a=_N.findDocumentOrShadowRoot(n);if(i!==a.activeElement){var u=r.relatedTarget;if(!(u===_N.toDOMNode(n,n)||bN(u)&&u.hasAttribute("data-slate-spacer"))){if(null!=u&&EN(u)&&_N.hasDOMNode(n,u)){var s=_N.toSlateNode(n,u);if(Cf.isElement(s)&&!n.isVoid(s))return}if(BN){var l=a.getSelection();null==l||l.removeAllRanges()}OO.delete(n)}}}},focus:function(e,t,n){var r=_N.toDOMNode(n,n),o=_N.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,kN&&e.target!==r?r.focus():OO.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&nI(n,e.target)&&EN(e.target)){var r=_N.toSlateNode(n,e.target),o=_N.findPath(n,r);if(Nf.hasPath(n,o)&&Rf.get(n,o)===r){var i=Nf.start(n,o),a=Nf.end(n,o),u=Nf.void(n,{at:i}),s=Nf.void(n,{at:a});if(u&&s&&Mf.equals(u[1],s[1])){var l=Nf.range(n,i);md.select(n,l)}}}},compositionstart:function(e,t,n){if(eI(n,e.target)){var r=n.selection;if(r&&qf.isExpanded(r)&&(Nf.deleteFragment(n),Promise.resolve().then((function(){rI(t,n,!0)}))),r&&(qf.isExpanded(r)||qf.isCollapsed(r))){var o=_N.toDOMRange(n,r).startContainer,i=o.textContent||"";oI.set(n,i),iI.set(n,o)}t.isComposing=!0,function(e,t){var n;t.getConfig().placeholder&&t.isEmpty()&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(eI(n,r.target)){t.isComposing=!1;var o=n.selection;if(null!=o){(PN||kN)&&_N.cleanExposedTexNodeInSelectionBlock(n);for(var i=qf.isBackward(o)?o.focus:o.anchor,a=ux(Nf.node(n,[i.path[0]]),1)[0],u=0;u<i.path.length;u++){var s=ux(Nf.node(n,i.path.slice(0,u+1)),1)[0];if(Cf.isElement(s)&&((BN||kN)&&"link"===s.type||"code"===s.type)){_N.setNewKey(a);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=_N.getLeftLengthOfMaxLength(n);c<l.length?(_N.toDOMRange(n,o).startContainer.textContent=oI.get(n)||"",c>0&&Nf.insertText(n,l.slice(0,c)),t.changeViewState()):Nf.insertText(n,l)}else{var f=_N.findDocumentOrShadowRoot(n).getSelection();f&&function(e,t){if(qf.isCollapsed(t)){var n=t.anchor,r=t.focus;if(2===n.path.length&&2===r.path.length&&(0===n.offset||0===r.path.offset)){var o=Nf.node(e,n.path),i=0===n.offset?n.path:r.path,a=[i[0],i[1]-1];if(0===i[1])return!1;var u=Nf.node(e,a);if(ed.isText(u[0])&&ed.isText(o[0]))return!0}}}(n,o)&&(n.selection=_N.toSlateRange(n,f,{exactMatch:!1,suppressThrow:!1})),Nf.insertText(n,l)}BN||setTimeout((function(){var e=n.selection;if(null!=e){var t=iI.get(n);null!=t&&_N.toDOMRange(n,e).startContainer!==t&&(t.textContent=oI.get(n)||"")}}))}}}},compositionupdate:function(e,t,n){eI(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&eI(n,r.target)){if(function(e,t){var n=lO.get(e),r=n&&n.getMenus(),o=fO.get(e),i=o&&o.getMenus(),a=ix(ix({},r),i);for(var u in a){var s=a[u],l=s.hotkey;if(l&&Pg(l,t)&&!s.isDisabled(e)){var c=s.getValue(e);s.exec(e,c)}}}(n,r),cI.isTab(r))return fI(r),void n.handleTab();if(cI.isRedo(r))return fI(r),void("function"==typeof n.redo&&n.redo());if(cI.isUndo(r))return fI(r),void("function"==typeof n.undo&&n.undo());if(cI.isMoveLineBackward(r))return fI(r),void md.move(n,{unit:"line",reverse:!0});if(cI.isMoveLineForward(r))return fI(r),void md.move(n,{unit:"line"});if(cI.isExtendLineBackward(r))return fI(r),void md.move(n,{unit:"line",edge:"focus",reverse:!0});if(cI.isExtendLineForward(r))return fI(r),void md.move(n,{unit:"line",edge:"focus"});if(cI.isMoveBackward(r))return fI(r),void(o&&qf.isCollapsed(o)?md.move(n,{reverse:!0}):md.collapse(n,{edge:"start"}));if(cI.isMoveForward(r))return fI(r),void(o&&qf.isCollapsed(o)?md.move(n):md.collapse(n,{edge:"end"}));if(cI.isMoveWordBackward(r))return fI(r),o&&qf.isExpanded(o)&&md.collapse(n,{edge:"focus"}),void md.move(n,{unit:"word",reverse:!0});if(cI.isMoveWordForward(r))return fI(r),o&&qf.isExpanded(o)&&md.collapse(n,{edge:"focus"}),void md.move(n,{unit:"word"});if(cI.isSelectAll(r))return fI(r),void n.selectAll();if(RN){if((PN||BN)&&o&&(cI.isDeleteBackward(r)||cI.isDeleteForward(r))&&qf.isCollapsed(o)){var i=Rf.parent(n,o.anchor.path);if(Cf.isElement(i)&&Nf.isVoid(n,i)&&Nf.isInline(n,i))return r.preventDefault(),void md.delete(n,{unit:"block"})}}else{if(cI.isBold(r)||cI.isItalic(r)||cI.isTransposeCharacter(r))return void fI(r);if(cI.isSplitBlock(r))return fI(r),void Nf.insertBreak(n);if(cI.isDeleteBackward(r))return fI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"backward"}):Nf.deleteBackward(n));if(cI.isDeleteForward(r))return fI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"forward"}):Nf.deleteForward(n));if(cI.isDeleteLineBackward(r))return fI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"backward"}):Nf.deleteBackward(n,{unit:"line"}));if(cI.isDeleteLineForward(r))return fI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"forward"}):Nf.deleteForward(n,{unit:"line"}));if(cI.isDeleteWordBackward(r))return fI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"backward"}):Nf.deleteBackward(n,{unit:"word"}));if(cI.isDeleteWordForward(r))return fI(r),void(o&&qf.isExpanded(o)?Nf.deleteFragment(n,{direction:"forward"}):Nf.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!RN&&!n.getConfig().readOnly&&eI(n,e.target)){e.preventDefault();var r=e.key;Nf.insertText(n,r)}},copy:function(e,t,n){var r=e;if(eI(n,r.target)){r.preventDefault();var o=r.clipboardData;null!=o&&n.setFragmentData(o)}},cut:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&eI(n,r.target)){r.preventDefault();var i=r.clipboardData;if(null!=i&&(n.setFragmentData(i),o))if(qf.isExpanded(o))Nf.deleteFragment(n);else{var a=Rf.parent(n,o.anchor.path);Nf.isVoid(n,a)&&md.delete(n)}}},paste:function(e,t,n){kO.set(n,!0);var r=e;if(!n.getConfig().readOnly&&eI(n,r.target)){var o=n.getConfig().customPaste;if(o&&!1===o(n,r))return void kO.set(n,!1);if(!RN||function(e){return e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length}(r)){r.preventDefault();var i=r.clipboardData;null!=i&&n.insertData(i)}}},dragover:function(e,t,n){if(nI(n,e.target)){var r=_N.toSlateNode(n,e.target);Nf.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(nI(n,r.target)&&!n.getConfig().readOnly){var o=_N.toSlateNode(n,r.target),i=_N.findPath(n,o);if(Nf.isVoid(n,o)||Nf.void(n,{at:i,voids:!0})){var a=Nf.range(n,i);md.select(n,a)}var u=r.dataTransfer;null!=u&&(t.isDraggingInternally=!0,n.setFragmentData(u))}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&nI(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,o=r.dataTransfer;if(!n.getConfig().readOnly&&nI(n,r.target)&&null!=o&&!(RN&&BN&&o.files.length>0)){r.preventDefault();var i=n.selection,a=_N.findEventRange(n,r);md.select(n,a),t.isDraggingInternally&&(i&&md.delete(n,{at:i}),t.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},pI=1,hI=function(){function e(e){var t=this;this.id=pI++,this.$textArea=null,this.$progressBar=Mp('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=Mp('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=ev((function(){var e=t.editorInstance;!function(e,t){var n=e.isComposing,r=e.isUpdatingSelection,o=e.isDraggingInternally;if(!(t.getConfig().readOnly||n||r||o)){var i=_N.findDocumentOrShadowRoot(t),a=i.activeElement,u=_N.toDOMNode(t,t),s=i.getSelection();if(a===u?(e.latestElement=a,OO.set(t,!0)):OO.delete(t),!s)return md.deselect(t);var l=s.anchorNode,c=s.focusNode,f=eI(t,l)||tI(t,l),d=eI(t,c)||tI(t,c);if(f&&d){var p=_N.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!1});md.select(t,p)}}}(t,e)}),100);var n=Mp(e);if(0===n.length)throw new Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=n;var r=Mp('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=Mp('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,hN((function(){var e=t.editorInstance,o=_N.getWindow(e);o.document.addEventListener("selectionchange",t.onDOMSelectionChange),e.on("destroyed",(function(){o.document.removeEventListener("selectionchange",t.onDOMSelectionChange)})),r.on("click",(function(){return e.hidePanelOrModal()})),e.on("change",t.changeViewState.bind(t));var i=e.getConfig(),a=i.onChange,u=i.scroll;a&&e.on("change",(function(){return a(e)})),u||(n.css("position","relative"),r.addClass("no-scroll")),t.onFocusAndOnBlur(),e.on("change",t.changeMaxLengthInfo.bind(t)),t.bindEvent()}))}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var e=uO.get(this);if(null==e)throw new Error("Can not get editor instance");return e},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=t&&(Lh(dI,(function(n,o){t.on(o,(function(t){n(t,e,r)}))})),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",ev((function(){r.emit("scroll")}),100))))},e.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=t.selection,t.on("change",(function(){null==e.latestEditorSelection&&null!=t.selection?setTimeout((function(){return o&&o(t)})):null!=e.latestEditorSelection&&null==t.selection&&setTimeout((function(){return r&&r(t)})),e.latestEditorSelection=t.selection}))},e.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-_N.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=n+"/"+t}},e.prototype.changeProgress=function(e){var t=this.$progressBar;t.css("width",e+"%"),e>=100&&setTimeout((function(){t.hide(),t.css("width","0"),t.show()}),1e3)},e.prototype.changeViewState=function(){var e=this,t=this.editorInstance;qB(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var o=t.isEmpty();if(o&&!e.showPlaceholder&&!e.isComposing){if(null==e.$placeholder){var i=Mp('<div class="w-e-text-placeholder">'+r+"</div>");e.$textAreaContainer.append(i),e.$placeholder=i}return e.$placeholder.show(),void(e.showPlaceholder=!0)}!o&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1)}}(this,t),hN((function(){rI(e,t)}))},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function vI(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&vI(t)}function gI(){return Mp('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function yI(){return Mp('<div class="w-e-bar-divider"></div>')}function mI(e,t,n,r,o){if(void 0===o&&(o=!1),t){if(r){var i=NN?"cmd":"ctrl";r=r.replace("mod",i)}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var a=r?n+"\n"+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5")}}}_A("match",(function(e,t,n){return[function(t){var n=EE(this),r=null==t?void 0:dw(t,e);return r?ow(r,t,n):new RegExp(t)[e](bC(n))},function(e){var r=nw(this),o=bC(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return qA(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=qA(r,o));){var c=bC(u[0]);s[l]=c,""===c&&(r.lastIndex=jA(o,dS(r.lastIndex),a)),l++}return 0===l?null:s}]}));var bI=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=Mp('<div class="w-e-bar-item"></div>'),this.$button=Mp('<button type="button"></button>'),this.disabled=!1,this.menu=t;var o=t.tag,i=t.width;if("button"!==o)throw new Error("Invalid tag '"+o+"', expected 'button'");var a=t.title,u=t.hotkey,s=void 0===u?"":u,l=t.iconSvg,c=void 0===l?"":l,f=this.$button;if(c){var d=Mp(c);vI(d),f.append(d)}else f.text(a);mI(f,c,a,s,n),n&&c&&f.append(Mp('<span class="title">'+a+"</span>")),i&&f.css("width",i+"px"),f.attr("data-menu-key",e),this.$elem.append(f),hN((function(){return r.init()}))}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",(function(t){t.preventDefault(),FI(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick())}))},e.prototype.exec=function(){var e=FI(this),t=this.menu,n=t.getValue(e);t.exec(e,n)},e.prototype.setActive=function(){var e=FI(this),t=this.$button,n="active";this.menu.isActive(e)?t.addClass(n):t.removeClass(n)},e.prototype.setDisabled=function(){var e=FI(this),t=this.$button,n=this.menu.isDisabled(e);(null==e.selection||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?t.addClass(r):t.removeClass(r),this.disabled=n},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),EI=function(e){function t(t,n,r){return void 0===r&&(r=!1),e.call(this,t,n,r)||this}return ox(t,e),t.prototype.onButtonClick=function(){},t}(bI),wI=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e)}return e.prototype.record=function(e){var t=pO.get(e);null==t&&(t=new Set,pO.set(e,t)),t.add(this),hO.set(this,e)},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n)},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=hO.get(this);e&&e.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=hO.get(this);e&&e.emit("modalOrPanelHide")}},e}(),SI=function(e){function t(t){var n=e.call(this,t)||this;return n.type="dropPanel",n.$elem=Mp('<div class="w-e-drop-panel"></div>'),n}return ox(t,e),t.prototype.genSelfElem=function(){return null},t}(wI),CI=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=gI();o.$button.append(i)}return o}return ox(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var e=this.menu;if(null!=e.getPanelContentElem){var t=FI(this);if(null==this.dropPanel){var n=new SI(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n}else{var o=this.dropPanel;o.isShow?o.hide():(r=e.getPanelContentElem(t),o.renderContent(r),o.show())}var i=this.dropPanel;if(i.isShow){var a=this.$elem,u=a.offset().left,s=a.parents(".w-e-bar");u-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},t}(bI),DI=function(e){function t(t,n){void 0===n&&(n=0);var r=e.call(this,t)||this;r.type="modal",r.$elem=Mp('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",(function(e){return e.stopPropagation()})),o.on("keyup",(function(e){"Escape"===e.code&&(r.hide(),t.restoreSelection())})),r}return ox(t,e),t.prototype.genSelfElem=function(){var e=this,t=Mp('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),n=hO.get(this);return t.on("click",(function(){e.hide(),null==n||n.restoreSelection()})),t},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr("style",""),t&&n.css("width",t+"px"),n.css(e)},t}(wI);function AI(e,t,n){var r=Mp('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=Mp('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function xI(e,t,n){var r=Mp('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=Mp('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]]}function OI(e,t){var n=Mp('<div class="button-container"></div>'),r=Mp('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var TI=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;return o.$body=Mp("body"),o.modal=null,o.menu=n,o}return ox(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var e=FI(this),t=this.menu.getModalPositionNode(e);return Cf.isElement(t)?CB(e,t,"modal"):SB(e)},t.prototype.handleModal=function(){var e=FI(this),t=this.menu;if(null==this.modal){var n=new DI(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n}else(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1)},t.prototype.renderAndShowModal=function(e,t){void 0===t&&(t=!1);var n=FI(this),r=this.menu;if(null!=r.getModalContentElem){var o=_N.getTextarea(n),i=_N.getToolbar(n),a=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,u=r.getModalContentElem(n);if(e.renderContent(u),a)e.setStyle({left:"0",right:"0"});else{var s=this.getPosition();e.setStyle(s)}t&&(a?e.appendTo(this.$body):e.appendTo(o.$textAreaContainer)),e.show(),a||DB(n,e.$elem),setTimeout((function(){n.blur()}))}},t}(bI),NI=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="selectList",r.$elem=Mp('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width",n+"px"),r.$elem.on("click",(function(e){e.stopPropagation()})),r}return ox(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=Mp("<ul></ul>");e.forEach((function(e){var t=e.value,r=e.text,o=e.selected,i=e.styleForRenderMenuList,a=Mp('<li data-value="'+t+'"></li>');if(i&&a.css(i),o){var u=Mp('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');a.append(u),a.addClass("selected")}a.append(Mp('<span data-value="'+t+'">'+r+"</span>")),a.attr("title",r),n.append(a)})),t.append(n)},t.prototype.genSelfElem=function(){return null},t}(wI),kI=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=Mp('<div class="w-e-bar-item"></div>'),this.$button=Mp('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=t.tag,i=t.title,a=t.width,u=t.iconSvg,s=void 0===u?"":u,l=t.hotkey,c=void 0===l?"":l;if("select"!==o)throw new Error("Invalid tag '"+o+"', expected 'select'");var f=this.$button;a&&f.css("width",a+"px"),f.attr("data-menu-key",e),mI(f,s,i,c,n),this.$elem.append(f),this.menu=t,hN((function(){return r.init()}))}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",(function(t){t.preventDefault(),FI(e).hidePanelOrModal(),e.trigger()}))},e.prototype.trigger=function(){var e=this,t=FI(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new NI(t,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(t);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",(function(t){var n=t.target;if(null!=n){t.preventDefault();var r=Mp(n).attr("data-value");e.onChange(r)}}))}else(r=this.selectList).isShow?r.hide():(o=n.getOptions(t),r.renderList(o),r.show())}},e.prototype.onChange=function(e){var t=FI(this),n=this.menu;n.exec&&n.exec(t,e)},e.prototype.setSelectedValue=function(){var e=FI(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r="",o=0;o<n;o++){var i=e[o];if(i.value===t){r=i.text;break}}return r}(t.getOptions(e),n.toString()),o=this.$button,i=gI();o.empty(),o.text(r),o.append(i)},e.prototype.setDisabled=function(){var e=FI(this),t=this.menu.isDisabled(e),n=this.$button;(null==e.selection||e.isDisabled())&&(t=!0);var r="disabled";t?n.addClass(r):n.removeClass(r),this.disabled=t},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),BI=function(){function e(e){this.$elem=Mp('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=Mp('<div class="w-e-bar-item-menus-container"></div>'),this.$button=Mp('<button type="button"></button>');var t=e.key,n=e.iconSvg,r=e.title,o=this.$elem,i=this.$button;if(n){var a=Mp(n);vI(a),i.append(a)}else i.text(r);i.attr("data-menu-key",t);var u=gI();i.append(u),o.append(i);var s=this.$container;o.append(s);var l=this.createObserver();this.observe(l)}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t)},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver((function(){var o=t.find("button"),i=o.length;if(0!==i){var a=0;o.each((function(e){Mp(e).hasClass("disabled")&&a++})),r.disconnect(),a===i?n.addClass("disabled"):n.removeClass("disabled"),e.observe(r)}}));return r},e}(),II=new WeakMap;function FI(e){var t=dO.get(e);if(null==t)throw new Error("Can not get editor instance");return t}function PI(e,t,n){void 0===n&&(n=!1);var r=II.get(t);if(r)return r;var o=t.tag;if("button"===o){var i=t.showDropPanel,a=t.showModal;r=i?new CI(e,t,n):a?new TI(e,t,n):new EI(e,t,n)}if("select"===o&&(r=new kI(e,t,n)),null==r)throw new Error("Invalid tag in menu "+JSON.stringify(t));return II.set(t,r),r}function RI(e,t){var n=e.selection;return null!=n&&!qf.isCollapsed(n)&&!_N.getSelectedElems(e).some((function(t){if(e.isVoid(t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0}))&&!!ed.isText(t)}var _I=function(){function e(){var e=this;this.$elem=Mp('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=Zg((function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys,a=void 0===i?[]:i;null!=o&&e.changeItemsState(),o&&Cf.isElement(o)&&t&&e.isSamePath(o,e.prevSelectedNode)||(e.hideAndClean(),null!=o&&(e.registerItems(a),e.setPosition(o),e.show()),e.prevSelectedNode=o)}),200),hN((function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),_N.getTextarea(t).$textAreaContainer.append(n),t.on("change",e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on("scroll",r),t.on("fullScreen",r),t.on("unFullScreen",r)}))}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&n-e[0].getBoundingClientRect().bottom<360&&(t=!0),t?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var e=this;hN((function(){e.hoverbarItems.forEach((function(e){e.changeMenuState()}))}))},e.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach((function(e){if("|"!==e)t.registerSingleItem(e);else{var r=yI();n.append(r)}}))},e.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(null==r){var o=MN[e];if(null==o)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof o)throw new Error("Menu item factory (key='"+e+"') is not a function");r=o(),n[e]=r}var i=t.getMenuConfig(e);i&&void 0!==i.iconSvg&&(r.iconSvg=i.iconSvg);var a=PI(e,r);this.hoverbarItems.push(a),dO.set(a,t),this.$elem.append(a.$elem)},e.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),Cf.isElement(e)){var r=CB(t,e,"bar");return n.css(r),void DB(t,n)}if(ed.isText(e))return r=SB(t),n.css(r),void DB(t,n);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(null==e.selection)return null;var t=this.getHoverbarKeysConf(),n=null,r=[],o=function(o){var i=t[o],a=i.match,u=i.menuKeys,s=void 0===u?[]:u,l=a||function(e,t){return _N.checkNodeType(t,o)},c=ux(Nf.nodes(e,{match:function(t){return l(e,t)},universal:!0}),1),f=c[0];if(null!=f)return n=f[0],r=s,"break"};for(var i in t)if("break"===o(i))break;return null==n||0===r.length?null:{node:n,menuKeys:r}},e.prototype.getEditorInstance=function(){var e=cO.get(this);if(null==e)throw new Error("Can not get editor instance");return e},e.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=void 0===e?{}:e,n=t.text;return n&&null==n.match&&(n.match=RI),t},e.prototype.isSamePath=function(e,t){if(null==e||null==t)return!1;var n=_N.findPath(null,e),r=_N.findPath(null,t);return Mf.equals(n,r)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function LI(e,t,n,r){if(bO.set(e,t),EO.set(e,n),Cf.isElement(e)){var o=e.children;if((void 0===o?[]:o).forEach((function(t,n){return LI(t,n,e,r)})),Nf.isVoid(r,e)){var i=ux(Rf.texts(e),1),a=ux(i[0],1)[0];bO.set(a,0),EO.set(a,e)}}}function jI(e){var t=e.selector,n=void 0===t?"":t,r=e.config,o=void 0===r?{}:r,i=e.content,a=e.html,u=e.plugins,s=void 0===u?[]:u,l=(e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];yC.withoutSaving(t,(()=>{Nf.withoutNormalizing(t,(()=>{for(var e of r)t.apply(e)}))})),e.redos.pop(),e.undos.push(r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];yC.withoutSaving(t,(()=>{Nf.withoutNormalizing(t,(()=>{var e=r.map(jf.inverse).reverse();for(var n of e)t.apply(n)}))})),e.redos.push(r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:o}=t,{undos:i}=o,a=i[i.length-1],u=a&&a[a.length-1],s=((e,t)=>!(!t||"set_selection"!==e.type||"set_selection"!==t.type))(e,u),l=yC.isSaving(t),c=yC.isMerging(t);if(null==l&&(l=((e,t)=>"set_selection"!==e.type||null!=e.properties&&null!=e.newProperties)(e)),l){if(null==c&&(c=null!=a&&(0!==r.length||((e,t)=>"set_selection"===e.type||!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Mf.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Mf.equals(e.path,t.path)))(e,u)||s)),a&&c)s&&a.pop(),a.push(e);else{var f=[e];i.push(f)}for(;i.length>100;)i.shift();(e=>"set_selection"!==e.type)(e)&&(o.redos=[])}n(e)},t})(function(e){var t=e,n=t.insertText,r=t.insertNode,o=t.insertFragment,i=t.dangerouslyInsertHtml;return t.insertText=function(e){if(t.getConfig().maxLength){var r=_N.getLeftLengthOfMaxLength(t);r<=0||(r<e.length?n(e.slice(0,r)):n(e))}else n(e)},t.insertNode=function(e){if(t.getConfig().maxLength){var n=_N.getLeftLengthOfMaxLength(t);n<=0||n<Rf.string(e).length||r(e)}else r(e)},t.insertFragment=function(e){if(t.getConfig().maxLength){if(e.length>0){var n=e[0];if(_N.getLeftLengthOfMaxLength(t)<Rf.string(n).length)return;o([n]);for(var r=1;r<e.length;r++)t.insertNode(e[r])}}else o(e)},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e)if(t.getConfig().maxLength){var r=_N.getLeftLengthOfMaxLength(t);if(!(r<=0)){var o=document.createElement("div");o.innerHTML=e;var a=Array.from(o.childNodes).reduce((function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===gN.TEXT_NODE?e+(t.textContent||""):n===gN.ELEMENT_NODE?Wk.has(r.toLowerCase())?e:e+(t.textContent||""):e:e}),"");r<a.length||i(e,n)}}else i(e,n)},t}(function(e){var t=e;return t.on=function(e,n){var r=gB(t);if(r.on(e,n),"destroyed"===e&&mB(t,n),"destroyed"!==e){var o=function(){return r.off(e,n)};r.on("destroyed",o),mB(t,o)}},t.once=function(e,n){gB(t).once(e,n)},t.off=function(e,n){gB(t).off(e,n)},t.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=gB(t);o.emit.apply(o,sx([e],ux(n))),"destroyed"===e&&(bB(t).forEach((function(e){return o.off("destroyed",e)})),EB(t))},t}(function(e){var t=e;return t.select=function(e){md.select(t,e)},t.deselect=function(){var n=t.selection,r=_N.findDocumentOrShadowRoot(t).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),n&&md.deselect(e)},t.move=function(t,n){void 0===n&&(n=!1),t&&(t<0||md.move(e,{distance:t,unit:"character",reverse:n}))},t.moveReverse=function(e){t.move(e,!0)},t.restoreSelection=function(){var e=TO.get(t);null!=e&&(t.focus(),md.select(t,e))},t.getSelectionPosition=function(){return SB(t)},t.getNodePosition=function(e){return CB(t,e)},t.isSelectedAll=function(){var e=t.selection;if(null==e)return!1;var n=ux(qf.edges(e),2),r=n[0],o=n[1],i=ux(Nf.edges(t,[]),2),a=i[0],u=i[1];return!(!$f.equals(r,a)||!$f.equals(o,u))},t.selectAll=function(){var e=Nf.start(t,[]),n=Nf.end(t,[]);md.select(t,{anchor:e,focus:n})},t}(function(e){var t=e,n=t.onChange,r=t.insertText,o=t.apply,i=t.deleteBackward;return t.insertText=function(e){t.getConfig().readOnly||r(e)},t.apply=function(e){var n,r,i,a,u,s,l,c,f=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":try{for(var d=ax(Nf.levels(t,{at:e.path})),p=d.next();!p.done;p=d.next()){var h=ux(p.value,2),v=h[0],g=h[1],y=_N.findKey(t,v);f.push([g,y])}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var m=ax(Nf.levels(t,{at:Mf.parent(e.path)})),b=m.next();!b.done;b=m.next()){var E=ux(b.value,2);v=E[0],g=E[1],y=_N.findKey(t,v),f.push([g,y])}}catch(e){i={error:e}}finally{try{b&&!b.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}break;case"move_node":try{for(var w=ax(Nf.levels(t,{at:Mf.common(Mf.parent(e.path),Mf.parent(e.newPath))})),S=w.next();!S.done;S=w.next()){var C=ux(S.value,2);v=C[0],g=C[1],y=_N.findKey(t,v),f.push([g,y])}}catch(e){u={error:e}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(u)throw u.error}}}o(e);try{for(var D=ax(f),A=D.next();!A.done;A=D.next()){var x=ux(A.value,2);g=x[0],y=x[1],v=ux(Nf.node(t,g),1)[0],AO.set(v,y)}}catch(e){l={error:e}}finally{try{A&&!A.done&&(c=D.return)&&c.call(D)}finally{if(l)throw l.error}}},t.deleteBackward=function(n){if("line"!==n)return i(n);if(e.selection&&qf.isCollapsed(e.selection)){var r=Nf.above(e,{match:function(t){return Nf.isBlock(e,t)},at:e.selection});if(r){var o=ux(r,2)[1],a=Nf.range(e,o,e.selection.anchor),u=function(e,t){var n=Nf.range(e,qf.end(t)),r=Array.from(Nf.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(rk(e,Nf.range(e,r[o]),n))return Nf.range(e,r[o],n);if(r.length<2)return Nf.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)rk(e,Nf.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return Nf.range(e,r[i],n)}(t,a);qf.isCollapsed(u)||md.delete(e,{at:u})}}},t.onChange=function(){var e=t.selection;null!=e&&TO.set(t,e),t.emit("change"),n()},t.handleTab=function(){t.insertText(" ")},t.getHtml=function(){var e=t.children;return(void 0===e?[]:e).map((function(e){return ek(e,t)})).join("")},t.getText=function(){var e=t.children;return(void 0===e?[]:e).map((function(e){return Rf.string(e)})).join("\n")},t.getSelectionText=function(){var n=t.selection;return null==n?"":Nf.string(e,n)},t.getElemsByType=function(e,n){var r,o;void 0===n&&(n=!1);var i=[],a=Nf.nodes(t,{at:[],universal:!0});try{for(var u=ax(a),s=u.next();!s.done;s=u.next()){var l=ux(s.value,1)[0];if(Cf.isElement(l)&&(n?l.type.indexOf(e)>=0:l.type===e)){var c=tk(_N.findKey(t,l).id);i.push(ix(ix({},l),{id:c}))}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return i},t.getElemsByTypePrefix=function(e){return t.getElemsByType(e,!0)},t.isEmpty=function(){var e=t.children,n=void 0===e?[]:e;if(n.length>1)return!1;var r=n[0];if(null==r)return!0;if(Cf.isElement(r)&&"paragraph"===r.type){var o=r.children,i=void 0===o?[]:o;if(i.length>1)return!1;var a=i[0];if(null==a)return!0;if(ed.isText(a)&&""===a.text)return!0}return!1},t.clear=function(){md.delete(t,{at:{anchor:Nf.start(t,[]),focus:Nf.end(t,[])}}),0===t.children.length&&md.insertNodes(t,[{type:"paragraph",children:[{text:""}]}])},t.getParentNode=function(e){return _N.getParentNode(t,e)},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e){var r=document.createElement("div");r.innerHTML=e;var o=Array.from(r.childNodes);if(o=o.filter((function(e){var t=e.nodeType,n=e.nodeName;return t===gN.TEXT_NODE||t===gN.ELEMENT_NODE&&!Wk.has(n.toLowerCase())})),0!==o.length){var i=t.selection;if(null!=i){var a=null;_N.isSelectedEmptyParagraph(t)&&!n&&(a=[i.focus.path[0]]),r.setAttribute("hidden","true"),document.body.appendChild(r);var u=0;o.forEach((function(e,n){var r=e.nodeType,i=e.nodeName,a=e.textContent,s=void 0===a?"":a;if(r!==gN.TEXT_NODE)if("BR"!==i){var l=e,c=!1;if(ok.includes(i.toLowerCase()))c=!0;else for(var f in uk)if(l.matches(f)){c=!0;break}if(c){var d=jk(Mp(l),t);return Array.isArray(d)?(d.forEach((function(e){return qk(t,e)})),u++):(qk(t,d),u++),void(_N.isSelectedVoidNode(t)&&t.move(1))}var p=window.getComputedStyle(l).display;if(!_N.isSelectedEmptyParagraph(t)&&p.indexOf("inline")<0){if(n>=1){var h=o[n-1];"matches"in h&&h.matches("ul:not([data-w-e-type]),ol:not([data-w-e-type])")&&t.insertBreak()}t.insertBreak()}t.dangerouslyInsertHtml(l.innerHTML,!0)}else t.insertText("\n");else{if(!s||!s.trim())return;t.insertNode({text:s})}})),u&&a&&_N.isEmptyPath(t,a)&&md.removeNodes(t,{at:a}),r.remove()}}}},t.setHtml=function(e){void 0===e&&(e="");var n=t.isDisabled(),r=t.isFocused(),o=JSON.stringify(t.selection);t.enable(),t.focus(),t.clear();var i=zk(t,null==e?"":e);if(md.insertFragment(t,i),r||(t.deselect(),t.blur()),n&&(t.deselect(),t.disable()),t.isFocused())try{t.select(JSON.parse(o))}catch(e){t.select(Nf.start(t,[]))}},t}(function(e){var t=e;return t.getAllMenuKeys=function(){var e=[];for(var t in MN)e.push(t);return e},t.getConfig=function(){var e=vO.get(t);if(null==e)throw new Error("Can not get editor config");return e},t.getMenuConfig=function(e){var n=t.getConfig().MENU_CONF;return(void 0===n?{}:n)[e]||{}},t.alert=function(e,n){void 0===n&&(n="info");var r=t.getConfig().customAlert;r&&r(e,n)},t}(function(e){var t=Kk(Gc());return t.id="wangEditor-"+LN++,t.isDestroyed=!1,t.isFullScreen=!1,t.focus=function(e){if(_N.toDOMNode(t,t).focus({preventScroll:!0}),OO.set(t,!0),e){var n=Nf.end(t,[]);md.select(t,n)}else{var r=TO.get(t);r?md.select(t,r):md.select(t,Nf.start(t,[]))}},t.isFocused=function(){return!!OO.get(t)},t.blur=function(){_N.toDOMNode(t,t).blur(),md.deselect(t),OO.set(t,!1)},t.updateView=function(){_N.getTextarea(t).changeViewState();var e=_N.getToolbar(t);e&&e.changeToolbarState();var n=_N.getHoverbar(t);n&&n.changeHoverbarState()},t.destroy=function(){if(!t.isDestroyed){var e=_N.getTextarea(t);e.destroy(),aO.delete(t),uO.delete(e);var n=_N.getToolbar(t);n&&(n.destroy(),lO.delete(t),sO.delete(n));var r=_N.getHoverbar(t);r&&(r.destroy(),fO.delete(t),cO.delete(r)),t.isDestroyed=!0,t.emit("destroyed")}},t.scrollToElem=function(e){if(!t.getConfig().scroll){var n="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return n+="\nYou has disabled editor scroll, please do this yourself",void console.warn(n)}var r=Mp("#"+e);if(0!==r.length){var o=r[0];if(!_N.hasDOMNode(t,o))return n="Element (found by id is '"+e+"') is not in editor DOM",n+="\n 通过 id '"+e+"' 找到的 element 不在 editor DOM 之内",void console.error(n,o);var i=_N.getTextarea(t),a=i.$textAreaContainer,u=i.$scroll,s=r.offset().top,l=a.offset().top;u[0].scrollBy({top:s-l,behavior:"smooth"})}},t.showProgressBar=function(e){e<1||_N.getTextarea(t).changeProgress(e)},t.hidePanelOrModal=function(){var e=pO.get(t);null!=e&&e.forEach((function(e){return e.hide()}))},t.enable=function(){t.getConfig().readOnly=!1,t.updateView()},t.disable=function(){t.getConfig().readOnly=!0,t.updateView()},t.isDisabled=function(){return t.getConfig().readOnly},t.toDOMNode=function(e){return _N.toDOMNode(t,e)},t.fullScreen=function(){if(!t.isFullScreen){var e=null,n=_N.getToolbar(t);n&&(e=n.$box);var r=_N.getTextarea(t).$box.parent();if(e&&e.parent()[0]!==r[0])throw new Error("Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent\n不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致");r.addClass("w-e-full-screen-container");var o=r.css("z-index");r.attr("data-z-index",o.toString()),t.isFullScreen=!0,t.emit("fullScreen")}},t.unFullScreen=function(){if(t.isFullScreen){var e=_N.getTextarea(t).$box.parent();setTimeout((function(){e.removeClass("w-e-full-screen-container"),t.isFullScreen=!1,t.emit("unFullScreen")}),200)}},t.getEditableContainer=function(){return _N.getTextarea(t).$textAreaContainer[0]},t}()))))));if(n&&function(e,t){return Mk(e,"data-w-e-textarea",t)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(e){void 0===e&&(e={});var t=Jg(jN),n={},r=e.MENU_CONF,o=void 0===r?{}:r;return Lh(t,(function(e,t){n[t]=ix(ix({},e),o[t]||{})})),delete e.MENU_CONF,ix({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(e,t){window.alert(t+":\n"+e)}},e)}(o);vO.set(l,c);var f=c.hoverbarKeys,d=void 0===f?{}:f;if(s.forEach((function(e){l=e(l)})),null!=a&&(l.children=zk(l,a)),i&&i.length&&(l.children=i),0===l.children.length&&(l.children=[{type:"paragraph",children:[{text:""}]}]),_N.normalizeContent(l),n){var p=new hI(n);aO.set(l,p),uO.set(p,l),p.changeViewState(),hN((function(){var e=p.$scroll;null!=e&&e.height()<300&&console.warn("编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常\nTextarea height < 300px . This may be cause modal and hoverbar position error",e)}));var h=void 0;Object.keys(d).length>0&&(h=new _I,cO.set(h,l),fO.set(l,h)),l.on("change",(function(){l.hidePanelOrModal()})),l.on("scroll",(function(){l.hidePanelOrModal()}))}else l.children.forEach((function(e,t){return LI(e,t,l,l)}));var v=c.onCreated,g=c.onDestroyed;return v&&l.on("created",(function(){return v(l)})),g&&l.on("destroyed",(function(){return g(l)})),hN((function(){return l.emit("created")})),l}var MI=aA("splice"),zI=lE.TypeError,HI=Math.max,UI=Math.min;cC({target:"Array",proto:!0,forced:!MI},{splice:function(e,t){var n,r,o,i,a,u,s=SE(this),l=pS(s),c=$S(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=UI(HI(cS(t),0),l-c)),l+n-r>9007199254740991)throw zI("Maximum allowed length exceeded");for(o=AS(s,r),i=0;i<r;i++)(a=c+i)in s&&uD(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var $I=function(){function e(e,t){var n=this;this.$toolbar=Mp('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=Zg((function(){n.toolbarItems.forEach((function(e){e.changeMenuState()}))}),200),this.config=t;var r=Mp(e);if(0===r.length)throw new Error("Cannot find toolbar DOM by selector '"+e+"'");this.$box=r;var o=this.$toolbar;o.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),r.append(o),hN((function(){n.registerItems(),n.changeToolbarState(),n.getEditorInstance().on("change",n.changeToolbarState)}))}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var e=this,t="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=void 0===o?[]:o,a=r.insertKeys,u=void 0===a?{index:0,keys:[]}:a,s=r.excludeKeys,l=void 0===s?[]:s,c=Jg(i);u.keys.length>0&&("string"==typeof u.keys&&(u.keys=[u.keys]),u.keys.forEach((function(e,t){c.splice(u.index+t,0,e)})));var f=c.filter((function(e){if("string"==typeof e){if(l.includes(e))return!1}else if(l.includes(e.key))return!1;return!0})),d=f.length;f.forEach((function(r,o){if("|"===r){if(0===o)return;if(o+1===d)return;if("|"===t)return;var i=yI();return n.append(i),void(t=r)}if("string"==typeof r)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t="group"}))},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=function(e){return new BI(e)}(e),o=e.menuKeys,i=void 0===o?[]:o,a=this.config.excludeKeys,u=void 0===a?[]:a;i.forEach((function(e){u.includes(e)||t.registerSingleItem(e,r)})),n.append(r.$elem)},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof BI,o=this.menus,i=o[e];if(null==i){var a=MN[e];if(null==a)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof a)throw new Error("Menu item factory (key='"+e+"') is not a function");i=a(),o[e]=i}else console.warn("Duplicated toolbar menu key '"+e+"'\n重复注册了菜单栏 menu '"+e+"'");var u=n.getMenuConfig(e);u&&void 0!==u.iconSvg&&(i.iconSvg=u.iconSvg);var s=PI(e,i,r);this.toolbarItems.push(s),dO.set(s,n),r?t.appendBarItem(s):t.$toolbar.append(s.$elem)},e.prototype.getEditorInstance=function(){var e=sO.get(this);if(null==e)throw new Error("Can not get editor instance");return e},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}();var VI=$w.EXISTS,GI=bw.f,WI=Function.prototype,qI=mE(WI.toString),KI=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,YI=mE(KI.exec);function XI(e){var t=e.server,n=void 0===t?"":t,r=e.fieldName,o=void 0===r?"":r,i=e.maxFileSize,a=void 0===i?10485760:i,u=e.maxNumberOfFiles,s=void 0===u?100:u,l=e.meta,c=void 0===l?{}:l,f=e.metaWithUrl,d=void 0!==f&&f,p=e.headers,h=void 0===p?{}:p,v=e.withCredentials,g=void 0!==v&&v,y=e.timeout,m=void 0===y?1e4:y,b=e.onBeforeUpload,E=void 0===b?function(e){return e}:b,w=e.onSuccess,S=void 0===w?function(e,t){}:w,C=e.onError,D=void 0===C?function(e,t,n){console.error(e.name+" upload error",t,n)}:C,A=e.onProgress,x=void 0===A?function(e){}:A;if(!n)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var O=n;d&&(O=function(e,t){var n=ux(e.split("#"),2),r=n[0],o=n[1],i=[];Lh(t,(function(e,t){i.push(t+"="+e)}));var a=i.join("&");return r=r.indexOf("?")>0?r+"&"+a:r+"?"+a,o?r+"#"+o:r}(O,c));var T=new Im({onBeforeUpload:E,restrictions:{maxFileSize:a,maxNumberOfFiles:s},meta:c}).use(rE,{endpoint:O,headers:h,formData:!0,fieldName:o,bundle:!0,withCredentials:g,timeout:m});return T.on("upload-success",(function(e,t){var n=t.body,r=void 0===n?{}:n;try{S(e,r)}catch(e){console.error("wangEditor upload file - onSuccess error",e)}T.removeFile(e.id)})),T.on("progress",(function(e){e<1||x(e)})),T.on("upload-error",(function(e,t,n){try{D(e,t,n)}catch(e){console.error("wangEditor upload file - onError error",e)}T.removeFile(e.id)})),T.on("restriction-failed",(function(e,t){try{D(e,t)}catch(e){console.error("wangEditor upload file - onError error",e)}T.removeFile(e.id)})),T}function ZI(e){return ZI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ZI(e)}function JI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){JI(e,t,n[t])}))}return e}function eF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nF(e,t,n){return t&&tF(e.prototype,t),n&&tF(e,n),e}function rF(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oF(e,t){if(t&&("object"===ZI(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return rF(e)}function iF(e){return iF=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},iF(e)}function aF(e,t){return aF=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},aF(e,t)}function uF(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aF(e,t)}KE&&!VI&&GI(WI,"name",{configurable:!0,get:function(){try{return YI(KI,qI(this))[1]}catch(e){return""}}});var sF={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},lF=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};eF(this,e),this.init(t,n)}return nF(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||sF,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,QI({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),cF=function(){function e(){eF(this,e),this.observers={}}return nF(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var o=[].concat(this.observers[e]);o.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function fF(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function dF(e){return null==e?"":""+e}function pF(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function hF(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function vF(e,t,n){var r=hF(e,t,Object);r.obj[r.k]=n}function gF(e,t){var n=hF(e,t),r=n.obj,o=n.k;if(r)return r[o]}function yF(e,t,n){var r=gF(e,n);return void 0!==r?r:gF(t,n)}function mF(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):mF(e[r],t[r],n):e[r]=t[r]);return e}function bF(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var EF={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function wF(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return EF[e]})):e}var SF="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function CF(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,u=r.slice(i,i+a).join(n),s=o[u];void 0===s&&r.length>i+a;)a++,s=o[u=r.slice(i,i+a).join(n)];if(void 0===s)return;if("string"==typeof s)return s;if(u&&"string"==typeof s[u])return s[u];var l=r.slice(i+a).join(n);return l?CF(s,l,n):void 0}o=o[r[i]]}return o}}var DF=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return eF(this,t),n=oF(this,iF(t).call(this)),SF&&cF.call(rF(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return uF(t,cF),nF(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var u=gF(this.data,a);return u||!i||"string"!=typeof n?u:CF(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),vF(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var u=gF(this.data,a)||{};r?mF(u,n,o):u=QI({},u,n),vF(this.data,a,u),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?QI({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(),AF={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}},xF={},OF=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return eF(this,t),n=oF(this,iF(t).call(this)),SF&&cF.call(rF(n)),pF(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,rF(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=lF.create("translator"),n}return uF(t,cF),nF(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:o};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,n,r){var o=this;if("object"!==ZI(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],n),u=a.key,s=a.namespaces,l=s[s.length-1],c=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(f){var d=n.nsSeparator||this.options.nsSeparator;return l+d+u}return u}var p=this.resolve(e,n),h=p&&p.res,v=p&&p.usedKey||u,g=p&&p.exactUsedKey||u,y=Object.prototype.toString.apply(h),m=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,w="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(E&&h&&w&&m.indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,h,QI({},n,{ns:s})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var S="[object Array]"===y,C=S?[]:{},D=S?g:v;for(var A in h)if(Object.prototype.hasOwnProperty.call(h,A)){var x="".concat(D).concat(i).concat(A);C[A]=this.translate(x,QI({},n,{joinArrays:!1,ns:s})),C[A]===x&&(C[A]=h[A])}h=C}}else if(E&&"string"==typeof b&&"[object Array]"===y)(h=h.join(b))&&(h=this.extendTranslation(h,e,n,r));else{var O=!1,T=!1,N=void 0!==n.count&&"string"!=typeof n.count,k=t.hasDefaultValue(n),B=N?this.pluralResolver.getSuffix(c,n.count):"",I=n["defaultValue".concat(B)]||n.defaultValue;!this.isValidLookup(h)&&k&&(O=!0,h=I),this.isValidLookup(h)||(T=!0,h=u);var F=n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,P=F&&T?void 0:h,R=k&&I!==h&&this.options.updateMissing;if(T||O||R){if(this.logger.log(R?"updateKey":"missingKey",c,l,u,R?I:h),i){var _=this.resolve(u,QI({},n,{keySeparator:!1}));_&&_.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var L=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&j&&j[0])for(var M=0;M<j.length;M++)L.push(j[M]);else"all"===this.options.saveMissingTo?L=this.languageUtils.toResolveHierarchy(n.lng||this.language):L.push(n.lng||this.language);var z=function(e,t,r){o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,R?r:P,R,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,R?r:P,R,n),o.emit("missingKey",e,l,t,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?L.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(t){z([e],u+t,n["defaultValue".concat(t)]||I)}))})):z(L,u,I))}h=this.extendTranslation(h,e,n,p,r),T&&h===u&&this.options.appendNamespaceToMissingKey&&(h="".concat(l,":").concat(u)),(T||O)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(QI({},n,{interpolation:QI({},this.options.interpolation,n.interpolation)}));var a,u=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(u){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=QI({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),u){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=AF.handle(d,e,t,this.options&&this.options.postProcessPassResolved?QI({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,u),l=s.key;n=l;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==u.count&&"string"!=typeof u.count,d=void 0!==u.context&&("string"==typeof u.context||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:a.languageUtils.toResolveHierarchy(u.lng||a.language,u.fallbackLng);c.forEach((function(e){a.isValidLookup(t)||(i=e,!xF["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(xF["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,s,c=l,p=[c];for(a.i18nFormat&&a.i18nFormat.addLookupKeys?a.i18nFormat.addLookupKeys(p,l,n,e,u):(f&&(i=a.pluralResolver.getSuffix(n,u.count)),f&&d&&p.push(c+i),d&&p.push(c+="".concat(a.options.contextSeparator).concat(u.context)),f&&p.push(c+=i));s=p.pop();)a.isValidLookup(t)||(r=s,t=a.getResource(n,e,s,u))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}();function TF(e){return e.charAt(0).toUpperCase()+e.slice(1)}var NF=function(){function e(t){eF(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=lF.create("languageUtils")}return nF(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=TF(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=TF(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=TF(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),e}(),kF=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],BF={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function IF(){var e={};return kF.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:BF[t.fc]}}))})),e}var FF=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};eF(this,e),this.languageUtils=t,this.options=n,this.logger=lF.create("pluralResolver"),this.rules=IF()}return nF(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),PF=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};eF(this,e),this.logger=lF.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return nF(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:wF,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?bF(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?bF(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?bF(t.nestingPrefix):t.nestingPrefixEscaped||bF("$t("),this.nestingSuffix=t.nestingSuffix?bF(t.nestingSuffix):t.nestingSuffixEscaped||bF(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,u=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(u.formatSeparator)<0){var o=yF(t,s,e);return u.alwaysFormat?u.format(o,void 0,n,QI({},r,t,{interpolationkey:e})):o}var i=e.split(u.formatSeparator),a=i.shift().trim(),l=i.join(u.formatSeparator).trim();return u.format(yF(t,s,a),l,n,QI({},r,t,{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,p=[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return u.escapeValue?l(u.escape(e)):l(e)}}];return p.forEach((function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=c(o[1].trim())))if("function"==typeof f){var n=f(e,o,r);i="string"==typeof n?n:""}else{if(d){i=o[0];continue}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i=""}else"string"==typeof i||u.useRawValueToEscape||(i=dF(i));var s=t.safeValue(i);if(e=e.replace(o[0],s),d?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=u.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=QI({},i);function u(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=QI({},t,a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),s=c,l=!0}if((r=t(u.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=dF(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=s.reduce((function(e,t){return o.format(e,t,i.lng,QI({},i,{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}(),RF=function(e){function t(e,n,r){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return eF(this,t),o=oF(this,iF(t).call(this)),SF&&cF.call(rF(o)),o.backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=i,o.logger=lF.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,i.backend,i),o}return uF(t,cF),nF(t,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],u=[],s=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var u="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?a.indexOf(u)<0&&a.push(u):(o.state[u]=1,r=!1,a.indexOf(u)<0&&a.push(u),i.indexOf(u)<0&&i.push(u),s.indexOf(t)<0&&s.push(t)))})),r||u.push(e)})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:u,toLoadNamespaces:s}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=hF(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],i[a].push(n)}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(u,s){u&&s&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(u,s)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,QI({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}();function _F(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===ZI(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===ZI(e[2])||"object"===ZI(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function LF(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function jF(){}var MF=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(eF(this,t),e=oF(this,iF(t).call(this)),SF&&cF.call(rF(e)),e.options=LF(n),e.services={},e.logger=lF,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),oF(e,rF(e));setTimeout((function(){e.init(n,r)}),0)}return e}return uF(t,cF),nF(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=QI({},_F(),this.options,LF(t)),this.format=this.options.interpolation.format,n||(n=jF),!this.options.isClone){this.modules.logger?lF.init(r(this.modules.logger),this.options):lF.init(null,this.options);var o=new NF(this.options);this.store=new DF(this.options.resources,this.options);var i=this.services;i.logger=lF,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new FF(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new PF(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new RF(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new OF(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&"dev"!==a[0]&&(this.options.lng=a[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var s=["addResource","addResources","addResourceBundle","removeResourceBundle"];s.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var l=fF(),c=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),l.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jF,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(o)a(o);else{var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=fF();return e||(e=this.languages),t||(t=this.options.ns),n||(n=jF),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&AF.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=fF();this.emit("languageChanging",e);var o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(n.language=o,n.languages=n.services.languageUtils.toResolveHierarchy(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==ZI(o)){for(var a=arguments.length,u=new Array(a>2?a-2:0),s=2;s<a;s++)u[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,o].concat(u))}else i=QI({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var l=r.options.keySeparator||".",c=n?"".concat(n).concat(l).concat(t):t;return r.t(c,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var u=n.precheck(this,a);if(void 0!==u)return u}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=fF();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=fF();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:jF,o=QI({},this.options,n,{isClone:!0}),i=new t(o),a=["store","services","language"];return a.forEach((function(t){i[t]=e[t]})),i.services=QI({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new OF(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),zF=new MF,HF="translation";function UF(e,t){zF.addResourceBundle(e,HF,t,!0,!0)}function $F(e){zF.changeLanguage(e)}function VF(e){return zF.getResourceBundle(e,HF)}zF.init({lng:"zh-CN",resources:{}});var GF=zF.t.bind(zF);UF("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),UF("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var WF=ea?{}.toString:function(){return"[object "+oa(this)+"]"};ea||wi(Object.prototype,"toString",WF,{unsafe:!0});var qF=Array.isArray||function(e){return"Array"==Ur(e)},KF=function(){},YF=[],XF=Jr("Reflect","construct"),ZF=/^\s*(?:class|function)\b/,JF=Mr(ZF.exec),QF=!ZF.exec(KF),eP=function(e){if(!Yr(e))return!1;try{return XF(KF,YF,e),!0}catch(e){return!1}},tP=!XF||xr((function(){var e;return eP(eP.call)||!eP(Object)||!eP((function(){e=!0}))||e}))?function(e){if(!Yr(e))return!1;switch(oa(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return QF||!!JF(ZF,ri(e))}:eP,nP=Fo("species"),rP=Ar.Array,oP=function(e,t){return new(function(e){var t;return qF(e)&&(t=e.constructor,(tP(t)&&(t===rP||qF(t.prototype))||Xr(t)&&null===(t=t[nP]))&&(t=void 0)),void 0===t?rP:t}(e))(0===t?0:t)},iP=Mr([].push),aP=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=So(s),v=Gr(h),g=yu(l,c),y=ki(v),m=0,b=f||oP,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:iP(E,d)}else switch(e){case 4:return!1;case 7:iP(E,d)}return i?-1:r||o?o:E}},uP={forEach:aP(0),map:aP(1),filter:aP(2),some:aP(3),every:aP(4),find:aP(5),findIndex:aP(6),filterReject:aP(7)}.forEach,sP=function(e,t){var n=[][e];return!!n&&xr((function(){n.call(null,t||function(){throw 1},1)}))}("forEach"),lP=sP?[].forEach:function(e){return uP(this,e,arguments.length>1?arguments[1]:void 0)},cP=function(e){if(e&&e.forEach!==lP)try{Jo(e,"forEach",lP)}catch(t){e.forEach=lP}};for(var fP in fs)fs[fP]&&cP(Ar[fP]&&Ar[fP].prototype);cP(hs),UF("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",editSize:"Edit size",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link",ok:"Ok",width:"Width",height:"Height"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),UF("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",editSize:"修改尺寸",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接",ok:"确定",width:"宽度",height:"高度"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"}});var dP={type:"paragraph",renderElem:function(e,t,n){return Fv("p",null,t)}},pP="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function hP(e){var t={exports:{}};return e(t,t.exports),t.exports}var vP,gP,yP=function(e){return e&&e.Math==Math&&e},mP=yP("object"==typeof globalThis&&globalThis)||yP("object"==typeof window&&window)||yP("object"==typeof self&&self)||yP("object"==typeof pP&&pP)||function(){return this}()||Function("return this")(),bP=function(e){try{return!!e()}catch(e){return!0}},EP=!bP((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),wP=Function.prototype.call,SP=wP.bind?wP.bind(wP):function(){return wP.apply(wP,arguments)},CP={}.propertyIsEnumerable,DP=Object.getOwnPropertyDescriptor,AP=DP&&!CP.call({1:2},1)?function(e){var t=DP(this,e);return!!t&&t.enumerable}:CP,xP={f:AP},OP=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},TP=Function.prototype,NP=TP.bind,kP=TP.call,BP=NP&&NP.bind(kP),IP=NP?function(e){return e&&BP(kP,e)}:function(e){return e&&function(){return kP.apply(e,arguments)}},FP=IP({}.toString),PP=IP("".slice),RP=function(e){return PP(FP(e),8,-1)},_P=mP.Object,LP=IP("".split),jP=bP((function(){return!_P("z").propertyIsEnumerable(0)}))?function(e){return"String"==RP(e)?LP(e,""):_P(e)}:_P,MP=mP.TypeError,zP=function(e){if(null==e)throw MP("Can't call method on "+e);return e},HP=function(e){return jP(zP(e))},UP=function(e){return"function"==typeof e},$P=function(e){return"object"==typeof e?null!==e:UP(e)},VP=function(e){return UP(e)?e:void 0},GP=function(e,t){return arguments.length<2?VP(mP[e]):mP[e]&&mP[e][t]},WP=IP({}.isPrototypeOf),qP=GP("navigator","userAgent")||"",KP=mP.process,YP=mP.Deno,XP=KP&&KP.versions||YP&&YP.version,ZP=XP&&XP.v8;ZP&&(gP=(vP=ZP.split("."))[0]>0&&vP[0]<4?1:+(vP[0]+vP[1])),!gP&&qP&&(!(vP=qP.match(/Edge\/(\d+)/))||vP[1]>=74)&&(vP=qP.match(/Chrome\/(\d+)/))&&(gP=+vP[1]);var JP=gP,QP=!!Object.getOwnPropertySymbols&&!bP((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&JP&&JP<41})),eR=QP&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,tR=mP.Object,nR=eR?function(e){return"symbol"==typeof e}:function(e){var t=GP("Symbol");return UP(t)&&WP(t.prototype,tR(e))},rR=mP.String,oR=function(e){try{return rR(e)}catch(e){return"Object"}},iR=mP.TypeError,aR=function(e){if(UP(e))return e;throw iR(oR(e)+" is not a function")},uR=function(e,t){var n=e[t];return null==n?void 0:aR(n)},sR=mP.TypeError,lR=Object.defineProperty,cR=function(e,t){try{lR(mP,e,{value:t,configurable:!0,writable:!0})}catch(n){mP[e]=t}return t},fR=mP["__core-js_shared__"]||cR("__core-js_shared__",{}),dR=hP((function(e){(e.exports=function(e,t){return fR[e]||(fR[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),pR=mP.Object,hR=function(e){return pR(zP(e))},vR=IP({}.hasOwnProperty),gR=Object.hasOwn||function(e,t){return vR(hR(e),t)},yR=0,mR=Math.random(),bR=IP(1..toString),ER=function(e){return"Symbol("+(void 0===e?"":e)+")_"+bR(++yR+mR,36)},wR=dR("wks"),SR=mP.Symbol,CR=SR&&SR.for,DR=eR?SR:SR&&SR.withoutSetter||ER,AR=function(e){if(!gR(wR,e)||!QP&&"string"!=typeof wR[e]){var t="Symbol."+e;QP&&gR(SR,e)?wR[e]=SR[e]:wR[e]=eR&&CR?CR(t):DR(t)}return wR[e]},xR=mP.TypeError,OR=AR("toPrimitive"),TR=function(e){var t=function(e,t){if(!$P(e)||nR(e))return e;var n,r=uR(e,OR);if(r){if(void 0===t&&(t="default"),n=SP(r,e,t),!$P(n)||nR(n))return n;throw xR("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&UP(n=e.toString)&&!$P(r=SP(n,e)))return r;if(UP(n=e.valueOf)&&!$P(r=SP(n,e)))return r;if("string"!==t&&UP(n=e.toString)&&!$P(r=SP(n,e)))return r;throw sR("Can't convert object to primitive value")}(e,t)}(e,"string");return nR(t)?t:t+""},NR=mP.document,kR=$P(NR)&&$P(NR.createElement),BR=function(e){return kR?NR.createElement(e):{}},IR=!EP&&!bP((function(){return 7!=Object.defineProperty(BR("div"),"a",{get:function(){return 7}}).a})),FR=Object.getOwnPropertyDescriptor,PR={f:EP?FR:function(e,t){if(e=HP(e),t=TR(t),IR)try{return FR(e,t)}catch(e){}if(gR(e,t))return OP(!SP(xP.f,e,t),e[t])}},RR=mP.String,_R=mP.TypeError,LR=function(e){if($P(e))return e;throw _R(RR(e)+" is not an object")},jR=mP.TypeError,MR=Object.defineProperty,zR={f:EP?MR:function(e,t,n){if(LR(e),t=TR(t),LR(n),IR)try{return MR(e,t,n)}catch(e){}if("get"in n||"set"in n)throw jR("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},HR=EP?function(e,t,n){return zR.f(e,t,OP(1,n))}:function(e,t,n){return e[t]=n,e},UR=IP(Function.toString);UP(fR.inspectSource)||(fR.inspectSource=function(e){return UR(e)});var $R,VR,GR,WR=fR.inspectSource,qR=mP.WeakMap,KR=UP(qR)&&/native code/.test(WR(qR)),YR=dR("keys"),XR=function(e){return YR[e]||(YR[e]=ER(e))},ZR={},JR=mP.TypeError,QR=mP.WeakMap;if(KR||fR.state){var e_=fR.state||(fR.state=new QR),t_=IP(e_.get),n_=IP(e_.has),r_=IP(e_.set);$R=function(e,t){if(n_(e_,e))throw new JR("Object already initialized");return t.facade=e,r_(e_,e,t),t},VR=function(e){return t_(e_,e)||{}},GR=function(e){return n_(e_,e)}}else{var o_=XR("state");ZR[o_]=!0,$R=function(e,t){if(gR(e,o_))throw new JR("Object already initialized");return t.facade=e,HR(e,o_,t),t},VR=function(e){return gR(e,o_)?e[o_]:{}},GR=function(e){return gR(e,o_)}}var i_={set:$R,get:VR,has:GR,enforce:function(e){return GR(e)?VR(e):$R(e,{})},getterFor:function(e){return function(t){var n;if(!$P(t)||(n=VR(t)).type!==e)throw JR("Incompatible receiver, "+e+" required");return n}}},a_=Function.prototype,u_=EP&&Object.getOwnPropertyDescriptor,s_=gR(a_,"name"),l_={EXISTS:s_,PROPER:s_&&"something"===function(){}.name,CONFIGURABLE:s_&&(!EP||EP&&u_(a_,"name").configurable)},c_=hP((function(e){var t=l_.CONFIGURABLE,n=i_.get,r=i_.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;UP(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!gR(i,"name")||t&&i.name!==f)&&HR(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==mP?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:HR(e,n,i)):l?e[n]=i:cR(n,i)})(Function.prototype,"toString",(function(){return UP(this)&&n(this).source||WR(this)}))})),f_=Math.ceil,d_=Math.floor,p_=function(e){var t=+e;return t!=t||0===t?0:(t>0?d_:f_)(t)},h_=Math.max,v_=Math.min,g_=function(e,t){var n=p_(e);return n<0?h_(n+t,0):v_(n,t)},y_=Math.min,m_=function(e){return e>0?y_(p_(e),9007199254740991):0},b_=function(e){return m_(e.length)},E_=function(e){return function(t,n,r){var o,i=HP(t),a=b_(i),u=g_(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},w_={includes:E_(!0),indexOf:E_(!1)},S_=w_.indexOf,C_=IP([].push),D_=function(e,t){var n,r=HP(e),o=0,i=[];for(n in r)!gR(ZR,n)&&gR(r,n)&&C_(i,n);for(;t.length>o;)gR(r,n=t[o++])&&(~S_(i,n)||C_(i,n));return i},A_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],x_=A_.concat("length","prototype"),O_={f:Object.getOwnPropertyNames||function(e){return D_(e,x_)}},T_={f:Object.getOwnPropertySymbols},N_=IP([].concat),k_=GP("Reflect","ownKeys")||function(e){var t=O_.f(LR(e)),n=T_.f;return n?N_(t,n(e)):t},B_=function(e,t){for(var n=k_(t),r=zR.f,o=PR.f,i=0;i<n.length;i++){var a=n[i];gR(e,a)||r(e,a,o(t,a))}},I_=/#|\.prototype\./,F_=function(e,t){var n=R_[P_(e)];return n==L_||n!=__&&(UP(t)?bP(t):!!t)},P_=F_.normalize=function(e){return String(e).replace(I_,".").toLowerCase()},R_=F_.data={},__=F_.NATIVE="N",L_=F_.POLYFILL="P",j_=F_,M_=PR.f,z_=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?mP:l?mP[u]||cR(u,{}):(mP[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=M_(n,r))&&a.value:n[r],!j_(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;B_(i,o)}(e.sham||o&&o.sham)&&HR(i,"sham",!0),c_(n,r,i,e)}},H_=IP(IP.bind),U_=Array.isArray||function(e){return"Array"==RP(e)},$_={};$_[AR("toStringTag")]="z";var V_="[object z]"===String($_),G_=AR("toStringTag"),W_=mP.Object,q_="Arguments"==RP(function(){return arguments}()),K_=V_?RP:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=W_(e),G_))?n:q_?RP(t):"Object"==(r=RP(t))&&UP(t.callee)?"Arguments":r},Y_=function(){},X_=[],Z_=GP("Reflect","construct"),J_=/^\s*(?:class|function)\b/,Q_=IP(J_.exec),eL=!J_.exec(Y_),tL=function(e){if(!UP(e))return!1;try{return Z_(Y_,X_,e),!0}catch(e){return!1}},nL=!Z_||bP((function(){var e;return tL(tL.call)||!tL(Object)||!tL((function(){e=!0}))||e}))?function(e){if(!UP(e))return!1;switch(K_(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return eL||!!Q_(J_,WR(e))}:tL,rL=AR("species"),oL=mP.Array,iL=function(e,t){return new(function(e){var t;return U_(e)&&(t=e.constructor,(nL(t)&&(t===oL||U_(t.prototype))||$P(t)&&null===(t=t[rL]))&&(t=void 0)),void 0===t?oL:t}(e))(0===t?0:t)},aL=IP([].push),uL=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=hR(s),v=jP(h),g=function(e,t){return aR(e),void 0===t?e:H_?H_(e,t):function(){return e.apply(t,arguments)}}(l,c),y=b_(v),m=0,b=f||iL,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:aL(E,d)}else switch(e){case 4:return!1;case 7:aL(E,d)}return i?-1:r||o?o:E}},sL={forEach:uL(0),map:uL(1),filter:uL(2),some:uL(3),every:uL(4),find:uL(5),findIndex:uL(6),filterReject:uL(7)},lL=AR("species"),cL=function(e){return JP>=51||!bP((function(){var t=[];return(t.constructor={})[lL]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},fL=sL.filter;z_({target:"Array",proto:!0,forced:!cL("filter")},{filter:function(e){return fL(this,e,arguments.length>1?arguments[1]:void 0)}});var dL=V_?{}.toString:function(){return"[object "+K_(this)+"]"};V_||c_(Object.prototype,"toString",dL,{unsafe:!0});var pL,hL=mP.String,vL=function(e){if("Symbol"===K_(e))throw TypeError("Cannot convert a Symbol value to a string");return hL(e)},gL=function(){var e=LR(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},yL=mP.RegExp,mL=bP((function(){var e=yL("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),bL=mL||bP((function(){return!yL("a","y").sticky})),EL={BROKEN_CARET:mL||bP((function(){var e=yL("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:bL,UNSUPPORTED_Y:mL},wL=Object.keys||function(e){return D_(e,A_)},SL=EP?Object.defineProperties:function(e,t){LR(e);for(var n,r=HP(t),o=wL(t),i=o.length,a=0;i>a;)zR.f(e,n=o[a++],r[n]);return e},CL=GP("document","documentElement"),DL=XR("IE_PROTO"),AL=function(){},xL=function(e){return"<script>"+e+"<\/script>"},OL=function(e){e.write(xL("")),e.close();var t=e.parentWindow.Object;return e=null,t},TL=function(){try{pL=new ActiveXObject("htmlfile")}catch(e){}var e,t;TL="undefined"!=typeof document?document.domain&&pL?OL(pL):((t=BR("iframe")).style.display="none",CL.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(xL("document.F=Object")),e.close(),e.F):OL(pL);for(var n=A_.length;n--;)delete TL.prototype[A_[n]];return TL()};ZR[DL]=!0;var NL,kL,BL=Object.create||function(e,t){var n;return null!==e?(AL.prototype=LR(e),n=new AL,AL.prototype=null,n[DL]=e):n=TL(),void 0===t?n:SL(n,t)},IL=mP.RegExp,FL=bP((function(){var e=IL(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),PL=mP.RegExp,RL=bP((function(){var e=PL("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),_L=i_.get,LL=dR("native-string-replace",String.prototype.replace),jL=RegExp.prototype.exec,ML=jL,zL=IP("".charAt),HL=IP("".indexOf),UL=IP("".replace),$L=IP("".slice),VL=(kL=/b*/g,SP(jL,NL=/a/,"a"),SP(jL,kL,"a"),0!==NL.lastIndex||0!==kL.lastIndex),GL=EL.BROKEN_CARET,WL=void 0!==/()??/.exec("")[1];(VL||WL||GL||FL||RL)&&(ML=function(e){var t,n,r,o,i,a,u,s=this,l=_L(s),c=vL(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=SP(ML,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=GL&&s.sticky,h=SP(gL,s),v=s.source,g=0,y=c;if(p&&(h=UL(h,"y",""),-1===HL(h,"g")&&(h+="g"),y=$L(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==zL(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),WL&&(n=new RegExp("^"+v+"$(?!\\s)",h)),VL&&(r=s.lastIndex),o=SP(jL,p?n:s,y),p?o?(o.input=$L(o.input,g),o[0]=$L(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:VL&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),WL&&o&&o.length>1&&SP(LL,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=BL(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var qL=ML;z_({target:"RegExp",proto:!0,forced:/./.exec!==qL},{exec:qL});var KL=Function.prototype,YL=KL.apply,XL=KL.bind,ZL=KL.call,JL="object"==typeof Reflect&&Reflect.apply||(XL?ZL.bind(YL):function(){return ZL.apply(YL,arguments)}),QL=AR("species"),ej=RegExp.prototype,tj=function(e,t,n,r){var o=AR(e),i=!bP((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!bP((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[QL]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=IP(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=IP(e),s=t.exec;return s===qL||s===ej.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));c_(String.prototype,e,s[0]),c_(ej,o,s[1])}r&&HR(ej[o],"sham",!0)},nj=IP("".charAt),rj=IP("".charCodeAt),oj=IP("".slice),ij=function(e){return function(t,n){var r,o,i=vL(zP(t)),a=p_(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=rj(i,a))<55296||r>56319||a+1===u||(o=rj(i,a+1))<56320||o>57343?e?nj(i,a):r:e?oj(i,a,a+2):o-56320+(r-55296<<10)+65536}},aj=(ij(!1),ij(!0)),uj=function(e,t,n){return t+(n?aj(e,t).length:1)},sj=Math.floor,lj=IP("".charAt),cj=IP("".replace),fj=IP("".slice),dj=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,pj=/\$([$&'`]|\d{1,2})/g,hj=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=pj;return void 0!==o&&(o=hR(o),s=dj),cj(i,s,(function(i,s){var l;switch(lj(s,0)){case"$":return"$";case"&":return e;case"`":return fj(t,0,n);case"'":return fj(t,a);case"<":l=o[fj(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=sj(c/10);return 0===f?i:f<=u?void 0===r[f-1]?lj(s,1):r[f-1]+lj(s,1):i}l=r[c-1]}return void 0===l?"":l}))},vj=mP.TypeError,gj=function(e,t){var n=e.exec;if(UP(n)){var r=SP(n,e,t);return null!==r&&LR(r),r}if("RegExp"===RP(e))return SP(qL,e,t);throw vj("RegExp#exec called on incompatible receiver")},yj=AR("replace"),mj=Math.max,bj=Math.min,Ej=IP([].concat),wj=IP([].push),Sj=IP("".indexOf),Cj=IP("".slice),Dj="$0"==="a".replace(/./,"$0"),Aj=!!/./[yj]&&""===/./[yj]("a","$0");tj("replace",(function(e,t,n){var r=Aj?"$":"$0";return[function(e,n){var r=zP(this),o=null==e?void 0:uR(e,yj);return o?SP(o,e,r,n):SP(t,vL(r),e,n)},function(e,o){var i=LR(this),a=vL(e);if("string"==typeof o&&-1===Sj(o,r)&&-1===Sj(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=UP(o);s||(o=vL(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=gj(i,a);if(null===d)break;if(wj(f,d),!l)break;""===vL(d[0])&&(i.lastIndex=uj(a,m_(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=vL((d=f[g])[0]),m=mj(bj(p_(d.index),a.length),0),b=[],E=1;E<d.length;E++)wj(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=Ej([y],b,m,a);void 0!==w&&wj(S,w);var C=vL(JL(o,void 0,S))}else C=hj(y,a,m,b,w,o);m>=v&&(h+=Cj(a,v,m)+C,v=m+y.length)}return h+Cj(a,v)}]}),!!bP((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Dj||Aj);var xj=AR("unscopables"),Oj=Array.prototype;null==Oj[xj]&&zR.f(Oj,xj,{configurable:!0,value:BL(null)});var Tj=function(e){Oj[xj][e]=!0},Nj=sL.find,kj=!0;"find"in[]&&Array(1).find((function(){kj=!1})),z_({target:"Array",proto:!0,forced:kj},{find:function(e){return Nj(this,e,arguments.length>1?arguments[1]:void 0)}}),Tj("find");var Bj=AR("match"),Ij=function(e){var t;return $P(e)&&(void 0!==(t=e[Bj])?!!t:"RegExp"==RP(e))},Fj=mP.TypeError,Pj=AR("species"),Rj=function(e,t,n){var r=TR(t);r in e?zR.f(e,r,OP(0,n)):e[r]=n},_j=mP.Array,Lj=Math.max,jj=function(e,t,n){for(var r=b_(e),o=g_(t,r),i=g_(void 0===n?r:n,r),a=_j(Lj(i-o,0)),u=0;o<i;o++,u++)Rj(a,u,e[o]);return a.length=u,a},Mj=EL.UNSUPPORTED_Y,zj=Math.min,Hj=[].push,Uj=IP(/./.exec),$j=IP(Hj),Vj=IP("".slice);tj("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=vL(zP(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Ij(e))return SP(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=SP(qL,f,r))&&!((a=f.lastIndex)>c&&($j(s,Vj(r,c,i.index)),i.length>1&&i.index<r.length&&JL(Hj,s,jj(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&Uj(f,"")||$j(s,""):$j(s,Vj(r,c)),s.length>o?jj(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:SP(t,this,e,n)}:t,[function(t,n){var o=zP(this),i=null==t?void 0:uR(t,e);return i?SP(i,t,o,n):SP(r,vL(o),t,n)},function(e,o){var i=LR(this),a=vL(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=LR(e).constructor;return void 0===r||null==(n=LR(r)[Pj])?t:function(e){if(nL(e))return e;throw Fj(oR(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Mj?"g":"y"),f=new s(Mj?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===gj(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=Mj?0:h;var g,y=gj(f,Mj?Vj(a,h):a);if(null===y||(g=zj(m_(f.lastIndex+(Mj?h:0)),a.length))===p)h=uj(a,h,l);else{if($j(v,Vj(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if($j(v,y[m]),v.length===d)return v;h=p=g}}return $j(v,Vj(a,p)),v}]}),!!bP((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Mj);var Gj="\t\n\v\f\r                 \u2028\u2029\ufeff",Wj=IP("".replace),qj="["+Gj+"]",Kj=RegExp("^"+qj+qj+"*"),Yj=RegExp(qj+qj+"*$"),Xj=function(e){return function(t){var n=vL(zP(t));return 1&e&&(n=Wj(n,Kj,"")),2&e&&(n=Wj(n,Yj,"")),n}},Zj={start:Xj(1),end:Xj(2),trim:Xj(3)},Jj=l_.PROPER,Qj=Zj.trim;function eM(e){return 0===Mp("<div>"+e+"</div>").children().filter((function(e){return"BR"!==e.tagName})).length}function tM(e){return 0===e.length?"":e[0].outerHTML}function nM(e){return e.length?e[0].tagName.toLowerCase():""}function rM(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");u[0].trim()===t&&(n=u[1].trim())}}return n}z_({target:"String",proto:!0,forced:("trim",bP((function(){return!!Gj.trim()||"​…᠎"!=="​…᠎".trim()||Jj&&"trim"!==Gj.trim.name})))},{trim:function(){return Qj(this)}}),z_({global:!0},{globalThis:mP}),eh&&(Mp.fn.css=eh),ah&&(Mp.fn.append=ah),uh&&(Mp.fn.prepend=uh),zp&&(Mp.fn.addClass=zp),Hp&&(Mp.fn.removeClass=Hp),Up&&(Mp.fn.hasClass=Up),qp&&(Mp.fn.on=qp),Kp&&(Mp.fn.off=Kp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Vp&&(Mp.fn.removeAttr=Vp),Jp&&(Mp.fn.hide=Jp),Qp&&(Mp.fn.show=Qp),lh&&(Mp.fn.parents=lh),Gp&&(Mp.fn.dataset=Gp),Wp&&(Mp.fn.val=Wp),oh&&(Mp.fn.text=oh),rh&&(Mp.fn.html=rh),fh&&(Mp.fn.children=fh),dh&&(Mp.fn.remove=dh),ch&&(Mp.fn.find=ch),Yp&&(Mp.fn.width=Yp),Xp&&(Mp.fn.height=Xp),nh&&(Mp.fn.filter=nh),ph&&(Mp.fn.empty=ph);var oM={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}},iM=function(e,t){return iM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},iM(e,t)};function aM(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}iM(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var uM=function(){return uM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},uM.apply(this,arguments)};function sM(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function lM(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function cM(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function fM(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function dM(e){var t=fM(Nf.nodes(e,{match:function(t){return e.children[0]===t},mode:"highest"}),1)[0];if(null==t)return!1;var n=t[0];if(!Cf.isElement(n))return!1;if("paragraph"===n.type)return!1;if(""!==Rf.string(n))return!1;var r=n.children,o=void 0===r?[]:r;return!!ed.isText(o[0])&&(md.setNodes(e,{type:"paragraph"}),!0)}"function"==typeof SuppressedError&&SuppressedError;var pM={renderElems:[dP],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[oM],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(e){dM(r)||t(e)},r.deleteForward=function(e){dM(r)||n(e)},r}},hM=/"/g,vM=IP("".replace),gM=function(e,t,n,r){var o=vL(zP(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+vM(vL(r),hM,"&quot;")+'"'),i+">"+o+"</"+t+">"},yM=function(e){return bP((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))};function mM(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function bM(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0)}z_({target:"String",proto:!0,forced:yM("bold")},{bold:function(){return gM(this,"b","","")}}),z_({target:"String",proto:!0,forced:yM("italics")},{italics:function(){return gM(this,"i","","")}}),z_({target:"String",proto:!0,forced:yM("sub")},{sub:function(){return gM(this,"sub","","")}}),z_({target:"String",proto:!0,forced:yM("sup")},{sup:function(){return gM(this,"sup","","")}});var EM={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},wM=BR("span").classList,SM=wM&&wM.constructor&&wM.constructor.prototype,CM=SM===Object.prototype?void 0:SM,DM=function(e,t){var n=[][e];return!!n&&bP((function(){n.call(null,t||function(){throw 1},1)}))},AM=sL.forEach,xM=DM("forEach")?[].forEach:function(e){return AM(this,e,arguments.length>1?arguments[1]:void 0)},OM=function(e){if(e&&e.forEach!==xM)try{HR(e,"forEach",xM)}catch(t){e.forEach=xM}};for(var TM in EM)EM[TM]&&OM(mP[TM]&&mP[TM].prototype);function NM(e,t){return null==e.selection||!!fM(Nf.nodes(e,{match:function(t){return"pre"===_N.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0]}function kM(e,t){Object.keys(t).forEach((function(t){"text"!==t&&Nf.removeMark(e,t)}))}OM(CM),z_({target:"Object",stat:!0,forced:bP((function(){wL(1)}))},{keys:function(e){return wL(hR(e))}});var BM=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(e){var t=this.mark,n=Nf.marks(e);return n?n[t]:!!fM(Nf.nodes(e,{match:function(e){return!0===e[t]}}),1)[0]},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return NM(e,this.mark)},e.prototype.exec=function(e,t){var n=this.mark,r=this.marksNeedToRemove;t?e.removeMark(n):(e.addMark(n,!0),r&&r.forEach((function(t){return e.removeMark(t)})))},e}(),IM='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',FM='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',PM='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',RM='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',_M='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',LM='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',jM='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',MM='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',zM='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',HM='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',UM='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',$M='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',VM='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',GM='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',WM='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',qM='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',KM='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',YM='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',XM='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',ZM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="bold",t.title=GF("textStyle.bold"),t.iconSvg=IM,t.hotkey="mod+b",t}return aM(t,e),t}(BM),JM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="code",t.title=GF("textStyle.code"),t.iconSvg=_M,t.hotkey="mod+e",t}return aM(t,e),t}(BM),QM=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="italic",t.title=GF("textStyle.italic"),t.iconSvg=PM,t.hotkey="mod+i",t}return aM(t,e),t}(BM),ez=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="through",t.title=GF("textStyle.through"),t.iconSvg=RM,t.hotkey="mod+shift+x",t}return aM(t,e),t}(BM),tz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="underline",t.title=GF("textStyle.underline"),t.iconSvg=FM,t.hotkey="mod+u",t}return aM(t,e),t}(BM),nz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sub",t.marksNeedToRemove=["sup"],t.title=GF("textStyle.sub"),t.iconSvg=XM,t.hotkey="",t}return aM(t,e),t}(BM),rz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sup",t.marksNeedToRemove=["sub"],t.title=GF("textStyle.sup"),t.iconSvg=YM,t.hotkey="",t}return aM(t,e),t}(BM),oz=function(){function e(){this.title=GF("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return NM(e)},e.prototype.exec=function(e,t){var n,r,o=Nf.nodes(e,{match:function(e){return ed.isText(e)},universal:!0});try{for(var i=cM(o),a=i.next();!a.done;a=i.next())kM(e,a.value[0])}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e}(),iz={renderStyle:function(e,t){var n=e,r=n.bold,o=n.italic,i=n.underline,a=n.code,u=n.through,s=n.sub,l=n.sup,c=t;return r&&(c=Fv("strong",null,c)),a&&(c=Fv("code",null,c)),o&&(c=Fv("em",null,c)),i&&(c=Fv("u",null,c)),u&&(c=Fv("s",null,c)),s&&(c=Fv("sub",null,c)),l&&(c=Fv("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new ZM}},{key:"underline",factory:function(){return new tz}},{key:"italic",factory:function(){return new QM}},{key:"through",factory:function(){return new ez}},{key:"code",factory:function(){return new JM}},{key:"sub",factory:function(){return new nz}},{key:"sup",factory:function(){return new rz}},{key:"clearStyle",factory:function(){return new oz}}],styleToHtml:function(e,t){if(!ed.isText(e))return t;if(eM(t))return mM(e,t);var n=Mp(t);if("br"===nM(n))return mM(e,"<br>");var r=n.html();return r=mM(e,r),n.html(r),tM(n)},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t;return bM(r,"b,strong")&&(o.bold=!0),bM(r,"i,em")&&(o.italic=!0),bM(r,"u")&&(o.underline=!0),bM(r,"s,strike")&&(o.through=!0),bM(r,"sub")&&(o.sub=!0),bM(r,"sup")&&(o.sup=!0),bM(r,"code")&&(o.code=!0),o}};function az(e){return function(t,n,r){return Fv("h"+e,null,n)}}var uz={type:"header1",renderElem:az(1)},sz={type:"header2",renderElem:az(2)},lz={type:"header3",renderElem:az(3)},cz={type:"header4",renderElem:az(4)},fz={type:"header5",renderElem:az(5)},dz=l_.PROPER,pz=RegExp.prototype,hz=pz.toString,vz=IP(gL),gz=bP((function(){return"/a/b"!=hz.call({source:"a",flags:"b"})})),yz=dz&&"toString"!=hz.name;(gz||yz)&&c_(RegExp.prototype,"toString",(function(){var e=LR(this),t=vL(e.source),n=e.flags;return"/"+t+"/"+vL(void 0===n&&WP(pz,e)&&!("flags"in pz)?vz(e):n)}),{unsafe:!0});var mz,bz=mP.TypeError,Ez=function(e){if(Ij(e))throw bz("The method doesn't accept regular expressions");return e},wz=AR("match"),Sz=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[wz]=!1,"/./"[e](t)}catch(e){}}return!1},Cz=PR.f,Dz=IP("".startsWith),Az=IP("".slice),xz=Math.min,Oz=Sz("startsWith");function Tz(e){var t=fM(Nf.nodes(e,{match:function(e){return _N.getNodeType(e).startsWith("header")},universal:!0}),1),n=t[0];if(null==n)return"paragraph";var r=fM(n,1)[0];return _N.getNodeType(r)}function Nz(e){return null==e.selection||!fM(Nf.nodes(e,{match:function(e){var t=_N.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function kz(e,t){t&&md.setNodes(e,{type:t})}z_({target:"String",proto:!0,forced:!(!Oz&&(mz=Cz(String.prototype,"startsWith"),mz&&!mz.writable)||Oz)},{startsWith:function(e){var t=vL(zP(this));Ez(e);var n=m_(xz(arguments.length>1?arguments[1]:void 0,t.length)),r=vL(e);return Dz?Dz(t,r,n):Az(t,n,n+r.length)===r}});var Bz=function(){function e(){this.title=GF("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(e){var t=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:GF("header.text")}],n=this.getValue(e).toString();return t.forEach((function(e){e.value===n?e.selected=!0:delete e.selected})),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){return Tz(e)},e.prototype.isDisabled=function(e){return Nz(e)},e.prototype.exec=function(e,t){kz(e,t.toString())},e}(),Iz=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return Tz(e)},e.prototype.isActive=function(e){return this.getValue(e)===this.type},e.prototype.isDisabled=function(e){return Nz(e)},e.prototype.exec=function(e,t){var n=this.type;kz(e,t===n?"paragraph":n)},e}(),Fz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H1",t.type="header1",t}return aM(t,e),t}(Iz),Pz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H2",t.type="header2",t}return aM(t,e),t}(Iz),Rz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H3",t.type="header3",t}return aM(t,e),t}(Iz),_z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H4",t.type="header4",t}return aM(t,e),t}(Iz),Lz=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H5",t.type="header5",t}return aM(t,e),t}(Iz),jz={key:"headerSelect",factory:function(){return new Bz}},Mz={key:"header1",factory:function(){return new Fz}},zz={key:"header2",factory:function(){return new Pz}},Hz={key:"header3",factory:function(){return new Rz}},Uz={key:"header4",factory:function(){return new _z}},$z={key:"header5",factory:function(){return new Lz}};function Vz(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function Gz(e){return function(t,n,r){var o=Mp(t);return 0===(n=n.filter((function(e){return!!ed.isText(e)||!!r.isInline(e)}))).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var Wz={renderElems:[uz,sz,lz,cz,fz],elemsToHtml:[{type:"header1",elemToHtml:Vz(1)},{type:"header2",elemToHtml:Vz(2)},{type:"header3",elemToHtml:Vz(3)},{type:"header4",elemToHtml:Vz(4)},{type:"header5",elemToHtml:Vz(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:Gz(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:Gz(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:Gz(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:Gz(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:Gz(5)}],menus:[jz,Mz,zz,Hz,Uz,$z],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=fM(Nf.nodes(n,{match:function(e){return _N.getNodeType(e).startsWith("header")},universal:!0}),1)[0];r&&_N.isSelectionAtLineEnd(e,r[1])?md.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},qz=Object.assign,Kz=Object.defineProperty,Yz=IP([].concat),Xz=!qz||bP((function(){if(EP&&1!==qz({b:1},qz(Kz({},"a",{enumerable:!0,get:function(){Kz(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=qz({},e)[n]||wL(qz({},t)).join("")!=r}))?function(e,t){for(var n=hR(e),r=arguments.length,o=1,i=T_.f,a=xP.f;r>o;)for(var u,s=jP(arguments[o++]),l=i?Yz(wL(s),i(s)):wL(s),c=l.length,f=0;c>f;)u=l[f++],EP&&!SP(a,s,u)||(n[u]=s[u]);return n}:qz;function Zz(e,t){null==e.data&&(e.data={});var n=e.data;null==n.style&&(n.style={}),Object.assign(n.style,t)}z_({target:"Object",stat:!0,forced:Object.assign!==Xz},{assign:Xz});var Jz={selector:"font",preParseHtml:function(e){var t=Mp(e);if("font"!==nM(t))return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},Qz=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){var t=this.mark,n=Nf.marks(e);return n&&n[t]?n[t]:""},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return null==e.selection||!!fM(Nf.nodes(e,{match:function(t){return"pre"===_N.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){var t=this.mark;if(null==this.$content){var n=Mp('<ul class="w-e-panel-content-color"></ul>');n.on("click","li",(function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=e.selection)){var o=Mp(r).attr("data-value");"0"===o?Nf.removeMark(e,t):Nf.addMark(e,t,o)}})),this.$content=n}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var o=this.getValue(e),i=e.getMenuConfig(t).colors;(void 0===i?[]:i).forEach((function(e){var t=Mp('<div class="color-block" data-value="'+e+'"></div>');t.css("background-color",e);var n=Mp('<li data-value="'+e+'"></li>');o===e&&n.addClass("active"),n.append(t),r.append(n)}));var a="";"color"===t&&(a=GF("color.default")),"bgColor"===t&&(a=GF("color.clear"));var u=Mp('\n <li data-value="0" class="clear">\n <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>\n '+a+"\n </li>\n ");return r.prepend(u),r[0]},e}(),eH=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("color.color"),t.iconSvg=MM,t.mark="color",t}return aM(t,e),t}(Qz),tH=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("color.bgColor"),t.iconSvg=zM,t.mark="bgColor",t}return aM(t,e),t}(Qz),nH=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],rH={renderStyle:function(e,t){var n=e,r=n.color,o=n.bgColor,i=t;return r&&Zz(i,{color:r}),o&&Zz(i,{backgroundColor:o}),i},styleToHtml:function(e,t){if(!ed.isText(e))return t;var n,r=e,o=r.color,i=r.bgColor;return o||i?((eM(t)||"span"!==nM(n=Mp(t)))&&(n=Mp("<span>"+t+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),tM(n)):t},preParseHtml:[Jz],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t,i=rM(r,"color");i&&(o.color=i);var a=rM(r,"background-color");return a||(a=rM(r,"background")),a&&(o.bgColor=a),o},menus:[{key:"color",factory:function(){return new eH},config:{colors:nH}},{key:"bgColor",factory:function(){return new tH},config:{colors:nH}}]},oH=/^(?:\w+:)?\/\/(\S+)$/,iH=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,aH=/^[^\s\.]+\.\S{2,}$/,uH=w_.includes;z_({target:"Array",proto:!0},{includes:function(e){return uH(this,e,arguments.length>1?arguments[1]:void 0)}}),Tj("includes");var sH=IP([].slice),lH=cL("slice"),cH=AR("species"),fH=mP.Array,dH=Math.max;function pH(e){return void 0===e&&(e="r"),e+"-"+jh()}function hH(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function vH(e,t,n,r){return sM(this,void 0,void 0,(function(){var o,i;return lM(this,(function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if("string"==typeof(i=a.sent()))return t.alert(i,"error"),[2,!1];if(null==i)return[2,!1];a.label=2;case 2:return[2,!0]}}))}))}function gH(e,t,n){return sM(this,void 0,void 0,(function(){var r;return lM(this,(function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}}))}))}function yH(e){return null==e.selection||!!_N.getSelectedElems(e).some((function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0}))}function mH(e,t){return{type:"link",url:hH(e),children:t?[{text:t}]:[]}}function bH(e,t,n){return sM(this,void 0,void 0,(function(){var r,o,i,a,u;return lM(this,(function(s){switch(s.label){case 0:return n?(t||(t=n),e.restoreSelection(),yH(e)?[2]:[4,vH("insertLink",e,t,n)]):[2];case 1:return s.sent()?[4,gH("insertLink",e,n)]:[2];case 2:if(r=s.sent(),null==(o=e.selection))return[2];if(qf.isCollapsed(o)){if((a=_N.getLeftLengthOfMaxLength(e))<=0)return[2];e.insertText(" "),a<t.length+1&&(t=t.slice(0,a-1)),u=mH(r,t),md.insertNodes(e,u),e.insertFragment([{text:" "}])}else if((i=Nf.string(e,o))!==t){if((a=_N.getLeftLengthOfMaxLength(e))<=0)return[2];a<i.length-t.length&&(t=t.slice(0,a)),e.deleteFragment(),u=mH(r,t),md.insertNodes(e,u)}else u=mH(r),md.wrapNodes(e,u,{split:!0}),md.collapse(e,{edge:"end"});return[2]}}))}))}z_({target:"Array",proto:!0,forced:!lH},{slice:function(e,t){var n,r,o,i=HP(this),a=b_(i),u=g_(e,a),s=g_(void 0===t?a:t,a);if(U_(i)&&(n=i.constructor,(nL(n)&&(n===fH||U_(n.prototype))||$P(n)&&null===(n=n[cH]))&&(n=void 0),n===fH||void 0===n))return sH(i,u,s);for(r=new(void 0===n?fH:n)(dH(s-u,0)),o=0;u<s;u++,o++)u in i&&Rj(r,o,i[u]);return r.length=o,r}});var EH={type:"link",renderElem:function(e,t,n){var r=e,o=r.url,i=r.target;return Fv("a",{href:o,target:void 0===i?"_blank":i},t)}},wH={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}};function SH(){return pH("w-e-insert-link")}var CH=function(){function e(){this.title=GF("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=SH(),this.urlInputId=SH(),this.buttonId=SH()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return yH(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=e.selection,n=this,r=n.textInputId,o=n.urlInputId,i=n.buttonId,a=fM(AI(GF("link.text"),r),2),u=a[0],s=Mp(a[1]),l=fM(AI(GF("link.url"),o),2),c=l[0],f=Mp(l[1]),d=fM(OI(i,GF("common.ok")),1)[0];if(null==this.$content){var p=Mp("<div></div>");p.on("click","#"+i,(function(t){t.preventDefault();var n=p.find("#"+r).val(),i=p.find("#"+o).val();bH(e,n,i),e.hidePanelOrModal()})),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(d),null==t||qf.isCollapsed(t))s.val("");else{var v=Nf.string(e,t);s.val(v)}return f.val(""),setTimeout((function(){s.focus()})),h[0]},e}();function DH(){return pH("w-e-update-link")}var AH=function(){function e(){this.title=GF("link.edit"),this.iconSvg=LM,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=DH(),this.buttonId=DH()}return e.prototype.getSelectedLinkElem=function(e){var t=_N.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.getModalPositionNode=function(e){return _N.getSelectedNodeByType(e,"link")},e.prototype.getModalContentElem=function(e){var t=this.urlInputId,n=this.buttonId,r=fM(AI(GF("link.url"),t),2),o=r[0],i=Mp(r[1]),a=fM(OI(n,GF("common.ok")),1)[0];if(null==this.$content){var u=Mp("<div></div>");u.on("click","button",(function(n){n.preventDefault(),e.restoreSelection();var r=_N.getSelectedNodeByType(e,"link"),o=r?Rf.string(r):"",i=u.find("#"+t).val();!function(e,t,n){sM(this,void 0,void 0,(function(){var r,o;return lM(this,(function(i){switch(i.label){case 0:return n?[4,vH("editLink",e,t,n)]:[2];case 1:return i.sent()?[4,gH("editLink",e,n)]:[2];case 2:return r=i.sent(),o={url:hH(r)},md.setNodes(e,o,{match:function(e){return _N.checkNodeType(e,"link")}}),[2]}}))}))}(e,o,i),e.hidePanelOrModal()})),this.$content=u}var s=this.$content;s.empty(),s.append(o),s.append(a);var l=this.getValue(e);return i.val(l),setTimeout((function(){i.focus()})),s[0]},e}(),xH=function(){function e(){this.title=GF("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==_N.getSelectedNodeByType(e,"link")},e.prototype.exec=function(e,t){this.isDisabled(e)||md.unwrapNodes(e,{match:function(e){return _N.checkNodeType(e,"link")}})},e}(),OH=function(){function e(){this.title=GF("link.view"),this.iconSvg=jM,this.tag="button"}return e.prototype.getSelectedLinkElem=function(e){var t=_N.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw new Error("View link failed, link url is '"+t+"'");window.open(t,"_blank")}},e}(),TH={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},NH={renderElems:[EH],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e,r=n.url,o=n.target;return'<a href="'+r+'" target="'+(void 0===o?"_blank":o)+'">'+t+"</a>"}}],parseElemsHtml:[wH],menus:[{key:"insertLink",factory:function(){return new CH},config:TH},{key:"editLink",factory:function(){return new AH},config:TH},{key:"unLink",factory:function(){return new xH}},{key:"viewLink",factory:function(){return new OH}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var o=e;return o.isInline=function(e){return"link"===e.type||t(e)},o.insertData=function(e){var t=e.getData("text/plain");if(function(e){if("string"!=typeof e)return!1;var t=e.match(oH);if(!t)return!1;var n=t[1];return!(!n||!iH.test(n)&&!aH.test(n))}(t)){if(/<img[^>]+>/.test(e.getData("text/html")))n(e);else if(!yH(o)){var r=o.selection;if(null!=r){var i=Nf.string(o,r);bH(o,i,t)}}}else n(e)},o.normalizeNode=function(e){var t=fM(e,2),n=t[0],i=t[1];return"link"!==_N.getNodeType(n)?r([n,i]):""===Rf.string(n)?md.removeNodes(o,{at:i}):r([n,i])},o}},kH=IP(1..valueOf),BH=mP.RangeError,IH=mP.RangeError,FH=mP.String,PH=Math.floor,RH=IP((function(e){var t=vL(zP(this)),n="",r=p_(e);if(r<0||r==1/0)throw BH("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),_H=IP("".slice),LH=IP(1..toFixed),jH=function(e,t,n){return 0===t?n:t%2==1?jH(e,t-1,n*e):jH(e*e,t/2,n)},MH=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=PH(o/1e7)},zH=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=PH(r/t),r=r%t*1e7},HH=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=FH(e[t]);n=""===n?r:n+RH("0",7-r.length)+r}return n};function UH(e,t){return"w-e-image-container-"+_N.findKey(e,t).id}z_({target:"Number",proto:!0,forced:bP((function(){return"0.000"!==LH(8e-5,3)||"1"!==LH(.9,0)||"1.25"!==LH(1.255,2)||"1000000000000000128"!==LH(0xde0b6b3a7640080,0)}))||!bP((function(){LH({})}))},{toFixed:function(e){var t,n,r,o,i=kH(this),a=p_(e),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw IH("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return FH(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*jH(2,69,1))-69)<0?i*jH(2,-t,1):i/jH(2,t,1),n*=4503599627370496,(t=52-t)>0){for(MH(u,0,n),r=a;r>=7;)MH(u,1e7,0),r-=7;for(MH(u,jH(10,r,1),0),r=t-1;r>=23;)zH(u,1<<23),r-=23;zH(u,1<<r),MH(u,1,1),zH(u,2),l=HH(u)}else MH(u,0,n),MH(u,1<<-t,0),l=HH(u)+RH("0",a);return a>0?s+((o=l.length)<=a?"0."+RH("0",a-o)+l:_H(l,0,o-a)+"."+_H(l,o-a)):s+l}});var $H={type:"image",renderElem:function(e,t,n){var r=e,o=r.src,i=r.alt,a=void 0===i?"":i,u=r.href,s=void 0===u?"":u,l=r.style,c=void 0===l?{}:l,f=c.width,d=void 0===f?"":f,p=c.height,h=void 0===p?"":p,v=_N.isNodeSelected(n,e),g={maxWidth:"100%"};d&&(g.width="100%"),h&&(g.height="100%");var y=Fv("img",{style:g,src:o,alt:a,"data-href":s}),m=n.isDisabled();return v&&!m?function(e,t,n,r){var o=Mp("body"),i=UH(e,t),a=r.width;r.height;var u=0,s=0,l=0,c=0,f=!1,d=null;function p(t,n){d=function(){var e=Mp("#"+i);if(0===e.length)throw new Error("Cannot find image container elem");return e}(),u=t,c=n;var r=d.find("img");if(0===r.length)throw new Error("Cannot find image elem");s=r.width(),l=r.height(),o.on("mousemove",h),o.on("mouseup",v);var a=_N.getHoverbar(e);a&&a.hideAndClean()}var h=ev((function(e){e.preventDefault();var t=e.clientX,n=s+(f?u-t:t-u);n>c-6||null!=d&&(n<=15||l*(n/s)<=15||d.css("width",n+"px"))}),100);function v(n){if(o.off("mousemove",h),null!=d){var r=d.width().toFixed(2),i={style:uM(uM({},t.style),{width:r+"px"})};md.setNodes(e,i,{at:_N.findPath(e,t)}),o.off("mouseup",v)}}var g={};return a&&(g.width=a),Fv("div",{id:i,style:g,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(n){var r=Mp(n.target);if(r.hasClass("w-e-image-dragger")){n.preventDefault(),(r.hasClass("left-top")||r.hasClass("left-bottom"))&&(f=!0);var o=_N.getParentNode(e,t);if(null!=o){var i=_N.toDOMNode(e,o),a=i.getBoundingClientRect(),u=window.getComputedStyle(i),s=parseFloat(u.paddingLeft),l=parseFloat(u.paddingRight),c=parseFloat(u.borderLeftWidth),d=parseFloat(u.borderRightWidth);p(n.clientX,a.width-s-l-c-d)}}}}},n,Fv("div",{className:"w-e-image-dragger left-top"}),Fv("div",{className:"w-e-image-dragger right-top"}),Fv("div",{className:"w-e-image-dragger left-bottom"}),Fv("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,y,{width:d,height:h}):function(e,t,n,r){var o=r.width,i={};return o&&(i.width=o),Fv("div",{id:UH(e,t),style:i,className:"w-e-image-container"},n)}(n,e,y,{width:d,height:h})}},VH={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:rM(r,"width"),height:rM(r,"height")},width:r.attr("width")||"",height:r.attr("height")||"",children:[{text:""}]}}};function GH(e,t,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),sM(this,void 0,void 0,(function(){var i,a;return lM(this,(function(u){switch(u.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if("string"==typeof(a=u.sent()))return t.alert(a,"error"),[2,!1];if(null==a)return[2,!1];u.label=2;case 2:return[2,!0]}}))}))}function WH(e,t,n){return sM(this,void 0,void 0,(function(){var r;return lM(this,(function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}}))}))}function qH(e,t,n,r){return void 0===n&&(n=""),void 0===r&&(r=""),sM(this,void 0,void 0,(function(){var o,i,a;return lM(this,(function(u){switch(u.label){case 0:return[4,GH("insertImage",e,t,n,r)];case 1:return u.sent()?[4,WH("insertImage",e,t)]:[2];case 2:return o=u.sent(),i={type:"image",src:hH(o),href:r,alt:n,style:{},children:[{text:""}]},null===e.selection&&e.restoreSelection(),_N.getSelectedNodeByType(e,"image")&&e.move(1),KH(e)||(md.insertNodes(e,i),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(i)),[2]}}))}))}function KH(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!fM(Nf.nodes(e,{match:function(t){var n=_N.getNodeType(t);return"code"===n||"pre"===n||"link"===n||"list-item"===n||!!n.startsWith("header")||"blockquote"===n||!!Nf.isVoid(e,t)},universal:!0}),1)[0]}function YH(){return pH("w-e-insert-image")}var XH=function(){function e(){this.title=GF("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=YH(),this.altInputId=YH(),this.hrefInputId=YH(),this.buttonId=YH()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return KH(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,a=n.buttonId,u=fM(AI(GF("image.src"),r),2),s=u[0],l=Mp(u[1]),c=fM(AI(GF("image.desc"),o),2),f=c[0],d=Mp(c[1]),p=fM(AI(GF("image.link"),i),2),h=p[0],v=Mp(p[1]),g=fM(OI(a,GF("common.ok")),1)[0];if(null==this.$content){var y=Mp("<div></div>");y.on("click","#"+a,(function(n){n.preventDefault();var a=y.find("#"+r).val().trim(),u=y.find("#"+o).val().trim(),s=y.find("#"+i).val().trim();t.insertImage(e,a,u,s),e.hidePanelOrModal()})),this.$content=y}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(h),m.append(g),l.val(""),d.val(""),v.val(""),setTimeout((function(){l.focus()})),m[0]},e.prototype.insertImage=function(e,t,n,r){void 0===n&&(n=""),void 0===r&&(r=""),t&&(e.restoreSelection(),this.isDisabled(e)||qH(e,t,n,r))},e}(),ZH=function(){function e(){this.title=GF("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==_N.getSelectedNodeByType(e,"image")},e.prototype.exec=function(e,t){this.isDisabled(e)||md.removeNodes(e,{match:function(e){return _N.checkNodeType(e,"image")}})},e}();function JH(){return pH("w-e-edit-image")}var QH=function(){function e(){this.title=GF("image.edit"),this.iconSvg=LM,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=JH(),this.altInputId=JH(),this.hrefInputId=JH(),this.buttonId=JH()}return e.prototype.getValue=function(e){return""},e.prototype.getImageNode=function(e){return _N.getSelectedNodeByType(e,"image")},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==_N.getSelectedNodeByType(e,"image")},e.prototype.getModalPositionNode=function(e){return this.getImageNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,a=n.buttonId,u=this.getImageNode(e);if(null==u)throw new Error("Not found selected image node");var s=fM(AI(GF("image.src"),r),2),l=s[0],c=Mp(s[1]),f=fM(AI(GF("image.desc"),o),2),d=f[0],p=Mp(f[1]),h=fM(AI(GF("image.link"),i),2),v=h[0],g=Mp(h[1]),y=fM(OI(a,GF("common.ok")),1)[0];if(null==this.$content){var m=Mp("<div></div>");m.on("click","#"+a,(function(n){n.preventDefault();var a=m.find("#"+r).val(),u=m.find("#"+o).val(),s=m.find("#"+i).val();t.updateImage(e,a,u,s),e.hidePanelOrModal()})),this.$content=m}var b=this.$content;b.empty(),b.append(l),b.append(d),b.append(v),b.append(y);var E=u,w=E.src,S=E.alt,C=void 0===S?"":S,D=E.href,A=void 0===D?"":D;return c.val(w),p.val(C),g.val(A),setTimeout((function(){c.focus()})),b[0]},e.prototype.updateImage=function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),t&&(e.restoreSelection(),this.isDisabled(e)||function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),sM(this,void 0,void 0,(function(){var i,a,u,s,l,c;return lM(this,(function(f){switch(f.label){case 0:return[4,GH("editImage",e,t,n,r)];case 1:return f.sent()?[4,WH("editImage",e,t)]:[2];case 2:return i=f.sent(),null==(a=_N.getSelectedNodeByType(e,"image"))||(u=a.style,s={src:i,alt:n,href:r,style:uM(uM({},void 0===u?{}:u),o)},md.setNodes(e,s,{match:function(e){return _N.checkNodeType(e,"image")}}),l=_N.getSelectedNodeByType(e,"image"),(c=e.getMenuConfig("editImage").onUpdatedImage)&&c(l)),[2]}}))}))}(e,t,n,r,o))},e}(),eU=function(){function e(){this.title=GF("image.viewLink"),this.iconSvg=jM,this.tag="button"}return e.prototype.getValue=function(e){var t=_N.getSelectedNodeByType(e,"image");return t&&t.href||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!this.getValue(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw new Error("View image link failed, image.href is '"+t+"'");window.open(t,"_blank")}},e}(),tU=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getSelectedNode=function(e){return _N.getSelectedNodeByType(e,"image")},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedNode(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.getSelectedNode(e);if(null!=n){var r=_N.getHoverbar(e);r&&r.hideAndClean();var o=n.style,i={style:uM(uM({},void 0===o?{}:o),{width:this.value,height:""})};md.setNodes(e,i,{match:function(e){return _N.checkNodeType(e,"image")}})}}},e}(),nU=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="30%",t.value="30%",t}return aM(t,e),t}(tU),rU=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="50%",t.value="50%",t}return aM(t,e),t}(tU),oU=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="100%",t.value="100%",t}return aM(t,e),t}(tU);function iU(){return pH("w-e-insert-image")}var aU=function(){function e(){this.title=GF("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=iU(),this.heightInputId=iU(),this.buttonId=iU()}return e.prototype.getSelectedImageNode=function(e){return _N.getSelectedNodeByType(e,"image")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedImageNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedImageNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=t.widthInputId,r=t.heightInputId,o=t.buttonId,i=fM(AI(GF("image.width"),n,"auto"),2),a=i[0],u=Mp(i[1]),s=fM(AI(GF("image.height"),r,"auto"),2),l=s[0],c=Mp(s[1]),f=fM(OI(o,GF("image.ok")),1)[0];if(null==this.$content){var d=Mp("<div></div>");d.on("click","#"+o,(function(t){t.preventDefault();var o=d.find("#"+n).val().trim(),i=d.find("#"+r).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},u=function(e){return/^\d+(\.\d+)?$/.test(e)},s="auto",l="auto";a(o)?s=o:u(o)&&(s=parseInt(o)+"px"),a(i)?l=i:u(i)&&(l=parseInt(i)+"px");var c=h.style,f=void 0===c?{}:c;e.restoreSelection();var p=uM(uM({},f),{style:{width:s,height:l}});md.setNodes(e,p,{match:function(e){return _N.checkNodeType(e,"image")}}),e.hidePanelOrModal()})),this.$content=d}var p=this.$content;p.empty(),p.append(a),p.append(l),p.append(f);var h=this.getSelectedImageNode(e);if(null==h)return p[0];var v=h.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"auto":y,b=g.height,E=void 0===b?"auto":b;return u.val(m),c.val(E),setTimeout((function(){u.focus()})),p[0]},e}(),uU={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},sU={renderElems:[$H],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e,r=n.src,o=n.alt,i=void 0===o?"":o,a=n.href,u=void 0===a?"":a,s=n.width,l=void 0===s?"":s,c=n.height,f=void 0===c?"":c,d=n.style,p=void 0===d?{}:d,h=p.width,v=void 0===h?"":h,g=p.height,y=void 0===g?"":g,m="";return v&&(m+="width: "+v+";"),y&&(m+="height: "+y+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+u+'" width="'+l+'" height="'+f+'" style="'+m+'"/>'}}],parseElemsHtml:[VH],menus:[{key:"insertImage",factory:function(){return new XH},config:uU},{key:"deleteImage",factory:function(){return new ZH}},{key:"editImage",factory:function(){return new QH},config:uU},{key:"viewImageLink",factory:function(){return new eU}},{key:"imageWidth30",factory:function(){return new nU}},{key:"imageWidth50",factory:function(){return new rU}},{key:"imageWidth100",factory:function(){return new oU}},{key:"editorImageSizeMenu",factory:function(){return new aU}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(e){return"image"===e.type||t(e)},r.isVoid=function(e){return"image"===e.type||n(e)},r}},lU={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var o=Fv("div",{style:{margin:"5px 0"}},Fv("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Fv("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(t){var r=_N.findPath(n,e),o={checked:t.target.checked};md.setNodes(n,o,{at:r})}}})),Fv("span",null,t));return o}},cU=function(){function e(){this.title=GF("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!_N.getSelectedNodeByType(e,"todo")},e.prototype.isDisabled=function(e){return null==e.selection||!!_N.getSelectedElems(e).some((function(t){if(Nf.isVoid(e,t)&&Nf.isBlock(e,t))return!0;var n=t.type;return!!["pre","table","list-item"].includes(n)||void 0}))},e.prototype.exec=function(e,t){var n=this.isActive(e);md.setNodes(e,{type:n?"paragraph":"todo"})},e}(),fU={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return null!=r.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:t}}},dU={renderElems:[lU],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=Mp(e).find("li"),n=Mp('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[fU],menus:[{key:"todo",factory:function(){return new cU}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(n){var r=e.selection;if(r&&qf.isCollapsed(r)){var o=_N.getSelectedNodeByType(e,"todo");if(o&&0===Rf.string(o).length)return void md.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(n)},n}},pU={type:"blockquote",renderElem:function(e,t,n){return Fv("blockquote",null,t)}},hU={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},vU=function(){function e(){this.title=GF("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!_N.getSelectedNodeByType(e,"blockquote")},e.prototype.isDisabled=function(e){return null==e.selection||!fM(Nf.nodes(e,{match:function(e){var t=_N.getNodeType(e);return"paragraph"===t||"blockquote"===t},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.isActive(e)?"paragraph":"blockquote";md.setNodes(e,{type:n},{mode:"highest"})}},e}();function gU(e){e.deleteBackward("character"),md.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}var yU={renderElems:[pU],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[hU],menus:[{key:"blockquote",factory:function(){return new vU}}],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var o=r.selection;if(null==o)return t();var i=fM(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"blockquote")},universal:!0}),1)[0];if(!i)return t();var a=i[0];if(_N.getParentNode(e,a)){var u=_N.findPath(e,a),s=Nf.end(e,u);if($f.equals(s,o.focus)){var l=Rf.string(a);if(l&&"\n"===l.slice(-1))return void gU(r)}n("\n")}else gU(r)},r}},mU=function(){function e(){this.title=GF("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!fM(Nf.nodes(e,{match:function(t){return"pre"===_N.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){if(null==this.$content){var t=Mp('<ul class="w-e-panel-content-emotion"></ul>');t.on("click","li",(function(t){var n=t.target;if(null!=n){t.preventDefault();var r=Mp(n).text();e.insertText(r)}})),this.$content=t}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=e.getMenuConfig("emotion").emotions;return(void 0===r?[]:r).forEach((function(e){var t=Mp("<li>"+e+"</li>");n.append(t)})),n[0]},e}(),bU={menus:[{key:"emotion",factory:function(){return new mU},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},EU={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},wU={selector:"font",preParseHtml:function(e){var t=Mp(e);if("font"!==nM(t))return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",EU[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},SU=IP("".indexOf);z_({target:"String",proto:!0,forced:!Sz("includes")},{includes:function(e){return!!~SU(vL(zP(this)),vL(Ez(e)),arguments.length>1?arguments[1]:void 0)}});var CU,DU,AU=function(e){return e&&e.Math==Math&&e},xU=AU("object"==typeof globalThis&&globalThis)||AU("object"==typeof window&&window)||AU("object"==typeof self&&self)||AU("object"==typeof pP&&pP)||function(){return this}()||Function("return this")(),OU=Function.prototype,TU=OU.apply,NU=OU.bind,kU=OU.call,BU="object"==typeof Reflect&&Reflect.apply||(NU?kU.bind(TU):function(){return kU.apply(TU,arguments)}),IU=Function.prototype,FU=IU.bind,PU=IU.call,RU=FU&&FU.bind(PU),_U=FU?function(e){return e&&RU(PU,e)}:function(e){return e&&function(){return PU.apply(e,arguments)}},LU=function(e){return"function"==typeof e},jU=function(e){try{return!!e()}catch(e){return!0}},MU=!jU((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),zU=Function.prototype.call,HU=zU.bind?zU.bind(zU):function(){return zU.apply(zU,arguments)},UU={}.propertyIsEnumerable,$U=Object.getOwnPropertyDescriptor,VU=$U&&!UU.call({1:2},1)?function(e){var t=$U(this,e);return!!t&&t.enumerable}:UU,GU={f:VU},WU=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},qU=_U({}.toString),KU=_U("".slice),YU=function(e){return KU(qU(e),8,-1)},XU=xU.Object,ZU=_U("".split),JU=jU((function(){return!XU("z").propertyIsEnumerable(0)}))?function(e){return"String"==YU(e)?ZU(e,""):XU(e)}:XU,QU=xU.TypeError,e$=function(e){if(null==e)throw QU("Can't call method on "+e);return e},t$=function(e){return JU(e$(e))},n$=function(e){return"object"==typeof e?null!==e:LU(e)},r$={},o$=function(e){return LU(e)?e:void 0},i$=function(e,t){return arguments.length<2?o$(r$[e])||o$(xU[e]):r$[e]&&r$[e][t]||xU[e]&&xU[e][t]},a$=_U({}.isPrototypeOf),u$=i$("navigator","userAgent")||"",s$=xU.process,l$=xU.Deno,c$=s$&&s$.versions||l$&&l$.version,f$=c$&&c$.v8;f$&&(DU=(CU=f$.split("."))[0]>0&&CU[0]<4?1:+(CU[0]+CU[1])),!DU&&u$&&(!(CU=u$.match(/Edge\/(\d+)/))||CU[1]>=74)&&(CU=u$.match(/Chrome\/(\d+)/))&&(DU=+CU[1]);var d$=DU,p$=!!Object.getOwnPropertySymbols&&!jU((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&d$&&d$<41})),h$=p$&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,v$=xU.Object,g$=h$?function(e){return"symbol"==typeof e}:function(e){var t=i$("Symbol");return LU(t)&&a$(t.prototype,v$(e))},y$=xU.String,m$=xU.TypeError,b$=function(e){if(LU(e))return e;throw m$(function(e){try{return y$(e)}catch(e){return"Object"}}(e)+" is not a function")},E$=xU.TypeError,w$=Object.defineProperty,S$=xU["__core-js_shared__"]||function(e,t){try{w$(xU,e,{value:t,configurable:!0,writable:!0})}catch(n){xU[e]=t}return t}("__core-js_shared__",{}),C$=hP((function(e){(e.exports=function(e,t){return S$[e]||(S$[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),D$=xU.Object,A$=function(e){return D$(e$(e))},x$=_U({}.hasOwnProperty),O$=Object.hasOwn||function(e,t){return x$(A$(e),t)},T$=0,N$=Math.random(),k$=_U(1..toString),B$=function(e){return"Symbol("+(void 0===e?"":e)+")_"+k$(++T$+N$,36)},I$=C$("wks"),F$=xU.Symbol,P$=F$&&F$.for,R$=h$?F$:F$&&F$.withoutSetter||B$,_$=function(e){if(!O$(I$,e)||!p$&&"string"!=typeof I$[e]){var t="Symbol."+e;p$&&O$(F$,e)?I$[e]=F$[e]:I$[e]=h$&&P$?P$(t):R$(t)}return I$[e]},L$=xU.TypeError,j$=_$("toPrimitive"),M$=function(e){var t=function(e,t){if(!n$(e)||g$(e))return e;var n,r,o=null==(n=e[j$])?void 0:b$(n);if(o){if(void 0===t&&(t="default"),r=HU(o,e,t),!n$(r)||g$(r))return r;throw L$("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&LU(n=e.toString)&&!n$(r=HU(n,e)))return r;if(LU(n=e.valueOf)&&!n$(r=HU(n,e)))return r;if("string"!==t&&LU(n=e.toString)&&!n$(r=HU(n,e)))return r;throw E$("Can't convert object to primitive value")}(e,t)}(e,"string");return g$(t)?t:t+""},z$=xU.document,H$=n$(z$)&&n$(z$.createElement),U$=function(e){return H$?z$.createElement(e):{}},$$=!MU&&!jU((function(){return 7!=Object.defineProperty(U$("div"),"a",{get:function(){return 7}}).a})),V$=Object.getOwnPropertyDescriptor,G$={f:MU?V$:function(e,t){if(e=t$(e),t=M$(t),$$)try{return V$(e,t)}catch(e){}if(O$(e,t))return WU(!HU(GU.f,e,t),e[t])}},W$=/#|\.prototype\./,q$=function(e,t){var n=Y$[K$(e)];return n==Z$||n!=X$&&(LU(t)?jU(t):!!t)},K$=q$.normalize=function(e){return String(e).replace(W$,".").toLowerCase()},Y$=q$.data={},X$=q$.NATIVE="N",Z$=q$.POLYFILL="P",J$=q$,Q$=_U(_U.bind),eV=function(e,t){return b$(e),void 0===t?e:Q$?Q$(e,t):function(){return e.apply(t,arguments)}},tV=xU.String,nV=xU.TypeError,rV=function(e){if(n$(e))return e;throw nV(tV(e)+" is not an object")},oV=xU.TypeError,iV=Object.defineProperty,aV={f:MU?iV:function(e,t,n){if(rV(e),t=M$(t),rV(n),$$)try{return iV(e,t,n)}catch(e){}if("get"in n||"set"in n)throw oV("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},uV=MU?function(e,t,n){return aV.f(e,t,WU(1,n))}:function(e,t,n){return e[t]=n,e},sV=G$.f,lV=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return BU(e,this,arguments)};return t.prototype=e.prototype,t},cV=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,d=e.stat,p=e.proto,h=f?xU:d?xU[c]:(xU[c]||{}).prototype,v=f?r$:r$[c]||uV(r$,c,{})[c],g=v.prototype;for(o in t)n=!J$(f?o:c+(d?".":"#")+o,e.forced)&&h&&O$(h,o),a=v[o],n&&(u=e.noTargetGet?(l=sV(h,o))&&l.value:h[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?eV(i,xU):e.wrap&&n?lV(i):p&&LU(i)?_U(i):i,(e.sham||i&&i.sham||a&&a.sham)&&uV(s,"sham",!0),uV(v,o,s),p&&(O$(r$,r=c+"Prototype")||uV(r$,r,{}),uV(r$[r],o,i),e.real&&g&&!g[o]&&uV(g,o,i)))},fV=Array.isArray||function(e){return"Array"==YU(e)},dV=Math.ceil,pV=Math.floor,hV=function(e){var t=+e;return t!=t||0===t?0:(t>0?pV:dV)(t)},vV=Math.min,gV=function(e){return(t=e.length)>0?vV(hV(t),9007199254740991):0;var t},yV=function(e,t,n){var r=M$(t);r in e?aV.f(e,r,WU(0,n)):e[r]=n},mV={};mV[_$("toStringTag")]="z";var bV="[object z]"===String(mV),EV=_$("toStringTag"),wV=xU.Object,SV="Arguments"==YU(function(){return arguments}()),CV=bV?YU:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=wV(e),EV))?n:SV?YU(t):"Object"==(r=YU(t))&&LU(t.callee)?"Arguments":r},DV=_U(Function.toString);LU(S$.inspectSource)||(S$.inspectSource=function(e){return DV(e)});var AV=S$.inspectSource,xV=function(){},OV=[],TV=i$("Reflect","construct"),NV=/^\s*(?:class|function)\b/,kV=_U(NV.exec),BV=!NV.exec(xV),IV=function(e){if(!LU(e))return!1;try{return TV(xV,OV,e),!0}catch(e){return!1}},FV=!TV||jU((function(){var e;return IV(IV.call)||!IV(Object)||!IV((function(){e=!0}))||e}))?function(e){if(!LU(e))return!1;switch(CV(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return BV||!!kV(NV,AV(e))}:IV,PV=_$("species"),RV=xU.Array,_V=function(e,t){return new(function(e){var t;return fV(e)&&(t=e.constructor,(FV(t)&&(t===RV||fV(t.prototype))||n$(t)&&null===(t=t[PV]))&&(t=void 0)),void 0===t?RV:t}(e))(0===t?0:t)},LV=_$("species"),jV=_$("isConcatSpreadable"),MV=xU.TypeError,zV=d$>=51||!jU((function(){var e=[];return e[jV]=!1,e.concat()[0]!==e})),HV=d$>=51||!jU((function(){var e=[];return(e.constructor={})[LV]=function(){return{foo:1}},1!==e.concat(Boolean).foo})),UV=function(e){if(!n$(e))return!1;var t=e[jV];return void 0!==t?!!t:fV(e)};cV({target:"Array",proto:!0,forced:!zV||!HV},{concat:function(e){var t,n,r,o,i,a=A$(this),u=_V(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(UV(i=-1===t?a:arguments[t])){if(s+(o=gV(i))>9007199254740991)throw MV("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&yV(u,s,i[n])}else{if(s>=9007199254740991)throw MV("Maximum allowed index exceeded");yV(u,s++,i)}return u.length=s,u}});var $V,VV=xU.String,GV=function(e){if("Symbol"===CV(e))throw TypeError("Cannot convert a Symbol value to a string");return VV(e)},WV=Math.max,qV=Math.min,KV=function(e,t){var n=hV(e);return n<0?WV(n+t,0):qV(n,t)},YV=function(e){return function(t,n,r){var o,i=t$(t),a=gV(i),u=KV(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},XV={includes:YV(!0),indexOf:YV(!1)},ZV={},JV=XV.indexOf,QV=_U([].push),eG=function(e,t){var n,r=t$(e),o=0,i=[];for(n in r)!O$(ZV,n)&&O$(r,n)&&QV(i,n);for(;t.length>o;)O$(r,n=t[o++])&&(~JV(i,n)||QV(i,n));return i},tG=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],nG=Object.keys||function(e){return eG(e,tG)},rG=MU?Object.defineProperties:function(e,t){rV(e);for(var n,r=t$(t),o=nG(t),i=o.length,a=0;i>a;)aV.f(e,n=o[a++],r[n]);return e},oG=i$("document","documentElement"),iG=C$("keys"),aG=function(e){return iG[e]||(iG[e]=B$(e))},uG=aG("IE_PROTO"),sG=function(){},lG=function(e){return"<script>"+e+"<\/script>"},cG=function(e){e.write(lG("")),e.close();var t=e.parentWindow.Object;return e=null,t},fG=function(){try{$V=new ActiveXObject("htmlfile")}catch(e){}var e,t;fG="undefined"!=typeof document?document.domain&&$V?cG($V):((t=U$("iframe")).style.display="none",oG.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(lG("document.F=Object")),e.close(),e.F):cG($V);for(var n=tG.length;n--;)delete fG.prototype[tG[n]];return fG()};ZV[uG]=!0;var dG,pG,hG,vG=Object.create||function(e,t){var n;return null!==e?(sG.prototype=rV(e),n=new sG,sG.prototype=null,n[uG]=e):n=fG(),void 0===t?n:rG(n,t)},gG=tG.concat("length","prototype"),yG={f:Object.getOwnPropertyNames||function(e){return eG(e,gG)}},mG=xU.Array,bG=Math.max,EG=yG.f,wG="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],SG={f:function(e){return wG&&"Window"==YU(e)?function(e){try{return EG(e)}catch(e){return function(e,t,n){for(var r=gV(e),o=KV(void 0,r),i=KV(r,r),a=mG(bG(i-o,0)),u=0;o<i;o++,u++)yV(a,u,e[o]);return a.length=u,a}(wG)}}(e):EG(t$(e))}},CG={f:Object.getOwnPropertySymbols},DG=_U([].slice),AG=function(e,t,n,r){r&&r.enumerable?e[t]=n:uV(e,t,n)},xG={f:_$},OG=aV.f,TG=function(e){var t=r$.Symbol||(r$.Symbol={});O$(t,e)||OG(t,e,{value:xG.f(e)})},NG=bV?{}.toString:function(){return"[object "+CV(this)+"]"},kG=aV.f,BG=_$("toStringTag"),IG=function(e,t,n,r){if(e){var o=n?e:e.prototype;O$(o,BG)||kG(o,BG,{configurable:!0,value:t}),r&&!bV&&uV(o,"toString",NG)}},FG=xU.WeakMap,PG=LU(FG)&&/native code/.test(AV(FG)),RG=xU.TypeError,_G=xU.WeakMap;if(PG||S$.state){var LG=S$.state||(S$.state=new _G),jG=_U(LG.get),MG=_U(LG.has),zG=_U(LG.set);dG=function(e,t){if(MG(LG,e))throw new RG("Object already initialized");return t.facade=e,zG(LG,e,t),t},pG=function(e){return jG(LG,e)||{}},hG=function(e){return MG(LG,e)}}else{var HG=aG("state");ZV[HG]=!0,dG=function(e,t){if(O$(e,HG))throw new RG("Object already initialized");return t.facade=e,uV(e,HG,t),t},pG=function(e){return O$(e,HG)?e[HG]:{}},hG=function(e){return O$(e,HG)}}var UG={set:dG,get:pG,has:hG,enforce:function(e){return hG(e)?pG(e):dG(e,{})},getterFor:function(e){return function(t){var n;if(!n$(t)||(n=pG(t)).type!==e)throw RG("Incompatible receiver, "+e+" required");return n}}},$G=_U([].push),VG=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=A$(s),v=JU(h),g=eV(l,c),y=gV(v),m=0,b=f||_V,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:$G(E,d)}else switch(e){case 4:return!1;case 7:$G(E,d)}return i?-1:r||o?o:E}},GG=[VG(0),VG(1),VG(2),VG(3),VG(4),VG(5),VG(6),VG(7)][0],WG=aG("hidden"),qG=_$("toPrimitive"),KG=UG.set,YG=UG.getterFor("Symbol"),XG=Object.prototype,ZG=xU.Symbol,JG=ZG&&ZG.prototype,QG=xU.TypeError,eW=xU.QObject,tW=i$("JSON","stringify"),nW=G$.f,rW=aV.f,oW=SG.f,iW=GU.f,aW=_U([].push),uW=C$("symbols"),sW=C$("op-symbols"),lW=C$("string-to-symbol-registry"),cW=C$("symbol-to-string-registry"),fW=C$("wks"),dW=!eW||!eW.prototype||!eW.prototype.findChild,pW=MU&&jU((function(){return 7!=vG(rW({},"a",{get:function(){return rW(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=nW(XG,t);r&&delete XG[t],rW(e,t,n),r&&e!==XG&&rW(XG,t,r)}:rW,hW=function(e,t){var n=uW[e]=vG(JG);return KG(n,{type:"Symbol",tag:e,description:t}),MU||(n.description=t),n},vW=function(e,t,n){e===XG&&vW(sW,t,n),rV(e);var r=M$(t);return rV(n),O$(uW,r)?(n.enumerable?(O$(e,WG)&&e[WG][r]&&(e[WG][r]=!1),n=vG(n,{enumerable:WU(0,!1)})):(O$(e,WG)||rW(e,WG,WU(1,{})),e[WG][r]=!0),pW(e,r,n)):rW(e,r,n)},gW=function(e,t){rV(e);var n=t$(t),r=nG(n).concat(EW(n));return GG(r,(function(t){MU&&!HU(yW,n,t)||vW(e,t,n[t])})),e},yW=function(e){var t=M$(e),n=HU(iW,this,t);return!(this===XG&&O$(uW,t)&&!O$(sW,t))&&(!(n||!O$(this,t)||!O$(uW,t)||O$(this,WG)&&this[WG][t])||n)},mW=function(e,t){var n=t$(e),r=M$(t);if(n!==XG||!O$(uW,r)||O$(sW,r)){var o=nW(n,r);return!o||!O$(uW,r)||O$(n,WG)&&n[WG][r]||(o.enumerable=!0),o}},bW=function(e){var t=oW(t$(e)),n=[];return GG(t,(function(e){O$(uW,e)||O$(ZV,e)||aW(n,e)})),n},EW=function(e){var t=e===XG,n=oW(t?sW:t$(e)),r=[];return GG(n,(function(e){!O$(uW,e)||t&&!O$(XG,e)||aW(r,uW[e])})),r};if(p$||(JG=(ZG=function(){if(a$(JG,this))throw QG("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?GV(arguments[0]):void 0,t=B$(e),n=function(e){this===XG&&HU(n,sW,e),O$(this,WG)&&O$(this[WG],t)&&(this[WG][t]=!1),pW(this,t,WU(1,e))};return MU&&dW&&pW(XG,t,{configurable:!0,set:n}),hW(t,e)}).prototype,AG(JG,"toString",(function(){return YG(this).tag})),AG(ZG,"withoutSetter",(function(e){return hW(B$(e),e)})),GU.f=yW,aV.f=vW,G$.f=mW,yG.f=SG.f=bW,CG.f=EW,xG.f=function(e){return hW(_$(e),e)},MU&&rW(JG,"description",{configurable:!0,get:function(){return YG(this).description}})),cV({global:!0,wrap:!0,forced:!p$,sham:!p$},{Symbol:ZG}),GG(nG(fW),(function(e){TG(e)})),cV({target:"Symbol",stat:!0,forced:!p$},{for:function(e){var t=GV(e);if(O$(lW,t))return lW[t];var n=ZG(t);return lW[t]=n,cW[n]=t,n},keyFor:function(e){if(!g$(e))throw QG(e+" is not a symbol");if(O$(cW,e))return cW[e]},useSetter:function(){dW=!0},useSimple:function(){dW=!1}}),cV({target:"Object",stat:!0,forced:!p$,sham:!MU},{create:function(e,t){return void 0===t?vG(e):gW(vG(e),t)},defineProperty:vW,defineProperties:gW,getOwnPropertyDescriptor:mW}),cV({target:"Object",stat:!0,forced:!p$},{getOwnPropertyNames:bW,getOwnPropertySymbols:EW}),cV({target:"Object",stat:!0,forced:jU((function(){CG.f(1)}))},{getOwnPropertySymbols:function(e){return CG.f(A$(e))}}),tW){var wW=!p$||jU((function(){var e=ZG();return"[null]"!=tW([e])||"{}"!=tW({a:e})||"{}"!=tW(Object(e))}));cV({target:"JSON",stat:!0,forced:wW},{stringify:function(e,t,n){var r=DG(arguments),o=t;if((n$(t)||void 0!==e)&&!g$(e))return fV(t)||(t=function(e,t){if(LU(o)&&(t=HU(o,this,e,t)),!g$(t))return t}),r[1]=t,BU(tW,null,r)}})}if(!JG[qG]){var SW=JG.valueOf;AG(JG,qG,(function(e){return HU(SW,this)}))}IG(ZG,"Symbol"),ZV[WG]=!0,TG("asyncIterator"),TG("hasInstance"),TG("isConcatSpreadable"),TG("iterator"),TG("match"),TG("matchAll"),TG("replace"),TG("search"),TG("species"),TG("split"),TG("toPrimitive"),TG("toStringTag"),TG("unscopables"),IG(xU.JSON,"JSON",!0);var CW,DW,AW,xW=r$.Symbol,OW={},TW=Function.prototype,NW=MU&&Object.getOwnPropertyDescriptor,kW=O$(TW,"name"),BW={EXISTS:kW,PROPER:kW&&"something"===function(){}.name,CONFIGURABLE:kW&&(!MU||MU&&NW(TW,"name").configurable)},IW=!jU((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),FW=aG("IE_PROTO"),PW=xU.Object,RW=PW.prototype,_W=IW?PW.getPrototypeOf:function(e){var t=A$(e);if(O$(t,FW))return t[FW];var n=t.constructor;return LU(n)&&t instanceof n?n.prototype:t instanceof PW?RW:null},LW=_$("iterator"),jW=!1;[].keys&&("next"in(AW=[].keys())?(DW=_W(_W(AW)))!==Object.prototype&&(CW=DW):jW=!0);var MW=null==CW||jU((function(){var e={};return CW[LW].call(e)!==e}));CW=MW?{}:vG(CW),LU(CW[LW])||AG(CW,LW,(function(){return this}));var zW={IteratorPrototype:CW,BUGGY_SAFARI_ITERATORS:jW},HW=zW.IteratorPrototype,UW=function(){return this};xU.String,xU.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e={};try{_U(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(e,[]),e instanceof Array}catch(e){}}();var $W=BW.PROPER,VW=zW.BUGGY_SAFARI_ITERATORS,GW=_$("iterator"),WW=function(){return this},qW=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=vG(HW,{next:WU(1,n)}),IG(e,o,!1,!0),OW[o]=UW}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!VW&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[GW]||p["@@iterator"]||o&&p[o],v=!VW&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=_W(g.call(new e)))!==Object.prototype&&u.next&&(IG(u,f,!0,!0),OW[f]=WW),$W&&"values"==o&&h&&"values"!==h.name&&(d=!0,v=function(){return HU(h,this)}),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(VW||d||!(l in p))&&AG(p,l,s[l]);else cV({target:t,proto:!0,forced:VW||d},s);return a&&p[GW]!==v&&AG(p,GW,v,{name:o}),OW[t]=v,s},KW=UG.set,YW=UG.getterFor("Array Iterator");qW(Array,"Array",(function(e,t){KW(this,{type:"Array Iterator",target:t$(e),index:0,kind:t})}),(function(){var e=YW(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),OW.Arguments=OW.Array;var XW=_$("toStringTag");for(var ZW in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var JW=xU[ZW],QW=JW&&JW.prototype;QW&&CV(QW)!==XW&&uV(QW,XW,ZW),OW[ZW]=OW.Array}var eq=xW;TG("asyncDispose"),TG("dispose"),TG("matcher"),TG("metadata"),TG("observable"),TG("patternMatch"),TG("replaceAll");var tq=eq,nq=_U("".charAt),rq=_U("".charCodeAt),oq=_U("".slice),iq=function(e){return function(t,n){var r,o,i=GV(e$(t)),a=hV(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=rq(i,a))<55296||r>56319||a+1===u||(o=rq(i,a+1))<56320||o>57343?e?nq(i,a):r:e?oq(i,a,a+2):o-56320+(r-55296<<10)+65536}},aq=(iq(!1),iq(!0)),uq=UG.set,sq=UG.getterFor("String Iterator");qW(String,"String",(function(e){uq(this,{type:"String Iterator",string:GV(e),index:0})}),(function(){var e,t=sq(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=aq(n,r),t.index+=e.length,{value:e,done:!1})}));var lq=xG.f("iterator"),cq=hP((function(e){function t(n){return"function"==typeof tq&&"symbol"==typeof lq?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof tq&&e.constructor===tq&&e!==tq.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),fq=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(cq),dq=l_.EXISTS,pq=zR.f,hq=Function.prototype,vq=IP(hq.toString),gq=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,yq=IP(gq.exec);EP&&!dq&&pq(hq,"name",{configurable:!0,get:function(){try{return yq(gq,vq(this))[1]}catch(e){return""}}});var mq=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.mark,n=Nf.marks(e);return n&&n[t]?n[t]:""},e.prototype.isDisabled=function(e){return null==e.selection||(this.mark,!!fM(Nf.nodes(e,{match:function(t){return"pre"===_N.getNodeType(t)||!!Nf.isVoid(e,t)},universal:!0}),1)[0])},e.prototype.exec=function(e,t){var n=this.mark;t?e.addMark(n,t):e.removeMark(n)},e}(),bq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("fontSize.title"),t.iconSvg=HM,t.mark="fontSize",t}return aM(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontSizeList,r=void 0===n?[]:n;t.push({text:GF("fontSize.default"),value:""}),r.forEach((function(e){if("string"==typeof e)t.push({text:e,value:e});else if("object"===fq(e)){var n=e.name,r=e.value;t.push({text:n,value:r})}}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},t}(mq),Eq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("fontFamily.title"),t.iconSvg=UM,t.mark="fontFamily",t.selectPanelWidth=150,t}return aM(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontFamilyList,r=void 0===n?[]:n;t.push({text:GF("fontFamily.default"),value:""}),r.forEach((function(e){if("string"==typeof e)t.push({text:e,value:e,styleForRenderMenuList:{"font-family":e}});else if("object"===fq(e)){var n=e.name,r=e.value;t.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}})}}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},t}(mq),wq={renderStyle:function(e,t){var n=e,r=n.fontSize,o=n.fontFamily,i=t;return r&&Zz(i,{fontSize:r}),o&&Zz(i,{fontFamily:o}),i},styleToHtml:function(e,t){if(!ed.isText(e))return t;var n,r=e,o=r.fontSize,i=r.fontFamily;return o||i?((eM(t)||"span"!==nM(n=Mp(t)))&&(n=Mp("<span>"+t+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),tM(n)):t},preParseHtml:[wU],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!ed.isText(t))return t;var o=t,i=n.getMenuConfig("fontSize").fontSizeList,a=void 0===i?[]:i,u=rM(r,"font-size"),s=a.find((function(e){return e.value&&e.value===u}))||a.includes(u);u&&s&&(o.fontSize=u);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=void 0===l?[]:l,f=rM(r,"font-family").replace(/"/g,""),d=c.find((function(e){return e.value&&e.value===f}))||c.includes(f);return f&&d&&(o.fontFamily=f),o},menus:[{key:"fontSize",factory:function(){return new bq},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new Eq},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},Sq={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=Mp(e),n=rM(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}},Cq=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){var t=fM(Nf.nodes(e,{match:function(e){return!!e.indent},universal:!0}),1),n=t[0];return null==n?"":fM(n,1)[0].indent||""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=fM(Nf.nodes(e,{match:function(e){var t=_N.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e}(),Dq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("indent.decrease"),t.iconSvg=$M,t}return aM(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!t.indent},t.prototype.exec=function(e,t){md.setNodes(e,{indent:null},{match:function(e){return Cf.isElement(e)}})},t}(Cq),Aq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("indent.increase"),t.iconSvg=VM,t.DEFAULT_INDENT_VALUE="2em",t}return aM(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!!t.indent},t.prototype.getIndentValue=function(e){var t=this.getMatchNode(e);if(!t)return this.DEFAULT_INDENT_VALUE;var n=t.children.filter(ed.isText)[0];if(!n||!n.fontSize)return this.DEFAULT_INDENT_VALUE;var r=n.fontSize,o=parseInt(n.fontSize);return""+2*o+r.replace(""+o,"")},t.prototype.exec=function(e,t){var n=this.getIndentValue(e);md.setNodes(e,{indent:n},{match:function(e){return Cf.isElement(e)},mode:"highest"})},t}(Cq),xq={renderStyle:function(e,t){if(!Cf.isElement(e))return t;var n=e.indent,r=t;return n&&Zz(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!Cf.isElement(e))return t;var n=e.indent;if(!n)return t;var r=Mp(t);return r.css("text-indent",n),tM(r)},preParseHtml:[Sq],parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;var o=t,i=rM(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Aq}},{key:"delIndent",factory:function(){return new Dq}}]},Oq=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=fM(Nf.nodes(e,{match:function(e){var t=_N.getNodeType(e);return"paragraph"===t||"blockquote"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isDisabled=function(e){return null==e.selection||!!_N.getSelectedElems(e).some((function(t){var n=t.type;return!(!Nf.isVoid(e,t)||!Nf.isBlock(e,t)||"video"===n)||!!["pre","code"].includes(n)||void 0}))},e}(),Tq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("justify.left"),t.iconSvg=GM,t}return aM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"left"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Oq),Nq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("justify.right"),t.iconSvg=WM,t}return aM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"right"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Oq),kq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("justify.center"),t.iconSvg=qM,t}return aM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"center"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Oq),Bq=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=GF("justify.justify"),t.iconSvg=KM,t}return aM(t,e),t.prototype.exec=function(e,t){md.setNodes(e,{textAlign:"justify"},{match:function(t){return Cf.isElement(t)&&!e.isInline(t)}})},t}(Oq),Iq={renderStyle:function(e,t){if(!Cf.isElement(e))return t;var n=e.textAlign,r=t;return n&&Zz(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!Cf.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=Mp(t);return r.css("text-align",n),tM(r)},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;var o=t,i=rM(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new Tq}},{key:"justifyRight",factory:function(){return new Nq}},{key:"justifyCenter",factory:function(){return new kq}},{key:"justifyJustify",factory:function(){return new Bq}}]},Fq=function(){function e(){this.title=GF("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("lineHeight").lineHeightList,r=void 0===n?[]:n;t.push({text:GF("lineHeight.default"),value:""}),r.forEach((function(e){t.push({text:e,value:e})}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},e.prototype.getMatchNode=function(e){var t=fM(Nf.nodes(e,{match:function(e){var t=_N.getNodeType(e);return!!t.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(t)},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getMatchNode(e);return null==t?"":Cf.isElement(t)&&t.lineHeight||""},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getMatchNode(e)},e.prototype.exec=function(e,t){md.setNodes(e,{lineHeight:t.toString()},{mode:"highest"})},e}(),Pq={renderStyle:function(e,t){if(!Cf.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Zz(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!Cf.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=Mp(t);return r.css("line-height",n),tM(r)},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;var o=t,i=n.getMenuConfig("lineHeight").lineHeightList,a=void 0===i?[]:i,u=rM(r,"line-height");return u&&a.includes(u)&&(o.lineHeight=u),o},menus:[{key:"lineHeight",factory:function(){return new Fq},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Rq=function(){function e(){this.title=GF("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.redo&&e.redo()},e}(),_q=function(){function e(){this.title=GF("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.undo&&e.undo()},e}(),Lq={menus:[{key:"redo",factory:function(){return new Rq}},{key:"undo",factory:function(){return new _q}}]},jq={type:"divider",renderElem:function(e,t,n){return pv("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:_N.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(e){return e.preventDefault()}}},[pv("hr")])}},Mq=function(){function e(){this.title=GF("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!_N.getSelectedElems(e).some((function(t){if(e.isVoid(t))return!0;var n=_N.getNodeType(t);return"table"===n||"pre"===n||void 0}))},e.prototype.exec=function(e,t){md.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),zq={renderElems:[jq],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new Mq}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return"divider"===e.type||t(e)},r.normalizeNode=function(e){var t=fM(e,2),o=t[0],i=t[1];if("divider"!==_N.getNodeType(o))return n([o,i]);_N.isLastNode(r,o)&&md.insertNodes(r,_N.genEmptyParagraph(),{at:[i[0]+1]})},r}},Hq=sL.map;z_({target:"Array",proto:!0,forced:!cL("map")},{map:function(e){return Hq(this,e,arguments.length>1?arguments[1]:void 0)}});var Uq=IP([].join),$q=jP!=Object,Vq=DM("join",",");z_({target:"Array",proto:!0,forced:$q||!Vq},{join:function(e){return Uq(HP(this),void 0===e?",":e)}});var Gq=function(){function e(){this.title=GF("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(e){var t=_N.getSelectedNodeByType(e,"code");if(null==t)return null;var n=_N.getParentNode(e,t);return null==n||"pre"!==_N.getNodeType(n)?null:t},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);return null==t?"":t.language||""},e.prototype.isActive=function(e){return!!this.getSelectCodeElem(e)},e.prototype.isDisabled=function(e){if(null==e.selection)return!0;var t=_N.getSelectedElems(e);return!!t.some((function(t){return e.isVoid(t)}))||!t.some((function(e){var t=_N.getNodeType(e);if("pre"===t||"paragraph"===t)return!0}))},e.prototype.exec=function(e,t){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,t.toString())},e.prototype.changeToPlainText=function(e){var t=this.getSelectCodeElem(e);if(null!=t){var n=Rf.string(t);md.removeNodes(e,{mode:"highest"});var r=n.split("\n").map((function(e){return{type:"paragraph",children:[{text:e}]}}));md.insertNodes(e,r,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(e,t){var n,r,o=[],i=Nf.nodes(e,{match:function(t){return e.children.includes(t)},universal:!0});try{for(var a=cM(i),u=a.next();!u.done;u=a.next()){var s=fM(u.value,1)[0];s&&o.push(Rf.string(s))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}md.removeNodes(e,{mode:"highest"});var l={type:"pre",children:[{type:"code",language:t,children:[{text:o.join("\n")}]}]};md.insertNodes(e,l,{mode:"highest"})},e}(),Wq={key:"codeBlock",factory:function(){return new Gq}};z_({target:"String",proto:!0,forced:yM("anchor")},{anchor:function(e){return gM(this,"a","name",e)}}),tj("match",(function(e,t,n){return[function(t){var n=zP(this),r=null==t?void 0:uR(t,e);return r?SP(r,t,n):new RegExp(t)[e](vL(n))},function(e){var r=LR(this),o=vL(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return gj(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=gj(r,o));){var c=vL(u[0]);s[l]=c,""===c&&(r.lastIndex=uj(o,m_(r.lastIndex),a)),l++}return 0===l?null:s}]}));var qq={type:"pre",renderElem:function(e,t,n){return Fv("pre",null,t)}},Kq={type:"code",renderElem:function(e,t,n){return Fv("code",null,t)}},Yq={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);return 0===(t=t.filter((function(e){return"code"===_N.getNodeType(e)}))).length&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter((function(e){return"code"===_N.getNodeType(e)}))}}},Xq={menus:[Wq],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var o=e;return o.insertBreak=function(){var e=_N.getSelectedNodeByType(o,"code");if(null!=e){var n=function(e,t){var n=t.selection;if(null==n)return"";var r=Rf.string(e),o=n.anchor.offset,i=r.slice(0,o).split("\n"),a=i.length;return 0===a?"":i[a-1]}(e,o);if(n){var r=n.match(/^\s+/);if(null!=r&&null!=r[0]){var i=r[0];return void o.insertText("\n"+i)}}o.insertText("\n")}else t()},o.normalizeNode=function(e){var t=fM(e,2),r=t[0],i=t[1],a=_N.getNodeType(r);return"code"===a&&i.length<=1&&md.setNodes(o,{type:"paragraph"},{at:i}),"pre"===a&&(_N.isLastNode(o,r)&&md.insertNodes(o,_N.genEmptyParagraph(),{at:[i[0]+1]}),"code"!==_N.getNodeType(r.children[0])&&(md.unwrapNodes(o),md.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([r,i])},o.insertData=function(e){if(null!=_N.getSelectedNodeByType(o,"code")){var t=e.getData("text/plain");Nf.insertText(o,t)}else r(e)},o},renderElems:[qq,Kq],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=Mp(e);if("code"!==nM(t))return e;var n=t.find("xmp");if(0===n.length)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:Mp(e)[0].textContent||""}]}}},Yq]},Zq=function(){function e(){this.title=GF("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return e.isFullScreen},e.prototype.isDisabled=function(e){return!1},e.prototype.exec=function(e,t){e.isFullScreen?e.unFullScreen():e.fullScreen()},e}(),Jq={menus:[{key:"fullScreen",factory:function(){return new Zq}}]},Qq=function(){function e(){this.title=GF("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!!qf.isExpanded(t)},e.prototype.exec=function(e,t){var n=e.selection;if(null!=n){var r=[n.anchor.path[0]];md.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:r}),e.select(Nf.start(e,r))}},e}(),eK=[iz,rH,wq,xq,Iq,Pq,sU,zq,bU,NH,Xq,yU,Wz,pM,dU,Lq,Jq,{menus:[{key:"enter",factory:function(){return new Qq}}]}];UF("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),UF("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var tK="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function nK(e){var t={exports:{}};return e(t,t.exports),t.exports}var rK,oK,iK=function(e){return e&&e.Math==Math&&e},aK=iK("object"==typeof globalThis&&globalThis)||iK("object"==typeof window&&window)||iK("object"==typeof self&&self)||iK("object"==typeof tK&&tK)||function(){return this}()||Function("return this")(),uK=Function.prototype,sK=uK.bind,lK=uK.call,cK=sK&&sK.bind(lK),fK=sK?function(e){return e&&cK(lK,e)}:function(e){return e&&function(){return lK.apply(e,arguments)}},dK=function(e){try{return!!e()}catch(e){return!0}},pK=fK({}.toString),hK=fK("".slice),vK=function(e){return hK(pK(e),8,-1)},gK=aK.Object,yK=fK("".split),mK=dK((function(){return!gK("z").propertyIsEnumerable(0)}))?function(e){return"String"==vK(e)?yK(e,""):gK(e)}:gK,bK=aK.TypeError,EK=function(e){if(null==e)throw bK("Can't call method on "+e);return e},wK=function(e){return mK(EK(e))},SK=Object.defineProperty,CK=function(e,t){try{SK(aK,e,{value:t,configurable:!0,writable:!0})}catch(n){aK[e]=t}return t},DK=aK["__core-js_shared__"]||CK("__core-js_shared__",{}),AK=nK((function(e){(e.exports=function(e,t){return DK[e]||(DK[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),xK=aK.Object,OK=function(e){return xK(EK(e))},TK=fK({}.hasOwnProperty),NK=Object.hasOwn||function(e,t){return TK(OK(e),t)},kK=0,BK=Math.random(),IK=fK(1..toString),FK=function(e){return"Symbol("+(void 0===e?"":e)+")_"+IK(++kK+BK,36)},PK=function(e){return"function"==typeof e},RK=function(e){return PK(e)?e:void 0},_K=function(e,t){return arguments.length<2?RK(aK[e]):aK[e]&&aK[e][t]},LK=_K("navigator","userAgent")||"",jK=aK.process,MK=aK.Deno,zK=jK&&jK.versions||MK&&MK.version,HK=zK&&zK.v8;HK&&(oK=(rK=HK.split("."))[0]>0&&rK[0]<4?1:+(rK[0]+rK[1])),!oK&&LK&&(!(rK=LK.match(/Edge\/(\d+)/))||rK[1]>=74)&&(rK=LK.match(/Chrome\/(\d+)/))&&(oK=+rK[1]);var UK,$K=oK,VK=!!Object.getOwnPropertySymbols&&!dK((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&$K&&$K<41})),GK=VK&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,WK=AK("wks"),qK=aK.Symbol,KK=qK&&qK.for,YK=GK?qK:qK&&qK.withoutSetter||FK,XK=function(e){if(!NK(WK,e)||!VK&&"string"!=typeof WK[e]){var t="Symbol."+e;VK&&NK(qK,e)?WK[e]=qK[e]:WK[e]=GK&&KK?KK(t):YK(t)}return WK[e]},ZK=function(e){return"object"==typeof e?null!==e:PK(e)},JK=aK.String,QK=aK.TypeError,eY=function(e){if(ZK(e))return e;throw QK(JK(e)+" is not an object")},tY=!dK((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),nY=aK.document,rY=ZK(nY)&&ZK(nY.createElement),oY=function(e){return rY?nY.createElement(e):{}},iY=!tY&&!dK((function(){return 7!=Object.defineProperty(oY("div"),"a",{get:function(){return 7}}).a})),aY=Function.prototype.call,uY=aY.bind?aY.bind(aY):function(){return aY.apply(aY,arguments)},sY=fK({}.isPrototypeOf),lY=aK.Object,cY=GK?function(e){return"symbol"==typeof e}:function(e){var t=_K("Symbol");return PK(t)&&sY(t.prototype,lY(e))},fY=aK.String,dY=function(e){try{return fY(e)}catch(e){return"Object"}},pY=aK.TypeError,hY=function(e){if(PK(e))return e;throw pY(dY(e)+" is not a function")},vY=function(e,t){var n=e[t];return null==n?void 0:hY(n)},gY=aK.TypeError,yY=aK.TypeError,mY=XK("toPrimitive"),bY=function(e){var t=function(e,t){if(!ZK(e)||cY(e))return e;var n,r=vY(e,mY);if(r){if(void 0===t&&(t="default"),n=uY(r,e,t),!ZK(n)||cY(n))return n;throw yY("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&PK(n=e.toString)&&!ZK(r=uY(n,e)))return r;if(PK(n=e.valueOf)&&!ZK(r=uY(n,e)))return r;if("string"!==t&&PK(n=e.toString)&&!ZK(r=uY(n,e)))return r;throw gY("Can't convert object to primitive value")}(e,t)}(e,"string");return cY(t)?t:t+""},EY=aK.TypeError,wY=Object.defineProperty,SY={f:tY?wY:function(e,t,n){if(eY(e),t=bY(t),eY(n),iY)try{return wY(e,t,n)}catch(e){}if("get"in n||"set"in n)throw EY("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},CY=Math.ceil,DY=Math.floor,AY=function(e){var t=+e;return t!=t||0===t?0:(t>0?DY:CY)(t)},xY=Math.max,OY=Math.min,TY=function(e,t){var n=AY(e);return n<0?xY(n+t,0):OY(n,t)},NY=Math.min,kY=function(e){return e>0?NY(AY(e),9007199254740991):0},BY=function(e){return kY(e.length)},IY=function(e){return function(t,n,r){var o,i=wK(t),a=BY(i),u=TY(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},FY={includes:IY(!0),indexOf:IY(!1)},PY={},RY=FY.indexOf,_Y=fK([].push),LY=function(e,t){var n,r=wK(e),o=0,i=[];for(n in r)!NK(PY,n)&&NK(r,n)&&_Y(i,n);for(;t.length>o;)NK(r,n=t[o++])&&(~RY(i,n)||_Y(i,n));return i},jY=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],MY=Object.keys||function(e){return LY(e,jY)},zY=tY?Object.defineProperties:function(e,t){eY(e);for(var n,r=wK(t),o=MY(t),i=o.length,a=0;i>a;)SY.f(e,n=o[a++],r[n]);return e},HY=_K("document","documentElement"),UY=AK("keys"),$Y=function(e){return UY[e]||(UY[e]=FK(e))},VY=$Y("IE_PROTO"),GY=function(){},WY=function(e){return"<script>"+e+"<\/script>"},qY=function(e){e.write(WY("")),e.close();var t=e.parentWindow.Object;return e=null,t},KY=function(){try{UK=new ActiveXObject("htmlfile")}catch(e){}var e,t;KY="undefined"!=typeof document?document.domain&&UK?qY(UK):((t=oY("iframe")).style.display="none",HY.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(WY("document.F=Object")),e.close(),e.F):qY(UK);for(var n=jY.length;n--;)delete KY.prototype[jY[n]];return KY()};PY[VY]=!0;var YY=Object.create||function(e,t){var n;return null!==e?(GY.prototype=eY(e),n=new GY,GY.prototype=null,n[VY]=e):n=KY(),void 0===t?n:zY(n,t)},XY=XK("unscopables"),ZY=Array.prototype;null==ZY[XY]&&SY.f(ZY,XY,{configurable:!0,value:YY(null)});var JY=function(e){ZY[XY][e]=!0},QY={},eX=fK(Function.toString);PK(DK.inspectSource)||(DK.inspectSource=function(e){return eX(e)});var tX,nX,rX,oX=DK.inspectSource,iX=aK.WeakMap,aX=PK(iX)&&/native code/.test(oX(iX)),uX=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},sX=tY?function(e,t,n){return SY.f(e,t,uX(1,n))}:function(e,t,n){return e[t]=n,e},lX=aK.TypeError,cX=aK.WeakMap;if(aX||DK.state){var fX=DK.state||(DK.state=new cX),dX=fK(fX.get),pX=fK(fX.has),hX=fK(fX.set);tX=function(e,t){if(pX(fX,e))throw new lX("Object already initialized");return t.facade=e,hX(fX,e,t),t},nX=function(e){return dX(fX,e)||{}},rX=function(e){return pX(fX,e)}}else{var vX=$Y("state");PY[vX]=!0,tX=function(e,t){if(NK(e,vX))throw new lX("Object already initialized");return t.facade=e,sX(e,vX,t),t},nX=function(e){return NK(e,vX)?e[vX]:{}},rX=function(e){return NK(e,vX)}}var gX,yX,mX,bX={set:tX,get:nX,has:rX,enforce:function(e){return rX(e)?nX(e):tX(e,{})},getterFor:function(e){return function(t){var n;if(!ZK(t)||(n=nX(t)).type!==e)throw lX("Incompatible receiver, "+e+" required");return n}}},EX={}.propertyIsEnumerable,wX=Object.getOwnPropertyDescriptor,SX={f:wX&&!EX.call({1:2},1)?function(e){var t=wX(this,e);return!!t&&t.enumerable}:EX},CX=Object.getOwnPropertyDescriptor,DX={f:tY?CX:function(e,t){if(e=wK(e),t=bY(t),iY)try{return CX(e,t)}catch(e){}if(NK(e,t))return uX(!uY(SX.f,e,t),e[t])}},AX=Function.prototype,xX=tY&&Object.getOwnPropertyDescriptor,OX=NK(AX,"name"),TX={EXISTS:OX,PROPER:OX&&"something"===function(){}.name,CONFIGURABLE:OX&&(!tY||tY&&xX(AX,"name").configurable)},NX=nK((function(e){var t=TX.CONFIGURABLE,n=bX.get,r=bX.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;PK(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!NK(i,"name")||t&&i.name!==f)&&sX(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==aK?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:sX(e,n,i)):l?e[n]=i:CK(n,i)})(Function.prototype,"toString",(function(){return PK(this)&&n(this).source||oX(this)}))})),kX=jY.concat("length","prototype"),BX={f:Object.getOwnPropertyNames||function(e){return LY(e,kX)}},IX={f:Object.getOwnPropertySymbols},FX=fK([].concat),PX=_K("Reflect","ownKeys")||function(e){var t=BX.f(eY(e)),n=IX.f;return n?FX(t,n(e)):t},RX=function(e,t){for(var n=PX(t),r=SY.f,o=DX.f,i=0;i<n.length;i++){var a=n[i];NK(e,a)||r(e,a,o(t,a))}},_X=/#|\.prototype\./,LX=function(e,t){var n=MX[jX(e)];return n==HX||n!=zX&&(PK(t)?dK(t):!!t)},jX=LX.normalize=function(e){return String(e).replace(_X,".").toLowerCase()},MX=LX.data={},zX=LX.NATIVE="N",HX=LX.POLYFILL="P",UX=LX,$X=DX.f,VX=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?aK:l?aK[u]||CK(u,{}):(aK[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=$X(n,r))&&a.value:n[r],!UX(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;RX(i,o)}(e.sham||o&&o.sham)&&sX(i,"sham",!0),NX(n,r,i,e)}},GX=!dK((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),WX=$Y("IE_PROTO"),qX=aK.Object,KX=qX.prototype,YX=GX?qX.getPrototypeOf:function(e){var t=OK(e);if(NK(t,WX))return t[WX];var n=t.constructor;return PK(n)&&t instanceof n?n.prototype:t instanceof qX?KX:null},XX=XK("iterator"),ZX=!1;[].keys&&("next"in(mX=[].keys())?(yX=YX(YX(mX)))!==Object.prototype&&(gX=yX):ZX=!0);var JX=null==gX||dK((function(){var e={};return gX[XX].call(e)!==e}));JX&&(gX={}),PK(gX[XX])||NX(gX,XX,(function(){return this}));var QX={IteratorPrototype:gX,BUGGY_SAFARI_ITERATORS:ZX},eZ=SY.f,tZ=XK("toStringTag"),nZ=function(e,t,n){e&&!NK(e=n?e:e.prototype,tZ)&&eZ(e,tZ,{configurable:!0,value:t})},rZ=QX.IteratorPrototype,oZ=function(){return this},iZ=aK.String,aZ=aK.TypeError,uZ=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=fK(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return eY(n),function(e){if("object"==typeof e||PK(e))return e;throw aZ("Can't set "+iZ(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),sZ=TX.PROPER,lZ=TX.CONFIGURABLE,cZ=QX.IteratorPrototype,fZ=QX.BUGGY_SAFARI_ITERATORS,dZ=XK("iterator"),pZ=function(){return this},hZ=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=YY(rZ,{next:uX(1,n)}),nZ(e,o,!1),QY[o]=oZ}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!fZ&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[dZ]||p["@@iterator"]||o&&p[o],v=!fZ&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=YX(g.call(new e)))!==Object.prototype&&u.next&&(YX(u)!==cZ&&(uZ?uZ(u,cZ):PK(u[dZ])||NX(u,dZ,pZ)),nZ(u,f,!0)),sZ&&"values"==o&&h&&"values"!==h.name&&(lZ?sX(p,"name","values"):(d=!0,v=function(){return uY(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(fZ||d||!(l in p))&&NX(p,l,s[l]);else VX({target:t,proto:!0,forced:fZ||d},s);return p[dZ]!==v&&NX(p,dZ,v,{name:o}),QY[t]=v,s},vZ=bX.set,gZ=bX.getterFor("Array Iterator"),yZ=hZ(Array,"Array",(function(e,t){vZ(this,{type:"Array Iterator",target:wK(e),index:0,kind:t})}),(function(){var e=gZ(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");QY.Arguments=QY.Array,JY("keys"),JY("values"),JY("entries");var mZ={};mZ[XK("toStringTag")]="z";var bZ="[object z]"===String(mZ),EZ=XK("toStringTag"),wZ=aK.Object,SZ="Arguments"==vK(function(){return arguments}()),CZ=bZ?vK:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=wZ(e),EZ))?n:SZ?vK(t):"Object"==(r=vK(t))&&PK(t.callee)?"Arguments":r},DZ=bZ?{}.toString:function(){return"[object "+CZ(this)+"]"};bZ||NX(Object.prototype,"toString",DZ,{unsafe:!0});var AZ=aK.String,xZ=function(e){if("Symbol"===CZ(e))throw TypeError("Cannot convert a Symbol value to a string");return AZ(e)},OZ=fK("".charAt),TZ=fK("".charCodeAt),NZ=fK("".slice),kZ=function(e){return function(t,n){var r,o,i=xZ(EK(t)),a=AY(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=TZ(i,a))<55296||r>56319||a+1===u||(o=TZ(i,a+1))<56320||o>57343?e?OZ(i,a):r:e?NZ(i,a,a+2):o-56320+(r-55296<<10)+65536}},BZ={codeAt:kZ(!1),charAt:kZ(!0)},IZ=BZ.charAt,FZ=bX.set,PZ=bX.getterFor("String Iterator");hZ(String,"String",(function(e){FZ(this,{type:"String Iterator",string:xZ(e),index:0})}),(function(){var e,t=PZ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=IZ(n,r),t.index+=e.length,{value:e,done:!1})}));var RZ=function(e,t,n){for(var r in t)NX(e,r,t[r],n);return e},_Z=aK.Array,LZ=Math.max,jZ=BX.f,MZ="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],zZ={f:function(e){return MZ&&"Window"==vK(e)?function(e){try{return jZ(e)}catch(e){return function(e,t,n){for(var r,o,i,a,u=BY(e),s=TY(void 0,u),l=TY(u,u),c=_Z(LZ(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],(a=bY(o))in r?SY.f(r,a,uX(0,i)):r[a]=i;return c.length=f,c}(MZ)}}(e):jZ(wK(e))}},HZ=dK((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),UZ=Object.isExtensible,$Z=dK((function(){UZ(1)}))||HZ?function(e){return!!ZK(e)&&(!HZ||"ArrayBuffer"!=vK(e))&&(!UZ||UZ(e))}:UZ,VZ=!dK((function(){return Object.isExtensible(Object.preventExtensions({}))})),GZ=nK((function(e){var t=SY.f,n=!1,r=FK("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=BX.f,t=fK([].splice),o={};o[r]=1,e(o).length&&(BX.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},VX({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:zZ.f}))},fastKey:function(e,t){if(!ZK(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!NK(e,r)){if(!$Z(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!NK(e,r)){if(!$Z(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return VZ&&n&&$Z(e)&&!NK(e,r)&&i(e),e}};PY[r]=!0})),WZ=fK(fK.bind),qZ=function(e,t){return hY(e),void 0===t?e:WZ?WZ(e,t):function(){return e.apply(t,arguments)}},KZ=XK("iterator"),YZ=Array.prototype,XZ=XK("iterator"),ZZ=function(e){if(null!=e)return vY(e,XZ)||vY(e,"@@iterator")||QY[CZ(e)]},JZ=aK.TypeError,QZ=function(e,t,n){var r,o;eY(e);try{if(!(r=vY(e,"return"))){if("throw"===t)throw n;return n}r=uY(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return eY(r),n},eJ=aK.TypeError,tJ=function(e,t){this.stopped=e,this.result=t},nJ=tJ.prototype,rJ=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=qZ(t,f),g=function(e){return r&&QZ(r,"normal",e),new tJ(!0,e)},y=function(e){return d?(eY(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=ZZ(e)))throw eJ(dY(e)+" is not iterable");if(void 0!==(c=o)&&(QY.Array===c||YZ[KZ]===c)){for(i=0,a=BY(e);a>i;i++)if((u=y(e[i]))&&sY(nJ,u))return u;return new tJ(!1)}r=function(e,t){var n=arguments.length<2?ZZ(e):t;if(hY(n))return eY(uY(n,e));throw JZ(dY(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=uY(s,r)).done;){try{u=y(l.value)}catch(e){QZ(r,"throw",e)}if("object"==typeof u&&u&&sY(nJ,u))return u}return new tJ(!1)},oJ=aK.TypeError,iJ=function(e,t){if(sY(t,e))return e;throw oJ("Incorrect invocation")},aJ=XK("iterator"),uJ=!1;try{var sJ=0,lJ={next:function(){return{done:!!sJ++}},return:function(){uJ=!0}};lJ[aJ]=function(){return this},Array.from(lJ,(function(){throw 2}))}catch(Ml){}var cJ=Array.isArray||function(e){return"Array"==vK(e)},fJ=function(){},dJ=[],pJ=_K("Reflect","construct"),hJ=/^\s*(?:class|function)\b/,vJ=fK(hJ.exec),gJ=!hJ.exec(fJ),yJ=function(e){if(!PK(e))return!1;try{return pJ(fJ,dJ,e),!0}catch(e){return!1}},mJ=!pJ||dK((function(){var e;return yJ(yJ.call)||!yJ(Object)||!yJ((function(){e=!0}))||e}))?function(e){if(!PK(e))return!1;switch(CZ(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return gJ||!!vJ(hJ,oX(e))}:yJ,bJ=XK("species"),EJ=aK.Array,wJ=function(e,t){return new(function(e){var t;return cJ(e)&&(t=e.constructor,(mJ(t)&&(t===EJ||cJ(t.prototype))||ZK(t)&&null===(t=t[bJ]))&&(t=void 0)),void 0===t?EJ:t}(e))(0===t?0:t)},SJ=fK([].push),CJ=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=OK(s),v=mK(h),g=qZ(l,c),y=BY(v),m=0,b=f||wJ,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:SJ(E,d)}else switch(e){case 4:return!1;case 7:SJ(E,d)}return i?-1:r||o?o:E}},DJ={forEach:CJ(0),map:CJ(1),filter:CJ(2),some:CJ(3),every:CJ(4),find:CJ(5),findIndex:CJ(6),filterReject:CJ(7)},AJ=GZ.getWeakData,xJ=bX.set,OJ=bX.getterFor,TJ=DJ.find,NJ=DJ.findIndex,kJ=fK([].splice),BJ=0,IJ=function(e){return e.frozen||(e.frozen=new FJ)},FJ=function(){this.entries=[]},PJ=function(e,t){return TJ(e.entries,(function(e){return e[0]===t}))};FJ.prototype={get:function(e){var t=PJ(this,e);if(t)return t[1]},has:function(e){return!!PJ(this,e)},set:function(e,t){var n=PJ(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=NJ(this.entries,(function(t){return t[0]===e}));return~t&&kJ(this.entries,t,1),!!~t}};var RJ,_J={getConstructor:function(e,t,n,r){var o=e((function(e,o){iJ(e,i),xJ(e,{type:t,id:BJ++,frozen:void 0}),null!=o&&rJ(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=OJ(t),u=function(e,t,n){var r=a(e),o=AJ(eY(t),!0);return!0===o?IJ(r).set(t,n):o[r.id]=n,e};return RZ(i,{delete:function(e){var t=a(this);if(!ZK(e))return!1;var n=AJ(e);return!0===n?IJ(t).delete(e):n&&NK(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!ZK(e))return!1;var n=AJ(e);return!0===n?IJ(t).has(e):n&&NK(n,t.id)}}),RZ(i,n?{get:function(e){var t=a(this);if(ZK(e)){var n=AJ(e);return!0===n?IJ(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},LJ=bX.enforce,jJ=!aK.ActiveXObject&&"ActiveXObject"in aK,MJ=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},zJ=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=aK[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=fK(u[e]);NX(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!ZK(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!ZK(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!ZK(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(UX(e,!PK(a)||!(o||u.forEach&&!dK((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),GZ.enable();else if(UX(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=dK((function(){f.has(1)})),h=function(e,t){if(!uJ)return!1;var n=!1;try{var r={};r[aJ]=function(){return{next:function(){return{done:n=!0}}}},function(e){new a(e)}(r)}catch(e){}return n}(),v=!o&&dK((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){iJ(e,u);var n=function(e,t,n){var r,o;return uZ&&PK(r=t.constructor)&&r!==n&&ZK(o=r.prototype)&&o!==n.prototype&&uZ(e,o),e}(new a,e,s);return null!=t&&rJ(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,VX({global:!0,forced:s!=a},l),nZ(s,e),o||n.setStrong(s,e,r),s}("WeakMap",MJ,_J);if(aX&&jJ){RJ=_J.getConstructor(MJ,"WeakMap",!0),GZ.enable();var HJ=zJ.prototype,UJ=fK(HJ.delete),$J=fK(HJ.has),VJ=fK(HJ.get),GJ=fK(HJ.set);RZ(HJ,{delete:function(e){if(ZK(e)&&!$Z(e)){var t=LJ(this);return t.frozen||(t.frozen=new RJ),UJ(this,e)||t.frozen.delete(e)}return UJ(this,e)},has:function(e){if(ZK(e)&&!$Z(e)){var t=LJ(this);return t.frozen||(t.frozen=new RJ),$J(this,e)||t.frozen.has(e)}return $J(this,e)},get:function(e){if(ZK(e)&&!$Z(e)){var t=LJ(this);return t.frozen||(t.frozen=new RJ),$J(this,e)?VJ(this,e):t.frozen.get(e)}return VJ(this,e)},set:function(e,t){if(ZK(e)&&!$Z(e)){var n=LJ(this);n.frozen||(n.frozen=new RJ),$J(this,e)?GJ(this,e,t):n.frozen.set(e,t)}else GJ(this,e,t);return this}})}var WJ={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},qJ=oY("span").classList,KJ=qJ&&qJ.constructor&&qJ.constructor.prototype,YJ=KJ===Object.prototype?void 0:KJ,XJ=XK("iterator"),ZJ=XK("toStringTag"),JJ=yZ.values,QJ=function(e,t){if(e){if(e[XJ]!==JJ)try{sX(e,XJ,JJ)}catch(t){e[XJ]=JJ}if(e[ZJ]||sX(e,ZJ,t),WJ[t])for(var n in yZ)if(e[n]!==yZ[n])try{sX(e,n,yZ[n])}catch(t){e[n]=yZ[n]}}};for(var eQ in WJ)QJ(aK[eQ]&&aK[eQ].prototype,eQ);QJ(YJ,"DOMTokenList");var tQ=new WeakMap,nQ={type:"list-item",renderElem:function(e,t,n){tQ.set(e,n);var r=e,o=r.level,i=void 0===o?0:o,a=r.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(void 0!==a&&a){var l=function(e,t){var n=t,r=n.type,o=n.level,i=void 0===o?0:o,a=n.ordered,u=void 0!==a&&a;if(!u)return-1;var s=1,l=t,c=_N.findPath(e,l);if(0===c[0])return 1;for(;c[0]>0;){var f=Mf.previous(c),d=Nf.node(e,f);if(null==d)break;var p=d[0],h=p.level,v=void 0===h?0:h,g=p.type,y=p.ordered;if(g!==r)break;if(v<i)break;if(v===i){if(y!==u)break;s++}l=p,c=f}return s}(n,e);s=l+"."}else s=function(e){void 0===e&&(e=0);var t="";switch(e){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(i);var c=function(e){var t,n=e.children||[],r=n.length;if(0===r)return"";for(var o=0;o<r&&!t;o++){var i=n[o];ed.isText(i)&&(t=i)}return null==t?"":t.color||""}(e);return Fv("div",{style:u},Fv("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),Fv("span",null,t))}},rQ=function(e,t){return rQ=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},rQ(e,t)};function oQ(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}rQ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function iQ(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function aQ(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function uQ(e,t,n){for(var r=t.type,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["type"]),i=void 0!==n?n:o.level||0,a=_N.findPath(e,t),u=a;;){if(0===u.length||0===a[a.length-1])return null;u=Mf.previous(u);var s=Nf.node(e,u);if(!s)return null;var l=aQ(s,1)[0],c=l.level,f=void 0===c?0:c;if(_N.getNodeType(l)!==r)return null;if(f===i)return l}}function sQ(e,t,n){var r=uQ(e,t,n);return!!r&&r.ordered===t.ordered}function lQ(e){return Nf.nodes(e,{at:e.selection||void 0,match:function(t){return 1===_N.findPath(e,t).length}})}"function"==typeof SuppressedError&&SuppressedError;var cQ=FY.includes;VX({target:"Array",proto:!0},{includes:function(e){return cQ(this,e,arguments.length>1?arguments[1]:void 0)}}),JY("includes");var fQ,dQ,pQ=function(){var e=eY(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},hQ=aK.RegExp,vQ=dK((function(){var e=hQ("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),gQ=vQ||dK((function(){return!hQ("a","y").sticky})),yQ={BROKEN_CARET:vQ||dK((function(){var e=hQ("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:gQ,UNSUPPORTED_Y:vQ},mQ=aK.RegExp,bQ=dK((function(){var e=mQ(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),EQ=aK.RegExp,wQ=dK((function(){var e=EQ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),SQ=bX.get,CQ=AK("native-string-replace",String.prototype.replace),DQ=RegExp.prototype.exec,AQ=DQ,xQ=fK("".charAt),OQ=fK("".indexOf),TQ=fK("".replace),NQ=fK("".slice),kQ=(dQ=/b*/g,uY(DQ,fQ=/a/,"a"),uY(DQ,dQ,"a"),0!==fQ.lastIndex||0!==dQ.lastIndex),BQ=yQ.BROKEN_CARET,IQ=void 0!==/()??/.exec("")[1];(kQ||IQ||BQ||bQ||wQ)&&(AQ=function(e){var t,n,r,o,i,a,u,s=this,l=SQ(s),c=xZ(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=uY(AQ,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=BQ&&s.sticky,h=uY(pQ,s),v=s.source,g=0,y=c;if(p&&(h=TQ(h,"y",""),-1===OQ(h,"g")&&(h+="g"),y=NQ(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==xQ(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),IQ&&(n=new RegExp("^"+v+"$(?!\\s)",h)),kQ&&(r=s.lastIndex),o=uY(DQ,p?n:s,y),p?o?(o.input=NQ(o.input,g),o[0]=NQ(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:kQ&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),IQ&&o&&o.length>1&&uY(CQ,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=YY(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var FQ=AQ;VX({target:"RegExp",proto:!0,forced:/./.exec!==FQ},{exec:FQ});var PQ=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return _N.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!_N.getSelectedElems(e).some((function(t){if(Nf.isVoid(e,t)&&Nf.isBlock(e,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0}))},e.prototype.exec=function(e,t){this.isActive(e)?md.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):md.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),RQ='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',_Q='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',LQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!1,t.title=GF("listModule.unOrderedList"),t.iconSvg=RQ,t}return oQ(t,e),t}(PQ),jQ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!0,t.title=GF("listModule.orderedList"),t.iconSvg=_Q,t}return oQ(t,e),t}(PQ),MQ={key:"bulletedList",factory:function(){return new LQ}},zQ={key:"numberedList",factory:function(){return new jQ}},HQ=[],UQ={type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=void 0!==o&&o?"ol":"ul",a=function(e){var t=tQ.get(e);if(null==t)return 0;var n=e,r=n.type,o=n.ordered,i=void 0!==o&&o,a=n.level,u=void 0===a?0:a,s=_N.findPath(t,e);if(0===s[0])return u+1;var l=Mf.previous(s),c=Nf.node(t,l);if(!c)return 0;var f=aQ(c,1)[0];if(_N.getNodeType(f)!==r)return u+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<u?u-g:g>u?sQ(t,e)?0:1:g===u?h===i?0:1:0}(e);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",HQ.push(i);var s=function(e){var t=tQ.get(e);if(null==t)return 0;var n=e,r=n.type,o=n.ordered,i=void 0!==o&&o,a=n.level,u=void 0===a?0:a,s=_N.findPath(t,e);if(s[0]===t.children.length-1)return u+1;var l=Mf.next(s),c=Nf.node(t,l);if(!c)return 0;var f=aQ(c,1)[0];if(_N.getNodeType(f)!==r)return u+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<u?sQ(t,f)?u-g:u-g+1:g>u?0:g===u?h===i?0:1:0}(e);if(s>0)for(u=0;u<s;u++)r+="</"+HQ.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},$Q=XK("species"),VQ=DJ.filter,GQ=("filter",$K>=51||!dK((function(){var e=[];return(e.constructor={})[$Q]=function(){return{foo:1}},1!==e.filter(Boolean).foo})));VX({target:"Array",proto:!0,forced:!GQ},{filter:function(e){return VQ(this,e,arguments.length>1?arguments[1]:void 0)}});var WQ=Function.prototype,qQ=WQ.apply,KQ=WQ.bind,YQ=WQ.call,XQ="object"==typeof Reflect&&Reflect.apply||(KQ?YQ.bind(qQ):function(){return YQ.apply(qQ,arguments)}),ZQ=(XK("species"),RegExp.prototype),JQ=BZ.charAt,QQ=function(e,t,n){return t+(n?JQ(e,t).length:1)},e0=Math.floor,t0=fK("".charAt),n0=fK("".replace),r0=fK("".slice),o0=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,i0=/\$([$&'`]|\d{1,2})/g,a0=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=i0;return void 0!==o&&(o=OK(o),s=o0),n0(i,s,(function(i,s){var l;switch(t0(s,0)){case"$":return"$";case"&":return e;case"`":return r0(t,0,n);case"'":return r0(t,a);case"<":l=o[r0(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=e0(c/10);return 0===f?i:f<=u?void 0===r[f-1]?t0(s,1):r[f-1]+t0(s,1):i}l=r[c-1]}return void 0===l?"":l}))},u0=aK.TypeError,s0=function(e,t){var n=e.exec;if(PK(n)){var r=uY(n,e,t);return null!==r&&eY(r),r}if("RegExp"===vK(e))return uY(FQ,e,t);throw u0("RegExp#exec called on incompatible receiver")},l0=XK("replace"),c0=Math.max,f0=Math.min,d0=fK([].concat),p0=fK([].push),h0=fK("".indexOf),v0=fK("".slice),g0="$0"==="a".replace(/./,"$0"),y0=!!/./[l0]&&""===/./[l0]("a","$0");!function(e,t,n,r){var o=XK(e),i=!dK((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!dK((function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=fK(/./[o]),s=function(e,t,n){var r=y0?"$":"$0";return[function(e,n){var r=EK(this),o=null==e?void 0:vY(e,l0);return o?uY(o,e,r,n):uY(t,xZ(r),e,n)},function(e,o){var i=eY(this),a=xZ(e);if("string"==typeof o&&-1===h0(o,r)&&-1===h0(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=PK(o);s||(o=xZ(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=s0(i,a);if(null===d)break;if(p0(f,d),!l)break;""===xZ(d[0])&&(i.lastIndex=QQ(a,kY(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=xZ((d=f[g])[0]),m=c0(f0(AY(d.index),a.length),0),b=[],E=1;E<d.length;E++)p0(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=d0([y],b,m,a);void 0!==w&&p0(S,w);var C=xZ(XQ(o,void 0,S))}else C=a0(y,a,m,b,w,o);m>=v&&(h+=v0(a,v,m)+C,v=m+y.length)}return h+v0(a,v)}]}(0,""[e],(function(e,t,n,r,o){var a=fK(e),s=t.exec;return s===FQ||s===ZQ.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));NX(String.prototype,e,s[0]),NX(ZQ,o,s[1])}}("replace",0,!!dK((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!g0||y0);var m0=aK.TypeError,b0=function(e,t,n,r,o,i,a,u){for(var s,l,c=o,f=0,d=!!a&&qZ(a,u);f<r;){if(f in n){if(s=d?d(n[f],f,t):n[f],i>0&&cJ(s))l=BY(s),c=b0(e,t,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw m0("Exceed the acceptable array length");e[c]=s}c++}f++}return c},E0=b0;function w0(e){return e.length?e[0].tagName.toLowerCase():""}VX({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=OK(this),n=BY(t),r=wJ(t,0);return r.length=E0(r,t,t,n,0,void 0===e?1:AY(e)),r}}),JY("flat"),VX({global:!0},{globalThis:aK}),ah&&(Mp.fn.append=ah),$p&&(Mp.fn.attr=$p),sh&&(Mp.fn.parent=sh);var S0={renderElems:[nQ],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,o=e.insertBreak,i=e;return i.insertBreak=function(){var t=aQ(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"list-item")},universal:!0}),1)[0];return t?""!==t[0].children[0].text?o():void md.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(n){var r=i.selection;if(null!=r)if(qf.isExpanded(r))t(n);else{var o=_N.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==r.focus.offset)t(n);else{var a=o,u=a.level,s=void 0===u?0:u,l=a.ordered,c=void 0!==l&&l;if(s>0){var f=uQ(e,o,s-1);f&&f.ordered!==c?md.setNodes(i,{level:s-1,ordered:!c}):md.setNodes(i,{level:s-1})}else md.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else t(n)}else t(n)},i.handleTab=function(){var e,t,r,o,a=i.selection;if(null!=a){if(qf.isCollapsed(a)){var u=_N.getSelectedNodeByType(i,"list-item");if(null==u)return void n();if(0===a.focus.offset){var s=u.level,l=void 0===s?0:s;return void md.setNodes(i,{level:l+1})}}if(qf.isExpanded(a)){var c=0,f=!1;try{for(var d=iQ(lQ(i)),p=d.next();!p.done;p=d.next()){var h=aQ(p.value,1)[0];"list-item"===_N.getNodeType(h)?c++:f=!0}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=d.return)&&t.call(d)}finally{if(e)throw e.error}}if(f||c<=1)return void n();try{for(var v=iQ(lQ(i)),g=v.next();!g.done;g=v.next()){var y=aQ(g.value,2),m=(h=y[0],y[1]),b=h.level;l=void 0===b?0:b,md.setNodes(i,{level:l+1},{at:m})}}catch(e){r={error:e}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(r)throw r.error}}}else n()}else n()},i.normalizeNode=function(e){var t=aQ(e,2),n=t[0],o=t[1],a=_N.getNodeType(n);return"bulleted-list"!==a&&"numbered-list"!==a||md.unwrapNodes(i,{at:o}),r([n,o])},i},menus:[MQ,zQ],elemsToHtml:[UQ],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(e){return"ol"===w0(e.parent())}(r),i=function(e){for(var t=0,n=e.parent(),r=w0(n);"ul"===r||"ol"===r;)r=w0(n=n.parent()),t++;return t-1}(r);return{type:"list-item",ordered:o,level:i,children:t}}}]};UF("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header",mergeCell:"merge cell",splitCell:"split cell"}}),UF("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格"}});var C0="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function D0(e){var t={exports:{}};return e(t,t.exports),t.exports}var A0,x0,O0=function(e){return e&&e.Math==Math&&e},T0=O0("object"==typeof globalThis&&globalThis)||O0("object"==typeof window&&window)||O0("object"==typeof self&&self)||O0("object"==typeof C0&&C0)||function(){return this}()||Function("return this")(),N0=function(e){try{return!!e()}catch(e){return!0}},k0=!N0((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),B0=Function.prototype.call,I0=B0.bind?B0.bind(B0):function(){return B0.apply(B0,arguments)},F0={}.propertyIsEnumerable,P0=Object.getOwnPropertyDescriptor,R0={f:P0&&!F0.call({1:2},1)?function(e){var t=P0(this,e);return!!t&&t.enumerable}:F0},_0=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},L0=Function.prototype,j0=L0.bind,M0=L0.call,z0=j0&&j0.bind(M0),H0=j0?function(e){return e&&z0(M0,e)}:function(e){return e&&function(){return M0.apply(e,arguments)}},U0=H0({}.toString),$0=H0("".slice),V0=function(e){return $0(U0(e),8,-1)},G0=T0.Object,W0=H0("".split),q0=N0((function(){return!G0("z").propertyIsEnumerable(0)}))?function(e){return"String"==V0(e)?W0(e,""):G0(e)}:G0,K0=T0.TypeError,Y0=function(e){if(null==e)throw K0("Can't call method on "+e);return e},X0=function(e){return q0(Y0(e))},Z0=function(e){return"function"==typeof e},J0=function(e){return"object"==typeof e?null!==e:Z0(e)},Q0=function(e){return Z0(e)?e:void 0},e1=function(e,t){return arguments.length<2?Q0(T0[e]):T0[e]&&T0[e][t]},t1=H0({}.isPrototypeOf),n1=e1("navigator","userAgent")||"",r1=T0.process,o1=T0.Deno,i1=r1&&r1.versions||o1&&o1.version,a1=i1&&i1.v8;a1&&(x0=(A0=a1.split("."))[0]>0&&A0[0]<4?1:+(A0[0]+A0[1])),!x0&&n1&&(!(A0=n1.match(/Edge\/(\d+)/))||A0[1]>=74)&&(A0=n1.match(/Chrome\/(\d+)/))&&(x0=+A0[1]);var u1=x0,s1=!!Object.getOwnPropertySymbols&&!N0((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&u1&&u1<41})),l1=s1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,c1=T0.Object,f1=l1?function(e){return"symbol"==typeof e}:function(e){var t=e1("Symbol");return Z0(t)&&t1(t.prototype,c1(e))},d1=T0.String,p1=function(e){try{return d1(e)}catch(e){return"Object"}},h1=T0.TypeError,v1=function(e){if(Z0(e))return e;throw h1(p1(e)+" is not a function")},g1=function(e,t){var n=e[t];return null==n?void 0:v1(n)},y1=T0.TypeError,m1=Object.defineProperty,b1=function(e,t){try{m1(T0,e,{value:t,configurable:!0,writable:!0})}catch(n){T0[e]=t}return t},E1=T0["__core-js_shared__"]||b1("__core-js_shared__",{}),w1=D0((function(e){(e.exports=function(e,t){return E1[e]||(E1[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),S1=T0.Object,C1=function(e){return S1(Y0(e))},D1=H0({}.hasOwnProperty),A1=Object.hasOwn||function(e,t){return D1(C1(e),t)},x1=0,O1=Math.random(),T1=H0(1..toString),N1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+T1(++x1+O1,36)},k1=w1("wks"),B1=T0.Symbol,I1=B1&&B1.for,F1=l1?B1:B1&&B1.withoutSetter||N1,P1=function(e){if(!A1(k1,e)||!s1&&"string"!=typeof k1[e]){var t="Symbol."+e;s1&&A1(B1,e)?k1[e]=B1[e]:k1[e]=l1&&I1?I1(t):F1(t)}return k1[e]},R1=T0.TypeError,_1=P1("toPrimitive"),L1=function(e){var t=function(e,t){if(!J0(e)||f1(e))return e;var n,r=g1(e,_1);if(r){if(void 0===t&&(t="default"),n=I0(r,e,t),!J0(n)||f1(n))return n;throw R1("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Z0(n=e.toString)&&!J0(r=I0(n,e)))return r;if(Z0(n=e.valueOf)&&!J0(r=I0(n,e)))return r;if("string"!==t&&Z0(n=e.toString)&&!J0(r=I0(n,e)))return r;throw y1("Can't convert object to primitive value")}(e,t)}(e,"string");return f1(t)?t:t+""},j1=T0.document,M1=J0(j1)&&J0(j1.createElement),z1=function(e){return M1?j1.createElement(e):{}},H1=!k0&&!N0((function(){return 7!=Object.defineProperty(z1("div"),"a",{get:function(){return 7}}).a})),U1=Object.getOwnPropertyDescriptor,$1={f:k0?U1:function(e,t){if(e=X0(e),t=L1(t),H1)try{return U1(e,t)}catch(e){}if(A1(e,t))return _0(!I0(R0.f,e,t),e[t])}},V1=T0.String,G1=T0.TypeError,W1=function(e){if(J0(e))return e;throw G1(V1(e)+" is not an object")},q1=T0.TypeError,K1=Object.defineProperty,Y1={f:k0?K1:function(e,t,n){if(W1(e),t=L1(t),W1(n),H1)try{return K1(e,t,n)}catch(e){}if("get"in n||"set"in n)throw q1("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},X1=k0?function(e,t,n){return Y1.f(e,t,_0(1,n))}:function(e,t,n){return e[t]=n,e},Z1=H0(Function.toString);Z0(E1.inspectSource)||(E1.inspectSource=function(e){return Z1(e)});var J1,Q1,e2,t2=E1.inspectSource,n2=T0.WeakMap,r2=Z0(n2)&&/native code/.test(t2(n2)),o2=w1("keys"),i2=function(e){return o2[e]||(o2[e]=N1(e))},a2={},u2=T0.TypeError,s2=T0.WeakMap;if(r2||E1.state){var l2=E1.state||(E1.state=new s2),c2=H0(l2.get),f2=H0(l2.has),d2=H0(l2.set);J1=function(e,t){if(f2(l2,e))throw new u2("Object already initialized");return t.facade=e,d2(l2,e,t),t},Q1=function(e){return c2(l2,e)||{}},e2=function(e){return f2(l2,e)}}else{var p2=i2("state");a2[p2]=!0,J1=function(e,t){if(A1(e,p2))throw new u2("Object already initialized");return t.facade=e,X1(e,p2,t),t},Q1=function(e){return A1(e,p2)?e[p2]:{}},e2=function(e){return A1(e,p2)}}var h2={set:J1,get:Q1,has:e2,enforce:function(e){return e2(e)?Q1(e):J1(e,{})},getterFor:function(e){return function(t){var n;if(!J0(t)||(n=Q1(t)).type!==e)throw u2("Incompatible receiver, "+e+" required");return n}}},v2=Function.prototype,g2=k0&&Object.getOwnPropertyDescriptor,y2=A1(v2,"name"),m2={EXISTS:y2,PROPER:y2&&"something"===function(){}.name,CONFIGURABLE:y2&&(!k0||k0&&g2(v2,"name").configurable)},b2=D0((function(e){var t=m2.CONFIGURABLE,n=h2.get,r=h2.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;Z0(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!A1(i,"name")||t&&i.name!==f)&&X1(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==T0?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:X1(e,n,i)):l?e[n]=i:b1(n,i)})(Function.prototype,"toString",(function(){return Z0(this)&&n(this).source||t2(this)}))})),E2=Math.ceil,w2=Math.floor,S2=function(e){var t=+e;return t!=t||0===t?0:(t>0?w2:E2)(t)},C2=Math.max,D2=Math.min,A2=function(e,t){var n=S2(e);return n<0?C2(n+t,0):D2(n,t)},x2=Math.min,O2=function(e){return e>0?x2(S2(e),9007199254740991):0},T2=function(e){return O2(e.length)},N2=function(e){return function(t,n,r){var o,i=X0(t),a=T2(i),u=A2(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},k2={includes:N2(!0),indexOf:N2(!1)},B2=k2.indexOf,I2=H0([].push),F2=function(e,t){var n,r=X0(e),o=0,i=[];for(n in r)!A1(a2,n)&&A1(r,n)&&I2(i,n);for(;t.length>o;)A1(r,n=t[o++])&&(~B2(i,n)||I2(i,n));return i},P2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],R2=P2.concat("length","prototype"),_2={f:Object.getOwnPropertyNames||function(e){return F2(e,R2)}},L2={f:Object.getOwnPropertySymbols},j2=H0([].concat),M2=e1("Reflect","ownKeys")||function(e){var t=_2.f(W1(e)),n=L2.f;return n?j2(t,n(e)):t},z2=function(e,t){for(var n=M2(t),r=Y1.f,o=$1.f,i=0;i<n.length;i++){var a=n[i];A1(e,a)||r(e,a,o(t,a))}},H2=/#|\.prototype\./,U2=function(e,t){var n=V2[$2(e)];return n==W2||n!=G2&&(Z0(t)?N0(t):!!t)},$2=U2.normalize=function(e){return String(e).replace(H2,".").toLowerCase()},V2=U2.data={},G2=U2.NATIVE="N",W2=U2.POLYFILL="P",q2=U2,K2=$1.f,Y2=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?T0:l?T0[u]||b1(u,{}):(T0[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=K2(n,r))&&a.value:n[r],!q2(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;z2(i,o)}(e.sham||o&&o.sham)&&X1(i,"sham",!0),b2(n,r,i,e)}},X2={};X2[P1("toStringTag")]="z";var Z2="[object z]"===String(X2),J2=P1("toStringTag"),Q2=T0.Object,e4="Arguments"==V0(function(){return arguments}()),t4=Z2?V0:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Q2(e),J2))?n:e4?V0(t):"Object"==(r=V0(t))&&Z0(t.callee)?"Arguments":r},n4=T0.String,r4=function(e){if("Symbol"===t4(e))throw TypeError("Cannot convert a Symbol value to a string");return n4(e)},o4=/"/g,i4=H0("".replace);Y2({target:"String",proto:!0,forced:("anchor",N0((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return"a","name",t=e,n=r4(Y0(this)),r="<a",(r+=' name="'+i4(r4(t),o4,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var a4,u4=function(){var e=W1(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},s4=T0.RegExp,l4=N0((function(){var e=s4("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),c4=l4||N0((function(){return!s4("a","y").sticky})),f4={BROKEN_CARET:l4||N0((function(){var e=s4("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:c4,UNSUPPORTED_Y:l4},d4=Object.keys||function(e){return F2(e,P2)},p4=k0?Object.defineProperties:function(e,t){W1(e);for(var n,r=X0(t),o=d4(t),i=o.length,a=0;i>a;)Y1.f(e,n=o[a++],r[n]);return e},h4=e1("document","documentElement"),v4=i2("IE_PROTO"),g4=function(){},y4=function(e){return"<script>"+e+"<\/script>"},m4=function(e){e.write(y4("")),e.close();var t=e.parentWindow.Object;return e=null,t},b4=function(){try{a4=new ActiveXObject("htmlfile")}catch(e){}var e,t;b4="undefined"!=typeof document?document.domain&&a4?m4(a4):((t=z1("iframe")).style.display="none",h4.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(y4("document.F=Object")),e.close(),e.F):m4(a4);for(var n=P2.length;n--;)delete b4.prototype[P2[n]];return b4()};a2[v4]=!0;var E4,w4,S4=Object.create||function(e,t){var n;return null!==e?(g4.prototype=W1(e),n=new g4,g4.prototype=null,n[v4]=e):n=b4(),void 0===t?n:p4(n,t)},C4=T0.RegExp,D4=N0((function(){var e=C4(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),A4=T0.RegExp,x4=N0((function(){var e=A4("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),O4=h2.get,T4=w1("native-string-replace",String.prototype.replace),N4=RegExp.prototype.exec,k4=N4,B4=H0("".charAt),I4=H0("".indexOf),F4=H0("".replace),P4=H0("".slice),R4=(w4=/b*/g,I0(N4,E4=/a/,"a"),I0(N4,w4,"a"),0!==E4.lastIndex||0!==w4.lastIndex),_4=f4.BROKEN_CARET,L4=void 0!==/()??/.exec("")[1];(R4||L4||_4||D4||x4)&&(k4=function(e){var t,n,r,o,i,a,u,s=this,l=O4(s),c=r4(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=I0(k4,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=_4&&s.sticky,h=I0(u4,s),v=s.source,g=0,y=c;if(p&&(h=F4(h,"y",""),-1===I4(h,"g")&&(h+="g"),y=P4(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==B4(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),L4&&(n=new RegExp("^"+v+"$(?!\\s)",h)),R4&&(r=s.lastIndex),o=I0(N4,p?n:s,y),p?o?(o.input=P4(o.input,g),o[0]=P4(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:R4&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),L4&&o&&o.length>1&&I0(T4,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=S4(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var j4=k4;Y2({target:"RegExp",proto:!0,forced:/./.exec!==j4},{exec:j4});var M4=Array.isArray||function(e){return"Array"==V0(e)},z4=function(){},H4=[],U4=e1("Reflect","construct"),$4=/^\s*(?:class|function)\b/,V4=H0($4.exec),G4=!$4.exec(z4),W4=function(e){if(!Z0(e))return!1;try{return U4(z4,H4,e),!0}catch(e){return!1}},q4=!U4||N0((function(){var e;return W4(W4.call)||!W4(Object)||!W4((function(){e=!0}))||e}))?function(e){if(!Z0(e))return!1;switch(t4(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return G4||!!V4($4,t2(e))}:W4,K4=function(e,t,n){var r=L1(t);r in e?Y1.f(e,r,_0(0,n)):e[r]=n},Y4=P1("species"),X4=function(e){return u1>=51||!N0((function(){var t=[];return(t.constructor={})[Y4]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Z4=H0([].slice),J4=X4("slice"),Q4=P1("species"),e6=T0.Array,t6=Math.max;Y2({target:"Array",proto:!0,forced:!J4},{slice:function(e,t){var n,r,o,i=X0(this),a=T2(i),u=A2(e,a),s=A2(void 0===t?a:t,a);if(M4(i)&&(n=i.constructor,(q4(n)&&(n===e6||M4(n.prototype))||J0(n)&&null===(n=n[Q4]))&&(n=void 0),n===e6||void 0===n))return Z4(i,u,s);for(r=new(void 0===n?e6:n)(t6(s-u,0)),o=0;u<s;u++,o++)u in i&&K4(r,o,i[u]);return r.length=o,r}});var n6=function(){return n6=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n6.apply(this,arguments)};function r6(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function o6(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i6(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function a6(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var u6=P1("unscopables"),s6=Array.prototype;null==s6[u6]&&Y1.f(s6,u6,{configurable:!0,value:S4(null)});var l6,c6,f6,d6=function(e){s6[u6][e]=!0},p6={},h6=!N0((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),v6=i2("IE_PROTO"),g6=T0.Object,y6=g6.prototype,m6=h6?g6.getPrototypeOf:function(e){var t=C1(e);if(A1(t,v6))return t[v6];var n=t.constructor;return Z0(n)&&t instanceof n?n.prototype:t instanceof g6?y6:null},b6=P1("iterator"),E6=!1;[].keys&&("next"in(f6=[].keys())?(c6=m6(m6(f6)))!==Object.prototype&&(l6=c6):E6=!0);var w6=null==l6||N0((function(){var e={};return l6[b6].call(e)!==e}));w6&&(l6={}),Z0(l6[b6])||b2(l6,b6,(function(){return this}));var S6={IteratorPrototype:l6,BUGGY_SAFARI_ITERATORS:E6},C6=Y1.f,D6=P1("toStringTag"),A6=function(e,t,n){e&&!A1(e=n?e:e.prototype,D6)&&C6(e,D6,{configurable:!0,value:t})},x6=S6.IteratorPrototype,O6=function(){return this},T6=T0.String,N6=T0.TypeError,k6=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=H0(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return W1(n),function(e){if("object"==typeof e||Z0(e))return e;throw N6("Can't set "+T6(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),B6=m2.PROPER,I6=m2.CONFIGURABLE,F6=S6.IteratorPrototype,P6=S6.BUGGY_SAFARI_ITERATORS,R6=P1("iterator"),_6=function(){return this},L6=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=S4(x6,{next:_0(1,n)}),A6(e,o,!1),p6[o]=O6}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!P6&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[R6]||p["@@iterator"]||o&&p[o],v=!P6&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=m6(g.call(new e)))!==Object.prototype&&u.next&&(m6(u)!==F6&&(k6?k6(u,F6):Z0(u[R6])||b2(u,R6,_6)),A6(u,f,!0)),B6&&"values"==o&&h&&"values"!==h.name&&(I6?X1(p,"name","values"):(d=!0,v=function(){return I0(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(P6||d||!(l in p))&&b2(p,l,s[l]);else Y2({target:t,proto:!0,forced:P6||d},s);return p[R6]!==v&&b2(p,R6,v,{name:o}),p6[t]=v,s},j6=h2.set,M6=h2.getterFor("Array Iterator"),z6=L6(Array,"Array",(function(e,t){j6(this,{type:"Array Iterator",target:X0(e),index:0,kind:t})}),(function(){var e=M6(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");p6.Arguments=p6.Array,d6("keys"),d6("values"),d6("entries");var H6=Z2?{}.toString:function(){return"[object "+t4(this)+"]"};Z2||b2(Object.prototype,"toString",H6,{unsafe:!0});var U6=H0("".charAt),$6=H0("".charCodeAt),V6=H0("".slice),G6=function(e){return function(t,n){var r,o,i=r4(Y0(t)),a=S2(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=$6(i,a))<55296||r>56319||a+1===u||(o=$6(i,a+1))<56320||o>57343?e?U6(i,a):r:e?V6(i,a,a+2):o-56320+(r-55296<<10)+65536}},W6={codeAt:G6(!1),charAt:G6(!0)},q6=W6.charAt,K6=h2.set,Y6=h2.getterFor("String Iterator");L6(String,"String",(function(e){K6(this,{type:"String Iterator",string:r4(e),index:0})}),(function(){var e,t=Y6(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=q6(n,r),t.index+=e.length,{value:e,done:!1})}));var X6=T0.Array,Z6=Math.max,J6=function(e,t,n){for(var r=T2(e),o=A2(t,r),i=A2(void 0===n?r:n,r),a=X6(Z6(i-o,0)),u=0;o<i;o++,u++)K4(a,u,e[o]);return a.length=u,a},Q6=_2.f,e3="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],t3={f:function(e){return e3&&"Window"==V0(e)?function(e){try{return Q6(e)}catch(e){return J6(e3)}}(e):Q6(X0(e))}},n3=N0((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),r3=Object.isExtensible,o3=N0((function(){r3(1)}))||n3?function(e){return!!J0(e)&&(!n3||"ArrayBuffer"!=V0(e))&&(!r3||r3(e))}:r3,i3=!N0((function(){return Object.isExtensible(Object.preventExtensions({}))})),a3=D0((function(e){var t=Y1.f,n=!1,r=N1("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=_2.f,t=H0([].splice),o={};o[r]=1,e(o).length&&(_2.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},Y2({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:t3.f}))},fastKey:function(e,t){if(!J0(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!A1(e,r)){if(!o3(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!A1(e,r)){if(!o3(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return i3&&n&&o3(e)&&!A1(e,r)&&i(e),e}};a2[r]=!0})),u3=H0(H0.bind),s3=function(e,t){return v1(e),void 0===t?e:u3?u3(e,t):function(){return e.apply(t,arguments)}},l3=P1("iterator"),c3=Array.prototype,f3=P1("iterator"),d3=function(e){if(null!=e)return g1(e,f3)||g1(e,"@@iterator")||p6[t4(e)]},p3=T0.TypeError,h3=function(e,t,n){var r,o;W1(e);try{if(!(r=g1(e,"return"))){if("throw"===t)throw n;return n}r=I0(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return W1(r),n},v3=T0.TypeError,g3=function(e,t){this.stopped=e,this.result=t},y3=g3.prototype,m3=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=s3(t,f),g=function(e){return r&&h3(r,"normal",e),new g3(!0,e)},y=function(e){return d?(W1(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=d3(e)))throw v3(p1(e)+" is not iterable");if(void 0!==(c=o)&&(p6.Array===c||c3[l3]===c)){for(i=0,a=T2(e);a>i;i++)if((u=y(e[i]))&&t1(y3,u))return u;return new g3(!1)}r=function(e,t){var n=arguments.length<2?d3(e):t;if(v1(n))return W1(I0(n,e));throw p3(p1(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=I0(s,r)).done;){try{u=y(l.value)}catch(e){h3(r,"throw",e)}if("object"==typeof u&&u&&t1(y3,u))return u}return new g3(!1)},b3=T0.TypeError,E3=function(e,t){if(t1(t,e))return e;throw b3("Incorrect invocation")},w3=P1("iterator"),S3=!1;try{var C3=0,D3={next:function(){return{done:!!C3++}},return:function(){S3=!0}};D3[w3]=function(){return this},Array.from(D3,(function(){throw 2}))}catch(Ml){}var A3=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=T0[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=H0(u[e]);b2(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!J0(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!J0(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!J0(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(q2(e,!Z0(a)||!(o||u.forEach&&!N0((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),a3.enable();else if(q2(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=N0((function(){f.has(1)})),h=function(e,t){if(!S3)return!1;var n=!1;try{var r={};r[w3]=function(){return{next:function(){return{done:n=!0}}}},function(e){new a(e)}(r)}catch(e){}return n}(),v=!o&&N0((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){E3(e,u);var n=function(e,t,n){var r,o;return k6&&Z0(r=t.constructor)&&r!==n&&J0(o=r.prototype)&&o!==n.prototype&&k6(e,o),e}(new a,e,s);return null!=t&&m3(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,Y2({global:!0,forced:s!=a},l),A6(s,e),o||n.setStrong(s,e,r),s},x3=function(e,t,n){for(var r in t)b2(e,r,t[r],n);return e},O3=P1("species"),T3=T0.Array,N3=function(e,t){return new(function(e){var t;return M4(e)&&(t=e.constructor,(q4(t)&&(t===T3||M4(t.prototype))||J0(t)&&null===(t=t[O3]))&&(t=void 0)),void 0===t?T3:t}(e))(0===t?0:t)},k3=H0([].push),B3=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=C1(s),v=q0(h),g=s3(l,c),y=T2(v),m=0,b=f||N3,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:k3(E,d)}else switch(e){case 4:return!1;case 7:k3(E,d)}return i?-1:r||o?o:E}},I3={forEach:B3(0),map:B3(1),filter:B3(2),some:B3(3),every:B3(4),find:B3(5),findIndex:B3(6),filterReject:B3(7)},F3=a3.getWeakData,P3=h2.set,R3=h2.getterFor,_3=I3.find,L3=I3.findIndex,j3=H0([].splice),M3=0,z3=function(e){return e.frozen||(e.frozen=new H3)},H3=function(){this.entries=[]},U3=function(e,t){return _3(e.entries,(function(e){return e[0]===t}))};H3.prototype={get:function(e){var t=U3(this,e);if(t)return t[1]},has:function(e){return!!U3(this,e)},set:function(e,t){var n=U3(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=L3(this.entries,(function(t){return t[0]===e}));return~t&&j3(this.entries,t,1),!!~t}};var $3={getConstructor:function(e,t,n,r){var o=e((function(e,o){E3(e,i),P3(e,{type:t,id:M3++,frozen:void 0}),null!=o&&m3(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=R3(t),u=function(e,t,n){var r=a(e),o=F3(W1(t),!0);return!0===o?z3(r).set(t,n):o[r.id]=n,e};return x3(i,{delete:function(e){var t=a(this);if(!J0(e))return!1;var n=F3(e);return!0===n?z3(t).delete(e):n&&A1(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!J0(e))return!1;var n=F3(e);return!0===n?z3(t).has(e):n&&A1(n,t.id)}}),x3(i,n?{get:function(e){var t=a(this);if(J0(e)){var n=F3(e);return!0===n?z3(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}};A3("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),$3);var V3={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},G3=z1("span").classList,W3=G3&&G3.constructor&&G3.constructor.prototype,q3=W3===Object.prototype?void 0:W3,K3=P1("iterator"),Y3=P1("toStringTag"),X3=z6.values,Z3=function(e,t){if(e){if(e[K3]!==X3)try{X1(e,K3,X3)}catch(t){e[K3]=X3}if(e[Y3]||X1(e,Y3,t),V3[t])for(var n in z6)if(e[n]!==z6[n])try{X1(e,n,z6[n])}catch(t){e[n]=z6[n]}}};for(var J3 in V3)Z3(T0[J3]&&T0[J3].prototype,J3);Z3(q3,"DOMTokenList");var Q3,e5=h2.enforce,t5=!T0.ActiveXObject&&"ActiveXObject"in T0,n5=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},r5=A3("WeakMap",n5,$3);if(r2&&t5){Q3=$3.getConstructor(n5,"WeakMap",!0),a3.enable();var o5=r5.prototype,i5=H0(o5.delete),a5=H0(o5.has),u5=H0(o5.get),s5=H0(o5.set);x3(o5,{delete:function(e){if(J0(e)&&!o3(e)){var t=e5(this);return t.frozen||(t.frozen=new Q3),i5(this,e)||t.frozen.delete(e)}return i5(this,e)},has:function(e){if(J0(e)&&!o3(e)){var t=e5(this);return t.frozen||(t.frozen=new Q3),a5(this,e)||t.frozen.has(e)}return a5(this,e)},get:function(e){if(J0(e)&&!o3(e)){var t=e5(this);return t.frozen||(t.frozen=new Q3),a5(this,e)?u5(this,e):t.frozen.get(e)}return u5(this,e)},set:function(e,t){if(J0(e)&&!o3(e)){var n=e5(this);n.frozen||(n.frozen=new Q3),a5(this,e)?s5(this,e,t):n.frozen.set(e,t)}else s5(this,e,t);return this}})}var l5=new WeakMap,c5=new WeakMap,f5=I3.map,d5=X4("map");Y2({target:"Array",proto:!0,forced:!d5},{map:function(e){return f5(this,e,arguments.length>1?arguments[1]:void 0)}});var p5=k2.includes;Y2({target:"Array",proto:!0},{includes:function(e){return p5(this,e,arguments.length>1?arguments[1]:void 0)}}),d6("includes");var h5=P1("match"),v5=function(e){var t;return J0(e)&&(void 0!==(t=e[h5])?!!t:"RegExp"==V0(e))},g5=T0.TypeError,y5=function(e){if(v5(e))throw g5("The method doesn't accept regular expressions");return e},m5=P1("match"),b5=H0("".indexOf);Y2({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[m5]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~b5(r4(Y0(this)),r4(y5(e)),arguments.length>1?arguments[1]:void 0)}});var E5={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function w5(e){return!Nf.isEditor(e)&&Cf.isElement(e)&&"type"in e}function S5(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=E5,o=t.map((function(e){var t;return null===(t=null==r?void 0:r.blocks)||void 0===t?void 0:t[e]}));return function(e){return w5(e)&&o.includes(e.type)}}function C5(e,t){for(var n=i6(t,2),r=n[0],o=n[1],i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var u=i6(Rf.common(e,r,o),2),s=u[0],l=u[1];return!!S5.apply(void 0,a6([e],i6(i)))(s,l)||!!Nf.above(e,{match:S5.apply(void 0,a6([e],i6(i))),at:l})}function D5(e,t){var n,r;void 0===t&&(t={});var o=[];try{for(var i=o6(function(e,t){var n,r,o,i,a,u,s,l,c,f,d,p,h,v,g,y,m,b;return void 0===t&&(t={}),r6(this,(function(E){switch(E.label){case 0:if(n=i6(Nf.nodes(e,{match:S5(e,"table"),at:t.at}),1),!(r=n[0]))return[2,[]];o=i6(r,2),i=o[1],E.label=1;case 1:E.trys.push([1,6,7,8]),a=o6(Nf.nodes(e,{match:S5(e,"table"),at:i})),u=a.next(),E.label=2;case 2:if(u.done)return[3,5];s=i6(u.value,2),l=s[1],c=[];try{for(m=void 0,f=o6(Nf.nodes(e,{match:S5(e,"tr"),at:l})),d=f.next();!d.done;d=f.next())p=i6(d.value,2),h=p[1],c.push(a6([],i6(Nf.nodes(e,{match:S5(e,"th","td"),at:h}))))}catch(e){m={error:e}}finally{try{d&&!d.done&&(b=f.return)&&b.call(f)}finally{if(m)throw m.error}}return[4,c];case 3:E.sent(),E.label=4;case 4:return u=a.next(),[3,2];case 5:return[3,8];case 6:return v=E.sent(),g={error:v},[3,8];case 7:try{u&&!u.done&&(y=a.return)&&y.call(a)}finally{if(g)throw g.error}return[7];case 8:return[2]}}))}(e,{at:t.at})),a=i.next();!a.done;a=i.next()){for(var u=a.value,s=[],l=0;l<u.length;l++){s[l]||(s[l]=[]);for(var c=0;c<u[l].length;c++)for(var f=i6(u[l][c],1)[0],d=f.rowSpan,p=void 0===d?1:d,h=f.colSpan,v=void 0===h?1:h,g=0;g<v+0;g++)for(var y=0;y<p;y++)s[l+y]||(s[l+y]=[]),s[l+y][c+g]||(s[l+y][c+g]=[u[l+y][c+g],{rtl:g-0+1,ltr:v-g+0,ttb:y+1,btt:p-y}])}o.push.apply(o,a6([],i6(s)))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}var A5=function(){function e(e,t){this.x=e,this.y=t}return e.valueOf=function(e,t){return new this(e,t)},e.equals=function(e,t){return e.x===t.x&&e.y===t.y},e}(),x5={isInTable:function(e,t){return void 0===t&&(t={}),!!i6(Nf.nodes(e,{match:S5(e,"table"),at:t.at}),1)[0]},selection:function(e){var t,n,r,o,i,a,u,s;return r6(this,(function(l){switch(l.label){case 0:t=l5.get(e),n=0,l.label=1;case 1:if(!(t&&n<t.length))return[3,4];for(r=[],o=0;o<t[n].length;o++)i=i6(t[n][o],2),a=i[0],u=i[1],s=u.ltr,1===u.ttb&&r.push(a),o+=s-1;return[4,r];case 2:l.sent(),l.label=3;case 3:return n++,[3,1];case 4:return[2]}}))},unselect:function(e){var t;c5.delete(e),l5.delete(e),null===(t=document.getSelection())||void 0===t||t.removeAllRanges()},isSelected:function(e,t){var n=c5.get(e);return!!n&&n.has(t)}};function O5(e){var t=e.selection;if(null==t)return!1;var n=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table-cell")}}),1)[0];if(n){var r=i6(n,2)[1],o=Nf.start(e,r);if($f.equals(t.anchor,o))return!0}return!1}var T5=I3.find,N5=!0;"find"in[]&&Array(1).find((function(){N5=!1})),Y2({target:"Array",proto:!0,forced:N5},{find:function(e){return T5(this,e,arguments.length>1?arguments[1]:void 0)}}),d6("find");var k5=Function.prototype,B5=k5.apply,I5=k5.bind,F5=k5.call,P5="object"==typeof Reflect&&Reflect.apply||(I5?F5.bind(B5):function(){return F5.apply(B5,arguments)}),R5=P1("species"),_5=RegExp.prototype,L5=function(e,t,n,r){var o=P1(e),i=!N0((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!N0((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[R5]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=H0(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=H0(e),s=t.exec;return s===j4||s===_5.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));b2(String.prototype,e,s[0]),b2(_5,o,s[1])}r&&X1(_5[o],"sham",!0)},j5=T0.TypeError,M5=P1("species"),z5=W6.charAt,H5=function(e,t,n){return t+(n?z5(e,t).length:1)},U5=T0.TypeError,$5=function(e,t){var n=e.exec;if(Z0(n)){var r=I0(n,e,t);return null!==r&&W1(r),r}if("RegExp"===V0(e))return I0(j4,e,t);throw U5("RegExp#exec called on incompatible receiver")},V5=f4.UNSUPPORTED_Y,G5=Math.min,W5=[].push,q5=H0(/./.exec),K5=H0(W5),Y5=H0("".slice);L5("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=r4(Y0(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!v5(e))return I0(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=new RegExp(e.source,l+"g");(i=I0(j4,f,r))&&!((a=f.lastIndex)>c&&(K5(s,Y5(r,c,i.index)),i.length>1&&i.index<r.length&&P5(W5,s,J6(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&q5(f,"")||K5(s,""):K5(s,Y5(r,c)),s.length>o?J6(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:I0(t,this,e,n)}:t,[function(t,n){var o=Y0(this),i=null==t?void 0:g1(t,e);return i?I0(i,t,o,n):I0(r,r4(o),t,n)},function(e,o){var i=W1(this),a=r4(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=W1(e).constructor;return void 0===r||null==(n=W1(r)[M5])?t:function(e){if(q4(e))return e;throw j5(p1(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(V5?"g":"y"),f=new s(V5?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===$5(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=V5?0:h;var g,y=$5(f,V5?Y5(a,h):a);if(null===y||(g=G5(O2(f.lastIndex+(V5?h:0)),a.length))===p)h=H5(a,h,l);else{if(K5(v,Y5(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(K5(v,y[m]),v.length===d)return v;h=p=g}}return K5(v,Y5(a,p)),v}]}),!!N0((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),V5);var X5="\t\n\v\f\r                 \u2028\u2029\ufeff",Z5=H0("".replace),J5="["+X5+"]",Q5=RegExp("^"+J5+J5+"*"),e8=RegExp(J5+J5+"*$"),t8=function(e){return function(t){var n=r4(Y0(t));return 1&e&&(n=Z5(n,Q5,"")),2&e&&(n=Z5(n,e8,"")),n}},n8={start:t8(1),end:t8(2),trim:t8(3)},r8=m2.PROPER,o8=n8.trim;function i8(e){return e.length?e[0].tagName.toLowerCase():""}Y2({target:"String",proto:!0,forced:function(e){return N0((function(){return!!X5[e]()||"​…᠎"!=="​…᠎"[e]()||r8&&X5[e].name!==e}))}("trim")},{trim:function(){return o8(this)}}),Y2({global:!0},{globalThis:T0}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Wp&&(Mp.fn.val=Wp),rh&&(Mp.fn.html=rh),Gp&&(Mp.fn.dataset=Gp),zp&&(Mp.fn.addClass=zp),Hp&&(Mp.fn.removeClass=Hp),fh&&(Mp.fn.children=fh),th&&(Mp.fn.each=th),ch&&(Mp.fn.find=ch);var a8=null,u8=!1,s8=!1,l8=0,c8=0,f8=null,d8=Mp(window);d8.on("mousedown",(function(e){var t=e.target;if(t.closest('[data-block-type="table-cell"]'))u8=!0;else if("DIV"==t.tagName&&t.closest(".column-resizer-item")){if(null==f8)return;var n=i6(Nf.nodes(f8,{match:S5(f8,"table")}),1),r=i6(n[0],1)[0],o=r.width,i=void 0===o?"auto":o,a=r.columnWidths,u=void 0===a?[]:a,s=r.resizingIndex,l=void 0===s?-1:s;if("100%"==i)return;s8=!0;var c=e.clientX;l8=c,c8=u[l],document.body.style.cursor="col-resize",e.preventDefault()}d8.on("mousemove",p8),d8.on("mouseup",h8)}));var p8=ev((function(e){if(s8&&null!=f8){e.preventDefault();var t=e.clientX,n=c8+(t-l8);(n=Math.floor(100*n)/100)<30&&(n=30);var r=i6(Nf.nodes(f8,{match:S5(f8,"table")}),1),o=i6(r[0],1)[0],i=o.columnWidths,a=void 0===i?[]:i,u=o.resizingIndex,s=void 0===u?-1:u,l=o.scrollWidth,c=void 0===l?0:l,f=a.reduce((function(e,t){return e+t}),0),d=f-a[s];f>c&&d+n>c&&(n=c-d+.5);var p=a6([],i6(a)).map((function(e){return Math.floor(e)}));p[s]=n,md.setNodes(f8,{columnWidths:p},{mode:"highest"})}}),100);function h8(e){u8=!1,s8=!1,f8=null,document.body.style.cursor="",d8.off("mousemove",p8),d8.off("mouseup",h8)}function v8(e,t){"mouseenter"===t.type?md.setNodes(e,{isResizing:!0},{mode:"highest"}):md.setNodes(e,{isResizing:!1},{mode:"highest"})}function g8(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function y8(e){return g8(e).every((function(e){return!!e.isHeader}))}var m8={type:"table",renderElem:function(e,t,n){var r=function(e,t){if(e.isDisabled())return!1;var n=e.selection;if(null==n)return!0;if(qf.isCollapsed(n))return!0;var r=n.anchor,o=n.focus,i=_N.findPath(e,t),a=Nf.start(e,i),u=Nf.end(e,i),s=$f.compare(r,u)<=0&&$f.compare(r,a)>=0,l=$f.compare(o,u)<=0&&$f.compare(o,a)>=0;return!!(s&&l&&Mf.equals(r.path.slice(0,3),o.path.slice(0,3)))}(n,e),o=e,i=o.width,a=void 0===i?"auto":i,u=o.height,s=o.columnWidths,l=void 0===s?[]:s,c=o.scrollWidth,f=void 0===c?0:c,d=o.isHoverCellBorder,p=o.resizingIndex,h=o.isResizing,v=_N.isNodeSelected(n,e),g=i6(x5.selection(n),1)[0],y=function(e){var t,n,r=[],o=e.reduce((function(e,t){return e+t}),0);try{for(var i=o6(e),a=i.next();!a.done;a=i.next()){var u=a.value;r.push(u/o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}(l),m=Fv("div",{className:"table-container","data-selected":v,on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!n.isDisabled()){t.target.closest('[data-block-type="table-cell"]')&&x5.unselect(n);var r=_N.findPath(n,e),o=Nf.start(n,r),i=n.selection;null!=i?i.anchor.path[0]!==r[0]&&n.select(o):n.select(o)}}}},Fv("table",{width:a,contentEditable:r,className:"table "+(g?"table-selection-none":""),style:{width:"100%"==a?"":l.reduce((function(e,t){return e+t}),0)+"px"},on:{mousemove:Zg((function(t){return function(e,t,n){if(!e.isDisabled()&&!u8&&!s8){var r=t,o=r.width,i=void 0===o?"auto":o,a=r.columnWidths,u=void 0===a?[]:a,s=r.isHoverCellBorder,l=r.resizingIndex;if("100%"!=i){var c=n.clientX,f=n.target;if(f instanceof HTMLElement&&c>(h=f.getBoundingClientRect()).x+5&&c<h.x+h.width-5)return void(s&&md.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(f instanceof HTMLElement){var d=f.closest(".table");if(d)for(var p=n.clientX,h=d.getBoundingClientRect(),v=function(e){var t,n,r=[],o=0;try{for(var i=o6(e),a=i.next();!a.done;a=i.next())o+=a.value,r.push(o)}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}(u),g=0;g<v.length;g++)if(p-h.x>=v[g]-5&&p-h.x<v[g]+5){if(l==g)return;return void md.setNodes(e,{isHoverCellBorder:!0,resizingIndex:g},{mode:"highest"})}}1==s&&md.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}}(n,e,t)}),25)}},Fv("colgroup",{contentEditable:!1},l.map((function(e){return Fv("col",{width:e})}))),Fv("tbody",null,t)),Fv("div",{className:"column-resizer",contenteditable:"false"},l.map((function(e,t){var r=e;return"100%"==a&&(r=y[t]*f),Fv("div",{className:"column-resizer-item",style:{minWidth:r+"px"}},Fv("div",{className:"resizer-line-hotzone "+(d&&t==p?"visible ":"")+(h&&t==p?"highlight":""),style:{height:u+"px"},on:{mouseenter:function(e){return v8(n,e)},mouseleave:function(e){return v8(n,e)},mousedown:function(e){return function(e,t){s8||(f8=e)}(n)}}},Fv("div",{className:"resizer-line"})))})))),b=pv("div",{hook:{insert:function(e){var t=e.elm;return function(e,t){if(t instanceof HTMLElement){var n=t.querySelector("table");n&&(a8=new ResizeObserver((function(t){var n=i6(t,1)[0].contentRect;md.setNodes(e,{scrollWidth:n.width,height:n.height},{mode:"highest"})}))).observe(n)}}(n,t)},destroy:function(){a8&&(null==a8||a8.disconnect(),a8=null)}}},m);return b}},b8={type:"table-row",renderElem:function(e,t,n){return Fv("tr",null,t)}},E8={type:"table-cell",renderElem:function(e,t,n){var r=function(e,t){var n=_N.getParentNode(e,t);if(null==n)return!1;var r=_N.getParentNode(e,n);return null!=r&&g8(r).some((function(e){return e===t}))}(n,e),o=e,i=o.colSpan,a=void 0===i?1:i,u=o.rowSpan,s=void 0===u?1:u,l=o.isHeader,c=void 0!==l&&l,f=o.hidden,d=void 0!==f&&f;return Fv(r&&c?"th":"td",{colSpan:a,rowSpan:s,"data-block-type":"table-cell",className:x5.isSelected(n,e)?"w-e-selected":"",style:{display:d?"none":""}},t)}},w8={selector:"table",preParseHtml:function(e){var t=Mp(e);if("table"!==i8(t))return e;var n=t.find("tbody");if(0===n.length)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}},S8=I3.filter,C8=X4("filter");Y2({target:"Array",proto:!0,forced:!C8},{filter:function(e){return S8(this,e,arguments.length>1?arguments[1]:void 0)}});var D8=Math.floor,A8=H0("".charAt),x8=H0("".replace),O8=H0("".slice),T8=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,N8=/\$([$&'`]|\d{1,2})/g,k8=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=N8;return void 0!==o&&(o=C1(o),s=T8),x8(i,s,(function(i,s){var l;switch(A8(s,0)){case"$":return"$";case"&":return e;case"`":return O8(t,0,n);case"'":return O8(t,a);case"<":l=o[O8(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=D8(c/10);return 0===f?i:f<=u?void 0===r[f-1]?A8(s,1):r[f-1]+A8(s,1):i}l=r[c-1]}return void 0===l?"":l}))},B8=P1("replace"),I8=Math.max,F8=Math.min,P8=H0([].concat),R8=H0([].push),_8=H0("".indexOf),L8=H0("".slice),j8="$0"==="a".replace(/./,"$0"),M8=!!/./[B8]&&""===/./[B8]("a","$0");L5("replace",(function(e,t,n){var r=M8?"$":"$0";return[function(e,n){var r=Y0(this),o=null==e?void 0:g1(e,B8);return o?I0(o,e,r,n):I0(t,r4(r),e,n)},function(e,o){var i=W1(this),a=r4(e);if("string"==typeof o&&-1===_8(o,r)&&-1===_8(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=Z0(o);s||(o=r4(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=$5(i,a);if(null===d)break;if(R8(f,d),!l)break;""===r4(d[0])&&(i.lastIndex=H5(a,O2(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=r4((d=f[g])[0]),m=I8(F8(S2(d.index),a.length),0),b=[],E=1;E<d.length;E++)R8(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=P8([y],b,m,a);void 0!==w&&R8(S,w);var C=r4(P5(o,void 0,S))}else C=k8(y,a,m,b,w,o);m>=v&&(h+=L8(a,v,m)+C,v=m+y.length)}return h+L8(a,v)}]}),!!N0((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!j8||M8),Y2({target:"Array",proto:!0},{fill:function(e){for(var t=C1(this),n=T2(t),r=arguments.length,o=A2(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:A2(i,n);a>o;)t[o++]=e;return t}}),d6("fill");var z8={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=Mp(e);0===(t=t.filter((function(e){return!!ed.isText(e)||!!n.isInline(e)}))).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===i8(r),colSpan:o,rowSpan:i,width:a,children:t}}},H8={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter((function(e){return"table-cell"===_N.getNodeType(e)}))}}},U8={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r,o=Mp(e),i="auto";"100%"===function(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");"width"===u[0].trim()&&(n=u[1].trim())}}return n}(o)&&(i="100%"),"100%"===o.attr("width")&&(i="100%");var a={type:"table",width:i,children:t.filter((function(e){return"table-row"===_N.getNodeType(e)}))},u=null===(r=o.find("tr")[0])||void 0===r?void 0:r.children.length;return u>0&&(a.columnWidths=Array(u).fill(180)),a}},$8=m2.PROPER,V8=RegExp.prototype,G8=V8.toString,W8=H0(u4),q8=N0((function(){return"/a/b"!=G8.call({source:"a",flags:"b"})})),K8=$8&&"toString"!=G8.name;(q8||K8)&&b2(RegExp.prototype,"toString",(function(){var e=W1(this),t=r4(e.source),n=e.flags;return"/"+t+"/"+r4(void 0===n&&t1(V8,e)&&!("flags"in V8)?W8(e):n)}),{unsafe:!0});var Y8=function(){function e(){this.title=GF("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!_N.getSelectedElems(e).some((function(t){var n=_N.getNodeType(t);return"pre"===n||"table"===n||"list-item"===n||!!e.isVoid(t)}))},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var n=Mp('<div class="w-e-panel-content-table"></div>'),r=Mp("<span>0 &times; 0</span>"),o=Mp("<table></table>"),i=0;i<10;i++){for(var a=Mp("<tr></tr>"),u=0;u<10;u++){var s=Mp("<td></td>");s.attr("data-x",u.toString()),s.attr("data-y",i.toString()),a.append(s),s.on("mouseenter",(function(e){var t=e.target;if(null!=t){var n=Mp(t).dataset(),i=n.x,a=n.y;r[0].innerHTML=i+1+" &times; "+(a+1),o.children().each((function(e){Mp(e).children().each((function(e){var t=Mp(e),n=t.dataset(),r=n.x,o=n.y;r<=i&&o<=a?t.addClass("active"):t.removeClass("active")}))}))}})),s.on("click",(function(n){n.preventDefault();var r=n.target;if(null!=r){var o=Mp(r).dataset(),i=o.x,a=o.y;t.insertTable(e,a+1,i+1)}}))}o.append(a)}return n.append(o),n.append(r),this.$content=n,n[0]},e.prototype.insertTable=function(e,t,n){var r=parseInt(t,10),o=parseInt(n,10);if(r&&o&&!(r<=0||o<=0)){_N.isSelectedEmptyParagraph(e)&&md.removeNodes(e,{mode:"highest"}),0===e.children.length&&md.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"});var i=function(e,t){for(var n=[],r=Array(t).fill(60),o=0;o<e;o++){for(var i=[],a=0;a<t;a++){var u={type:"table-cell",children:[{text:""}]};0===o&&(u.isHeader=!0),i.push(u)}n.push({type:"table-row",children:i})}return{type:"table",width:"auto",children:n,columnWidths:r}}(r,o);md.insertNodes(e,i,{mode:"highest"})}},e}(),X8=function(){function e(){this.title=GF("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==_N.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||md.removeNodes(e,{mode:"highest"})},e}(),Z8=function(){function e(){this.title=GF("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==_N.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table-cell")},universal:!0}),1),r=i6(n[0],2),o=r[0],i=r[1],a=_N.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(0!==u){var s=D5(e),l=0;e:for(var c=0;c<s.length;c++)for(var f=0;f<s[c].length;f++){var d=i6(s[c][f],1),p=i6(d[0],2)[1];if(Mf.equals(i,p)){l=c;break e}}Nf.withoutNormalizing(e,(function(){for(var t=l+1,n=t>=0&&t<s.length,r=[],o=0;n&&o<s[l].length;o++){var a=i6(s[l][o],2)[1],c=a.ttb,f=a.btt;if(c>1||f>1){if(1==f)continue;var d=i6(s[l-(c-1)][o],1),p=i6(d[0],2),h=p[0],v=p[1],g=h.rowSpan||1;r.push(o),h.hidden||md.setNodes(e,{rowSpan:g+1},{at:v})}}for(var y={type:"table-row",children:[]},m=0;m<u;m++){var b={type:"table-cell",hidden:r.includes(m),children:[{text:""}]};y.children.push(b)}var E=Mf.parent(i),w=Mf.next(E);md.insertNodes(e,y,{at:w})}))}}},e}(),J8=function(){function e(){this.title=GF("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==_N.getSelectedNodeByType(e,"table-row")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table-row")},universal:!0}),1),r=i6(n[0],2),o=r[0],i=r[1],a=_N.getParentNode(e,o);if(((null==a?void 0:a.children.length)||0)<=1)md.removeNodes(e,{mode:"highest"});else{var u=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table-cell")},universal:!0}),1),s=i6(u[0],2)[1],l=D5(e),c=0;e:for(var f=0;f<l.length;f++)for(var d=0;d<l[f].length;d++){var p=i6(l[f][d],1),h=i6(p[0],2)[1];if(Mf.equals(s,h)){c=f;break e}}Nf.withoutNormalizing(e,(function(){for(var t,n,r=0;r<l[c].length;r++){var o=i6(l[c][r],2),a=i6(o[0],1)[0].hidden,u=o[1],s=u.ttb,f=u.btt;if(s>1||f>1){var d=i6(l[c-(s-1)][r],1),p=i6(d[0],2),h=p[0],v=h.rowSpan,g=void 0===v?1:v,y=h.colSpan,m=void 0===y?1:y,b=p[1];if(a)md.setNodes(e,{rowSpan:Math.max(g-1,1),colSpan:m},{at:b});else{var E=i6(l[c+1][r],1),w=i6(E[0],2)[1];md.setNodes(e,{rowSpan:g-1,colSpan:m,hidden:!1},{at:w});try{for(var S=(t=void 0,o6(Rf.children(e,b,{reverse:!0}))),C=S.next();!C.done;C=S.next()){var D=i6(C.value,2)[1];md.moveNodes(e,{to:a6(a6([],i6(w)),[0]),at:D})}}catch(e){t={error:e}}finally{try{C&&!C.done&&(n=S.return)&&n.call(S)}finally{if(t)throw t.error}}}}}md.removeNodes(e,{at:i})}))}}},e}(),Q8=X4("splice"),e7=T0.TypeError,t7=Math.max,n7=Math.min;Y2({target:"Array",proto:!0,forced:!Q8},{splice:function(e,t){var n,r,o,i,a,u,s=C1(this),l=T2(s),c=A2(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=n7(t7(S2(t),0),l-c)),l+n-r>9007199254740991)throw e7("Maximum allowed length exceeded");for(o=N3(s,r),i=0;i<r;i++)(a=c+i)in s&&K4(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var r7=function(){function e(){this.title=GF("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==_N.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table-cell")},universal:!0}),1),r=i6(n[0],2),o=r[0],i=r[1],a=_N.getParentNode(e,o);if(null!=a){var u=_N.getParentNode(e,a);if(null!=u){var s=D5(e),l=0;e:for(var c=0;c<s.length;c++)for(var f=0;f<s[c].length;f++){var d=i6(s[c][f],1),p=i6(d[0],2)[1];if(Mf.equals(i,p)){l=f;break e}}Nf.withoutNormalizing(e,(function(){for(var t=[],n=0;n<s.length;n++){var r=i6(s[n][l],2)[1],o=r.ltr,i=r.rtl;if(o>1||i>1){if(1==i)continue;var a=i6(s[n][l-(i-1)],1),c=i6(a[0],2),f=c[0],d=c[1],p=f.colSpan||1;t.push(n),f.hidden||md.setNodes(e,{colSpan:p+1},{at:d})}}for(n=0;n<s.length;n++){var h={type:"table-cell",hidden:t.includes(n),children:[{text:""}]};0===n&&y8(u)&&(h.isHeader=!0);var v=i6(s[n][l],1),g=i6(v[0],2)[1];md.insertNodes(e,h,{at:g})}var y=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table")},universal:!0}),1)[0];if(y){var m=i6(y,2),b=m[0],E=m[1],w=b.columnWidths,S=a6([],i6(void 0===w?[]:w));S.splice(l,0,60),md.setNodes(e,{columnWidths:S},{at:E})}}))}}}},e}(),o7=function(){function e(){this.title=GF("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==_N.getSelectedNodeByType(e,"table-cell")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table-cell")},universal:!0}),1),r=i6(n[0],2),o=r[0],i=r[1],a=_N.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(!a||u<=1)md.removeNodes(e,{mode:"highest"});else if(null!=_N.getParentNode(e,a)){var s=D5(e),l=0;e:for(var c=0;c<s.length;c++)for(var f=0;f<s[c].length;f++){var d=i6(s[c][f],1),p=i6(d[0],2)[1];if(Mf.equals(i,p)){l=f;break e}}Nf.withoutNormalizing(e,(function(){for(var t,n,r=0;r<s.length;r++){var o=i6(s[r][l],2),i=i6(o[0],1)[0].hidden,a=o[1],u=a.rtl,c=a.ltr;if(u>1||c>1){var f=i6(s[r][l-(u-1)],1),d=i6(f[0],2),p=d[0],h=p.rowSpan,v=void 0===h?1:h,g=p.colSpan,y=void 0===g?1:g,m=d[1];if(i)md.setNodes(e,{rowSpan:v,colSpan:Math.max(y-1,1)},{at:m});else{var b=i6(s[r][l+1],1),E=i6(b[0],2)[1];md.setNodes(e,{rowSpan:v,colSpan:y-1,hidden:!1},{at:E});try{for(var w=(t=void 0,o6(Rf.children(e,m,{reverse:!0}))),S=w.next();!S.done;S=w.next()){var C=i6(S.value,2)[1];md.moveNodes(e,{to:a6(a6([],i6(E)),[0]),at:C})}}catch(e){t={error:e}}finally{try{S&&!S.done&&(n=w.return)&&n.call(w)}finally{if(t)throw t.error}}}}}for(r=0;r<s.length;r++){var D=i6(s[r][l],1);m=i6(D[0],2)[1],md.removeNodes(e,{at:m})}var A=i6(Nf.nodes(e,{match:function(e){return _N.checkNodeType(e,"table")},universal:!0}),1)[0];if(A){var x=i6(A,2),O=x[0],T=x[1],N=O.columnWidths,k=a6([],i6(void 0===N?[]:N));k.splice(l,1),md.setNodes(e,{columnWidths:k},{at:T})}}))}}},e}(),i7=I3.forEach,a7=function(e,t){var n=[].forEach;return!!n&&N0((function(){n.call(null,(function(){throw 1}),1)}))}(),u7=a7?[].forEach:function(e){return i7(this,e,arguments.length>1?arguments[1]:void 0)},s7=function(e){if(e&&e.forEach!==u7)try{X1(e,"forEach",u7)}catch(t){e.forEach=u7}};for(var l7 in V3)V3[l7]&&s7(T0[l7]&&T0[l7].prototype);s7(q3);var c7=function(){function e(){this.title=GF("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=_N.getSelectedNodeByType(e,"table");return null!=t&&y8(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==_N.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=!t,r=_N.getSelectedNodeByType(e,"table");null!=r&&g8(r).forEach((function(t){return md.setNodes(e,{isHeader:n},{at:_N.findPath(e,t)})}))}},e}(),f7=function(){function e(){this.title=GF("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=_N.getSelectedNodeByType(e,"table");return null!=t&&"100%"===t.width},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||null==_N.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n={width:t?"auto":"100%"};md.setNodes(e,n,{mode:"highest"})}},e}(),d7=function(){function e(){this.title=GF("tableModule.mergeCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M482.2 508.4 331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4c2.4-1.8 2.4-5.4 0-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4c-2.3 1.8-2.3 5.3 0 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return!this.canMerge(e)},e.prototype.exec=function(e,t){this.isDisabled(e)||(this.merge(e),x5.unselect(e))},e.prototype.canMerge=function(e){var t=l5.get(e);if(!t||!t.length)return!1;var n=i6(t[t.length-1][t[t.length-1].length-1],1),r=i6(n[0],2)[1],o=i6(t[0][0],1);return!!C5(e,[i6(o[0],2)[1],r],"table")},e.prototype.merge=function(e){if(this.canMerge(e)){var t=l5.get(e);if(t&&t.length){var n=i6(t[0][0],1),r=i6(n[0],2)[1],o=i6(Rf.children(e,r,{reverse:!0}),1),i=i6(o[0],2)[1];D5(e,{at:r}),Nf.withoutNormalizing(e,(function(){for(var n,o,a=0,u=0,s=t.length-1;s>=0;s--,a++){u=0;for(var l=t[s].length-1;l>=0;l--,u++){var c=i6(t[s][l],2),f=i6(c[0],2)[1],d=c[1].ttb;if(!(Mf.equals(r,f)||d>1)){try{for(var p=(n=void 0,o6(Rf.children(e,f,{reverse:!0}))),h=p.next();!h.done;h=p.next()){var v=i6(h.value,2)[1];md.moveNodes(e,{to:Mf.next(i),at:v})}}catch(e){n={error:e}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}var g=i6(Nf.nodes(e,{match:S5(e,"tr"),at:f}),1),y=i6(g[0],2)[1];i6(Rf.children(e,y),2)[1]&&md.setNodes(e,{hidden:!0},{at:f})}}}md.setNodes(e,{rowSpan:a,colSpan:u},{at:r})}))}}},e}(),p7=function(){function e(){this.title=GF("tableModule.splitCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M362.667 494.933v53.334l25.6-25.6zm0-241.066L460.8 352V78.933H57.6v98.134h305.067zm0 535.466v57.6H57.6v98.134h403.2V691.2zM661.333 494.933v53.334l-25.6-25.6zm0-241.066L563.2 352V78.933h403.2v98.134H661.333zm0 535.466v57.6H966.4v98.134H563.2V691.2z"/><path d="M753.067 341.333 693.333 281.6 512 460.8 330.667 281.6l-59.734 59.733 181.334 181.334L270.933 704l59.734 59.733L512 582.4l181.333 181.333L753.067 704 571.733 522.667z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=i6(Nf.nodes(e,{match:S5(e,"td")}),1),n=i6(t[0],1)[0],r=n.rowSpan,o=void 0===r?1:r,i=n.colSpan;return!(o>1||(void 0===i?1:i)>1)},e.prototype.exec=function(e,t){this.isDisabled(e)||this.split(e)},e.prototype.split=function(e,t){void 0===t&&(t={});var n=i6(Nf.nodes(e,{match:S5(e,"table","th","td"),at:t.at}),2),r=n[0],o=n[1];if(r&&o){var i=l5.get(e)||[],a=D5(e,{at:t.at});Nf.withoutNormalizing(e,(function(){for(var n=a.length-1;n>=0;n--)for(var r=a[n].length-1;r>=0;r--){var u=i6(a[n][r],2),s=i6(u[0],2)[1],l=u[1],c=l.ltr,f=l.rtl,d=l.btt,p=l.ttb;if(f>1)r-=f-2;else if(!(p>1||1===d&&1===c)){var h=!!t.all;if(i.length)e:for(var v=0;!t.all&&v<i.length;v++)for(var g=0;g<i[v].length;g++){var y=i6(i[v][g],1),m=i6(y[0],2)[1];if(Mf.equals(m,s)){h=!0;break e}}else m=i6(o,2)[1],Mf.equals(m,s)&&(h=!0);if(h){var b=i6(Nf.nodes(e,{match:S5(e,"table"),at:s}),1);i6(b[0],1)[0];e:for(var E=1;E<d;E++)for(v=r;v>=0;v--){var w=i6(a[n+E][v],2);if(i6(w[0],2)[1],1!=w[1].ttb){for(var S=0;S<c;S++){var C=i6(a[n+E][v+S],1),D=i6(C[0],2)[1];md.unsetNodes(e,["hidden","colSpan","rowSpan"],{at:D})}continue e}}for(S=1;S<c;S++){var A=i6(a[n][r+S],1);D=i6(A[0],2)[1],md.unsetNodes(e,["hidden","colSpan","rowSpan"],{at:D})}md.setNodes(e,{rowSpan:1,colSpan:1},{at:s})}}}}))}},e}(),h7={renderElems:[m8,b8,E8],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(void 0===n?"auto":n)+';table-layout: fixed;"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,o=void 0===r?1:r,i=n.rowSpan,a=void 0===i?1:i,u=n.isHeader,s=void 0!==u&&u,l=n.width,c=void 0===l?"auto":l,f=n.hidden,d=s?"th":"td";return"<"+d+' colSpan="'+o+'" rowSpan="'+a+'" width="'+c+'" style="'+(void 0!==f&&f?"display:none":"")+'">'+t+"</"+d+">"}}],preParseHtml:[w8],parseElemsHtml:[z8,H8,U8],menus:[{key:"insertTable",factory:function(){return new Y8}},{key:"deleteTable",factory:function(){return new X8}},{key:"insertTableRow",factory:function(){return new Z8}},{key:"deleteTableRow",factory:function(){return new J8}},{key:"insertTableCol",factory:function(){return new r7}},{key:"deleteTableCol",factory:function(){return new o7}},{key:"tableHeader",factory:function(){return new c7}},{key:"tableFullWidth",factory:function(){return new f7}},{key:"mergeTableCell",factory:function(){return new d7}},{key:"splitTableCell",factory:function(){return new p7}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,i=e.insertData,a=e.handleTab,u=e.selectAll,s=e;return s.insertBreak=function(){null==_N.getSelectedNodeByType(s,"table")?t():s.insertText("\n")},s.deleteBackward=function(e){if(!O5(s)){var t=s.selection;if(t){var r=Nf.before(s,t);if(r){var o=function(e,t){var n,r,o=Nf.nodes(e,{at:t,match:function(e){return"table"===_N.getNodeType(e)}}),i=!1;try{for(var a=o6(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}(s,r);if(o&&_N.isSelectedEmptyParagraph(s))return}}n(e)}},s.handleTab=function(){var t;if(_N.getSelectedNodeByType(s,"table")){var n=Nf.above(e);_N.checkNodeType(n[0],"table-cell")&&md.select(e,n[1]);var r=Nf.next(e);if(r)r[0]&&r[0].text&&(r=null!==(t=Nf.above(e,{at:r[1]}))&&void 0!==t?t:r),md.select(e,r[1]);else{var o=s.children||[],i=o.length;if(_N.checkNodeType(o[i-1],"table")){var u=_N.genEmptyParagraph();md.insertNodes(s,u,{at:[i]}),s.handleTab()}}}else a()},s.deleteForward=function(e){O5(s)||r(e)},s.normalizeNode=function(e){var t=i6(e,2),n=t[0],r=t[1];if("table"!==_N.getNodeType(n))return o([n,r]);if(_N.isLastNode(s,n)){var i=_N.genEmptyParagraph();md.insertNodes(s,i,{at:[r[0]+1]})}},s.insertData=function(e){if(null!=_N.getSelectedNodeByType(s,"table")){var t=e.getData("text/plain");"\n"===t||/<img[^>]+>/.test(e.getData("text/html"))?i(e):Nf.insertText(s,t)}else i(e)},s.selectAll=function(){var e=s.selection;if(null!=e){var t=_N.getSelectedNodeByType(s,"table-cell");if(null!=t){var n=e.anchor,r=e.focus;if(Mf.equals(n.path.slice(0,3),r.path.slice(0,3)))if(0!==Rf.string(t).length){var o=_N.findPath(s,t),i={anchor:Nf.start(s,o),focus:Nf.end(s,o)};s.select(i)}else u();else u()}else u()}else u()},function(e){var t=e.apply;e.apply=function(n){if(!jf.isSelectionOperation(n)||!n.newProperties)return t(n);var r=n6(n6({},e.selection),n.newProperties);if(!qf.isRange(r))return x5.unselect(e),t(n);var o=i6(Nf.nodes(e,{match:S5(e,"th","td"),at:qf.start(r)}),1)[0],i=i6(Nf.nodes(e,{match:S5(e,"th","td"),at:qf.end(r)}),1)[0];if(!o||!i)return x5.unselect(e),t(n);var a=i6(o,2)[1],u=i6(i,2)[1];if(Mf.equals(a,u)||!C5(e,[a,u],"table"))return x5.unselect(e),t(n);var s=D5(e,{at:a}),l=A5.valueOf(0,0),c=A5.valueOf(0,0);e:for(var f=0;f<s.length;f++)for(var d=0;d<s[f].length;d++){var p=i6(s[f][d],1),h=i6(p[0],2)[1];if(Mf.equals(a,h)&&(l.x=f,l.y=d),Mf.equals(u,h)){c.x=f,c.y=d;break e}}for(var v=A5.valueOf(Math.min(l.x,c.x),Math.min(l.y,c.y)),g=A5.valueOf(Math.max(l.x,c.x),Math.max(l.y,c.y));;){var y=A5.valueOf(v.x,v.y),m=A5.valueOf(g.x,g.y);for(f=y.x;f<=m.x;f++)for(d=y.y;d<=m.y;d++){var b=i6(s[f][d],2)[1],E=b.rtl,w=b.ltr,S=b.btt,C=b.ttb;y.x=Math.min(y.x,f-(C-1)),y.y=Math.min(y.y,d-(E-1)),m.x=Math.max(m.x,f+(S-1)),m.y=Math.max(m.y,d+(w-1))}if(A5.equals(v,y)&&A5.equals(g,m))break;v=y,g=m}var D=[],A=new WeakSet;for(f=v.x;f<=g.x;f++){var x=[];for(d=v.y;d<=g.y;d++){var O=i6(s[f][d],1),T=i6(O[0],1)[0];A.add(T),x.push(s[f][d])}D.push(x)}l5.set(e,D),c5.set(e,A),t(n)}}(s),s}};UF("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",edit:"Edit video",width:"Width",height:"Height"}}),UF("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var v7=function(){return v7=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},v7.apply(this,arguments)};function g7(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function y7(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function m7(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function b7(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}"function"==typeof SuppressedError&&SuppressedError;var E7="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function w7(e){var t={exports:{}};return e(t,t.exports),t.exports}var S7,C7,D7=function(e){return e&&e.Math==Math&&e},A7=D7("object"==typeof globalThis&&globalThis)||D7("object"==typeof window&&window)||D7("object"==typeof self&&self)||D7("object"==typeof E7&&E7)||function(){return this}()||Function("return this")(),x7=function(e){try{return!!e()}catch(e){return!0}},O7=!x7((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),T7=Function.prototype.call,N7=T7.bind?T7.bind(T7):function(){return T7.apply(T7,arguments)},k7={}.propertyIsEnumerable,B7=Object.getOwnPropertyDescriptor,I7={f:B7&&!k7.call({1:2},1)?function(e){var t=B7(this,e);return!!t&&t.enumerable}:k7},F7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},P7=Function.prototype,R7=P7.bind,_7=P7.call,L7=R7&&R7.bind(_7),j7=R7?function(e){return e&&L7(_7,e)}:function(e){return e&&function(){return _7.apply(e,arguments)}},M7=j7({}.toString),z7=j7("".slice),H7=function(e){return z7(M7(e),8,-1)},U7=A7.Object,$7=j7("".split),V7=x7((function(){return!U7("z").propertyIsEnumerable(0)}))?function(e){return"String"==H7(e)?$7(e,""):U7(e)}:U7,G7=A7.TypeError,W7=function(e){if(null==e)throw G7("Can't call method on "+e);return e},q7=function(e){return V7(W7(e))},K7=function(e){return"function"==typeof e},Y7=function(e){return"object"==typeof e?null!==e:K7(e)},X7=function(e){return K7(e)?e:void 0},Z7=function(e,t){return arguments.length<2?X7(A7[e]):A7[e]&&A7[e][t]},J7=j7({}.isPrototypeOf),Q7=Z7("navigator","userAgent")||"",e9=A7.process,t9=A7.Deno,n9=e9&&e9.versions||t9&&t9.version,r9=n9&&n9.v8;r9&&(C7=(S7=r9.split("."))[0]>0&&S7[0]<4?1:+(S7[0]+S7[1])),!C7&&Q7&&(!(S7=Q7.match(/Edge\/(\d+)/))||S7[1]>=74)&&(S7=Q7.match(/Chrome\/(\d+)/))&&(C7=+S7[1]);var o9=C7,i9=!!Object.getOwnPropertySymbols&&!x7((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o9&&o9<41})),a9=i9&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,u9=A7.Object,s9=a9?function(e){return"symbol"==typeof e}:function(e){var t=Z7("Symbol");return K7(t)&&J7(t.prototype,u9(e))},l9=A7.String,c9=function(e){try{return l9(e)}catch(e){return"Object"}},f9=A7.TypeError,d9=function(e){if(K7(e))return e;throw f9(c9(e)+" is not a function")},p9=function(e,t){var n=e[t];return null==n?void 0:d9(n)},h9=A7.TypeError,v9=Object.defineProperty,g9=function(e,t){try{v9(A7,e,{value:t,configurable:!0,writable:!0})}catch(n){A7[e]=t}return t},y9=A7["__core-js_shared__"]||g9("__core-js_shared__",{}),m9=w7((function(e){(e.exports=function(e,t){return y9[e]||(y9[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),b9=A7.Object,E9=function(e){return b9(W7(e))},w9=j7({}.hasOwnProperty),S9=Object.hasOwn||function(e,t){return w9(E9(e),t)},C9=0,D9=Math.random(),A9=j7(1..toString),x9=function(e){return"Symbol("+(void 0===e?"":e)+")_"+A9(++C9+D9,36)},O9=m9("wks"),T9=A7.Symbol,N9=T9&&T9.for,k9=a9?T9:T9&&T9.withoutSetter||x9,B9=function(e){if(!S9(O9,e)||!i9&&"string"!=typeof O9[e]){var t="Symbol."+e;i9&&S9(T9,e)?O9[e]=T9[e]:O9[e]=a9&&N9?N9(t):k9(t)}return O9[e]},I9=A7.TypeError,F9=B9("toPrimitive"),P9=function(e){var t=function(e,t){if(!Y7(e)||s9(e))return e;var n,r=p9(e,F9);if(r){if(void 0===t&&(t="default"),n=N7(r,e,t),!Y7(n)||s9(n))return n;throw I9("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&K7(n=e.toString)&&!Y7(r=N7(n,e)))return r;if(K7(n=e.valueOf)&&!Y7(r=N7(n,e)))return r;if("string"!==t&&K7(n=e.toString)&&!Y7(r=N7(n,e)))return r;throw h9("Can't convert object to primitive value")}(e,t)}(e,"string");return s9(t)?t:t+""},R9=A7.document,_9=Y7(R9)&&Y7(R9.createElement),L9=function(e){return _9?R9.createElement(e):{}},j9=!O7&&!x7((function(){return 7!=Object.defineProperty(L9("div"),"a",{get:function(){return 7}}).a})),M9=Object.getOwnPropertyDescriptor,z9={f:O7?M9:function(e,t){if(e=q7(e),t=P9(t),j9)try{return M9(e,t)}catch(e){}if(S9(e,t))return F7(!N7(I7.f,e,t),e[t])}},H9=A7.String,U9=A7.TypeError,$9=function(e){if(Y7(e))return e;throw U9(H9(e)+" is not an object")},V9=A7.TypeError,G9=Object.defineProperty,W9={f:O7?G9:function(e,t,n){if($9(e),t=P9(t),$9(n),j9)try{return G9(e,t,n)}catch(e){}if("get"in n||"set"in n)throw V9("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},q9=O7?function(e,t,n){return W9.f(e,t,F7(1,n))}:function(e,t,n){return e[t]=n,e},K9=j7(Function.toString);K7(y9.inspectSource)||(y9.inspectSource=function(e){return K9(e)});var Y9,X9,Z9,J9=y9.inspectSource,Q9=A7.WeakMap,eee=K7(Q9)&&/native code/.test(J9(Q9)),tee=m9("keys"),nee=function(e){return tee[e]||(tee[e]=x9(e))},ree={},oee=A7.TypeError,iee=A7.WeakMap;if(eee||y9.state){var aee=y9.state||(y9.state=new iee),uee=j7(aee.get),see=j7(aee.has),lee=j7(aee.set);Y9=function(e,t){if(see(aee,e))throw new oee("Object already initialized");return t.facade=e,lee(aee,e,t),t},X9=function(e){return uee(aee,e)||{}},Z9=function(e){return see(aee,e)}}else{var cee=nee("state");ree[cee]=!0,Y9=function(e,t){if(S9(e,cee))throw new oee("Object already initialized");return t.facade=e,q9(e,cee,t),t},X9=function(e){return S9(e,cee)?e[cee]:{}},Z9=function(e){return S9(e,cee)}}var fee={set:Y9,get:X9,has:Z9,enforce:function(e){return Z9(e)?X9(e):Y9(e,{})},getterFor:function(e){return function(t){var n;if(!Y7(t)||(n=X9(t)).type!==e)throw oee("Incompatible receiver, "+e+" required");return n}}},dee=Function.prototype,pee=O7&&Object.getOwnPropertyDescriptor,hee=S9(dee,"name"),vee={EXISTS:hee,PROPER:hee&&"something"===function(){}.name,CONFIGURABLE:hee&&(!O7||O7&&pee(dee,"name").configurable)},gee=w7((function(e){var t=vee.CONFIGURABLE,n=fee.get,r=fee.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;K7(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!S9(i,"name")||t&&i.name!==f)&&q9(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==A7?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:q9(e,n,i)):l?e[n]=i:g9(n,i)})(Function.prototype,"toString",(function(){return K7(this)&&n(this).source||J9(this)}))})),yee=Math.ceil,mee=Math.floor,bee=function(e){var t=+e;return t!=t||0===t?0:(t>0?mee:yee)(t)},Eee=Math.max,wee=Math.min,See=function(e,t){var n=bee(e);return n<0?Eee(n+t,0):wee(n,t)},Cee=Math.min,Dee=function(e){return e>0?Cee(bee(e),9007199254740991):0},Aee=function(e){return Dee(e.length)},xee=function(e){return function(t,n,r){var o,i=q7(t),a=Aee(i),u=See(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Oee={includes:xee(!0),indexOf:xee(!1)},Tee=Oee.indexOf,Nee=j7([].push),kee=function(e,t){var n,r=q7(e),o=0,i=[];for(n in r)!S9(ree,n)&&S9(r,n)&&Nee(i,n);for(;t.length>o;)S9(r,n=t[o++])&&(~Tee(i,n)||Nee(i,n));return i},Bee=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Iee=Bee.concat("length","prototype"),Fee={f:Object.getOwnPropertyNames||function(e){return kee(e,Iee)}},Pee={f:Object.getOwnPropertySymbols},Ree=j7([].concat),_ee=Z7("Reflect","ownKeys")||function(e){var t=Fee.f($9(e)),n=Pee.f;return n?Ree(t,n(e)):t},Lee=function(e,t){for(var n=_ee(t),r=W9.f,o=z9.f,i=0;i<n.length;i++){var a=n[i];S9(e,a)||r(e,a,o(t,a))}},jee=/#|\.prototype\./,Mee=function(e,t){var n=Hee[zee(e)];return n==$ee||n!=Uee&&(K7(t)?x7(t):!!t)},zee=Mee.normalize=function(e){return String(e).replace(jee,".").toLowerCase()},Hee=Mee.data={},Uee=Mee.NATIVE="N",$ee=Mee.POLYFILL="P",Vee=Mee,Gee=z9.f,Wee=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?A7:l?A7[u]||g9(u,{}):(A7[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Gee(n,r))&&a.value:n[r],!Vee(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Lee(i,o)}(e.sham||o&&o.sham)&&q9(i,"sham",!0),gee(n,r,i,e)}},qee={};qee[B9("toStringTag")]="z";var Kee="[object z]"===String(qee),Yee=B9("toStringTag"),Xee=A7.Object,Zee="Arguments"==H7(function(){return arguments}()),Jee=Kee?H7:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Xee(e),Yee))?n:Zee?H7(t):"Object"==(r=H7(t))&&K7(t.callee)?"Arguments":r},Qee=A7.String,ete=function(e){if("Symbol"===Jee(e))throw TypeError("Cannot convert a Symbol value to a string");return Qee(e)},tte="\t\n\v\f\r                 \u2028\u2029\ufeff",nte=j7("".replace),rte="["+tte+"]",ote=RegExp("^"+rte+rte+"*"),ite=RegExp(rte+rte+"*$"),ate=function(e){return function(t){var n=ete(W7(t));return 1&e&&(n=nte(n,ote,"")),2&e&&(n=nte(n,ite,"")),n}},ute={start:ate(1),end:ate(2),trim:ate(3)},ste=vee.PROPER,lte=ute.trim;function cte(e){return e.length?e[0].tagName.toLowerCase():""}function fte(e,t,n,r){void 0===t&&(t="auto"),void 0===n&&(n="auto"),void 0===r&&(r={});var o=Mp(e),i=r.width,a=void 0===i?"":i,u=r.height,s=void 0===u?"":u,l="";return a&&(l+="width: "+a+";"),s&&(l+="height: "+s+";"),o.attr("width",t),o.attr("height",n),o.attr("style",l),o[0].outerHTML}Wee({target:"String",proto:!0,forced:("trim",x7((function(){return!!tte.trim()||"​…᠎"!=="​…᠎".trim()||ste&&"trim"!==tte.trim.name})))},{trim:function(){return lte(this)}}),Wee({global:!0},{globalThis:A7}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),yh&&(Mp.fn.focus=yh),$p&&(Mp.fn.attr=$p),Wp&&(Mp.fn.val=Wp),rh&&(Mp.fn.html=rh),sh&&(Mp.fn.parent=sh),Up&&(Mp.fn.hasClass=Up),ph&&(Mp.fn.empty=ph);var dte,pte={type:"video",renderElem:function(e,t,n){var r,o=e,i=o.src,a=void 0===i?"":i,u=o.poster,s=void 0===u?"":u,l=o.key,c=void 0===l?"":l,f=o.width,d=void 0===f?"auto":f,p=o.height,h=void 0===p?"auto":p,v=o.style,g=void 0===v?{}:v,y=o.textAlign,m=void 0===y?"center":y,b=_N.isNodeSelected(n,e);if(0===a.trim().indexOf("<iframe ")){r=Fv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m},innerHTML:fte(a,d,h,g)})}else{var E=Fv("video",{key:c,poster:s,controls:!0,style:g},Fv("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==d&&(E.data.width=d),"auto"!==h&&(E.data.height=h),r=Fv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m}},E)}return pv("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},r)}},hte={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,o=void 0===r?"":r,i=n.poster,a=void 0===i?"":i,u=n.width,s=void 0===u?"auto":u,l=n.height,c=void 0===l?"auto":l,f=n.style,d=void 0===f?{}:f,p=n.textAlign,h='<div data-w-e-type="video" data-w-e-is-void style="text-align: '+(void 0===p?"center":p)+';">\n';if(0===o.trim().indexOf("<iframe "))h+=fte(o,s,c,d);else{var v=d.width,g=void 0===v?"":v,y=d.height,m=void 0===y?"":y,b="";g&&(b+="width: "+g+";"),m&&(b+="height: "+m+";"),h+='<video poster="'+a+'" controls="true" width="'+s+'" height="'+c+'" style="'+b+'"><source src="'+o+'" type="video/mp4"/></video>'}return h+"\n</div>"}},vte=Object.keys||function(e){return kee(e,Bee)},gte=O7?Object.defineProperties:function(e,t){$9(e);for(var n,r=q7(t),o=vte(t),i=o.length,a=0;i>a;)W9.f(e,n=o[a++],r[n]);return e},yte=Z7("document","documentElement"),mte=nee("IE_PROTO"),bte=function(){},Ete=function(e){return"<script>"+e+"<\/script>"},wte=function(e){e.write(Ete("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ste=function(){try{dte=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ste="undefined"!=typeof document?document.domain&&dte?wte(dte):((t=L9("iframe")).style.display="none",yte.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ete("document.F=Object")),e.close(),e.F):wte(dte);for(var n=Bee.length;n--;)delete Ste.prototype[Bee[n]];return Ste()};ree[mte]=!0;var Cte=Object.create||function(e,t){var n;return null!==e?(bte.prototype=$9(e),n=new bte,bte.prototype=null,n[mte]=e):n=Ste(),void 0===t?n:gte(n,t)},Dte=B9("unscopables"),Ate=Array.prototype;null==Ate[Dte]&&W9.f(Ate,Dte,{configurable:!0,value:Cte(null)});var xte=function(e){Ate[Dte][e]=!0},Ote=Oee.includes;Wee({target:"Array",proto:!0},{includes:function(e){return Ote(this,e,arguments.length>1?arguments[1]:void 0)}}),xte("includes");var Tte={selector:"iframe,video,p",preParseHtml:function(e){var t=Mp(e),n=t;if("p"===cte(t)){var r=t.children();if(1===r.length){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=Mp(o))}}var a=cte(n);if("iframe"!==a&&"video"!==a)return n[0];if("video"===n.parent().attr("data-w-e-type"))return n[0];var u=Mp('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return u.append(n),u[0]}},Nte=j7(j7.bind),kte=function(e,t){return d9(e),void 0===t?e:Nte?Nte(e,t):function(){return e.apply(t,arguments)}},Bte=Array.isArray||function(e){return"Array"==H7(e)},Ite=function(){},Fte=[],Pte=Z7("Reflect","construct"),Rte=/^\s*(?:class|function)\b/,_te=j7(Rte.exec),Lte=!Rte.exec(Ite),jte=function(e){if(!K7(e))return!1;try{return Pte(Ite,Fte,e),!0}catch(e){return!1}},Mte=!Pte||x7((function(){var e;return jte(jte.call)||!jte(Object)||!jte((function(){e=!0}))||e}))?function(e){if(!K7(e))return!1;switch(Jee(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Lte||!!_te(Rte,J9(e))}:jte,zte=B9("species"),Hte=A7.Array,Ute=function(e,t){return new(function(e){var t;return Bte(e)&&(t=e.constructor,(Mte(t)&&(t===Hte||Bte(t.prototype))||Y7(t)&&null===(t=t[zte]))&&(t=void 0)),void 0===t?Hte:t}(e))(0===t?0:t)},$te=j7([].push),Vte=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=E9(s),v=V7(h),g=kte(l,c),y=Aee(v),m=0,b=f||Ute,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:$te(E,d)}else switch(e){case 4:return!1;case 7:$te(E,d)}return i?-1:r||o?o:E}},Gte={forEach:Vte(0),map:Vte(1),filter:Vte(2),some:Vte(3),every:Vte(4),find:Vte(5),findIndex:Vte(6),filterReject:Vte(7)},Wte=Gte.find,qte=!0;"find"in[]&&Array(1).find((function(){qte=!1})),Wee({target:"Array",proto:!0,forced:qte},{find:function(e){return Wte(this,e,arguments.length>1?arguments[1]:void 0)}}),xte("find");var Kte=Kee?{}.toString:function(){return"[object "+Jee(this)+"]"};function Yte(e,t,n,r,o){return void 0===t&&(t=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),void 0===o&&(o={}),{type:"video",src:e,poster:t,width:n,height:r,style:o,children:[{text:""}]}}Kee||gee(Object.prototype,"toString",Kte,{unsafe:!0});var Xte,Zte,Jte={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=Mp(e),o="",i="",a="auto",u="auto",s={},l=r.find("iframe");if(l.length>0)return a=l.attr("width")||"auto",u=l.attr("height")||"auto",s=l.attr("style")||{},Yte(o=l[0].outerHTML,i,a,u,s);var c=r.find("video");return(o=c.attr("src")||"")||c.length>0&&(o=c.find("source").attr("src")||""),a=c.attr("width")||"auto",u=c.attr("height")||"auto",Yte(o,i=c.attr("poster")||"",a,u,s=l.attr("style")||{})}},Qte=function(){var e=$9(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},ene=A7.RegExp,tne=x7((function(){var e=ene("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),nne=tne||x7((function(){return!ene("a","y").sticky})),rne={BROKEN_CARET:tne||x7((function(){var e=ene("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:nne,UNSUPPORTED_Y:tne},one=A7.RegExp,ine=x7((function(){var e=one(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),ane=A7.RegExp,une=x7((function(){var e=ane("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),sne=fee.get,lne=m9("native-string-replace",String.prototype.replace),cne=RegExp.prototype.exec,fne=cne,dne=j7("".charAt),pne=j7("".indexOf),hne=j7("".replace),vne=j7("".slice),gne=(Zte=/b*/g,N7(cne,Xte=/a/,"a"),N7(cne,Zte,"a"),0!==Xte.lastIndex||0!==Zte.lastIndex),yne=rne.BROKEN_CARET,mne=void 0!==/()??/.exec("")[1];(gne||mne||yne||ine||une)&&(fne=function(e){var t,n,r,o,i,a,u,s=this,l=sne(s),c=ete(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=N7(fne,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=yne&&s.sticky,h=N7(Qte,s),v=s.source,g=0,y=c;if(p&&(h=hne(h,"y",""),-1===pne(h,"g")&&(h+="g"),y=vne(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==dne(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),mne&&(n=new RegExp("^"+v+"$(?!\\s)",h)),gne&&(r=s.lastIndex),o=N7(cne,p?n:s,y),p?o?(o.input=vne(o.input,g),o[0]=vne(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:gne&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),mne&&o&&o.length>1&&N7(lne,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Cte(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var bne=fne;Wee({target:"RegExp",proto:!0,forced:/./.exec!==bne},{exec:bne});var Ene=Function.prototype,wne=Ene.apply,Sne=Ene.bind,Cne=Ene.call,Dne="object"==typeof Reflect&&Reflect.apply||(Sne?Cne.bind(wne):function(){return Cne.apply(wne,arguments)}),Ane=(B9("species"),RegExp.prototype),xne=j7("".charAt),One=j7("".charCodeAt),Tne=j7("".slice),Nne=function(e){return function(t,n){var r,o,i=ete(W7(t)),a=bee(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=One(i,a))<55296||r>56319||a+1===u||(o=One(i,a+1))<56320||o>57343?e?xne(i,a):r:e?Tne(i,a,a+2):o-56320+(r-55296<<10)+65536}},kne={codeAt:Nne(!1),charAt:Nne(!0)},Bne=kne.charAt,Ine=function(e,t,n){return t+(n?Bne(e,t).length:1)},Fne=Math.floor,Pne=j7("".charAt),Rne=j7("".replace),_ne=j7("".slice),Lne=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,jne=/\$([$&'`]|\d{1,2})/g,Mne=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=jne;return void 0!==o&&(o=E9(o),s=Lne),Rne(i,s,(function(i,s){var l;switch(Pne(s,0)){case"$":return"$";case"&":return e;case"`":return _ne(t,0,n);case"'":return _ne(t,a);case"<":l=o[_ne(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=Fne(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Pne(s,1):r[f-1]+Pne(s,1):i}l=r[c-1]}return void 0===l?"":l}))},zne=A7.TypeError,Hne=function(e,t){var n=e.exec;if(K7(n)){var r=N7(n,e,t);return null!==r&&$9(r),r}if("RegExp"===H7(e))return N7(bne,e,t);throw zne("RegExp#exec called on incompatible receiver")},Une=B9("replace"),$ne=Math.max,Vne=Math.min,Gne=j7([].concat),Wne=j7([].push),qne=j7("".indexOf),Kne=j7("".slice),Yne="$0"==="a".replace(/./,"$0"),Xne=!!/./[Une]&&""===/./[Une]("a","$0");function Zne(e){return void 0===e&&(e="r"),e+"-"+jh()}!function(e,t,n,r){var o=B9(e),i=!x7((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!x7((function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=j7(/./[o]),s=function(e,t,n){var r=Xne?"$":"$0";return[function(e,n){var r=W7(this),o=null==e?void 0:p9(e,Une);return o?N7(o,e,r,n):N7(t,ete(r),e,n)},function(e,o){var i=$9(this),a=ete(e);if("string"==typeof o&&-1===qne(o,r)&&-1===qne(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=K7(o);s||(o=ete(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=Hne(i,a);if(null===d)break;if(Wne(f,d),!l)break;""===ete(d[0])&&(i.lastIndex=Ine(a,Dee(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=ete((d=f[g])[0]),m=$ne(Vne(bee(d.index),a.length),0),b=[],E=1;E<d.length;E++)Wne(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=Gne([y],b,m,a);void 0!==w&&Wne(S,w);var C=ete(Dne(o,void 0,S))}else C=Mne(y,a,m,b,w,o);m>=v&&(h+=Kne(a,v,m)+C,v=m+y.length)}return h+Kne(a,v)}]}(0,""[e],(function(e,t,n,r,o){var a=j7(e),s=t.exec;return s===bne||s===Ane.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));gee(String.prototype,e,s[0]),gee(Ane,o,s[1])}}("replace",0,!!x7((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Yne||Xne);var Jne=A7.Promise,Qne=function(e,t,n){for(var r in t)gee(e,r,t[r],n);return e},ere=A7.String,tre=A7.TypeError,nre=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=j7(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return $9(n),function(e){if("object"==typeof e||K7(e))return e;throw tre("Can't set "+ere(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),rre=W9.f,ore=B9("toStringTag"),ire=function(e,t,n){e&&!S9(e=n?e:e.prototype,ore)&&rre(e,ore,{configurable:!0,value:t})},are=B9("species"),ure=A7.TypeError,sre=function(e,t){if(J7(t,e))return e;throw ure("Incorrect invocation")},lre={},cre=B9("iterator"),fre=Array.prototype,dre=B9("iterator"),pre=function(e){if(null!=e)return p9(e,dre)||p9(e,"@@iterator")||lre[Jee(e)]},hre=A7.TypeError,vre=function(e,t,n){var r,o;$9(e);try{if(!(r=p9(e,"return"))){if("throw"===t)throw n;return n}r=N7(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return $9(r),n},gre=A7.TypeError,yre=function(e,t){this.stopped=e,this.result=t},mre=yre.prototype,bre=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=kte(t,f),g=function(e){return r&&vre(r,"normal",e),new yre(!0,e)},y=function(e){return d?($9(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=pre(e)))throw gre(c9(e)+" is not iterable");if(void 0!==(c=o)&&(lre.Array===c||fre[cre]===c)){for(i=0,a=Aee(e);a>i;i++)if((u=y(e[i]))&&J7(mre,u))return u;return new yre(!1)}r=function(e,t){var n=arguments.length<2?pre(e):t;if(d9(n))return $9(N7(n,e));throw hre(c9(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=N7(s,r)).done;){try{u=y(l.value)}catch(e){vre(r,"throw",e)}if("object"==typeof u&&u&&J7(mre,u))return u}return new yre(!1)},Ere=B9("iterator"),wre=!1;try{var Sre=0,Cre={next:function(){return{done:!!Sre++}},return:function(){wre=!0}};Cre[Ere]=function(){return this},Array.from(Cre,(function(){throw 2}))}catch(Ml){}var Dre,Are,xre,Ore,Tre=function(e,t){if(!t&&!wre)return!1;var n=!1;try{var r={};r[Ere]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Nre=A7.TypeError,kre=B9("species"),Bre=j7([].slice),Ire=/(?:ipad|iphone|ipod).*applewebkit/i.test(Q7),Fre="process"==H7(A7.process),Pre=A7.setImmediate,Rre=A7.clearImmediate,_re=A7.process,Lre=A7.Dispatch,jre=A7.Function,Mre=A7.MessageChannel,zre=A7.String,Hre=0,Ure={};try{Dre=A7.location}catch(Ml){}var $re=function(e){if(S9(Ure,e)){var t=Ure[e];delete Ure[e],t()}},Vre=function(e){return function(){$re(e)}},Gre=function(e){$re(e.data)},Wre=function(e){A7.postMessage(zre(e),Dre.protocol+"//"+Dre.host)};Pre&&Rre||(Pre=function(e){var t=Bre(arguments,1);return Ure[++Hre]=function(){Dne(K7(e)?e:jre(e),void 0,t)},Are(Hre),Hre},Rre=function(e){delete Ure[e]},Fre?Are=function(e){_re.nextTick(Vre(e))}:Lre&&Lre.now?Are=function(e){Lre.now(Vre(e))}:Mre&&!Ire?(Ore=(xre=new Mre).port2,xre.port1.onmessage=Gre,Are=kte(Ore.postMessage,Ore)):A7.addEventListener&&K7(A7.postMessage)&&!A7.importScripts&&Dre&&"file:"!==Dre.protocol&&!x7(Wre)?(Are=Wre,A7.addEventListener("message",Gre,!1)):Are="onreadystatechange"in L9("script")?function(e){yte.appendChild(L9("script")).onreadystatechange=function(){yte.removeChild(this),$re(e)}}:function(e){setTimeout(Vre(e),0)});var qre,Kre,Yre,Xre,Zre,Jre,Qre,eoe,toe={set:Pre,clear:Rre},noe=/ipad|iphone|ipod/i.test(Q7)&&void 0!==A7.Pebble,roe=/web0s(?!.*chrome)/i.test(Q7),ooe=z9.f,ioe=toe.set,aoe=A7.MutationObserver||A7.WebKitMutationObserver,uoe=A7.document,soe=A7.process,loe=A7.Promise,coe=ooe(A7,"queueMicrotask"),foe=coe&&coe.value;foe||(qre=function(){var e,t;for(Fre&&(e=soe.domain)&&e.exit();Kre;){t=Kre.fn,Kre=Kre.next;try{t()}catch(e){throw Kre?Xre():Yre=void 0,e}}Yre=void 0,e&&e.enter()},Ire||Fre||roe||!aoe||!uoe?!noe&&loe&&loe.resolve?((Qre=loe.resolve(void 0)).constructor=loe,eoe=kte(Qre.then,Qre),Xre=function(){eoe(qre)}):Fre?Xre=function(){soe.nextTick(qre)}:(ioe=kte(ioe,A7),Xre=function(){ioe(qre)}):(Zre=!0,Jre=uoe.createTextNode(""),new aoe(qre).observe(Jre,{characterData:!0}),Xre=function(){Jre.data=Zre=!Zre}));var doe,poe,hoe,voe,goe=foe||function(e){var t={fn:e,next:void 0};Yre&&(Yre.next=t),Kre||(Kre=t,Xre()),Yre=t},yoe=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=d9(t),this.reject=d9(n)},moe={f:function(e){return new yoe(e)}},boe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Eoe="object"==typeof window,woe=toe.set,Soe=B9("species"),Coe="Promise",Doe=fee.getterFor(Coe),Aoe=fee.set,xoe=fee.getterFor(Coe),Ooe=Jne&&Jne.prototype,Toe=Jne,Noe=Ooe,koe=A7.TypeError,Boe=A7.document,Ioe=A7.process,Foe=moe.f,Poe=Foe,Roe=!!(Boe&&Boe.createEvent&&A7.dispatchEvent),_oe=K7(A7.PromiseRejectionEvent),Loe=!1,joe=Vee(Coe,(function(){var e=J9(Toe),t=e!==String(Toe);if(!t&&66===o9)return!0;if(o9>=51&&/native code/.test(e))return!1;var n=new Toe((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Soe]=r,!(Loe=n.then((function(){}))instanceof r)||!t&&Eoe&&!_oe})),Moe=joe||!Tre((function(e){Toe.all(e).catch((function(){}))})),zoe=function(e){var t;return!(!Y7(e)||!K7(t=e.then))&&t},Hoe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;goe((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&Goe(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(koe("Promise-chain cycle")):(u=zoe(a))?N7(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&$oe(e)}))}},Uoe=function(e,t,n){var r,o;Roe?((r=Boe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),A7.dispatchEvent(r)):r={promise:t,reason:n},!_oe&&(o=A7["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=A7.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},$oe=function(e){N7(woe,A7,(function(){var t,n=e.facade,r=e.value;if(Voe(e)&&(t=boe((function(){Fre?Ioe.emit("unhandledRejection",r,n):Uoe("unhandledrejection",n,r)})),e.rejection=Fre||Voe(e)?2:1,t.error))throw t.value}))},Voe=function(e){return 1!==e.rejection&&!e.parent},Goe=function(e){N7(woe,A7,(function(){var t=e.facade;Fre?Ioe.emit("rejectionHandled",t):Uoe("rejectionhandled",t,e.value)}))},Woe=function(e,t,n){return function(r){e(t,r,n)}},qoe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Hoe(e,!0))},Koe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw koe("Promise can't be resolved itself");var r=zoe(t);r?goe((function(){var n={done:!1};try{N7(r,t,Woe(Koe,n,e),Woe(qoe,n,e))}catch(t){qoe(n,t,e)}})):(e.value=t,e.state=1,Hoe(e,!1))}catch(t){qoe({done:!1},t,e)}}};if(joe&&(Noe=(Toe=function(e){sre(this,Noe),d9(e),N7(doe,this);var t=Doe(this);try{e(Woe(Koe,t),Woe(qoe,t))}catch(e){qoe(t,e)}}).prototype,(doe=function(e){Aoe(this,{type:Coe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Qne(Noe,{then:function(e,t){var n=xoe(this),r=n.reactions,o=Foe(function(e,t){var n,r=$9(e).constructor;return void 0===r||null==(n=$9(r)[kre])?t:function(e){if(Mte(e))return e;throw Nre(c9(e)+" is not a constructor")}(n)}(this,Toe));return o.ok=!K7(e)||e,o.fail=K7(t)&&t,o.domain=Fre?Ioe.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&Hoe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),poe=function(){var e=new doe,t=Doe(e);this.promise=e,this.resolve=Woe(Koe,t),this.reject=Woe(qoe,t)},moe.f=Foe=function(e){return e===Toe||e===hoe?new poe(e):Poe(e)},K7(Jne)&&Ooe!==Object.prototype)){voe=Ooe.then,Loe||(gee(Ooe,"then",(function(e,t){var n=this;return new Toe((function(e,t){N7(voe,n,e,t)})).then(e,t)}),{unsafe:!0}),gee(Ooe,"catch",Noe.catch,{unsafe:!0}));try{delete Ooe.constructor}catch(Ml){}nre&&nre(Ooe,Noe)}function Yoe(e,t,n,r,o){return void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o=""),g7(this,void 0,void 0,(function(){var i,a,u,s,l,c,f;return y7(this,(function(d){switch(d.label){case 0:return t?(e.restoreSelection(),i=e.getMenuConfig("insertVideo"),a=i.onInsertedVideo,u=i.checkVideo,s=i.parseVideoSrc,[4,u(t,n)]):[2];case 1:return"string"==typeof(l=d.sent())?(e.alert(l,"error"),[2]):null==l?[2]:[4,s(t)];case 2:return 0!==(c=d.sent()).trim().indexOf("<iframe ")&&(c=c.replace(/</g,"&lt;").replace(/>/g,"&gt;")),_N.isSelectedEmptyParagraph(e)&&md.removeNodes(e,{mode:"highest"}),f={type:"video",src:c,poster:n,children:[{text:""}],style:{width:r,height:o}},Promise.resolve().then((function(){md.insertNodes(e,f)})),a(f),[2]}}))}))}function Xoe(){return Zne("w-e-insert-video")}Wee({global:!0,wrap:!0,forced:joe},{Promise:Toe}),ire(Toe,Coe,!1),function(e){var t=Z7("Promise"),n=W9.f;O7&&t&&!t[are]&&n(t,are,{configurable:!0,get:function(){return this}})}(),hoe=Z7(Coe),Wee({target:Coe,stat:!0,forced:joe},{reject:function(e){var t=Foe(this);return N7(t.reject,void 0,e),t.promise}}),Wee({target:Coe,stat:!0,forced:joe},{resolve:function(e){return function(e,t){if($9(e),Y7(t)&&t.constructor===e)return t;var n=moe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),Wee({target:Coe,stat:!0,forced:Moe},{all:function(e){var t=this,n=Foe(t),r=n.resolve,o=n.reject,i=boe((function(){var n=d9(t.resolve),i=[],a=0,u=1;bre(e,(function(e){var s=a++,l=!1;u++,N7(n,t,e).then((function(e){l||(l=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Foe(t),r=n.reject,o=boe((function(){var o=d9(t.resolve);bre(e,(function(e){N7(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Zoe=function(){function e(){this.title=GF("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=Xoe(),this.posterInputId=Xoe(),this.buttonId=Xoe()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!_N.getSelectedElems(e).some((function(t){var n=_N.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)}))},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,a=m7(AI(GF("videoModule.videoSrc"),r,GF("videoModule.videoSrcPlaceHolder")),2),u=a[0],s=a[1],l=m7(AI(GF("videoModule.videoPoster"),o,GF("videoModule.videoPosterPlaceHolder")),2),c=l[0],f=l[1],d=Mp(s),p=Mp(f),h=m7(OI(i,GF("videoModule.ok")),1)[0];if(null==this.$content){var v=Mp("<div></div>");v.on("click","#"+i,(function(n){return g7(t,void 0,void 0,(function(){var t,i;return y7(this,(function(a){switch(a.label){case 0:return n.preventDefault(),t=v.find("#"+r).val().trim(),i=v.find("#"+o).val().trim(),[4,Yoe(e,t,i)];case 1:return a.sent(),e.hidePanelOrModal(),[2]}}))}))})),this.$content=v}var g=this.$content;return g.empty(),g.append(u),g.append(c),g.append(h),d.val(""),p.val(""),setTimeout((function(){d.focus()})),g[0]},e}(),Joe=j7([].join),Qoe=V7!=Object,eie=function(e,t){var n=[].join;return!!n&&x7((function(){n.call(null,",",1)}))}();Wee({target:"Array",proto:!0,forced:Qoe||!eie},{join:function(e){return Joe(q7(this),void 0===e?",":e)}});var tie,nie,rie,oie=!x7((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),iie=nee("IE_PROTO"),aie=A7.Object,uie=aie.prototype,sie=oie?aie.getPrototypeOf:function(e){var t=E9(e);if(S9(t,iie))return t[iie];var n=t.constructor;return K7(n)&&t instanceof n?n.prototype:t instanceof aie?uie:null},lie=B9("iterator"),cie=!1;[].keys&&("next"in(rie=[].keys())?(nie=sie(sie(rie)))!==Object.prototype&&(tie=nie):cie=!0);var fie=null==tie||x7((function(){var e={};return tie[lie].call(e)!==e}));fie&&(tie={}),K7(tie[lie])||gee(tie,lie,(function(){return this}));var die={IteratorPrototype:tie,BUGGY_SAFARI_ITERATORS:cie},pie=die.IteratorPrototype,hie=function(){return this},vie=vee.PROPER,gie=vee.CONFIGURABLE,yie=die.IteratorPrototype,mie=die.BUGGY_SAFARI_ITERATORS,bie=B9("iterator"),Eie=function(){return this},wie=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Cte(pie,{next:F7(1,n)}),ire(e,o,!1),lre[o]=hie}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!mie&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[bie]||p["@@iterator"]||o&&p[o],v=!mie&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=sie(g.call(new e)))!==Object.prototype&&u.next&&(sie(u)!==yie&&(nre?nre(u,yie):K7(u[bie])||gee(u,bie,Eie)),ire(u,f,!0)),vie&&"values"==o&&h&&"values"!==h.name&&(gie?q9(p,"name","values"):(d=!0,v=function(){return N7(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(mie||d||!(l in p))&&gee(p,l,s[l]);else Wee({target:t,proto:!0,forced:mie||d},s);return p[bie]!==v&&gee(p,bie,v,{name:o}),lre[t]=v,s},Sie=fee.set,Cie=fee.getterFor("Array Iterator"),Die=wie(Array,"Array",(function(e,t){Sie(this,{type:"Array Iterator",target:q7(e),index:0,kind:t})}),(function(){var e=Cie(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");lre.Arguments=lre.Array,xte("keys"),xte("values"),xte("entries");var Aie=kne.charAt,xie=fee.set,Oie=fee.getterFor("String Iterator");wie(String,"String",(function(e){xie(this,{type:"String Iterator",string:ete(e),index:0})}),(function(){var e,t=Oie(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Aie(n,r),t.index+=e.length,{value:e,done:!1})}));var Tie=function(e,t,n){var r=P9(t);r in e?W9.f(e,r,F7(0,n)):e[r]=n},Nie=A7.Array,kie=Math.max,Bie=Fee.f,Iie="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Fie={f:function(e){return Iie&&"Window"==H7(e)?function(e){try{return Bie(e)}catch(e){return function(e,t,n){for(var r=Aee(e),o=See(void 0,r),i=See(r,r),a=Nie(kie(i-o,0)),u=0;o<i;o++,u++)Tie(a,u,e[o]);return a.length=u,a}(Iie)}}(e):Bie(q7(e))}},Pie=x7((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Rie=Object.isExtensible,_ie=x7((function(){Rie(1)}))||Pie?function(e){return!!Y7(e)&&(!Pie||"ArrayBuffer"!=H7(e))&&(!Rie||Rie(e))}:Rie,Lie=!x7((function(){return Object.isExtensible(Object.preventExtensions({}))})),jie=w7((function(e){var t=W9.f,n=!1,r=x9("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Fee.f,t=j7([].splice),o={};o[r]=1,e(o).length&&(Fee.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},Wee({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Fie.f}))},fastKey:function(e,t){if(!Y7(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!S9(e,r)){if(!_ie(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!S9(e,r)){if(!_ie(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Lie&&n&&_ie(e)&&!S9(e,r)&&i(e),e}};ree[r]=!0})),Mie=jie.getWeakData,zie=fee.set,Hie=fee.getterFor,Uie=Gte.find,$ie=Gte.findIndex,Vie=j7([].splice),Gie=0,Wie=function(e){return e.frozen||(e.frozen=new qie)},qie=function(){this.entries=[]},Kie=function(e,t){return Uie(e.entries,(function(e){return e[0]===t}))};qie.prototype={get:function(e){var t=Kie(this,e);if(t)return t[1]},has:function(e){return!!Kie(this,e)},set:function(e,t){var n=Kie(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=$ie(this.entries,(function(t){return t[0]===e}));return~t&&Vie(this.entries,t,1),!!~t}};var Yie,Xie={getConstructor:function(e,t,n,r){var o=e((function(e,o){sre(e,i),zie(e,{type:t,id:Gie++,frozen:void 0}),null!=o&&bre(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Hie(t),u=function(e,t,n){var r=a(e),o=Mie($9(t),!0);return!0===o?Wie(r).set(t,n):o[r.id]=n,e};return Qne(i,{delete:function(e){var t=a(this);if(!Y7(e))return!1;var n=Mie(e);return!0===n?Wie(t).delete(e):n&&S9(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!Y7(e))return!1;var n=Mie(e);return!0===n?Wie(t).has(e):n&&S9(n,t.id)}}),Qne(i,n?{get:function(e){var t=a(this);if(Y7(e)){var n=Mie(e);return!0===n?Wie(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},Zie=fee.enforce,Jie=!A7.ActiveXObject&&"ActiveXObject"in A7,Qie=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},eae=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=A7[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=j7(u[e]);gee(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!Y7(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!Y7(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!Y7(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Vee(e,!K7(a)||!(o||u.forEach&&!x7((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),jie.enable();else if(Vee(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=x7((function(){f.has(1)})),h=Tre((function(e){new a(e)})),v=!o&&x7((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){sre(e,u);var n=function(e,t,n){var r,o;return nre&&K7(r=t.constructor)&&r!==n&&Y7(o=r.prototype)&&o!==n.prototype&&nre(e,o),e}(new a,e,s);return null!=t&&bre(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,Wee({global:!0,forced:s!=a},l),ire(s,e),o||n.setStrong(s,e,r),s}("WeakMap",Qie,Xie);if(eee&&Jie){Yie=Xie.getConstructor(Qie,"WeakMap",!0),jie.enable();var tae=eae.prototype,nae=j7(tae.delete),rae=j7(tae.has),oae=j7(tae.get),iae=j7(tae.set);Qne(tae,{delete:function(e){if(Y7(e)&&!_ie(e)){var t=Zie(this);return t.frozen||(t.frozen=new Yie),nae(this,e)||t.frozen.delete(e)}return nae(this,e)},has:function(e){if(Y7(e)&&!_ie(e)){var t=Zie(this);return t.frozen||(t.frozen=new Yie),rae(this,e)||t.frozen.has(e)}return rae(this,e)},get:function(e){if(Y7(e)&&!_ie(e)){var t=Zie(this);return t.frozen||(t.frozen=new Yie),rae(this,e)?oae(this,e):t.frozen.get(e)}return oae(this,e)},set:function(e,t){if(Y7(e)&&!_ie(e)){var n=Zie(this);n.frozen||(n.frozen=new Yie),rae(this,e)?iae(this,e,t):n.frozen.set(e,t)}else iae(this,e,t);return this}})}var aae={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},uae=L9("span").classList,sae=uae&&uae.constructor&&uae.constructor.prototype,lae=sae===Object.prototype?void 0:sae,cae=B9("iterator"),fae=B9("toStringTag"),dae=Die.values,pae=function(e,t){if(e){if(e[cae]!==dae)try{q9(e,cae,dae)}catch(t){e[cae]=dae}if(e[fae]||q9(e,fae,t),aae[t])for(var n in Die)if(e[n]!==Die[n])try{q9(e,n,Die[n])}catch(t){e[n]=Die[n]}}};for(var hae in aae)pae(A7[hae]&&A7[hae].prototype,hae);pae(lae,"DOMTokenList");var vae=vee.EXISTS,gae=W9.f,yae=Function.prototype,mae=j7(yae.toString),bae=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Eae=j7(bae.exec);O7&&!vae&&gae(yae,"name",{configurable:!0,get:function(){try{return Eae(bae,mae(this))[1]}catch(e){return""}}});var wae=B9("species"),Sae=o9>=51||!x7((function(){var e=[];return(e.constructor={})[wae]=function(){return{foo:1}},1!==e.slice(Boolean).foo})),Cae=B9("species"),Dae=A7.Array,Aae=Math.max;function xae(e){return e.getMenuConfig("uploadVideo")}Wee({target:"Array",proto:!0,forced:!Sae},{slice:function(e,t){var n,r,o,i=q7(this),a=Aee(i),u=See(e,a),s=See(void 0===t?a:t,a);if(Bte(i)&&(n=i.constructor,(Mte(n)&&(n===Dae||Bte(n.prototype))||Y7(n)&&null===(n=n[Cae]))&&(n=void 0),n===Dae||void 0===n))return Bre(i,u,s);for(r=new(void 0===n?Dae:n)(Aae(s-u,0)),o=0;u<s;u++,o++)u in i&&Tie(r,o,i[u]);return r.length=o,r}});var Oae=new WeakMap;function Tae(e,t){return g7(this,void 0,void 0,(function(){var n,r,o,i;return y7(this,(function(a){switch(a.label){case 0:return n=function(e){var t=Oae.get(e);if(null!=t)return t;var n=xae(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=XI(v7(v7({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,(function(t,n){return Yoe(e,t,n)})),void r(t,n);var o=n.errno,u=void 0===o?1:o,s=n.data,l=void 0===s?{}:s;if(0===u){var c=l.url,f=void 0===c?"":c,d=l.poster;Yoe(e,f,void 0===d?"":d),r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),Oae.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}}))}))}var Nae=function(){function e(){this.title=GF("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i((function(t,n){return Yoe(e,t,n)}));else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=Mp("body"),s=Mp('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",(function(){var t=s[0].files;!function(e,t){var n,r;g7(this,void 0,void 0,(function(){var o,i,a,u,s,l;return y7(this,(function(c){switch(c.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=xae(e).customUpload,c.label=1;case 1:c.trys.push([1,9,10,15]),a=b7(o),c.label=2;case 2:return[4,a.next()];case 3:return(u=c.sent()).done?[3,8]:(s=u.value,i?[4,i(s,(function(t,n){return Yoe(e,t,n)}))]:[3,5]);case 4:return c.sent(),[3,7];case 5:return[4,Tae(e,s)];case 6:c.sent(),c.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return l=c.sent(),n={error:l},[3,15];case 10:return c.trys.push([10,,13,14]),u&&!u.done&&(r=a.return)?[4,r.call(a)]:[3,12];case 11:c.sent(),c.label=12;case 12:return[3,14];case 13:if(n)throw n.error;return[7];case 14:return[7];case 15:return[2]}}))}))}(e,t)}))}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!qf.isCollapsed(t)||!!_N.getSelectedElems(e).some((function(t){var n=_N.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)}))},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}();function kae(){return Zne("w-e-insert-video")}var Bae=function(){function e(){this.title=GF("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=kae(),this.heightInputId=kae(),this.buttonId=kae()}return e.prototype.getSelectedVideoNode=function(e){return _N.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=t.widthInputId,r=t.heightInputId,o=t.buttonId,i=m7(AI(GF("videoModule.width"),n,"auto"),2),a=i[0],u=Mp(i[1]),s=m7(AI(GF("videoModule.height"),r,"auto"),2),l=s[0],c=Mp(s[1]),f=m7(OI(o,GF("videoModule.ok")),1)[0];if(null==this.$content){var d=Mp("<div></div>");d.on("click","#"+o,(function(t){t.preventDefault();var o=d.find("#"+n).val().trim(),i=d.find("#"+r).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},u=function(e){return/^\d+(\.\d+)?$/.test(e)},s="auto",l="auto";a(o)?s=o:u(o)&&(s=parseInt(o)+"px"),a(i)?l=i:u(i)&&(l=parseInt(i)+"px");var c=h.style,f=void 0===c?{}:c;e.restoreSelection();var p=v7(v7({},f),{style:{width:s,height:l}});md.setNodes(e,p,{match:function(e){return _N.checkNodeType(e,"video")}}),e.hidePanelOrModal()})),this.$content=d}var p=this.$content;p.empty(),p.append(a),p.append(l),p.append(f);var h=this.getSelectedVideoNode(e);if(null==h)return p[0];var v=h.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"":y,b=g.height,E=void 0===b?"":b;return u.val(m),c.val(E),setTimeout((function(){u.focus()})),p[0]},e}();function Iae(){return Zne("w-e-edit-video")}var Fae=function(){function e(){this.title=GF("videoModule.edit"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=Iae(),this.posterInputId=Iae(),this.buttonId=Iae()}return e.prototype.getSelectedVideoNode=function(e){return _N.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,a=m7(AI(GF("videoModule.videoSrc"),r,GF("videoModule.videoSrcPlaceHolder")),2),u=a[0],s=a[1],l=m7(AI(GF("videoModule.videoPoster"),o,GF("videoModule.videoPosterPlaceHolder")),2),c=l[0],f=l[1],d=Mp(s),p=Mp(f),h=m7(OI(i,GF("videoModule.ok")),1)[0];if(null==this.$content){var v=Mp("<div></div>");v.on("click","#"+i,(function(n){return g7(t,void 0,void 0,(function(){var t,i,a,u;return y7(this,(function(s){return n.preventDefault(),t=v.find("#"+r).val().trim(),i=v.find("#"+o).val().trim(),a=Zne("video-"),u={src:t,poster:i,key:a},e.restoreSelection(),md.setNodes(e,u,{match:function(e){return _N.checkNodeType(e,"video")}}),e.hidePanelOrModal(),[2]}))}))})),this.$content=v}var g=this.$content;g.empty(),g.append(u),g.append(c),g.append(h);var y=this.getSelectedVideoNode(e);if(null==y)return g[0];var m=y.src,b=void 0===m?"":m,E=y.poster,w=void 0===E?"":E;return d.val(b),p.val(w),setTimeout((function(){d.focus()})),g[0]},e}(),Pae={renderElems:[pte],elemsToHtml:[hte],preParseHtml:[Tte],parseElemsHtml:[Jte],menus:[{key:"insertVideo",factory:function(){return new Zoe},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Nae},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new Bae}},{key:"editVideoSrc",factory:function(){return new Fae}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(e){return"video"===e.type||t(e)},r.normalizeNode=function(e){var t=m7(e,2),o=t[0],i=t[1];return"video"===_N.getNodeType(o)&&_N.isLastNode(r,o)&&md.insertNodes(r,_N.genEmptyParagraph(),{at:[i[0]+1]}),n([o,i])},r}};UF("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),UF("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var Rae="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function _ae(e){var t={exports:{}};return e(t,t.exports),t.exports}var Lae,jae,Mae=function(e){return e&&e.Math==Math&&e},zae=Mae("object"==typeof globalThis&&globalThis)||Mae("object"==typeof window&&window)||Mae("object"==typeof self&&self)||Mae("object"==typeof Rae&&Rae)||function(){return this}()||Function("return this")(),Hae=function(e){try{return!!e()}catch(e){return!0}},Uae=!Hae((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),$ae=Function.prototype.call,Vae=$ae.bind?$ae.bind($ae):function(){return $ae.apply($ae,arguments)},Gae={}.propertyIsEnumerable,Wae=Object.getOwnPropertyDescriptor,qae={f:Wae&&!Gae.call({1:2},1)?function(e){var t=Wae(this,e);return!!t&&t.enumerable}:Gae},Kae=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Yae=Function.prototype,Xae=Yae.bind,Zae=Yae.call,Jae=Xae&&Xae.bind(Zae),Qae=Xae?function(e){return e&&Jae(Zae,e)}:function(e){return e&&function(){return Zae.apply(e,arguments)}},eue=Qae({}.toString),tue=Qae("".slice),nue=function(e){return tue(eue(e),8,-1)},rue=zae.Object,oue=Qae("".split),iue=Hae((function(){return!rue("z").propertyIsEnumerable(0)}))?function(e){return"String"==nue(e)?oue(e,""):rue(e)}:rue,aue=zae.TypeError,uue=function(e){if(null==e)throw aue("Can't call method on "+e);return e},sue=function(e){return iue(uue(e))},lue=function(e){return"function"==typeof e},cue=function(e){return"object"==typeof e?null!==e:lue(e)},fue=function(e){return lue(e)?e:void 0},due=function(e,t){return arguments.length<2?fue(zae[e]):zae[e]&&zae[e][t]},pue=Qae({}.isPrototypeOf),hue=due("navigator","userAgent")||"",vue=zae.process,gue=zae.Deno,yue=vue&&vue.versions||gue&&gue.version,mue=yue&&yue.v8;mue&&(jae=(Lae=mue.split("."))[0]>0&&Lae[0]<4?1:+(Lae[0]+Lae[1])),!jae&&hue&&(!(Lae=hue.match(/Edge\/(\d+)/))||Lae[1]>=74)&&(Lae=hue.match(/Chrome\/(\d+)/))&&(jae=+Lae[1]);var bue=jae,Eue=!!Object.getOwnPropertySymbols&&!Hae((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&bue&&bue<41})),wue=Eue&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Sue=zae.Object,Cue=wue?function(e){return"symbol"==typeof e}:function(e){var t=due("Symbol");return lue(t)&&pue(t.prototype,Sue(e))},Due=zae.String,Aue=function(e){try{return Due(e)}catch(e){return"Object"}},xue=zae.TypeError,Oue=function(e){if(lue(e))return e;throw xue(Aue(e)+" is not a function")},Tue=function(e,t){var n=e[t];return null==n?void 0:Oue(n)},Nue=zae.TypeError,kue=Object.defineProperty,Bue=function(e,t){try{kue(zae,e,{value:t,configurable:!0,writable:!0})}catch(n){zae[e]=t}return t},Iue=zae["__core-js_shared__"]||Bue("__core-js_shared__",{}),Fue=_ae((function(e){(e.exports=function(e,t){return Iue[e]||(Iue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Pue=zae.Object,Rue=function(e){return Pue(uue(e))},_ue=Qae({}.hasOwnProperty),Lue=Object.hasOwn||function(e,t){return _ue(Rue(e),t)},jue=0,Mue=Math.random(),zue=Qae(1..toString),Hue=function(e){return"Symbol("+(void 0===e?"":e)+")_"+zue(++jue+Mue,36)},Uue=Fue("wks"),$ue=zae.Symbol,Vue=$ue&&$ue.for,Gue=wue?$ue:$ue&&$ue.withoutSetter||Hue,Wue=function(e){if(!Lue(Uue,e)||!Eue&&"string"!=typeof Uue[e]){var t="Symbol."+e;Eue&&Lue($ue,e)?Uue[e]=$ue[e]:Uue[e]=wue&&Vue?Vue(t):Gue(t)}return Uue[e]},que=zae.TypeError,Kue=Wue("toPrimitive"),Yue=function(e){var t=function(e,t){if(!cue(e)||Cue(e))return e;var n,r=Tue(e,Kue);if(r){if(void 0===t&&(t="default"),n=Vae(r,e,t),!cue(n)||Cue(n))return n;throw que("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&lue(n=e.toString)&&!cue(r=Vae(n,e)))return r;if(lue(n=e.valueOf)&&!cue(r=Vae(n,e)))return r;if("string"!==t&&lue(n=e.toString)&&!cue(r=Vae(n,e)))return r;throw Nue("Can't convert object to primitive value")}(e,t)}(e,"string");return Cue(t)?t:t+""},Xue=zae.document,Zue=cue(Xue)&&cue(Xue.createElement),Jue=function(e){return Zue?Xue.createElement(e):{}},Que=!Uae&&!Hae((function(){return 7!=Object.defineProperty(Jue("div"),"a",{get:function(){return 7}}).a})),ese=Object.getOwnPropertyDescriptor,tse={f:Uae?ese:function(e,t){if(e=sue(e),t=Yue(t),Que)try{return ese(e,t)}catch(e){}if(Lue(e,t))return Kae(!Vae(qae.f,e,t),e[t])}},nse=zae.String,rse=zae.TypeError,ose=function(e){if(cue(e))return e;throw rse(nse(e)+" is not an object")},ise=zae.TypeError,ase=Object.defineProperty,use={f:Uae?ase:function(e,t,n){if(ose(e),t=Yue(t),ose(n),Que)try{return ase(e,t,n)}catch(e){}if("get"in n||"set"in n)throw ise("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},sse=Uae?function(e,t,n){return use.f(e,t,Kae(1,n))}:function(e,t,n){return e[t]=n,e},lse=Qae(Function.toString);lue(Iue.inspectSource)||(Iue.inspectSource=function(e){return lse(e)});var cse,fse,dse,pse=Iue.inspectSource,hse=zae.WeakMap,vse=lue(hse)&&/native code/.test(pse(hse)),gse=Fue("keys"),yse=function(e){return gse[e]||(gse[e]=Hue(e))},mse={},bse=zae.TypeError,Ese=zae.WeakMap;if(vse||Iue.state){var wse=Iue.state||(Iue.state=new Ese),Sse=Qae(wse.get),Cse=Qae(wse.has),Dse=Qae(wse.set);cse=function(e,t){if(Cse(wse,e))throw new bse("Object already initialized");return t.facade=e,Dse(wse,e,t),t},fse=function(e){return Sse(wse,e)||{}},dse=function(e){return Cse(wse,e)}}else{var Ase=yse("state");mse[Ase]=!0,cse=function(e,t){if(Lue(e,Ase))throw new bse("Object already initialized");return t.facade=e,sse(e,Ase,t),t},fse=function(e){return Lue(e,Ase)?e[Ase]:{}},dse=function(e){return Lue(e,Ase)}}var xse={set:cse,get:fse,has:dse,enforce:function(e){return dse(e)?fse(e):cse(e,{})},getterFor:function(e){return function(t){var n;if(!cue(t)||(n=fse(t)).type!==e)throw bse("Incompatible receiver, "+e+" required");return n}}},Ose=Function.prototype,Tse=Uae&&Object.getOwnPropertyDescriptor,Nse=Lue(Ose,"name"),kse={EXISTS:Nse,PROPER:Nse&&"something"===function(){}.name,CONFIGURABLE:Nse&&(!Uae||Uae&&Tse(Ose,"name").configurable)},Bse=_ae((function(e){var t=kse.CONFIGURABLE,n=xse.get,r=xse.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;lue(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Lue(i,"name")||t&&i.name!==f)&&sse(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==zae?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:sse(e,n,i)):l?e[n]=i:Bue(n,i)})(Function.prototype,"toString",(function(){return lue(this)&&n(this).source||pse(this)}))})),Ise=Math.ceil,Fse=Math.floor,Pse=function(e){var t=+e;return t!=t||0===t?0:(t>0?Fse:Ise)(t)},Rse=Math.max,_se=Math.min,Lse=function(e,t){var n=Pse(e);return n<0?Rse(n+t,0):_se(n,t)},jse=Math.min,Mse=function(e){return e>0?jse(Pse(e),9007199254740991):0},zse=function(e){return Mse(e.length)},Hse=function(e){return function(t,n,r){var o,i=sue(t),a=zse(i),u=Lse(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Use=(Hse(!0),Hse(!1)),$se=Qae([].push),Vse=function(e,t){var n,r=sue(e),o=0,i=[];for(n in r)!Lue(mse,n)&&Lue(r,n)&&$se(i,n);for(;t.length>o;)Lue(r,n=t[o++])&&(~Use(i,n)||$se(i,n));return i},Gse=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Wse=Gse.concat("length","prototype"),qse={f:Object.getOwnPropertyNames||function(e){return Vse(e,Wse)}},Kse={f:Object.getOwnPropertySymbols},Yse=Qae([].concat),Xse=due("Reflect","ownKeys")||function(e){var t=qse.f(ose(e)),n=Kse.f;return n?Yse(t,n(e)):t},Zse=function(e,t){for(var n=Xse(t),r=use.f,o=tse.f,i=0;i<n.length;i++){var a=n[i];Lue(e,a)||r(e,a,o(t,a))}},Jse=/#|\.prototype\./,Qse=function(e,t){var n=tle[ele(e)];return n==rle||n!=nle&&(lue(t)?Hae(t):!!t)},ele=Qse.normalize=function(e){return String(e).replace(Jse,".").toLowerCase()},tle=Qse.data={},nle=Qse.NATIVE="N",rle=Qse.POLYFILL="P",ole=Qse,ile=tse.f,ale=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?zae:l?zae[u]||Bue(u,{}):(zae[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=ile(n,r))&&a.value:n[r],!ole(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Zse(i,o)}(e.sham||o&&o.sham)&&sse(i,"sham",!0),Bse(n,r,i,e)}},ule=Array.isArray||function(e){return"Array"==nue(e)},sle={};sle[Wue("toStringTag")]="z";var lle="[object z]"===String(sle),cle=Wue("toStringTag"),fle=zae.Object,dle="Arguments"==nue(function(){return arguments}()),ple=lle?nue:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=fle(e),cle))?n:dle?nue(t):"Object"==(r=nue(t))&&lue(t.callee)?"Arguments":r},hle=function(){},vle=[],gle=due("Reflect","construct"),yle=/^\s*(?:class|function)\b/,mle=Qae(yle.exec),ble=!yle.exec(hle),Ele=function(e){if(!lue(e))return!1;try{return gle(hle,vle,e),!0}catch(e){return!1}},wle=!gle||Hae((function(){var e;return Ele(Ele.call)||!Ele(Object)||!Ele((function(){e=!0}))||e}))?function(e){if(!lue(e))return!1;switch(ple(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return ble||!!mle(yle,pse(e))}:Ele,Sle=function(e,t,n){var r=Yue(t);r in e?use.f(e,r,Kae(0,n)):e[r]=n},Cle=Wue("species"),Dle=Qae([].slice),Ale=("slice",bue>=51||!Hae((function(){var e=[];return(e.constructor={})[Cle]=function(){return{foo:1}},1!==e.slice(Boolean).foo}))),xle=Wue("species"),Ole=zae.Array,Tle=Math.max;ale({target:"Array",proto:!0,forced:!Ale},{slice:function(e,t){var n,r,o,i=sue(this),a=zse(i),u=Lse(e,a),s=Lse(void 0===t?a:t,a);if(ule(i)&&(n=i.constructor,(wle(n)&&(n===Ole||ule(n.prototype))||cue(n)&&null===(n=n[xle]))&&(n=void 0),n===Ole||void 0===n))return Dle(i,u,s);for(r=new(void 0===n?Ole:n)(Tle(s-u,0)),o=0;u<s;u++,o++)u in i&&Sle(r,o,i[u]);return r.length=o,r}});var Nle=lle?{}.toString:function(){return"[object "+ple(this)+"]"};lle||Bse(Object.prototype,"toString",Nle,{unsafe:!0});var kle,Ble=zae.String,Ile=function(e){if("Symbol"===ple(e))throw TypeError("Cannot convert a Symbol value to a string");return Ble(e)},Fle=function(){var e=ose(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Ple=zae.RegExp,Rle=Hae((function(){var e=Ple("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),_le=Rle||Hae((function(){return!Ple("a","y").sticky})),Lle={BROKEN_CARET:Rle||Hae((function(){var e=Ple("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:_le,UNSUPPORTED_Y:Rle},jle=Object.keys||function(e){return Vse(e,Gse)},Mle=Uae?Object.defineProperties:function(e,t){ose(e);for(var n,r=sue(t),o=jle(t),i=o.length,a=0;i>a;)use.f(e,n=o[a++],r[n]);return e},zle=due("document","documentElement"),Hle=yse("IE_PROTO"),Ule=function(){},$le=function(e){return"<script>"+e+"<\/script>"},Vle=function(e){e.write($le("")),e.close();var t=e.parentWindow.Object;return e=null,t},Gle=function(){try{kle=new ActiveXObject("htmlfile")}catch(e){}var e,t;Gle="undefined"!=typeof document?document.domain&&kle?Vle(kle):((t=Jue("iframe")).style.display="none",zle.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write($le("document.F=Object")),e.close(),e.F):Vle(kle);for(var n=Gse.length;n--;)delete Gle.prototype[Gse[n]];return Gle()};mse[Hle]=!0;var Wle,qle,Kle=Object.create||function(e,t){var n;return null!==e?(Ule.prototype=ose(e),n=new Ule,Ule.prototype=null,n[Hle]=e):n=Gle(),void 0===t?n:Mle(n,t)},Yle=zae.RegExp,Xle=Hae((function(){var e=Yle(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Zle=zae.RegExp,Jle=Hae((function(){var e=Zle("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Qle=xse.get,ece=Fue("native-string-replace",String.prototype.replace),tce=RegExp.prototype.exec,nce=tce,rce=Qae("".charAt),oce=Qae("".indexOf),ice=Qae("".replace),ace=Qae("".slice),uce=(qle=/b*/g,Vae(tce,Wle=/a/,"a"),Vae(tce,qle,"a"),0!==Wle.lastIndex||0!==qle.lastIndex),sce=Lle.BROKEN_CARET,lce=void 0!==/()??/.exec("")[1];(uce||lce||sce||Xle||Jle)&&(nce=function(e){var t,n,r,o,i,a,u,s=this,l=Qle(s),c=Ile(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Vae(nce,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=sce&&s.sticky,h=Vae(Fle,s),v=s.source,g=0,y=c;if(p&&(h=ice(h,"y",""),-1===oce(h,"g")&&(h+="g"),y=ace(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==rce(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),lce&&(n=new RegExp("^"+v+"$(?!\\s)",h)),uce&&(r=s.lastIndex),o=Vae(tce,p?n:s,y),p?o?(o.input=ace(o.input,g),o[0]=ace(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:uce&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),lce&&o&&o.length>1&&Vae(ece,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Kle(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var cce=nce;ale({target:"RegExp",proto:!0,forced:/./.exec!==cce},{exec:cce});var fce=Function.prototype,dce=fce.apply,pce=fce.bind,hce=fce.call,vce="object"==typeof Reflect&&Reflect.apply||(pce?hce.bind(dce):function(){return hce.apply(dce,arguments)}),gce=Wue("species"),yce=RegExp.prototype,mce=Wue("match"),bce=zae.TypeError,Ece=Wue("species"),wce=function(e,t){var n,r=ose(e).constructor;return void 0===r||null==(n=ose(r)[Ece])?t:function(e){if(wle(e))return e;throw bce(Aue(e)+" is not a constructor")}(n)},Sce=Qae("".charAt),Cce=Qae("".charCodeAt),Dce=Qae("".slice),Ace=function(e){return function(t,n){var r,o,i=Ile(uue(t)),a=Pse(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Cce(i,a))<55296||r>56319||a+1===u||(o=Cce(i,a+1))<56320||o>57343?e?Sce(i,a):r:e?Dce(i,a,a+2):o-56320+(r-55296<<10)+65536}},xce={codeAt:Ace(!1),charAt:Ace(!0)},Oce=xce.charAt,Tce=function(e,t,n){return t+(n?Oce(e,t).length:1)},Nce=zae.Array,kce=Math.max,Bce=function(e,t,n){for(var r=zse(e),o=Lse(t,r),i=Lse(void 0===n?r:n,r),a=Nce(kce(i-o,0)),u=0;o<i;o++,u++)Sle(a,u,e[o]);return a.length=u,a},Ice=zae.TypeError,Fce=function(e,t){var n=e.exec;if(lue(n)){var r=Vae(n,e,t);return null!==r&&ose(r),r}if("RegExp"===nue(e))return Vae(cce,e,t);throw Ice("RegExp#exec called on incompatible receiver")},Pce=Lle.UNSUPPORTED_Y,Rce=Math.min,_ce=[].push,Lce=Qae(/./.exec),jce=Qae(_ce),Mce=Qae("".slice);!function(e,t,n,r){var o=Wue(e),i=!Hae((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Hae((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[gce]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=Qae(/./[o]),s=function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o,i=Ile(uue(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!cue(r=e)||!(void 0!==(o=r[mce])?o:"RegExp"==nue(r)))return Vae(t,i,e,a);for(var u,s,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=new RegExp(e.source,f+"g");(u=Vae(cce,p,i))&&!((s=p.lastIndex)>d&&(jce(c,Mce(i,d,u.index)),u.length>1&&u.index<i.length&&vce(_ce,c,Bce(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&Lce(p,"")||jce(c,""):jce(c,Mce(i,d)),c.length>a?Bce(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Vae(t,this,e,n)}:t,[function(t,n){var o=uue(this),i=null==t?void 0:Tue(t,e);return i?Vae(i,t,o,n):Vae(r,Ile(o),t,n)},function(e,o){var i=ose(this),a=Ile(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=wce(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Pce?"g":"y"),f=new s(Pce?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Fce(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=Pce?0:h;var g,y=Fce(f,Pce?Mce(a,h):a);if(null===y||(g=Rce(Mse(f.lastIndex+(Pce?h:0)),a.length))===p)h=Tce(a,h,l);else{if(jce(v,Mce(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(jce(v,y[m]),v.length===d)return v;h=p=g}}return jce(v,Mce(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=Qae(e),s=t.exec;return s===cce||s===yce.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));Bse(String.prototype,e,s[0]),Bse(yce,o,s[1])}r&&sse(yce[o],"sham",!0)}("split",0,!!Hae((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Pce);var zce=function(){return zce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zce.apply(this,arguments)};function Hce(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function Uce(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function $ce(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}"function"==typeof SuppressedError&&SuppressedError;var Vce=Wue("unscopables"),Gce=Array.prototype;null==Gce[Vce]&&use.f(Gce,Vce,{configurable:!0,value:Kle(null)});var Wce,qce,Kce,Yce=function(e){Gce[Vce][e]=!0},Xce={},Zce=!Hae((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Jce=yse("IE_PROTO"),Qce=zae.Object,efe=Qce.prototype,tfe=Zce?Qce.getPrototypeOf:function(e){var t=Rue(e);if(Lue(t,Jce))return t[Jce];var n=t.constructor;return lue(n)&&t instanceof n?n.prototype:t instanceof Qce?efe:null},nfe=Wue("iterator"),rfe=!1;[].keys&&("next"in(Kce=[].keys())?(qce=tfe(tfe(Kce)))!==Object.prototype&&(Wce=qce):rfe=!0);var ofe=null==Wce||Hae((function(){var e={};return Wce[nfe].call(e)!==e}));ofe&&(Wce={}),lue(Wce[nfe])||Bse(Wce,nfe,(function(){return this}));var ife={IteratorPrototype:Wce,BUGGY_SAFARI_ITERATORS:rfe},afe=use.f,ufe=Wue("toStringTag"),sfe=function(e,t,n){e&&!Lue(e=n?e:e.prototype,ufe)&&afe(e,ufe,{configurable:!0,value:t})},lfe=ife.IteratorPrototype,cfe=function(){return this},ffe=zae.String,dfe=zae.TypeError,pfe=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Qae(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return ose(n),function(e){if("object"==typeof e||lue(e))return e;throw dfe("Can't set "+ffe(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),hfe=kse.PROPER,vfe=kse.CONFIGURABLE,gfe=ife.IteratorPrototype,yfe=ife.BUGGY_SAFARI_ITERATORS,mfe=Wue("iterator"),bfe=function(){return this},Efe=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Kle(lfe,{next:Kae(1,n)}),sfe(e,o,!1),Xce[o]=cfe}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!yfe&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[mfe]||p["@@iterator"]||o&&p[o],v=!yfe&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=tfe(g.call(new e)))!==Object.prototype&&u.next&&(tfe(u)!==gfe&&(pfe?pfe(u,gfe):lue(u[mfe])||Bse(u,mfe,bfe)),sfe(u,f,!0)),hfe&&"values"==o&&h&&"values"!==h.name&&(vfe?sse(p,"name","values"):(d=!0,v=function(){return Vae(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(yfe||d||!(l in p))&&Bse(p,l,s[l]);else ale({target:t,proto:!0,forced:yfe||d},s);return p[mfe]!==v&&Bse(p,mfe,v,{name:o}),Xce[t]=v,s},wfe=xse.set,Sfe=xse.getterFor("Array Iterator"),Cfe=Efe(Array,"Array",(function(e,t){wfe(this,{type:"Array Iterator",target:sue(e),index:0,kind:t})}),(function(){var e=Sfe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");Xce.Arguments=Xce.Array,Yce("keys"),Yce("values"),Yce("entries");var Dfe=xce.charAt,Afe=xse.set,xfe=xse.getterFor("String Iterator");Efe(String,"String",(function(e){Afe(this,{type:"String Iterator",string:Ile(e),index:0})}),(function(){var e,t=xfe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Dfe(n,r),t.index+=e.length,{value:e,done:!1})}));var Ofe=function(e,t,n){for(var r in t)Bse(e,r,t[r],n);return e},Tfe=qse.f,Nfe="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],kfe={f:function(e){return Nfe&&"Window"==nue(e)?function(e){try{return Tfe(e)}catch(e){return Bce(Nfe)}}(e):Tfe(sue(e))}},Bfe=Hae((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Ife=Object.isExtensible,Ffe=Hae((function(){Ife(1)}))||Bfe?function(e){return!!cue(e)&&(!Bfe||"ArrayBuffer"!=nue(e))&&(!Ife||Ife(e))}:Ife,Pfe=!Hae((function(){return Object.isExtensible(Object.preventExtensions({}))})),Rfe=_ae((function(e){var t=use.f,n=!1,r=Hue("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=qse.f,t=Qae([].splice),o={};o[r]=1,e(o).length&&(qse.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},ale({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:kfe.f}))},fastKey:function(e,t){if(!cue(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Lue(e,r)){if(!Ffe(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!Lue(e,r)){if(!Ffe(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Pfe&&n&&Ffe(e)&&!Lue(e,r)&&i(e),e}};mse[r]=!0})),_fe=Qae(Qae.bind),Lfe=function(e,t){return Oue(e),void 0===t?e:_fe?_fe(e,t):function(){return e.apply(t,arguments)}},jfe=Wue("iterator"),Mfe=Array.prototype,zfe=Wue("iterator"),Hfe=function(e){if(null!=e)return Tue(e,zfe)||Tue(e,"@@iterator")||Xce[ple(e)]},Ufe=zae.TypeError,$fe=function(e,t,n){var r,o;ose(e);try{if(!(r=Tue(e,"return"))){if("throw"===t)throw n;return n}r=Vae(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return ose(r),n},Vfe=zae.TypeError,Gfe=function(e,t){this.stopped=e,this.result=t},Wfe=Gfe.prototype,qfe=function(e,t,n){var r,o,i,a,u,s,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),v=Lfe(t,f),g=function(e){return r&&$fe(r,"normal",e),new Gfe(!0,e)},y=function(e){return d?(ose(e),h?v(e[0],e[1],g):v(e[0],e[1])):h?v(e,g):v(e)};if(p)r=e;else{if(!(o=Hfe(e)))throw Vfe(Aue(e)+" is not iterable");if(void 0!==(c=o)&&(Xce.Array===c||Mfe[jfe]===c)){for(i=0,a=zse(e);a>i;i++)if((u=y(e[i]))&&pue(Wfe,u))return u;return new Gfe(!1)}r=function(e,t){var n=arguments.length<2?Hfe(e):t;if(Oue(n))return ose(Vae(n,e));throw Ufe(Aue(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=Vae(s,r)).done;){try{u=y(l.value)}catch(e){$fe(r,"throw",e)}if("object"==typeof u&&u&&pue(Wfe,u))return u}return new Gfe(!1)},Kfe=zae.TypeError,Yfe=function(e,t){if(pue(t,e))return e;throw Kfe("Incorrect invocation")},Xfe=Wue("iterator"),Zfe=!1;try{var Jfe=0,Qfe={next:function(){return{done:!!Jfe++}},return:function(){Zfe=!0}};Qfe[Xfe]=function(){return this},Array.from(Qfe,(function(){throw 2}))}catch(Ml){}var ede=function(e,t){if(!t&&!Zfe)return!1;var n=!1;try{var r={};r[Xfe]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},tde=Wue("species"),nde=zae.Array,rde=function(e,t){return new(function(e){var t;return ule(e)&&(t=e.constructor,(wle(t)&&(t===nde||ule(t.prototype))||cue(t)&&null===(t=t[tde]))&&(t=void 0)),void 0===t?nde:t}(e))(0===t?0:t)},ode=Qae([].push),ide=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Rue(s),v=iue(h),g=Lfe(l,c),y=zse(v),m=0,b=f||rde,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:ode(E,d)}else switch(e){case 4:return!1;case 7:ode(E,d)}return i?-1:r||o?o:E}},ade={forEach:ide(0),map:ide(1),filter:ide(2),some:ide(3),every:ide(4),find:ide(5),findIndex:ide(6),filterReject:ide(7)},ude=Rfe.getWeakData,sde=xse.set,lde=xse.getterFor,cde=ade.find,fde=ade.findIndex,dde=Qae([].splice),pde=0,hde=function(e){return e.frozen||(e.frozen=new vde)},vde=function(){this.entries=[]},gde=function(e,t){return cde(e.entries,(function(e){return e[0]===t}))};vde.prototype={get:function(e){var t=gde(this,e);if(t)return t[1]},has:function(e){return!!gde(this,e)},set:function(e,t){var n=gde(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=fde(this.entries,(function(t){return t[0]===e}));return~t&&dde(this.entries,t,1),!!~t}};var yde,mde={getConstructor:function(e,t,n,r){var o=e((function(e,o){Yfe(e,i),sde(e,{type:t,id:pde++,frozen:void 0}),null!=o&&qfe(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=lde(t),u=function(e,t,n){var r=a(e),o=ude(ose(t),!0);return!0===o?hde(r).set(t,n):o[r.id]=n,e};return Ofe(i,{delete:function(e){var t=a(this);if(!cue(e))return!1;var n=ude(e);return!0===n?hde(t).delete(e):n&&Lue(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!cue(e))return!1;var n=ude(e);return!0===n?hde(t).has(e):n&&Lue(n,t.id)}}),Ofe(i,n?{get:function(e){var t=a(this);if(cue(e)){var n=ude(e);return!0===n?hde(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},bde=xse.enforce,Ede=!zae.ActiveXObject&&"ActiveXObject"in zae,wde=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Sde=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=zae[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=Qae(u[e]);Bse(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!cue(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!cue(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!cue(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(ole(e,!lue(a)||!(o||u.forEach&&!Hae((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),Rfe.enable();else if(ole(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Hae((function(){f.has(1)})),h=ede((function(e){new a(e)})),v=!o&&Hae((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){Yfe(e,u);var n=function(e,t,n){var r,o;return pfe&&lue(r=t.constructor)&&r!==n&&cue(o=r.prototype)&&o!==n.prototype&&pfe(e,o),e}(new a,e,s);return null!=t&&qfe(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=u,u.constructor=s),(p||v)&&(c("delete"),c("has"),r&&c("get")),(v||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,ale({global:!0,forced:s!=a},l),sfe(s,e),o||n.setStrong(s,e,r),s}("WeakMap",wde,mde);if(vse&&Ede){yde=mde.getConstructor(wde,"WeakMap",!0),Rfe.enable();var Cde=Sde.prototype,Dde=Qae(Cde.delete),Ade=Qae(Cde.has),xde=Qae(Cde.get),Ode=Qae(Cde.set);Ofe(Cde,{delete:function(e){if(cue(e)&&!Ffe(e)){var t=bde(this);return t.frozen||(t.frozen=new yde),Dde(this,e)||t.frozen.delete(e)}return Dde(this,e)},has:function(e){if(cue(e)&&!Ffe(e)){var t=bde(this);return t.frozen||(t.frozen=new yde),Ade(this,e)||t.frozen.has(e)}return Ade(this,e)},get:function(e){if(cue(e)&&!Ffe(e)){var t=bde(this);return t.frozen||(t.frozen=new yde),Ade(this,e)?xde(this,e):t.frozen.get(e)}return xde(this,e)},set:function(e,t){if(cue(e)&&!Ffe(e)){var n=bde(this);n.frozen||(n.frozen=new yde),Ade(this,e)?Ode(this,e,t):n.frozen.set(e,t)}else Ode(this,e,t);return this}})}var Tde={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Nde=Jue("span").classList,kde=Nde&&Nde.constructor&&Nde.constructor.prototype,Bde=kde===Object.prototype?void 0:kde,Ide=Wue("iterator"),Fde=Wue("toStringTag"),Pde=Cfe.values,Rde=function(e,t){if(e){if(e[Ide]!==Pde)try{sse(e,Ide,Pde)}catch(t){e[Ide]=Pde}if(e[Fde]||sse(e,Fde,t),Tde[t])for(var n in Cfe)if(e[n]!==Cfe[n])try{sse(e,n,Cfe[n])}catch(t){e[n]=Cfe[n]}}};for(var _de in Tde)Rde(zae[_de]&&zae[_de].prototype,_de);Rde(Bde,"DOMTokenList");var Lde=function(e,t){var n=[][e];return!!n&&Hae((function(){n.call(null,t||function(){throw 1},1)}))},jde=ade.forEach,Mde=Lde("forEach")?[].forEach:function(e){return jde(this,e,arguments.length>1?arguments[1]:void 0)},zde=function(e){if(e&&e.forEach!==Mde)try{sse(e,"forEach",Mde)}catch(t){e.forEach=Mde}};for(var Hde in Tde)Tde[Hde]&&zde(zae[Hde]&&zae[Hde].prototype);zde(Bde);var Ude,$de,Vde,Gde,Wde=zae.Promise,qde=Wue("species"),Kde=/(?:ipad|iphone|ipod).*applewebkit/i.test(hue),Yde="process"==nue(zae.process),Xde=zae.setImmediate,Zde=zae.clearImmediate,Jde=zae.process,Qde=zae.Dispatch,epe=zae.Function,tpe=zae.MessageChannel,npe=zae.String,rpe=0,ope={};try{Ude=zae.location}catch(Ml){}var ipe=function(e){if(Lue(ope,e)){var t=ope[e];delete ope[e],t()}},ape=function(e){return function(){ipe(e)}},upe=function(e){ipe(e.data)},spe=function(e){zae.postMessage(npe(e),Ude.protocol+"//"+Ude.host)};Xde&&Zde||(Xde=function(e){var t=Dle(arguments,1);return ope[++rpe]=function(){vce(lue(e)?e:epe(e),void 0,t)},$de(rpe),rpe},Zde=function(e){delete ope[e]},Yde?$de=function(e){Jde.nextTick(ape(e))}:Qde&&Qde.now?$de=function(e){Qde.now(ape(e))}:tpe&&!Kde?(Gde=(Vde=new tpe).port2,Vde.port1.onmessage=upe,$de=Lfe(Gde.postMessage,Gde)):zae.addEventListener&&lue(zae.postMessage)&&!zae.importScripts&&Ude&&"file:"!==Ude.protocol&&!Hae(spe)?($de=spe,zae.addEventListener("message",upe,!1)):$de="onreadystatechange"in Jue("script")?function(e){zle.appendChild(Jue("script")).onreadystatechange=function(){zle.removeChild(this),ipe(e)}}:function(e){setTimeout(ape(e),0)});var lpe,cpe,fpe,dpe,ppe,hpe,vpe,gpe,ype={set:Xde,clear:Zde},mpe=/ipad|iphone|ipod/i.test(hue)&&void 0!==zae.Pebble,bpe=/web0s(?!.*chrome)/i.test(hue),Epe=tse.f,wpe=ype.set,Spe=zae.MutationObserver||zae.WebKitMutationObserver,Cpe=zae.document,Dpe=zae.process,Ape=zae.Promise,xpe=Epe(zae,"queueMicrotask"),Ope=xpe&&xpe.value;Ope||(lpe=function(){var e,t;for(Yde&&(e=Dpe.domain)&&e.exit();cpe;){t=cpe.fn,cpe=cpe.next;try{t()}catch(e){throw cpe?dpe():fpe=void 0,e}}fpe=void 0,e&&e.enter()},Kde||Yde||bpe||!Spe||!Cpe?!mpe&&Ape&&Ape.resolve?((vpe=Ape.resolve(void 0)).constructor=Ape,gpe=Lfe(vpe.then,vpe),dpe=function(){gpe(lpe)}):Yde?dpe=function(){Dpe.nextTick(lpe)}:(wpe=Lfe(wpe,zae),dpe=function(){wpe(lpe)}):(ppe=!0,hpe=Cpe.createTextNode(""),new Spe(lpe).observe(hpe,{characterData:!0}),dpe=function(){hpe.data=ppe=!ppe}));var Tpe,Npe,kpe,Bpe,Ipe=Ope||function(e){var t={fn:e,next:void 0};fpe&&(fpe.next=t),cpe||(cpe=t,dpe()),fpe=t},Fpe=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=Oue(t),this.reject=Oue(n)},Ppe={f:function(e){return new Fpe(e)}},Rpe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},_pe="object"==typeof window,Lpe=ype.set,jpe=Wue("species"),Mpe="Promise",zpe=xse.getterFor(Mpe),Hpe=xse.set,Upe=xse.getterFor(Mpe),$pe=Wde&&Wde.prototype,Vpe=Wde,Gpe=$pe,Wpe=zae.TypeError,qpe=zae.document,Kpe=zae.process,Ype=Ppe.f,Xpe=Ype,Zpe=!!(qpe&&qpe.createEvent&&zae.dispatchEvent),Jpe=lue(zae.PromiseRejectionEvent),Qpe=!1,ehe=ole(Mpe,(function(){var e=pse(Vpe),t=e!==String(Vpe);if(!t&&66===bue)return!0;if(bue>=51&&/native code/.test(e))return!1;var n=new Vpe((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[jpe]=r,!(Qpe=n.then((function(){}))instanceof r)||!t&&_pe&&!Jpe})),the=ehe||!ede((function(e){Vpe.all(e).catch((function(){}))})),nhe=function(e){var t;return!(!cue(e)||!lue(t=e.then))&&t},rhe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Ipe((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&uhe(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Wpe("Promise-chain cycle")):(u=nhe(a))?Vae(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ihe(e)}))}},ohe=function(e,t,n){var r,o;Zpe?((r=qpe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),zae.dispatchEvent(r)):r={promise:t,reason:n},!Jpe&&(o=zae["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=zae.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},ihe=function(e){Vae(Lpe,zae,(function(){var t,n=e.facade,r=e.value;if(ahe(e)&&(t=Rpe((function(){Yde?Kpe.emit("unhandledRejection",r,n):ohe("unhandledrejection",n,r)})),e.rejection=Yde||ahe(e)?2:1,t.error))throw t.value}))},ahe=function(e){return 1!==e.rejection&&!e.parent},uhe=function(e){Vae(Lpe,zae,(function(){var t=e.facade;Yde?Kpe.emit("rejectionHandled",t):ohe("rejectionhandled",t,e.value)}))},she=function(e,t,n){return function(r){e(t,r,n)}},lhe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,rhe(e,!0))},che=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Wpe("Promise can't be resolved itself");var r=nhe(t);r?Ipe((function(){var n={done:!1};try{Vae(r,t,she(che,n,e),she(lhe,n,e))}catch(t){lhe(n,t,e)}})):(e.value=t,e.state=1,rhe(e,!1))}catch(t){lhe({done:!1},t,e)}}};if(ehe&&(Gpe=(Vpe=function(e){Yfe(this,Gpe),Oue(e),Vae(Tpe,this);var t=zpe(this);try{e(she(che,t),she(lhe,t))}catch(e){lhe(t,e)}}).prototype,(Tpe=function(e){Hpe(this,{type:Mpe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ofe(Gpe,{then:function(e,t){var n=Upe(this),r=n.reactions,o=Ype(wce(this,Vpe));return o.ok=!lue(e)||e,o.fail=lue(t)&&t,o.domain=Yde?Kpe.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&rhe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),Npe=function(){var e=new Tpe,t=zpe(e);this.promise=e,this.resolve=she(che,t),this.reject=she(lhe,t)},Ppe.f=Ype=function(e){return e===Vpe||e===kpe?new Npe(e):Xpe(e)},lue(Wde)&&$pe!==Object.prototype)){Bpe=$pe.then,Qpe||(Bse($pe,"then",(function(e,t){var n=this;return new Vpe((function(e,t){Vae(Bpe,n,e,t)})).then(e,t)}),{unsafe:!0}),Bse($pe,"catch",Gpe.catch,{unsafe:!0}));try{delete $pe.constructor}catch(Ml){}pfe&&pfe($pe,Gpe)}ale({global:!0,wrap:!0,forced:ehe},{Promise:Vpe}),sfe(Vpe,Mpe,!1),function(e){var t=due("Promise"),n=use.f;Uae&&t&&!t[qde]&&n(t,qde,{configurable:!0,get:function(){return this}})}(),kpe=due(Mpe),ale({target:Mpe,stat:!0,forced:ehe},{reject:function(e){var t=Ype(this);return Vae(t.reject,void 0,e),t.promise}}),ale({target:Mpe,stat:!0,forced:ehe},{resolve:function(e){return function(e,t){if(ose(e),cue(t)&&t.constructor===e)return t;var n=Ppe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),ale({target:Mpe,stat:!0,forced:the},{all:function(e){var t=this,n=Ype(t),r=n.resolve,o=n.reject,i=Rpe((function(){var n=Oue(t.resolve),i=[],a=0,u=1;qfe(e,(function(e){var s=a++,l=!1;u++,Vae(n,t,e).then((function(e){l||(l=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Ype(t),r=n.reject,o=Rpe((function(){var o=Oue(t.resolve);qfe(e,(function(e){Vae(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var fhe=kse.PROPER,dhe=RegExp.prototype,phe=dhe.toString,hhe=Qae(Fle),vhe=Hae((function(){return"/a/b"!=phe.call({source:"a",flags:"b"})})),ghe=fhe&&"toString"!=phe.name;(vhe||ghe)&&Bse(RegExp.prototype,"toString",(function(){var e=ose(this),t=Ile(e.source),n=e.flags;return"/"+t+"/"+Ile(void 0===n&&pue(dhe,e)&&!("flags"in dhe)?hhe(e):n)}),{unsafe:!0});var yhe=kse.EXISTS,mhe=use.f,bhe=Function.prototype,Ehe=Qae(bhe.toString),whe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,She=Qae(whe.exec);Uae&&!yhe&&mhe(bhe,"name",{configurable:!0,get:function(){try{return She(whe,Ehe(this))[1]}catch(e){return""}}});var Che=new WeakMap;function Dhe(e){return e.getMenuConfig("uploadImage")}function Ahe(e,t){return Hce(this,void 0,void 0,(function(){return Uce(this,(function(n){return[2,new Promise((function(n){var r=new FileReader;r.readAsDataURL(t),r.onload=function(){var o=r.result;if(o){var i=o.toString(),a=0===i.indexOf("data:image")?"":i;qH(e,i,t.name,a),n("ok")}}}))]}))}))}function xhe(e,t){return Hce(this,void 0,void 0,(function(){var n,r,o,i;return Uce(this,(function(a){switch(a.label){case 0:return n=function(e){var t=Che.get(e);if(null!=t)return t;var n=Dhe(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=XI(zce(zce({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,(function(t,n,r){return qH(e,t,n,r)})),void r(t,n);var o=n.errno,u=void 0===o?1:o,s=n.data,l=void 0===s?{}:s;if(0===u){if(Array.isArray(l))l.forEach((function(t){var n=t.url,r=void 0===n?"":n,o=t.alt,i=void 0===o?"":o,a=t.href;qH(e,r,i,void 0===a?"":a)}));else{var c=l.url,f=void 0===c?"":c,d=l.alt,p=void 0===d?"":d,h=l.href;qH(e,f,p,void 0===h?"":h)}r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),Che.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}}))}))}function Ohe(e,t){var n,r;return Hce(this,void 0,void 0,(function(){var o,i,a,u,s,l,c,f,d;return Uce(this,(function(p){switch(p.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=Dhe(e),a=i.customUpload,u=i.base64LimitSize,p.label=1;case 1:p.trys.push([1,11,12,17]),s=$ce(o),p.label=2;case 2:return[4,s.next()];case 3:return(l=p.sent()).done?[3,10]:(c=l.value,f=c.size,u&&f<=u?[4,Ahe(e,c)]:[3,5]);case 4:return p.sent(),[3,9];case 5:return a?[4,a(c,(function(t,n,r){return qH(e,t,n,r)}))]:[3,7];case 6:return p.sent(),[3,9];case 7:return[4,xhe(e,c)];case 8:p.sent(),p.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return d=p.sent(),n={error:d},[3,17];case 12:return p.trys.push([12,,15,16]),l&&!l.done&&(r=s.return)?[4,r.call(s)]:[3,14];case 13:p.sent(),p.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}}))}))}var The=Qae([].join),Nhe=iue!=Object,khe=Lde("join",",");ale({target:"Array",proto:!0,forced:Nhe||!khe},{join:function(e){return The(sue(this),void 0===e?",":e)}}),ah&&(Mp.fn.append=ah),qp&&(Mp.fn.on=qp),dh&&(Mp.fn.remove=dh),Wp&&(Mp.fn.val=Wp),gh&&(Mp.fn.click=gh),Jp&&(Mp.fn.hide=Jp);var Bhe=function(){function e(){this.title=GF("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return KH(e)},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage")},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i((function(t,n,r){return qH(e,t,n,r)}));else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=Mp("body"),s=Mp('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",(function(){var t=s[0].files;Ohe(e,t)}))}},e}(),Ihe={menus:[{key:"uploadImage",factory:function(){return new Bhe},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(KH(n))t(r);else if(r.getData("text/plain"))t(r);else{var o=r.files;o.length<=0?t(r):Array.prototype.slice.call(o).some((function(e){return"image"===function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e.type.split("/"),1)[0]}))?Ohe(e,o):t(r)}},n}};UF("en",{highLightModule:{selectLang:"Language"}}),UF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var Fhe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Phe(e){var t={exports:{}};return e(t,t.exports),t.exports}var Rhe,_he,Lhe=function(e){return e&&e.Math==Math&&e},jhe=Lhe("object"==typeof globalThis&&globalThis)||Lhe("object"==typeof window&&window)||Lhe("object"==typeof self&&self)||Lhe("object"==typeof Fhe&&Fhe)||function(){return this}()||Function("return this")(),Mhe=Object.defineProperty,zhe=function(e,t){try{Mhe(jhe,e,{value:t,configurable:!0,writable:!0})}catch(n){jhe[e]=t}return t},Hhe=jhe["__core-js_shared__"]||zhe("__core-js_shared__",{}),Uhe=Phe((function(e){(e.exports=function(e,t){return Hhe[e]||(Hhe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),$he=Function.prototype,Vhe=$he.bind,Ghe=$he.call,Whe=Vhe&&Vhe.bind(Ghe),qhe=Vhe?function(e){return e&&Whe(Ghe,e)}:function(e){return e&&function(){return Ghe.apply(e,arguments)}},Khe=jhe.TypeError,Yhe=function(e){if(null==e)throw Khe("Can't call method on "+e);return e},Xhe=jhe.Object,Zhe=function(e){return Xhe(Yhe(e))},Jhe=qhe({}.hasOwnProperty),Qhe=Object.hasOwn||function(e,t){return Jhe(Zhe(e),t)},eve=0,tve=Math.random(),nve=qhe(1..toString),rve=function(e){return"Symbol("+(void 0===e?"":e)+")_"+nve(++eve+tve,36)},ove=function(e){return"function"==typeof e},ive=function(e){return ove(e)?e:void 0},ave=function(e,t){return arguments.length<2?ive(jhe[e]):jhe[e]&&jhe[e][t]},uve=ave("navigator","userAgent")||"",sve=jhe.process,lve=jhe.Deno,cve=sve&&sve.versions||lve&&lve.version,fve=cve&&cve.v8;fve&&(_he=(Rhe=fve.split("."))[0]>0&&Rhe[0]<4?1:+(Rhe[0]+Rhe[1])),!_he&&uve&&(!(Rhe=uve.match(/Edge\/(\d+)/))||Rhe[1]>=74)&&(Rhe=uve.match(/Chrome\/(\d+)/))&&(_he=+Rhe[1]);var dve=_he,pve=function(e){try{return!!e()}catch(e){return!0}},hve=!!Object.getOwnPropertySymbols&&!pve((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&dve&&dve<41})),vve=hve&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,gve=Uhe("wks"),yve=jhe.Symbol,mve=yve&&yve.for,bve=vve?yve:yve&&yve.withoutSetter||rve,Eve=function(e){if(!Qhe(gve,e)||!hve&&"string"!=typeof gve[e]){var t="Symbol."+e;hve&&Qhe(yve,e)?gve[e]=yve[e]:gve[e]=vve&&mve?mve(t):bve(t)}return gve[e]},wve={};wve[Eve("toStringTag")]="z";var Sve="[object z]"===String(wve),Cve=!pve((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Dve=function(e){return"object"==typeof e?null!==e:ove(e)},Ave=jhe.document,xve=Dve(Ave)&&Dve(Ave.createElement),Ove=function(e){return xve?Ave.createElement(e):{}},Tve=!Cve&&!pve((function(){return 7!=Object.defineProperty(Ove("div"),"a",{get:function(){return 7}}).a})),Nve=jhe.String,kve=jhe.TypeError,Bve=function(e){if(Dve(e))return e;throw kve(Nve(e)+" is not an object")},Ive=Function.prototype.call,Fve=Ive.bind?Ive.bind(Ive):function(){return Ive.apply(Ive,arguments)},Pve=qhe({}.isPrototypeOf),Rve=jhe.Object,_ve=vve?function(e){return"symbol"==typeof e}:function(e){var t=ave("Symbol");return ove(t)&&Pve(t.prototype,Rve(e))},Lve=jhe.String,jve=function(e){try{return Lve(e)}catch(e){return"Object"}},Mve=jhe.TypeError,zve=function(e){if(ove(e))return e;throw Mve(jve(e)+" is not a function")},Hve=function(e,t){var n=e[t];return null==n?void 0:zve(n)},Uve=jhe.TypeError,$ve=jhe.TypeError,Vve=Eve("toPrimitive"),Gve=function(e){var t=function(e,t){if(!Dve(e)||_ve(e))return e;var n,r=Hve(e,Vve);if(r){if(void 0===t&&(t="default"),n=Fve(r,e,t),!Dve(n)||_ve(n))return n;throw $ve("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&ove(n=e.toString)&&!Dve(r=Fve(n,e)))return r;if(ove(n=e.valueOf)&&!Dve(r=Fve(n,e)))return r;if("string"!==t&&ove(n=e.toString)&&!Dve(r=Fve(n,e)))return r;throw Uve("Can't convert object to primitive value")}(e,t)}(e,"string");return _ve(t)?t:t+""},Wve=jhe.TypeError,qve=Object.defineProperty,Kve={f:Cve?qve:function(e,t,n){if(Bve(e),t=Gve(t),Bve(n),Tve)try{return qve(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Wve("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Yve=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Xve=Cve?function(e,t,n){return Kve.f(e,t,Yve(1,n))}:function(e,t,n){return e[t]=n,e},Zve=qhe(Function.toString);ove(Hhe.inspectSource)||(Hhe.inspectSource=function(e){return Zve(e)});var Jve,Qve,ege,tge=Hhe.inspectSource,nge=jhe.WeakMap,rge=ove(nge)&&/native code/.test(tge(nge)),oge=Uhe("keys"),ige=function(e){return oge[e]||(oge[e]=rve(e))},age={},uge=jhe.TypeError,sge=jhe.WeakMap;if(rge||Hhe.state){var lge=Hhe.state||(Hhe.state=new sge),cge=qhe(lge.get),fge=qhe(lge.has),dge=qhe(lge.set);Jve=function(e,t){if(fge(lge,e))throw new uge("Object already initialized");return t.facade=e,dge(lge,e,t),t},Qve=function(e){return cge(lge,e)||{}},ege=function(e){return fge(lge,e)}}else{var pge=ige("state");age[pge]=!0,Jve=function(e,t){if(Qhe(e,pge))throw new uge("Object already initialized");return t.facade=e,Xve(e,pge,t),t},Qve=function(e){return Qhe(e,pge)?e[pge]:{}},ege=function(e){return Qhe(e,pge)}}var hge={set:Jve,get:Qve,has:ege,enforce:function(e){return ege(e)?Qve(e):Jve(e,{})},getterFor:function(e){return function(t){var n;if(!Dve(t)||(n=Qve(t)).type!==e)throw uge("Incompatible receiver, "+e+" required");return n}}},vge=Function.prototype,gge=Cve&&Object.getOwnPropertyDescriptor,yge=Qhe(vge,"name"),mge={EXISTS:yge,PROPER:yge&&"something"===function(){}.name,CONFIGURABLE:yge&&(!Cve||Cve&&gge(vge,"name").configurable)},bge=Phe((function(e){var t=mge.CONFIGURABLE,n=hge.get,r=hge.enforce,o=String(String).split("String");(e.exports=function(e,n,i,a){var u,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet,f=a&&void 0!==a.name?a.name:n;ove(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Qhe(i,"name")||t&&i.name!==f)&&Xve(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==jhe?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:Xve(e,n,i)):l?e[n]=i:zhe(n,i)})(Function.prototype,"toString",(function(){return ove(this)&&n(this).source||tge(this)}))})),Ege=qhe({}.toString),wge=qhe("".slice),Sge=function(e){return wge(Ege(e),8,-1)},Cge=Eve("toStringTag"),Dge=jhe.Object,Age="Arguments"==Sge(function(){return arguments}()),xge=Sve?Sge:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Dge(e),Cge))?n:Age?Sge(t):"Object"==(r=Sge(t))&&ove(t.callee)?"Arguments":r},Oge=Sve?{}.toString:function(){return"[object "+xge(this)+"]"};Sve||bge(Object.prototype,"toString",Oge,{unsafe:!0});var Tge,Nge={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},kge=Ove("span").classList,Bge=kge&&kge.constructor&&kge.constructor.prototype,Ige=Bge===Object.prototype?void 0:Bge,Fge=qhe(qhe.bind),Pge=jhe.Object,Rge=qhe("".split),_ge=pve((function(){return!Pge("z").propertyIsEnumerable(0)}))?function(e){return"String"==Sge(e)?Rge(e,""):Pge(e)}:Pge,Lge=Math.ceil,jge=Math.floor,Mge=function(e){var t=+e;return t!=t||0===t?0:(t>0?jge:Lge)(t)},zge=Math.min,Hge=function(e){return e>0?zge(Mge(e),9007199254740991):0},Uge=function(e){return Hge(e.length)},$ge=Array.isArray||function(e){return"Array"==Sge(e)},Vge=function(){},Gge=[],Wge=ave("Reflect","construct"),qge=/^\s*(?:class|function)\b/,Kge=qhe(qge.exec),Yge=!qge.exec(Vge),Xge=function(e){if(!ove(e))return!1;try{return Wge(Vge,Gge,e),!0}catch(e){return!1}},Zge=!Wge||pve((function(){var e;return Xge(Xge.call)||!Xge(Object)||!Xge((function(){e=!0}))||e}))?function(e){if(!ove(e))return!1;switch(xge(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Yge||!!Kge(qge,tge(e))}:Xge,Jge=Eve("species"),Qge=jhe.Array,eye=function(e,t){return new(function(e){var t;return $ge(e)&&(t=e.constructor,(Zge(t)&&(t===Qge||$ge(t.prototype))||Dve(t)&&null===(t=t[Jge]))&&(t=void 0)),void 0===t?Qge:t}(e))(0===t?0:t)},tye=qhe([].push),nye=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Zhe(s),v=_ge(h),g=function(e,t){return zve(e),void 0===t?e:Fge?Fge(e,t):function(){return e.apply(t,arguments)}}(l,c),y=Uge(v),m=0,b=f||eye,E=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in v)&&(p=g(d=v[m],m,h),e))if(t)E[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:tye(E,d)}else switch(e){case 4:return!1;case 7:tye(E,d)}return i?-1:r||o?o:E}},rye=[nye(0),nye(1),nye(2),nye(3),nye(4),nye(5),nye(6),nye(7)][0],oye=(Tge=[].forEach)&&pve((function(){Tge.call(null,(function(){throw 1}),1)}))?[].forEach:function(e){return rye(this,e,arguments.length>1?arguments[1]:void 0)},iye=function(e){if(e&&e.forEach!==oye)try{Xve(e,"forEach",oye)}catch(t){e.forEach=oye}};for(var aye in Nge)Nge[aye]&&iye(jhe[aye]&&jhe[aye].prototype);iye(Ige);var uye={}.propertyIsEnumerable,sye=Object.getOwnPropertyDescriptor,lye={f:sye&&!uye.call({1:2},1)?function(e){var t=sye(this,e);return!!t&&t.enumerable}:uye},cye=function(e){return _ge(Yhe(e))},fye=Object.getOwnPropertyDescriptor,dye={f:Cve?fye:function(e,t){if(e=cye(e),t=Gve(t),Tve)try{return fye(e,t)}catch(e){}if(Qhe(e,t))return Yve(!Fve(lye.f,e,t),e[t])}},pye=Math.max,hye=Math.min,vye=function(e,t){var n=Mge(e);return n<0?pye(n+t,0):hye(n,t)},gye=function(e){return function(t,n,r){var o,i=cye(t),a=Uge(i),u=vye(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},yye=(gye(!0),gye(!1)),mye=qhe([].push),bye=function(e,t){var n,r=cye(e),o=0,i=[];for(n in r)!Qhe(age,n)&&Qhe(r,n)&&mye(i,n);for(;t.length>o;)Qhe(r,n=t[o++])&&(~yye(i,n)||mye(i,n));return i},Eye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wye=Eye.concat("length","prototype"),Sye={f:Object.getOwnPropertyNames||function(e){return bye(e,wye)}},Cye={f:Object.getOwnPropertySymbols},Dye=qhe([].concat),Aye=ave("Reflect","ownKeys")||function(e){var t=Sye.f(Bve(e)),n=Cye.f;return n?Dye(t,n(e)):t},xye=function(e,t){for(var n=Aye(t),r=Kve.f,o=dye.f,i=0;i<n.length;i++){var a=n[i];Qhe(e,a)||r(e,a,o(t,a))}},Oye=/#|\.prototype\./,Tye=function(e,t){var n=kye[Nye(e)];return n==Iye||n!=Bye&&(ove(t)?pve(t):!!t)},Nye=Tye.normalize=function(e){return String(e).replace(Oye,".").toLowerCase()},kye=Tye.data={},Bye=Tye.NATIVE="N",Iye=Tye.POLYFILL="P",Fye=Tye,Pye=dye.f,Rye=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?jhe:l?jhe[u]||zhe(u,{}):(jhe[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Pye(n,r))&&a.value:n[r],!Fye(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;xye(i,o)}(e.sham||o&&o.sham)&&Xve(i,"sham",!0),bge(n,r,i,e)}},_ye=Object.keys||function(e){return bye(e,Eye)},Lye=Object.assign,jye=Object.defineProperty,Mye=qhe([].concat),zye=!Lye||pve((function(){if(Cve&&1!==Lye({b:1},Lye(jye({},"a",{enumerable:!0,get:function(){jye(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=Lye({},e)[n]||_ye(Lye({},t)).join("")!=r}))?function(e,t){for(var n=Zhe(e),r=arguments.length,o=1,i=Cye.f,a=lye.f;r>o;)for(var u,s=_ge(arguments[o++]),l=i?Mye(_ye(s),i(s)):_ye(s),c=l.length,f=0;c>f;)u=l[f++],Cve&&!Fve(a,s,u)||(n[u]=s[u]);return n}:Lye;Rye({target:"Object",stat:!0,forced:Object.assign!==zye},{assign:zye});var Hye=Phe((function(e){var t=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(i=o.util.objId(t),n[i])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=o.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach((function(t,o){r[o]=e(t,n)})),r);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var u in i)if(i.hasOwnProperty(u)){if(u==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(u)||(a[u]=i[u])}var l=r[e];return r[e]=a,o.languages.DFS(o.languages,(function(t,n){n===l&&t!=e&&(this[t]=a)})),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var u in t)if(t.hasOwnProperty(u)){n.call(t,u,t[u],r||u);var s=t[u],l=o.util.type(s);"Object"!==l||i[a(s)]?"Array"!==l||i[a(s)]||(i[a(s)]=!0,e(s,n,u,i)):(i[a(s)]=!0,e(s,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(n,r,i){var a=o.util.getLanguage(n),u=o.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var s=n.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&(s.className=s.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var l={element:n,language:a,grammar:u,code:n.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),i&&i.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(i&&i.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(r&&e.Worker){var f=new Worker(o.filename);f.onmessage=function(e){c(e.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return o.hooks.run("before-tokenize",r),r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var o=new s;return l(o,o.head,e),u(e,o,t,o.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(o)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function u(e,t,n,r,s,f){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var p=n[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var v=p[h],g=v.inside,y=!!v.lookbehind,m=!!v.greedy,b=v.alias;if(m&&!v.pattern.global){var E=v.pattern.toString().match(/[imsuy]*$/)[0];v.pattern=RegExp(v.pattern.source,E+"g")}for(var w=v.pattern||v,S=r.next,C=s;S!==t.tail&&!(f&&C>=f.reach);C+=S.value.length,S=S.next){var D=S.value;if(t.length>e.length)return;if(!(D instanceof i)){var A,x=1;if(m){if(!(A=a(w,C,e,y)))break;var O=A.index,T=A.index+A[0].length,N=C;for(N+=S.value.length;O>=N;)N+=(S=S.next).value.length;if(C=N-=S.value.length,S.value instanceof i)continue;for(var k=S;k!==t.tail&&(N<T||"string"==typeof k.value);k=k.next)x++,N+=k.value.length;x--,D=e.slice(C,N),A.index-=C}else if(!(A=a(w,0,D,y)))continue;O=A.index;var B=A[0],I=D.slice(0,O),F=D.slice(O+B.length),P=C+D.length;f&&P>f.reach&&(f.reach=P);var R=S.prev;if(I&&(R=l(t,R,I),C+=I.length),c(t,R,x),S=l(t,R,new i(d,g?o.tokenize(B,g):B,b,B)),F&&l(t,S,F),x>1){var _={cause:d+","+h,reach:P};u(e,t,n,S.prev,C,_),f&&_.reach>f.reach&&(f.reach=_.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}function c(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach((function(t){r+=e(t,n)})),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var u="";for(var s in i.attributes)u+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+u+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(o.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()}),!1),o):o;var f=o.util.currentScript();function d(){o.manual||o.highlightAll()}if(f&&(o.filename=f.src,f.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var p=document.readyState;"loading"===p||"interactive"===p&&f&&f.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
25
25
  /**
26
26
  * Prism: Lightweight, robust, elegant syntax highlighting
27
27
  *
@@ -29,5 +29,5 @@ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?windo
29
29
  * @author Lea Verou <https://lea.verou.me>
30
30
  * @namespace
31
31
  * @public
32
- */e.exports&&(e.exports=t),void 0!==Bhe&&(Bhe.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',o=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",(function(e){e.selector+=", "+r})),t.hooks.add("before-sanity-check",(function(o){var i=o.element;if(i.matches(r)){o.code="",i.setAttribute(n,"loading");var u=i.appendChild(document.createElement("CODE"));u.textContent="Loading…";var s=i.getAttribute("data-src"),l=o.language;if("none"===l){var c=(/\.(\w+)$/.exec(s)||[,"none"])[1];l=e[c]||c}a(u,l),a(i,l);var f=t.plugins.autoloader;f&&f.loadLanguages(l);var d=new XMLHttpRequest;d.open("GET",s,!0),d.onreadystatechange=function(){4==d.readyState&&(d.status<400&&d.responseText?(i.setAttribute(n,"loaded"),u.textContent=d.responseText,t.highlightElement(u)):(i.setAttribute(n,"failed"),d.status>=400?u.textContent="✖ Error "+d.status+" while fetching file: "+d.statusText:u.textContent="✖ Error: File does not exist or is empty"))},d.send(null)}})),t.plugins.fileHighlight={highlight:function(e){for(var n,o=(e||document).querySelectorAll(r),i=0;n=o[i++];)t.highlightElement(n)}};var i=!1;t.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function a(e,t){var n=e.className;n=n.replace(o," ")+" language-"+t,e.className=n.replace(/\s+/g," ").trim()}}()}));!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},u=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=a(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&u(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)}))}(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},u=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:u,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:u,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),d=s(o+" "+i+" "+u),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[v,p]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,g]),m=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),E=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,m]),C={keyword:c,punctuation:/[<>()?,.:[\]]/},D=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,x=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[x]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:RegExp(D),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,S]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,g]),lookbehind:!0,inside:C},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:C},{pattern:n(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,d,v]),inside:C}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,y]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,p]),inside:{function:n(/^<<0>>/.source,[v]),generic:{pattern:RegExp(p),alias:"class-name",inside:C}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,g,v,S,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(S),greedy:!0,inside:C},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=A+"|"+D,T=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),N=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),k=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,B=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[k,B]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[k]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,F=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,I]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[O]),2),_=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,I]);function L(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:L(P,F)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[_]),lookbehind:!0,greedy:!0,inside:L(_,R)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=Prism.languages.swift})),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var u=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(u=(/[a-z][\w-]*/i.exec(u)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,s]:a.alias.push(s):a.alias=[s]}}else e(o.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var i=t.classes[r],l=/language-(.+)/.exec(i);if(l){n=l[1];break}}var c=e.languages[n];if(c)t.content=e.highlight(function(e){var t=e.replace(a,"");return t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):u[t]||e}))}(t.content),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",(function(e){if("groovy"===e.language&&"string"===e.type){var t=e.content[0];if("'"!=t){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===t&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push("/"===t?"regex":"gstring")}}})),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/};var zye=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function Hye(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce((function(e,t){return e+Hye(t)}),0)}var Uye,$ye=_he.String,Vye=function(e){if("Symbol"===Dge(e))throw TypeError("Cannot convert a Symbol value to a string");return $ye(e)},Gye=function(){var e=Nve(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Wye=_he.RegExp,qye=fve((function(){var e=Wye("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Kye=qye||fve((function(){return!Wye("a","y").sticky})),Yye={BROKEN_CARET:qye||fve((function(){var e=Wye("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Kye,UNSUPPORTED_Y:qye},Xye=wve?Object.defineProperties:function(e,t){Nve(e);for(var n,r=sye(t),o=Pye(t),i=o.length,a=0;i>a;)Wve.f(e,n=o[a++],r[n]);return e},Zye=ove("document","documentElement"),Jye=rge("IE_PROTO"),Qye=function(){},eme=function(e){return"<script>"+e+"<\/script>"},tme=function(e){e.write(eme("")),e.close();var t=e.parentWindow.Object;return e=null,t},nme=function(){try{Uye=new ActiveXObject("htmlfile")}catch(e){}var e,t;nme="undefined"!=typeof document?document.domain&&Uye?tme(Uye):((t=Ave("iframe")).style.display="none",Zye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(eme("document.F=Object")),e.close(),e.F):tme(Uye);for(var n=mye.length;n--;)delete nme.prototype[mye[n]];return nme()};oge[Jye]=!0;var rme,ome,ime=Object.create||function(e,t){var n;return null!==e?(Qye.prototype=Nve(e),n=new Qye,Qye.prototype=null,n[Jye]=e):n=nme(),void 0===t?n:Xye(n,t)},ame=_he.RegExp,ume=fve((function(){var e=ame(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),sme=_he.RegExp,lme=fve((function(){var e=sme("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),cme=dge.get,fme=zhe("native-string-replace",String.prototype.replace),dme=RegExp.prototype.exec,pme=dme,hme=Ghe("".charAt),vme=Ghe("".indexOf),gme=Ghe("".replace),yme=Ghe("".slice),mme=(ome=/b*/g,Bve(dme,rme=/a/,"a"),Bve(dme,ome,"a"),0!==rme.lastIndex||0!==ome.lastIndex),bme=Yye.BROKEN_CARET,Eme=void 0!==/()??/.exec("")[1];(mme||Eme||bme||ume||lme)&&(pme=function(e){var t,n,r,o,i,a,u,s=this,l=cme(s),c=Vye(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Bve(pme,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=bme&&s.sticky,h=Bve(Gye,s),v=s.source,g=0,y=c;if(p&&(h=gme(h,"y",""),-1===vme(h,"g")&&(h+="g"),y=yme(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==hme(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),Eme&&(n=new RegExp("^"+v+"$(?!\\s)",h)),mme&&(r=s.lastIndex),o=Bve(dme,p?n:s,y),p?o?(o.input=yme(o.input,g),o[0]=yme(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:mme&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Eme&&o&&o.length>1&&Bve(fme,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=ime(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var wme=pme;Fye({target:"RegExp",proto:!0,forced:/./.exec!==wme},{exec:wme});var Sme=Function.prototype,Cme=Sme.apply,Dme=Sme.bind,Ame=Sme.call,xme="object"==typeof Reflect&&Reflect.apply||(Dme?Ame.bind(Cme):function(){return Ame.apply(Cme,arguments)}),Ome=mve("species"),Tme=RegExp.prototype,Nme=mve("match"),kme=_he.TypeError,Bme=mve("species"),Ime=Ghe("".charAt),Fme=Ghe("".charCodeAt),Pme=Ghe("".slice),Rme=function(e){return function(t,n){var r,o,i=Vye(qhe(t)),a=Lge(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Fme(i,a))<55296||r>56319||a+1===u||(o=Fme(i,a+1))<56320||o>57343?e?Ime(i,a):r:e?Pme(i,a,a+2):o-56320+(r-55296<<10)+65536}},_me=(Rme(!1),Rme(!0)),Lme=function(e,t,n){return t+(n?_me(e,t).length:1)},jme=_he.Array,Mme=Math.max,zme=function(e,t,n){for(var r,o,i,a,u=zge(e),s=pye(t,u),l=pye(void 0===n?u:n,u),c=jme(Mme(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],void 0,(a=$ve(o))in r?Wve.f(r,a,qve(0,i)):r[a]=i;return c.length=f,c},Hme=_he.TypeError,Ume=function(e,t){var n=e.exec;if(nve(n)){var r=Bve(n,e,t);return null!==r&&Nve(r),r}if("RegExp"===Ege(e))return Bve(wme,e,t);throw Hme("RegExp#exec called on incompatible receiver")},$me=Yye.UNSUPPORTED_Y,Vme=Math.min,Gme=[].push,Wme=Ghe(/./.exec),qme=Ghe(Gme),Kme=Ghe("".slice);!function(e,t,n,r){var o=mve(e),i=!fve((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!fve((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[Ome]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=Ghe(/./[o]),s=function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o,i=Vye(qhe(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Sve(r=e)||!(void 0!==(o=r[Nme])?o:"RegExp"==Ege(r)))return Bve(t,i,e,a);for(var u,s,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=new RegExp(e.source,f+"g");(u=Bve(wme,p,i))&&!((s=p.lastIndex)>d&&(qme(c,Kme(i,d,u.index)),u.length>1&&u.index<i.length&&xme(Gme,c,zme(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&Wme(p,"")||qme(c,""):qme(c,Kme(i,d)),c.length>a?zme(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Bve(t,this,e,n)}:t,[function(t,n){var o=qhe(this),i=null==t?void 0:Mve(t,e);return i?Bve(i,t,o,n):Bve(r,Vye(o),t,n)},function(e,o){var i=Nve(this),a=Vye(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=Nve(e).constructor;return void 0===r||null==(n=Nve(r)[Bme])?t:function(e){if(Yge(e))return e;throw kme(_ve(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+($me?"g":"y"),f=new s($me?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Ume(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=$me?0:h;var g,y=Ume(f,$me?Kme(a,h):a);if(null===y||(g=Vme(Mge(f.lastIndex+($me?h:0)),a.length))===p)h=Lme(a,h,l);else{if(qme(v,Kme(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(qme(v,y[m]),v.length===d)return v;h=p=g}}return qme(v,Kme(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=Ghe(e),s=t.exec;return s===wme||s===Tme.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));yge(String.prototype,e,s[0]),yge(Tme,o,s[1])}r&&Kve(Tme[o],"sham",!0)}("split",0,!!fve((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),$me),Fye({global:!0},{globalThis:_he}),$p&&(Mp.fn.attr=$p);var Yme=gge.PROPER,Xme=RegExp.prototype,Zme=Xme.toString,Jme=Ghe(Gye),Qme=fve((function(){return"/a/b"!=Zme.call({source:"a",flags:"b"})})),ebe=Yme&&"toString"!=Zme.name;(Qme||ebe)&&yge(RegExp.prototype,"toString",(function(){var e=Nve(this),t=Vye(e.source),n=e.flags;return"/"+t+"/"+Vye(void 0===n&&Ive(Xme,e)&&!("flags"in Xme)?Jme(e):n)}),{unsafe:!0});var tbe=function(){function e(){this.title=UF("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("codeSelectLang").codeLangs,r=void 0===n?[]:n;t.push({text:"plain text",value:""}),r.forEach((function(e){var n=e.text,r=e.value;t.push({text:n,value:r})}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t)return"";if(!Cf.isElement(t))return"";var n=t.language.toString(),r=e.getMenuConfig("codeSelectLang").codeLangs;return(void 0===r?[]:r).some((function(e){return e.value===n}))?n:""},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,t){if(null!=this.getSelectCodeElem(e)){var n={language:t.toString()};md.setNodes(e,n,{match:function(e){return QO.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=QO.getSelectedNodeByType(e,"code");if(null==t)return null;var n=QO.getParentNode(e,t);return Cf.isElement(n)?"pre"!==n.type?null:t:null},e}(),nbe={renderStyle:function(e,t){var n=e,r=t,o="";return zye.forEach((function(e){n[e]&&(o=e)})),o&&function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,{className:t})}(r,o="token "+o),r},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;if("code"!==QO.getNodeType(t))return t;var o=t,i=r.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[{key:"codeSelectLang",factory:function(){return new tbe},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"},{text:"ABAP",value:"abap"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=void 0===n?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},rbe=/"/g,obe=Ghe("".replace);Fye({target:"String",proto:!0,forced:fve((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return"a","name",t=e,n=Vye(qhe(this)),r="<a",(r+=' name="'+obe(Vye(t),rbe,"&quot;")+'"')+">"+n+"</a>";var t,n,r}}),"function"==typeof SuppressedError&&SuppressedError;var ibe=function(e){var t,n,r,o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e,2),i=o[0],a=o[1],u=[],s=function(e){if(!ed.isText(e))return null;var t=QO.getParentNode(null,e);if(t&&"code"===QO.getNodeType(t)){var n=QO.getParentNode(null,t);if(n&&"pre"===QO.getNodeType(n))return t}return null}(i);if(null==s)return u;var l=s.language,c=void 0===l?"":l;if(!c)return u;var f=function(e,t){if(!t)return[];var n=Mye.languages[t];return n?Mye.tokenize(e.text,n):[]}(i,c),d=0;try{for(var p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var v=h.value,g=d+Hye(v);"string"!=typeof v&&u.push(((r={})[v.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:g},r)),d=g}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return u},abe=function(){return abe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},abe.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var ube=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=abe(abe({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=abe(abe({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=abe(abe({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=abe(abe({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){var n=e.key,r=e.factory,o=e.config,i=ox(ox({},o),t||{});if(null!=nT[n])throw new Error("Duplicated key '"+n+"' in menu items");nT[n]=r,function(e,t){null!=t&&(tT[e]=t)}(n,i)}(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,n=e.renderElem;zB[t||""]=n}(e)},e.registerRenderStyle=function(e){!function(e){MB.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,n=e.elemToHtml;vT[t||""]=n}(e)},e.registerStyleToHtml=function(e){!function(e){hT.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){rk.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,n=e.parseElemHtml;ik[t]=n}(e)},e.registerParseStyleHtml=function(e){!function(e){ok.push(e)}(e)},e.registerModule=function(e){sbe(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function sbe(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach((function(e){return ube.registerMenu(e)})),n&&n.forEach((function(e){return ube.registerRenderElem(e)})),r&&ube.registerRenderStyle(r),o&&o.forEach((function(e){return ube.registerElemToHtml(e)})),i&&ube.registerStyleToHtml(i),a&&a.forEach((function(e){return ube.registerPreParseHtml(e)})),u&&u.forEach((function(e){return ube.registerParseElemHtml(e)})),s&&ube.registerParseStyleHtml(s),l&&ube.registerPlugin(l)}Zq.forEach((function(e){return sbe(e)})),sbe(b0),sbe(d7),sbe(Iae),sbe(khe),sbe(nbe);var lbe='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>';var cbe={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var fbe={hoverbarKeys:abe(abe({},cbe),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};ube.setEditorConfig(abe(abe({},fbe),{decorate:ibe}));var dbe={hoverbarKeys:cbe};ube.setSimpleEditorConfig(abe(abe({},dbe),{decorate:ibe}));var pbe={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:UF("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:UF("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:UF("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:UF("editor.image"),iconSvg:lbe,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:UF("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};ube.setToolbarConfig(pbe);var hbe={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:UF("editor.image"),iconSvg:lbe,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function vbe(e){void 0===e&&(e={});var t=e.selector,n=void 0===t?"":t,r=e.content,o=void 0===r?[]:r,i=e.html,a=e.config,u=void 0===a?{}:a,s=e.mode,l="simple"===(void 0===s?"default":s)?ube.simpleEditorConfig:ube.editorConfig,c=abe(abe({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return _I({selector:n,config:abe(abe(abe({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:ube.plugins})}function gbe(e){var t=e.selector,n=e.editor,r=e.config,o=void 0===r?{}:r,i=e.mode,a=void 0===i?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var u="simple"===a?ube.simpleToolbarConfig:ube.toolbarConfig,s=function(e,t){if(null==e)throw new Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config,o=void 0===r?{}:r;if(function(e,t){return Lk(e,"data-w-e-toolbar",t)}(e,n))throw new Error("Repeated create toolbar by selector '"+n+"'");var i=ox({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),a=new HI(n,i);return uO.set(a,e),sO.set(e,a),a}(n,{selector:t,config:abe(abe({},u),o)});return s}ube.setSimpleToolbarConfig(hbe);var ybe={};export{ube as Boot,QO as DomEditor,Nf as SlateEditor,Cf as SlateElement,kf as SlateLocation,Rf as SlateNode,Mf as SlatePath,$f as SlatePoint,qf as SlateRange,ed as SlateText,md as SlateTransforms,HI as Toolbar,vbe as createEditor,gbe as createToolbar,KI as createUploader,ybe as default,AI as genModalButtonElems,CI as genModalInputElems,DI as genModalTextareaElems,MF as i18nAddResources,zF as i18nChangeLanguage,HF as i18nGetResources,UF as t};
32
+ */e.exports&&(e.exports=t),void 0!==Fhe&&(Fhe.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',o=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",(function(e){e.selector+=", "+r})),t.hooks.add("before-sanity-check",(function(o){var i=o.element;if(i.matches(r)){o.code="",i.setAttribute(n,"loading");var u=i.appendChild(document.createElement("CODE"));u.textContent="Loading…";var s=i.getAttribute("data-src"),l=o.language;if("none"===l){var c=(/\.(\w+)$/.exec(s)||[,"none"])[1];l=e[c]||c}a(u,l),a(i,l);var f=t.plugins.autoloader;f&&f.loadLanguages(l);var d=new XMLHttpRequest;d.open("GET",s,!0),d.onreadystatechange=function(){4==d.readyState&&(d.status<400&&d.responseText?(i.setAttribute(n,"loaded"),u.textContent=d.responseText,t.highlightElement(u)):(i.setAttribute(n,"failed"),d.status>=400?u.textContent="✖ Error "+d.status+" while fetching file: "+d.statusText:u.textContent="✖ Error: File does not exist or is empty"))},d.send(null)}})),t.plugins.fileHighlight={highlight:function(e){for(var n,o=(e||document).querySelectorAll(r),i=0;n=o[i++];)t.highlightElement(n)}};var i=!1;t.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function a(e,t){var n=e.className;n=n.replace(o," ")+" language-"+t,e.className=n.replace(/\s+/g," ").trim()}}()}));!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return o})),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},u=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=a(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&u(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)}))}(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},u=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:u,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:u,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return"(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),d=s(o+" "+i+" "+u),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[v,p]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,g]),m=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),E=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),w=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,m]),C={keyword:c,punctuation:/[<>()?,.:[\]]/},D=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,x=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[x]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:RegExp(D),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,S]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,g]),lookbehind:!0,inside:C},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:C},{pattern:n(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,d,v]),inside:C}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,y]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,p]),inside:{function:n(/^<<0>>/.source,[v]),generic:{pattern:RegExp(p),alias:"class-name",inside:C}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,g,v,S,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(S),greedy:!0,inside:C},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=A+"|"+D,T=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),N=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),k=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,B=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[k,B]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[k]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,F=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,I]),R=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[O]),2),_=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,I]);function L(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,I]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:L(P,F)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[_]),lookbehind:!0,greedy:!0,inside:L(_,R)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=Prism.languages.swift})),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var u=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(u=(/[a-z][\w-]*/i.exec(u)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,s]:a.alias.push(s):a.alias=[s]}}else e(o.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var i=t.classes[r],l=/language-(.+)/.exec(i);if(l){n=l[1];break}}var c=e.languages[n];if(c)t.content=e.highlight(function(e){var t=e.replace(a,"");return t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n)):u[t]||e}))}(t.content),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",(function(e){if("groovy"===e.language&&"string"===e.type){var t=e.content[0];if("'"!=t){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===t&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push("/"===t?"regex":"gstring")}}})),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/};var Uye=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function $ye(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce((function(e,t){return e+$ye(t)}),0)}var Vye,Gye=jhe.String,Wye=function(e){if("Symbol"===xge(e))throw TypeError("Cannot convert a Symbol value to a string");return Gye(e)},qye=function(){var e=Bve(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Kye=jhe.RegExp,Yye=pve((function(){var e=Kye("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Xye=Yye||pve((function(){return!Kye("a","y").sticky})),Zye={BROKEN_CARET:Yye||pve((function(){var e=Kye("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Xye,UNSUPPORTED_Y:Yye},Jye=Cve?Object.defineProperties:function(e,t){Bve(e);for(var n,r=cye(t),o=_ye(t),i=o.length,a=0;i>a;)Kve.f(e,n=o[a++],r[n]);return e},Qye=ave("document","documentElement"),eme=ige("IE_PROTO"),tme=function(){},nme=function(e){return"<script>"+e+"<\/script>"},rme=function(e){e.write(nme("")),e.close();var t=e.parentWindow.Object;return e=null,t},ome=function(){try{Vye=new ActiveXObject("htmlfile")}catch(e){}var e,t;ome="undefined"!=typeof document?document.domain&&Vye?rme(Vye):((t=Ove("iframe")).style.display="none",Qye.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(nme("document.F=Object")),e.close(),e.F):rme(Vye);for(var n=Eye.length;n--;)delete ome.prototype[Eye[n]];return ome()};age[eme]=!0;var ime,ame,ume=Object.create||function(e,t){var n;return null!==e?(tme.prototype=Bve(e),n=new tme,tme.prototype=null,n[eme]=e):n=ome(),void 0===t?n:Jye(n,t)},sme=jhe.RegExp,lme=pve((function(){var e=sme(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),cme=jhe.RegExp,fme=pve((function(){var e=cme("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),dme=hge.get,pme=Uhe("native-string-replace",String.prototype.replace),hme=RegExp.prototype.exec,vme=hme,gme=qhe("".charAt),yme=qhe("".indexOf),mme=qhe("".replace),bme=qhe("".slice),Eme=(ame=/b*/g,Fve(hme,ime=/a/,"a"),Fve(hme,ame,"a"),0!==ime.lastIndex||0!==ame.lastIndex),wme=Zye.BROKEN_CARET,Sme=void 0!==/()??/.exec("")[1];(Eme||Sme||wme||lme||fme)&&(vme=function(e){var t,n,r,o,i,a,u,s=this,l=dme(s),c=Wye(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Fve(vme,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=wme&&s.sticky,h=Fve(qye,s),v=s.source,g=0,y=c;if(p&&(h=mme(h,"y",""),-1===yme(h,"g")&&(h+="g"),y=bme(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==gme(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),Sme&&(n=new RegExp("^"+v+"$(?!\\s)",h)),Eme&&(r=s.lastIndex),o=Fve(hme,p?n:s,y),p?o?(o.input=bme(o.input,g),o[0]=bme(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Eme&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Sme&&o&&o.length>1&&Fve(pme,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=ume(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Cme=vme;Rye({target:"RegExp",proto:!0,forced:/./.exec!==Cme},{exec:Cme});var Dme=Function.prototype,Ame=Dme.apply,xme=Dme.bind,Ome=Dme.call,Tme="object"==typeof Reflect&&Reflect.apply||(xme?Ome.bind(Ame):function(){return Ome.apply(Ame,arguments)}),Nme=Eve("species"),kme=RegExp.prototype,Bme=Eve("match"),Ime=jhe.TypeError,Fme=Eve("species"),Pme=qhe("".charAt),Rme=qhe("".charCodeAt),_me=qhe("".slice),Lme=function(e){return function(t,n){var r,o,i=Wye(Yhe(t)),a=Mge(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Rme(i,a))<55296||r>56319||a+1===u||(o=Rme(i,a+1))<56320||o>57343?e?Pme(i,a):r:e?_me(i,a,a+2):o-56320+(r-55296<<10)+65536}},jme=(Lme(!1),Lme(!0)),Mme=function(e,t,n){return t+(n?jme(e,t).length:1)},zme=jhe.Array,Hme=Math.max,Ume=function(e,t,n){for(var r,o,i,a,u=Uge(e),s=vye(t,u),l=vye(void 0===n?u:n,u),c=zme(Hme(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],void 0,(a=Gve(o))in r?Kve.f(r,a,Yve(0,i)):r[a]=i;return c.length=f,c},$me=jhe.TypeError,Vme=function(e,t){var n=e.exec;if(ove(n)){var r=Fve(n,e,t);return null!==r&&Bve(r),r}if("RegExp"===Sge(e))return Fve(Cme,e,t);throw $me("RegExp#exec called on incompatible receiver")},Gme=Zye.UNSUPPORTED_Y,Wme=Math.min,qme=[].push,Kme=qhe(/./.exec),Yme=qhe(qme),Xme=qhe("".slice);!function(e,t,n,r){var o=Eve(e),i=!pve((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!pve((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[Nme]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=qhe(/./[o]),s=function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o,i=Wye(Yhe(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Dve(r=e)||!(void 0!==(o=r[Bme])?o:"RegExp"==Sge(r)))return Fve(t,i,e,a);for(var u,s,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=new RegExp(e.source,f+"g");(u=Fve(Cme,p,i))&&!((s=p.lastIndex)>d&&(Yme(c,Xme(i,d,u.index)),u.length>1&&u.index<i.length&&Tme(qme,c,Ume(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&Kme(p,"")||Yme(c,""):Yme(c,Xme(i,d)),c.length>a?Ume(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Fve(t,this,e,n)}:t,[function(t,n){var o=Yhe(this),i=null==t?void 0:Hve(t,e);return i?Fve(i,t,o,n):Fve(r,Wye(o),t,n)},function(e,o){var i=Bve(this),a=Wye(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=Bve(e).constructor;return void 0===r||null==(n=Bve(r)[Fme])?t:function(e){if(Zge(e))return e;throw Ime(jve(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Gme?"g":"y"),f=new s(Gme?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Vme(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=Gme?0:h;var g,y=Vme(f,Gme?Xme(a,h):a);if(null===y||(g=Wme(Hge(f.lastIndex+(Gme?h:0)),a.length))===p)h=Mme(a,h,l);else{if(Yme(v,Xme(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(Yme(v,y[m]),v.length===d)return v;h=p=g}}return Yme(v,Xme(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=qhe(e),s=t.exec;return s===Cme||s===kme.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));bge(String.prototype,e,s[0]),bge(kme,o,s[1])}r&&Xve(kme[o],"sham",!0)}("split",0,!!pve((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Gme),Rye({global:!0},{globalThis:jhe}),$p&&(Mp.fn.attr=$p);var Zme=mge.PROPER,Jme=RegExp.prototype,Qme=Jme.toString,ebe=qhe(qye),tbe=pve((function(){return"/a/b"!=Qme.call({source:"a",flags:"b"})})),nbe=Zme&&"toString"!=Qme.name;(tbe||nbe)&&bge(RegExp.prototype,"toString",(function(){var e=Bve(this),t=Wye(e.source),n=e.flags;return"/"+t+"/"+Wye(void 0===n&&Pve(Jme,e)&&!("flags"in Jme)?ebe(e):n)}),{unsafe:!0});var rbe=function(){function e(){this.title=GF("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("codeSelectLang").codeLangs,r=void 0===n?[]:n;t.push({text:"plain text",value:""}),r.forEach((function(e){var n=e.text,r=e.value;t.push({text:n,value:r})}));var o=this.getValue(e);return t.forEach((function(e){e.value===o?e.selected=!0:delete e.selected})),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t)return"";if(!Cf.isElement(t))return"";var n=t.language.toString(),r=e.getMenuConfig("codeSelectLang").codeLangs;return(void 0===r?[]:r).some((function(e){return e.value===n}))?n:""},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,t){if(null!=this.getSelectCodeElem(e)){var n={language:t.toString()};md.setNodes(e,n,{match:function(e){return _N.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=_N.getSelectedNodeByType(e,"code");if(null==t)return null;var n=_N.getParentNode(e,t);return Cf.isElement(n)?"pre"!==n.type?null:t:null},e}(),obe={renderStyle:function(e,t){var n=e,r=t,o="";return Uye.forEach((function(e){n[e]&&(o=e)})),o&&function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,{className:t})}(r,o="token "+o),r},parseStyleHtml:function(e,t,n){var r=Mp(e);if(!Cf.isElement(t))return t;if("code"!==_N.getNodeType(t))return t;var o=t,i=r.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[{key:"codeSelectLang",factory:function(){return new rbe},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"},{text:"ABAP",value:"abap"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=void 0===n?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},ibe=/"/g,abe=qhe("".replace);Rye({target:"String",proto:!0,forced:pve((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return"a","name",t=e,n=Wye(Yhe(this)),r="<a",(r+=' name="'+abe(Wye(t),ibe,"&quot;")+'"')+">"+n+"</a>";var t,n,r}}),"function"==typeof SuppressedError&&SuppressedError;var ube=function(e){var t,n,r,o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e,2),i=o[0],a=o[1],u=[],s=function(e){if(!ed.isText(e))return null;var t=_N.getParentNode(null,e);if(t&&"code"===_N.getNodeType(t)){var n=_N.getParentNode(null,t);if(n&&"pre"===_N.getNodeType(n))return t}return null}(i);if(null==s)return u;var l=s.language,c=void 0===l?"":l;if(!c)return u;var f=function(e,t){if(!t)return[];var n=Hye.languages[t];return n?Hye.tokenize(e.text,n):[]}(i,c),d=0;try{for(var p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var v=h.value,g=d+$ye(v);"string"!=typeof v&&u.push(((r={})[v.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:g},r)),d=g}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return u},sbe=function(){return sbe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sbe.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var lbe=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=sbe(sbe({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=sbe(sbe({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=sbe(sbe({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=sbe(sbe({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){var n=e.key,r=e.factory,o=e.config,i=ix(ix({},o),t||{});if(null!=MN[n])throw new Error("Duplicated key '"+n+"' in menu items");MN[n]=r,function(e,t){null!=t&&(jN[e]=t)}(n,i)}(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,n=e.renderElem;UB[t||""]=n}(e)},e.registerRenderStyle=function(e){!function(e){HB.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,n=e.elemToHtml;JN[t||""]=n}(e)},e.registerStyleToHtml=function(e){!function(e){ZN.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){ik.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,n=e.parseElemHtml;uk[t]=n}(e)},e.registerParseStyleHtml=function(e){!function(e){ak.push(e)}(e)},e.registerModule=function(e){cbe(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function cbe(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach((function(e){return lbe.registerMenu(e)})),n&&n.forEach((function(e){return lbe.registerRenderElem(e)})),r&&lbe.registerRenderStyle(r),o&&o.forEach((function(e){return lbe.registerElemToHtml(e)})),i&&lbe.registerStyleToHtml(i),a&&a.forEach((function(e){return lbe.registerPreParseHtml(e)})),u&&u.forEach((function(e){return lbe.registerParseElemHtml(e)})),s&&lbe.registerParseStyleHtml(s),l&&lbe.registerPlugin(l)}eK.forEach((function(e){return cbe(e)})),cbe(S0),cbe(h7),cbe(Pae),cbe(Ihe),cbe(obe);var fbe='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>';var dbe={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var pbe={hoverbarKeys:sbe(sbe({},dbe),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};lbe.setEditorConfig(sbe(sbe({},pbe),{decorate:ube}));var hbe={hoverbarKeys:dbe};lbe.setSimpleEditorConfig(sbe(sbe({},hbe),{decorate:ube}));var vbe={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:GF("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:GF("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:GF("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:GF("editor.image"),iconSvg:fbe,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:GF("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};lbe.setToolbarConfig(vbe);var gbe={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:GF("editor.image"),iconSvg:fbe,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function ybe(e){void 0===e&&(e={});var t=e.selector,n=void 0===t?"":t,r=e.content,o=void 0===r?[]:r,i=e.html,a=e.config,u=void 0===a?{}:a,s=e.mode,l="simple"===(void 0===s?"default":s)?lbe.simpleEditorConfig:lbe.editorConfig,c=sbe(sbe({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return jI({selector:n,config:sbe(sbe(sbe({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:lbe.plugins})}function mbe(e){var t=e.selector,n=e.editor,r=e.config,o=void 0===r?{}:r,i=e.mode,a=void 0===i?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var u="simple"===a?lbe.simpleToolbarConfig:lbe.toolbarConfig,s=function(e,t){if(null==e)throw new Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config,o=void 0===r?{}:r;if(function(e,t){return Mk(e,"data-w-e-toolbar",t)}(e,n))throw new Error("Repeated create toolbar by selector '"+n+"'");var i=ix({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),a=new $I(n,i);return sO.set(a,e),lO.set(e,a),a}(n,{selector:t,config:sbe(sbe({},u),o)});return s}lbe.setSimpleToolbarConfig(gbe);var bbe={};export{lbe as Boot,_N as DomEditor,Nf as SlateEditor,Cf as SlateElement,kf as SlateLocation,Rf as SlateNode,Mf as SlatePath,$f as SlatePoint,qf as SlateRange,ed as SlateText,md as SlateTransforms,$I as Toolbar,ybe as createEditor,mbe as createToolbar,XI as createUploader,bbe as default,OI as genModalButtonElems,AI as genModalInputElems,xI as genModalTextareaElems,UF as i18nAddResources,$F as i18nChangeLanguage,VF as i18nGetResources,GF as t};
33
33
  //# sourceMappingURL=index.esm.js.map