@wangeditor-next/editor 5.3.12 → 5.3.14

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=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,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 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)+"]"};Kee||gee(Object.prototype,"toString",Kte,{unsafe:!0});var Yte,Xte,Zte=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},Jte=A7.RegExp,Qte=x7((function(){var e=Jte("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ene=Qte||x7((function(){return!Jte("a","y").sticky})),tne={BROKEN_CARET:Qte||x7((function(){var e=Jte("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ene,UNSUPPORTED_Y:Qte},nne=A7.RegExp,rne=x7((function(){var e=nne(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),one=A7.RegExp,ine=x7((function(){var e=one("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),ane=fee.get,une=m9("native-string-replace",String.prototype.replace),sne=RegExp.prototype.exec,lne=sne,cne=j7("".charAt),fne=j7("".indexOf),dne=j7("".replace),pne=j7("".slice),hne=(Xte=/b*/g,N7(sne,Yte=/a/,"a"),N7(sne,Xte,"a"),0!==Yte.lastIndex||0!==Xte.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=ete(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=N7(lne,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=vne&&s.sticky,h=N7(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=N7(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&&N7(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=Cte(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var yne=lne;Wee({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=B9("species"),Dne=RegExp.prototype,Ane=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 t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Cne]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=j7(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=j7(e),s=t.exec;return s===yne||s===Dne.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(Dne,o,s[1])}r&&q9(Dne[o],"sham",!0)},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(yne,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");Ane("replace",(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(Sne(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)}]}),!!x7((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Yne||Xne);var Zne=B9("match"),Jne=A7.TypeError,Qne=B9("species"),ere=function(e,t){var n,r=$9(e).constructor;return void 0===r||null==(n=$9(r)[Qne])?t:function(e){if(Mte(e))return e;throw Jne(c9(e)+" is not a constructor")}(n)},tre=function(e,t,n){var r=P9(t);r in e?W9.f(e,r,F7(0,n)):e[r]=n},nre=A7.Array,rre=Math.max,ore=function(e,t,n){for(var r=Aee(e),o=See(t,r),i=See(void 0===n?r:n,r),a=nre(rre(i-o,0)),u=0;o<i;o++,u++)tre(a,u,e[o]);return a.length=u,a},ire=tne.UNSUPPORTED_Y,are=Math.min,ure=[].push,sre=j7(/./.exec),lre=j7(ure),cre=j7("".slice);Ane("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,o,i=ete(W7(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Y7(r=e)||!(void 0!==(o=r[Zne])?o:"RegExp"==H7(r)))return N7(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=N7(yne,p,i))&&!((s=p.lastIndex)>d&&(lre(c,cre(i,d,u.index)),u.length>1&&u.index<i.length&&Sne(ure,c,ore(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&sre(p,"")||lre(c,""):lre(c,cre(i,d)),c.length>a?ore(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:N7(t,this,e,n)}:t,[function(t,n){var o=W7(this),i=null==t?void 0:p9(t,e);return i?N7(i,t,o,n):N7(r,ete(o),t,n)},function(e,o){var i=$9(this),a=ete(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=ere(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(ire?"g":"y"),f=new s(ire?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Hne(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=ire?0:h;var g,y=Hne(f,ire?cre(a,h):a);if(null===y||(g=are(Dee(f.lastIndex+(ire?h:0)),a.length))===p)h=Ine(a,h,l);else{if(lre(v,cre(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(lre(v,y[m]),v.length===d)return v;h=p=g}}return lre(v,cre(a,p)),v}]}),!!x7((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]})),ire);var fre={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},dre=L9("span").classList,pre=dre&&dre.constructor&&dre.constructor.prototype,hre=pre===Object.prototype?void 0:pre,vre=function(e,t){var n=[][e];return!!n&&x7((function(){n.call(null,t||function(){throw 1},1)}))},gre=Gte.forEach,yre=vre("forEach")?[].forEach:function(e){return gre(this,e,arguments.length>1?arguments[1]:void 0)},mre=function(e){if(e&&e.forEach!==yre)try{q9(e,"forEach",yre)}catch(t){e.forEach=yre}};for(var bre in fre)fre[bre]&&mre(A7[bre]&&A7[bre].prototype);function Ere(e){return void 0===e&&(e="r"),e+"-"+jh()}function wre(e){var t={};return e.trim().split(";").forEach((function(e){if(e){var n=m7(e.split(":"),2),r=n[0],o=n[1];r&&o&&(t[r.trim()]=o.trim())}})),t}function Sre(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:""}]}}mre(hre);var Cre={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=wre(s=l.attr("style")||""),Sre(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",Sre(o,i=c.attr("poster")||"",a,u,s=wre(s=c.attr("style")||""))}},Dre=A7.Promise,Are=function(e,t,n){for(var r in t)gee(e,r,t[r],n);return e},xre=A7.String,Ore=A7.TypeError,Tre=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 Ore("Can't set "+xre(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),Nre=W9.f,kre=B9("toStringTag"),Bre=function(e,t,n){e&&!S9(e=n?e:e.prototype,kre)&&Nre(e,kre,{configurable:!0,value:t})},Ire=B9("species"),Fre=A7.TypeError,Pre=function(e,t){if(J7(t,e))return e;throw Fre("Incorrect invocation")},Rre={},_re=B9("iterator"),Lre=Array.prototype,jre=B9("iterator"),Mre=function(e){if(null!=e)return p9(e,jre)||p9(e,"@@iterator")||Rre[Jee(e)]},zre=A7.TypeError,Hre=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},Ure=A7.TypeError,$re=function(e,t){this.stopped=e,this.result=t},Vre=$re.prototype,Gre=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&&Hre(r,"normal",e),new $re(!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=Mre(e)))throw Ure(c9(e)+" is not iterable");if(void 0!==(c=o)&&(Rre.Array===c||Lre[_re]===c)){for(i=0,a=Aee(e);a>i;i++)if((u=y(e[i]))&&J7(Vre,u))return u;return new $re(!1)}r=function(e,t){var n=arguments.length<2?Mre(e):t;if(d9(n))return $9(N7(n,e));throw zre(c9(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=N7(s,r)).done;){try{u=y(l.value)}catch(e){Hre(r,"throw",e)}if("object"==typeof u&&u&&J7(Vre,u))return u}return new $re(!1)},Wre=B9("iterator"),qre=!1;try{var Kre=0,Yre={next:function(){return{done:!!Kre++}},return:function(){qre=!0}};Yre[Wre]=function(){return this},Array.from(Yre,(function(){throw 2}))}catch(Ml){}var Xre,Zre,Jre,Qre,eoe=function(e,t){if(!t&&!qre)return!1;var n=!1;try{var r={};r[Wre]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},toe=j7([].slice),noe=/(?:ipad|iphone|ipod).*applewebkit/i.test(Q7),roe="process"==H7(A7.process),ooe=A7.setImmediate,ioe=A7.clearImmediate,aoe=A7.process,uoe=A7.Dispatch,soe=A7.Function,loe=A7.MessageChannel,coe=A7.String,foe=0,doe={};try{Xre=A7.location}catch(Ml){}var poe=function(e){if(S9(doe,e)){var t=doe[e];delete doe[e],t()}},hoe=function(e){return function(){poe(e)}},voe=function(e){poe(e.data)},goe=function(e){A7.postMessage(coe(e),Xre.protocol+"//"+Xre.host)};ooe&&ioe||(ooe=function(e){var t=toe(arguments,1);return doe[++foe]=function(){Sne(K7(e)?e:soe(e),void 0,t)},Zre(foe),foe},ioe=function(e){delete doe[e]},roe?Zre=function(e){aoe.nextTick(hoe(e))}:uoe&&uoe.now?Zre=function(e){uoe.now(hoe(e))}:loe&&!noe?(Qre=(Jre=new loe).port2,Jre.port1.onmessage=voe,Zre=kte(Qre.postMessage,Qre)):A7.addEventListener&&K7(A7.postMessage)&&!A7.importScripts&&Xre&&"file:"!==Xre.protocol&&!x7(goe)?(Zre=goe,A7.addEventListener("message",voe,!1)):Zre="onreadystatechange"in L9("script")?function(e){yte.appendChild(L9("script")).onreadystatechange=function(){yte.removeChild(this),poe(e)}}:function(e){setTimeout(hoe(e),0)});var yoe,moe,boe,Eoe,woe,Soe,Coe,Doe,Aoe={set:ooe,clear:ioe},xoe=/ipad|iphone|ipod/i.test(Q7)&&void 0!==A7.Pebble,Ooe=/web0s(?!.*chrome)/i.test(Q7),Toe=z9.f,Noe=Aoe.set,koe=A7.MutationObserver||A7.WebKitMutationObserver,Boe=A7.document,Ioe=A7.process,Foe=A7.Promise,Poe=Toe(A7,"queueMicrotask"),Roe=Poe&&Poe.value;Roe||(yoe=function(){var e,t;for(roe&&(e=Ioe.domain)&&e.exit();moe;){t=moe.fn,moe=moe.next;try{t()}catch(e){throw moe?Eoe():boe=void 0,e}}boe=void 0,e&&e.enter()},noe||roe||Ooe||!koe||!Boe?!xoe&&Foe&&Foe.resolve?((Coe=Foe.resolve(void 0)).constructor=Foe,Doe=kte(Coe.then,Coe),Eoe=function(){Doe(yoe)}):roe?Eoe=function(){Ioe.nextTick(yoe)}:(Noe=kte(Noe,A7),Eoe=function(){Noe(yoe)}):(woe=!0,Soe=Boe.createTextNode(""),new koe(yoe).observe(Soe,{characterData:!0}),Eoe=function(){Soe.data=woe=!woe}));var _oe,Loe,joe,Moe,zoe=Roe||function(e){var t={fn:e,next:void 0};boe&&(boe.next=t),moe||(moe=t,Eoe()),boe=t},Hoe=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)},Uoe={f:function(e){return new Hoe(e)}},$oe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Voe="object"==typeof window,Goe=Aoe.set,Woe=B9("species"),qoe="Promise",Koe=fee.getterFor(qoe),Yoe=fee.set,Xoe=fee.getterFor(qoe),Zoe=Dre&&Dre.prototype,Joe=Dre,Qoe=Zoe,eie=A7.TypeError,tie=A7.document,nie=A7.process,rie=Uoe.f,oie=rie,iie=!!(tie&&tie.createEvent&&A7.dispatchEvent),aie=K7(A7.PromiseRejectionEvent),uie=!1,sie=Vee(qoe,(function(){var e=J9(Joe),t=e!==String(Joe);if(!t&&66===o9)return!0;if(o9>=51&&/native code/.test(e))return!1;var n=new Joe((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Woe]=r,!(uie=n.then((function(){}))instanceof r)||!t&&Voe&&!aie})),lie=sie||!eoe((function(e){Joe.all(e).catch((function(){}))})),cie=function(e){var t;return!(!Y7(e)||!K7(t=e.then))&&t},fie=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;zoe((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&&vie(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(eie("Promise-chain cycle")):(u=cie(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&&pie(e)}))}},die=function(e,t,n){var r,o;iie?((r=tie.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),A7.dispatchEvent(r)):r={promise:t,reason:n},!aie&&(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)},pie=function(e){N7(Goe,A7,(function(){var t,n=e.facade,r=e.value;if(hie(e)&&(t=$oe((function(){roe?nie.emit("unhandledRejection",r,n):die("unhandledrejection",n,r)})),e.rejection=roe||hie(e)?2:1,t.error))throw t.value}))},hie=function(e){return 1!==e.rejection&&!e.parent},vie=function(e){N7(Goe,A7,(function(){var t=e.facade;roe?nie.emit("rejectionHandled",t):die("rejectionhandled",t,e.value)}))},gie=function(e,t,n){return function(r){e(t,r,n)}},yie=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,fie(e,!0))},mie=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw eie("Promise can't be resolved itself");var r=cie(t);r?zoe((function(){var n={done:!1};try{N7(r,t,gie(mie,n,e),gie(yie,n,e))}catch(t){yie(n,t,e)}})):(e.value=t,e.state=1,fie(e,!1))}catch(t){yie({done:!1},t,e)}}};if(sie&&(Qoe=(Joe=function(e){Pre(this,Qoe),d9(e),N7(_oe,this);var t=Koe(this);try{e(gie(mie,t),gie(yie,t))}catch(e){yie(t,e)}}).prototype,(_oe=function(e){Yoe(this,{type:qoe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Are(Qoe,{then:function(e,t){var n=Xoe(this),r=n.reactions,o=rie(ere(this,Joe));return o.ok=!K7(e)||e,o.fail=K7(t)&&t,o.domain=roe?nie.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&fie(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),Loe=function(){var e=new _oe,t=Koe(e);this.promise=e,this.resolve=gie(mie,t),this.reject=gie(yie,t)},Uoe.f=rie=function(e){return e===Joe||e===joe?new Loe(e):oie(e)},K7(Dre)&&Zoe!==Object.prototype)){Moe=Zoe.then,uie||(gee(Zoe,"then",(function(e,t){var n=this;return new Joe((function(e,t){N7(Moe,n,e,t)})).then(e,t)}),{unsafe:!0}),gee(Zoe,"catch",Qoe.catch,{unsafe:!0}));try{delete Zoe.constructor}catch(Ml){}Tre&&Tre(Zoe,Qoe)}function bie(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 Eie(){return Ere("w-e-insert-video")}Wee({global:!0,wrap:!0,forced:sie},{Promise:Joe}),Bre(Joe,qoe,!1),function(e){var t=Z7("Promise"),n=W9.f;O7&&t&&!t[Ire]&&n(t,Ire,{configurable:!0,get:function(){return this}})}(),joe=Z7(qoe),Wee({target:qoe,stat:!0,forced:sie},{reject:function(e){var t=rie(this);return N7(t.reject,void 0,e),t.promise}}),Wee({target:qoe,stat:!0,forced:sie},{resolve:function(e){return function(e,t){if($9(e),Y7(t)&&t.constructor===e)return t;var n=Uoe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),Wee({target:qoe,stat:!0,forced:lie},{all:function(e){var t=this,n=rie(t),r=n.resolve,o=n.reject,i=$oe((function(){var n=d9(t.resolve),i=[],a=0,u=1;Gre(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=rie(t),r=n.reject,o=$oe((function(){var o=d9(t.resolve);Gre(e,(function(e){N7(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var wie=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=Eie(),this.posterInputId=Eie(),this.buttonId=Eie()}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,bie(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}(),Sie=j7([].join),Cie=V7!=Object,Die=vre("join",",");Wee({target:"Array",proto:!0,forced:Cie||!Die},{join:function(e){return Sie(q7(this),void 0===e?",":e)}});var Aie,xie,Oie,Tie=!x7((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Nie=nee("IE_PROTO"),kie=A7.Object,Bie=kie.prototype,Iie=Tie?kie.getPrototypeOf:function(e){var t=E9(e);if(S9(t,Nie))return t[Nie];var n=t.constructor;return K7(n)&&t instanceof n?n.prototype:t instanceof kie?Bie:null},Fie=B9("iterator"),Pie=!1;[].keys&&("next"in(Oie=[].keys())?(xie=Iie(Iie(Oie)))!==Object.prototype&&(Aie=xie):Pie=!0);var Rie=null==Aie||x7((function(){var e={};return Aie[Fie].call(e)!==e}));Rie&&(Aie={}),K7(Aie[Fie])||gee(Aie,Fie,(function(){return this}));var _ie={IteratorPrototype:Aie,BUGGY_SAFARI_ITERATORS:Pie},Lie=_ie.IteratorPrototype,jie=function(){return this},Mie=vee.PROPER,zie=vee.CONFIGURABLE,Hie=_ie.IteratorPrototype,Uie=_ie.BUGGY_SAFARI_ITERATORS,$ie=B9("iterator"),Vie=function(){return this},Gie=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Cte(Lie,{next:F7(1,n)}),Bre(e,o,!1),Rre[o]=jie}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!Uie&&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[$ie]||p["@@iterator"]||o&&p[o],v=!Uie&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=Iie(g.call(new e)))!==Object.prototype&&u.next&&(Iie(u)!==Hie&&(Tre?Tre(u,Hie):K7(u[$ie])||gee(u,$ie,Vie)),Bre(u,f,!0)),Mie&&"values"==o&&h&&"values"!==h.name&&(zie?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)(Uie||d||!(l in p))&&gee(p,l,s[l]);else Wee({target:t,proto:!0,forced:Uie||d},s);return p[$ie]!==v&&gee(p,$ie,v,{name:o}),Rre[t]=v,s},Wie=fee.set,qie=fee.getterFor("Array Iterator"),Kie=Gie(Array,"Array",(function(e,t){Wie(this,{type:"Array Iterator",target:q7(e),index:0,kind:t})}),(function(){var e=qie(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");Rre.Arguments=Rre.Array,xte("keys"),xte("values"),xte("entries");var Yie=kne.charAt,Xie=fee.set,Zie=fee.getterFor("String Iterator");Gie(String,"String",(function(e){Xie(this,{type:"String Iterator",string:ete(e),index:0})}),(function(){var e,t=Zie(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Yie(n,r),t.index+=e.length,{value:e,done:!1})}));var Jie=Fee.f,Qie="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],eae={f:function(e){return Qie&&"Window"==H7(e)?function(e){try{return Jie(e)}catch(e){return ore(Qie)}}(e):Jie(q7(e))}},tae=x7((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),nae=Object.isExtensible,rae=x7((function(){nae(1)}))||tae?function(e){return!!Y7(e)&&(!tae||"ArrayBuffer"!=H7(e))&&(!nae||nae(e))}:nae,oae=!x7((function(){return Object.isExtensible(Object.preventExtensions({}))})),iae=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:eae.f}))},fastKey:function(e,t){if(!Y7(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!S9(e,r)){if(!rae(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!S9(e,r)){if(!rae(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return oae&&n&&rae(e)&&!S9(e,r)&&i(e),e}};ree[r]=!0})),aae=iae.getWeakData,uae=fee.set,sae=fee.getterFor,lae=Gte.find,cae=Gte.findIndex,fae=j7([].splice),dae=0,pae=function(e){return e.frozen||(e.frozen=new hae)},hae=function(){this.entries=[]},vae=function(e,t){return lae(e.entries,(function(e){return e[0]===t}))};hae.prototype={get:function(e){var t=vae(this,e);if(t)return t[1]},has:function(e){return!!vae(this,e)},set:function(e,t){var n=vae(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=cae(this.entries,(function(t){return t[0]===e}));return~t&&fae(this.entries,t,1),!!~t}};var gae,yae={getConstructor:function(e,t,n,r){var o=e((function(e,o){Pre(e,i),uae(e,{type:t,id:dae++,frozen:void 0}),null!=o&&Gre(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=sae(t),u=function(e,t,n){var r=a(e),o=aae($9(t),!0);return!0===o?pae(r).set(t,n):o[r.id]=n,e};return Are(i,{delete:function(e){var t=a(this);if(!Y7(e))return!1;var n=aae(e);return!0===n?pae(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=aae(e);return!0===n?pae(t).has(e):n&&S9(n,t.id)}}),Are(i,n?{get:function(e){var t=a(this);if(Y7(e)){var n=aae(e);return!0===n?pae(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}},mae=fee.enforce,bae=!A7.ActiveXObject&&"ActiveXObject"in A7,Eae=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},wae=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),iae.enable();else if(Vee(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=x7((function(){f.has(1)})),h=eoe((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){Pre(e,u);var n=function(e,t,n){var r,o;return Tre&&K7(r=t.constructor)&&r!==n&&Y7(o=r.prototype)&&o!==n.prototype&&Tre(e,o),e}(new a,e,s);return null!=t&&Gre(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),Bre(s,e),o||n.setStrong(s,e,r),s}("WeakMap",Eae,yae);if(eee&&bae){gae=yae.getConstructor(Eae,"WeakMap",!0),iae.enable();var Sae=wae.prototype,Cae=j7(Sae.delete),Dae=j7(Sae.has),Aae=j7(Sae.get),xae=j7(Sae.set);Are(Sae,{delete:function(e){if(Y7(e)&&!rae(e)){var t=mae(this);return t.frozen||(t.frozen=new gae),Cae(this,e)||t.frozen.delete(e)}return Cae(this,e)},has:function(e){if(Y7(e)&&!rae(e)){var t=mae(this);return t.frozen||(t.frozen=new gae),Dae(this,e)||t.frozen.has(e)}return Dae(this,e)},get:function(e){if(Y7(e)&&!rae(e)){var t=mae(this);return t.frozen||(t.frozen=new gae),Dae(this,e)?Aae(this,e):t.frozen.get(e)}return Aae(this,e)},set:function(e,t){if(Y7(e)&&!rae(e)){var n=mae(this);n.frozen||(n.frozen=new gae),Dae(this,e)?xae(this,e,t):n.frozen.set(e,t)}else xae(this,e,t);return this}})}var Oae=B9("iterator"),Tae=B9("toStringTag"),Nae=Kie.values,kae=function(e,t){if(e){if(e[Oae]!==Nae)try{q9(e,Oae,Nae)}catch(t){e[Oae]=Nae}if(e[Tae]||q9(e,Tae,t),fre[t])for(var n in Kie)if(e[n]!==Kie[n])try{q9(e,n,Kie[n])}catch(t){e[n]=Kie[n]}}};for(var Bae in fre)kae(A7[Bae]&&A7[Bae].prototype,Bae);kae(hre,"DOMTokenList");var Iae=vee.EXISTS,Fae=W9.f,Pae=Function.prototype,Rae=j7(Pae.toString),_ae=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Lae=j7(_ae.exec);O7&&!Iae&&Fae(Pae,"name",{configurable:!0,get:function(){try{return Lae(_ae,Rae(this))[1]}catch(e){return""}}});var jae=B9("species"),Mae=o9>=51||!x7((function(){var e=[];return(e.constructor={})[jae]=function(){return{foo:1}},1!==e.slice(Boolean).foo})),zae=B9("species"),Hae=A7.Array,Uae=Math.max;function $ae(e){return e.getMenuConfig("uploadVideo")}Wee({target:"Array",proto:!0,forced:!Mae},{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===Hae||Bte(n.prototype))||Y7(n)&&null===(n=n[zae]))&&(n=void 0),n===Hae||void 0===n))return toe(i,u,s);for(r=new(void 0===n?Hae:n)(Uae(s-u,0)),o=0;u<s;u++,o++)u in i&&tre(r,o,i[u]);return r.length=o,r}});var Vae=new WeakMap;function Gae(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=Vae.get(e);if(null!=t)return t;var n=$ae(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 bie(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;bie(e,f,void 0===d?"":d),r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),Vae.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 Wae=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 bie(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=$ae(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 bie(e,t,n)}))]:[3,5]);case 4:return c.sent(),[3,7];case 5:return[4,Gae(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 qae(){return Ere("w-e-insert-video")}var Kae=function(){function e(){this.title=GF("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=qae(),this.heightInputId=qae(),this.buttonId=qae()}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={style:v7(v7({},f),{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 Yae(){return Ere("w-e-edit-video")}var Xae=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=Yae(),this.posterInputId=Yae(),this.buttonId=Yae()}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=Ere("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}(),Zae={renderElems:[pte],elemsToHtml:[hte],preParseHtml:[Tte],parseElemsHtml:[Cre],menus:[{key:"insertVideo",factory:function(){return new wie},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Wae},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 Kae}},{key:"editVideoSrc",factory:function(){return new Xae}}],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 Jae="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Qae(e){var t={exports:{}};return e(t,t.exports),t.exports}var eue,tue,nue=function(e){return e&&e.Math==Math&&e},rue=nue("object"==typeof globalThis&&globalThis)||nue("object"==typeof window&&window)||nue("object"==typeof self&&self)||nue("object"==typeof Jae&&Jae)||function(){return this}()||Function("return this")(),oue=function(e){try{return!!e()}catch(e){return!0}},iue=!oue((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),aue=Function.prototype.call,uue=aue.bind?aue.bind(aue):function(){return aue.apply(aue,arguments)},sue={}.propertyIsEnumerable,lue=Object.getOwnPropertyDescriptor,cue={f:lue&&!sue.call({1:2},1)?function(e){var t=lue(this,e);return!!t&&t.enumerable}:sue},fue=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},due=Function.prototype,pue=due.bind,hue=due.call,vue=pue&&pue.bind(hue),gue=pue?function(e){return e&&vue(hue,e)}:function(e){return e&&function(){return hue.apply(e,arguments)}},yue=gue({}.toString),mue=gue("".slice),bue=function(e){return mue(yue(e),8,-1)},Eue=rue.Object,wue=gue("".split),Sue=oue((function(){return!Eue("z").propertyIsEnumerable(0)}))?function(e){return"String"==bue(e)?wue(e,""):Eue(e)}:Eue,Cue=rue.TypeError,Due=function(e){if(null==e)throw Cue("Can't call method on "+e);return e},Aue=function(e){return Sue(Due(e))},xue=function(e){return"function"==typeof e},Oue=function(e){return"object"==typeof e?null!==e:xue(e)},Tue=function(e){return xue(e)?e:void 0},Nue=function(e,t){return arguments.length<2?Tue(rue[e]):rue[e]&&rue[e][t]},kue=gue({}.isPrototypeOf),Bue=Nue("navigator","userAgent")||"",Iue=rue.process,Fue=rue.Deno,Pue=Iue&&Iue.versions||Fue&&Fue.version,Rue=Pue&&Pue.v8;Rue&&(tue=(eue=Rue.split("."))[0]>0&&eue[0]<4?1:+(eue[0]+eue[1])),!tue&&Bue&&(!(eue=Bue.match(/Edge\/(\d+)/))||eue[1]>=74)&&(eue=Bue.match(/Chrome\/(\d+)/))&&(tue=+eue[1]);var _ue=tue,Lue=!!Object.getOwnPropertySymbols&&!oue((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&_ue&&_ue<41})),jue=Lue&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Mue=rue.Object,zue=jue?function(e){return"symbol"==typeof e}:function(e){var t=Nue("Symbol");return xue(t)&&kue(t.prototype,Mue(e))},Hue=rue.String,Uue=function(e){try{return Hue(e)}catch(e){return"Object"}},$ue=rue.TypeError,Vue=function(e){if(xue(e))return e;throw $ue(Uue(e)+" is not a function")},Gue=function(e,t){var n=e[t];return null==n?void 0:Vue(n)},Wue=rue.TypeError,que=Object.defineProperty,Kue=function(e,t){try{que(rue,e,{value:t,configurable:!0,writable:!0})}catch(n){rue[e]=t}return t},Yue=rue["__core-js_shared__"]||Kue("__core-js_shared__",{}),Xue=Qae((function(e){(e.exports=function(e,t){return Yue[e]||(Yue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Zue=rue.Object,Jue=function(e){return Zue(Due(e))},Que=gue({}.hasOwnProperty),ese=Object.hasOwn||function(e,t){return Que(Jue(e),t)},tse=0,nse=Math.random(),rse=gue(1..toString),ose=function(e){return"Symbol("+(void 0===e?"":e)+")_"+rse(++tse+nse,36)},ise=Xue("wks"),ase=rue.Symbol,use=ase&&ase.for,sse=jue?ase:ase&&ase.withoutSetter||ose,lse=function(e){if(!ese(ise,e)||!Lue&&"string"!=typeof ise[e]){var t="Symbol."+e;Lue&&ese(ase,e)?ise[e]=ase[e]:ise[e]=jue&&use?use(t):sse(t)}return ise[e]},cse=rue.TypeError,fse=lse("toPrimitive"),dse=function(e){var t=function(e,t){if(!Oue(e)||zue(e))return e;var n,r=Gue(e,fse);if(r){if(void 0===t&&(t="default"),n=uue(r,e,t),!Oue(n)||zue(n))return n;throw cse("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&xue(n=e.toString)&&!Oue(r=uue(n,e)))return r;if(xue(n=e.valueOf)&&!Oue(r=uue(n,e)))return r;if("string"!==t&&xue(n=e.toString)&&!Oue(r=uue(n,e)))return r;throw Wue("Can't convert object to primitive value")}(e,t)}(e,"string");return zue(t)?t:t+""},pse=rue.document,hse=Oue(pse)&&Oue(pse.createElement),vse=function(e){return hse?pse.createElement(e):{}},gse=!iue&&!oue((function(){return 7!=Object.defineProperty(vse("div"),"a",{get:function(){return 7}}).a})),yse=Object.getOwnPropertyDescriptor,mse={f:iue?yse:function(e,t){if(e=Aue(e),t=dse(t),gse)try{return yse(e,t)}catch(e){}if(ese(e,t))return fue(!uue(cue.f,e,t),e[t])}},bse=rue.String,Ese=rue.TypeError,wse=function(e){if(Oue(e))return e;throw Ese(bse(e)+" is not an object")},Sse=rue.TypeError,Cse=Object.defineProperty,Dse={f:iue?Cse:function(e,t,n){if(wse(e),t=dse(t),wse(n),gse)try{return Cse(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Sse("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ase=iue?function(e,t,n){return Dse.f(e,t,fue(1,n))}:function(e,t,n){return e[t]=n,e},xse=gue(Function.toString);xue(Yue.inspectSource)||(Yue.inspectSource=function(e){return xse(e)});var Ose,Tse,Nse,kse=Yue.inspectSource,Bse=rue.WeakMap,Ise=xue(Bse)&&/native code/.test(kse(Bse)),Fse=Xue("keys"),Pse=function(e){return Fse[e]||(Fse[e]=ose(e))},Rse={},_se=rue.TypeError,Lse=rue.WeakMap;if(Ise||Yue.state){var jse=Yue.state||(Yue.state=new Lse),Mse=gue(jse.get),zse=gue(jse.has),Hse=gue(jse.set);Ose=function(e,t){if(zse(jse,e))throw new _se("Object already initialized");return t.facade=e,Hse(jse,e,t),t},Tse=function(e){return Mse(jse,e)||{}},Nse=function(e){return zse(jse,e)}}else{var Use=Pse("state");Rse[Use]=!0,Ose=function(e,t){if(ese(e,Use))throw new _se("Object already initialized");return t.facade=e,Ase(e,Use,t),t},Tse=function(e){return ese(e,Use)?e[Use]:{}},Nse=function(e){return ese(e,Use)}}var $se={set:Ose,get:Tse,has:Nse,enforce:function(e){return Nse(e)?Tse(e):Ose(e,{})},getterFor:function(e){return function(t){var n;if(!Oue(t)||(n=Tse(t)).type!==e)throw _se("Incompatible receiver, "+e+" required");return n}}},Vse=Function.prototype,Gse=iue&&Object.getOwnPropertyDescriptor,Wse=ese(Vse,"name"),qse={EXISTS:Wse,PROPER:Wse&&"something"===function(){}.name,CONFIGURABLE:Wse&&(!iue||iue&&Gse(Vse,"name").configurable)},Kse=Qae((function(e){var t=qse.CONFIGURABLE,n=$se.get,r=$se.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;xue(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ese(i,"name")||t&&i.name!==f)&&Ase(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==rue?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:Ase(e,n,i)):l?e[n]=i:Kue(n,i)})(Function.prototype,"toString",(function(){return xue(this)&&n(this).source||kse(this)}))})),Yse=Math.ceil,Xse=Math.floor,Zse=function(e){var t=+e;return t!=t||0===t?0:(t>0?Xse:Yse)(t)},Jse=Math.max,Qse=Math.min,ele=function(e,t){var n=Zse(e);return n<0?Jse(n+t,0):Qse(n,t)},tle=Math.min,nle=function(e){return e>0?tle(Zse(e),9007199254740991):0},rle=function(e){return nle(e.length)},ole=function(e){return function(t,n,r){var o,i=Aue(t),a=rle(i),u=ele(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}},ile=(ole(!0),ole(!1)),ale=gue([].push),ule=function(e,t){var n,r=Aue(e),o=0,i=[];for(n in r)!ese(Rse,n)&&ese(r,n)&&ale(i,n);for(;t.length>o;)ese(r,n=t[o++])&&(~ile(i,n)||ale(i,n));return i},sle=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lle=sle.concat("length","prototype"),cle={f:Object.getOwnPropertyNames||function(e){return ule(e,lle)}},fle={f:Object.getOwnPropertySymbols},dle=gue([].concat),ple=Nue("Reflect","ownKeys")||function(e){var t=cle.f(wse(e)),n=fle.f;return n?dle(t,n(e)):t},hle=function(e,t){for(var n=ple(t),r=Dse.f,o=mse.f,i=0;i<n.length;i++){var a=n[i];ese(e,a)||r(e,a,o(t,a))}},vle=/#|\.prototype\./,gle=function(e,t){var n=mle[yle(e)];return n==Ele||n!=ble&&(xue(t)?oue(t):!!t)},yle=gle.normalize=function(e){return String(e).replace(vle,".").toLowerCase()},mle=gle.data={},ble=gle.NATIVE="N",Ele=gle.POLYFILL="P",wle=gle,Sle=mse.f,Cle=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?rue:l?rue[u]||Kue(u,{}):(rue[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Sle(n,r))&&a.value:n[r],!wle(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;hle(i,o)}(e.sham||o&&o.sham)&&Ase(i,"sham",!0),Kse(n,r,i,e)}},Dle=Array.isArray||function(e){return"Array"==bue(e)},Ale={};Ale[lse("toStringTag")]="z";var xle="[object z]"===String(Ale),Ole=lse("toStringTag"),Tle=rue.Object,Nle="Arguments"==bue(function(){return arguments}()),kle=xle?bue: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=Tle(e),Ole))?n:Nle?bue(t):"Object"==(r=bue(t))&&xue(t.callee)?"Arguments":r},Ble=function(){},Ile=[],Fle=Nue("Reflect","construct"),Ple=/^\s*(?:class|function)\b/,Rle=gue(Ple.exec),_le=!Ple.exec(Ble),Lle=function(e){if(!xue(e))return!1;try{return Fle(Ble,Ile,e),!0}catch(e){return!1}},jle=!Fle||oue((function(){var e;return Lle(Lle.call)||!Lle(Object)||!Lle((function(){e=!0}))||e}))?function(e){if(!xue(e))return!1;switch(kle(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return _le||!!Rle(Ple,kse(e))}:Lle,Mle=function(e,t,n){var r=dse(t);r in e?Dse.f(e,r,fue(0,n)):e[r]=n},zle=lse("species"),Hle=gue([].slice),Ule=("slice",_ue>=51||!oue((function(){var e=[];return(e.constructor={})[zle]=function(){return{foo:1}},1!==e.slice(Boolean).foo}))),$le=lse("species"),Vle=rue.Array,Gle=Math.max;Cle({target:"Array",proto:!0,forced:!Ule},{slice:function(e,t){var n,r,o,i=Aue(this),a=rle(i),u=ele(e,a),s=ele(void 0===t?a:t,a);if(Dle(i)&&(n=i.constructor,(jle(n)&&(n===Vle||Dle(n.prototype))||Oue(n)&&null===(n=n[$le]))&&(n=void 0),n===Vle||void 0===n))return Hle(i,u,s);for(r=new(void 0===n?Vle:n)(Gle(s-u,0)),o=0;u<s;u++,o++)u in i&&Mle(r,o,i[u]);return r.length=o,r}});var Wle=xle?{}.toString:function(){return"[object "+kle(this)+"]"};xle||Kse(Object.prototype,"toString",Wle,{unsafe:!0});var qle,Kle=rue.String,Yle=function(e){if("Symbol"===kle(e))throw TypeError("Cannot convert a Symbol value to a string");return Kle(e)},Xle=function(){var e=wse(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},Zle=rue.RegExp,Jle=oue((function(){var e=Zle("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Qle=Jle||oue((function(){return!Zle("a","y").sticky})),ece={BROKEN_CARET:Jle||oue((function(){var e=Zle("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Qle,UNSUPPORTED_Y:Jle},tce=Object.keys||function(e){return ule(e,sle)},nce=iue?Object.defineProperties:function(e,t){wse(e);for(var n,r=Aue(t),o=tce(t),i=o.length,a=0;i>a;)Dse.f(e,n=o[a++],r[n]);return e},rce=Nue("document","documentElement"),oce=Pse("IE_PROTO"),ice=function(){},ace=function(e){return"<script>"+e+"<\/script>"},uce=function(e){e.write(ace("")),e.close();var t=e.parentWindow.Object;return e=null,t},sce=function(){try{qle=new ActiveXObject("htmlfile")}catch(e){}var e,t;sce="undefined"!=typeof document?document.domain&&qle?uce(qle):((t=vse("iframe")).style.display="none",rce.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ace("document.F=Object")),e.close(),e.F):uce(qle);for(var n=sle.length;n--;)delete sce.prototype[sle[n]];return sce()};Rse[oce]=!0;var lce,cce,fce=Object.create||function(e,t){var n;return null!==e?(ice.prototype=wse(e),n=new ice,ice.prototype=null,n[oce]=e):n=sce(),void 0===t?n:nce(n,t)},dce=rue.RegExp,pce=oue((function(){var e=dce(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),hce=rue.RegExp,vce=oue((function(){var e=hce("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),gce=$se.get,yce=Xue("native-string-replace",String.prototype.replace),mce=RegExp.prototype.exec,bce=mce,Ece=gue("".charAt),wce=gue("".indexOf),Sce=gue("".replace),Cce=gue("".slice),Dce=(cce=/b*/g,uue(mce,lce=/a/,"a"),uue(mce,cce,"a"),0!==lce.lastIndex||0!==cce.lastIndex),Ace=ece.BROKEN_CARET,xce=void 0!==/()??/.exec("")[1];(Dce||xce||Ace||pce||vce)&&(bce=function(e){var t,n,r,o,i,a,u,s=this,l=gce(s),c=Yle(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=uue(bce,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=Ace&&s.sticky,h=uue(Xle,s),v=s.source,g=0,y=c;if(p&&(h=Sce(h,"y",""),-1===wce(h,"g")&&(h+="g"),y=Cce(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Ece(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),xce&&(n=new RegExp("^"+v+"$(?!\\s)",h)),Dce&&(r=s.lastIndex),o=uue(mce,p?n:s,y),p?o?(o.input=Cce(o.input,g),o[0]=Cce(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Dce&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),xce&&o&&o.length>1&&uue(yce,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=fce(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Oce=bce;Cle({target:"RegExp",proto:!0,forced:/./.exec!==Oce},{exec:Oce});var Tce=Function.prototype,Nce=Tce.apply,kce=Tce.bind,Bce=Tce.call,Ice="object"==typeof Reflect&&Reflect.apply||(kce?Bce.bind(Nce):function(){return Bce.apply(Nce,arguments)}),Fce=lse("species"),Pce=RegExp.prototype,Rce=lse("match"),_ce=rue.TypeError,Lce=lse("species"),jce=function(e,t){var n,r=wse(e).constructor;return void 0===r||null==(n=wse(r)[Lce])?t:function(e){if(jle(e))return e;throw _ce(Uue(e)+" is not a constructor")}(n)},Mce=gue("".charAt),zce=gue("".charCodeAt),Hce=gue("".slice),Uce=function(e){return function(t,n){var r,o,i=Yle(Due(t)),a=Zse(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=zce(i,a))<55296||r>56319||a+1===u||(o=zce(i,a+1))<56320||o>57343?e?Mce(i,a):r:e?Hce(i,a,a+2):o-56320+(r-55296<<10)+65536}},$ce={codeAt:Uce(!1),charAt:Uce(!0)},Vce=$ce.charAt,Gce=function(e,t,n){return t+(n?Vce(e,t).length:1)},Wce=rue.Array,qce=Math.max,Kce=function(e,t,n){for(var r=rle(e),o=ele(t,r),i=ele(void 0===n?r:n,r),a=Wce(qce(i-o,0)),u=0;o<i;o++,u++)Mle(a,u,e[o]);return a.length=u,a},Yce=rue.TypeError,Xce=function(e,t){var n=e.exec;if(xue(n)){var r=uue(n,e,t);return null!==r&&wse(r),r}if("RegExp"===bue(e))return uue(Oce,e,t);throw Yce("RegExp#exec called on incompatible receiver")},Zce=ece.UNSUPPORTED_Y,Jce=Math.min,Qce=[].push,efe=gue(/./.exec),tfe=gue(Qce),nfe=gue("".slice);!function(e,t,n,r){var o=lse(e),i=!oue((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!oue((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[Fce]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=gue(/./[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=Yle(Due(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Oue(r=e)||!(void 0!==(o=r[Rce])?o:"RegExp"==bue(r)))return uue(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=uue(Oce,p,i))&&!((s=p.lastIndex)>d&&(tfe(c,nfe(i,d,u.index)),u.length>1&&u.index<i.length&&Ice(Qce,c,Kce(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&efe(p,"")||tfe(c,""):tfe(c,nfe(i,d)),c.length>a?Kce(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:uue(t,this,e,n)}:t,[function(t,n){var o=Due(this),i=null==t?void 0:Gue(t,e);return i?uue(i,t,o,n):uue(r,Yle(o),t,n)},function(e,o){var i=wse(this),a=Yle(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=jce(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Zce?"g":"y"),f=new s(Zce?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Xce(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=Zce?0:h;var g,y=Xce(f,Zce?nfe(a,h):a);if(null===y||(g=Jce(nle(f.lastIndex+(Zce?h:0)),a.length))===p)h=Gce(a,h,l);else{if(tfe(v,nfe(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(tfe(v,y[m]),v.length===d)return v;h=p=g}}return tfe(v,nfe(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=gue(e),s=t.exec;return s===Oce||s===Pce.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));Kse(String.prototype,e,s[0]),Kse(Pce,o,s[1])}r&&Ase(Pce[o],"sham",!0)}("split",0,!!oue((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]})),Zce);var rfe=function(){return rfe=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},rfe.apply(this,arguments)};function ofe(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 ife(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 afe(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 ufe=lse("unscopables"),sfe=Array.prototype;null==sfe[ufe]&&Dse.f(sfe,ufe,{configurable:!0,value:fce(null)});var lfe,cfe,ffe,dfe=function(e){sfe[ufe][e]=!0},pfe={},hfe=!oue((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),vfe=Pse("IE_PROTO"),gfe=rue.Object,yfe=gfe.prototype,mfe=hfe?gfe.getPrototypeOf:function(e){var t=Jue(e);if(ese(t,vfe))return t[vfe];var n=t.constructor;return xue(n)&&t instanceof n?n.prototype:t instanceof gfe?yfe:null},bfe=lse("iterator"),Efe=!1;[].keys&&("next"in(ffe=[].keys())?(cfe=mfe(mfe(ffe)))!==Object.prototype&&(lfe=cfe):Efe=!0);var wfe=null==lfe||oue((function(){var e={};return lfe[bfe].call(e)!==e}));wfe&&(lfe={}),xue(lfe[bfe])||Kse(lfe,bfe,(function(){return this}));var Sfe={IteratorPrototype:lfe,BUGGY_SAFARI_ITERATORS:Efe},Cfe=Dse.f,Dfe=lse("toStringTag"),Afe=function(e,t,n){e&&!ese(e=n?e:e.prototype,Dfe)&&Cfe(e,Dfe,{configurable:!0,value:t})},xfe=Sfe.IteratorPrototype,Ofe=function(){return this},Tfe=rue.String,Nfe=rue.TypeError,kfe=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=gue(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return wse(n),function(e){if("object"==typeof e||xue(e))return e;throw Nfe("Can't set "+Tfe(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),Bfe=qse.PROPER,Ife=qse.CONFIGURABLE,Ffe=Sfe.IteratorPrototype,Pfe=Sfe.BUGGY_SAFARI_ITERATORS,Rfe=lse("iterator"),_fe=function(){return this},Lfe=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=fce(xfe,{next:fue(1,n)}),Afe(e,o,!1),pfe[o]=Ofe}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!Pfe&&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[Rfe]||p["@@iterator"]||o&&p[o],v=!Pfe&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=mfe(g.call(new e)))!==Object.prototype&&u.next&&(mfe(u)!==Ffe&&(kfe?kfe(u,Ffe):xue(u[Rfe])||Kse(u,Rfe,_fe)),Afe(u,f,!0)),Bfe&&"values"==o&&h&&"values"!==h.name&&(Ife?Ase(p,"name","values"):(d=!0,v=function(){return uue(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(Pfe||d||!(l in p))&&Kse(p,l,s[l]);else Cle({target:t,proto:!0,forced:Pfe||d},s);return p[Rfe]!==v&&Kse(p,Rfe,v,{name:o}),pfe[t]=v,s},jfe=$se.set,Mfe=$se.getterFor("Array Iterator"),zfe=Lfe(Array,"Array",(function(e,t){jfe(this,{type:"Array Iterator",target:Aue(e),index:0,kind:t})}),(function(){var e=Mfe(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");pfe.Arguments=pfe.Array,dfe("keys"),dfe("values"),dfe("entries");var Hfe=$ce.charAt,Ufe=$se.set,$fe=$se.getterFor("String Iterator");Lfe(String,"String",(function(e){Ufe(this,{type:"String Iterator",string:Yle(e),index:0})}),(function(){var e,t=$fe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Hfe(n,r),t.index+=e.length,{value:e,done:!1})}));var Vfe=function(e,t,n){for(var r in t)Kse(e,r,t[r],n);return e},Gfe=cle.f,Wfe="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],qfe={f:function(e){return Wfe&&"Window"==bue(e)?function(e){try{return Gfe(e)}catch(e){return Kce(Wfe)}}(e):Gfe(Aue(e))}},Kfe=oue((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Yfe=Object.isExtensible,Xfe=oue((function(){Yfe(1)}))||Kfe?function(e){return!!Oue(e)&&(!Kfe||"ArrayBuffer"!=bue(e))&&(!Yfe||Yfe(e))}:Yfe,Zfe=!oue((function(){return Object.isExtensible(Object.preventExtensions({}))})),Jfe=Qae((function(e){var t=Dse.f,n=!1,r=ose("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=cle.f,t=gue([].splice),o={};o[r]=1,e(o).length&&(cle.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},Cle({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:qfe.f}))},fastKey:function(e,t){if(!Oue(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!ese(e,r)){if(!Xfe(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!ese(e,r)){if(!Xfe(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Zfe&&n&&Xfe(e)&&!ese(e,r)&&i(e),e}};Rse[r]=!0})),Qfe=gue(gue.bind),ede=function(e,t){return Vue(e),void 0===t?e:Qfe?Qfe(e,t):function(){return e.apply(t,arguments)}},tde=lse("iterator"),nde=Array.prototype,rde=lse("iterator"),ode=function(e){if(null!=e)return Gue(e,rde)||Gue(e,"@@iterator")||pfe[kle(e)]},ide=rue.TypeError,ade=function(e,t,n){var r,o;wse(e);try{if(!(r=Gue(e,"return"))){if("throw"===t)throw n;return n}r=uue(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return wse(r),n},ude=rue.TypeError,sde=function(e,t){this.stopped=e,this.result=t},lde=sde.prototype,cde=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=ede(t,f),g=function(e){return r&&ade(r,"normal",e),new sde(!0,e)},y=function(e){return d?(wse(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=ode(e)))throw ude(Uue(e)+" is not iterable");if(void 0!==(c=o)&&(pfe.Array===c||nde[tde]===c)){for(i=0,a=rle(e);a>i;i++)if((u=y(e[i]))&&kue(lde,u))return u;return new sde(!1)}r=function(e,t){var n=arguments.length<2?ode(e):t;if(Vue(n))return wse(uue(n,e));throw ide(Uue(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=uue(s,r)).done;){try{u=y(l.value)}catch(e){ade(r,"throw",e)}if("object"==typeof u&&u&&kue(lde,u))return u}return new sde(!1)},fde=rue.TypeError,dde=function(e,t){if(kue(t,e))return e;throw fde("Incorrect invocation")},pde=lse("iterator"),hde=!1;try{var vde=0,gde={next:function(){return{done:!!vde++}},return:function(){hde=!0}};gde[pde]=function(){return this},Array.from(gde,(function(){throw 2}))}catch(Ml){}var yde=function(e,t){if(!t&&!hde)return!1;var n=!1;try{var r={};r[pde]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},mde=lse("species"),bde=rue.Array,Ede=function(e,t){return new(function(e){var t;return Dle(e)&&(t=e.constructor,(jle(t)&&(t===bde||Dle(t.prototype))||Oue(t)&&null===(t=t[mde]))&&(t=void 0)),void 0===t?bde:t}(e))(0===t?0:t)},wde=gue([].push),Sde=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=Jue(s),v=Sue(h),g=ede(l,c),y=rle(v),m=0,b=f||Ede,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:wde(E,d)}else switch(e){case 4:return!1;case 7:wde(E,d)}return i?-1:r||o?o:E}},Cde={forEach:Sde(0),map:Sde(1),filter:Sde(2),some:Sde(3),every:Sde(4),find:Sde(5),findIndex:Sde(6),filterReject:Sde(7)},Dde=Jfe.getWeakData,Ade=$se.set,xde=$se.getterFor,Ode=Cde.find,Tde=Cde.findIndex,Nde=gue([].splice),kde=0,Bde=function(e){return e.frozen||(e.frozen=new Ide)},Ide=function(){this.entries=[]},Fde=function(e,t){return Ode(e.entries,(function(e){return e[0]===t}))};Ide.prototype={get:function(e){var t=Fde(this,e);if(t)return t[1]},has:function(e){return!!Fde(this,e)},set:function(e,t){var n=Fde(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Tde(this.entries,(function(t){return t[0]===e}));return~t&&Nde(this.entries,t,1),!!~t}};var Pde,Rde={getConstructor:function(e,t,n,r){var o=e((function(e,o){dde(e,i),Ade(e,{type:t,id:kde++,frozen:void 0}),null!=o&&cde(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=xde(t),u=function(e,t,n){var r=a(e),o=Dde(wse(t),!0);return!0===o?Bde(r).set(t,n):o[r.id]=n,e};return Vfe(i,{delete:function(e){var t=a(this);if(!Oue(e))return!1;var n=Dde(e);return!0===n?Bde(t).delete(e):n&&ese(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!Oue(e))return!1;var n=Dde(e);return!0===n?Bde(t).has(e):n&&ese(n,t.id)}}),Vfe(i,n?{get:function(e){var t=a(this);if(Oue(e)){var n=Dde(e);return!0===n?Bde(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}},_de=$se.enforce,Lde=!rue.ActiveXObject&&"ActiveXObject"in rue,jde=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Mde=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=rue[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=gue(u[e]);Kse(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!Oue(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!Oue(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!Oue(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(wle(e,!xue(a)||!(o||u.forEach&&!oue((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),Jfe.enable();else if(wle(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=oue((function(){f.has(1)})),h=yde((function(e){new a(e)})),v=!o&&oue((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){dde(e,u);var n=function(e,t,n){var r,o;return kfe&&xue(r=t.constructor)&&r!==n&&Oue(o=r.prototype)&&o!==n.prototype&&kfe(e,o),e}(new a,e,s);return null!=t&&cde(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,Cle({global:!0,forced:s!=a},l),Afe(s,e),o||n.setStrong(s,e,r),s}("WeakMap",jde,Rde);if(Ise&&Lde){Pde=Rde.getConstructor(jde,"WeakMap",!0),Jfe.enable();var zde=Mde.prototype,Hde=gue(zde.delete),Ude=gue(zde.has),$de=gue(zde.get),Vde=gue(zde.set);Vfe(zde,{delete:function(e){if(Oue(e)&&!Xfe(e)){var t=_de(this);return t.frozen||(t.frozen=new Pde),Hde(this,e)||t.frozen.delete(e)}return Hde(this,e)},has:function(e){if(Oue(e)&&!Xfe(e)){var t=_de(this);return t.frozen||(t.frozen=new Pde),Ude(this,e)||t.frozen.has(e)}return Ude(this,e)},get:function(e){if(Oue(e)&&!Xfe(e)){var t=_de(this);return t.frozen||(t.frozen=new Pde),Ude(this,e)?$de(this,e):t.frozen.get(e)}return $de(this,e)},set:function(e,t){if(Oue(e)&&!Xfe(e)){var n=_de(this);n.frozen||(n.frozen=new Pde),Ude(this,e)?Vde(this,e,t):n.frozen.set(e,t)}else Vde(this,e,t);return this}})}var Gde={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},Wde=vse("span").classList,qde=Wde&&Wde.constructor&&Wde.constructor.prototype,Kde=qde===Object.prototype?void 0:qde,Yde=lse("iterator"),Xde=lse("toStringTag"),Zde=zfe.values,Jde=function(e,t){if(e){if(e[Yde]!==Zde)try{Ase(e,Yde,Zde)}catch(t){e[Yde]=Zde}if(e[Xde]||Ase(e,Xde,t),Gde[t])for(var n in zfe)if(e[n]!==zfe[n])try{Ase(e,n,zfe[n])}catch(t){e[n]=zfe[n]}}};for(var Qde in Gde)Jde(rue[Qde]&&rue[Qde].prototype,Qde);Jde(Kde,"DOMTokenList");var epe=function(e,t){var n=[][e];return!!n&&oue((function(){n.call(null,t||function(){throw 1},1)}))},tpe=Cde.forEach,npe=epe("forEach")?[].forEach:function(e){return tpe(this,e,arguments.length>1?arguments[1]:void 0)},rpe=function(e){if(e&&e.forEach!==npe)try{Ase(e,"forEach",npe)}catch(t){e.forEach=npe}};for(var ope in Gde)Gde[ope]&&rpe(rue[ope]&&rue[ope].prototype);rpe(Kde);var ipe,ape,upe,spe,lpe=rue.Promise,cpe=lse("species"),fpe=/(?:ipad|iphone|ipod).*applewebkit/i.test(Bue),dpe="process"==bue(rue.process),ppe=rue.setImmediate,hpe=rue.clearImmediate,vpe=rue.process,gpe=rue.Dispatch,ype=rue.Function,mpe=rue.MessageChannel,bpe=rue.String,Epe=0,wpe={};try{ipe=rue.location}catch(Ml){}var Spe=function(e){if(ese(wpe,e)){var t=wpe[e];delete wpe[e],t()}},Cpe=function(e){return function(){Spe(e)}},Dpe=function(e){Spe(e.data)},Ape=function(e){rue.postMessage(bpe(e),ipe.protocol+"//"+ipe.host)};ppe&&hpe||(ppe=function(e){var t=Hle(arguments,1);return wpe[++Epe]=function(){Ice(xue(e)?e:ype(e),void 0,t)},ape(Epe),Epe},hpe=function(e){delete wpe[e]},dpe?ape=function(e){vpe.nextTick(Cpe(e))}:gpe&&gpe.now?ape=function(e){gpe.now(Cpe(e))}:mpe&&!fpe?(spe=(upe=new mpe).port2,upe.port1.onmessage=Dpe,ape=ede(spe.postMessage,spe)):rue.addEventListener&&xue(rue.postMessage)&&!rue.importScripts&&ipe&&"file:"!==ipe.protocol&&!oue(Ape)?(ape=Ape,rue.addEventListener("message",Dpe,!1)):ape="onreadystatechange"in vse("script")?function(e){rce.appendChild(vse("script")).onreadystatechange=function(){rce.removeChild(this),Spe(e)}}:function(e){setTimeout(Cpe(e),0)});var xpe,Ope,Tpe,Npe,kpe,Bpe,Ipe,Fpe,Ppe={set:ppe,clear:hpe},Rpe=/ipad|iphone|ipod/i.test(Bue)&&void 0!==rue.Pebble,_pe=/web0s(?!.*chrome)/i.test(Bue),Lpe=mse.f,jpe=Ppe.set,Mpe=rue.MutationObserver||rue.WebKitMutationObserver,zpe=rue.document,Hpe=rue.process,Upe=rue.Promise,$pe=Lpe(rue,"queueMicrotask"),Vpe=$pe&&$pe.value;Vpe||(xpe=function(){var e,t;for(dpe&&(e=Hpe.domain)&&e.exit();Ope;){t=Ope.fn,Ope=Ope.next;try{t()}catch(e){throw Ope?Npe():Tpe=void 0,e}}Tpe=void 0,e&&e.enter()},fpe||dpe||_pe||!Mpe||!zpe?!Rpe&&Upe&&Upe.resolve?((Ipe=Upe.resolve(void 0)).constructor=Upe,Fpe=ede(Ipe.then,Ipe),Npe=function(){Fpe(xpe)}):dpe?Npe=function(){Hpe.nextTick(xpe)}:(jpe=ede(jpe,rue),Npe=function(){jpe(xpe)}):(kpe=!0,Bpe=zpe.createTextNode(""),new Mpe(xpe).observe(Bpe,{characterData:!0}),Npe=function(){Bpe.data=kpe=!kpe}));var Gpe,Wpe,qpe,Kpe,Ype=Vpe||function(e){var t={fn:e,next:void 0};Tpe&&(Tpe.next=t),Ope||(Ope=t,Npe()),Tpe=t},Xpe=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=Vue(t),this.reject=Vue(n)},Zpe={f:function(e){return new Xpe(e)}},Jpe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Qpe="object"==typeof window,ehe=Ppe.set,the=lse("species"),nhe="Promise",rhe=$se.getterFor(nhe),ohe=$se.set,ihe=$se.getterFor(nhe),ahe=lpe&&lpe.prototype,uhe=lpe,she=ahe,lhe=rue.TypeError,che=rue.document,fhe=rue.process,dhe=Zpe.f,phe=dhe,hhe=!!(che&&che.createEvent&&rue.dispatchEvent),vhe=xue(rue.PromiseRejectionEvent),ghe=!1,yhe=wle(nhe,(function(){var e=kse(uhe),t=e!==String(uhe);if(!t&&66===_ue)return!0;if(_ue>=51&&/native code/.test(e))return!1;var n=new uhe((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[the]=r,!(ghe=n.then((function(){}))instanceof r)||!t&&Qpe&&!vhe})),mhe=yhe||!yde((function(e){uhe.all(e).catch((function(){}))})),bhe=function(e){var t;return!(!Oue(e)||!xue(t=e.then))&&t},Ehe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Ype((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&&Dhe(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(lhe("Promise-chain cycle")):(u=bhe(a))?uue(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&She(e)}))}},whe=function(e,t,n){var r,o;hhe?((r=che.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),rue.dispatchEvent(r)):r={promise:t,reason:n},!vhe&&(o=rue["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=rue.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},She=function(e){uue(ehe,rue,(function(){var t,n=e.facade,r=e.value;if(Che(e)&&(t=Jpe((function(){dpe?fhe.emit("unhandledRejection",r,n):whe("unhandledrejection",n,r)})),e.rejection=dpe||Che(e)?2:1,t.error))throw t.value}))},Che=function(e){return 1!==e.rejection&&!e.parent},Dhe=function(e){uue(ehe,rue,(function(){var t=e.facade;dpe?fhe.emit("rejectionHandled",t):whe("rejectionhandled",t,e.value)}))},Ahe=function(e,t,n){return function(r){e(t,r,n)}},xhe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Ehe(e,!0))},Ohe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw lhe("Promise can't be resolved itself");var r=bhe(t);r?Ype((function(){var n={done:!1};try{uue(r,t,Ahe(Ohe,n,e),Ahe(xhe,n,e))}catch(t){xhe(n,t,e)}})):(e.value=t,e.state=1,Ehe(e,!1))}catch(t){xhe({done:!1},t,e)}}};if(yhe&&(she=(uhe=function(e){dde(this,she),Vue(e),uue(Gpe,this);var t=rhe(this);try{e(Ahe(Ohe,t),Ahe(xhe,t))}catch(e){xhe(t,e)}}).prototype,(Gpe=function(e){ohe(this,{type:nhe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Vfe(she,{then:function(e,t){var n=ihe(this),r=n.reactions,o=dhe(jce(this,uhe));return o.ok=!xue(e)||e,o.fail=xue(t)&&t,o.domain=dpe?fhe.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&Ehe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),Wpe=function(){var e=new Gpe,t=rhe(e);this.promise=e,this.resolve=Ahe(Ohe,t),this.reject=Ahe(xhe,t)},Zpe.f=dhe=function(e){return e===uhe||e===qpe?new Wpe(e):phe(e)},xue(lpe)&&ahe!==Object.prototype)){Kpe=ahe.then,ghe||(Kse(ahe,"then",(function(e,t){var n=this;return new uhe((function(e,t){uue(Kpe,n,e,t)})).then(e,t)}),{unsafe:!0}),Kse(ahe,"catch",she.catch,{unsafe:!0}));try{delete ahe.constructor}catch(Ml){}kfe&&kfe(ahe,she)}Cle({global:!0,wrap:!0,forced:yhe},{Promise:uhe}),Afe(uhe,nhe,!1),function(e){var t=Nue("Promise"),n=Dse.f;iue&&t&&!t[cpe]&&n(t,cpe,{configurable:!0,get:function(){return this}})}(),qpe=Nue(nhe),Cle({target:nhe,stat:!0,forced:yhe},{reject:function(e){var t=dhe(this);return uue(t.reject,void 0,e),t.promise}}),Cle({target:nhe,stat:!0,forced:yhe},{resolve:function(e){return function(e,t){if(wse(e),Oue(t)&&t.constructor===e)return t;var n=Zpe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),Cle({target:nhe,stat:!0,forced:mhe},{all:function(e){var t=this,n=dhe(t),r=n.resolve,o=n.reject,i=Jpe((function(){var n=Vue(t.resolve),i=[],a=0,u=1;cde(e,(function(e){var s=a++,l=!1;u++,uue(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=dhe(t),r=n.reject,o=Jpe((function(){var o=Vue(t.resolve);cde(e,(function(e){uue(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var The=qse.PROPER,Nhe=RegExp.prototype,khe=Nhe.toString,Bhe=gue(Xle),Ihe=oue((function(){return"/a/b"!=khe.call({source:"a",flags:"b"})})),Fhe=The&&"toString"!=khe.name;(Ihe||Fhe)&&Kse(RegExp.prototype,"toString",(function(){var e=wse(this),t=Yle(e.source),n=e.flags;return"/"+t+"/"+Yle(void 0===n&&kue(Nhe,e)&&!("flags"in Nhe)?Bhe(e):n)}),{unsafe:!0});var Phe=qse.EXISTS,Rhe=Dse.f,_he=Function.prototype,Lhe=gue(_he.toString),jhe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Mhe=gue(jhe.exec);iue&&!Phe&&Rhe(_he,"name",{configurable:!0,get:function(){try{return Mhe(jhe,Lhe(this))[1]}catch(e){return""}}});var zhe=new WeakMap;function Hhe(e){return e.getMenuConfig("uploadImage")}function Uhe(e,t){return ofe(this,void 0,void 0,(function(){return ife(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 $he(e,t){return ofe(this,void 0,void 0,(function(){var n,r,o,i;return ife(this,(function(a){switch(a.label){case 0:return n=function(e){var t=zhe.get(e);if(null!=t)return t;var n=Hhe(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=XI(rfe(rfe({},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)}})),zhe.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 Vhe(e,t){var n,r;return ofe(this,void 0,void 0,(function(){var o,i,a,u,s,l,c,f,d;return ife(this,(function(p){switch(p.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=Hhe(e),a=i.customUpload,u=i.base64LimitSize,p.label=1;case 1:p.trys.push([1,11,12,17]),s=afe(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,Uhe(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,$he(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 Ghe=gue([].join),Whe=Sue!=Object,qhe=epe("join",",");Cle({target:"Array",proto:!0,forced:Whe||!qhe},{join:function(e){return Ghe(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 Khe=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;Vhe(e,t)}))}},e}(),Yhe={menus:[{key:"uploadImage",factory:function(){return new Khe},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]}))?Vhe(e,o):t(r)}},n}};UF("en",{highLightModule:{selectLang:"Language"}}),UF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var Xhe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Zhe(e){var t={exports:{}};return e(t,t.exports),t.exports}var Jhe,Qhe,eve=function(e){return e&&e.Math==Math&&e},tve=eve("object"==typeof globalThis&&globalThis)||eve("object"==typeof window&&window)||eve("object"==typeof self&&self)||eve("object"==typeof Xhe&&Xhe)||function(){return this}()||Function("return this")(),nve=Object.defineProperty,rve=function(e,t){try{nve(tve,e,{value:t,configurable:!0,writable:!0})}catch(n){tve[e]=t}return t},ove=tve["__core-js_shared__"]||rve("__core-js_shared__",{}),ive=Zhe((function(e){(e.exports=function(e,t){return ove[e]||(ove[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),ave=Function.prototype,uve=ave.bind,sve=ave.call,lve=uve&&uve.bind(sve),cve=uve?function(e){return e&&lve(sve,e)}:function(e){return e&&function(){return sve.apply(e,arguments)}},fve=tve.TypeError,dve=function(e){if(null==e)throw fve("Can't call method on "+e);return e},pve=tve.Object,hve=function(e){return pve(dve(e))},vve=cve({}.hasOwnProperty),gve=Object.hasOwn||function(e,t){return vve(hve(e),t)},yve=0,mve=Math.random(),bve=cve(1..toString),Eve=function(e){return"Symbol("+(void 0===e?"":e)+")_"+bve(++yve+mve,36)},wve=function(e){return"function"==typeof e},Sve=function(e){return wve(e)?e:void 0},Cve=function(e,t){return arguments.length<2?Sve(tve[e]):tve[e]&&tve[e][t]},Dve=Cve("navigator","userAgent")||"",Ave=tve.process,xve=tve.Deno,Ove=Ave&&Ave.versions||xve&&xve.version,Tve=Ove&&Ove.v8;Tve&&(Qhe=(Jhe=Tve.split("."))[0]>0&&Jhe[0]<4?1:+(Jhe[0]+Jhe[1])),!Qhe&&Dve&&(!(Jhe=Dve.match(/Edge\/(\d+)/))||Jhe[1]>=74)&&(Jhe=Dve.match(/Chrome\/(\d+)/))&&(Qhe=+Jhe[1]);var Nve=Qhe,kve=function(e){try{return!!e()}catch(e){return!0}},Bve=!!Object.getOwnPropertySymbols&&!kve((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Nve&&Nve<41})),Ive=Bve&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Fve=ive("wks"),Pve=tve.Symbol,Rve=Pve&&Pve.for,_ve=Ive?Pve:Pve&&Pve.withoutSetter||Eve,Lve=function(e){if(!gve(Fve,e)||!Bve&&"string"!=typeof Fve[e]){var t="Symbol."+e;Bve&&gve(Pve,e)?Fve[e]=Pve[e]:Fve[e]=Ive&&Rve?Rve(t):_ve(t)}return Fve[e]},jve={};jve[Lve("toStringTag")]="z";var Mve="[object z]"===String(jve),zve=!kve((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Hve=function(e){return"object"==typeof e?null!==e:wve(e)},Uve=tve.document,$ve=Hve(Uve)&&Hve(Uve.createElement),Vve=function(e){return $ve?Uve.createElement(e):{}},Gve=!zve&&!kve((function(){return 7!=Object.defineProperty(Vve("div"),"a",{get:function(){return 7}}).a})),Wve=tve.String,qve=tve.TypeError,Kve=function(e){if(Hve(e))return e;throw qve(Wve(e)+" is not an object")},Yve=Function.prototype.call,Xve=Yve.bind?Yve.bind(Yve):function(){return Yve.apply(Yve,arguments)},Zve=cve({}.isPrototypeOf),Jve=tve.Object,Qve=Ive?function(e){return"symbol"==typeof e}:function(e){var t=Cve("Symbol");return wve(t)&&Zve(t.prototype,Jve(e))},ege=tve.String,tge=function(e){try{return ege(e)}catch(e){return"Object"}},nge=tve.TypeError,rge=function(e){if(wve(e))return e;throw nge(tge(e)+" is not a function")},oge=function(e,t){var n=e[t];return null==n?void 0:rge(n)},ige=tve.TypeError,age=tve.TypeError,uge=Lve("toPrimitive"),sge=function(e){var t=function(e,t){if(!Hve(e)||Qve(e))return e;var n,r=oge(e,uge);if(r){if(void 0===t&&(t="default"),n=Xve(r,e,t),!Hve(n)||Qve(n))return n;throw age("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&wve(n=e.toString)&&!Hve(r=Xve(n,e)))return r;if(wve(n=e.valueOf)&&!Hve(r=Xve(n,e)))return r;if("string"!==t&&wve(n=e.toString)&&!Hve(r=Xve(n,e)))return r;throw ige("Can't convert object to primitive value")}(e,t)}(e,"string");return Qve(t)?t:t+""},lge=tve.TypeError,cge=Object.defineProperty,fge={f:zve?cge:function(e,t,n){if(Kve(e),t=sge(t),Kve(n),Gve)try{return cge(e,t,n)}catch(e){}if("get"in n||"set"in n)throw lge("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},dge=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},pge=zve?function(e,t,n){return fge.f(e,t,dge(1,n))}:function(e,t,n){return e[t]=n,e},hge=cve(Function.toString);wve(ove.inspectSource)||(ove.inspectSource=function(e){return hge(e)});var vge,gge,yge,mge=ove.inspectSource,bge=tve.WeakMap,Ege=wve(bge)&&/native code/.test(mge(bge)),wge=ive("keys"),Sge=function(e){return wge[e]||(wge[e]=Eve(e))},Cge={},Dge=tve.TypeError,Age=tve.WeakMap;if(Ege||ove.state){var xge=ove.state||(ove.state=new Age),Oge=cve(xge.get),Tge=cve(xge.has),Nge=cve(xge.set);vge=function(e,t){if(Tge(xge,e))throw new Dge("Object already initialized");return t.facade=e,Nge(xge,e,t),t},gge=function(e){return Oge(xge,e)||{}},yge=function(e){return Tge(xge,e)}}else{var kge=Sge("state");Cge[kge]=!0,vge=function(e,t){if(gve(e,kge))throw new Dge("Object already initialized");return t.facade=e,pge(e,kge,t),t},gge=function(e){return gve(e,kge)?e[kge]:{}},yge=function(e){return gve(e,kge)}}var Bge={set:vge,get:gge,has:yge,enforce:function(e){return yge(e)?gge(e):vge(e,{})},getterFor:function(e){return function(t){var n;if(!Hve(t)||(n=gge(t)).type!==e)throw Dge("Incompatible receiver, "+e+" required");return n}}},Ige=Function.prototype,Fge=zve&&Object.getOwnPropertyDescriptor,Pge=gve(Ige,"name"),Rge={EXISTS:Pge,PROPER:Pge&&"something"===function(){}.name,CONFIGURABLE:Pge&&(!zve||zve&&Fge(Ige,"name").configurable)},_ge=Zhe((function(e){var t=Rge.CONFIGURABLE,n=Bge.get,r=Bge.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;wve(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!gve(i,"name")||t&&i.name!==f)&&pge(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==tve?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:pge(e,n,i)):l?e[n]=i:rve(n,i)})(Function.prototype,"toString",(function(){return wve(this)&&n(this).source||mge(this)}))})),Lge=cve({}.toString),jge=cve("".slice),Mge=function(e){return jge(Lge(e),8,-1)},zge=Lve("toStringTag"),Hge=tve.Object,Uge="Arguments"==Mge(function(){return arguments}()),$ge=Mve?Mge: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=Hge(e),zge))?n:Uge?Mge(t):"Object"==(r=Mge(t))&&wve(t.callee)?"Arguments":r},Vge=Mve?{}.toString:function(){return"[object "+$ge(this)+"]"};Mve||_ge(Object.prototype,"toString",Vge,{unsafe:!0});var Gge,Wge={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},qge=Vve("span").classList,Kge=qge&&qge.constructor&&qge.constructor.prototype,Yge=Kge===Object.prototype?void 0:Kge,Xge=cve(cve.bind),Zge=tve.Object,Jge=cve("".split),Qge=kve((function(){return!Zge("z").propertyIsEnumerable(0)}))?function(e){return"String"==Mge(e)?Jge(e,""):Zge(e)}:Zge,eye=Math.ceil,tye=Math.floor,nye=function(e){var t=+e;return t!=t||0===t?0:(t>0?tye:eye)(t)},rye=Math.min,oye=function(e){return e>0?rye(nye(e),9007199254740991):0},iye=function(e){return oye(e.length)},aye=Array.isArray||function(e){return"Array"==Mge(e)},uye=function(){},sye=[],lye=Cve("Reflect","construct"),cye=/^\s*(?:class|function)\b/,fye=cve(cye.exec),dye=!cye.exec(uye),pye=function(e){if(!wve(e))return!1;try{return lye(uye,sye,e),!0}catch(e){return!1}},hye=!lye||kve((function(){var e;return pye(pye.call)||!pye(Object)||!pye((function(){e=!0}))||e}))?function(e){if(!wve(e))return!1;switch($ge(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return dye||!!fye(cye,mge(e))}:pye,vye=Lve("species"),gye=tve.Array,yye=function(e,t){return new(function(e){var t;return aye(e)&&(t=e.constructor,(hye(t)&&(t===gye||aye(t.prototype))||Hve(t)&&null===(t=t[vye]))&&(t=void 0)),void 0===t?gye:t}(e))(0===t?0:t)},mye=cve([].push),bye=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=hve(s),v=Qge(h),g=function(e,t){return rge(e),void 0===t?e:Xge?Xge(e,t):function(){return e.apply(t,arguments)}}(l,c),y=iye(v),m=0,b=f||yye,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:mye(E,d)}else switch(e){case 4:return!1;case 7:mye(E,d)}return i?-1:r||o?o:E}},Eye=[bye(0),bye(1),bye(2),bye(3),bye(4),bye(5),bye(6),bye(7)][0],wye=(Gge=[].forEach)&&kve((function(){Gge.call(null,(function(){throw 1}),1)}))?[].forEach:function(e){return Eye(this,e,arguments.length>1?arguments[1]:void 0)},Sye=function(e){if(e&&e.forEach!==wye)try{pge(e,"forEach",wye)}catch(t){e.forEach=wye}};for(var Cye in Wge)Wge[Cye]&&Sye(tve[Cye]&&tve[Cye].prototype);Sye(Yge);var Dye={}.propertyIsEnumerable,Aye=Object.getOwnPropertyDescriptor,xye={f:Aye&&!Dye.call({1:2},1)?function(e){var t=Aye(this,e);return!!t&&t.enumerable}:Dye},Oye=function(e){return Qge(dve(e))},Tye=Object.getOwnPropertyDescriptor,Nye={f:zve?Tye:function(e,t){if(e=Oye(e),t=sge(t),Gve)try{return Tye(e,t)}catch(e){}if(gve(e,t))return dge(!Xve(xye.f,e,t),e[t])}},kye=Math.max,Bye=Math.min,Iye=function(e,t){var n=nye(e);return n<0?kye(n+t,0):Bye(n,t)},Fye=function(e){return function(t,n,r){var o,i=Oye(t),a=iye(i),u=Iye(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}},Pye=(Fye(!0),Fye(!1)),Rye=cve([].push),_ye=function(e,t){var n,r=Oye(e),o=0,i=[];for(n in r)!gve(Cge,n)&&gve(r,n)&&Rye(i,n);for(;t.length>o;)gve(r,n=t[o++])&&(~Pye(i,n)||Rye(i,n));return i},Lye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jye=Lye.concat("length","prototype"),Mye={f:Object.getOwnPropertyNames||function(e){return _ye(e,jye)}},zye={f:Object.getOwnPropertySymbols},Hye=cve([].concat),Uye=Cve("Reflect","ownKeys")||function(e){var t=Mye.f(Kve(e)),n=zye.f;return n?Hye(t,n(e)):t},$ye=function(e,t){for(var n=Uye(t),r=fge.f,o=Nye.f,i=0;i<n.length;i++){var a=n[i];gve(e,a)||r(e,a,o(t,a))}},Vye=/#|\.prototype\./,Gye=function(e,t){var n=qye[Wye(e)];return n==Yye||n!=Kye&&(wve(t)?kve(t):!!t)},Wye=Gye.normalize=function(e){return String(e).replace(Vye,".").toLowerCase()},qye=Gye.data={},Kye=Gye.NATIVE="N",Yye=Gye.POLYFILL="P",Xye=Gye,Zye=Nye.f,Jye=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?tve:l?tve[u]||rve(u,{}):(tve[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Zye(n,r))&&a.value:n[r],!Xye(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;$ye(i,o)}(e.sham||o&&o.sham)&&pge(i,"sham",!0),_ge(n,r,i,e)}},Qye=Object.keys||function(e){return _ye(e,Lye)},eme=Object.assign,tme=Object.defineProperty,nme=cve([].concat),rme=!eme||kve((function(){if(zve&&1!==eme({b:1},eme(tme({},"a",{enumerable:!0,get:function(){tme(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!=eme({},e)[n]||Qye(eme({},t)).join("")!=r}))?function(e,t){for(var n=hve(e),r=arguments.length,o=1,i=zye.f,a=xye.f;r>o;)for(var u,s=Qge(arguments[o++]),l=i?nme(Qye(s),i(s)):Qye(s),c=l.length,f=0;c>f;)u=l[f++],zve&&!Xve(a,s,u)||(n[u]=s[u]);return n}:eme;Jye({target:"Object",stat:!0,forced:Object.assign!==rme},{assign:rme});var ome=Zhe((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)return OO.delete(t),void md.deselect(t);if(e.latestElement=a,OO.set(t,!0),!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=function(e){return/^\d+(\.\d+)?px$/.test(e)},l="auto",c="auto";a(o)?l=o:u(o)?l=parseInt(o)+"px":s(o)&&(l=o),a(i)?c=i:u(i)?c=parseInt(i)+"px":s(i)&&(c=i);var f=h.style,p=void 0===f?{}:f;e.restoreSelection();var v=uM(uM({},p),{style:{width:l,height:c}});md.setNodes(e,v,{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){_N.isSelectedEmptyParagraph(e)&&md.removeNodes(e,{mode:"highest"}),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,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():""}function a8(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}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 u8=null,s8=!1,l8=!1,c8=0,f8=0,d8=null,p8=Mp(window);p8.on("mousedown",(function(e){var t=e.target;if(t.closest('[data-block-type="table-cell"]'))s8=!0;else if("DIV"==t.tagName&&t.closest(".column-resizer-item")){if(null==d8)return;var n=i6(Nf.nodes(d8,{match:S5(d8,"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;l8=!0;var c=e.clientX;c8=c,f8=u[l],document.body.style.cursor="col-resize",e.preventDefault()}p8.on("mousemove",h8),p8.on("mouseup",v8)}));var h8=ev((function(e){if(l8&&null!=d8){e.preventDefault();var t=e.clientX,n=f8+(t-c8);(n=Math.floor(100*n)/100)<30&&(n=30);var r=i6(Nf.nodes(d8,{match:S5(d8,"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(d8,{columnWidths:p},{mode:"highest"})}}),100);function v8(e){s8=!1,l8=!1,d8=null,document.body.style.cursor="",p8.off("mousemove",h8),p8.off("mouseup",v8)}function g8(e,t){"mouseenter"===t.type?md.setNodes(e,{isResizing:!0},{mode:"highest"}):md.setNodes(e,{isResizing:!1},{mode:"highest"})}function y8(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function m8(e){return y8(e).every((function(e){return!!e.isHeader}))}var b8={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()&&!s8&&!l8){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 g8(n,e)},mouseleave:function(e){return g8(n,e)},mousedown:function(e){return function(e,t){l8||(d8=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&&(u8=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(){u8&&(null==u8||u8.disconnect(),u8=null)}}},m);return b}},E8={type:"table-row",renderElem:function(e,t,n){return Fv("tr",null,t)}},w8={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&&y8(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)}},S8={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]}},C8=I3.filter,D8=X4("filter");Y2({target:"Array",proto:!0,forced:!D8},{filter:function(e){return C8(this,e,arguments.length>1?arguments[1]:void 0)}});var A8=Math.floor,x8=H0("".charAt),O8=H0("".replace),T8=H0("".slice),N8=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,k8=/\$([$&'`]|\d{1,2})/g,B8=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=k8;return void 0!==o&&(o=C1(o),s=N8),O8(i,s,(function(i,s){var l;switch(x8(s,0)){case"$":return"$";case"&":return e;case"`":return T8(t,0,n);case"'":return T8(t,a);case"<":l=o[T8(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=A8(c/10);return 0===f?i:f<=u?void 0===r[f-1]?x8(s,1):r[f-1]+x8(s,1):i}l=r[c-1]}return void 0===l?"":l}))},I8=P1("replace"),F8=Math.max,P8=Math.min,R8=H0([].concat),_8=H0([].push),L8=H0("".indexOf),j8=H0("".slice),M8="$0"==="a".replace(/./,"$0"),z8=!!/./[I8]&&""===/./[I8]("a","$0");L5("replace",(function(e,t,n){var r=z8?"$":"$0";return[function(e,n){var r=Y0(this),o=null==e?void 0:g1(e,I8);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===L8(o,r)&&-1===L8(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(_8(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=F8(P8(S2(d.index),a.length),0),b=[],E=1;E<d.length;E++)_8(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=R8([y],b,m,a);void 0!==w&&_8(S,w);var C=r4(P5(o,void 0,S))}else C=B8(y,a,m,b,w,o);m>=v&&(h+=j8(a,v,m)+C,v=m+y.length)}return h+j8(a,v)}]}),!!N0((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!M8||z8),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 H8={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="none"===a8(r,"display"),u=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===i8(r),colSpan:o,rowSpan:i,width:u,children:t,hidden:a}}},U8={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)}))}}},$8={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r,o=Mp(e),i="auto";"100%"===a8(o,"width")&&(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}},V8=m2.PROPER,G8=RegExp.prototype,W8=G8.toString,q8=H0(u4),K8=N0((function(){return"/a/b"!=W8.call({source:"a",flags:"b"})})),Y8=V8&&"toString"!=W8.name;(K8||Y8)&&b2(RegExp.prototype,"toString",(function(){var e=W1(this),t=r4(e.source),n=e.flags;return"/"+t+"/"+r4(void 0===n&&t1(G8,e)&&!("flags"in G8)?q8(e):n)}),{unsafe:!0});var X8=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}(),Z8=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}(),J8=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}(),Q8=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}(),e7=X4("splice"),t7=T0.TypeError,n7=Math.max,r7=Math.min;Y2({target:"Array",proto:!0,forced:!e7},{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=r7(n7(S2(t),0),l-c)),l+n-r>9007199254740991)throw t7("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 o7=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&&m8(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}(),i7=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}(),a7=I3.forEach,u7=function(e,t){var n=[].forEach;return!!n&&N0((function(){n.call(null,(function(){throw 1}),1)}))}(),s7=u7?[].forEach:function(e){return a7(this,e,arguments.length>1?arguments[1]:void 0)},l7=function(e){if(e&&e.forEach!==s7)try{X1(e,"forEach",s7)}catch(t){e.forEach=s7}};for(var c7 in V3)V3[c7]&&l7(T0[c7]&&T0[c7].prototype);l7(q3);var f7=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&&m8(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&&y8(r).forEach((function(t){return md.setNodes(e,{isHeader:n},{at:_N.findPath(e,t)})}))}},e}(),d7=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}(),p7=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}(),h7=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}(),v7={renderElems:[b8,E8,w8],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:[S8],parseElemsHtml:[H8,U8,$8],menus:[{key:"insertTable",factory:function(){return new X8}},{key:"deleteTable",factory:function(){return new Z8}},{key:"insertTableRow",factory:function(){return new J8}},{key:"deleteTableRow",factory:function(){return new Q8}},{key:"insertTableCol",factory:function(){return new o7}},{key:"deleteTableCol",factory:function(){return new i7}},{key:"tableHeader",factory:function(){return new f7}},{key:"tableFullWidth",factory:function(){return new d7}},{key:"mergeTableCell",factory:function(){return new p7}},{key:"splitTableCell",factory:function(){return new h7}}],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 g7=function(){return g7=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},g7.apply(this,arguments)};function y7(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 m7(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 b7(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 E7(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 w7="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function S7(e){var t={exports:{}};return e(t,t.exports),t.exports}var C7,D7,A7=function(e){return e&&e.Math==Math&&e},x7=A7("object"==typeof globalThis&&globalThis)||A7("object"==typeof window&&window)||A7("object"==typeof self&&self)||A7("object"==typeof w7&&w7)||function(){return this}()||Function("return this")(),O7=function(e){try{return!!e()}catch(e){return!0}},T7=!O7((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),N7=Function.prototype.call,k7=N7.bind?N7.bind(N7):function(){return N7.apply(N7,arguments)},B7={}.propertyIsEnumerable,I7=Object.getOwnPropertyDescriptor,F7={f:I7&&!B7.call({1:2},1)?function(e){var t=I7(this,e);return!!t&&t.enumerable}:B7},P7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},R7=Function.prototype,_7=R7.bind,L7=R7.call,j7=_7&&_7.bind(L7),M7=_7?function(e){return e&&j7(L7,e)}:function(e){return e&&function(){return L7.apply(e,arguments)}},z7=M7({}.toString),H7=M7("".slice),U7=function(e){return H7(z7(e),8,-1)},$7=x7.Object,V7=M7("".split),G7=O7((function(){return!$7("z").propertyIsEnumerable(0)}))?function(e){return"String"==U7(e)?V7(e,""):$7(e)}:$7,W7=x7.TypeError,q7=function(e){if(null==e)throw W7("Can't call method on "+e);return e},K7=function(e){return G7(q7(e))},Y7=function(e){return"function"==typeof e},X7=function(e){return"object"==typeof e?null!==e:Y7(e)},Z7=function(e){return Y7(e)?e:void 0},J7=function(e,t){return arguments.length<2?Z7(x7[e]):x7[e]&&x7[e][t]},Q7=M7({}.isPrototypeOf),e9=J7("navigator","userAgent")||"",t9=x7.process,n9=x7.Deno,r9=t9&&t9.versions||n9&&n9.version,o9=r9&&r9.v8;o9&&(D7=(C7=o9.split("."))[0]>0&&C7[0]<4?1:+(C7[0]+C7[1])),!D7&&e9&&(!(C7=e9.match(/Edge\/(\d+)/))||C7[1]>=74)&&(C7=e9.match(/Chrome\/(\d+)/))&&(D7=+C7[1]);var i9=D7,a9=!!Object.getOwnPropertySymbols&&!O7((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i9&&i9<41})),u9=a9&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,s9=x7.Object,l9=u9?function(e){return"symbol"==typeof e}:function(e){var t=J7("Symbol");return Y7(t)&&Q7(t.prototype,s9(e))},c9=x7.String,f9=function(e){try{return c9(e)}catch(e){return"Object"}},d9=x7.TypeError,p9=function(e){if(Y7(e))return e;throw d9(f9(e)+" is not a function")},h9=function(e,t){var n=e[t];return null==n?void 0:p9(n)},v9=x7.TypeError,g9=Object.defineProperty,y9=function(e,t){try{g9(x7,e,{value:t,configurable:!0,writable:!0})}catch(n){x7[e]=t}return t},m9=x7["__core-js_shared__"]||y9("__core-js_shared__",{}),b9=S7((function(e){(e.exports=function(e,t){return m9[e]||(m9[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),E9=x7.Object,w9=function(e){return E9(q7(e))},S9=M7({}.hasOwnProperty),C9=Object.hasOwn||function(e,t){return S9(w9(e),t)},D9=0,A9=Math.random(),x9=M7(1..toString),O9=function(e){return"Symbol("+(void 0===e?"":e)+")_"+x9(++D9+A9,36)},T9=b9("wks"),N9=x7.Symbol,k9=N9&&N9.for,B9=u9?N9:N9&&N9.withoutSetter||O9,I9=function(e){if(!C9(T9,e)||!a9&&"string"!=typeof T9[e]){var t="Symbol."+e;a9&&C9(N9,e)?T9[e]=N9[e]:T9[e]=u9&&k9?k9(t):B9(t)}return T9[e]},F9=x7.TypeError,P9=I9("toPrimitive"),R9=function(e){var t=function(e,t){if(!X7(e)||l9(e))return e;var n,r=h9(e,P9);if(r){if(void 0===t&&(t="default"),n=k7(r,e,t),!X7(n)||l9(n))return n;throw F9("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Y7(n=e.toString)&&!X7(r=k7(n,e)))return r;if(Y7(n=e.valueOf)&&!X7(r=k7(n,e)))return r;if("string"!==t&&Y7(n=e.toString)&&!X7(r=k7(n,e)))return r;throw v9("Can't convert object to primitive value")}(e,t)}(e,"string");return l9(t)?t:t+""},_9=x7.document,L9=X7(_9)&&X7(_9.createElement),j9=function(e){return L9?_9.createElement(e):{}},M9=!T7&&!O7((function(){return 7!=Object.defineProperty(j9("div"),"a",{get:function(){return 7}}).a})),z9=Object.getOwnPropertyDescriptor,H9={f:T7?z9:function(e,t){if(e=K7(e),t=R9(t),M9)try{return z9(e,t)}catch(e){}if(C9(e,t))return P7(!k7(F7.f,e,t),e[t])}},U9=x7.String,$9=x7.TypeError,V9=function(e){if(X7(e))return e;throw $9(U9(e)+" is not an object")},G9=x7.TypeError,W9=Object.defineProperty,q9={f:T7?W9:function(e,t,n){if(V9(e),t=R9(t),V9(n),M9)try{return W9(e,t,n)}catch(e){}if("get"in n||"set"in n)throw G9("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},K9=T7?function(e,t,n){return q9.f(e,t,P7(1,n))}:function(e,t,n){return e[t]=n,e},Y9=M7(Function.toString);Y7(m9.inspectSource)||(m9.inspectSource=function(e){return Y9(e)});var X9,Z9,J9,Q9=m9.inspectSource,eee=x7.WeakMap,tee=Y7(eee)&&/native code/.test(Q9(eee)),nee=b9("keys"),ree=function(e){return nee[e]||(nee[e]=O9(e))},oee={},iee=x7.TypeError,aee=x7.WeakMap;if(tee||m9.state){var uee=m9.state||(m9.state=new aee),see=M7(uee.get),lee=M7(uee.has),cee=M7(uee.set);X9=function(e,t){if(lee(uee,e))throw new iee("Object already initialized");return t.facade=e,cee(uee,e,t),t},Z9=function(e){return see(uee,e)||{}},J9=function(e){return lee(uee,e)}}else{var fee=ree("state");oee[fee]=!0,X9=function(e,t){if(C9(e,fee))throw new iee("Object already initialized");return t.facade=e,K9(e,fee,t),t},Z9=function(e){return C9(e,fee)?e[fee]:{}},J9=function(e){return C9(e,fee)}}var dee={set:X9,get:Z9,has:J9,enforce:function(e){return J9(e)?Z9(e):X9(e,{})},getterFor:function(e){return function(t){var n;if(!X7(t)||(n=Z9(t)).type!==e)throw iee("Incompatible receiver, "+e+" required");return n}}},pee=Function.prototype,hee=T7&&Object.getOwnPropertyDescriptor,vee=C9(pee,"name"),gee={EXISTS:vee,PROPER:vee&&"something"===function(){}.name,CONFIGURABLE:vee&&(!T7||T7&&hee(pee,"name").configurable)},yee=S7((function(e){var t=gee.CONFIGURABLE,n=dee.get,r=dee.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;Y7(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!C9(i,"name")||t&&i.name!==f)&&K9(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==x7?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:K9(e,n,i)):l?e[n]=i:y9(n,i)})(Function.prototype,"toString",(function(){return Y7(this)&&n(this).source||Q9(this)}))})),mee=Math.ceil,bee=Math.floor,Eee=function(e){var t=+e;return t!=t||0===t?0:(t>0?bee:mee)(t)},wee=Math.max,See=Math.min,Cee=function(e,t){var n=Eee(e);return n<0?wee(n+t,0):See(n,t)},Dee=Math.min,Aee=function(e){return e>0?Dee(Eee(e),9007199254740991):0},xee=function(e){return Aee(e.length)},Oee=function(e){return function(t,n,r){var o,i=K7(t),a=xee(i),u=Cee(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}},Tee={includes:Oee(!0),indexOf:Oee(!1)},Nee=Tee.indexOf,kee=M7([].push),Bee=function(e,t){var n,r=K7(e),o=0,i=[];for(n in r)!C9(oee,n)&&C9(r,n)&&kee(i,n);for(;t.length>o;)C9(r,n=t[o++])&&(~Nee(i,n)||kee(i,n));return i},Iee=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fee=Iee.concat("length","prototype"),Pee={f:Object.getOwnPropertyNames||function(e){return Bee(e,Fee)}},Ree={f:Object.getOwnPropertySymbols},_ee=M7([].concat),Lee=J7("Reflect","ownKeys")||function(e){var t=Pee.f(V9(e)),n=Ree.f;return n?_ee(t,n(e)):t},jee=function(e,t){for(var n=Lee(t),r=q9.f,o=H9.f,i=0;i<n.length;i++){var a=n[i];C9(e,a)||r(e,a,o(t,a))}},Mee=/#|\.prototype\./,zee=function(e,t){var n=Uee[Hee(e)];return n==Vee||n!=$ee&&(Y7(t)?O7(t):!!t)},Hee=zee.normalize=function(e){return String(e).replace(Mee,".").toLowerCase()},Uee=zee.data={},$ee=zee.NATIVE="N",Vee=zee.POLYFILL="P",Gee=zee,Wee=H9.f,qee=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?x7:l?x7[u]||y9(u,{}):(x7[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Wee(n,r))&&a.value:n[r],!Gee(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;jee(i,o)}(e.sham||o&&o.sham)&&K9(i,"sham",!0),yee(n,r,i,e)}},Kee={};Kee[I9("toStringTag")]="z";var Yee="[object z]"===String(Kee),Xee=I9("toStringTag"),Zee=x7.Object,Jee="Arguments"==U7(function(){return arguments}()),Qee=Yee?U7: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=Zee(e),Xee))?n:Jee?U7(t):"Object"==(r=U7(t))&&Y7(t.callee)?"Arguments":r},ete=x7.String,tte=function(e){if("Symbol"===Qee(e))throw TypeError("Cannot convert a Symbol value to a string");return ete(e)},nte="\t\n\v\f\r                 \u2028\u2029\ufeff",rte=M7("".replace),ote="["+nte+"]",ite=RegExp("^"+ote+ote+"*"),ate=RegExp(ote+ote+"*$"),ute=function(e){return function(t){var n=tte(q7(t));return 1&e&&(n=rte(n,ite,"")),2&e&&(n=rte(n,ate,"")),n}},ste={start:ute(1),end:ute(2),trim:ute(3)},lte=gee.PROPER,cte=ste.trim;function fte(e){return e.length?e[0].tagName.toLowerCase():""}function dte(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}qee({target:"String",proto:!0,forced:("trim",O7((function(){return!!nte.trim()||"​…᠎"!=="​…᠎".trim()||lte&&"trim"!==nte.trim.name})))},{trim:function(){return cte(this)}}),qee({global:!0},{globalThis:x7}),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 pte,hte={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:dte(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)}},vte={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+=dte(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>"}},gte=Object.keys||function(e){return Bee(e,Iee)},yte=T7?Object.defineProperties:function(e,t){V9(e);for(var n,r=K7(t),o=gte(t),i=o.length,a=0;i>a;)q9.f(e,n=o[a++],r[n]);return e},mte=J7("document","documentElement"),bte=ree("IE_PROTO"),Ete=function(){},wte=function(e){return"<script>"+e+"<\/script>"},Ste=function(e){e.write(wte("")),e.close();var t=e.parentWindow.Object;return e=null,t},Cte=function(){try{pte=new ActiveXObject("htmlfile")}catch(e){}var e,t;Cte="undefined"!=typeof document?document.domain&&pte?Ste(pte):((t=j9("iframe")).style.display="none",mte.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(wte("document.F=Object")),e.close(),e.F):Ste(pte);for(var n=Iee.length;n--;)delete Cte.prototype[Iee[n]];return Cte()};oee[bte]=!0;var Dte=Object.create||function(e,t){var n;return null!==e?(Ete.prototype=V9(e),n=new Ete,Ete.prototype=null,n[bte]=e):n=Cte(),void 0===t?n:yte(n,t)},Ate=I9("unscopables"),xte=Array.prototype;null==xte[Ate]&&q9.f(xte,Ate,{configurable:!0,value:Dte(null)});var Ote=function(e){xte[Ate][e]=!0},Tte=Tee.includes;qee({target:"Array",proto:!0},{includes:function(e){return Tte(this,e,arguments.length>1?arguments[1]:void 0)}}),Ote("includes");var Nte={selector:"iframe,video,p",preParseHtml:function(e){var t=Mp(e),n=t;if("p"===fte(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=fte(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]}},kte=M7(M7.bind),Bte=function(e,t){return p9(e),void 0===t?e:kte?kte(e,t):function(){return e.apply(t,arguments)}},Ite=Array.isArray||function(e){return"Array"==U7(e)},Fte=function(){},Pte=[],Rte=J7("Reflect","construct"),_te=/^\s*(?:class|function)\b/,Lte=M7(_te.exec),jte=!_te.exec(Fte),Mte=function(e){if(!Y7(e))return!1;try{return Rte(Fte,Pte,e),!0}catch(e){return!1}},zte=!Rte||O7((function(){var e;return Mte(Mte.call)||!Mte(Object)||!Mte((function(){e=!0}))||e}))?function(e){if(!Y7(e))return!1;switch(Qee(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return jte||!!Lte(_te,Q9(e))}:Mte,Hte=I9("species"),Ute=x7.Array,$te=function(e,t){return new(function(e){var t;return Ite(e)&&(t=e.constructor,(zte(t)&&(t===Ute||Ite(t.prototype))||X7(t)&&null===(t=t[Hte]))&&(t=void 0)),void 0===t?Ute:t}(e))(0===t?0:t)},Vte=M7([].push),Gte=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=w9(s),v=G7(h),g=Bte(l,c),y=xee(v),m=0,b=f||$te,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:Vte(E,d)}else switch(e){case 4:return!1;case 7:Vte(E,d)}return i?-1:r||o?o:E}},Wte={forEach:Gte(0),map:Gte(1),filter:Gte(2),some:Gte(3),every:Gte(4),find:Gte(5),findIndex:Gte(6),filterReject:Gte(7)},qte=Wte.find,Kte=!0;"find"in[]&&Array(1).find((function(){Kte=!1})),qee({target:"Array",proto:!0,forced:Kte},{find:function(e){return qte(this,e,arguments.length>1?arguments[1]:void 0)}}),Ote("find");var Yte=Yee?{}.toString:function(){return"[object "+Qee(this)+"]"};Yee||yee(Object.prototype,"toString",Yte,{unsafe:!0});var Xte,Zte,Jte=function(){var e=V9(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},Qte=x7.RegExp,ene=O7((function(){var e=Qte("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),tne=ene||O7((function(){return!Qte("a","y").sticky})),nne={BROKEN_CARET:ene||O7((function(){var e=Qte("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:tne,UNSUPPORTED_Y:ene},rne=x7.RegExp,one=O7((function(){var e=rne(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),ine=x7.RegExp,ane=O7((function(){var e=ine("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),une=dee.get,sne=b9("native-string-replace",String.prototype.replace),lne=RegExp.prototype.exec,cne=lne,fne=M7("".charAt),dne=M7("".indexOf),pne=M7("".replace),hne=M7("".slice),vne=(Zte=/b*/g,k7(lne,Xte=/a/,"a"),k7(lne,Zte,"a"),0!==Xte.lastIndex||0!==Zte.lastIndex),gne=nne.BROKEN_CARET,yne=void 0!==/()??/.exec("")[1];(vne||yne||gne||one||ane)&&(cne=function(e){var t,n,r,o,i,a,u,s=this,l=une(s),c=tte(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=k7(cne,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=gne&&s.sticky,h=k7(Jte,s),v=s.source,g=0,y=c;if(p&&(h=pne(h,"y",""),-1===dne(h,"g")&&(h+="g"),y=hne(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==fne(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),yne&&(n=new RegExp("^"+v+"$(?!\\s)",h)),vne&&(r=s.lastIndex),o=k7(lne,p?n:s,y),p?o?(o.input=hne(o.input,g),o[0]=hne(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:vne&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),yne&&o&&o.length>1&&k7(sne,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=Dte(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var mne=cne;qee({target:"RegExp",proto:!0,forced:/./.exec!==mne},{exec:mne});var bne=Function.prototype,Ene=bne.apply,wne=bne.bind,Sne=bne.call,Cne="object"==typeof Reflect&&Reflect.apply||(wne?Sne.bind(Ene):function(){return Sne.apply(Ene,arguments)}),Dne=I9("species"),Ane=RegExp.prototype,xne=function(e,t,n,r){var o=I9(e),i=!O7((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!O7((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Dne]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=M7(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=M7(e),s=t.exec;return s===mne||s===Ane.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));yee(String.prototype,e,s[0]),yee(Ane,o,s[1])}r&&K9(Ane[o],"sham",!0)},One=M7("".charAt),Tne=M7("".charCodeAt),Nne=M7("".slice),kne=function(e){return function(t,n){var r,o,i=tte(q7(t)),a=Eee(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Tne(i,a))<55296||r>56319||a+1===u||(o=Tne(i,a+1))<56320||o>57343?e?One(i,a):r:e?Nne(i,a,a+2):o-56320+(r-55296<<10)+65536}},Bne={codeAt:kne(!1),charAt:kne(!0)},Ine=Bne.charAt,Fne=function(e,t,n){return t+(n?Ine(e,t).length:1)},Pne=Math.floor,Rne=M7("".charAt),_ne=M7("".replace),Lne=M7("".slice),jne=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Mne=/\$([$&'`]|\d{1,2})/g,zne=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Mne;return void 0!==o&&(o=w9(o),s=jne),_ne(i,s,(function(i,s){var l;switch(Rne(s,0)){case"$":return"$";case"&":return e;case"`":return Lne(t,0,n);case"'":return Lne(t,a);case"<":l=o[Lne(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=Pne(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Rne(s,1):r[f-1]+Rne(s,1):i}l=r[c-1]}return void 0===l?"":l}))},Hne=x7.TypeError,Une=function(e,t){var n=e.exec;if(Y7(n)){var r=k7(n,e,t);return null!==r&&V9(r),r}if("RegExp"===U7(e))return k7(mne,e,t);throw Hne("RegExp#exec called on incompatible receiver")},$ne=I9("replace"),Vne=Math.max,Gne=Math.min,Wne=M7([].concat),qne=M7([].push),Kne=M7("".indexOf),Yne=M7("".slice),Xne="$0"==="a".replace(/./,"$0"),Zne=!!/./[$ne]&&""===/./[$ne]("a","$0");xne("replace",(function(e,t,n){var r=Zne?"$":"$0";return[function(e,n){var r=q7(this),o=null==e?void 0:h9(e,$ne);return o?k7(o,e,r,n):k7(t,tte(r),e,n)},function(e,o){var i=V9(this),a=tte(e);if("string"==typeof o&&-1===Kne(o,r)&&-1===Kne(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=Y7(o);s||(o=tte(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=Une(i,a);if(null===d)break;if(qne(f,d),!l)break;""===tte(d[0])&&(i.lastIndex=Fne(a,Aee(i.lastIndex),c))}for(var p,h="",v=0,g=0;g<f.length;g++){for(var y=tte((d=f[g])[0]),m=Vne(Gne(Eee(d.index),a.length),0),b=[],E=1;E<d.length;E++)qne(b,void 0===(p=d[E])?p:String(p));var w=d.groups;if(s){var S=Wne([y],b,m,a);void 0!==w&&qne(S,w);var C=tte(Cne(o,void 0,S))}else C=zne(y,a,m,b,w,o);m>=v&&(h+=Yne(a,v,m)+C,v=m+y.length)}return h+Yne(a,v)}]}),!!O7((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Xne||Zne);var Jne=I9("match"),Qne=x7.TypeError,ere=I9("species"),tre=function(e,t){var n,r=V9(e).constructor;return void 0===r||null==(n=V9(r)[ere])?t:function(e){if(zte(e))return e;throw Qne(f9(e)+" is not a constructor")}(n)},nre=function(e,t,n){var r=R9(t);r in e?q9.f(e,r,P7(0,n)):e[r]=n},rre=x7.Array,ore=Math.max,ire=function(e,t,n){for(var r=xee(e),o=Cee(t,r),i=Cee(void 0===n?r:n,r),a=rre(ore(i-o,0)),u=0;o<i;o++,u++)nre(a,u,e[o]);return a.length=u,a},are=nne.UNSUPPORTED_Y,ure=Math.min,sre=[].push,lre=M7(/./.exec),cre=M7(sre),fre=M7("".slice);xne("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,o,i=tte(q7(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!X7(r=e)||!(void 0!==(o=r[Jne])?o:"RegExp"==U7(r)))return k7(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=k7(mne,p,i))&&!((s=p.lastIndex)>d&&(cre(c,fre(i,d,u.index)),u.length>1&&u.index<i.length&&Cne(sre,c,ire(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&lre(p,"")||cre(c,""):cre(c,fre(i,d)),c.length>a?ire(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:k7(t,this,e,n)}:t,[function(t,n){var o=q7(this),i=null==t?void 0:h9(t,e);return i?k7(i,t,o,n):k7(r,tte(o),t,n)},function(e,o){var i=V9(this),a=tte(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=tre(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(are?"g":"y"),f=new s(are?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Une(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=are?0:h;var g,y=Une(f,are?fre(a,h):a);if(null===y||(g=ure(Aee(f.lastIndex+(are?h:0)),a.length))===p)h=Fne(a,h,l);else{if(cre(v,fre(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(cre(v,y[m]),v.length===d)return v;h=p=g}}return cre(v,fre(a,p)),v}]}),!!O7((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]})),are);var dre={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},pre=j9("span").classList,hre=pre&&pre.constructor&&pre.constructor.prototype,vre=hre===Object.prototype?void 0:hre,gre=function(e,t){var n=[][e];return!!n&&O7((function(){n.call(null,t||function(){throw 1},1)}))},yre=Wte.forEach,mre=gre("forEach")?[].forEach:function(e){return yre(this,e,arguments.length>1?arguments[1]:void 0)},bre=function(e){if(e&&e.forEach!==mre)try{K9(e,"forEach",mre)}catch(t){e.forEach=mre}};for(var Ere in dre)dre[Ere]&&bre(x7[Ere]&&x7[Ere].prototype);function wre(e){return void 0===e&&(e="r"),e+"-"+jh()}function Sre(e){var t={};return e.trim().split(";").forEach((function(e){if(e){var n=b7(e.split(":"),2),r=n[0],o=n[1];r&&o&&(t[r.trim()]=o.trim())}})),t}function Cre(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:""}]}}bre(vre);var Dre={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=Sre(s=l.attr("style")||""),Cre(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",Cre(o,i=c.attr("poster")||"",a,u,s=Sre(s=c.attr("style")||""))}},Are=x7.Promise,xre=function(e,t,n){for(var r in t)yee(e,r,t[r],n);return e},Ore=x7.String,Tre=x7.TypeError,Nre=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=M7(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return V9(n),function(e){if("object"==typeof e||Y7(e))return e;throw Tre("Can't set "+Ore(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),kre=q9.f,Bre=I9("toStringTag"),Ire=function(e,t,n){e&&!C9(e=n?e:e.prototype,Bre)&&kre(e,Bre,{configurable:!0,value:t})},Fre=I9("species"),Pre=x7.TypeError,Rre=function(e,t){if(Q7(t,e))return e;throw Pre("Incorrect invocation")},_re={},Lre=I9("iterator"),jre=Array.prototype,Mre=I9("iterator"),zre=function(e){if(null!=e)return h9(e,Mre)||h9(e,"@@iterator")||_re[Qee(e)]},Hre=x7.TypeError,Ure=function(e,t,n){var r,o;V9(e);try{if(!(r=h9(e,"return"))){if("throw"===t)throw n;return n}r=k7(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return V9(r),n},$re=x7.TypeError,Vre=function(e,t){this.stopped=e,this.result=t},Gre=Vre.prototype,Wre=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=Bte(t,f),g=function(e){return r&&Ure(r,"normal",e),new Vre(!0,e)},y=function(e){return d?(V9(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=zre(e)))throw $re(f9(e)+" is not iterable");if(void 0!==(c=o)&&(_re.Array===c||jre[Lre]===c)){for(i=0,a=xee(e);a>i;i++)if((u=y(e[i]))&&Q7(Gre,u))return u;return new Vre(!1)}r=function(e,t){var n=arguments.length<2?zre(e):t;if(p9(n))return V9(k7(n,e));throw Hre(f9(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=k7(s,r)).done;){try{u=y(l.value)}catch(e){Ure(r,"throw",e)}if("object"==typeof u&&u&&Q7(Gre,u))return u}return new Vre(!1)},qre=I9("iterator"),Kre=!1;try{var Yre=0,Xre={next:function(){return{done:!!Yre++}},return:function(){Kre=!0}};Xre[qre]=function(){return this},Array.from(Xre,(function(){throw 2}))}catch(Ml){}var Zre,Jre,Qre,eoe,toe=function(e,t){if(!t&&!Kre)return!1;var n=!1;try{var r={};r[qre]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},noe=M7([].slice),roe=/(?:ipad|iphone|ipod).*applewebkit/i.test(e9),ooe="process"==U7(x7.process),ioe=x7.setImmediate,aoe=x7.clearImmediate,uoe=x7.process,soe=x7.Dispatch,loe=x7.Function,coe=x7.MessageChannel,foe=x7.String,doe=0,poe={};try{Zre=x7.location}catch(Ml){}var hoe=function(e){if(C9(poe,e)){var t=poe[e];delete poe[e],t()}},voe=function(e){return function(){hoe(e)}},goe=function(e){hoe(e.data)},yoe=function(e){x7.postMessage(foe(e),Zre.protocol+"//"+Zre.host)};ioe&&aoe||(ioe=function(e){var t=noe(arguments,1);return poe[++doe]=function(){Cne(Y7(e)?e:loe(e),void 0,t)},Jre(doe),doe},aoe=function(e){delete poe[e]},ooe?Jre=function(e){uoe.nextTick(voe(e))}:soe&&soe.now?Jre=function(e){soe.now(voe(e))}:coe&&!roe?(eoe=(Qre=new coe).port2,Qre.port1.onmessage=goe,Jre=Bte(eoe.postMessage,eoe)):x7.addEventListener&&Y7(x7.postMessage)&&!x7.importScripts&&Zre&&"file:"!==Zre.protocol&&!O7(yoe)?(Jre=yoe,x7.addEventListener("message",goe,!1)):Jre="onreadystatechange"in j9("script")?function(e){mte.appendChild(j9("script")).onreadystatechange=function(){mte.removeChild(this),hoe(e)}}:function(e){setTimeout(voe(e),0)});var moe,boe,Eoe,woe,Soe,Coe,Doe,Aoe,xoe={set:ioe,clear:aoe},Ooe=/ipad|iphone|ipod/i.test(e9)&&void 0!==x7.Pebble,Toe=/web0s(?!.*chrome)/i.test(e9),Noe=H9.f,koe=xoe.set,Boe=x7.MutationObserver||x7.WebKitMutationObserver,Ioe=x7.document,Foe=x7.process,Poe=x7.Promise,Roe=Noe(x7,"queueMicrotask"),_oe=Roe&&Roe.value;_oe||(moe=function(){var e,t;for(ooe&&(e=Foe.domain)&&e.exit();boe;){t=boe.fn,boe=boe.next;try{t()}catch(e){throw boe?woe():Eoe=void 0,e}}Eoe=void 0,e&&e.enter()},roe||ooe||Toe||!Boe||!Ioe?!Ooe&&Poe&&Poe.resolve?((Doe=Poe.resolve(void 0)).constructor=Poe,Aoe=Bte(Doe.then,Doe),woe=function(){Aoe(moe)}):ooe?woe=function(){Foe.nextTick(moe)}:(koe=Bte(koe,x7),woe=function(){koe(moe)}):(Soe=!0,Coe=Ioe.createTextNode(""),new Boe(moe).observe(Coe,{characterData:!0}),woe=function(){Coe.data=Soe=!Soe}));var Loe,joe,Moe,zoe,Hoe=_oe||function(e){var t={fn:e,next:void 0};Eoe&&(Eoe.next=t),boe||(boe=t,woe()),Eoe=t},Uoe=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=p9(t),this.reject=p9(n)},$oe={f:function(e){return new Uoe(e)}},Voe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Goe="object"==typeof window,Woe=xoe.set,qoe=I9("species"),Koe="Promise",Yoe=dee.getterFor(Koe),Xoe=dee.set,Zoe=dee.getterFor(Koe),Joe=Are&&Are.prototype,Qoe=Are,eie=Joe,tie=x7.TypeError,nie=x7.document,rie=x7.process,oie=$oe.f,iie=oie,aie=!!(nie&&nie.createEvent&&x7.dispatchEvent),uie=Y7(x7.PromiseRejectionEvent),sie=!1,lie=Gee(Koe,(function(){var e=Q9(Qoe),t=e!==String(Qoe);if(!t&&66===i9)return!0;if(i9>=51&&/native code/.test(e))return!1;var n=new Qoe((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[qoe]=r,!(sie=n.then((function(){}))instanceof r)||!t&&Goe&&!uie})),cie=lie||!toe((function(e){Qoe.all(e).catch((function(){}))})),fie=function(e){var t;return!(!X7(e)||!Y7(t=e.then))&&t},die=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&&gie(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(tie("Promise-chain cycle")):(u=fie(a))?k7(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&hie(e)}))}},pie=function(e,t,n){var r,o;aie?((r=nie.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),x7.dispatchEvent(r)):r={promise:t,reason:n},!uie&&(o=x7["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=x7.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},hie=function(e){k7(Woe,x7,(function(){var t,n=e.facade,r=e.value;if(vie(e)&&(t=Voe((function(){ooe?rie.emit("unhandledRejection",r,n):pie("unhandledrejection",n,r)})),e.rejection=ooe||vie(e)?2:1,t.error))throw t.value}))},vie=function(e){return 1!==e.rejection&&!e.parent},gie=function(e){k7(Woe,x7,(function(){var t=e.facade;ooe?rie.emit("rejectionHandled",t):pie("rejectionhandled",t,e.value)}))},yie=function(e,t,n){return function(r){e(t,r,n)}},mie=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,die(e,!0))},bie=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw tie("Promise can't be resolved itself");var r=fie(t);r?Hoe((function(){var n={done:!1};try{k7(r,t,yie(bie,n,e),yie(mie,n,e))}catch(t){mie(n,t,e)}})):(e.value=t,e.state=1,die(e,!1))}catch(t){mie({done:!1},t,e)}}};if(lie&&(eie=(Qoe=function(e){Rre(this,eie),p9(e),k7(Loe,this);var t=Yoe(this);try{e(yie(bie,t),yie(mie,t))}catch(e){mie(t,e)}}).prototype,(Loe=function(e){Xoe(this,{type:Koe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=xre(eie,{then:function(e,t){var n=Zoe(this),r=n.reactions,o=oie(tre(this,Qoe));return o.ok=!Y7(e)||e,o.fail=Y7(t)&&t,o.domain=ooe?rie.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&die(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),joe=function(){var e=new Loe,t=Yoe(e);this.promise=e,this.resolve=yie(bie,t),this.reject=yie(mie,t)},$oe.f=oie=function(e){return e===Qoe||e===Moe?new joe(e):iie(e)},Y7(Are)&&Joe!==Object.prototype)){zoe=Joe.then,sie||(yee(Joe,"then",(function(e,t){var n=this;return new Qoe((function(e,t){k7(zoe,n,e,t)})).then(e,t)}),{unsafe:!0}),yee(Joe,"catch",eie.catch,{unsafe:!0}));try{delete Joe.constructor}catch(Ml){}Nre&&Nre(Joe,eie)}function Eie(e,t,n,r,o){return void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o=""),y7(this,void 0,void 0,(function(){var i,a,u,s,l,c,f;return m7(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(){_N.isSelectedEmptyParagraph(e)&&md.removeNodes(e,{mode:"highest"}),md.insertNodes(e,f)})),a(f),[2]}}))}))}function wie(){return wre("w-e-insert-video")}qee({global:!0,wrap:!0,forced:lie},{Promise:Qoe}),Ire(Qoe,Koe,!1),function(e){var t=J7("Promise"),n=q9.f;T7&&t&&!t[Fre]&&n(t,Fre,{configurable:!0,get:function(){return this}})}(),Moe=J7(Koe),qee({target:Koe,stat:!0,forced:lie},{reject:function(e){var t=oie(this);return k7(t.reject,void 0,e),t.promise}}),qee({target:Koe,stat:!0,forced:lie},{resolve:function(e){return function(e,t){if(V9(e),X7(t)&&t.constructor===e)return t;var n=$oe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),qee({target:Koe,stat:!0,forced:cie},{all:function(e){var t=this,n=oie(t),r=n.resolve,o=n.reject,i=Voe((function(){var n=p9(t.resolve),i=[],a=0,u=1;Wre(e,(function(e){var s=a++,l=!1;u++,k7(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=oie(t),r=n.reject,o=Voe((function(){var o=p9(t.resolve);Wre(e,(function(e){k7(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Sie=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=wie(),this.posterInputId=wie(),this.buttonId=wie()}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=b7(AI(GF("videoModule.videoSrc"),r,GF("videoModule.videoSrcPlaceHolder")),2),u=a[0],s=a[1],l=b7(AI(GF("videoModule.videoPoster"),o,GF("videoModule.videoPosterPlaceHolder")),2),c=l[0],f=l[1],d=Mp(s),p=Mp(f),h=b7(OI(i,GF("videoModule.ok")),1)[0];if(null==this.$content){var v=Mp("<div></div>");v.on("click","#"+i,(function(n){return y7(t,void 0,void 0,(function(){var t,i;return m7(this,(function(a){switch(a.label){case 0:return n.preventDefault(),t=v.find("#"+r).val().trim(),i=v.find("#"+o).val().trim(),[4,Eie(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}(),Cie=M7([].join),Die=G7!=Object,Aie=gre("join",",");qee({target:"Array",proto:!0,forced:Die||!Aie},{join:function(e){return Cie(K7(this),void 0===e?",":e)}});var xie,Oie,Tie,Nie=!O7((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),kie=ree("IE_PROTO"),Bie=x7.Object,Iie=Bie.prototype,Fie=Nie?Bie.getPrototypeOf:function(e){var t=w9(e);if(C9(t,kie))return t[kie];var n=t.constructor;return Y7(n)&&t instanceof n?n.prototype:t instanceof Bie?Iie:null},Pie=I9("iterator"),Rie=!1;[].keys&&("next"in(Tie=[].keys())?(Oie=Fie(Fie(Tie)))!==Object.prototype&&(xie=Oie):Rie=!0);var _ie=null==xie||O7((function(){var e={};return xie[Pie].call(e)!==e}));_ie&&(xie={}),Y7(xie[Pie])||yee(xie,Pie,(function(){return this}));var Lie={IteratorPrototype:xie,BUGGY_SAFARI_ITERATORS:Rie},jie=Lie.IteratorPrototype,Mie=function(){return this},zie=gee.PROPER,Hie=gee.CONFIGURABLE,Uie=Lie.IteratorPrototype,$ie=Lie.BUGGY_SAFARI_ITERATORS,Vie=I9("iterator"),Gie=function(){return this},Wie=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Dte(jie,{next:P7(1,n)}),Ire(e,o,!1),_re[o]=Mie}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!$ie&&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[Vie]||p["@@iterator"]||o&&p[o],v=!$ie&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=Fie(g.call(new e)))!==Object.prototype&&u.next&&(Fie(u)!==Uie&&(Nre?Nre(u,Uie):Y7(u[Vie])||yee(u,Vie,Gie)),Ire(u,f,!0)),zie&&"values"==o&&h&&"values"!==h.name&&(Hie?K9(p,"name","values"):(d=!0,v=function(){return k7(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)($ie||d||!(l in p))&&yee(p,l,s[l]);else qee({target:t,proto:!0,forced:$ie||d},s);return p[Vie]!==v&&yee(p,Vie,v,{name:o}),_re[t]=v,s},qie=dee.set,Kie=dee.getterFor("Array Iterator"),Yie=Wie(Array,"Array",(function(e,t){qie(this,{type:"Array Iterator",target:K7(e),index:0,kind:t})}),(function(){var e=Kie(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");_re.Arguments=_re.Array,Ote("keys"),Ote("values"),Ote("entries");var Xie=Bne.charAt,Zie=dee.set,Jie=dee.getterFor("String Iterator");Wie(String,"String",(function(e){Zie(this,{type:"String Iterator",string:tte(e),index:0})}),(function(){var e,t=Jie(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Xie(n,r),t.index+=e.length,{value:e,done:!1})}));var Qie=Pee.f,eae="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],tae={f:function(e){return eae&&"Window"==U7(e)?function(e){try{return Qie(e)}catch(e){return ire(eae)}}(e):Qie(K7(e))}},nae=O7((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),rae=Object.isExtensible,oae=O7((function(){rae(1)}))||nae?function(e){return!!X7(e)&&(!nae||"ArrayBuffer"!=U7(e))&&(!rae||rae(e))}:rae,iae=!O7((function(){return Object.isExtensible(Object.preventExtensions({}))})),aae=S7((function(e){var t=q9.f,n=!1,r=O9("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=Pee.f,t=M7([].splice),o={};o[r]=1,e(o).length&&(Pee.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},qee({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:tae.f}))},fastKey:function(e,t){if(!X7(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!C9(e,r)){if(!oae(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!C9(e,r)){if(!oae(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return iae&&n&&oae(e)&&!C9(e,r)&&i(e),e}};oee[r]=!0})),uae=aae.getWeakData,sae=dee.set,lae=dee.getterFor,cae=Wte.find,fae=Wte.findIndex,dae=M7([].splice),pae=0,hae=function(e){return e.frozen||(e.frozen=new vae)},vae=function(){this.entries=[]},gae=function(e,t){return cae(e.entries,(function(e){return e[0]===t}))};vae.prototype={get:function(e){var t=gae(this,e);if(t)return t[1]},has:function(e){return!!gae(this,e)},set:function(e,t){var n=gae(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=fae(this.entries,(function(t){return t[0]===e}));return~t&&dae(this.entries,t,1),!!~t}};var yae,mae={getConstructor:function(e,t,n,r){var o=e((function(e,o){Rre(e,i),sae(e,{type:t,id:pae++,frozen:void 0}),null!=o&&Wre(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=lae(t),u=function(e,t,n){var r=a(e),o=uae(V9(t),!0);return!0===o?hae(r).set(t,n):o[r.id]=n,e};return xre(i,{delete:function(e){var t=a(this);if(!X7(e))return!1;var n=uae(e);return!0===n?hae(t).delete(e):n&&C9(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!X7(e))return!1;var n=uae(e);return!0===n?hae(t).has(e):n&&C9(n,t.id)}}),xre(i,n?{get:function(e){var t=a(this);if(X7(e)){var n=uae(e);return!0===n?hae(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}},bae=dee.enforce,Eae=!x7.ActiveXObject&&"ActiveXObject"in x7,wae=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Sae=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=x7[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=M7(u[e]);yee(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!X7(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!X7(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!X7(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Gee(e,!Y7(a)||!(o||u.forEach&&!O7((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),aae.enable();else if(Gee(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=O7((function(){f.has(1)})),h=toe((function(e){new a(e)})),v=!o&&O7((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){Rre(e,u);var n=function(e,t,n){var r,o;return Nre&&Y7(r=t.constructor)&&r!==n&&X7(o=r.prototype)&&o!==n.prototype&&Nre(e,o),e}(new a,e,s);return null!=t&&Wre(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,qee({global:!0,forced:s!=a},l),Ire(s,e),o||n.setStrong(s,e,r),s}("WeakMap",wae,mae);if(tee&&Eae){yae=mae.getConstructor(wae,"WeakMap",!0),aae.enable();var Cae=Sae.prototype,Dae=M7(Cae.delete),Aae=M7(Cae.has),xae=M7(Cae.get),Oae=M7(Cae.set);xre(Cae,{delete:function(e){if(X7(e)&&!oae(e)){var t=bae(this);return t.frozen||(t.frozen=new yae),Dae(this,e)||t.frozen.delete(e)}return Dae(this,e)},has:function(e){if(X7(e)&&!oae(e)){var t=bae(this);return t.frozen||(t.frozen=new yae),Aae(this,e)||t.frozen.has(e)}return Aae(this,e)},get:function(e){if(X7(e)&&!oae(e)){var t=bae(this);return t.frozen||(t.frozen=new yae),Aae(this,e)?xae(this,e):t.frozen.get(e)}return xae(this,e)},set:function(e,t){if(X7(e)&&!oae(e)){var n=bae(this);n.frozen||(n.frozen=new yae),Aae(this,e)?Oae(this,e,t):n.frozen.set(e,t)}else Oae(this,e,t);return this}})}var Tae=I9("iterator"),Nae=I9("toStringTag"),kae=Yie.values,Bae=function(e,t){if(e){if(e[Tae]!==kae)try{K9(e,Tae,kae)}catch(t){e[Tae]=kae}if(e[Nae]||K9(e,Nae,t),dre[t])for(var n in Yie)if(e[n]!==Yie[n])try{K9(e,n,Yie[n])}catch(t){e[n]=Yie[n]}}};for(var Iae in dre)Bae(x7[Iae]&&x7[Iae].prototype,Iae);Bae(vre,"DOMTokenList");var Fae=gee.EXISTS,Pae=q9.f,Rae=Function.prototype,_ae=M7(Rae.toString),Lae=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,jae=M7(Lae.exec);T7&&!Fae&&Pae(Rae,"name",{configurable:!0,get:function(){try{return jae(Lae,_ae(this))[1]}catch(e){return""}}});var Mae=I9("species"),zae=i9>=51||!O7((function(){var e=[];return(e.constructor={})[Mae]=function(){return{foo:1}},1!==e.slice(Boolean).foo})),Hae=I9("species"),Uae=x7.Array,$ae=Math.max;function Vae(e){return e.getMenuConfig("uploadVideo")}qee({target:"Array",proto:!0,forced:!zae},{slice:function(e,t){var n,r,o,i=K7(this),a=xee(i),u=Cee(e,a),s=Cee(void 0===t?a:t,a);if(Ite(i)&&(n=i.constructor,(zte(n)&&(n===Uae||Ite(n.prototype))||X7(n)&&null===(n=n[Hae]))&&(n=void 0),n===Uae||void 0===n))return noe(i,u,s);for(r=new(void 0===n?Uae:n)($ae(s-u,0)),o=0;u<s;u++,o++)u in i&&nre(r,o,i[u]);return r.length=o,r}});var Gae=new WeakMap;function Wae(e,t){return y7(this,void 0,void 0,(function(){var n,r,o,i;return m7(this,(function(a){switch(a.label){case 0:return n=function(e){var t=Gae.get(e);if(null!=t)return t;var n=Vae(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=XI(g7(g7({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,(function(t,n){return Eie(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;Eie(e,f,void 0===d?"":d),r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),Gae.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 qae=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 Eie(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;y7(this,void 0,void 0,(function(){var o,i,a,u,s,l;return m7(this,(function(c){switch(c.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=Vae(e).customUpload,c.label=1;case 1:c.trys.push([1,9,10,15]),a=E7(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 Eie(e,t,n)}))]:[3,5]);case 4:return c.sent(),[3,7];case 5:return[4,Wae(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 wre("w-e-insert-video")}var Yae=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=b7(AI(GF("videoModule.width"),n,"auto"),2),a=i[0],u=Mp(i[1]),s=b7(AI(GF("videoModule.height"),r,"auto"),2),l=s[0],c=Mp(s[1]),f=b7(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={style:g7(g7({},f),{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 Xae(){return wre("w-e-edit-video")}var Zae=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=Xae(),this.posterInputId=Xae(),this.buttonId=Xae()}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=b7(AI(GF("videoModule.videoSrc"),r,GF("videoModule.videoSrcPlaceHolder")),2),u=a[0],s=a[1],l=b7(AI(GF("videoModule.videoPoster"),o,GF("videoModule.videoPosterPlaceHolder")),2),c=l[0],f=l[1],d=Mp(s),p=Mp(f),h=b7(OI(i,GF("videoModule.ok")),1)[0];if(null==this.$content){var v=Mp("<div></div>");v.on("click","#"+i,(function(n){return y7(t,void 0,void 0,(function(){var t,i,a,u;return m7(this,(function(s){return n.preventDefault(),t=v.find("#"+r).val().trim(),i=v.find("#"+o).val().trim(),a=wre("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}(),Jae={renderElems:[hte],elemsToHtml:[vte],preParseHtml:[Nte],parseElemsHtml:[Dre],menus:[{key:"insertVideo",factory:function(){return new Sie},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new qae},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 Yae}},{key:"editVideoSrc",factory:function(){return new Zae}}],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=b7(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 Qae="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function eue(e){var t={exports:{}};return e(t,t.exports),t.exports}var tue,nue,rue=function(e){return e&&e.Math==Math&&e},oue=rue("object"==typeof globalThis&&globalThis)||rue("object"==typeof window&&window)||rue("object"==typeof self&&self)||rue("object"==typeof Qae&&Qae)||function(){return this}()||Function("return this")(),iue=function(e){try{return!!e()}catch(e){return!0}},aue=!iue((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),uue=Function.prototype.call,sue=uue.bind?uue.bind(uue):function(){return uue.apply(uue,arguments)},lue={}.propertyIsEnumerable,cue=Object.getOwnPropertyDescriptor,fue={f:cue&&!lue.call({1:2},1)?function(e){var t=cue(this,e);return!!t&&t.enumerable}:lue},due=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},pue=Function.prototype,hue=pue.bind,vue=pue.call,gue=hue&&hue.bind(vue),yue=hue?function(e){return e&&gue(vue,e)}:function(e){return e&&function(){return vue.apply(e,arguments)}},mue=yue({}.toString),bue=yue("".slice),Eue=function(e){return bue(mue(e),8,-1)},wue=oue.Object,Sue=yue("".split),Cue=iue((function(){return!wue("z").propertyIsEnumerable(0)}))?function(e){return"String"==Eue(e)?Sue(e,""):wue(e)}:wue,Due=oue.TypeError,Aue=function(e){if(null==e)throw Due("Can't call method on "+e);return e},xue=function(e){return Cue(Aue(e))},Oue=function(e){return"function"==typeof e},Tue=function(e){return"object"==typeof e?null!==e:Oue(e)},Nue=function(e){return Oue(e)?e:void 0},kue=function(e,t){return arguments.length<2?Nue(oue[e]):oue[e]&&oue[e][t]},Bue=yue({}.isPrototypeOf),Iue=kue("navigator","userAgent")||"",Fue=oue.process,Pue=oue.Deno,Rue=Fue&&Fue.versions||Pue&&Pue.version,_ue=Rue&&Rue.v8;_ue&&(nue=(tue=_ue.split("."))[0]>0&&tue[0]<4?1:+(tue[0]+tue[1])),!nue&&Iue&&(!(tue=Iue.match(/Edge\/(\d+)/))||tue[1]>=74)&&(tue=Iue.match(/Chrome\/(\d+)/))&&(nue=+tue[1]);var Lue=nue,jue=!!Object.getOwnPropertySymbols&&!iue((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Lue&&Lue<41})),Mue=jue&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,zue=oue.Object,Hue=Mue?function(e){return"symbol"==typeof e}:function(e){var t=kue("Symbol");return Oue(t)&&Bue(t.prototype,zue(e))},Uue=oue.String,$ue=function(e){try{return Uue(e)}catch(e){return"Object"}},Vue=oue.TypeError,Gue=function(e){if(Oue(e))return e;throw Vue($ue(e)+" is not a function")},Wue=function(e,t){var n=e[t];return null==n?void 0:Gue(n)},que=oue.TypeError,Kue=Object.defineProperty,Yue=function(e,t){try{Kue(oue,e,{value:t,configurable:!0,writable:!0})}catch(n){oue[e]=t}return t},Xue=oue["__core-js_shared__"]||Yue("__core-js_shared__",{}),Zue=eue((function(e){(e.exports=function(e,t){return Xue[e]||(Xue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Jue=oue.Object,Que=function(e){return Jue(Aue(e))},ese=yue({}.hasOwnProperty),tse=Object.hasOwn||function(e,t){return ese(Que(e),t)},nse=0,rse=Math.random(),ose=yue(1..toString),ise=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ose(++nse+rse,36)},ase=Zue("wks"),use=oue.Symbol,sse=use&&use.for,lse=Mue?use:use&&use.withoutSetter||ise,cse=function(e){if(!tse(ase,e)||!jue&&"string"!=typeof ase[e]){var t="Symbol."+e;jue&&tse(use,e)?ase[e]=use[e]:ase[e]=Mue&&sse?sse(t):lse(t)}return ase[e]},fse=oue.TypeError,dse=cse("toPrimitive"),pse=function(e){var t=function(e,t){if(!Tue(e)||Hue(e))return e;var n,r=Wue(e,dse);if(r){if(void 0===t&&(t="default"),n=sue(r,e,t),!Tue(n)||Hue(n))return n;throw fse("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Oue(n=e.toString)&&!Tue(r=sue(n,e)))return r;if(Oue(n=e.valueOf)&&!Tue(r=sue(n,e)))return r;if("string"!==t&&Oue(n=e.toString)&&!Tue(r=sue(n,e)))return r;throw que("Can't convert object to primitive value")}(e,t)}(e,"string");return Hue(t)?t:t+""},hse=oue.document,vse=Tue(hse)&&Tue(hse.createElement),gse=function(e){return vse?hse.createElement(e):{}},yse=!aue&&!iue((function(){return 7!=Object.defineProperty(gse("div"),"a",{get:function(){return 7}}).a})),mse=Object.getOwnPropertyDescriptor,bse={f:aue?mse:function(e,t){if(e=xue(e),t=pse(t),yse)try{return mse(e,t)}catch(e){}if(tse(e,t))return due(!sue(fue.f,e,t),e[t])}},Ese=oue.String,wse=oue.TypeError,Sse=function(e){if(Tue(e))return e;throw wse(Ese(e)+" is not an object")},Cse=oue.TypeError,Dse=Object.defineProperty,Ase={f:aue?Dse:function(e,t,n){if(Sse(e),t=pse(t),Sse(n),yse)try{return Dse(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Cse("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},xse=aue?function(e,t,n){return Ase.f(e,t,due(1,n))}:function(e,t,n){return e[t]=n,e},Ose=yue(Function.toString);Oue(Xue.inspectSource)||(Xue.inspectSource=function(e){return Ose(e)});var Tse,Nse,kse,Bse=Xue.inspectSource,Ise=oue.WeakMap,Fse=Oue(Ise)&&/native code/.test(Bse(Ise)),Pse=Zue("keys"),Rse=function(e){return Pse[e]||(Pse[e]=ise(e))},_se={},Lse=oue.TypeError,jse=oue.WeakMap;if(Fse||Xue.state){var Mse=Xue.state||(Xue.state=new jse),zse=yue(Mse.get),Hse=yue(Mse.has),Use=yue(Mse.set);Tse=function(e,t){if(Hse(Mse,e))throw new Lse("Object already initialized");return t.facade=e,Use(Mse,e,t),t},Nse=function(e){return zse(Mse,e)||{}},kse=function(e){return Hse(Mse,e)}}else{var $se=Rse("state");_se[$se]=!0,Tse=function(e,t){if(tse(e,$se))throw new Lse("Object already initialized");return t.facade=e,xse(e,$se,t),t},Nse=function(e){return tse(e,$se)?e[$se]:{}},kse=function(e){return tse(e,$se)}}var Vse={set:Tse,get:Nse,has:kse,enforce:function(e){return kse(e)?Nse(e):Tse(e,{})},getterFor:function(e){return function(t){var n;if(!Tue(t)||(n=Nse(t)).type!==e)throw Lse("Incompatible receiver, "+e+" required");return n}}},Gse=Function.prototype,Wse=aue&&Object.getOwnPropertyDescriptor,qse=tse(Gse,"name"),Kse={EXISTS:qse,PROPER:qse&&"something"===function(){}.name,CONFIGURABLE:qse&&(!aue||aue&&Wse(Gse,"name").configurable)},Yse=eue((function(e){var t=Kse.CONFIGURABLE,n=Vse.get,r=Vse.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;Oue(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!tse(i,"name")||t&&i.name!==f)&&xse(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==oue?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:xse(e,n,i)):l?e[n]=i:Yue(n,i)})(Function.prototype,"toString",(function(){return Oue(this)&&n(this).source||Bse(this)}))})),Xse=Math.ceil,Zse=Math.floor,Jse=function(e){var t=+e;return t!=t||0===t?0:(t>0?Zse:Xse)(t)},Qse=Math.max,ele=Math.min,tle=function(e,t){var n=Jse(e);return n<0?Qse(n+t,0):ele(n,t)},nle=Math.min,rle=function(e){return e>0?nle(Jse(e),9007199254740991):0},ole=function(e){return rle(e.length)},ile=function(e){return function(t,n,r){var o,i=xue(t),a=ole(i),u=tle(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}},ale=(ile(!0),ile(!1)),ule=yue([].push),sle=function(e,t){var n,r=xue(e),o=0,i=[];for(n in r)!tse(_se,n)&&tse(r,n)&&ule(i,n);for(;t.length>o;)tse(r,n=t[o++])&&(~ale(i,n)||ule(i,n));return i},lle=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],cle=lle.concat("length","prototype"),fle={f:Object.getOwnPropertyNames||function(e){return sle(e,cle)}},dle={f:Object.getOwnPropertySymbols},ple=yue([].concat),hle=kue("Reflect","ownKeys")||function(e){var t=fle.f(Sse(e)),n=dle.f;return n?ple(t,n(e)):t},vle=function(e,t){for(var n=hle(t),r=Ase.f,o=bse.f,i=0;i<n.length;i++){var a=n[i];tse(e,a)||r(e,a,o(t,a))}},gle=/#|\.prototype\./,yle=function(e,t){var n=ble[mle(e)];return n==wle||n!=Ele&&(Oue(t)?iue(t):!!t)},mle=yle.normalize=function(e){return String(e).replace(gle,".").toLowerCase()},ble=yle.data={},Ele=yle.NATIVE="N",wle=yle.POLYFILL="P",Sle=yle,Cle=bse.f,Dle=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?oue:l?oue[u]||Yue(u,{}):(oue[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Cle(n,r))&&a.value:n[r],!Sle(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;vle(i,o)}(e.sham||o&&o.sham)&&xse(i,"sham",!0),Yse(n,r,i,e)}},Ale=Array.isArray||function(e){return"Array"==Eue(e)},xle={};xle[cse("toStringTag")]="z";var Ole="[object z]"===String(xle),Tle=cse("toStringTag"),Nle=oue.Object,kle="Arguments"==Eue(function(){return arguments}()),Ble=Ole?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=Nle(e),Tle))?n:kle?Eue(t):"Object"==(r=Eue(t))&&Oue(t.callee)?"Arguments":r},Ile=function(){},Fle=[],Ple=kue("Reflect","construct"),Rle=/^\s*(?:class|function)\b/,_le=yue(Rle.exec),Lle=!Rle.exec(Ile),jle=function(e){if(!Oue(e))return!1;try{return Ple(Ile,Fle,e),!0}catch(e){return!1}},Mle=!Ple||iue((function(){var e;return jle(jle.call)||!jle(Object)||!jle((function(){e=!0}))||e}))?function(e){if(!Oue(e))return!1;switch(Ble(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Lle||!!_le(Rle,Bse(e))}:jle,zle=function(e,t,n){var r=pse(t);r in e?Ase.f(e,r,due(0,n)):e[r]=n},Hle=cse("species"),Ule=yue([].slice),$le=("slice",Lue>=51||!iue((function(){var e=[];return(e.constructor={})[Hle]=function(){return{foo:1}},1!==e.slice(Boolean).foo}))),Vle=cse("species"),Gle=oue.Array,Wle=Math.max;Dle({target:"Array",proto:!0,forced:!$le},{slice:function(e,t){var n,r,o,i=xue(this),a=ole(i),u=tle(e,a),s=tle(void 0===t?a:t,a);if(Ale(i)&&(n=i.constructor,(Mle(n)&&(n===Gle||Ale(n.prototype))||Tue(n)&&null===(n=n[Vle]))&&(n=void 0),n===Gle||void 0===n))return Ule(i,u,s);for(r=new(void 0===n?Gle:n)(Wle(s-u,0)),o=0;u<s;u++,o++)u in i&&zle(r,o,i[u]);return r.length=o,r}});var qle=Ole?{}.toString:function(){return"[object "+Ble(this)+"]"};Ole||Yse(Object.prototype,"toString",qle,{unsafe:!0});var Kle,Yle=oue.String,Xle=function(e){if("Symbol"===Ble(e))throw TypeError("Cannot convert a Symbol value to a string");return Yle(e)},Zle=function(){var e=Sse(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},Jle=oue.RegExp,Qle=iue((function(){var e=Jle("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ece=Qle||iue((function(){return!Jle("a","y").sticky})),tce={BROKEN_CARET:Qle||iue((function(){var e=Jle("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ece,UNSUPPORTED_Y:Qle},nce=Object.keys||function(e){return sle(e,lle)},rce=aue?Object.defineProperties:function(e,t){Sse(e);for(var n,r=xue(t),o=nce(t),i=o.length,a=0;i>a;)Ase.f(e,n=o[a++],r[n]);return e},oce=kue("document","documentElement"),ice=Rse("IE_PROTO"),ace=function(){},uce=function(e){return"<script>"+e+"<\/script>"},sce=function(e){e.write(uce("")),e.close();var t=e.parentWindow.Object;return e=null,t},lce=function(){try{Kle=new ActiveXObject("htmlfile")}catch(e){}var e,t;lce="undefined"!=typeof document?document.domain&&Kle?sce(Kle):((t=gse("iframe")).style.display="none",oce.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(uce("document.F=Object")),e.close(),e.F):sce(Kle);for(var n=lle.length;n--;)delete lce.prototype[lle[n]];return lce()};_se[ice]=!0;var cce,fce,dce=Object.create||function(e,t){var n;return null!==e?(ace.prototype=Sse(e),n=new ace,ace.prototype=null,n[ice]=e):n=lce(),void 0===t?n:rce(n,t)},pce=oue.RegExp,hce=iue((function(){var e=pce(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),vce=oue.RegExp,gce=iue((function(){var e=vce("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),yce=Vse.get,mce=Zue("native-string-replace",String.prototype.replace),bce=RegExp.prototype.exec,Ece=bce,wce=yue("".charAt),Sce=yue("".indexOf),Cce=yue("".replace),Dce=yue("".slice),Ace=(fce=/b*/g,sue(bce,cce=/a/,"a"),sue(bce,fce,"a"),0!==cce.lastIndex||0!==fce.lastIndex),xce=tce.BROKEN_CARET,Oce=void 0!==/()??/.exec("")[1];(Ace||Oce||xce||hce||gce)&&(Ece=function(e){var t,n,r,o,i,a,u,s=this,l=yce(s),c=Xle(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=sue(Ece,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=xce&&s.sticky,h=sue(Zle,s),v=s.source,g=0,y=c;if(p&&(h=Cce(h,"y",""),-1===Sce(h,"g")&&(h+="g"),y=Dce(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==wce(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),Oce&&(n=new RegExp("^"+v+"$(?!\\s)",h)),Ace&&(r=s.lastIndex),o=sue(bce,p?n:s,y),p?o?(o.input=Dce(o.input,g),o[0]=Dce(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Ace&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Oce&&o&&o.length>1&&sue(mce,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=dce(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Tce=Ece;Dle({target:"RegExp",proto:!0,forced:/./.exec!==Tce},{exec:Tce});var Nce=Function.prototype,kce=Nce.apply,Bce=Nce.bind,Ice=Nce.call,Fce="object"==typeof Reflect&&Reflect.apply||(Bce?Ice.bind(kce):function(){return Ice.apply(kce,arguments)}),Pce=cse("species"),Rce=RegExp.prototype,_ce=cse("match"),Lce=oue.TypeError,jce=cse("species"),Mce=function(e,t){var n,r=Sse(e).constructor;return void 0===r||null==(n=Sse(r)[jce])?t:function(e){if(Mle(e))return e;throw Lce($ue(e)+" is not a constructor")}(n)},zce=yue("".charAt),Hce=yue("".charCodeAt),Uce=yue("".slice),$ce=function(e){return function(t,n){var r,o,i=Xle(Aue(t)),a=Jse(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Hce(i,a))<55296||r>56319||a+1===u||(o=Hce(i,a+1))<56320||o>57343?e?zce(i,a):r:e?Uce(i,a,a+2):o-56320+(r-55296<<10)+65536}},Vce={codeAt:$ce(!1),charAt:$ce(!0)},Gce=Vce.charAt,Wce=function(e,t,n){return t+(n?Gce(e,t).length:1)},qce=oue.Array,Kce=Math.max,Yce=function(e,t,n){for(var r=ole(e),o=tle(t,r),i=tle(void 0===n?r:n,r),a=qce(Kce(i-o,0)),u=0;o<i;o++,u++)zle(a,u,e[o]);return a.length=u,a},Xce=oue.TypeError,Zce=function(e,t){var n=e.exec;if(Oue(n)){var r=sue(n,e,t);return null!==r&&Sse(r),r}if("RegExp"===Eue(e))return sue(Tce,e,t);throw Xce("RegExp#exec called on incompatible receiver")},Jce=tce.UNSUPPORTED_Y,Qce=Math.min,efe=[].push,tfe=yue(/./.exec),nfe=yue(efe),rfe=yue("".slice);!function(e,t,n,r){var o=cse(e),i=!iue((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!iue((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[Pce]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=yue(/./[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=Xle(Aue(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Tue(r=e)||!(void 0!==(o=r[_ce])?o:"RegExp"==Eue(r)))return sue(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=sue(Tce,p,i))&&!((s=p.lastIndex)>d&&(nfe(c,rfe(i,d,u.index)),u.length>1&&u.index<i.length&&Fce(efe,c,Yce(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&tfe(p,"")||nfe(c,""):nfe(c,rfe(i,d)),c.length>a?Yce(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:sue(t,this,e,n)}:t,[function(t,n){var o=Aue(this),i=null==t?void 0:Wue(t,e);return i?sue(i,t,o,n):sue(r,Xle(o),t,n)},function(e,o){var i=Sse(this),a=Xle(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=Mce(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Jce?"g":"y"),f=new s(Jce?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Zce(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=Jce?0:h;var g,y=Zce(f,Jce?rfe(a,h):a);if(null===y||(g=Qce(rle(f.lastIndex+(Jce?h:0)),a.length))===p)h=Wce(a,h,l);else{if(nfe(v,rfe(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(nfe(v,y[m]),v.length===d)return v;h=p=g}}return nfe(v,rfe(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=yue(e),s=t.exec;return s===Tce||s===Rce.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));Yse(String.prototype,e,s[0]),Yse(Rce,o,s[1])}r&&xse(Rce[o],"sham",!0)}("split",0,!!iue((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]})),Jce);var ofe=function(){return ofe=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},ofe.apply(this,arguments)};function ife(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 afe(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 ufe(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 sfe=cse("unscopables"),lfe=Array.prototype;null==lfe[sfe]&&Ase.f(lfe,sfe,{configurable:!0,value:dce(null)});var cfe,ffe,dfe,pfe=function(e){lfe[sfe][e]=!0},hfe={},vfe=!iue((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),gfe=Rse("IE_PROTO"),yfe=oue.Object,mfe=yfe.prototype,bfe=vfe?yfe.getPrototypeOf:function(e){var t=Que(e);if(tse(t,gfe))return t[gfe];var n=t.constructor;return Oue(n)&&t instanceof n?n.prototype:t instanceof yfe?mfe:null},Efe=cse("iterator"),wfe=!1;[].keys&&("next"in(dfe=[].keys())?(ffe=bfe(bfe(dfe)))!==Object.prototype&&(cfe=ffe):wfe=!0);var Sfe=null==cfe||iue((function(){var e={};return cfe[Efe].call(e)!==e}));Sfe&&(cfe={}),Oue(cfe[Efe])||Yse(cfe,Efe,(function(){return this}));var Cfe={IteratorPrototype:cfe,BUGGY_SAFARI_ITERATORS:wfe},Dfe=Ase.f,Afe=cse("toStringTag"),xfe=function(e,t,n){e&&!tse(e=n?e:e.prototype,Afe)&&Dfe(e,Afe,{configurable:!0,value:t})},Ofe=Cfe.IteratorPrototype,Tfe=function(){return this},Nfe=oue.String,kfe=oue.TypeError,Bfe=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=yue(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Sse(n),function(e){if("object"==typeof e||Oue(e))return e;throw kfe("Can't set "+Nfe(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),Ife=Kse.PROPER,Ffe=Kse.CONFIGURABLE,Pfe=Cfe.IteratorPrototype,Rfe=Cfe.BUGGY_SAFARI_ITERATORS,_fe=cse("iterator"),Lfe=function(){return this},jfe=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=dce(Ofe,{next:due(1,n)}),xfe(e,o,!1),hfe[o]=Tfe}(n,t,r);var u,s,l,c=function(e){if(e===o&&v)return v;if(!Rfe&&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[_fe]||p["@@iterator"]||o&&p[o],v=!Rfe&&h||c(o),g="Array"==t&&p.entries||h;if(g&&(u=bfe(g.call(new e)))!==Object.prototype&&u.next&&(bfe(u)!==Pfe&&(Bfe?Bfe(u,Pfe):Oue(u[_fe])||Yse(u,_fe,Lfe)),xfe(u,f,!0)),Ife&&"values"==o&&h&&"values"!==h.name&&(Ffe?xse(p,"name","values"):(d=!0,v=function(){return sue(h,this)})),o)if(s={values:c("values"),keys:i?v:c("keys"),entries:c("entries")},a)for(l in s)(Rfe||d||!(l in p))&&Yse(p,l,s[l]);else Dle({target:t,proto:!0,forced:Rfe||d},s);return p[_fe]!==v&&Yse(p,_fe,v,{name:o}),hfe[t]=v,s},Mfe=Vse.set,zfe=Vse.getterFor("Array Iterator"),Hfe=jfe(Array,"Array",(function(e,t){Mfe(this,{type:"Array Iterator",target:xue(e),index:0,kind:t})}),(function(){var e=zfe(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");hfe.Arguments=hfe.Array,pfe("keys"),pfe("values"),pfe("entries");var Ufe=Vce.charAt,$fe=Vse.set,Vfe=Vse.getterFor("String Iterator");jfe(String,"String",(function(e){$fe(this,{type:"String Iterator",string:Xle(e),index:0})}),(function(){var e,t=Vfe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Ufe(n,r),t.index+=e.length,{value:e,done:!1})}));var Gfe=function(e,t,n){for(var r in t)Yse(e,r,t[r],n);return e},Wfe=fle.f,qfe="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Kfe={f:function(e){return qfe&&"Window"==Eue(e)?function(e){try{return Wfe(e)}catch(e){return Yce(qfe)}}(e):Wfe(xue(e))}},Yfe=iue((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),Xfe=Object.isExtensible,Zfe=iue((function(){Xfe(1)}))||Yfe?function(e){return!!Tue(e)&&(!Yfe||"ArrayBuffer"!=Eue(e))&&(!Xfe||Xfe(e))}:Xfe,Jfe=!iue((function(){return Object.isExtensible(Object.preventExtensions({}))})),Qfe=eue((function(e){var t=Ase.f,n=!1,r=ise("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=fle.f,t=yue([].splice),o={};o[r]=1,e(o).length&&(fle.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},Dle({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Kfe.f}))},fastKey:function(e,t){if(!Tue(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!tse(e,r)){if(!Zfe(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!tse(e,r)){if(!Zfe(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Jfe&&n&&Zfe(e)&&!tse(e,r)&&i(e),e}};_se[r]=!0})),ede=yue(yue.bind),tde=function(e,t){return Gue(e),void 0===t?e:ede?ede(e,t):function(){return e.apply(t,arguments)}},nde=cse("iterator"),rde=Array.prototype,ode=cse("iterator"),ide=function(e){if(null!=e)return Wue(e,ode)||Wue(e,"@@iterator")||hfe[Ble(e)]},ade=oue.TypeError,ude=function(e,t,n){var r,o;Sse(e);try{if(!(r=Wue(e,"return"))){if("throw"===t)throw n;return n}r=sue(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Sse(r),n},sde=oue.TypeError,lde=function(e,t){this.stopped=e,this.result=t},cde=lde.prototype,fde=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=tde(t,f),g=function(e){return r&&ude(r,"normal",e),new lde(!0,e)},y=function(e){return d?(Sse(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=ide(e)))throw sde($ue(e)+" is not iterable");if(void 0!==(c=o)&&(hfe.Array===c||rde[nde]===c)){for(i=0,a=ole(e);a>i;i++)if((u=y(e[i]))&&Bue(cde,u))return u;return new lde(!1)}r=function(e,t){var n=arguments.length<2?ide(e):t;if(Gue(n))return Sse(sue(n,e));throw ade($ue(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=sue(s,r)).done;){try{u=y(l.value)}catch(e){ude(r,"throw",e)}if("object"==typeof u&&u&&Bue(cde,u))return u}return new lde(!1)},dde=oue.TypeError,pde=function(e,t){if(Bue(t,e))return e;throw dde("Incorrect invocation")},hde=cse("iterator"),vde=!1;try{var gde=0,yde={next:function(){return{done:!!gde++}},return:function(){vde=!0}};yde[hde]=function(){return this},Array.from(yde,(function(){throw 2}))}catch(Ml){}var mde=function(e,t){if(!t&&!vde)return!1;var n=!1;try{var r={};r[hde]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},bde=cse("species"),Ede=oue.Array,wde=function(e,t){return new(function(e){var t;return Ale(e)&&(t=e.constructor,(Mle(t)&&(t===Ede||Ale(t.prototype))||Tue(t)&&null===(t=t[bde]))&&(t=void 0)),void 0===t?Ede:t}(e))(0===t?0:t)},Sde=yue([].push),Cde=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=Que(s),v=Cue(h),g=tde(l,c),y=ole(v),m=0,b=f||wde,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:Sde(E,d)}else switch(e){case 4:return!1;case 7:Sde(E,d)}return i?-1:r||o?o:E}},Dde={forEach:Cde(0),map:Cde(1),filter:Cde(2),some:Cde(3),every:Cde(4),find:Cde(5),findIndex:Cde(6),filterReject:Cde(7)},Ade=Qfe.getWeakData,xde=Vse.set,Ode=Vse.getterFor,Tde=Dde.find,Nde=Dde.findIndex,kde=yue([].splice),Bde=0,Ide=function(e){return e.frozen||(e.frozen=new Fde)},Fde=function(){this.entries=[]},Pde=function(e,t){return Tde(e.entries,(function(e){return e[0]===t}))};Fde.prototype={get:function(e){var t=Pde(this,e);if(t)return t[1]},has:function(e){return!!Pde(this,e)},set:function(e,t){var n=Pde(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Nde(this.entries,(function(t){return t[0]===e}));return~t&&kde(this.entries,t,1),!!~t}};var Rde,_de={getConstructor:function(e,t,n,r){var o=e((function(e,o){pde(e,i),xde(e,{type:t,id:Bde++,frozen:void 0}),null!=o&&fde(o,e[r],{that:e,AS_ENTRIES:n})})),i=o.prototype,a=Ode(t),u=function(e,t,n){var r=a(e),o=Ade(Sse(t),!0);return!0===o?Ide(r).set(t,n):o[r.id]=n,e};return Gfe(i,{delete:function(e){var t=a(this);if(!Tue(e))return!1;var n=Ade(e);return!0===n?Ide(t).delete(e):n&&tse(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!Tue(e))return!1;var n=Ade(e);return!0===n?Ide(t).has(e):n&&tse(n,t.id)}}),Gfe(i,n?{get:function(e){var t=a(this);if(Tue(e)){var n=Ade(e);return!0===n?Ide(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}},Lde=Vse.enforce,jde=!oue.ActiveXObject&&"ActiveXObject"in oue,Mde=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},zde=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=oue[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=yue(u[e]);Yse(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!Tue(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!Tue(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!Tue(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Sle(e,!Oue(a)||!(o||u.forEach&&!iue((function(){(new a).entries().next()})))))s=n.getConstructor(t,e,r,i),Qfe.enable();else if(Sle(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=iue((function(){f.has(1)})),h=mde((function(e){new a(e)})),v=!o&&iue((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((s=t((function(e,t){pde(e,u);var n=function(e,t,n){var r,o;return Bfe&&Oue(r=t.constructor)&&r!==n&&Tue(o=r.prototype)&&o!==n.prototype&&Bfe(e,o),e}(new a,e,s);return null!=t&&fde(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,Dle({global:!0,forced:s!=a},l),xfe(s,e),o||n.setStrong(s,e,r),s}("WeakMap",Mde,_de);if(Fse&&jde){Rde=_de.getConstructor(Mde,"WeakMap",!0),Qfe.enable();var Hde=zde.prototype,Ude=yue(Hde.delete),$de=yue(Hde.has),Vde=yue(Hde.get),Gde=yue(Hde.set);Gfe(Hde,{delete:function(e){if(Tue(e)&&!Zfe(e)){var t=Lde(this);return t.frozen||(t.frozen=new Rde),Ude(this,e)||t.frozen.delete(e)}return Ude(this,e)},has:function(e){if(Tue(e)&&!Zfe(e)){var t=Lde(this);return t.frozen||(t.frozen=new Rde),$de(this,e)||t.frozen.has(e)}return $de(this,e)},get:function(e){if(Tue(e)&&!Zfe(e)){var t=Lde(this);return t.frozen||(t.frozen=new Rde),$de(this,e)?Vde(this,e):t.frozen.get(e)}return Vde(this,e)},set:function(e,t){if(Tue(e)&&!Zfe(e)){var n=Lde(this);n.frozen||(n.frozen=new Rde),$de(this,e)?Gde(this,e,t):n.frozen.set(e,t)}else Gde(this,e,t);return this}})}var Wde={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},qde=gse("span").classList,Kde=qde&&qde.constructor&&qde.constructor.prototype,Yde=Kde===Object.prototype?void 0:Kde,Xde=cse("iterator"),Zde=cse("toStringTag"),Jde=Hfe.values,Qde=function(e,t){if(e){if(e[Xde]!==Jde)try{xse(e,Xde,Jde)}catch(t){e[Xde]=Jde}if(e[Zde]||xse(e,Zde,t),Wde[t])for(var n in Hfe)if(e[n]!==Hfe[n])try{xse(e,n,Hfe[n])}catch(t){e[n]=Hfe[n]}}};for(var epe in Wde)Qde(oue[epe]&&oue[epe].prototype,epe);Qde(Yde,"DOMTokenList");var tpe=function(e,t){var n=[][e];return!!n&&iue((function(){n.call(null,t||function(){throw 1},1)}))},npe=Dde.forEach,rpe=tpe("forEach")?[].forEach:function(e){return npe(this,e,arguments.length>1?arguments[1]:void 0)},ope=function(e){if(e&&e.forEach!==rpe)try{xse(e,"forEach",rpe)}catch(t){e.forEach=rpe}};for(var ipe in Wde)Wde[ipe]&&ope(oue[ipe]&&oue[ipe].prototype);ope(Yde);var ape,upe,spe,lpe,cpe=oue.Promise,fpe=cse("species"),dpe=/(?:ipad|iphone|ipod).*applewebkit/i.test(Iue),ppe="process"==Eue(oue.process),hpe=oue.setImmediate,vpe=oue.clearImmediate,gpe=oue.process,ype=oue.Dispatch,mpe=oue.Function,bpe=oue.MessageChannel,Epe=oue.String,wpe=0,Spe={};try{ape=oue.location}catch(Ml){}var Cpe=function(e){if(tse(Spe,e)){var t=Spe[e];delete Spe[e],t()}},Dpe=function(e){return function(){Cpe(e)}},Ape=function(e){Cpe(e.data)},xpe=function(e){oue.postMessage(Epe(e),ape.protocol+"//"+ape.host)};hpe&&vpe||(hpe=function(e){var t=Ule(arguments,1);return Spe[++wpe]=function(){Fce(Oue(e)?e:mpe(e),void 0,t)},upe(wpe),wpe},vpe=function(e){delete Spe[e]},ppe?upe=function(e){gpe.nextTick(Dpe(e))}:ype&&ype.now?upe=function(e){ype.now(Dpe(e))}:bpe&&!dpe?(lpe=(spe=new bpe).port2,spe.port1.onmessage=Ape,upe=tde(lpe.postMessage,lpe)):oue.addEventListener&&Oue(oue.postMessage)&&!oue.importScripts&&ape&&"file:"!==ape.protocol&&!iue(xpe)?(upe=xpe,oue.addEventListener("message",Ape,!1)):upe="onreadystatechange"in gse("script")?function(e){oce.appendChild(gse("script")).onreadystatechange=function(){oce.removeChild(this),Cpe(e)}}:function(e){setTimeout(Dpe(e),0)});var Ope,Tpe,Npe,kpe,Bpe,Ipe,Fpe,Ppe,Rpe={set:hpe,clear:vpe},_pe=/ipad|iphone|ipod/i.test(Iue)&&void 0!==oue.Pebble,Lpe=/web0s(?!.*chrome)/i.test(Iue),jpe=bse.f,Mpe=Rpe.set,zpe=oue.MutationObserver||oue.WebKitMutationObserver,Hpe=oue.document,Upe=oue.process,$pe=oue.Promise,Vpe=jpe(oue,"queueMicrotask"),Gpe=Vpe&&Vpe.value;Gpe||(Ope=function(){var e,t;for(ppe&&(e=Upe.domain)&&e.exit();Tpe;){t=Tpe.fn,Tpe=Tpe.next;try{t()}catch(e){throw Tpe?kpe():Npe=void 0,e}}Npe=void 0,e&&e.enter()},dpe||ppe||Lpe||!zpe||!Hpe?!_pe&&$pe&&$pe.resolve?((Fpe=$pe.resolve(void 0)).constructor=$pe,Ppe=tde(Fpe.then,Fpe),kpe=function(){Ppe(Ope)}):ppe?kpe=function(){Upe.nextTick(Ope)}:(Mpe=tde(Mpe,oue),kpe=function(){Mpe(Ope)}):(Bpe=!0,Ipe=Hpe.createTextNode(""),new zpe(Ope).observe(Ipe,{characterData:!0}),kpe=function(){Ipe.data=Bpe=!Bpe}));var Wpe,qpe,Kpe,Ype,Xpe=Gpe||function(e){var t={fn:e,next:void 0};Npe&&(Npe.next=t),Tpe||(Tpe=t,kpe()),Npe=t},Zpe=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=Gue(t),this.reject=Gue(n)},Jpe={f:function(e){return new Zpe(e)}},Qpe=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ehe="object"==typeof window,the=Rpe.set,nhe=cse("species"),rhe="Promise",ohe=Vse.getterFor(rhe),ihe=Vse.set,ahe=Vse.getterFor(rhe),uhe=cpe&&cpe.prototype,she=cpe,lhe=uhe,che=oue.TypeError,fhe=oue.document,dhe=oue.process,phe=Jpe.f,hhe=phe,vhe=!!(fhe&&fhe.createEvent&&oue.dispatchEvent),ghe=Oue(oue.PromiseRejectionEvent),yhe=!1,mhe=Sle(rhe,(function(){var e=Bse(she),t=e!==String(she);if(!t&&66===Lue)return!0;if(Lue>=51&&/native code/.test(e))return!1;var n=new she((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[nhe]=r,!(yhe=n.then((function(){}))instanceof r)||!t&&ehe&&!ghe})),bhe=mhe||!mde((function(e){she.all(e).catch((function(){}))})),Ehe=function(e){var t;return!(!Tue(e)||!Oue(t=e.then))&&t},whe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Xpe((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&&Ahe(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(che("Promise-chain cycle")):(u=Ehe(a))?sue(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Che(e)}))}},She=function(e,t,n){var r,o;vhe?((r=fhe.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),oue.dispatchEvent(r)):r={promise:t,reason:n},!ghe&&(o=oue["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=oue.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Che=function(e){sue(the,oue,(function(){var t,n=e.facade,r=e.value;if(Dhe(e)&&(t=Qpe((function(){ppe?dhe.emit("unhandledRejection",r,n):She("unhandledrejection",n,r)})),e.rejection=ppe||Dhe(e)?2:1,t.error))throw t.value}))},Dhe=function(e){return 1!==e.rejection&&!e.parent},Ahe=function(e){sue(the,oue,(function(){var t=e.facade;ppe?dhe.emit("rejectionHandled",t):She("rejectionhandled",t,e.value)}))},xhe=function(e,t,n){return function(r){e(t,r,n)}},Ohe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,whe(e,!0))},The=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw che("Promise can't be resolved itself");var r=Ehe(t);r?Xpe((function(){var n={done:!1};try{sue(r,t,xhe(The,n,e),xhe(Ohe,n,e))}catch(t){Ohe(n,t,e)}})):(e.value=t,e.state=1,whe(e,!1))}catch(t){Ohe({done:!1},t,e)}}};if(mhe&&(lhe=(she=function(e){pde(this,lhe),Gue(e),sue(Wpe,this);var t=ohe(this);try{e(xhe(The,t),xhe(Ohe,t))}catch(e){Ohe(t,e)}}).prototype,(Wpe=function(e){ihe(this,{type:rhe,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Gfe(lhe,{then:function(e,t){var n=ahe(this),r=n.reactions,o=phe(Mce(this,she));return o.ok=!Oue(e)||e,o.fail=Oue(t)&&t,o.domain=ppe?dhe.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&whe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),qpe=function(){var e=new Wpe,t=ohe(e);this.promise=e,this.resolve=xhe(The,t),this.reject=xhe(Ohe,t)},Jpe.f=phe=function(e){return e===she||e===Kpe?new qpe(e):hhe(e)},Oue(cpe)&&uhe!==Object.prototype)){Ype=uhe.then,yhe||(Yse(uhe,"then",(function(e,t){var n=this;return new she((function(e,t){sue(Ype,n,e,t)})).then(e,t)}),{unsafe:!0}),Yse(uhe,"catch",lhe.catch,{unsafe:!0}));try{delete uhe.constructor}catch(Ml){}Bfe&&Bfe(uhe,lhe)}Dle({global:!0,wrap:!0,forced:mhe},{Promise:she}),xfe(she,rhe,!1),function(e){var t=kue("Promise"),n=Ase.f;aue&&t&&!t[fpe]&&n(t,fpe,{configurable:!0,get:function(){return this}})}(),Kpe=kue(rhe),Dle({target:rhe,stat:!0,forced:mhe},{reject:function(e){var t=phe(this);return sue(t.reject,void 0,e),t.promise}}),Dle({target:rhe,stat:!0,forced:mhe},{resolve:function(e){return function(e,t){if(Sse(e),Tue(t)&&t.constructor===e)return t;var n=Jpe.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),Dle({target:rhe,stat:!0,forced:bhe},{all:function(e){var t=this,n=phe(t),r=n.resolve,o=n.reject,i=Qpe((function(){var n=Gue(t.resolve),i=[],a=0,u=1;fde(e,(function(e){var s=a++,l=!1;u++,sue(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=phe(t),r=n.reject,o=Qpe((function(){var o=Gue(t.resolve);fde(e,(function(e){sue(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Nhe=Kse.PROPER,khe=RegExp.prototype,Bhe=khe.toString,Ihe=yue(Zle),Fhe=iue((function(){return"/a/b"!=Bhe.call({source:"a",flags:"b"})})),Phe=Nhe&&"toString"!=Bhe.name;(Fhe||Phe)&&Yse(RegExp.prototype,"toString",(function(){var e=Sse(this),t=Xle(e.source),n=e.flags;return"/"+t+"/"+Xle(void 0===n&&Bue(khe,e)&&!("flags"in khe)?Ihe(e):n)}),{unsafe:!0});var Rhe=Kse.EXISTS,_he=Ase.f,Lhe=Function.prototype,jhe=yue(Lhe.toString),Mhe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,zhe=yue(Mhe.exec);aue&&!Rhe&&_he(Lhe,"name",{configurable:!0,get:function(){try{return zhe(Mhe,jhe(this))[1]}catch(e){return""}}});var Hhe=new WeakMap;function Uhe(e){return e.getMenuConfig("uploadImage")}function $he(e,t){return ife(this,void 0,void 0,(function(){return afe(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 Vhe(e,t){return ife(this,void 0,void 0,(function(){var n,r,o,i;return afe(this,(function(a){switch(a.label){case 0:return n=function(e){var t=Hhe.get(e);if(null!=t)return t;var n=Uhe(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=XI(ofe(ofe({},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)}})),Hhe.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 Ghe(e,t){var n,r;return ife(this,void 0,void 0,(function(){var o,i,a,u,s,l,c,f,d;return afe(this,(function(p){switch(p.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=Uhe(e),a=i.customUpload,u=i.base64LimitSize,p.label=1;case 1:p.trys.push([1,11,12,17]),s=ufe(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,$he(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,Vhe(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 Whe=yue([].join),qhe=Cue!=Object,Khe=tpe("join",",");Dle({target:"Array",proto:!0,forced:qhe||!Khe},{join:function(e){return Whe(xue(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 Yhe=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;Ghe(e,t)}))}},e}(),Xhe={menus:[{key:"uploadImage",factory:function(){return new Yhe},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]}))?Ghe(e,o):t(r)}},n}};UF("en",{highLightModule:{selectLang:"Language"}}),UF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var Zhe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Jhe(e){var t={exports:{}};return e(t,t.exports),t.exports}var Qhe,eve,tve=function(e){return e&&e.Math==Math&&e},nve=tve("object"==typeof globalThis&&globalThis)||tve("object"==typeof window&&window)||tve("object"==typeof self&&self)||tve("object"==typeof Zhe&&Zhe)||function(){return this}()||Function("return this")(),rve=Object.defineProperty,ove=function(e,t){try{rve(nve,e,{value:t,configurable:!0,writable:!0})}catch(n){nve[e]=t}return t},ive=nve["__core-js_shared__"]||ove("__core-js_shared__",{}),ave=Jhe((function(e){(e.exports=function(e,t){return ive[e]||(ive[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),uve=Function.prototype,sve=uve.bind,lve=uve.call,cve=sve&&sve.bind(lve),fve=sve?function(e){return e&&cve(lve,e)}:function(e){return e&&function(){return lve.apply(e,arguments)}},dve=nve.TypeError,pve=function(e){if(null==e)throw dve("Can't call method on "+e);return e},hve=nve.Object,vve=function(e){return hve(pve(e))},gve=fve({}.hasOwnProperty),yve=Object.hasOwn||function(e,t){return gve(vve(e),t)},mve=0,bve=Math.random(),Eve=fve(1..toString),wve=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Eve(++mve+bve,36)},Sve=function(e){return"function"==typeof e},Cve=function(e){return Sve(e)?e:void 0},Dve=function(e,t){return arguments.length<2?Cve(nve[e]):nve[e]&&nve[e][t]},Ave=Dve("navigator","userAgent")||"",xve=nve.process,Ove=nve.Deno,Tve=xve&&xve.versions||Ove&&Ove.version,Nve=Tve&&Tve.v8;Nve&&(eve=(Qhe=Nve.split("."))[0]>0&&Qhe[0]<4?1:+(Qhe[0]+Qhe[1])),!eve&&Ave&&(!(Qhe=Ave.match(/Edge\/(\d+)/))||Qhe[1]>=74)&&(Qhe=Ave.match(/Chrome\/(\d+)/))&&(eve=+Qhe[1]);var kve=eve,Bve=function(e){try{return!!e()}catch(e){return!0}},Ive=!!Object.getOwnPropertySymbols&&!Bve((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&kve&&kve<41})),Fve=Ive&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Pve=ave("wks"),Rve=nve.Symbol,_ve=Rve&&Rve.for,Lve=Fve?Rve:Rve&&Rve.withoutSetter||wve,jve=function(e){if(!yve(Pve,e)||!Ive&&"string"!=typeof Pve[e]){var t="Symbol."+e;Ive&&yve(Rve,e)?Pve[e]=Rve[e]:Pve[e]=Fve&&_ve?_ve(t):Lve(t)}return Pve[e]},Mve={};Mve[jve("toStringTag")]="z";var zve="[object z]"===String(Mve),Hve=!Bve((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Uve=function(e){return"object"==typeof e?null!==e:Sve(e)},$ve=nve.document,Vve=Uve($ve)&&Uve($ve.createElement),Gve=function(e){return Vve?$ve.createElement(e):{}},Wve=!Hve&&!Bve((function(){return 7!=Object.defineProperty(Gve("div"),"a",{get:function(){return 7}}).a})),qve=nve.String,Kve=nve.TypeError,Yve=function(e){if(Uve(e))return e;throw Kve(qve(e)+" is not an object")},Xve=Function.prototype.call,Zve=Xve.bind?Xve.bind(Xve):function(){return Xve.apply(Xve,arguments)},Jve=fve({}.isPrototypeOf),Qve=nve.Object,ege=Fve?function(e){return"symbol"==typeof e}:function(e){var t=Dve("Symbol");return Sve(t)&&Jve(t.prototype,Qve(e))},tge=nve.String,nge=function(e){try{return tge(e)}catch(e){return"Object"}},rge=nve.TypeError,oge=function(e){if(Sve(e))return e;throw rge(nge(e)+" is not a function")},ige=function(e,t){var n=e[t];return null==n?void 0:oge(n)},age=nve.TypeError,uge=nve.TypeError,sge=jve("toPrimitive"),lge=function(e){var t=function(e,t){if(!Uve(e)||ege(e))return e;var n,r=ige(e,sge);if(r){if(void 0===t&&(t="default"),n=Zve(r,e,t),!Uve(n)||ege(n))return n;throw uge("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Sve(n=e.toString)&&!Uve(r=Zve(n,e)))return r;if(Sve(n=e.valueOf)&&!Uve(r=Zve(n,e)))return r;if("string"!==t&&Sve(n=e.toString)&&!Uve(r=Zve(n,e)))return r;throw age("Can't convert object to primitive value")}(e,t)}(e,"string");return ege(t)?t:t+""},cge=nve.TypeError,fge=Object.defineProperty,dge={f:Hve?fge:function(e,t,n){if(Yve(e),t=lge(t),Yve(n),Wve)try{return fge(e,t,n)}catch(e){}if("get"in n||"set"in n)throw cge("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},pge=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},hge=Hve?function(e,t,n){return dge.f(e,t,pge(1,n))}:function(e,t,n){return e[t]=n,e},vge=fve(Function.toString);Sve(ive.inspectSource)||(ive.inspectSource=function(e){return vge(e)});var gge,yge,mge,bge=ive.inspectSource,Ege=nve.WeakMap,wge=Sve(Ege)&&/native code/.test(bge(Ege)),Sge=ave("keys"),Cge=function(e){return Sge[e]||(Sge[e]=wve(e))},Dge={},Age=nve.TypeError,xge=nve.WeakMap;if(wge||ive.state){var Oge=ive.state||(ive.state=new xge),Tge=fve(Oge.get),Nge=fve(Oge.has),kge=fve(Oge.set);gge=function(e,t){if(Nge(Oge,e))throw new Age("Object already initialized");return t.facade=e,kge(Oge,e,t),t},yge=function(e){return Tge(Oge,e)||{}},mge=function(e){return Nge(Oge,e)}}else{var Bge=Cge("state");Dge[Bge]=!0,gge=function(e,t){if(yve(e,Bge))throw new Age("Object already initialized");return t.facade=e,hge(e,Bge,t),t},yge=function(e){return yve(e,Bge)?e[Bge]:{}},mge=function(e){return yve(e,Bge)}}var Ige={set:gge,get:yge,has:mge,enforce:function(e){return mge(e)?yge(e):gge(e,{})},getterFor:function(e){return function(t){var n;if(!Uve(t)||(n=yge(t)).type!==e)throw Age("Incompatible receiver, "+e+" required");return n}}},Fge=Function.prototype,Pge=Hve&&Object.getOwnPropertyDescriptor,Rge=yve(Fge,"name"),_ge={EXISTS:Rge,PROPER:Rge&&"something"===function(){}.name,CONFIGURABLE:Rge&&(!Hve||Hve&&Pge(Fge,"name").configurable)},Lge=Jhe((function(e){var t=_ge.CONFIGURABLE,n=Ige.get,r=Ige.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;Sve(i)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!yve(i,"name")||t&&i.name!==f)&&hge(i,"name",f),(u=r(i)).source||(u.source=o.join("string"==typeof f?f:""))),e!==nve?(s?!c&&e[n]&&(l=!0):delete e[n],l?e[n]=i:hge(e,n,i)):l?e[n]=i:ove(n,i)})(Function.prototype,"toString",(function(){return Sve(this)&&n(this).source||bge(this)}))})),jge=fve({}.toString),Mge=fve("".slice),zge=function(e){return Mge(jge(e),8,-1)},Hge=jve("toStringTag"),Uge=nve.Object,$ge="Arguments"==zge(function(){return arguments}()),Vge=zve?zge: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=Uge(e),Hge))?n:$ge?zge(t):"Object"==(r=zge(t))&&Sve(t.callee)?"Arguments":r},Gge=zve?{}.toString:function(){return"[object "+Vge(this)+"]"};zve||Lge(Object.prototype,"toString",Gge,{unsafe:!0});var Wge,qge={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=Gve("span").classList,Yge=Kge&&Kge.constructor&&Kge.constructor.prototype,Xge=Yge===Object.prototype?void 0:Yge,Zge=fve(fve.bind),Jge=nve.Object,Qge=fve("".split),eye=Bve((function(){return!Jge("z").propertyIsEnumerable(0)}))?function(e){return"String"==zge(e)?Qge(e,""):Jge(e)}:Jge,tye=Math.ceil,nye=Math.floor,rye=function(e){var t=+e;return t!=t||0===t?0:(t>0?nye:tye)(t)},oye=Math.min,iye=function(e){return e>0?oye(rye(e),9007199254740991):0},aye=function(e){return iye(e.length)},uye=Array.isArray||function(e){return"Array"==zge(e)},sye=function(){},lye=[],cye=Dve("Reflect","construct"),fye=/^\s*(?:class|function)\b/,dye=fve(fye.exec),pye=!fye.exec(sye),hye=function(e){if(!Sve(e))return!1;try{return cye(sye,lye,e),!0}catch(e){return!1}},vye=!cye||Bve((function(){var e;return hye(hye.call)||!hye(Object)||!hye((function(){e=!0}))||e}))?function(e){if(!Sve(e))return!1;switch(Vge(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return pye||!!dye(fye,bge(e))}:hye,gye=jve("species"),yye=nve.Array,mye=function(e,t){return new(function(e){var t;return uye(e)&&(t=e.constructor,(vye(t)&&(t===yye||uye(t.prototype))||Uve(t)&&null===(t=t[gye]))&&(t=void 0)),void 0===t?yye:t}(e))(0===t?0:t)},bye=fve([].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=vve(s),v=eye(h),g=function(e,t){return oge(e),void 0===t?e:Zge?Zge(e,t):function(){return e.apply(t,arguments)}}(l,c),y=aye(v),m=0,b=f||mye,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:bye(E,d)}else switch(e){case 4:return!1;case 7:bye(E,d)}return i?-1:r||o?o:E}},wye=[Eye(0),Eye(1),Eye(2),Eye(3),Eye(4),Eye(5),Eye(6),Eye(7)][0],Sye=(Wge=[].forEach)&&Bve((function(){Wge.call(null,(function(){throw 1}),1)}))?[].forEach:function(e){return wye(this,e,arguments.length>1?arguments[1]:void 0)},Cye=function(e){if(e&&e.forEach!==Sye)try{hge(e,"forEach",Sye)}catch(t){e.forEach=Sye}};for(var Dye in qge)qge[Dye]&&Cye(nve[Dye]&&nve[Dye].prototype);Cye(Xge);var Aye={}.propertyIsEnumerable,xye=Object.getOwnPropertyDescriptor,Oye={f:xye&&!Aye.call({1:2},1)?function(e){var t=xye(this,e);return!!t&&t.enumerable}:Aye},Tye=function(e){return eye(pve(e))},Nye=Object.getOwnPropertyDescriptor,kye={f:Hve?Nye:function(e,t){if(e=Tye(e),t=lge(t),Wve)try{return Nye(e,t)}catch(e){}if(yve(e,t))return pge(!Zve(Oye.f,e,t),e[t])}},Bye=Math.max,Iye=Math.min,Fye=function(e,t){var n=rye(e);return n<0?Bye(n+t,0):Iye(n,t)},Pye=function(e){return function(t,n,r){var o,i=Tye(t),a=aye(i),u=Fye(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}},Rye=(Pye(!0),Pye(!1)),_ye=fve([].push),Lye=function(e,t){var n,r=Tye(e),o=0,i=[];for(n in r)!yve(Dge,n)&&yve(r,n)&&_ye(i,n);for(;t.length>o;)yve(r,n=t[o++])&&(~Rye(i,n)||_ye(i,n));return i},jye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mye=jye.concat("length","prototype"),zye={f:Object.getOwnPropertyNames||function(e){return Lye(e,Mye)}},Hye={f:Object.getOwnPropertySymbols},Uye=fve([].concat),$ye=Dve("Reflect","ownKeys")||function(e){var t=zye.f(Yve(e)),n=Hye.f;return n?Uye(t,n(e)):t},Vye=function(e,t){for(var n=$ye(t),r=dge.f,o=kye.f,i=0;i<n.length;i++){var a=n[i];yve(e,a)||r(e,a,o(t,a))}},Gye=/#|\.prototype\./,Wye=function(e,t){var n=Kye[qye(e)];return n==Xye||n!=Yye&&(Sve(t)?Bve(t):!!t)},qye=Wye.normalize=function(e){return String(e).replace(Gye,".").toLowerCase()},Kye=Wye.data={},Yye=Wye.NATIVE="N",Xye=Wye.POLYFILL="P",Zye=Wye,Jye=kye.f,Qye=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?nve:l?nve[u]||ove(u,{}):(nve[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Jye(n,r))&&a.value:n[r],!Zye(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Vye(i,o)}(e.sham||o&&o.sham)&&hge(i,"sham",!0),Lge(n,r,i,e)}},eme=Object.keys||function(e){return Lye(e,jye)},tme=Object.assign,nme=Object.defineProperty,rme=fve([].concat),ome=!tme||Bve((function(){if(Hve&&1!==tme({b:1},tme(nme({},"a",{enumerable:!0,get:function(){nme(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!=tme({},e)[n]||eme(tme({},t)).join("")!=r}))?function(e,t){for(var n=vve(e),r=arguments.length,o=1,i=Hye.f,a=Oye.f;r>o;)for(var u,s=eye(arguments[o++]),l=i?rme(eme(s),i(s)):eme(s),c=l.length,f=0;c>f;)u=l[f++],Hve&&!Zve(a,s,u)||(n[u]=s[u]);return n}:tme;Qye({target:"Object",stat:!0,forced:Object.assign!==ome},{assign:ome});var ime=Jhe((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!==Xhe&&(Xhe.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 ime=["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 ame(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce((function(e,t){return e+ame(t)}),0)}var ume,sme=tve.String,lme=function(e){if("Symbol"===$ge(e))throw TypeError("Cannot convert a Symbol value to a string");return sme(e)},cme=function(){var e=Kve(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},fme=tve.RegExp,dme=kve((function(){var e=fme("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),pme=dme||kve((function(){return!fme("a","y").sticky})),hme={BROKEN_CARET:dme||kve((function(){var e=fme("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:pme,UNSUPPORTED_Y:dme},vme=zve?Object.defineProperties:function(e,t){Kve(e);for(var n,r=Oye(t),o=Qye(t),i=o.length,a=0;i>a;)fge.f(e,n=o[a++],r[n]);return e},gme=Cve("document","documentElement"),yme=Sge("IE_PROTO"),mme=function(){},bme=function(e){return"<script>"+e+"<\/script>"},Eme=function(e){e.write(bme("")),e.close();var t=e.parentWindow.Object;return e=null,t},wme=function(){try{ume=new ActiveXObject("htmlfile")}catch(e){}var e,t;wme="undefined"!=typeof document?document.domain&&ume?Eme(ume):((t=Vve("iframe")).style.display="none",gme.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(bme("document.F=Object")),e.close(),e.F):Eme(ume);for(var n=Lye.length;n--;)delete wme.prototype[Lye[n]];return wme()};Cge[yme]=!0;var Sme,Cme,Dme=Object.create||function(e,t){var n;return null!==e?(mme.prototype=Kve(e),n=new mme,mme.prototype=null,n[yme]=e):n=wme(),void 0===t?n:vme(n,t)},Ame=tve.RegExp,xme=kve((function(){var e=Ame(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Ome=tve.RegExp,Tme=kve((function(){var e=Ome("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Nme=Bge.get,kme=ive("native-string-replace",String.prototype.replace),Bme=RegExp.prototype.exec,Ime=Bme,Fme=cve("".charAt),Pme=cve("".indexOf),Rme=cve("".replace),_me=cve("".slice),Lme=(Cme=/b*/g,Xve(Bme,Sme=/a/,"a"),Xve(Bme,Cme,"a"),0!==Sme.lastIndex||0!==Cme.lastIndex),jme=hme.BROKEN_CARET,Mme=void 0!==/()??/.exec("")[1];(Lme||Mme||jme||xme||Tme)&&(Ime=function(e){var t,n,r,o,i,a,u,s=this,l=Nme(s),c=lme(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Xve(Ime,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=jme&&s.sticky,h=Xve(cme,s),v=s.source,g=0,y=c;if(p&&(h=Rme(h,"y",""),-1===Pme(h,"g")&&(h+="g"),y=_me(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Fme(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),Mme&&(n=new RegExp("^"+v+"$(?!\\s)",h)),Lme&&(r=s.lastIndex),o=Xve(Bme,p?n:s,y),p?o?(o.input=_me(o.input,g),o[0]=_me(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Lme&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Mme&&o&&o.length>1&&Xve(kme,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=Dme(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var zme=Ime;Jye({target:"RegExp",proto:!0,forced:/./.exec!==zme},{exec:zme});var Hme=Function.prototype,Ume=Hme.apply,$me=Hme.bind,Vme=Hme.call,Gme="object"==typeof Reflect&&Reflect.apply||($me?Vme.bind(Ume):function(){return Vme.apply(Ume,arguments)}),Wme=Lve("species"),qme=RegExp.prototype,Kme=Lve("match"),Yme=tve.TypeError,Xme=Lve("species"),Zme=cve("".charAt),Jme=cve("".charCodeAt),Qme=cve("".slice),ebe=function(e){return function(t,n){var r,o,i=lme(dve(t)),a=nye(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Jme(i,a))<55296||r>56319||a+1===u||(o=Jme(i,a+1))<56320||o>57343?e?Zme(i,a):r:e?Qme(i,a,a+2):o-56320+(r-55296<<10)+65536}},tbe=(ebe(!1),ebe(!0)),nbe=function(e,t,n){return t+(n?tbe(e,t).length:1)},rbe=tve.Array,obe=Math.max,ibe=function(e,t,n){for(var r,o,i,a,u=iye(e),s=Iye(t,u),l=Iye(void 0===n?u:n,u),c=rbe(obe(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],void 0,(a=sge(o))in r?fge.f(r,a,dge(0,i)):r[a]=i;return c.length=f,c},abe=tve.TypeError,ube=function(e,t){var n=e.exec;if(wve(n)){var r=Xve(n,e,t);return null!==r&&Kve(r),r}if("RegExp"===Mge(e))return Xve(zme,e,t);throw abe("RegExp#exec called on incompatible receiver")},sbe=hme.UNSUPPORTED_Y,lbe=Math.min,cbe=[].push,fbe=cve(/./.exec),dbe=cve(cbe),pbe=cve("".slice);!function(e,t,n,r){var o=Lve(e),i=!kve((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!kve((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[Wme]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=cve(/./[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=lme(dve(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Hve(r=e)||!(void 0!==(o=r[Kme])?o:"RegExp"==Mge(r)))return Xve(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=Xve(zme,p,i))&&!((s=p.lastIndex)>d&&(dbe(c,pbe(i,d,u.index)),u.length>1&&u.index<i.length&&Gme(cbe,c,ibe(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&fbe(p,"")||dbe(c,""):dbe(c,pbe(i,d)),c.length>a?ibe(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Xve(t,this,e,n)}:t,[function(t,n){var o=dve(this),i=null==t?void 0:oge(t,e);return i?Xve(i,t,o,n):Xve(r,lme(o),t,n)},function(e,o){var i=Kve(this),a=lme(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=Kve(e).constructor;return void 0===r||null==(n=Kve(r)[Xme])?t:function(e){if(hye(e))return e;throw Yme(tge(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(sbe?"g":"y"),f=new s(sbe?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===ube(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=sbe?0:h;var g,y=ube(f,sbe?pbe(a,h):a);if(null===y||(g=lbe(oye(f.lastIndex+(sbe?h:0)),a.length))===p)h=nbe(a,h,l);else{if(dbe(v,pbe(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(dbe(v,y[m]),v.length===d)return v;h=p=g}}return dbe(v,pbe(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=cve(e),s=t.exec;return s===zme||s===qme.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));_ge(String.prototype,e,s[0]),_ge(qme,o,s[1])}r&&pge(qme[o],"sham",!0)}("split",0,!!kve((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]})),sbe),Jye({global:!0},{globalThis:tve}),$p&&(Mp.fn.attr=$p);var hbe=Rge.PROPER,vbe=RegExp.prototype,gbe=vbe.toString,ybe=cve(cme),mbe=kve((function(){return"/a/b"!=gbe.call({source:"a",flags:"b"})})),bbe=hbe&&"toString"!=gbe.name;(mbe||bbe)&&_ge(RegExp.prototype,"toString",(function(){var e=Kve(this),t=lme(e.source),n=e.flags;return"/"+t+"/"+lme(void 0===n&&Zve(vbe,e)&&!("flags"in vbe)?ybe(e):n)}),{unsafe:!0});var Ebe=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}(),wbe={renderStyle:function(e,t){var n=e,r=t,o="";return ime.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 Ebe},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>"}}]},Sbe=/"/g,Cbe=cve("".replace);Jye({target:"String",proto:!0,forced:kve((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return"a","name",t=e,n=lme(dve(this)),r="<a",(r+=' name="'+Cbe(lme(t),Sbe,"&quot;")+'"')+">"+n+"</a>";var t,n,r}}),"function"==typeof SuppressedError&&SuppressedError;var Dbe=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=ome.languages[t];return n?ome.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+ame(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 xbe=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=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){Obe(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function Obe(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 xbe.registerMenu(e)})),n&&n.forEach((function(e){return xbe.registerRenderElem(e)})),r&&xbe.registerRenderStyle(r),o&&o.forEach((function(e){return xbe.registerElemToHtml(e)})),i&&xbe.registerStyleToHtml(i),a&&a.forEach((function(e){return xbe.registerPreParseHtml(e)})),u&&u.forEach((function(e){return xbe.registerParseElemHtml(e)})),s&&xbe.registerParseStyleHtml(s),l&&xbe.registerPlugin(l)}eK.forEach((function(e){return Obe(e)})),Obe(S0),Obe(h7),Obe(Zae),Obe(Yhe),Obe(wbe);var Tbe='<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 Nbe={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 kbe={hoverbarKeys:Abe(Abe({},Nbe),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};xbe.setEditorConfig(Abe(Abe({},kbe),{decorate:Dbe}));var Bbe={hoverbarKeys:Nbe};xbe.setSimpleEditorConfig(Abe(Abe({},Bbe),{decorate:Dbe}));var Ibe={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:Tbe,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"]};xbe.setToolbarConfig(Ibe);var Fbe={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:Tbe,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Pbe(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)?xbe.simpleEditorConfig:xbe.editorConfig,c=Abe(Abe({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return jI({selector:n,config:Abe(Abe(Abe({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:xbe.plugins})}function Rbe(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?xbe.simpleToolbarConfig:xbe.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:Abe(Abe({},u),o)});return s}xbe.setSimpleToolbarConfig(Fbe);var _be={};export{xbe 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,Pbe as createEditor,Rbe as createToolbar,XI as createUploader,_be as default,OI as genModalButtonElems,AI as genModalInputElems,xI as genModalTextareaElems,UF as i18nAddResources,$F as i18nChangeLanguage,VF as i18nGetResources,GF as t};
32
+ */e.exports&&(e.exports=t),void 0!==Zhe&&(Zhe.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 ame=["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 ume(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce((function(e,t){return e+ume(t)}),0)}var sme,lme=nve.String,cme=function(e){if("Symbol"===Vge(e))throw TypeError("Cannot convert a Symbol value to a string");return lme(e)},fme=function(){var e=Yve(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},dme=nve.RegExp,pme=Bve((function(){var e=dme("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),hme=pme||Bve((function(){return!dme("a","y").sticky})),vme={BROKEN_CARET:pme||Bve((function(){var e=dme("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:hme,UNSUPPORTED_Y:pme},gme=Hve?Object.defineProperties:function(e,t){Yve(e);for(var n,r=Tye(t),o=eme(t),i=o.length,a=0;i>a;)dge.f(e,n=o[a++],r[n]);return e},yme=Dve("document","documentElement"),mme=Cge("IE_PROTO"),bme=function(){},Eme=function(e){return"<script>"+e+"<\/script>"},wme=function(e){e.write(Eme("")),e.close();var t=e.parentWindow.Object;return e=null,t},Sme=function(){try{sme=new ActiveXObject("htmlfile")}catch(e){}var e,t;Sme="undefined"!=typeof document?document.domain&&sme?wme(sme):((t=Gve("iframe")).style.display="none",yme.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Eme("document.F=Object")),e.close(),e.F):wme(sme);for(var n=jye.length;n--;)delete Sme.prototype[jye[n]];return Sme()};Dge[mme]=!0;var Cme,Dme,Ame=Object.create||function(e,t){var n;return null!==e?(bme.prototype=Yve(e),n=new bme,bme.prototype=null,n[mme]=e):n=Sme(),void 0===t?n:gme(n,t)},xme=nve.RegExp,Ome=Bve((function(){var e=xme(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Tme=nve.RegExp,Nme=Bve((function(){var e=Tme("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),kme=Ige.get,Bme=ave("native-string-replace",String.prototype.replace),Ime=RegExp.prototype.exec,Fme=Ime,Pme=fve("".charAt),Rme=fve("".indexOf),_me=fve("".replace),Lme=fve("".slice),jme=(Dme=/b*/g,Zve(Ime,Cme=/a/,"a"),Zve(Ime,Dme,"a"),0!==Cme.lastIndex||0!==Dme.lastIndex),Mme=vme.BROKEN_CARET,zme=void 0!==/()??/.exec("")[1];(jme||zme||Mme||Ome||Nme)&&(Fme=function(e){var t,n,r,o,i,a,u,s=this,l=kme(s),c=cme(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=Zve(Fme,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=Mme&&s.sticky,h=Zve(fme,s),v=s.source,g=0,y=c;if(p&&(h=_me(h,"y",""),-1===Rme(h,"g")&&(h+="g"),y=Lme(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==Pme(c,s.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),zme&&(n=new RegExp("^"+v+"$(?!\\s)",h)),jme&&(r=s.lastIndex),o=Zve(Ime,p?n:s,y),p?o?(o.input=Lme(o.input,g),o[0]=Lme(o[0],g),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:jme&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),zme&&o&&o.length>1&&Zve(Bme,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=Ame(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Hme=Fme;Qye({target:"RegExp",proto:!0,forced:/./.exec!==Hme},{exec:Hme});var Ume=Function.prototype,$me=Ume.apply,Vme=Ume.bind,Gme=Ume.call,Wme="object"==typeof Reflect&&Reflect.apply||(Vme?Gme.bind($me):function(){return Gme.apply($me,arguments)}),qme=jve("species"),Kme=RegExp.prototype,Yme=jve("match"),Xme=nve.TypeError,Zme=jve("species"),Jme=fve("".charAt),Qme=fve("".charCodeAt),ebe=fve("".slice),tbe=function(e){return function(t,n){var r,o,i=cme(pve(t)),a=rye(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Qme(i,a))<55296||r>56319||a+1===u||(o=Qme(i,a+1))<56320||o>57343?e?Jme(i,a):r:e?ebe(i,a,a+2):o-56320+(r-55296<<10)+65536}},nbe=(tbe(!1),tbe(!0)),rbe=function(e,t,n){return t+(n?nbe(e,t).length:1)},obe=nve.Array,ibe=Math.max,abe=function(e,t,n){for(var r,o,i,a,u=aye(e),s=Fye(t,u),l=Fye(void 0===n?u:n,u),c=obe(ibe(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=e[s],void 0,(a=lge(o))in r?dge.f(r,a,pge(0,i)):r[a]=i;return c.length=f,c},ube=nve.TypeError,sbe=function(e,t){var n=e.exec;if(Sve(n)){var r=Zve(n,e,t);return null!==r&&Yve(r),r}if("RegExp"===zge(e))return Zve(Hme,e,t);throw ube("RegExp#exec called on incompatible receiver")},lbe=vme.UNSUPPORTED_Y,cbe=Math.min,fbe=[].push,dbe=fve(/./.exec),pbe=fve(fbe),hbe=fve("".slice);!function(e,t,n,r){var o=jve(e),i=!Bve((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Bve((function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[qme]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e}));if(!i||!a||n){var u=fve(/./[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=cme(pve(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!Uve(r=e)||!(void 0!==(o=r[Yme])?o:"RegExp"==zge(r)))return Zve(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=Zve(Hme,p,i))&&!((s=p.lastIndex)>d&&(pbe(c,hbe(i,d,u.index)),u.length>1&&u.index<i.length&&Wme(fbe,c,abe(u,1)),l=u[0].length,d=s,c.length>=a));)p.lastIndex===u.index&&p.lastIndex++;return d===i.length?!l&&dbe(p,"")||pbe(c,""):pbe(c,hbe(i,d)),c.length>a?abe(c,0,a):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:Zve(t,this,e,n)}:t,[function(t,n){var o=pve(this),i=null==t?void 0:ige(t,e);return i?Zve(i,t,o,n):Zve(r,cme(o),t,n)},function(e,o){var i=Yve(this),a=cme(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=function(e,t){var n,r=Yve(e).constructor;return void 0===r||null==(n=Yve(r)[Zme])?t:function(e){if(vye(e))return e;throw Xme(nge(e)+" is not a constructor")}(n)}(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(lbe?"g":"y"),f=new s(lbe?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===sbe(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=lbe?0:h;var g,y=sbe(f,lbe?hbe(a,h):a);if(null===y||(g=cbe(iye(f.lastIndex+(lbe?h:0)),a.length))===p)h=rbe(a,h,l);else{if(pbe(v,hbe(a,p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(pbe(v,y[m]),v.length===d)return v;h=p=g}}return pbe(v,hbe(a,p)),v}]}(o,""[e],(function(e,t,n,r,o){var a=fve(e),s=t.exec;return s===Hme||s===Kme.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));Lge(String.prototype,e,s[0]),Lge(Kme,o,s[1])}r&&hge(Kme[o],"sham",!0)}("split",0,!!Bve((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]})),lbe),Qye({global:!0},{globalThis:nve}),$p&&(Mp.fn.attr=$p);var vbe=_ge.PROPER,gbe=RegExp.prototype,ybe=gbe.toString,mbe=fve(fme),bbe=Bve((function(){return"/a/b"!=ybe.call({source:"a",flags:"b"})})),Ebe=vbe&&"toString"!=ybe.name;(bbe||Ebe)&&Lge(RegExp.prototype,"toString",(function(){var e=Yve(this),t=cme(e.source),n=e.flags;return"/"+t+"/"+cme(void 0===n&&Jve(gbe,e)&&!("flags"in gbe)?mbe(e):n)}),{unsafe:!0});var wbe=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}(),Sbe={renderStyle:function(e,t){var n=e,r=t,o="";return ame.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 wbe},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>"}}]},Cbe=/"/g,Dbe=fve("".replace);Qye({target:"String",proto:!0,forced:Bve((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return"a","name",t=e,n=cme(pve(this)),r="<a",(r+=' name="'+Dbe(cme(t),Cbe,"&quot;")+'"')+">"+n+"</a>";var t,n,r}}),"function"==typeof SuppressedError&&SuppressedError;var Abe=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=ime.languages[t];return n?ime.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+ume(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},xbe=function(){return xbe=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},xbe.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var Obe=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=xbe(xbe({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=xbe(xbe({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=xbe(xbe({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=xbe(xbe({},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){Tbe(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function Tbe(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 Obe.registerMenu(e)})),n&&n.forEach((function(e){return Obe.registerRenderElem(e)})),r&&Obe.registerRenderStyle(r),o&&o.forEach((function(e){return Obe.registerElemToHtml(e)})),i&&Obe.registerStyleToHtml(i),a&&a.forEach((function(e){return Obe.registerPreParseHtml(e)})),u&&u.forEach((function(e){return Obe.registerParseElemHtml(e)})),s&&Obe.registerParseStyleHtml(s),l&&Obe.registerPlugin(l)}eK.forEach((function(e){return Tbe(e)})),Tbe(S0),Tbe(v7),Tbe(Jae),Tbe(Xhe),Tbe(Sbe);var Nbe='<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 kbe={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 Bbe={hoverbarKeys:xbe(xbe({},kbe),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Obe.setEditorConfig(xbe(xbe({},Bbe),{decorate:Abe}));var Ibe={hoverbarKeys:kbe};Obe.setSimpleEditorConfig(xbe(xbe({},Ibe),{decorate:Abe}));var Fbe={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:Nbe,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"]};Obe.setToolbarConfig(Fbe);var Pbe={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:Nbe,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Rbe(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)?Obe.simpleEditorConfig:Obe.editorConfig,c=xbe(xbe({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return jI({selector:n,config:xbe(xbe(xbe({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:Obe.plugins})}function _be(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?Obe.simpleToolbarConfig:Obe.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:xbe(xbe({},u),o)});return s}Obe.setSimpleToolbarConfig(Pbe);var Lbe={};export{Obe 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,Rbe as createEditor,_be as createToolbar,XI as createUploader,Lbe 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