@wangeditor-kai/editor 5.6.38 → 5.6.39
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.js
CHANGED
|
@@ -22,7 +22,7 @@ function t(t){return"[object Object]"===Object.prototype.toString.call(t)}return
|
|
|
22
22
|
*
|
|
23
23
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
24
24
|
* Released under the MIT License.
|
|
25
|
-
*/function qS(t){return"[object Object]"===Object.prototype.toString.call(t)}!function(){if(MS)return zS;MS=1;var t=vm(),e=HS(),n=$S(),r=function(){if(LS)return jS;LS=1;var t=GS().forEach,e=WS()("forEach");return jS=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},jS}(),o=IE(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var KS=t=>function(t){var e,n;return!1!==qS(t)&&(void 0===(e=t.constructor)||!1!==qS(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}(t)&&Array.isArray(t.redos)&&Array.isArray(t.undos)&&(0===t.redos.length||yp.Operation.isOperationList(t.redos[0].operations))&&(0===t.undos.length||yp.Operation.isOperationList(t.undos[0].operations)),YS=new WeakMap,XS=new WeakMap,JS={isHistoryEditor:t=>KS(t.history)&&yp.Editor.isEditor(t),isMerging:t=>XS.get(t),isSaving:t=>YS.get(t),redo(t){t.redo()},undo(t){t.undo()},withMerging(t,e){var n=JS.isMerging(t);XS.set(t,!0),e(),XS.set(t,n)},withoutMerging(t,e){var n=JS.isMerging(t);XS.set(t,!1),e(),XS.set(t,n)},withoutSaving(t,e){var n=JS.isSaving(t);YS.set(t,!1),e(),YS.set(t,n)}},ZS=t=>{var e=t,{apply:n}=e;return e.history={undos:[],redos:[]},e.redo=()=>{var{history:t}=e,{redos:n}=t;if(n.length>0){var r=n[n.length-1];r.selectionBefore&&yp.Transforms.setSelection(e,r.selectionBefore),JS.withoutSaving(e,()=>{yp.Editor.withoutNormalizing(e,()=>{for(var t of r.operations)e.apply(t)})}),t.redos.pop(),e.writeHistory("undos",r)}},e.undo=()=>{var{history:t}=e,{undos:n}=t;if(n.length>0){var r=n[n.length-1];JS.withoutSaving(e,()=>{yp.Editor.withoutNormalizing(e,()=>{var t=r.operations.map(yp.Operation.inverse).reverse();for(var n of t)e.apply(n);r.selectionBefore&&yp.Transforms.setSelection(e,r.selectionBefore)})}),e.writeHistory("redos",r),t.undos.pop()}},e.apply=t=>{var{operations:r,history:o}=e,{undos:i}=o,u=i[i.length-1],a=u&&u.operations[u.operations.length-1],s=JS.isSaving(e),c=JS.isMerging(e);if(null==s&&(s=tC(t)),s){if(null==c&&(c=null!=u&&(0!==r.length||QS(t,a))),u&&c)u.operations.push(t);else{var l={operations:[t],selectionBefore:e.selection};e.writeHistory("undos",l)}for(;i.length>100;)i.shift();o.redos=[]}n(t)},e.writeHistory=(t,n)=>{e.history[t].push(n)},e},QS=(t,e)=>!(!e||"insert_text"!==t.type||"insert_text"!==e.type||t.offset!==e.offset+e.text.length||!yp.Path.equals(t.path,e.path))||!(!e||"remove_text"!==t.type||"remove_text"!==e.type||t.offset+t.text.length!==e.offset||!yp.Path.equals(t.path,e.path)),tC=(t,e)=>"set_selection"!==t.type,eC=function(t,e){return eC=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},eC(t,e)};function nC(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}eC(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var rC=function(){return rC=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},rC.apply(this,arguments)};function oC(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function iC(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function uC(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var aC={},sC="destroyed",cC="change",lC="scroll",fC={};var dC,pC,hC,vC,gC,yC,mC,bC,EC,wC,SC,CC,DC,OC,AC,xC,TC,NC,PC,kC,IC,BC,FC,RC,_C,jC,LC,MC,zC,HC,$C,UC,VC,GC={};function WC(){if(hC)return pC;hC=1;var t=xb();return pC=t("document","documentElement")}function qC(){if(gC)return vC;gC=1;var t,e=PE(),n=function(){if(dC)return GC;dC=1;var t=Am(),e=NE(),n=kE(),r=PE(),o=Db(),i=ES();return GC.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},GC}(),r=xw(),o=QE(),i=WC(),u=mE(),a=ZE(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,vC=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function KC(){if(mC)return yC;mC=1;var t=vE(),e=qC(),n=kE().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),yC=function(t){o[r][t]=!0}}function YC(){return EC?bC:(EC=1,bC={})}function XC(){if(DC)return CC;DC=1;var t=pE(),e=Ob(),n=dE(),r=ZE(),o=function(){if(SC)return wC;SC=1;var t=Om();return wC=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return CC=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function JC(){if(AC)return OC;AC=1;var t,e,n,r=Om(),o=Ob(),i=Ab(),u=qC(),a=XC(),s=nw(),c=vE(),l=sE(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),OC={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function ZC(){if(TC)return xC;TC=1;var t=kE().f,e=pE(),n=vE()("toStringTag");return xC=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function QC(){if(_C)return RC;_C=1;var t=function(){if(FC)return BC;FC=1;var t=Ab();return BC=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return RC=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function tD(){if(LC)return jC;LC=1;var t=function(){if(IC)return kC;IC=1;var t=bb(),e=Rb();return kC=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=Ab(),n=Cb(),r=QC();return jC=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function eD(){if(zC)return MC;zC=1;var t=aS(),e=Tm(),n=sE(),r=YE(),o=Ob(),i=function(){if(PC)return NC;PC=1;var t=JC().IteratorPrototype,e=qC(),n=mb(),r=ZC(),o=YC(),i=function(){return this};return NC=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=XC(),a=tD(),s=ZC(),c=IE(),l=nw(),f=vE(),d=YC(),p=JC(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return MC=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function nD(){return $C?HC:($C=1,HC=function(t,e){return{value:t,done:e}})}function rD(){if(VC)return UC;VC=1;var t=Db(),e=KC(),n=YC(),r=tw(),o=kE().f,i=eD(),u=nD(),a=sE(),s=Am(),c="Array Iterator",l=r.set,f=r.getterFor(c);UC=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return UC}rD();var oD,iD,uD,aD,sD,cD={};function lD(){if(iD)return oD;iD=1;var t=dS(),e=String;return oD=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function fD(){if(aD)return uD;aD=1;var t=bb(),e=ww(),n=lD(),r=Cb(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return uD={codeAt:a(!1),charAt:a(!0)}}!function(){if(sD)return cD;sD=1;var t=fD().charAt,e=lD(),n=tw(),r=eD(),o=nD(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var dD,pD,hD,vD,gD={};function yD(){if(pD)return dD;pD=1;var t=Om();return dD=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function mD(){if(vD)return hD;vD=1;var t=nw();return hD=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var bD,ED,wD,SD,CD,DD,OD,AD,xD,TD,ND,PD,kD,ID,BD,FD,RD,_D,jD,LD,MD,zD,HD,$D,UD,VD,GD,WD,qD,KD,YD={exports:{}},XD={};function JD(){if(ED)return bD;ED=1;var t=bb();return bD=t([].slice)}function ZD(){if(AD)return YD.exports;AD=1;var t=aS(),e=bb(),n=QE(),r=Ab(),o=pE(),i=kE().f,u=Tw(),a=function(){if(wD)return XD;wD=1;var t=Eb(),e=Db(),n=Tw().f,r=JD(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return XD.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},XD}(),s=function(){if(OD)return DD;OD=1;var t=Om(),e=Ab(),n=Eb(),r=function(){if(CD)return SD;CD=1;var t=Om();return SD=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return DD=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=hE(),l=yD(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=YD.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,YD.exports}function QD(){if(TD)return xD;TD=1;var t=vE(),e=YC(),n=t("iterator"),r=Array.prototype;return xD=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}function tO(){if(PD)return ND;PD=1;var t=dS(),e=_b(),n=Sb(),r=YC(),o=vE()("iterator");return ND=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function eO(){if(ID)return kD;ID=1;var t=Tm(),e=Rb(),n=PE(),r=Fb(),o=tO(),i=TypeError;return kD=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},kD}function nO(){if(FD)return BD;FD=1;var t=Tm(),e=PE(),n=_b();return BD=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function rO(){if(_D)return RD;_D=1;var t=VS(),e=Tm(),n=PE(),r=Fb(),o=QD(),i=Dw(),u=Tb(),a=eO(),s=tO(),c=nO(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return RD=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function oO(){if(LD)return jD;LD=1;var t=Tb(),e=TypeError;return jD=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function iO(){if(zD)return MD;zD=1;var t=vE()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return MD=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function uO(){if($D)return HD;$D=1;var t=Ob(),e=Ab(),n=tD();return HD=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}function aO(){if(VD)return UD;VD=1;var t=aS(),e=vm(),n=bb(),r=uS(),o=nw(),i=ZD(),u=rO(),a=oO(),s=Ob(),c=Sb(),l=Ab(),f=Om(),d=iO(),p=ZC(),h=uO();return UD=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C},UD}KD||(KD=1,function(){if(qD)return gD;qD=1;var t,e=yD(),n=vm(),r=bb(),o=mD(),i=ZD(),u=aO(),a=function(){if(WD)return GD;WD=1;var t=bb(),e=mD(),n=ZD().getWeakData,r=oO(),o=PE(),i=Sb(),u=Ab(),a=rO(),s=GS(),c=pE(),l=tw(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},GD={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=Ab(),c=tw().enforce,l=Om(),f=JE(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var sO,cO={};!function(){if(sO)return cO;sO=1;var t=vm(),e=HS(),n=$S(),r=rD(),o=IE(),i=ZC(),u=vE()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var lO,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,OO=new WeakMap,AO=new WeakMap,xO=new WeakMap,TO=new WeakMap,NO=new WeakMap,PO=new WeakMap,kO=new WeakMap,IO=new WeakMap,BO=new WeakMap,FO=new WeakMap,RO=new WeakMap,_O=new WeakMap,jO=new WeakMap,LO=function(t){var e=t;return e.getAllMenuKeys=function(){var t=[];for(var e in fC)t.push(e);return t},e.getConfig=function(){var t=EO.get(e);if(null==t)throw new Error("Can not get editor config");return t},e.getMenuConfig=function(t){var n=e.getConfig().MENU_CONF;return(void 0===n?{}:n)[t]||{}},e.alert=function(t,n){void 0===n&&(n="info");var r=e.getConfig().customAlert;r&&r(t,n)},e},MO={};!function(){if(lO)return MO;lO=1;var t=aS(),e=GS().filter;t({target:"Array",proto:!0,forced:!vS()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var zO,HO,$O,UO,VO,GO={};!function(){if(VO)return GO;VO=1;var t=aS(),e=function(){if(UO)return $O;UO=1;var t=VS(),e=Tm(),n=dE(),r=function(){if(HO)return zO;HO=1;var t=PE(),e=nO();return zO=function(n,r,o,i){try{return i?r(t(o)[0],o[1]):r(o)}catch(t){e(n,"throw",t)}}}(),o=QD(),i=pS(),u=Dw(),a=lS(),s=eO(),c=tO(),l=Array;return $O=function(f){var d=n(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?r(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},$O}();t({target:"Array",stat:!0,forced:!iO()(function(t){Array.from(t)})},{from:e})}();var WO,qO={};!function(){if(WO)return qO;WO=1;var t=aS(),e=Ow().includes,n=Om(),r=KC();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var KO,YO={};!function(){if(KO)return YO;KO=1;var t=aS(),e=bb(),n=wb(),r=Db(),o=WS(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var XO,JO={};!function(){if(XO)return JO;XO=1;var t=aS(),e=GS().map;t({target:"Array",proto:!0,forced:!vS()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var ZO,QO,tA,eA,nA,rA,oA,iA={};function uA(){if(QO)return ZO;QO=1;var t=Ab(),e=Eb(),n=vE()("match");return ZO=function(r){var o;return t(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===e(r))}}function aA(){if(eA)return tA;eA=1;var t=uA(),e=TypeError;return tA=function(n){if(t(n))throw new e("The method doesn't accept regular expressions");return n}}function sA(){if(rA)return nA;rA=1;var t=vE()("match");return nA=function(e){var n=/./;try{"/./"[e](n)}catch(r){try{return n[t]=!1,"/./"[e](n)}catch(t){}}return!1}}!function(){if(oA)return iA;oA=1;var t=aS(),e=bb(),n=aA(),r=Cb(),o=lD(),i=sA(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(r(this)),o(n(t)),arguments.length>1?arguments[1]:void 0)}})}();var cA,lA,fA,dA,pA,hA,vA,gA={};function yA(){return lA?cA:(lA=1,cA="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(vA)return gA;vA=1;var t=aS(),e=function(){if(dA)return fA;dA=1;var t=bb(),e=Cb(),n=lD(),r=yA(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return fA={start:a(1),end:a(2),trim:a(3)}}().trim,n=function(){if(hA)return pA;hA=1;var t=YE().PROPER,e=Om(),n=yA();return pA=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var mA,bA,EA,wA,SA,CA,DA,OA,AA,xA,TA,NA,PA,kA={};function IA(){if(bA)return mA;bA=1;var t=bb(),e=Cb(),n=lD(),r=/"/g,o=t("".replace);return mA=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}function BA(){if(wA)return EA;wA=1;var t=Om();return EA=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}function FA(){if(DA)return CA;DA=1;var t=ew(),e=kE();return CA=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}function RA(){if(AA)return OA;AA=1;var t=xb(),e=FA(),n=vE(),r=Am(),o=n("species");return OA=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}!function(){if(SA)return kA;SA=1;var t=aS(),e=IA();t({target:"String",proto:!0,forced:BA()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),PA||(PA=1,NA||(NA=1,aO()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},function(){if(TA)return xA;TA=1;var t=qC(),e=FA(),n=mD(),r=VS(),o=oO(),i=Sb(),u=rO(),a=eD(),s=nD(),c=RA(),l=Am(),f=ZD().fastKey,d=tw(),p=d.set,h=d.getterFor;return xA={getConstructor:function(a,s,c,d){var v=a(function(e,n){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(n)||u(n,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,n){var r,o,i=y(t),u=b(t,e);return u?u.value=n:(i.last=u={index:o=f(e,!0),key:e,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var n,r=y(t),o=f(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===e)return n};return n(g,{clear:function(){for(var e=y(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,n=y(e),r=b(e,t);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),l?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=y(this),o=r(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),n(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,n){var r=e+" Iterator",o=h(e),i=h(r);a(t,e,function(t,e){p(this,{type:r,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?s("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=null,s(void 0,!0))},n?"entries":"values",!n,!0),c(e)}},xA}())));var _A,jA,LA,MA,zA,HA,$A,UA,VA,GA,WA,qA=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]),KA={};function YA(){if(jA)return _A;jA=1;var t=PE();return _A=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function XA(){if(MA)return LA;MA=1;var t=Om(),e=vm().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return LA={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}function JA(){if(HA)return zA;HA=1;var t=Om(),e=vm().RegExp;return zA=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}function ZA(){if(UA)return $A;UA=1;var t=Om(),e=vm().RegExp;return $A=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}function QA(){if(GA)return VA;GA=1;var t,e,n=Tm(),r=bb(),o=lD(),i=YA(),u=XA(),a=fE(),s=qC(),c=tw().get,l=JA(),f=ZA(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),VA=h}function tx(){if(WA)return KA;WA=1;var t=aS(),e=QA();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),KA}tx();var ex,nx,rx,ox,ix,ux,ax,sx,cx,lx,fx,dx={};function px(){if(nx)return ex;nx=1,tx();var t=Tm(),e=nw(),n=QA(),r=Om(),o=vE(),i=IE(),u=o("species"),a=RegExp.prototype;return ex=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)},ex}function hx(){if(ux)return ix;ux=1;var t=PE(),e=function(){if(ox)return rx;ox=1;var t=pS(),e=Fb(),n=TypeError;return rx=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=Sb(),r=vE()("species");return ix=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function vx(){if(sx)return ax;sx=1;var t=fD().charAt;return ax=function(e,n,r){return n+(r?t(e,n).length:1)}}function gx(){if(lx)return cx;lx=1;var t=Tm(),e=PE(),n=Ob(),r=Eb(),o=QA(),i=TypeError;return cx=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(fx)return dx;fx=1;var t=Tm(),e=bb(),n=px(),r=PE(),o=Ab(),i=Cb(),u=hx(),a=vx(),s=Cw(),c=lD(),l=_b(),f=gx(),d=XA(),p=Om(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;n("split",function(e,n,d){var p="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t(n,this,e,r)}:n;return[function(n,r){var u=i(this),a=o(n)?l(n,e):void 0;return a?t(a,n,u,r):t(p,c(u),n,r)},function(t,e){var o=r(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==n);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var yx,mx,bx,Ex,wx={};!function(){if(bx)return wx;bx=1;var t=aS(),e=function(){if(mx)return yx;mx=1;var t=sS(),e=Dw(),n=cS(),r=VS(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&r(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(n(v+1),i[v]=p),v++),g++;return v};return yx=o}(),n=Rb(),r=dE(),o=Dw(),i=hS();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=r(this),s=o(a);return n(t),(u=i(a,0)).length=e(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),Ex||(Ex=1,KC()("flatMap"));var Sx,Cx={};!function(){if(Sx)return Cx;Sx=1;var t=aS(),e=IA();t({target:"String",proto:!0,forced:BA()("bold")},{bold:function(){return e(this,"b","","")}})}();var Dx,Ox={};!function(){if(Dx)return Ox;Dx=1;var t=aS(),e=IA();t({target:"String",proto:!0,forced:BA()("italics")},{italics:function(){return e(this,"i","","")}})}();var Ax,xx={};!function(){if(Ax)return xx;Ax=1;var t=aS(),e=IA();t({target:"String",proto:!0,forced:BA()("sub")},{sub:function(){return e(this,"sub","","")}})}();var Tx,Nx={};!function(){if(Tx)return Nx;Tx=1;var t=aS(),e=IA();t({target:"String",proto:!0,forced:BA()("sup")},{sup:function(){return e(this,"sup","","")}})}();var Px,kx={};!function(){if(Px)return kx;Px=1;var t=aS(),e=GS().find,n=KC(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var Ix,Bx,Fx={};Bx||(Bx=1,function(){if(Ix)return Fx;Ix=1;var t=aS(),e=vm();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}());const Rx=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var _x,jx,Lx,Mx,zx,Hx,$x,Ux,Vx,Gx,Wx,qx,Kx,Yx,Xx,Jx,Zx,Qx,tT,eT,nT,rT,oT,iT,uT,aT,sT,cT,lT,fT,dT,pT,hT={};function vT(){if(jx)return _x;jx=1;var t=vm(),e=Nb(),n=Eb(),r=function(t){return e.slice(0,t.length)===t};return _x=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function gT(){if(Mx)return Lx;Mx=1;var t=vT();return Lx="NODE"===t}function yT(){if(Ux)return $x;Ux=1;var t=xm(),e=Function.prototype,n=e.apply,r=e.call;return $x="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),$x}function mT(){if(qx)return Wx;qx=1;var t=Nb();return Wx=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function bT(){if(Yx)return Kx;Yx=1;var t,e,n,r,o=vm(),i=yT(),u=VS(),a=Ob(),s=pE(),c=Om(),l=WC(),f=JD(),d=mE(),p=function(){if(Gx)return Vx;Gx=1;var t=TypeError;return Vx=function(e,n){if(e<n)throw new t("Not enough arguments");return e}}(),h=mT(),v=gT(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var n=a(t)?t:E(t),r=f(arguments,1);return D[++C]=function(){i(n,void 0,r)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(r=(n=new w).port2,n.port1.onmessage=T,e=u(r.postMessage,r)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),Kx={set:g,clear:y}}function ET(){if(Qx)return Zx;Qx=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},Zx=t}function wT(){if(iT)return oT;iT=1;var t,e,n,r,o,i=vm(),u=function(){if(Jx)return Xx;Jx=1;var t=vm(),e=Am(),n=Object.getOwnPropertyDescriptor;return Xx=function(r){if(!e)return t[r];var o=n(t,r);return o&&o.value}}(),a=VS(),s=bT().set,c=ET(),l=mT(),f=function(){if(eT)return tT;eT=1;var t=Nb();return tT=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(rT)return nT;rT=1;var t=Nb();return nT=/web0s(?!.*chrome)/i.test(t)}(),p=gT(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,n;for(p&&(e=g.domain)&&e.exit();n=b.get();)try{n()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((r=y.resolve(void 0)).constructor=y,o=a(r.then,r),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,n=v.createTextNode(""),new h(E).observe(n,{characterData:!0}),t=function(){n.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return oT=m}function ST(){return cT?sT:(cT=1,sT=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function CT(){if(fT)return lT;fT=1;var t=vm();return lT=t.Promise}function DT(){if(pT)return dT;pT=1;var t=vm(),e=CT(),n=Ob(),r=uS(),o=XE(),i=vE(),u=vT(),a=sE(),s=Pb(),c=e&&e.prototype,l=i("species"),f=!1,d=n(t.PromiseRejectionEvent),p=r("Promise",function(){var t=o(e),n=t!==String(e);if(!n&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var r=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((r.constructor={})[l]=i,!(f=r.then(function(){})instanceof i))return!0}return!(n||"BROWSER"!==u&&"DENO"!==u||d)});return dT={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var OT,AT,xT={};function TT(){if(OT)return xT;OT=1;var t=Rb(),e=TypeError,n=function(n){var r,o;this.promise=new n(function(t,n){if(void 0!==r||void 0!==o)throw new e("Bad Promise constructor");r=t,o=n}),this.resolve=t(r),this.reject=t(o)};return xT.f=function(t){return new n(t)},xT}var NT,PT,kT,IT={};function BT(){if(PT)return NT;PT=1;var t=CT(),e=iO(),n=DT().CONSTRUCTOR;return NT=n||!e(function(e){t.all(e).then(void 0,function(){})})}var FT,RT,_T,jT,LT,MT,zT,HT={},$T={},UT={},VT={};zT||(zT=1,function(){if(AT)return hT;AT=1;var t,e,n,r,o=aS(),i=sE(),u=gT(),a=vm(),s=function(){if(Hx)return zx;Hx=1;var t=vm();return zx=t}(),c=Tm(),l=nw(),f=tD(),d=ZC(),p=RA(),h=Rb(),v=Ob(),g=Ab(),y=oO(),m=hx(),b=bT().set,E=wT(),w=(aT||(aT=1,uT=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),uT),S=ST(),C=ET(),D=tw(),O=CT(),A=DT(),x=TT(),T="Promise",N=A.CONSTRUCTOR,P=A.REJECTION_EVENT,k=A.SUBCLASSING,I=D.getterFor(T),B=D.set,F=O&&O.prototype,R=O,_=F,j=a.TypeError,L=a.document,M=a.process,z=x.f,H=z,$=!!(L&&L.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===t.promise?l(new j("Promise-chain cycle")):(r=V(n))?c(r,n,s,l):s(n)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var n,r=t.reactions;n=r.get();)G(n,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,n){var r,o;$?((r=L.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!P&&(o=a["on"+t])?o(r):t===U&&w("Unhandled promise rejection",n)},K=function(t){c(b,a,function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",r,n):q(U,n,r)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,n){return function(r){t(e,r,n)}},Z=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new j("Promise can't be resolved itself");var r=V(e);r?E(function(){var n={done:!1};try{c(r,e,J(Q,n,t),J(Z,n,t))}catch(e){Z(n,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(_=(R=function(e){y(this,_),h(e),c(t,this);var n=I(this);try{e(J(Q,n),J(Z,n))}catch(t){Z(n,t)}}).prototype,(t=function(t){B(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(_,"then",function(t,e){var n=I(this),r=z(m(this,R));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=u?M.domain:void 0,0===n.state?n.reactions.add(r):E(function(){G(r,n)}),r.promise}),e=function(){var e=new t,n=I(e);this.promise=e,this.resolve=J(Q,n),this.reject=J(Z,n)},x.f=z=function(t){return t===R||t===n?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){r=F.then,k||l(F,"then",function(t,e){var n=this;return new R(function(t,e){c(r,n,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,_)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),n=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(kT)return IT;kT=1;var t=aS(),e=Tm(),n=Rb(),r=TT(),o=ST(),i=rO();t({target:"Promise",stat:!0,forced:BT()},{all:function(t){var u=this,a=r.f(u),s=a.resolve,c=a.reject,l=o(function(){var r=n(u.resolve),o=[],a=0,l=1;i(t,function(t){var n=a++,i=!1;l++,e(r,u,t).then(function(t){i||(i=!0,o[n]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(FT)return HT;FT=1;var t=aS(),e=sE(),n=DT().CONSTRUCTOR,r=CT(),o=xb(),i=Ob(),u=nw(),a=r&&r.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(r)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(RT)return $T;RT=1;var t=aS(),e=Tm(),n=Rb(),r=TT(),o=ST(),i=rO();t({target:"Promise",stat:!0,forced:BT()},{race:function(t){var u=this,a=r.f(u),s=a.reject,c=o(function(){var r=n(u.resolve);i(t,function(t){e(r,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(_T)return UT;_T=1;var t=aS(),e=TT();t({target:"Promise",stat:!0,forced:DT().CONSTRUCTOR},{reject:function(t){var n=e.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(MT)return VT;MT=1;var t=aS(),e=xb(),n=sE(),r=CT(),o=DT().CONSTRUCTOR,i=function(){if(LT)return jT;LT=1;var t=PE(),e=Ab(),n=TT();return jT=function(r,o){if(t(r),e(o)&&o.constructor===r)return o;var i=n.f(r);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(a&&this===u?r:this,t)}})}());var GT,WT,qT,KT,YT,XT={};function JT(){if(KT)return qT;KT=1;var t=Tm(),e=pE(),n=Tb(),r=function(){if(WT)return GT;WT=1;var t=vm(),e=Om(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return GT={correct:r}}(),o=YA(),i=RegExp.prototype;return qT=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(YT)return XT;YT=1;var t=YE().PROPER,e=nw(),n=PE(),r=lD(),o=Om(),i=JT(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var ZT,QT,tN,eN={};function nN(t){Promise.resolve().then(t)}!function(){if(tN)return eN;tN=1;var t=yT(),e=Tm(),n=bb(),r=px(),o=Om(),i=PE(),u=Ob(),a=Ab(),s=ww(),c=Cw(),l=lD(),f=Cb(),d=vx(),p=_b(),h=function(){if(QT)return ZT;QT=1;var t=bb(),e=dE(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return ZT=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})},ZT}(),v=JT(),g=gx(),y=vE()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var rN,oN=function(t){return Object.prototype.toString.call(t)};Jp&&(Rp.fn.css=Jp),rh&&(Rp.fn.append=rh),_p&&(Rp.fn.addClass=_p),jp&&(Rp.fn.removeClass=jp),Lp&&(Rp.fn.hasClass=Lp),Vp&&(Rp.fn.on=Vp),hh&&(Rp.fn.focus=hh),Mp&&(Rp.fn.attr=Mp),zp&&(Rp.fn.removeAttr=zp),Yp&&(Rp.fn.hide=Yp),Xp&&(Rp.fn.show=Xp),Kp&&(Rp.fn.offset=Kp),Wp&&(Rp.fn.width=Wp),qp&&(Rp.fn.height=qp),ih&&(Rp.fn.parent=ih),uh&&(Rp.fn.parents=uh),nh&&(Rp.fn.is=nh),$p&&(Rp.fn.dataset=$p),Up&&(Rp.fn.val=Up),eh&&(Rp.fn.text=eh),th&&(Rp.fn.html=th),sh&&(Rp.fn.children=sh),ch&&(Rp.fn.remove=ch),ah&&(Rp.fn.find=ah),Zp&&(Rp.fn.each=Zp),lh&&(Rp.fn.empty=lh),function(t){t[t.ELEMENT_NODE=1]="ELEMENT_NODE",t[t.TEXT_NODE=3]="TEXT_NODE",t[t.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",t[t.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",t[t.COMMENT_NODE=8]="COMMENT_NODE",t[t.DOCUMENT_NODE=9]="DOCUMENT_NODE",t[t.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",t[t.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"}(rN||(rN={}));var iN=/\[object HTML([A-Z][a-z]*)*Element\]/,uN=function(t){return iN.test(oN(t))},aN=function(t){return null!=t&&"number"==typeof t.nodeType},sN=function(t){return aN(t)&&t.nodeType===rN.COMMENT_NODE},cN=function(t){return aN(t)&&t.nodeType===rN.ELEMENT_NODE},lN=function(t){return"[object Selection]"===oN(t)},fN=function(t){return aN(t)&&t.nodeType===rN.TEXT_NODE},dN=function(t){var e,n,r;return null!==(e=window&&window.document.getElementById(t))&&void 0!==e?e:window&&(null===(r=null===(n=window.document.activeElement)||void 0===n?void 0:n.shadowRoot)||void 0===r?void 0:r.getElementById(t))||null},pN=function(t,e,n){for(var r=t.childNodes,o=r[e],i=e,u=!1,a=!1;(sN(o)||cN(o)&&0===o.childNodes.length||cN(o)&&"false"===o.getAttribute("contenteditable"))&&(!u||!a);)i>=r.length?(u=!0,i=e-1,n="backward"):i<0?(a=!0,i=e+1,n="forward"):(o=r[i],e=i,i+="forward"===n?1:-1);return[o,e]},hN=function(t,e,n){return iC(pN(t,e,n),1)[0]},vN=function(t){var e,n,r="";if(fN(t)&&t.nodeValue)return t.nodeValue;if(cN(t)){try{for(var o=oC(Array.from(t.childNodes)),i=o.next();!i.done;i=o.next()){var u=i.value;r+=vN(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}var a=getComputedStyle(t).getPropertyValue("display");"block"!==a&&"list"!==a&&"table-row"!==a&&"BR"!==t.tagName||(r+="\n")}return r};function gN(t,e){if(!uN(t)||"true"!==t.dataset.slateVoid)for(var n=t.childNodes,r=n.length;r-=1;){var o=n[r],i=o.nodeType;fN(o)?e(o,t):[rN.ELEMENT_NODE,rN.DOCUMENT_NODE,rN.DOCUMENT_FRAGMENT_NODE].includes(i)&&gN(o,e)}}function yN(t){if(0===t.length)return"";var e=t[0];return e.nodeType!==rN.ELEMENT_NODE?"":e.tagName.toLowerCase()}var mN,bN,EN,wN={};!function(){if(EN)return wN;EN=1;var t=Am(),e=vm(),n=bb(),r=uS(),o=uO(),i=IE(),u=qC(),a=Tw().f,s=Tb(),c=uA(),l=lD(),f=JT(),d=XA(),p=function(){if(bN)return mN;bN=1;var t=kE().f;return mN=function(e,n,r){r in e||t(e,r,{configurable:!0,get:function(){return n[r]},set:function(t){n[r]=t}})}}(),h=nw(),v=Om(),g=pE(),y=tw().enforce,m=RA(),b=vE(),E=JA(),w=ZA(),S=b("match"),C=e.RegExp,D=C.prototype,O=e.SyntaxError,A=n(D.exec),x=n("".charAt),T=n("".replace),N=n("".indexOf),P=n("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,B=/a/g,F=new C(I)!==I,R=d.MISSED_STICKY,_=d.UNSUPPORTED_Y;if(r("RegExp",t&&(!F||R||E||w||v(function(){return B[S]=!1,C(I)!==I||C(B)===B||"/a/i"!==String(C(I,"i"))})))){for(var j=function(t,e){var n,r,a,d,p,h,v=s(D,this),m=c(t),b=void 0===e,S=[],B=t;if(!v&&m&&b&&t.constructor===j)return t;if((m||s(D,t))&&(t=t.source,b&&(e=f(B))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),B=t,E&&"dotAll"in I&&(r=!!e&&N(e,"s")>-1)&&(e=T(e,/s/g,"")),n=e,R&&"sticky"in I&&(a=!!e&&N(e,"y")>-1)&&_&&(e=T(e,/y/g,"")),w&&(d=function(t){for(var e,n=t.length,r=0,o="",i=[],a=u(null),s=!1,c=!1,l=0,f="";r<=n;r++){if("\\"===(e=x(t,r)))e+=x(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:if(o+=e,"?:"===P(t,r+1,r+3))continue;A(k,P(t,r+1))&&(r+=2,c=!0),l++;continue;case">"===e&&c:if(""===f||g(a,f))throw new O("Invalid capture group name");a[f]=!0,i[i.length]=[f,l],c=!1,f="";continue}c?f+=e:o+=e}return[o,i]}(t),t=d[0],S=d[1]),p=o(C(t,e),v?this:D,j),(r||a||S.length)&&(h=y(p),r&&(h.dotAll=!0,h.raw=j(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=x(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+x(t,++r);return o}(t),n)),a&&(h.sticky=!0),S.length&&(h.groups=S)),t!==B)try{i(p,"source",""===B?"(?:)":B)}catch(t){}return p},L=a(C),M=0;L.length>M;)p(j,C,L[M++]);D.constructor=j,j.prototype=D,h(e,"RegExp",j,{constructor:!0})}m("RegExp")}();var SN=new RegExp(String.fromCharCode(160),"g");function CN(t){return t.replace(SN," ")}var DN=["span","b","strong","i","em","s","strike","u","font","sub","sup"],ON=[];var AN=[];var xN={};function TN(t,e){var n=t.length;if(n){var r=t[n-1];if(yp.Text.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text+=e,!0}}return!1}function NN(t,e,n){return{type:"paragraph",children:[{text:Rp(t).text().replace(/\s+/gm," ")}]}}function PN(t,e){var n=function(t,e){var n=[];if(null!=t.attr("data-w-e-is-void"))return n;var r=t[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?(n.push({text:""}),n):(r.forEach(function(t){if(cN(t)){if("BR"===t.nodeName)return void(TN(n,"\n")||n.push({text:"\n"}));var r=IN(Rp(t),e);Array.isArray(r)?r.forEach(function(t){return n.push(t)}):n.push(r)}else if(fN(t)){var o=t.textContent||"";if(""===o.trim()&&o.indexOf("\n")>=0)return;o&&(o=CN(o),TN(n,o)||n.push({text:o}))}}),n)}(t,e),r=function(t){for(var e in xN)if(t[0].matches(e))return xN[e];return NN}(t),o=r(t[0],n,e);return Array.isArray(o)||(o=[o]),o.forEach(function(r){yp.Editor.isVoid(e,r)||(0===n.length&&(r.children=[{text:t.text().replace(/\s+/gm," ")}]),AN.forEach(function(n){r=n(t[0],r,e)}))}),o}function kN(t,e){0===t.parents("pre").length&&(t[0].innerHTML=t[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=t[0].textContent||"";n=function(t){return t.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™").replace(/"/g,'"')}(n);var r={text:n=CN(n)};return AN.forEach(function(n){r=n(t[0],r,e)}),r}function IN(t,e){ON.forEach(function(e){var n=e.selector,r=e.preParseHtml;t[0].matches(n)&&(t=Rp(r(t[0])))});var n=yN(t);if("span"===n){if(t.attr("data-w-e-type"))return PN(t,e);if(t[0].childNodes.length>1){var r=t[0].childNodes,o=function(t,e){var n={text:""};return AN.forEach(function(r){n=r(t[0],n,e)}),n}(Rp(t[0]),e),i=o;i.bold,i.italic,i.underline,i.through,i.sub,i.sup,i.code;var u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(i,["bold","italic","underline","through","sub","sup","code"]);return Array.from(r).flatMap(function(t){var n=function(t,e,n){var r=t[0];if(cN(r)){var o=IN(t,n);return Array.isArray(o)?o.map(function(t){return rC(rC({},e),t)}):[rC(rC({},e),o)]}if(sN(r))return null;var i=fN(r)?{text:r.textContent||""}:kN(t,n);return[rC(rC({},e),i)]}(Rp(t),u,e);return n||[]})}return 1===t[0].childNodes.length&&"span"===yN(Rp(t[0].childNodes[0]))?IN(Rp(t[0].childNodes[0]),e):kN(t,e)}return"code"===n?"pre"===yN(t.parent())?PN(t,e):kN(t,e):DN.includes(n)?t[0].childNodes.length>0&&3!==t[0].childNodes[0].nodeType?(r=t[0].childNodes,rC(rC({},IN(Rp(r[0]),e)),kN(t,e))):kN(t,e):PN(t,e)}function BN(t,e,n){var r=Rp(n);return!!r.attr(e)||(r.attr(e,"true"),t.on(sC,function(){r.removeAttr(e)}),!1)}function FN(t,e){void 0===e&&(e="");var n=[];""===e&&(e="<p><br></p>"),0!==e.indexOf("<")&&(e=e.split(/\n/).map(function(t){return"<p>".concat(t,"</p>")}).join(""));var r=Rp("<div>".concat(e,"</div>"));return Array.from(r.children()).forEach(function(e){var r=IN(Rp(e),t);Array.isArray(r)?r.forEach(function(t){return n.push(t)}):n.push(r)}),n}function RN(t,e){return"w-e-element-".concat(t,"-").concat(e)}var _N=[];var jN={};function LN(t,e,n){var r=n.isInline(t)?"span":"div";return"<".concat(r,">").concat(e,"</").concat(r,">")}var MN,zN,HN,$N={};!function(){if(HN)return $N;HN=1;var t=aS(),e=Tm(),n=Ab(),r=PE(),o=function(){if(zN)return MN;zN=1;var t=pE();return MN=function(e){return void 0!==e&&(t(e,"value")||t(e,"writable"))}}(),i=EE(),u=XC();t({target:"Reflect",stat:!0},{get:function t(a,s){var c,l,f=arguments.length<3?a:arguments[2];return r(a)===f?a[s]:(c=i.f(a,s))?o(c)?c.value:void 0===c.get?void 0:e(c.get,f):n(l=u(a))?t(l,s,f):void 0}})}();var UN,VN={};!function(){if(UN)return VN;UN=1;var t,e=aS(),n=US(),r=EE().f,o=Cw(),i=lD(),u=aA(),a=Cb(),s=sA(),c=sE(),l=n("".slice),f=Math.min,d=s("endsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=r(String.prototype,"endsWith"),t&&!t.writable)||d)},{endsWith:function(t){var e=i(a(this));u(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,s=void 0===n?r:f(o(n),r),c=i(t);return l(e,s-c.length,s)===c}})}();var GN=0,WN=function(){this.id="".concat(GN++)},qN="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),KN="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),YN="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),XN="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),JN="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ZN="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),QN=!JN&&!XN&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,tP={getWindow:function(t){var e=BO.get(t);if(!e)throw new Error("Unable to find a host window element for this editor");return e},findKey:function(t,e){var n=IO.get(e);return n||(n=new WN,IO.set(e,n)),n},setNewKey:function(t){var e=new WN;IO.set(t,e)},findPath:function(t,e){for(var n=[],r=e;;){var o=xO.get(r);if(null==o){if(yp.Editor.isEditor(r))return n;break}var i=AO.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(JSON.stringify(e)))},findDocumentOrShadowRoot:function(t){if(t.isDestroyed)return window.document;var e=tP.toDOMNode(t,t),n=e.getRootNode();return(function(t){return"[object HTMLDocument]"===oN(t)}(n)||function(t){return"[object ShadowRoot]"===oN(t)}(n))&&null!=Reflect.get(n,"getSelection")?n:e.ownerDocument},getParentNode:function(t,e){return xO.get(e)||null},getParentsNodes:function(t,e){for(var n=[],r=e;r!==t&&null!=r;){var o=tP.getParentNode(t,r);if(null==o)break;n.push(o),r=o}return n},getTopNode:function(t,e){var n=[tP.findPath(t,e)[0]];return yp.Node.get(t,n)},toDOMNode:function(t,e){var n;if(yp.Editor.isEditor(e))n=TO.get(t);else{var r=tP.findKey(t,e);n=PO.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(e)));return n},hasDOMNode:function(t,e,n){void 0===n&&(n={});var r,o=n.editable,i=void 0!==o&&o,u=tP.toDOMNode(t,t);try{r=cN(e)?e:e.parentElement}catch(t){if(t instanceof Error&&!t.message.includes('Permission denied to access property "nodeType"'))throw t}return!!r&&(r.closest("[data-slate-editor]")===u&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))||!!r.getAttribute("data-slate-string"))},toDOMRange:function(t,e){var n=e.anchor,r=e.focus,o=yp.Range.isBackward(e),i=tP.toDOMPoint(t,n),u=yp.Range.isCollapsed(e)?i:tP.toDOMPoint(t,r),a=tP.getWindow(t).document.createRange(),s=iC(o?u:i,2),c=s[0],l=s[1],f=iC(o?i:u,2),d=f[0],p=f[1],h=!!(cN(c)?c:c.parentElement).getAttribute("data-slate-zero-width"),v=!!(cN(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return a.setStart(c,h?1:l),a.setEnd(d,v?1:p),a},toDOMPoint:function(t,e){var n,r,o,i=iC(yp.Editor.node(t,e.path),1)[0],u=tP.toDOMNode(t,i);yp.Editor.void(t,{at:e})&&(e={path:e.path,offset:0});var a=Array.from(u.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var c=oC(a),l=c.next();!l.done;l=c.next()){var f=l.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(e.offset<=v){o=[d,Math.min(p,Math.max(0,e.offset-s))];break}s=v}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(e)));return o},toSlateNode:function(t,e){var n=cN(e)?e:e.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?NO.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange:function(t,e){"nativeEvent"in e&&(e=e.nativeEvent);var n=e.clientX,r=e.clientY,o=e.target;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(e));var i,u=tP.toSlateNode(t,e.target),a=tP.findPath(t,u);if(yp.Editor.isVoid(t,u)){var s=o.getBoundingClientRect(),c=t.isInline(u)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,l=yp.Editor.point(t,a,{edge:c?"start":"end"}),f=c?yp.Editor.before(t,l):yp.Editor.after(t,l);if(f)return yp.Editor.range(t,f)}var d=this.getWindow(t).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: ".concat(e));return tP.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(t,e,n){var r,o,i,u,a,s=n.exactMatch,c=n.suppressThrow;if((lN(e)?e.anchorNode:e.startContainer)&&(lN(e)?(r=e.anchorNode,o=e.anchorOffset,i=e.focusNode,u=e.focusOffset,a=ZN&&window.document.activeElement&&window.document.activeElement.shadowRoot?e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset:e.isCollapsed):(r=e.startContainer,o=e.startOffset,i=e.endContainer,u=e.endOffset,a=e.collapsed)),null==r||null==i||null==o||null==u)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(e));var l=tP.toSlatePoint(t,[r,o],{exactMatch:s,suppressThrow:c});if(!l)return null;var f=a?l:tP.toSlatePoint(t,[i,u],{exactMatch:s,suppressThrow:c});if(!f)return null;var d={anchor:l,focus:f};return yp.Range.isExpanded(d)&&yp.Range.isForward(d)&&cN(i)&&yp.Editor.void(t,{at:d.focus,mode:"highest"})&&(d=yp.Editor.unhangRange(t,d,{voids:!0})),d},toSlatePoint:function(t,e,n){var r,o=n.exactMatch,i=n.suppressThrow,u=iC(o?e:function(t){var e,n=iC(t,2),r=n[0],o=n[1];if(cN(r)&&r.childNodes.length){var i=o===r.childNodes.length,u=i?o-1:o;for(r=(e=iC(pN(r,u,i?"backward":"forward"),2))[0],i=(u=e[1])<o;cN(r)&&r.childNodes.length;){var a=i?r.childNodes.length-1:0;r=hN(r,a,i?"backward":"forward")}o=i&&null!=r.textContent?r.textContent.length:0}return[r,o]}(e),2),a=u[0],s=u[1],c=a.parentNode,l=null,f=0;if(c){var d=c.closest('[data-slate-void="true"]'),p=c.closest("[data-slate-leaf]"),h=null,v=tP.getWindow(t);if(p&&v.document.createRange){l=p.closest('[data-slate-node="text"]');var g=v.document.createRange();g.setStart(l,0),g.setEnd(a,s);var y=g.cloneContents();uC(uC([],iC(wh(y.querySelectorAll("[data-slate-zero-width]"))),!1),iC(wh(y.querySelectorAll("[contenteditable=false]"))),!1).forEach(function(t){t.parentNode.removeChild(t)}),f=y.textContent.length,h=l}else d&&((p=d.querySelector("[data-slate-leaf]"))?(l=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach(function(t){f-=t.textContent.length})):f=1);h&&f===h.textContent.length&&(c.hasAttribute("data-slate-zero-width")||KN&&(null===(r=h.textContent)||void 0===r?void 0:r.endsWith("\n")))&&(f-=1)}if(!l){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(e))}var m=tP.toSlateNode(t,l);return{path:tP.findPath(t,m),offset:f}},hasRange:function(t,e){var n=e.anchor,r=e.focus;return yp.Editor.hasPath(t,n.path)&&yp.Editor.hasPath(t,r.path)},getNodeType:function(t){return yp.Element.isElement(t)?t.type:""},checkNodeType:function(t,e){return this.getNodeType(t)===e},getNodesStr:function(t){return t.map(function(t){return yp.Node.string(t)}).join("")},getSelectedElems:function(t){var e,n,r=[],o=yp.Editor.nodes(t,{universal:!0});try{for(var i=oC(o),u=i.next();!u.done;u=i.next()){var a=iC(u.value,1)[0];yp.Element.isElement(a)&&r.push(a)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r},getSelectedNodeByType:function(t,e){var n=this,r=iC(yp.Editor.nodes(t,{match:function(t){return n.checkNodeType(t,e)},universal:!0}),1),o=r[0];return null==o?null:o[0]},getSelectedTextNode:function(t){var e=iC(yp.Editor.nodes(t,{match:function(t){return yp.Text.isText(t)},universal:!0}),1),n=e[0];return null==n?null:n[0]},isNodeSelected:function(t,e){var n=iC(yp.Editor.nodes(t,{match:function(t){return t===e},universal:!0}),1),r=n[0];return null!=r&&iC(r,1)[0]===e},isSelectionAtLineEnd:function(t,e){var n=t.selection;return!!n&&(yp.Editor.isEnd(t,n.anchor,e)||yp.Editor.isEnd(t,n.focus,e))},getTextarea:function(t){var e=fO.get(t);if(null==e)throw new Error("Cannot find textarea instance by editor");return e},getToolbar:function(t){return hO.get(t)||null},getHoverbar:function(t){return gO.get(t)||null},normalizeContent:function(t){t.children.forEach(function(e,n){t.normalizeNode([e,[n]])})},getLeftLengthOfMaxLength:function(t){var e=t.getConfig(),n=e.maxLength,r=e.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-t.getText().replace(/\r|\n|(\r\n)|(\n\r)/g,"").length;return o<=0&&r&&r(t),o},cleanExposedTexNodeInSelectionBlock:function(t){var e,n,r,o,i=tP.getTextarea(t).$textArea,u=null==i?void 0:i[0].childNodes;if(u)try{for(var a=oC(Array.from(u)),s=a.next();!s.done;s=a.next()){var c=s.value;if(!fN(c))break;c.remove()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}var l=yp.Editor.nodes(t,{match:function(e){return!(!yp.Element.isElement(e)||t.isInline(e))},universal:!0});try{for(var f=oC(l),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];gN(tP.toDOMNode(t,h),function(t,e){var n=Rp(e);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||e.removeChild(t)})}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(t,e){var n=t.children||[];return n[n.length-1]===e},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(t){var e,n,r=yp.Editor.nodes(t,{match:function(e){return t.isVoid(e)}}),o=0;try{for(var i=oC(r),u=i.next();!u.done;u=i.next())u.value&&(o+=1)}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o>0},isSelectedEmptyParagraph:function(t){var e=t.selection;if(null==e)return!1;if(yp.Range.isExpanded(e))return!1;var n=tP.getSelectedNodeByType(t,"paragraph");if(null===n)return!1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(t,e){var n=yp.Editor.node(t,e);if(null==n)return!1;var r=iC(n,1)[0].children;return 1===r.length&&""===r[0].text}};function eP(t,e){return yp.Element.isElement(t)?function(t,e){var n=t.type,r=void 0===n?"":n,o=t.children,i=void 0===o?[]:o,u=yp.Editor.isVoid(e,t),a="";u||(a=i.map(function(t){return eP(t,e)}).join(""));var s=function(t){return jN[t]||LN}(r),c=s(t,a,e),l="";if(l="string"==typeof c?c:c.html||"",u||_N.forEach(function(e){return l=e(t,l)}),"string"==typeof c)return l;var f=c.prefix,d=void 0===f?"":f,p=c.suffix,h=void 0===p?"":p;return d&&(l=d+l),h&&(l+=h),l}(t,e):function(t,e){var n=t.text;if(null==n)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var r=n;r=function(t){return t.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™")}(r);var o=tP.getParentsNodes(e,t).some(function(t){return"pre"===tP.getNodeType(t)});if(o||(r=r.replace(/\n\r|\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/ /g," ")),""===r){var i=tP.getParentNode(null,t);if(!i||0!==i.children.length)return r;r="<br>"}return _N.forEach(function(e){return r=e(t,r)}),r}(t,e)}var nP=function(t,e){var n=(e.top+e.bottom)/2;return t.top<=n&&t.bottom>=n},rP=function(t,e,n){var r=tP.toDOMRange(t,e).getBoundingClientRect(),o=tP.toDOMRange(t,n).getBoundingClientRect();return nP(r,o)&&nP(o,r)},oP=function(t,e){var n,r,o=[];try{for(var i=oC(yp.Editor.levels(t,{at:e})),u=i.next();!u.done;u=i.next()){var a=iC(u.value,2),s=a[0],c=a[1],l=tP.findKey(t,s);o.push([c,l])}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o};function iP(t,e){t.isInline(e)?(t.insertNode(e),"link"===e.type&&t.insertFragment([{text:""}])):yp.Transforms.insertNodes(t,e,{mode:"highest"})}var uP,aP,sP,cP,lP,fP,dP,pP,hP,vP,gP,yP,mP,bP,EP,wP,SP,CP,DP,OP,AP,xP,TP,NP,PP,kP,IP,BP,FP,RP,_P,jP,LP,MP,zP,HP,$P,UP,VP,GP,WP=function(t){var e=t,n=e.onChange,r=e.insertText,o=e.apply,i=e.deleteBackward;return e.insertText=function(t){e.getConfig().readOnly||r(t)},e.apply=function(t){var n,r,i,u,a,s,c,l,f=[];switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":f.push.apply(f,uC([],iC(oP(e,t.path)),!1));break;case"insert_node":case"remove_node":f.push.apply(f,uC([],iC(oP(e,yp.Path.parent(t.path))),!1));break;case"merge_node":var d=yp.Path.previous(t.path);f.push.apply(f,uC([],iC(oP(e,d)),!1));break;case"move_node":var p=yp.Path.common(yp.Path.parent(t.path),yp.Path.parent(t.newPath));f.push.apply(f,uC([],iC(oP(e,p)),!1));break;case"set_selection":(null===(u=null===(i=t.newProperties)||void 0===i?void 0:i.focus)||void 0===u?void 0:u.path)&&(f.push.apply(f,uC([],iC(oP(e,null===(s=null===(a=t.newProperties)||void 0===a?void 0:a.focus)||void 0===s?void 0:s.path)),!1)),f.push.apply(f,uC([],iC(oP(e,null===(l=null===(c=t.properties)||void 0===c?void 0:c.focus)||void 0===l?void 0:l.path)),!1)))}o(t);try{for(var h=oC(f),v=h.next();!v.done;v=h.next()){var g=iC(v.value,2),y=g[0],m=g[1],b=iC(yp.Editor.node(e,y),1)[0];IO.set(b,m),"type"in b&&(DO.has(b)&&DO.delete(b),OO.has(b)&&OO.delete(b))}}catch(t){n={error:t}}finally{try{v&&!v.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}},e.deleteBackward=function(n){if("line"!==n)return i(n);if(t.selection&&yp.Range.isCollapsed(t.selection)){var r=yp.Editor.above(t,{match:function(e){return yp.Editor.isBlock(t,e)},at:t.selection});if(r){var o=iC(r,2)[1],u=yp.Editor.range(t,o,t.selection.anchor),a=function(t,e){var n=yp.Editor.range(t,yp.Range.end(e)),r=Array.from(yp.Editor.positions(t,{at:e})),o=0,i=r.length,u=Math.floor(i/2);if(rP(t,yp.Editor.range(t,r[o]),n))return yp.Editor.range(t,r[o],n);if(r.length<2)return yp.Editor.range(t,r[r.length-1],n);for(;u!==r.length&&u!==o;)rP(t,yp.Editor.range(t,r[u]),n)?i=u:o=u,u=Math.floor((o+i)/2);return yp.Editor.range(t,r[i],n)}(e,u);yp.Range.isCollapsed(a)||yp.Transforms.delete(t,{at:a})}}},e.onChange=function(){var t=e.selection;null!=t&&RO.set(e,t),e.emit("change"),n()},e.handleTab=function(){e.insertText(" ")},e.getHtml=function(){var t=e.children,n=void 0===t?[]:t,r=e.getConfig().skipCacheTypes,o=void 0===r?["list-item"]:r;return n.map(function(t){var n=tP.getNodeType(t);if(o.includes(n))return eP(t,e);var r=OO.get(t);if(r)return r;var i=eP(t,e);return OO.set(t,i),i}).join("")},e.getText=function(){var t=e.children;return(void 0===t?[]:t).map(function(t){return yp.Node.string(t)}).join("\n")},e.getSelectionText=function(){var n=e.selection;return null==n?"":yp.Editor.string(t,n)},e.getElemsByType=function(t,n){var r,o;void 0===n&&(n=!1);var i=[],u=yp.Editor.nodes(e,{at:[],universal:!0});try{for(var a=oC(u),s=a.next();!s.done;s=a.next()){var c=iC(s.value,1)[0];if(yp.Element.isElement(c)&&(n?c.type.indexOf(t)>=0:c.type===t)){var l=tP.findKey(e,c),f=RN(c.type,l.id);i.push(rC(rC({},c),{id:f}))}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return i},e.getElemsByTypePrefix=function(t){return e.getElemsByType(t,!0)},e.isEmpty=function(){var t=e.children,n=void 0===t?[]:t;if(n.length>1)return!1;var r=n[0];if(null==r)return!0;if(!yp.Element.isElement(r)||"paragraph"!==r.type)return!1;var o=r.children,i=void 0===o?[]:o;if(i.length>1)return!1;var u=i[0];return null==u||yp.Text.isText(u)&&""===u.text},e.clear=function(){yp.Transforms.delete(e,{at:{anchor:yp.Editor.start(e,[]),focus:yp.Editor.end(e,[])}}),0===e.children.length&&yp.Transforms.insertNodes(e,[{type:"paragraph",children:[{text:""}]}])},e.getParentNode=function(t){return tP.getParentNode(e,t)},e.dangerouslyInsertHtml=function(t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),t){var r=document.createElement("div");r.innerHTML=t;var o=Array.from(r.childNodes);if(o=o.filter(function(t){var e=t.nodeName;return!!fN(t)||!!cN(t)&&!qA.has(e.toLowerCase())}),0!==o.length){var i=e.selection;if(null!=i){var u=null;tP.isSelectedEmptyParagraph(e)&&!n&&(u=[i.focus.path[0]]),r.setAttribute("hidden","true"),document.body.appendChild(r);var a=0;o.forEach(function(t,n){var r=t.nodeName,i=t.textContent,u=void 0===i?"":i;if(fN(t)){if(!u||!u.trim())return;e.insertNode({text:u})}else if("BR"!==r){var s=t,c=!1;if(DN.includes(r.toLowerCase()))c=!0;else for(var l in xN)if(s.matches(l)){c=!0;break}if(c){var f=IN(Rp(s),e);return Array.isArray(f)?(f.forEach(function(t){return iP(e,t)}),a+=1):(iP(e,f),a+=1),void(tP.isSelectedVoidNode(e)&&e.move(1))}var d=window.getComputedStyle(s).display;if(!tP.isSelectedEmptyParagraph(e)&&d.indexOf("inline")<0){if(n>=1)(function(t){return"matches"in t&&/^[ou]l$/i.test(t.tagName)&&!t.hasAttribute("data-w-e-type")})(o[n-1])&&e.insertBreak();e.insertBreak()}e.dangerouslyInsertHtml(s.innerHTML,!0)}else e.insertText("\n")}),a&&u&&tP.isEmptyPath(e,u)&&yp.Transforms.removeNodes(e,{at:u}),r.remove()}}}},e.setHtml=function(t){void 0===t&&(t="");var n=e.isDisabled(),r=e.isFocused(),o=JSON.stringify(e.selection);e.enable(),e.focus(),e.clear();var i=FN(e,null==t?"":t);if(yp.Transforms.insertFragment(e,i),r||(e.deselect(),e.blur()),n&&(e.deselect(),e.disable()),e.isFocused())try{e.select(JSON.parse(o))}catch(t){e.select(yp.Editor.start(e,[]))}},e},qP=1,KP=function(t){var e=t;return e.id="wangEditor-".concat(qP++),e.isDestroyed=!1,e.isFullScreen=!1,e.focus=function(t){if(tP.toDOMNode(e,e).focus({preventScroll:!0}),FO.set(e,!0),t){var n=yp.Editor.end(e,[]);yp.Transforms.select(e,n)}else{var r=RO.get(e);r?yp.Transforms.select(e,r):yp.Transforms.select(e,yp.Editor.start(e,[]))}},e.isFocused=function(){return!!FO.get(e)},e.blur=function(){tP.toDOMNode(e,e).blur(),yp.Transforms.deselect(e),FO.set(e,!1)},e.updateView=function(){tP.getTextarea(e).changeViewState();var t=tP.getToolbar(e);t&&t.changeToolbarState();var n=tP.getHoverbar(e);n&&n.changeHoverbarState()},e.destroy=function(){if(!e.isDestroyed){var t=tP.getTextarea(e);t.destroy(),fO.delete(e),dO.delete(t);var n=tP.getToolbar(e);n&&(n.destroy(),hO.delete(e),pO.delete(n));var r=tP.getHoverbar(e);r&&(r.destroy(),gO.delete(e),vO.delete(r)),e.isDestroyed=!0,e.emit("destroyed")}},e.scrollToElem=function(t){if(!e.getConfig().scroll){var n="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return n+="\nYou has disabled editor scroll, please do this yourself",void console.warn(n)}var r=Rp("#".concat(t));if(0!==r.length){var o=r[0];if(!tP.hasDOMNode(e,o))return n="Element (found by id is '".concat(t,"') is not in editor DOM"),n+="\n 通过 id '".concat(t,"' 找到的 element 不在 editor DOM 之内"),void console.error(n,o);var i=tP.getTextarea(e),u=i.$textAreaContainer,a=i.$scroll,s=r.offset().top,c=u.offset().top;a[0].scrollBy({top:s-c,behavior:"smooth"})}},e.showProgressBar=function(t){t<1||tP.getTextarea(e).changeProgress(t)},e.hidePanelOrModal=function(){var t=mO.get(e);null!=t&&t.forEach(function(t){return t.hide()})},e.enable=function(){e.getConfig().readOnly=!1,e.updateView()},e.disable=function(){e.getConfig().readOnly=!0,e.updateView()},e.isDisabled=function(){return e.getConfig().readOnly},e.toDOMNode=function(t){return tP.toDOMNode(e,t)},e.fullScreen=function(){if(!e.isFullScreen){var t=null,n=tP.getToolbar(e);n&&(t=n.$box);var r=tP.getTextarea(e).$box.parent();if(t&&t.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()),e.isFullScreen=!0,e.emit("fullScreen")}},e.unFullScreen=function(){if(e.isFullScreen){var t=tP.getTextarea(e).$box.parent();setTimeout(function(){t.removeClass("w-e-full-screen-container"),e.isFullScreen=!1,e.emit("unFullScreen")},200)}},e.getEditableContainer=function(){return tP.getTextarea(e).$textAreaContainer[0]},e},YP={exports:{}},XP={exports:{}};function JP(){return aP?uP:(aP=1,uP=function(t){return null!=t})}function ZP(){if(vP)return hP;vP=1;var t=function(){if(pP)return dP;pP=1;var t=function(){if(fP)return lP;fP=1;var t=function(){if(cP)return sP;cP=1;var t=JP(),e={object:!0,function:!0,undefined:!0};return sP=function(n){return!!t(n)&&hasOwnProperty.call(e,typeof n)}}();return lP=function(e){if(!t(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}}();return dP=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(t){return!1}return!t(e)}}(),e=/^\s*class[\s{/}]/,n=Function.prototype.toString;return hP=function(r){return!!t(r)&&!e.test(n.call(r))}}function QP(){if(CP)return SP;CP=1;var t=(wP?EP:(wP=1,EP=function(){}))();return SP=function(e){return e!==t&&null!==e},SP}function tk(){if(kP)return PP;kP=1;var t=(xP||(xP=1,AP=(bP?mP:(bP=1,mP=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}))()?Object.keys:function(){if(OP)return DP;OP=1;var t=QP(),e=Object.keys;return DP=function(n){return e(t(n)?Object(n):n)}}()),AP),e=function(){if(NP)return TP;NP=1;var t=QP();return TP=function(e){if(!t(e))throw new TypeError("Cannot use null or undefined");return e}}(),n=Math.max;return PP=function(r,o){var i,u,a,s=n(arguments.length,2);for(r=Object(e(r)),a=function(t){try{r[t]=o[t]}catch(t){i||(i=t)}},u=1;u<s;++u)t(o=arguments[u]).forEach(a);if(void 0!==i)throw i;return r},PP}function ek(){if($P)return XP.exports;$P=1;var t=JP(),e=ZP(),n=BP?IP:(BP=1,IP=(yP||(yP=1,gP=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}),gP)()?Object.assign:tk()),r=function(){if(RP)return FP;RP=1;var t=QP(),e=Array.prototype.forEach,n=Object.create;return FP=function(r){var o=n(null);return e.call(arguments,function(e){t(e)&&function(t,e){var n;for(n in t)e[n]=t[n]}(Object(e),o)}),o},FP}(),o=(HP||(HP=1,zP=function(){if(jP)return _P;jP=1;var t="razdwatrzy";return _P=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}}()()?String.prototype.contains:function(){if(MP)return LP;MP=1;var t=String.prototype.indexOf;return LP=function(e){return t.call(this,e,arguments[1])>-1},LP}()),zP),i=XP.exports=function(e,i){var u,a,s,c,l;return arguments.length<2||"string"!=typeof e?(c=i,i=e,e=null):c=arguments[2],t(e)?(u=o.call(e,"c"),a=o.call(e,"e"),s=o.call(e,"w")):(u=s=!0,a=!1),l={value:i,configurable:u,enumerable:a,writable:s},c?n(r(c),l):l};return i.gs=function(i,u,a){var s,c,l,f;return"string"!=typeof i?(l=a,a=u,u=i,i=null):l=arguments[3],t(u)?e(u)?t(a)?e(a)||(l=a,a=void 0):a=void 0:(l=u,u=a=void 0):u=void 0,t(i)?(s=o.call(i,"c"),c=o.call(i,"e")):(s=!0,c=!1),f={get:u,set:a,configurable:s,enumerable:c},l?n(r(l),f):f},XP.exports}var nk=(GP||(GP=1,function(t,e){var n,r,o,i,u,a,s,c=ek(),l=VP?UP:(VP=1,UP=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}),f=Function.prototype.apply,d=Function.prototype.call,p=Object.create,h=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var r,i;return l(e),i=this,n.call(this,t,r=function(){o.call(i,t,r),f.call(e,this,arguments)}),r.__eeOnceListener__=e,this},i=function(t){var e,n,r,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=arguments[e];for(o=o.slice(),e=0;r=o[e];++e)f.call(r,this,i)}else switch(arguments.length){case 1:d.call(o,this);break;case 2:d.call(o,this,arguments[1]);break;case 3:d.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=arguments[e];f.call(o,this,i)}},u={on:n=function(t,e){var n;return l(e),g.call(this,"__ee__")?n=this.__ee__:(n=y.value=p(null),h(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},once:r,off:o=function(t,e){var n,r,o,i;if(l(e),!g.call(this,"__ee__"))return this;if(!(n=this.__ee__)[t])return this;if("object"==typeof(r=n[t]))for(i=0;o=r[i];++i)o!==e&&o.__eeOnceListener__!==e||(2===r.length?n[t]=r[i?0:1]:r.splice(i,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},emit:i},a={on:c(n),once:c(r),off:c(o),emit:c(i)},s=v({},a),t.exports=e=function(t){return null==t?p(s):v(Object(t),a)},e.methods=u}(YP,YP.exports)),YP.exports),rk=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(nk);function ok(t){var e=_O.get(t);return null==e&&(e=rk(),_O.set(t,e)),e}var ik=new WeakMap;function uk(t,e){var n=ik.get(t);null==n&&(n=new Set,ik.set(t,n)),n.add(e)}var ak,sk=function(t){var e=t;return e.on=function(t,n){var r=ok(e);if(r.on(t,n),"destroyed"===t&&uk(e,n),"destroyed"!==t){var o=function(){return r.off(t,n)};r.on("destroyed",o),uk(e,o)}},e.once=function(t,n){ok(e).once(t,n)},e.off=function(t,n){ok(e).off(t,n)},e.emit=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=ok(e);if(o.emit.apply(o,uC([t],iC(n),!1)),"destroyed"===t){var i=function(t){return ik.get(t)||new Set}(e);i.forEach(function(t){return o.off("destroyed",t)}),function(t){ik.set(t,new Set)}(e)}},e},ck=function(t){var e=t;return e.setFragmentData=function(t){var n=e.selection;if(n){var r=iC(yp.Range.edges(n),2),o=r[0],i=r[1],u=yp.Editor.void(e,{at:o.path}),a=yp.Editor.void(e,{at:i.path});if(!yp.Range.isCollapsed(n)||u){var s=tP.toDOMRange(e,n),c=s.cloneContents(),l=c.childNodes[0];if(c.childNodes.forEach(function(t){t.textContent&&""!==t.textContent.trim()&&(l=t)}),a){var f=iC(a,1)[0],d=s.cloneRange(),p=tP.toDOMNode(e,f);d.setEndAfter(p),c=d.cloneContents()}if(u&&(l=c.querySelector("[data-slate-spacer]")),Array.from(c.querySelectorAll("[data-slate-zero-width]")).forEach(function(t){var e="n"===t.getAttribute("data-slate-zero-width");t.textContent=e?"\n":""}),fN(l)){var h=l.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(l),c.appendChild(h),l=h}var v=e.getFragment(),g=JSON.stringify(v),y=window.btoa(encodeURIComponent(g));l.setAttribute("data-slate-fragment",y),t.setData("application/x-slate-fragment",y);var m=c.ownerDocument.createElement("div");return m.appendChild(c),m.setAttribute("hidden","true"),c.ownerDocument.body.appendChild(m),t.setData("text/html",m.innerHTML),t.setData("text/plain",vN(m)),c.ownerDocument.body.removeChild(m),t}}},e.insertData=function(t){var n,r,o=t.getData("application/x-slate-fragment");if(o){var i=decodeURIComponent(window.atob(o)),u=JSON.parse(i);e.insertFragment(u)}else{var a=t.getData("text/plain"),s=t.getData("text/html");if(s)e.dangerouslyInsertHtml(s);else if(a){var c=a.split(/\n\r|\r\n|\r|\n/),l=!1;try{for(var f=oC(c),d=f.next();!d.done;d=f.next()){var p=d.value,h=tP.getLeftLengthOfMaxLength(e);l&&h>0&&yp.Transforms.splitNodes(e,{always:!0}),e.insertText(p),l=!0}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}}}},e},lk={};!function(){if(ak)return lk;ak=1;var t=aS(),e=sS(),n=pS(),r=Ab(),o=Sw(),i=Dw(),u=Db(),a=lS(),s=vE(),c=vS(),l=JD(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var fk=function(t){var e=t,n=e.insertText,r=e.insertNode,o=e.insertFragment,i=e.dangerouslyInsertHtml;return e.insertText=function(t){if(e.getConfig().maxLength){var r=tP.getLeftLengthOfMaxLength(e);r<=0||(r<t.length?n(t.slice(0,r)):n(t))}else n(t)},e.insertNode=function(t){if(e.getConfig().maxLength){var n=tP.getLeftLengthOfMaxLength(e);n<=0||n<yp.Node.string(t).length||r(t)}else r(t)},e.insertFragment=function(t){if(e.getConfig().maxLength){if(t.length>0){var n=t[0];if(tP.getLeftLengthOfMaxLength(e)<yp.Node.string(n).length)return;o([n]);for(var r=1;r<t.length;r+=1)e.insertNode(t[r])}}else o(t)},e.dangerouslyInsertHtml=function(t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),t)if(e.getConfig().maxLength){var r=tP.getLeftLengthOfMaxLength(e);if(!(r<=0)){var o=document.createElement("div");o.innerHTML=t,r<Array.from(o.childNodes).reduce(function(t,e){var n=e.nodeName;return e?fN(e)?t+(e.textContent||""):cN(e)?qA.has(n.toLowerCase())?t:t+(e.textContent||""):t:t},"").length||i(t,n)}}else i(t,n)},e};function dk(t){var e=tP.getTextarea(t).$textAreaContainer,n=e.width(),r=e.height(),o=e.offset();return{top:o.top,left:o.left,width:n,height:r}}function pk(t){var e={top:"0",left:"0"},n=t.selection;if(null==n)return e;var r=dk(t);if(null==r)return e;var o=r.top,i=r.left,u=r.width,a=r.height,s=tP.toDOMRange(t,n).getClientRects(),c=s?s[0]:null;if(null==c)return e;var l={},f=c.top-o,d=c.left-i;if(d>u/2){var p=u-d;l.right="".concat(p+5,"px")}else l.left="".concat(d+5,"px");if(f>a/2){var h=a-f;l.bottom="".concat(h+5,"px")}else{var v=s[s.length-1],g=v.top-o+v.height;g<0&&(g=0),l.top="".concat(g+5,"px")}return l}function hk(t,e,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==t.selection)return r;var o=yp.Element.isElement(e)&&t.isVoid(e),i=yp.Element.isElement(e)&&t.isInline(e),u=kO.get(e);if(null==u)return r;var a=u.getBoundingClientRect(),s=a.top,c=a.left,l=a.height,f=a.width;if(o){var d=function(t){var e=[];e.push(t);for(var n=0;e.length>0;){var r=e.pop();if(null==r)break;if((n+=1)>1e4)break;var o=r.nodeName;if(r.nodeType===rN.ELEMENT_NODE){var i=o.toLowerCase();if(Rx.includes(i)||"iframe"===i||"video"===i)return r;var u=r.children||[],a=u.length;if(a)for(var s=a-1;s>=0;s-=1)e.push(u[s])}}return null}(u);if(null!=d){var p=d.getBoundingClientRect();s=p.top,l=p.height}}var h=dk(t);if(null==h)return r;var v=h.top,g=h.left,y=h.width,m=h.height,b={},E=s-v,w=c-g;if("bar"===n)return b.left="".concat(w,"px"),E>40?b.bottom="".concat(m-E+5,"px"):b.top="".concat(E+l+5,"px"),b;if("modal"===n){if(o?i?w>(y-f)/2?b.right="".concat(y-w+5,"px"):b.left="".concat(w+f+5,"px"):b.left="20px":b.left="".concat(w,"px"),o)(S=E)<0&&(S=0),b.top="".concat(S,"px");else if(E>(m-l)/2)b.bottom="".concat(m-E+5,"px");else{var S;(S=E+l)<0&&(S=0),b.top="".concat(S+5,"px")}return b}throw new Error("type '".concat(n,"' is invalid"))}function vk(t,e){nN(function(){var n=dk(t);if(null!=n){var r,o=n.top,i=n.left,u=n.width,a=n.height,s=e.offset(),c=s.top,l=s.left,f=e.width(),d=e.height(),p=c-o,h=l-i,v=e.attr("style");if(v.indexOf("top")>=0&&(r=p+d-a)>0){var g=e.css("top"),y=parseInt(g.toString(),10)-r;y<0&&(y=0),e.css("top","".concat(y,"px"))}if(v.indexOf("bottom")>=0&&c<0){var m=e.css("bottom"),b=parseInt(m.toString(),10)-Math.abs(c);e.css("bottom","".concat(b,"px"))}if(v.indexOf("left")>=0&&(r=h+f-u)>0){var E=e.css("left"),w=parseInt(E.toString(),10)-r;w<0&&(w=0),e.css("left","".concat(w,"px"))}if(v.indexOf("right")>=0&&l<0){var S=e.css("right"),C=parseInt(S.toString(),10)-Math.abs(l);e.css("right","".concat(C,"px"))}}})}var gk,yk=function(t){var e=t;return e.select=function(t){yp.Transforms.select(e,t)},e.deselect=function(){var n=e.selection,r=tP.findDocumentOrShadowRoot(e).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),n&&yp.Transforms.deselect(t)},e.move=function(e,n){void 0===n&&(n=!1),e&&(e<0||yp.Transforms.move(t,{distance:e,unit:"character",reverse:n}))},e.moveReverse=function(t){e.move(t,!0)},e.restoreSelection=function(){var t=RO.get(e);null!=t&&(e.focus(),yp.Transforms.select(e,t))},e.getSelectionPosition=function(){return pk(e)},e.getNodePosition=function(t){return hk(e,t)},e.isSelectedAll=function(){var t=e.selection;if(null==t)return!1;var n=iC(yp.Range.edges(t),2),r=n[0],o=n[1],i=iC(yp.Editor.edges(e,[]),2),u=i[0],a=i[1];return!(!yp.Point.equals(r,u)||!yp.Point.equals(o,a))},e.selectAll=function(){var t=yp.Editor.start(e,[]),n=yp.Editor.end(e,[]);yp.Transforms.select(e,{anchor:t,focus:n})},e},mk={};!function(){if(gk)return mk;gk=1;var t=Tm(),e=bb(),n=px(),r=PE(),o=Ab(),i=Cw(),u=lD(),a=Cb(),s=_b(),c=vx(),l=JT(),f=gx(),d=e("".indexOf);n("match",function(e,n,p){return[function(n){var r=a(this),i=o(n)?s(n,e):void 0;return i?t(i,n,r):new RegExp(n)[e](u(r))},function(t){var e=r(this),o=u(t),a=p(n,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();const bk=t=>"string"==typeof t,Ek=()=>{let t,e;const n=new Promise((n,r)=>{t=n,e=r});return n.resolve=t,n.reject=e,n},wk=t=>null==t?"":""+t,Sk=/###/g,Ck=t=>t&&t.indexOf("###")>-1?t.replace(Sk,"."):t,Dk=t=>!t||bk(t),Ok=(t,e,n)=>{const r=bk(e)?e.split("."):e;let o=0;for(;o<r.length-1;){if(Dk(t))return{};const e=Ck(r[o]);!t[e]&&n&&(t[e]=new n),t=Object.prototype.hasOwnProperty.call(t,e)?t[e]:{},++o}return Dk(t)?{}:{obj:t,k:Ck(r[o])}},Ak=(t,e,n)=>{const{obj:r,k:o}=Ok(t,e,Object);if(void 0!==r||1===e.length)return void(r[o]=n);let i=e[e.length-1],u=e.slice(0,e.length-1),a=Ok(t,u,Object);for(;void 0===a.obj&&u.length;)i=`${u[u.length-1]}.${i}`,u=u.slice(0,u.length-1),a=Ok(t,u,Object),a&&a.obj&&void 0!==a.obj[`${a.k}.${i}`]&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=n},xk=(t,e)=>{const{obj:n,k:r}=Ok(t,e);if(n)return n[r]},Tk=(t,e,n)=>{for(const r in e)"__proto__"!==r&&"constructor"!==r&&(r in t?bk(t[r])||t[r]instanceof String||bk(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):Tk(t[r],e[r],n):t[r]=e[r]);return t},Nk=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Pk={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const kk=t=>bk(t)?t.replace(/[&<>"'\/]/g,t=>Pk[t]):t,Ik=[" ",",","?","!",";"],Bk=new class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const e=this.regExpMap.get(t);if(void 0!==e)return e;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}(20),Fk=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[e])return t[e];const r=e.split(n);let o=t;for(let t=0;t<r.length;){if(!o||"object"!=typeof o)return;let e,i="";for(let u=t;u<r.length;++u)if(u!==t&&(i+=n),i+=r[u],e=o[i],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&u<r.length-1)continue;t+=u-t+1;break}o=e}return o},Rk=t=>t&&t.replace("_","-"),_k={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};var jk=new class t{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||_k,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,n,r){return r&&!this.debug?null:(bk(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[e](t))}create(e){return new t(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}};let Lk=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);const n=this.observers[t].get(e)||0;this.observers[t].set(e,n+1)}),this}off(t,e){this.observers[t]&&(e?this.observers[t].delete(e):delete this.observers[t])}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(t=>{let[e,r]=t;for(let t=0;t<r;t++)e(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(e=>{let[r,o]=e;for(let e=0;e<o;e++)r.apply(r,[t,...n])})}},Mk=class extends Lk{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let u;t.indexOf(".")>-1?u=t.split("."):(u=[t,e],n&&(Array.isArray(n)?u.push(...n):bk(n)&&o?u.push(...n.split(o)):u.push(n)));const a=xk(this.data,u);return!a&&!e&&!n&&t.indexOf(".")>-1&&(t=u[0],e=u[1],n=u.slice(2).join(".")),!a&&i&&bk(n)?Fk(this.data&&this.data[t]&&this.data[t][e],n,o):a}addResource(t,e,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let u=[t,e];n&&(u=u.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(u=t.split("."),r=e,e=u[1]),this.addNamespaces(e),Ak(this.data,u,r),o.silent||this.emit("added",t,e,n,r)}addResources(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)(bk(n[r])||Array.isArray(n[r]))&&this.addResource(t,e,r,n[r],{silent:!0});r.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},u=[t,e];t.indexOf(".")>-1&&(u=t.split("."),r=n,n=e,e=u[1]),this.addNamespaces(e);let a=xk(this.data,u)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Tk(a,n,o):a={...a,...n},Ak(this.data,u,a),i.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return void 0!==this.getResource(t,e)}getResourceBundle(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(t,e)}:this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(t=>e[t]&&Object.keys(e[t]).length>0)}toJSON(){return this.data}};var zk={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,o){return t.forEach(t=>{this.processors[t]&&(e=this.processors[t].process(e,n,r,o))}),e}};const Hk={};let $k=class t extends Lk{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((t,e,n)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(t=>{e[t]&&(n[t]=e[t])})})(0,t,this),this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=jk.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;const n=this.resolve(t,e);return n&&void 0!==n.res}extractFromKey(t,e){let n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator;let o=e.ns||this.options.defaultNS||[];const i=n&&t.indexOf(n)>-1,u=!(this.options.userDefinedKeySeparator||e.keySeparator||this.options.userDefinedNsSeparator||e.nsSeparator||((t,e,n)=>{e=e||"",n=n||"";const r=Ik.filter(t=>e.indexOf(t)<0&&n.indexOf(t)<0);if(0===r.length)return!0;const o=Bk.getRegExp(`(${r.map(t=>"?"===t?"\\?":t).join("|")})`);let i=!o.test(t);if(!i){const e=t.indexOf(n);e>0&&!o.test(t.substring(0,e))&&(i=!0)}return i})(t,n,r));if(i&&!u){const e=t.match(this.interpolator.nestingRegexp);if(e&&e.length>0)return{key:t,namespaces:bk(o)?[o]:o};const i=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),t=i.join(r)}return{key:t,namespaces:bk(o)?[o]:o}}translate(e,n,r){if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n={...n}),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:u,namespaces:a}=this.extractFromKey(e[e.length-1],n),s=a[a.length-1],c=n.lng||this.language,l=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const t=n.nsSeparator||this.options.nsSeparator;return o?{res:`${s}${t}${u}`,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(n)}:`${s}${t}${u}`}return o?{res:u,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(n)}:u}const f=this.resolve(e,n);let d=f&&f.res;const p=f&&f.usedKey||u,h=f&&f.exactUsedKey||u,v=Object.prototype.toString.apply(d),g=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,m=!bk(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(y&&d&&m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(v)<0)||bk(g)&&Array.isArray(d))if(y&&bk(g)&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,n,r));else{let o=!1,a=!1;const l=void 0!==n.count&&!bk(n.count),p=t.hasDefaultValue(n),h=l?this.pluralResolver.getSuffix(c,n.count,n):"",v=n.ordinal&&l?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",g=l&&!n.ordinal&&0===n.count&&this.pluralResolver.shouldUseIntlApi(),y=g&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${h}`]||n[`defaultValue${v}`]||n.defaultValue;!this.isValidLookup(d)&&p&&(o=!0,d=y),this.isValidLookup(d)||(a=!0,d=u);const m=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,b=p&&y!==d&&this.options.updateMissing;if(a||o||b){if(this.logger.log(b?"updateKey":"missingKey",c,s,u,b?y:d),i){const t=this.resolve(u,{...n,keySeparator:!1});t&&t.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.")}let t=[];const e=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&e&&e[0])for(let n=0;n<e.length;n++)t.push(e[n]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(n.lng||this.language):t.push(n.lng||this.language);const r=(t,e,r)=>{const o=p&&r!==d?r:m;this.options.missingKeyHandler?this.options.missingKeyHandler(t,s,e,o,b,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,s,e,o,b,n),this.emit("missingKey",t,s,e,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?t.forEach(t=>{const e=this.pluralResolver.getSuffixes(t,n);g&&n[`defaultValue${this.options.pluralSeparator}zero`]&&e.indexOf(`${this.options.pluralSeparator}zero`)<0&&e.push(`${this.options.pluralSeparator}zero`),e.forEach(e=>{r([t],u+e,n[`defaultValue${e}`]||y)})}):r(t,u,y))}d=this.extendTranslation(d,e,n,f,r),a&&d===u&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${u}`),(a||o)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${u}`:u,o?d:void 0):this.options.parseMissingKeyHandler(d))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,{...n,ns:a}):`key '${u} (${this.language})' returned an object instead of string.`;return o?(f.res=t,f.usedParams=this.getUsedParamsDetails(n),f):t}if(i){const t=Array.isArray(d),e=t?[]:{},r=t?h:p;for(const t in d)if(Object.prototype.hasOwnProperty.call(d,t)){const o=`${r}${i}${t}`;e[t]=this.translate(o,{...n,joinArrays:!1,ns:a}),e[t]===o&&(e[t]=d[t])}d=e}}return o?(f.res=d,f.usedParams=this.getUsedParamsDetails(n),f):d}extendTranslation(t,e,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const u=bk(t)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(u){const e=t.match(this.interpolator.nestingRegexp);a=e&&e.length}let s=n.replace&&!bk(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),t=this.interpolator.interpolate(t,s,n.lng||this.language||r.usedLng,n),u){const e=t.match(this.interpolator.nestingRegexp);a<(e&&e.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];return o&&o[0]===r[0]&&!n.context?(i.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${e[0]}`),null):i.translate(...r,e)},n)),n.interpolation&&this.interpolator.reset()}const u=n.postProcess||this.options.postProcess,a=bk(u)?[u]:u;return null!=t&&a&&a.length&&!1!==n.applyPostProcessor&&(t=zk.handle(a,t,e,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let e,n,r,o,i,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return bk(t)&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(e))return;const a=this.extractFromKey(t,u),s=a.key;n=s;let c=a.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const l=void 0!==u.count&&!bk(u.count),f=l&&!u.ordinal&&0===u.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==u.context&&(bk(u.context)||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:this.languageUtils.toResolveHierarchy(u.lng||this.language,u.fallbackLng);c.forEach(t=>{this.isValidLookup(e)||(i=t,!Hk[`${p[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(Hk[`${p[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${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(n=>{if(this.isValidLookup(e))return;o=n;const i=[s];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,s,n,t,u);else{let t;l&&(t=this.pluralResolver.getSuffix(n,u.count,u));const e=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(l&&(i.push(s+t),u.ordinal&&0===t.indexOf(r)&&i.push(s+t.replace(r,this.options.pluralSeparator)),f&&i.push(s+e)),d){const n=`${s}${this.options.contextSeparator}${u.context}`;i.push(n),l&&(i.push(n+t),u.ordinal&&0===t.indexOf(r)&&i.push(n+t.replace(r,this.options.pluralSeparator)),f&&i.push(n+e))}}let a;for(;a=i.pop();)this.isValidLookup(e)||(r=a,e=this.getResource(n,t,a,u))}))})}),{res:e,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}getResource(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!bk(t.replace);let r=n?t.replace:t;if(n&&void 0!==t.count&&(r.count=t.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const t of e)delete r[t]}return r}static hasDefaultValue(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"defaultValue"===e.substring(0,12)&&void 0!==t[e])return!0;return!1}};const Uk=t=>t.charAt(0).toUpperCase()+t.slice(1);let Vk=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=jk.create("languageUtils")}getScriptPartFromCode(t){if(!(t=Rk(t))||t.indexOf("-")<0)return null;const e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}getLanguagePartFromCode(t){if(!(t=Rk(t))||t.indexOf("-")<0)return t;const e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(bk(t)&&t.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let e=Intl.getCanonicalLocales(t)[0];if(e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e)return e}catch(t){}const e=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(t=>t.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=Uk(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()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=Uk(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=Uk(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(t=>{if(e)return;const n=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(n)||(e=n)}),!e&&this.options.supportedLngs&&t.forEach(t=>{if(e)return;const n=this.getLanguagePartFromCode(t);if(this.isSupportedCode(n))return e=n;e=this.options.supportedLngs.find(t=>t===n?t:t.indexOf("-")<0&&n.indexOf("-")<0?void 0:t.indexOf("-")>0&&n.indexOf("-")<0&&t.substring(0,t.indexOf("-"))===n||0===t.indexOf(n)&&n.length>1?t:void 0)}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),bk(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){const n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),r=[],o=t=>{t&&(this.isSupportedCode(t)?r.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return bk(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):bk(t)&&o(this.formatLanguageCode(t)),n.forEach(t=>{r.indexOf(t)<0&&o(this.formatLanguageCode(t))}),r}},Gk=[{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}],Wk={1:t=>Number(t>1),2:t=>Number(1!=t),3:t=>0,4:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),5:t=>Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5),6:t=>Number(1==t?0:t>=2&&t<=4?1:2),7:t=>Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),8:t=>Number(1==t?0:2==t?1:8!=t&&11!=t?2:3),9:t=>Number(t>=2),10:t=>Number(1==t?0:2==t?1:t<7?2:t<11?3:4),11:t=>Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3),12:t=>Number(t%10!=1||t%100==11),13:t=>Number(0!==t),14:t=>Number(1==t?0:2==t?1:3==t?2:3),15:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2),16:t=>Number(t%10==1&&t%100!=11?0:0!==t?1:2),17:t=>Number(1==t||t%10==1&&t%100!=11?0:1),18:t=>Number(0==t?0:1==t?1:2),19:t=>Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3),20:t=>Number(1==t?0:0==t||t%100>0&&t%100<20?1:2),21:t=>Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0),22:t=>Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)};const qk=["v1","v2","v3"],Kk=["v4"],Yk={zero:0,one:1,two:2,few:3,many:4,other:5};let Xk=class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=jk.create("pluralResolver"),this.options.compatibilityJSON&&!Kk.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const t={};return Gk.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:Wk[e.fc]}})}),t})(),this.pluralRulesCache={}}addRule(t,e){this.rules[t]=e}clearCache(){this.pluralRulesCache={}}getRule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const n=Rk("dev"===t?"en":t),r=e.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(n,{type:r})}catch(n){if(!t.match(/-|_/))return;const r=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(r,e)}return this.pluralRulesCache[o]=i,i}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(t=>`${e}${t}`)}getSuffixes(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(t,e);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((t,e)=>Yk[t]-Yk[e]).map(t=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${t}`):n.numbers.map(n=>this.getSuffix(t,n,e)):[]}getSuffix(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(e)}`:this.getSuffixRetroCompatible(r,e):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,e){const n=t.noAbs?t.plurals(e):t.plurals(Math.abs(e));let r=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!qk.includes(this.options.compatibilityJSON)}};const Jk=function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=((t,e,n)=>{const r=xk(t,n);return void 0!==r?r:xk(e,n)})(t,e,n);return!i&&o&&bk(n)&&(i=Fk(t,n,r),void 0===i&&(i=Fk(e,n,r))),i},Zk=t=>t.replace(/\$/g,"$$$$");let Qk=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=jk.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:e,escapeValue:n,useRawValueToEscape:r,prefix:o,prefixEscaped:i,suffix:u,suffixEscaped:a,formatSeparator:s,unescapeSuffix:c,unescapePrefix:l,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:v,maxReplaces:g,alwaysFormat:y}=t.interpolation;this.escape=void 0!==e?e:kk,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=o?Nk(o):i||"{{",this.suffix=u?Nk(u):a||"}}",this.formatSeparator=s||",",this.unescapePrefix=c?"":l||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?Nk(f):d||Nk("$t("),this.nestingSuffix=p?Nk(p):h||Nk(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(t,e)=>t&&t.source===e?(t.lastIndex=0,t):new RegExp(e,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,n,r){let o,i,u;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},s=t=>{if(t.indexOf(this.formatSeparator)<0){const o=Jk(e,a,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...e,interpolationkey:t}):o}const o=t.split(this.formatSeparator),i=o.shift().trim(),u=o.join(this.formatSeparator).trim();return this.format(Jk(e,a,i,this.options.keySeparator,this.options.ignoreJSONStructure),u,n,{...r,...e,interpolationkey:i})};this.resetRegExp();const c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,l=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,f=[{regex:this.regexpUnescape,safeValue:t=>Zk(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?Zk(this.escape(t)):Zk(t)}];return f.forEach(e=>{for(u=0;o=e.regex.exec(t);){const n=o[1].trim();if(i=s(n),void 0===i)if("function"==typeof c){const e=c(t,o,r);i=bk(e)?e:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(l){i=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${t}`),i=""}else bk(i)||this.useRawValueToEscape||(i=wk(i));const a=e.safeValue(i);if(t=t.replace(o[0],a),l?(e.regex.lastIndex+=i.length,e.regex.lastIndex-=o[0].length):e.regex.lastIndex=0,u++,u>=this.maxReplaces)break}}),t}nest(t,e){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(t,e)=>{const n=this.nestingOptionsSeparator;if(t.indexOf(n)<0)return t;const r=t.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;t=r[0],i=this.interpolate(i,o);const u=i.match(/'/g),a=i.match(/"/g);(u&&u.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),e&&(o={...e,...o})}catch(e){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,e),`${t}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,t};for(;n=this.nestingRegexp.exec(t);){let a=[];o={...i},o=o.replace&&!bk(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let s=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const t=n[1].split(this.formatSeparator).map(t=>t.trim());n[1]=t.shift(),a=t,s=!0}if(r=e(u.call(this,n[1].trim(),o),o),r&&n[0]===t&&!bk(r))return r;bk(r)||(r=wk(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${t}`),r=""),s&&(r=a.reduce((t,e)=>this.format(t,e,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),t=t.replace(n[0],r),this.regexp.lastIndex=0}return t}};const tI=t=>{const e={};return(n,r,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const u=r+JSON.stringify(i);let a=e[u];return a||(a=t(Rk(r),o),e[u]=a),a(n)}};let eI=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=jk.create("formatter"),this.options=t,this.formats={number:tI((t,e)=>{const n=new Intl.NumberFormat(t,{...e});return t=>n.format(t)}),currency:tI((t,e)=>{const n=new Intl.NumberFormat(t,{...e,style:"currency"});return t=>n.format(t)}),datetime:tI((t,e)=>{const n=new Intl.DateTimeFormat(t,{...e});return t=>n.format(t)}),relativetime:tI((t,e)=>{const n=new Intl.RelativeTimeFormat(t,{...e});return t=>n.format(t,e.range||"day")}),list:tI((t,e)=>{const n=new Intl.ListFormat(t,{...e});return t=>n.format(t)})},this.init(t)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=e.interpolation.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=tI(e)}format(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=e.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(t=>t.indexOf(")")>-1)){const t=o.findIndex(t=>t.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,t)].join(this.formatSeparator)}const i=o.reduce((t,e)=>{const{formatName:o,formatOptions:i}=(t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===e&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===e&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(t=>{if(t){const[e,...r]=t.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,""),i=e.trim();n[i]||(n[i]=o),"false"===o&&(n[i]=!1),"true"===o&&(n[i]=!0),isNaN(o)||(n[i]=parseInt(o,10))}})}return{formatName:e,formatOptions:n}})(e);if(this.formats[o]){let e=t;try{const u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},a=u.locale||u.lng||r.locale||r.lng||n;e=this.formats[o](t,a,{...i,...r,...u})}catch(t){this.logger.warn(t)}return e}return this.logger.warn(`there was no format function for ${o}`),t},t);return i}},nI=class extends Lk{constructor(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=jk.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(t,e,n,r){const o={},i={},u={},a={};return t.forEach(t=>{let r=!0;e.forEach(e=>{const u=`${t}|${e}`;!n.reload&&this.store.hasResourceBundle(t,e)?this.state[u]=2:this.state[u]<0||(1===this.state[u]?void 0===i[u]&&(i[u]=!0):(this.state[u]=1,r=!1,void 0===i[u]&&(i[u]=!0),void 0===o[u]&&(o[u]=!0),void 0===a[e]&&(a[e]=!0)))}),r||(u[t]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(u),toLoadNamespaces:Object.keys(a)}}loaded(t,e,n){const r=t.split("|"),o=r[0],i=r[1];e&&this.emit("failedLoading",o,i,e),!e&&n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&n&&(this.state[t]=0);const u={};this.queue.forEach(n=>{((t,e,n)=>{const{obj:r,k:o}=Ok(t,e,Object);r[o]=r[o]||[],r[o].push(n)})(n.loaded,[o],i),((t,e)=>{void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)})(n,t),e&&n.errors.push(e),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(t=>{u[t]||(u[t]={});const e=n.loaded[t];e.length&&e.forEach(e=>{void 0===u[t][e]&&(u[t][e]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(t=>!t.done)}read(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:e,fcName:n,tried:r,wait:o,callback:i});this.readingCalls++;const u=(u,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}u&&a&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,t,e,n,r+1,2*o,i)},o):i(u,a)},a=this.backend[n].bind(this.backend);if(2!==a.length)return a(t,e,u);try{const n=a(t,e);n&&"function"==typeof n.then?n.then(t=>u(null,t)).catch(u):u(null,n)}catch(t){u(t)}}prepareLoading(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=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."),r&&r();bk(t)&&(t=this.languageUtils.toResolveHierarchy(t)),bk(e)&&(e=[e]);const o=this.queueLoad(t,e,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(t=>{this.loadOne(t)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=t.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${e}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${e}loaded namespace ${o} for language ${r}`,i),this.loaded(t,n,i)})}saveMissing(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e))this.logger.warn(`did not save key "${n}" as the namespace "${e}" 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!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const a={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let o;o=5===s.length?s(t,e,n,r,a):s(t,e,n,r),o&&"function"==typeof o.then?o.then(t=>u(null,t)).catch(u):u(null,o)}catch(t){u(t)}else s(t,e,n,r,u,a)}t&&t[0]&&this.store.addResource(t[0],e,n,r)}}};const rI=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if("object"==typeof t[1]&&(e=t[1]),bk(t[1])&&(e.defaultValue=t[1]),bk(t[2])&&(e.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){const n=t[3]||t[2];Object.keys(n).forEach(t=>{e[t]=n[t]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),oI=t=>(bk(t.ns)&&(t.ns=[t.ns]),bk(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),bk(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),iI=()=>{};let uI=class t extends Lk{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=oI(t),this.services={},this.logger=jk,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{"function"==typeof n[t]&&(n[t]=n[t].bind(n))}),e&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof e&&(n=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&(bk(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=rI();this.options={...r,...this.options,...oI(e)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);const o=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let e;this.modules.logger?jk.init(o(this.modules.logger),this.options):jk.init(null,this.options),this.modules.formatter?e=this.modules.formatter:"undefined"!=typeof Intl&&(e=eI);const n=new Vk(this.options);this.store=new Mk(this.options.resources,this.options);const i=this.services;i.logger=jk,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new Xk(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!e||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(i.formatter=o(e),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new Qk(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new nI(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit(e,...r)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new $k(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit(e,...r)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,n||(n=iI),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return t.store[e](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return t.store[e](...arguments),t}});const i=Ek(),u=()=>{const t=(t,e)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(e),n(t,e)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),i}loadResources(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:iI;const n=bk(t)?t:this.language;if("function"==typeof t&&(e=t),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return e();const t=[],r=e=>{e&&"cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&t.indexOf(e)<0&&t.push(e)})};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>r(t)),this.options.preload&&this.options.preload.forEach(t=>r(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),e(t)})}else e(null)}reloadResources(t,e,n){const r=Ek();return"function"==typeof t&&(n=t,t=void 0),"function"==typeof e&&(n=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),n||(n=iI),this.services.backendConnector.reload(t,e,t=>{r.resolve(),n(t)}),r}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&zk.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;const r=Ek();this.emit("languageChanging",t);const o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},i=(t,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),e&&e(t,function(){return n.t(...arguments)})},u=e=>{t||e||!this.services.languageDetector||(e=[]);const n=bk(e)?e:this.services.languageUtils.getBestMatchFromCodes(e);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,t=>{i(t,n)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(u):this.services.languageDetector.detect(u):u(t):u(this.services.languageDetector.detect()),r}getFixedT(t,e,n){var r=this;const o=function(t,e){let i;if("object"!=typeof e){for(var u=arguments.length,a=new Array(u>2?u-2:0),s=2;s<u;s++)a[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,e].concat(a))}else i={...e};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||n||o.keyPrefix);const c=r.options.keySeparator||".";let l;return l=i.keyPrefix&&Array.isArray(t)?t.map(t=>`${i.keyPrefix}${c}${t}`):i.keyPrefix?`${i.keyPrefix}${c}${t}`:t,r.t(l,i)};return bk(t)?o.lng=t:o.lngs=t,o.ns=e,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=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;const n=e.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(t,e)=>{const n=this.services.backendConnector.state[`${t}|${e}`];return-1===n||0===n||2===n};if(e.precheck){const t=e.precheck(this,i);if(void 0!==t)return t}return!(!this.hasResourceBundle(n,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(n,t)||r&&!i(o,t)))}loadNamespaces(t,e){const n=Ek();return this.options.ns?(bk(t)&&(t=[t]),t.forEach(t=>{this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){const n=Ek();bk(t)&&(t=[t]);const r=this.options.preload||[],o=t.filter(t=>r.indexOf(t)<0&&this.services.languageUtils.isSupportedCode(t));return o.length?(this.options.preload=r.concat(o),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const e=this.services&&this.services.languageUtils||new Vk(rI());return["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","ckb"].indexOf(e.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:iI;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},i=new t(o);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach(t=>{i[t]=this[t]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new Mk(this.store.data,o),i.services.resourceStore=i.store),i.translator=new $k(i.services,o),i.translator.on("*",function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];i.emit(t,...n)}),i.init(o,n),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};const aI=uI.createInstance();aI.createInstance=uI.createInstance,aI.createInstance,aI.dir,aI.init,aI.loadResources,aI.reloadResources,aI.use,aI.changeLanguage,aI.getFixedT,aI.t,aI.exists,aI.setDefaultNamespace,aI.hasLoadedNamespace,aI.loadNamespaces,aI.loadLanguages;var sI="translation";function cI(t,e){aI.addResourceBundle(t,sI,e,!0,!0)}function lI(t){return aI.on("languageChanged",t),function(){return aI.off("languageChanged",t)}}aI.init({lng:"zh-CN",resources:{}});var fI=aI.t.bind(aI);function dI(t){if(t.removeAttr){t.removeAttr("width"),t.removeAttr("height"),t.removeAttr("fill"),t.removeAttr("class"),t.removeAttr("t"),t.removeAttr("p-id");var e=t.children();e.length&&dI(e)}}function pI(){return Rp('<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 hI(){return Rp('<div class="w-e-bar-divider"></div>')}function vI(t,e,n,r,o){if(void 0===r&&(r=""),void 0===o&&(o=!1),e){if(r){var i=qN?"cmd":"ctrl";r=r.replace("mod",i)}if(o)r&&(t.attr("data-tooltip",r),t.addClass("w-e-menu-tooltip-v5"),t.addClass("tooltip-right"));else{var u=r?"".concat(n,"\n").concat(r):n;t.attr("data-tooltip",u),t.addClass("w-e-menu-tooltip-v5")}}}var gI=function(){function t(t,e,n){void 0===n&&(n=!1);var r=this;this.$elem=Rp('<div class="w-e-bar-item"></div>'),this.$button=Rp('<button type="button"></button>'),this.disabled=!1,this.menu=e;var o=e.tag,i=e.width;if("button"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'button'"));var u=e.title,a=e.hotkey,s=void 0===a?"":a,c=e.iconSvg,l=void 0===c?"":c,f=this.$button;if(l){var d=Rp(l);dI(d),f.append(d)}else f.text(u);vI(f,l,u,s,n),n&&l&&f.append(Rp('<span class="title">'.concat(u,"</span>"))),i&&f.css("width","".concat(i,"px")),f.attr("data-menu-key",t),this.$elem.append(f),nN(function(){return r.init()})}return t.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(e){e.preventDefault(),NI(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},t.prototype.exec=function(){var t=NI(this),e=this.menu,n=e.getValue(t);this.setIcon(),this.setTooltip(),e.exec(t,n)},t.prototype.setActive=function(){var t=NI(this),e=this.$button,n="active";this.menu.isActive(t)?e.addClass(n):e.removeClass(n)},t.prototype.setDisabled=function(){var t=NI(this),e=this.$button,n=this.menu.isDisabled(t);(null==t.selection||t.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?e.addClass(r):e.removeClass(r),this.disabled=n},t.prototype.setIcon=function(){var t=NI(this),e=this.$button;if(this.menu.getIcon){var n=this.menu.getIcon(t);if(n){e.find("svg").remove();var r=Rp(n);dI(r),e.append(r)}}},t.prototype.setTooltip=function(){var t=NI(this),e=this.$button;if(this.menu.getTitle){var n=this.menu.getTitle(t),r=this.menu.iconSvg;n&&r&&vI(e,r,n)}},t.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},t}(),yI=function(t){function e(e,n,r){return void 0===r&&(r=!1),t.call(this,e,n,r)||this}return nC(e,t),e.prototype.onButtonClick=function(){},e}(gI),mI=function(){function t(t){this.isShow=!1,this.showTime=0,this.record(t)}return t.prototype.record=function(t){var e=mO.get(t);null==e&&(e=new Set,mO.set(t,e)),e.add(this),bO.set(this,t)},t.prototype.renderContent=function(t){var e=this.$elem;e.empty(),e.append(t);var n=this.genSelfElem();n&&e.append(n)},t.prototype.appendTo=function(t){var e=this.$elem;t.append(e)},t.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=bO.get(this);t&&t.emit("modalOrPanelShow",this)}},t.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=bO.get(this);t&&t.emit("modalOrPanelHide")}},t}(),bI=function(t){function e(e){var n=t.call(this,e)||this;return n.type="dropPanel",n.$elem=Rp('<div class="w-e-drop-panel"></div>'),n}return nC(e,t),e.prototype.genSelfElem=function(){return null},e}(mI),EI=function(t){function e(e,n,r){void 0===r&&(r=!1);var o=t.call(this,e,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=pI();o.$button.append(i)}return o}return nC(e,t),e.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},e.prototype.handleDropPanel=function(){var t=this.menu;if(null!=t.getPanelContentElem){var e=NI(this);if(null==this.dropPanel){var n=new bI(e),r=t.getPanelContentElem(e);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n}else{var o=this.dropPanel;o.isShow?o.hide():(r=t.getPanelContentElem(e),o.renderContent(r),o.show())}var i=this.dropPanel;if(i.isShow){var u=this.$elem,a=u.offset().left,s=u.parents(".w-e-bar");a-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},e}(gI),wI=function(t){function e(e,n){void 0===n&&(n=0);var r=t.call(this,e)||this;r.type="modal",r.$elem=Rp('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",function(t){return t.stopPropagation()}),o.on("keyup",function(t){"Escape"===t.code&&(r.hide(),e.restoreSelection())}),r}return nC(e,t),e.prototype.genSelfElem=function(){var t=this,e=Rp('<span class="btn-close">'.concat('<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=bO.get(this);return e.on("click",function(){t.hide(),null==n||n.restoreSelection()}),e},e.prototype.setStyle=function(t){var e=this.width,n=this.$elem;n.attr("style",""),e&&n.css("width","".concat(e,"px")),n.css(t)},e}(mI);function SI(t,e,n){var r=Rp('<label class="babel-container"></label>');r.append("<span>".concat(t,"</span>"));var o=Rp('<input type="text" id="'.concat(e,'" placeholder="').concat(n||"",'">'));return r.append(o),[r[0],o[0]]}function CI(t,e){var n=Rp('<div class="button-container"></div>'),r=Rp('<button type="button" id="'.concat(t,'">').concat(e,"</button>"));return n.append(r),[n[0],r[0]]}var DI=function(t){function e(e,n,r){void 0===r&&(r=!1);var o=t.call(this,e,n,r)||this;return o.$body=Rp("body"),o.modal=null,o.menu=n,o}return nC(e,t),e.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},e.prototype.getPosition=function(){var t=NI(this),e=this.menu.getModalPositionNode(t);return yp.Element.isElement(e)?hk(t,e,"modal"):pk(t)},e.prototype.handleModal=function(){var t=NI(this),e=this.menu;if(null==this.modal){var n=new wI(t,e.modalWidth);this.renderAndShowModal(n,!0),this.modal=n}else(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1)},e.prototype.renderAndShowModal=function(t,e){void 0===e&&(e=!1);var n=NI(this),r=this.menu;if(null!=r.getModalContentElem){var o=tP.getTextarea(n),i=tP.getToolbar(n),u=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,a=r.getModalContentElem(n);if(t.renderContent(a),u)t.setStyle({left:"0",right:"0"});else{var s=this.getPosition();t.setStyle(s)}e&&(u?t.appendTo(this.$body):t.appendTo(o.$textAreaContainer)),t.show(),u||vk(n,t.$elem),setTimeout(function(){n.blur()})}},e}(gI),OI=function(t){function e(e,n){var r=t.call(this,e)||this;return r.type="selectList",r.$elem=Rp('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width","".concat(n,"px")),r.$elem.on("click",function(t){t.stopPropagation()}),r}return nC(e,t),e.prototype.renderList=function(t){var e=this.$elem;e.empty();var n=Rp("<ul></ul>");t.forEach(function(t){var e=t.value,r=t.text,o=t.selected,i=t.styleForRenderMenuList,u=Rp('<li data-value="'.concat(e,'"></li>'));if(i&&u.css(i),o){var a=Rp('<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>');u.append(a),u.addClass("selected")}u.append(Rp('<span data-value="'.concat(e,'">').concat(r,"</span>"))),u.attr("title",r),n.append(u)}),e.append(n)},e.prototype.genSelfElem=function(){return null},e}(mI),AI=function(){function t(t,e,n){void 0===n&&(n=!1);var r=this;this.$elem=Rp('<div class="w-e-bar-item"></div>'),this.$button=Rp('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=e.tag,i=e.title,u=e.width,a=e.iconSvg,s=void 0===a?"":a,c=e.hotkey,l=void 0===c?"":c;if("select"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'select'"));var f=this.$button;u&&f.css("width","".concat(u,"px")),f.attr("data-menu-key",t),vI(f,s,i,l,n),this.$elem.append(f),this.menu=e,nN(function(){return r.init()})}return t.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(e){e.preventDefault(),NI(t).hidePanelOrModal(),t.trigger()})},t.prototype.trigger=function(){var t=this,e=NI(this);if(!e.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new OI(e,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(e);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",function(e){var n=e.target;if(null!=n){e.preventDefault();var r=Rp(n).attr("data-value");t.onChange(r)}})}else(r=this.selectList).isShow?r.hide():(o=n.getOptions(e),r.renderList(o),r.show())}},t.prototype.onChange=function(t){var e=NI(this),n=this.menu;n.exec&&n.exec(e,t)},t.prototype.setSelectedValue=function(){var t=NI(this),e=this.menu,n=e.getValue(t),r=function(t,e){for(var n=t.length,r="",o=0;o<n;o++){var i=t[o];if(i.value===e){r=i.text;break}}return r}(e.getOptions(t),n.toString()),o=this.$button,i=pI();o.empty(),o.text(r),o.append(i)},t.prototype.setDisabled=function(){var t=NI(this),e=this.menu.isDisabled(t),n=this.$button;(null==t.selection||t.isDisabled())&&(e=!0);var r="disabled";e?n.addClass(r):n.removeClass(r),this.disabled=e},t.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},t}(),xI=function(){function t(t){this.$elem=Rp('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=Rp('<div class="w-e-bar-item-menus-container"></div>'),this.$button=Rp('<button type="button"></button>');var e=t.key,n=t.iconSvg,r=t.title,o=this.$elem,i=this.$button;if(n){var u=Rp(n);dI(u),i.append(u)}else i.text(r);i.attr("data-menu-key",e);var a=pI();i.append(a),o.append(i);var s=this.$container;o.append(s);var c=this.createObserver();this.observe(c)}return t.prototype.appendBarItem=function(t){var e=t.$elem;this.$container.append(e)},t.prototype.observe=function(t){var e=this.$container;t.observe(e[0],{childList:!0,subtree:!0,attributes:!0})},t.prototype.createObserver=function(){var t=this,e=this.$container,n=this.$button,r=new MutationObserver(function(){var o=e.find("button"),i=o.length;if(0!==i){var u=0;o.each(function(t){Rp(t).hasClass("disabled")&&u++}),r.disconnect(),u===i?n.addClass("disabled"):n.removeClass("disabled"),t.observe(r)}});return r},t}(),TI=new WeakMap;function NI(t){var e=yO.get(t);if(null==e)throw new Error("Can not get editor instance");return e}function PI(t,e,n){void 0===n&&(n=!1);var r=TI.get(e);if(r)return r;var o=e.tag;if("button"===o){var i=e.showDropPanel,u=e.showModal;r=i?new EI(t,e,n):u?new DI(t,e,n):new yI(t,e,n)}if("select"===o&&(r=new AI(t,e,n)),null==r)throw new Error("Invalid tag in menu ".concat(JSON.stringify(e)));return TI.set(e,r),r}function kI(t,e){var n=t.selection;return null!=n&&!yp.Range.isCollapsed(n)&&!tP.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var n=e.type;return!!["pre","code","table"].includes(n)})&&!!yp.Text.isText(e)}var II,BI=function(){function t(){var t=this;this.$elem=Rp('<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.lngListen=function(){},this.changeHoverbarState=Oh(function(){var e=t.isShow,n=t.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys,u=void 0===i?[]:i,a=t.getEditorInstance();if(null!=o&&t.changeItemsState(),o&&yp.Element.isElement(o)&&e){var s=t.isSamePath(o,t.prevSelectedNode);if(!yp.Editor.isBlock(a,o)&&s)return}t.hideAndClean(),null!=o&&(t.registerItems(u),t.setPosition(o),t.show()),t.prevSelectedNode=o},200),nN(function(){var e=t.getEditorInstance(),n=t.$elem;n.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),tP.getTextarea(e).$textAreaContainer.append(n),e.on(cC,t.changeHoverbarState);var r=t.hideAndClean.bind(t);e.on(lC,r),e.on("fullscreen",r),e.on("unFullScreen",r)}),this.lngListen=lI(function(){t.menus={},t.hideAndClean(),t.getEditorInstance().deselect()})}return t.prototype.getMenus=function(){return this.menus},t.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},t.prototype.checkPositionBottom=function(){var t=this.$elem,e=!1,n="undefined"!=typeof window?window.innerHeight:null;n&&n>=360&&n-t[0].getBoundingClientRect().bottom<360&&(e=!0),e?t.addClass("w-e-bar-bottom"):t.removeClass("w-e-bar-bottom")},t.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},t.prototype.changeItemsState=function(){var t=this;nN(function(){t.hoverbarItems.forEach(function(t){t.changeMenuState()})})},t.prototype.registerItems=function(t){var e=this,n=this.$elem;t.forEach(function(t){if("|"!==t)e.registerSingleItem(t);else{var r=hI();n.append(r)}})},t.prototype.registerSingleItem=function(t){var e=this.getEditorInstance(),n=this.menus,r=n[t];if(null==r){var o=fC[t];if(null==o)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof o)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));r=o(),n[t]=r}var i=e.getMenuConfig(t);i&&void 0!==i.iconSvg&&(r.iconSvg=i.iconSvg);var u=PI(t,r);this.hoverbarItems.push(u),yO.set(u,e),this.$elem.append(u.$elem)},t.prototype.setPosition=function(t){var e=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),yp.Element.isElement(t)){var r=hk(e,t,"bar");return n.css(r),void vk(e,n)}if(yp.Text.isText(t))return r=pk(e),n.css(r),void vk(e,n);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},t.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(null==t.selection)return null;var e=this.getHoverbarKeysConf(),n=null,r=[],o=function(o){var i=e[o],u=i.match,a=i.menuKeys,s=void 0===a?[]:a,c=u||function(t,e){return tP.checkNodeType(e,o)},l=iC(yp.Editor.nodes(t,{match:function(e){return c(t,e)},universal:!0}),1),f=l[0];if(null!=f)return n=f[0],r=s,"break"};for(var i in e)if("break"===o(i))break;return null==n||0===r.length?null:{node:n,menuKeys:r}},t.prototype.getEditorInstance=function(){var t=vO.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,e=void 0===t?{}:t,n=e.text;return n&&null==n.match&&(n.match=kI),e},t.prototype.isSamePath=function(t,e){if(null==t||null==e)return!1;var n=tP.findPath(null,t),r=tP.findPath(null,e);return yp.Path.equals(n,r)},t.prototype.destroy=function(){var t;this.changeHoverbarState.cancel(),this.$elem.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},t}(),FI={};function RI(t,e){return aN(e)&&tP.hasDOMNode(t,e,{editable:!0})}function _I(t,e){if(t.getConfig().readOnly)return!1;var n=jI(t,e)&&tP.toSlateNode(t,e);return yp.Editor.isVoid(t,n)}function jI(t,e){return aN(e)&&tP.hasDOMNode(t,e)}!function(){if(II)return FI;II=1;var t,e=aS(),n=US(),r=EE().f,o=Cw(),i=lD(),u=aA(),a=Cb(),s=sA(),c=sE(),l=n("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=r(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var n=o(f(arguments.length>1?arguments[1]:void 0,e.length)),r=i(t);return l(e,n,n+r.length)===r}})}();const LI=t=>"object"==typeof t&&null!=t&&1===t.nodeType,MI=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,zI=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){const n=getComputedStyle(t,null);return MI(n.overflowY,e)||MI(n.overflowX,e)||(t=>{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return!1},HI=(t,e,n,r,o,i,u,a)=>i<t&&u>e||i>t&&u<e?0:i<=t&&a<=n||u>=e&&a>=n?i-t-r:u>e&&a<n||i<t&&a>n?u-e+o:0,$I=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e},UI=(t,e)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:u,block:a,inline:s,boundary:c,skipOverflowHiddenElements:l}=e,f="function"==typeof c?c:t=>t!==c;if(!LI(t))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,p=[];let h=t;for(;LI(h)&&f(h);){if(h=$I(h),h===d){p.push(h);break}null!=h&&h===document.body&&zI(h)&&!zI(document.documentElement)||null!=h&&zI(h,l)&&p.push(h)}const v=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:y,scrollY:m}=window,{height:b,width:E,top:w,right:S,bottom:C,left:D}=t.getBoundingClientRect(),{top:O,right:A,bottom:x,left:T}=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);let N="start"===a||"nearest"===a?w-O:"end"===a?C+x:w+b/2-O+x,P="center"===s?D+E/2-T+A:"end"===s?S+A:D-T;const k=[];for(let t=0;t<p.length;t++){const e=p[t],{height:n,width:r,top:o,right:i,bottom:c,left:l}=e.getBoundingClientRect();if("if-needed"===u&&w>=0&&D>=0&&C<=g&&S<=v&&(e===d&&!zI(e)||w>=o&&C<=c&&D>=l&&S<=i))return k;const f=getComputedStyle(e),h=parseInt(f.borderLeftWidth,10),O=parseInt(f.borderTopWidth,10),A=parseInt(f.borderRightWidth,10),x=parseInt(f.borderBottomWidth,10);let T=0,I=0;const B="offsetWidth"in e?e.offsetWidth-e.clientWidth-h-A:0,F="offsetHeight"in e?e.offsetHeight-e.clientHeight-O-x:0,R="offsetWidth"in e?0===e.offsetWidth?0:r/e.offsetWidth:0,_="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(d===e)T="start"===a?N:"end"===a?N-g:"nearest"===a?HI(m,m+g,g,O,x,m+N,m+N+b,b):N-g/2,I="start"===s?P:"center"===s?P-v/2:"end"===s?P-v:HI(y,y+v,v,h,A,y+P,y+P+E,E),T=Math.max(0,T+m),I=Math.max(0,I+y);else{T="start"===a?N-o-O:"end"===a?N-c+x+F:"nearest"===a?HI(o,c,n,O,x+F,N,N+b,b):N-(o+n/2)+F/2,I="start"===s?P-l-h:"center"===s?P-(l+r/2)+B/2:"end"===s?P-i+A+B:HI(l,i,r,h,A+B,P,P+E,E);const{scrollLeft:t,scrollTop:u}=e;T=0===_?0:Math.max(0,Math.min(u+T/_,e.scrollHeight-n/_+F)),I=0===R?0:Math.max(0,Math.min(t+I/R,e.scrollWidth-r/R+B)),N+=u-T,P+=t-I}k.push({el:e,top:T,left:I})}return k};function VI(t,e,n){void 0===n&&(n=!1);var r=e.selection,o=e.getConfig(),i=tP.findDocumentOrShadowRoot(e).getSelection();if(i&&(!t.isComposing||n)&&e.isFocused()){var u="None"!==i.type;if(r||u){var a=TO.get(e),s=!1;if(a.contains(i.anchorNode)&&a.contains(i.focusNode)&&(s=!0),u&&s&&r){var c=tP.toSlateRange(e,i,{exactMatch:!0,suppressThrow:!0});if(c&&yp.Range.equals(c,r)){var l=!0;if(yp.Range.isCollapsed(r)){var f=i.anchorNode,d=i.anchorOffset;if(f===a){var p=a.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(l=!1),(h=p[d-1])&&h.matches("table")&&(l=!1)}}if(l)return}}if(!r||tP.hasRange(e,r)){t.isUpdatingSelection=!0;var v=r&&tP.toDOMRange(e,r);if(v){yp.Range.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]")&&v.getBoundingClientRect){g.getBoundingClientRect=v.getBoundingClientRect.bind(v);var y=document.body;(function(t,e){if(!t.isConnected||!(t=>{let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1})(t))return;const n=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(e))return e.behavior(UI(t,e));const r="boolean"==typeof e||null==e?void 0:e.behavior;for(const{el:o,top:i,left:u}of UI(t,(t=>!1===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"})(e))){const t=i-n.top+n.bottom,e=u-n.left+n.right;o.scroll({top:t,left:e,behavior:r})}})(g,{scrollMode:"if-needed",boundary:o.scroll?a.parentElement:y,block:"end",behavior:"smooth"}),delete g.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){v&&KN&&a.focus(),t.isUpdatingSelection=!1})}else e.selection=tP.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})}}}var GI=new WeakMap,WI=new WeakMap,qI={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"},KI={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"},YI={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},XI=function(t){var e=qI[t],n=KI[t],r=YI[t],o=e&&Ph.isKeyHotkey(e),i=n&&Ph.isKeyHotkey(n),u=r&&Ph.isKeyHotkey(r);return function(t){return!(!o||!o(t))||!!(qN&&i&&i(t))||!(qN||!u||!u(t))}},JI={isBold:XI("bold"),isCompose:XI("compose"),isMoveBackward:XI("moveBackward"),isMoveForward:XI("moveForward"),isDeleteBackward:XI("deleteBackward"),isDeleteForward:XI("deleteForward"),isDeleteLineBackward:XI("deleteLineBackward"),isDeleteLineForward:XI("deleteLineForward"),isDeleteWordBackward:XI("deleteWordBackward"),isDeleteWordForward:XI("deleteWordForward"),isExtendBackward:XI("extendBackward"),isExtendForward:XI("extendForward"),isExtendLineBackward:XI("extendLineBackward"),isExtendLineForward:XI("extendLineForward"),isItalic:XI("italic"),isMoveLineBackward:XI("moveLineBackward"),isMoveLineForward:XI("moveLineForward"),isMoveWordBackward:XI("moveWordBackward"),isMoveWordForward:XI("moveWordForward"),isRedo:XI("redo"),isSplitBlock:XI("splitBlock"),isTransposeCharacter:XI("transposeCharacter"),isUndo:XI("undo"),isTab:XI("tab"),isSelectAll:XI("selectAll")};function ZI(t){t.preventDefault()}var QI,tB,eB,nB={beforeinput:function(t,e,n){var r=t,o=n.getConfig().readOnly;if(QN&&!o&&RI(n,r.target)){var i=n.selection,u=r.inputType,a=r.dataTransfer||r.data||void 0;if("insertCompositionText"!==u&&"deleteCompositionText"!==u){if(r.preventDefault(),!u.startsWith("delete")||u.startsWith("deleteBy")){var s=iC(r.getTargetRanges(),1)[0];if(s){var c=tP.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&yp.Range.equals(i,c)||yp.Transforms.select(n,c)}}if(i&&yp.Range.isExpanded(i)){var l=tP.getSelectedElems(n),f="table"===l[0].type,d="table-cell"!==l[l.length-1].type;if(f&&d)return;if(u.startsWith("delete")){var p=u.endsWith("Backward")?"backward":"forward";return void yp.Editor.deleteFragment(n,{direction:p})}}switch(u){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":yp.Editor.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":yp.Editor.deleteForward(n);break;case"deleteContentBackward":yp.Editor.deleteBackward(n);break;case"deleteEntireSoftLine":yp.Editor.deleteBackward(n,{unit:"line"}),yp.Editor.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":yp.Editor.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":yp.Editor.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":yp.Editor.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":yp.Editor.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":yp.Editor.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":yp.Editor.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":yp.Editor.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===u&&!jO.get(n))break;!function(t){return"[object DataTransfer]"===oN(t)}(a)?"string"==typeof a&&yp.Editor.insertText(n,a):n.insertData(a)}}}},blur:function(t,e,n){var r=t,o=e.isUpdatingSelection,i=e.latestElement;if(!n.getConfig().readOnly&&!o&&RI(n,r.target)){var u=tP.findDocumentOrShadowRoot(n);if(i!==u.activeElement){var a=r.relatedTarget;if(!(a===tP.toDOMNode(n,n)||cN(a)&&a.hasAttribute("data-slate-spacer"))){if(null!=a&&aN(a)&&tP.hasDOMNode(n,a)){var s=tP.toSlateNode(n,a);if(yp.Element.isElement(s)&&!n.isVoid(s))return}if(YN){var c=u.getSelection();null==c||c.removeAllRanges()}FO.delete(n)}}}},focus:function(t,e,n){var r=tP.toDOMNode(n,n),o=tP.findDocumentOrShadowRoot(n);e.latestElement=o.activeElement,KN&&t.target!==r?r.focus():FO.set(n,!0)},click:function(t,e,n){if(!n.getConfig().readOnly&&jI(n,t.target)&&aN(t.target)){var r=tP.toSlateNode(n,t.target),o=tP.findPath(n,r);if(yp.Editor.hasPath(n,o)&&yp.Node.get(n,o)===r){var i=yp.Editor.start(n,o),u=yp.Editor.end(n,o),a=yp.Editor.void(n,{at:i}),s=yp.Editor.void(n,{at:u});if(a&&s&&yp.Path.equals(a[1],s[1])){var c=yp.Editor.range(n,i);yp.Transforms.select(n,c)}}}},compositionstart:function(t,e,n){if(RI(n,t.target)){var r=n.selection;if(r&&yp.Range.isExpanded(r)&&(yp.Editor.deleteFragment(n),Promise.resolve().then(function(){VI(e,n,!0)})),n.selection){var o=tP.toDOMRange(n,n.selection).startContainer,i=o.textContent||"";GI.set(n,i),WI.set(n,o)}e.isComposing=!0,function(t,e){var n;e.getConfig().placeholder&&e.isEmpty()&&t.showPlaceholder&&(null===(n=t.$placeholder)||void 0===n||n.hide(),t.showPlaceholder=!1)}(e,n)}},compositionend:function(t,e,n){var r=t;if(RI(n,r.target)){e.isComposing=!1;var o=n.selection;if(null!=o){(ZN||KN)&&tP.cleanExposedTexNodeInSelectionBlock(n);for(var i=yp.Range.isBackward(o)?o.focus:o.anchor,u=iC(yp.Editor.node(n,[i.path[0]]),1)[0],a=0;a<i.path.length;a+=1){var s=iC(yp.Editor.node(n,i.path.slice(0,a+1)),1)[0];if(yp.Element.isElement(s)&&((YN||KN)&&"link"===s.type||"code"===s.type)){tP.setNewKey(u);break}}var c=r.data;if(c){if(n.getConfig().maxLength){var l=tP.getLeftLengthOfMaxLength(n);if(l<c.length){var f=tP.toDOMRange(n,o);f.startContainer.nodeType===Node.TEXT_NODE&&(f.startContainer.textContent=GI.get(n)||""),l>0&&yp.Editor.insertText(n,c.slice(0,l)),e.changeViewState()}else yp.Editor.insertText(n,c)}else{var d=tP.findDocumentOrShadowRoot(n).getSelection();d&&function(t,e){if(yp.Range.isCollapsed(e)){var n=e.anchor,r=e.focus;if([2,3].includes(n.path.length)&&[2,3].includes(r.path.length)&&(0===n.offset||0===r.offset)){var o=yp.Editor.node(t,n.path),i=0===n.offset?n.path:r.path,u=[i[0],i[1]-1];if(0===i[1])return!1;var a=yp.Editor.node(t,u);if(yp.Text.isText(a[0])&&yp.Text.isText(o[0]))return!0}}}(n,o)&&(n.selection=tP.toSlateRange(n,d,{exactMatch:!1,suppressThrow:!1})),yp.Editor.insertText(n,c)}YN||setTimeout(function(){var t=n.selection;if(null!=t){var e=WI.get(n);null!=e&&tP.toDOMRange(n,t).startContainer!==e&&(e.textContent=GI.get(n)||"")}})}}}},compositionupdate:function(t,e,n){RI(n,t.target)&&(e.isComposing=!0)},keydown:function(t,e,n){var r=t,o=n.selection;if(!n.getConfig().readOnly&&!e.isComposing&&RI(n,r.target)){if(function(t,e){var n=hO.get(t),r=n&&n.getMenus(),o=gO.get(t),i=o&&o.getMenus(),u=rC(rC({},r),i);for(var a in u){var s=u[a],c=s.hotkey;if(c&&Ph.isHotkey(c,e)&&!s.isDisabled(t)){var l=s.getValue(t);s.exec(t,l)}}}(n,r),JI.isTab(r))return ZI(r),void n.handleTab();if(JI.isRedo(r))return ZI(r),void("function"==typeof n.redo&&n.redo());if(JI.isUndo(r))return ZI(r),void("function"==typeof n.undo&&n.undo());if(JI.isMoveLineBackward(r))return ZI(r),void yp.Transforms.move(n,{unit:"line",reverse:!0});if(JI.isMoveLineForward(r))return ZI(r),void yp.Transforms.move(n,{unit:"line"});if(JI.isExtendLineBackward(r))return ZI(r),void yp.Transforms.move(n,{unit:"line",edge:"focus",reverse:!0});if(JI.isExtendLineForward(r))return ZI(r),void yp.Transforms.move(n,{unit:"line",edge:"focus"});if(JI.isMoveBackward(r))return ZI(r),void(o&&yp.Range.isCollapsed(o)?yp.Transforms.move(n,{reverse:!0}):yp.Transforms.collapse(n,{edge:"start"}));if(JI.isMoveForward(r))return ZI(r),void(o&&yp.Range.isCollapsed(o)?yp.Transforms.move(n):yp.Transforms.collapse(n,{edge:"end"}));if(JI.isMoveWordBackward(r))return ZI(r),o&&yp.Range.isExpanded(o)&&yp.Transforms.collapse(n,{edge:"focus"}),void yp.Transforms.move(n,{unit:"word",reverse:!0});if(JI.isMoveWordForward(r))return ZI(r),o&&yp.Range.isExpanded(o)&&yp.Transforms.collapse(n,{edge:"focus"}),void yp.Transforms.move(n,{unit:"word"});if(JI.isSelectAll(r))return ZI(r),void n.selectAll();if(QN){if((ZN||YN)&&o&&(JI.isDeleteBackward(r)||JI.isDeleteForward(r))&&yp.Range.isCollapsed(o)){var i=yp.Node.parent(n,o.anchor.path);if(yp.Element.isElement(i)&&yp.Editor.isVoid(n,i)&&yp.Editor.isInline(n,i))return r.preventDefault(),void yp.Transforms.delete(n,{unit:"block"})}}else{if(JI.isBold(r)||JI.isItalic(r)||JI.isTransposeCharacter(r))return void ZI(r);if(JI.isSplitBlock(r))return ZI(r),void yp.Editor.insertBreak(n);if(JI.isDeleteBackward(r))return ZI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"backward"}):yp.Editor.deleteBackward(n));if(JI.isDeleteForward(r))return ZI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"forward"}):yp.Editor.deleteForward(n));if(JI.isDeleteLineBackward(r))return ZI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"backward"}):yp.Editor.deleteBackward(n,{unit:"line"}));if(JI.isDeleteLineForward(r))return ZI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"forward"}):yp.Editor.deleteForward(n,{unit:"line"}));if(JI.isDeleteWordBackward(r))return ZI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"backward"}):yp.Editor.deleteBackward(n,{unit:"word"}));if(JI.isDeleteWordForward(r))return ZI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"forward"}):yp.Editor.deleteForward(n,{unit:"word"}))}}},keypress:function(t,e,n){if(!QN&&!n.getConfig().readOnly&&RI(n,t.target)){t.preventDefault();var r=t.key;yp.Editor.insertText(n,r)}},copy:function(t,e,n){var r=t;if(RI(n,r.target)){n.getConfig().readOnly||r.preventDefault();var o=r.clipboardData;if(null!=o){n.setFragmentData(o);var i=n.getConfig().customCopy;i&&i(n,r)}}},cut:function(t,e,n){var r=t,o=n.selection;if(!n.getConfig().readOnly&&(r.preventDefault(),RI(n,r.target))){var i=r.clipboardData;if(null!=i&&(n.setFragmentData(i),o))if(yp.Range.isExpanded(o))yp.Editor.deleteFragment(n);else{var u=yp.Node.parent(n,o.anchor.path);yp.Editor.isVoid(n,u)&&yp.Transforms.delete(n)}}},paste:function(t,e,n){jO.set(n,!0);var r=t;if(!n.getConfig().readOnly&&RI(n,r.target)){var o=n.getConfig().customPaste;if(o&&!1===o(n,r))return void jO.set(n,!1);if(YN||!QN||function(t){return t.clipboardData&&""!==t.clipboardData.getData("text/plain")&&1===t.clipboardData.types.length}(r)){r.preventDefault();var i=r.clipboardData;null!=i&&n.insertData(i)}}},dragover:function(t,e,n){if(jI(n,t.target)){var r=tP.toSlateNode(n,t.target);yp.Editor.isVoid(n,r)&&t.preventDefault()}},dragstart:function(t,e,n){var r=t;if(jI(n,r.target)&&!n.getConfig().readOnly){var o=tP.toSlateNode(n,r.target),i=tP.findPath(n,o);if(yp.Editor.isVoid(n,o)||yp.Editor.void(n,{at:i,voids:!0})){var u=yp.Editor.range(n,i);yp.Transforms.select(n,u)}var a=r.dataTransfer;null!=a&&(tP.getSelectedNodeByType(n,"table")||(e.isDraggingInternally=!0,n.setFragmentData(a)))}},dragend:function(t,e,n){var r=t;n.getConfig().readOnly||e.isDraggingInternally&&jI(n,r.target)&&(e.isDraggingInternally=!1)},drop:function(t,e,n){var r=t,o=r.dataTransfer;if(!n.getConfig().readOnly&&jI(n,r.target)&&null!=o&&!(QN&&YN&&o.files.length>0)){r.preventDefault();var i=n.selection,u=tP.findEventRange(n,r);yp.Transforms.select(n,u),e.isDraggingInternally&&(i&&yp.Transforms.delete(n,{at:i}),e.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},rB={};!function(){if(eB)return rB;eB=1;var t=aS(),e=function(){if(tB)return QI;tB=1;var t=Am(),e=bb(),n=Tm(),r=Om(),o=ES(),i=oS(),u=yb(),a=dE(),s=wb(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return QI=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,QI}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var oB=[];var iB={};function uB(t,e,n){return dv(n.isInline(t)?"span":"div",null,e)}function aB(t,e){return void 0===e&&(e=!1),dv("span",{"data-slate-string":!0},e?t+"\n":t)}function sB(t,e){return void 0===t&&(t=0),void 0===e&&(e=!1),dv("span",{"data-slate-zero-width":e?"n":"z","data-slate-length":t},"\ufeff",e?dv("br",null):null)}function cB(t,e,n,r){return AO.set(t,e),xO.set(t,n),yp.Element.isElement(t)?function(t,e){var n,r=tP.findKey(e,t),o=e.isInline(t),i=yp.Editor.isVoid(e,t),u=RN(t.type,r.id),a={id:u,key:r.id,"data-slate-node":"element","data-slate-inline":o},s=t.type,c=t.children,l=void 0===c?[]:c,f=function(t){return iB[t]||uB}(s);n=i?null:l.map(function(n,r){return cB(n,r,t,e)});var d=f(t,n,e);if(i){a["data-slate-void"]=!0;var p=o?"span":"div",h=iC(yp.Node.texts(t),1),v=iC(h[0],1)[0],g=dv(p,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},cB(v,0,t,e));d=dv(p,{style:{position:"relative"}},d,g),AO.set(v,0),xO.set(v,t)}return null==d.data&&(d.data={}),Object.assign(d.data,a),i||o||(d=function(t,e){var n=e;return oB.forEach(function(r){n=r(t,e)}),n}(t,d)),nN(function(){var e=dN(u);null!=e&&(PO.set(r,e),kO.set(t,e),NO.set(e,t))}),d}(t,r):function(t,e,n){if(null==t.text)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var r=tP.findKey(n,t),o=n.getConfig().decorate;if(null==o)throw new Error("Can not get config.decorate");var i,u=tP.findPath(n,t),a=o([t,u]),s=yp.Text.decorations(t,a),c=s.map(function(r,o){var i=function(t,e,n,r,o){void 0===e&&(e=!1);var i=t.text,u=tP.findPath(o,n),a=yp.Path.parent(u);if(yp.Editor.isEditor(r))throw new Error("Text node ".concat(JSON.stringify(n)," parent is Editor"));return o.isVoid(r)?sB(yp.Node.string(r).length):""!==i||r.children[r.children.length-1]!==n||o.isInline(r)||""!==yp.Editor.string(o,a)?""===i?sB():e&&"\n"===i.slice(-1)?aB(i,!0):aB(i):sB(0,!0)}(r,o===s.length-1,t,e,n);return i=function(t,e){var n=e;return oB.forEach(function(e){n=e(t,n)}),n}(r,i),dv("span",{"data-slate-leaf":!0},i)}),l=(i=r.id,"w-e-text-".concat(i)),f=dv("span",{"data-slate-node":"text",id:l,key:r.id},c);return nN(function(){var e=dN(l);null!=e&&(PO.set(r,e),kO.set(t,e),NO.set(e,t))}),f}(t,n,r)}var lB=["props","attrs","style","dataset","on","hook"];function fB(t){var e=t.data,n=void 0===e?{}:e,r=t.children,o=void 0===r?[]:r;Object.keys(n).forEach(function(e){var r,o,i=n[e];if("key"!==e){if(!lB.includes(e)){if(e.startsWith("data-")){var u=e.slice(5);return u=wv(u),function(t,e){null==t.data&&(t.data={});var n=t.data;null==n.dataset&&(n.dataset={}),Object.assign(n.dataset,e)}(t,((r={})[u]=i,r)),void delete n[e]}!function(t,e){null==t.data&&(t.data={});var n=t.data;null==n.props&&(n.props={}),Object.assign(n.props,e)}(t,(o={},o[e]=i,o)),delete n[e]}}else t.key=i}),o.length>0&&o.forEach(function(t){"string"!=typeof t&&fB(t)})}function dB(t,e){var n,r,o=t.$scroll,i=(n=t.id,"w-e-textarea-".concat(n)),u=e.getConfig(),a=u.readOnly,s=u.autoFocus,c=function(t,e){return void 0===e&&(e=!1),Wh("div#".concat(t),{props:{contentEditable:!e}})}(i,a),l=e.children||[];c.children=l.map(function(t,n){if(DO.has(t)){var r=DO.get(t);if(r){var o=iC(r,2),i=o[0],u=o[1];if(u)return i!==n&&(AO.set(t,n),DO.set(t,[n,u])),u}}var a=cB(t,n,e,e);fB(a);var s=e.getConfig().skipCacheTypes,c=void 0===s?["list-item"]:s;return yp.Element.isElement(t)&&c.includes(t.type)||DO.set(t,[n,a]),a});var f=wO.get(t);if(null==f&&(f=!0),f){var d=function(t){return Rp('<div\n id="'.concat(t,'"\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>'))}(i);o.append(d),t.$textArea=d,r=d[0],(h=Vh([Xh,iv,lv,Qh,rv,Kh]))(r,c),wO.set(t,!1),SO.set(t,h)}else{var p=CO.get(t),h=SO.get(t);if(null==p||null==h)return;r=p.elm,h(p,c)}if(null!=r||null!=(r=dN(i))){if((f?s:e.isFocused())&&r.focus({preventScroll:!0}),f){var v=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||null}(r);v&&BO.set(e,v)}TO.set(e,r),kO.set(e,r),NO.set(r,e),CO.set(t,c)}}var pB=1,hB=function(){function t(t){var e=this;this.id=pB++,this.$textArea=null,this.$progressBar=Rp('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=Rp('<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=Th(function(){var t=e.editorInstance;!function(t,e){var n=t.isComposing,r=t.isUpdatingSelection,o=t.isDraggingInternally;if(!(e.getConfig().readOnly||n||r||o)){var i=tP.findDocumentOrShadowRoot(e),u=i.activeElement,a=tP.toDOMNode(e,e),s=i.getSelection();if(u!==a)return FO.delete(e),void yp.Transforms.deselect(e);if(t.latestElement=u,FO.set(e,!0),!s)return yp.Transforms.deselect(e);var c=s.anchorNode,l=s.focusNode,f=RI(e,c)||_I(e,c),d=RI(e,l)||_I(e,l);if(f&&d){var p=tP.toSlateRange(e,s,{exactMatch:!1,suppressThrow:!1});yp.Transforms.select(e,p)}}}(e,t)},100);var n=Rp(t);if(0===n.length)throw new Error("Cannot find textarea DOM by selector '".concat(t,"'"));this.$box=n;var r=Rp('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=Rp('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,nN(function(){var t=e.editorInstance,o=tP.getWindow(t);o.document.addEventListener("selectionchange",e.onDOMSelectionChange),t.on(sC,function(){o.document.removeEventListener("selectionchange",e.onDOMSelectionChange)}),r.on("click",function(){return t.hidePanelOrModal()}),t.on(cC,e.changeViewState.bind(e));var i=t.getConfig(),u=i.onChange,a=i.scroll;u&&t.on(cC,function(){return u(t)}),a||(n.css("position","relative"),r.addClass("no-scroll")),e.onFocusAndOnBlur(),t.on(cC,e.changeMaxLengthInfo.bind(e)),e.bindEvent()})}return Object.defineProperty(t.prototype,"editorInstance",{get:function(){var t=dO.get(this);if(null==t)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),t.prototype.bindEvent=function(){var t=this,e=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=e&&(Dp(nB,function(n,o){e.on(o,function(e){n(e,t,r)})}),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",Th(function(){r.emit("scroll")},100))))},t.prototype.onFocusAndOnBlur=function(){var t=this,e=this.editorInstance,n=e.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=e.selection,e.on(cC,function(){null==t.latestEditorSelection&&null!=e.selection?setTimeout(function(){return o&&o(e)}):null!=t.latestEditorSelection&&null==e.selection&&setTimeout(function(){return r&&r(e)}),t.latestEditorSelection=e.selection})},t.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,e=t.getConfig().maxLength;if(e){var n=e-tP.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML="".concat(n,"/").concat(e)}},t.prototype.changeProgress=function(t){var e=this.$progressBar;e.css("width","".concat(t,"%")),t>=100&&setTimeout(function(){e.hide(),e.css("width","0"),e.show()},1e3)},t.prototype.changeViewState=function(){var t=this,e=this.editorInstance;dB(this,e),function(t,e){var n,r=e.getConfig().placeholder;if(r){var o=e.isEmpty();if(o&&!t.showPlaceholder&&!t.isComposing){if(null==t.$placeholder){var i=Rp('<div class="w-e-text-placeholder">'.concat(r,"</div>"));t.$textAreaContainer.append(i),t.$placeholder=i}return t.$placeholder.show(),void(t.showPlaceholder=!0)}!o&&t.showPlaceholder&&(null===(n=t.$placeholder)||void 0===n||n.hide(),t.showPlaceholder=!1)}}(this,e),nN(function(){VI(t,e)})},t.prototype.destroy=function(){this.$textAreaContainer.remove()},t}();function vB(t,e,n,r){if(AO.set(t,e),xO.set(t,n),yp.Element.isElement(t)){var o=t.children;if((void 0===o?[]:o).forEach(function(e,n){return vB(e,n,t,r)}),yp.Editor.isVoid(r,t)){var i=iC(yp.Node.texts(t),1),u=iC(i[0],1)[0];AO.set(u,0),xO.set(u,t)}}}var gB="Textarea height < 300px. This may cause modal and hoverbar position error",yB="编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常";function mB(t){var e=t.selector,n=void 0===e?"":e,r=t.config,o=void 0===r?{}:r,i=t.content,u=t.html,a=t.plugins,s=void 0===a?[]:a,c=function(t){return[ck,KP,LO,WP,yk,sk,fk,ZS].reduce(function(t,e){return e(t)},t)}(yp.createEditor());if(n&&function(t,e){return BN(t,"data-w-e-textarea",e)}(c,n))throw new Error("Repeated create editor by selector '".concat(n,"'"));var l=function(t){void 0===t&&(t={});var e=Sp(aC),n={},r=t.MENU_CONF,o=void 0===r?{}:r;return Dp(e,function(t,e){n[e]=rC(rC({},t),o[e]||{})}),delete t.MENU_CONF,rC({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(t,e){window.alert("".concat(e,":\n").concat(t))}},t)}(o);EO.set(c,l);var f=l.hoverbarKeys,d=void 0===f?{}:f;if(s.forEach(function(t){c=t(c)}),function(t,e){var n=e.html,r=e.content;null!=n?t.children=FN(t,n):r&&r.length&&(t.children=r),0===t.children.length&&(t.children=[{type:"paragraph",children:[{text:""}]}])}(c,{html:u,content:i}),n){var p=new hB(n);fO.set(c,p),dO.set(p,c),p.changeViewState(),nN(function(){var t=p.$scroll;null!=t&&t.height()<300&&console.warn("".concat(yB,"\n").concat(gB),{element:t,height:t.height()})});var h=void 0;Object.keys(d).length>0&&(h=new BI,vO.set(h,c),gO.set(c,h)),c.on(cC,function(){c.hidePanelOrModal()}),c.on(lC,function(){c.hidePanelOrModal()})}else c.children.forEach(function(t,e){return vB(t,e,c,c)});var v=l.onCreated,g=l.onDestroyed;return v&&c.on("created",function(){return v(c)}),g&&c.on(sC,function(){return g(c)}),nN(function(){return c.emit("created")}),c}var bB,EB,wB,SB,CB,DB={};!function(){if(CB)return DB;CB=1;var t=aS(),e=dE(),n=Sw(),r=ww(),o=Dw(),i=function(){if(EB)return bB;EB=1;var t=Am(),e=sS(),n=TypeError,r=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return bB=o?function(t,o){if(e(t)&&!r(t,"length").writable)throw new n("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=cS(),a=hS(),s=lS(),c=function(){if(SB)return wB;SB=1;var t=Fb(),e=TypeError;return wB=function(n,r){if(!delete n[r])throw new e("Cannot delete property "+t(r)+" of "+t(n))}}(),l=vS()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=n(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(r(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var OB=function(){function t(t,e){var n=this;this.$toolbar=Rp('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.lngListen=function(){},this.changeToolbarState=Oh(function(){n.toolbarItems.forEach(function(t){t.changeMenuState()})},200),this.config=e;var r=Rp(t);if(0===r.length)throw new Error("Cannot find toolbar DOM by selector '".concat(t,"'"));this.$box=r;var o=this.$toolbar;o.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),r.append(o),nN(function(){n.initToolbar(),n.lngListen=lI(function(){return n.initToolbar()}),n.getEditorInstance().on(cC,n.changeToolbarState)})}return t.prototype.getMenus=function(){return this.menus},t.prototype.getConfig=function(){return this.config},t.prototype.initToolbar=function(){this.menus={};var t=this.$toolbar;null==t||t.empty(),this.registerItems(),this.changeToolbarState()},t.prototype.registerItems=function(){var t=this,e="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=void 0===o?[]:o,u=r.insertKeys,a=void 0===u?{index:0,keys:[]}:u,s=r.excludeKeys,c=void 0===s?[]:s,l=Sp(i);a.keys.length>0&&("string"==typeof a.keys&&(a.keys=[a.keys]),a.keys.forEach(function(t,e){l.splice(a.index+e,0,t)}));var f=l.filter(function(t){var e="string"==typeof t?t:t.key;return!c.includes(e)}),d=f.length;f.forEach(function(r,o){if("|"===r){if(0===o)return;if(o+1===d)return;if("|"===e)return;var i=hI();return n.append(i),void(e=r)}if("string"==typeof r)return t.registerSingleItem(r,t),void(e=r);t.registerGroup(r),e="group"})},t.prototype.registerGroup=function(t){var e=this,n=this.$toolbar,r=function(t){return new xI(t)}(t),o=t.menuKeys,i=void 0===o?[]:o,u=this.config.excludeKeys,a=void 0===u?[]:u;i.forEach(function(t){a.includes(t)||e.registerSingleItem(t,r)}),n.append(r.$elem)},t.prototype.registerSingleItem=function(t,e){var n=this.getEditorInstance(),r=e instanceof xI,o=this.menus,i=o[t];if(null==i){var u=fC[t];if(null==u)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof u)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));i=u(),o[t]=i}else console.warn("Duplicated toolbar menu key '".concat(t,"'\n重复注册了菜单栏 menu '").concat(t,"'"));var a=n.getMenuConfig(t);a&&void 0!==a.iconSvg&&(i.iconSvg=a.iconSvg);var s=PI(t,i,r);this.toolbarItems.push(s),yO.set(s,n),r?e.appendBarItem(s):e.$toolbar.append(s.$elem)},t.prototype.getEditorInstance=function(){var t=pO.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.destroy=function(){var t;this.$toolbar.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.toolbarItems=[]},t}();var AB,xB={};function TB(t){var e=t.server,n=void 0===e?"":e,r=t.fieldName,o=void 0===r?"":r,i=t.maxFileSize,u=void 0===i?10485760:i,a=t.maxNumberOfFiles,s=void 0===a?100:a,c=t.meta,l=void 0===c?{}:c,f=t.metaWithUrl,d=void 0!==f&&f,p=t.headers,h=void 0===p?{}:p,v=t.withCredentials,g=void 0!==v&&v,y=t.timeout,m=void 0===y?1e4:y,b=t.onBeforeUpload,E=void 0===b?function(t){return t}:b,w=t.onSuccess,S=void 0===w?function(t,e){}:w,C=t.onError,D=void 0===C?function(t,e,n){console.error("".concat(t.name," upload error"),e,n)}:C,O=t.onProgress,A=void 0===O?function(t){}:O;if(!n)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var x=n;d&&(x=function(t,e){var n=iC(t.split("#"),2),r=n[0],o=n[1],i=[];Dp(e,function(t,e){i.push("".concat(e,"=").concat(t))});var u=i.join("&");return r=r.indexOf("?")>0?"".concat(r,"&").concat(u):"".concat(r,"?").concat(u),o?"".concat(r,"#").concat(o):r}(x,l));var T=new Ty(rC({onBeforeUpload:E,restrictions:{maxFileSize:u,maxNumberOfFiles:s},meta:l},t.uppyConfig)).use(lm,rC({endpoint:x,headers:h,formData:!0,fieldName:o,bundle:!0,withCredentials:g,timeout:m},t.xhrConfig));return T.on("complete",function(t){var e=t.successful[0],n=e.response,r=(null!=n?n:{}).body,o=void 0===r?{}:r;try{S(e,o)}catch(t){console.error("wangEditor upload file - onSuccess error",t)}}),T.on("progress",function(t){t<1||A(t)}),T.on("upload-error",function(t,e,n){try{D(t,e,n)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T.on("restriction-failed",function(t,e){try{D(t,e)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T}!function(){if(AB)return xB;AB=1;var t=Am(),e=YE().EXISTS,n=bb(),r=FA(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();cI("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),cI("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var NB,PB,kB,IB,BB,FB,RB,_B,jB,LB,MB,zB,HB,$B,UB,VB={};function GB(){if(PB)return NB;PB=1;var t=O();return NB=Array.isArray||function(e){return"Array"===t(e)}}function WB(){if(IB)return kB;IB=1;var t=D(),e=S(),n=mt(),r=kr(),o=$e(),i=An(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,kB=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function qB(){if(FB)return BB;FB=1;var t=GB(),e=WB(),n=bt(),r=yt()("species"),o=Array;return BB=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u},BB}function KB(){if(_B)return RB;_B=1;var t=qB();return RB=function(e,n){return new(t(e))(0===n?0:n)}}function YB(){if(zB)return MB;zB=1;var t=S();return MB=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}function XB(){if($B)return HB;$B=1;var t=function(){if(LB)return jB;LB=1;var t=qo(),e=D(),n=A(),r=ft(),o=Qe(),i=KB(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return jB={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=YB()("forEach");return HB=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},HB}!function(){if(UB)return VB;UB=1;var t=P(),e=fi(),n=di(),r=XB(),o=ln(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}(),cI("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",cancelTitle:"Cancel 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"},formatPainter:{title:"Format Painter"}}),cI("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:"全屏",cancelTitle:"取消全屏"},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:"待办"},formatPainter:{title:"格式刷"}});var JB="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ZB(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var QB,tF,eF={};function nF(){if(tF)return QB;tF=1;var t=function(t){return t&&t.Math===Math&&t};return QB=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof JB&&JB)||t("object"==typeof QB&&QB)||function(){return this}()||Function("return this")()}var rF,oF,iF,uF,aF,sF,cF,lF,fF={};function dF(){return oF?rF:(oF=1,rF=function(t){try{return!!t()}catch(t){return!0}})}function pF(){if(uF)return iF;uF=1;var t=dF();return iF=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function hF(){if(sF)return aF;sF=1;var t=dF();return aF=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function vF(){if(lF)return cF;lF=1;var t=hF(),e=Function.prototype.call;return cF=t?e.bind(e):function(){return e.apply(e,arguments)},cF}var gF,yF,mF,bF,EF,wF,SF,CF,DF,OF,AF,xF,TF,NF,PF,kF,IF,BF,FF,RF,_F,jF,LF,MF,zF,HF,$F,UF,VF,GF,WF,qF,KF,YF,XF,JF,ZF,QF,tR,eR,nR,rR={};function oR(){if(gF)return rR;gF=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return rR.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,rR}function iR(){return mF?yF:(mF=1,yF=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function uR(){if(EF)return bF;EF=1;var t=hF(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return bF=t?r:function(t){return function(){return n.apply(t,arguments)}},bF}function aR(){if(SF)return wF;SF=1;var t=uR(),e=t({}.toString),n=t("".slice);return wF=function(t){return n(e(t),8,-1)}}function sR(){if(DF)return CF;DF=1;var t=uR(),e=dF(),n=aR(),r=Object,o=t("".split);return CF=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function cR(){return AF?OF:(AF=1,OF=function(t){return null==t})}function lR(){if(TF)return xF;TF=1;var t=cR(),e=TypeError;return xF=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function fR(){if(PF)return NF;PF=1;var t=sR(),e=lR();return NF=function(n){return t(e(n))}}function dR(){if(IF)return kF;IF=1;var t="object"==typeof document&&document.all;return kF=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function pR(){if(FF)return BF;FF=1;var t=dR();return BF=function(e){return"object"==typeof e?null!==e:t(e)}}function hR(){if(_F)return RF;_F=1;var t=nF(),e=dR();return RF=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},RF}function vR(){if(LF)return jF;LF=1;var t=uR();return jF=t({}.isPrototypeOf)}function gR(){if(zF)return MF;zF=1;var t=nF().navigator,e=t&&t.userAgent;return MF=e?String(e):""}function yR(){if($F)return HF;$F=1;var t,e,n=nF(),r=gR(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),HF=e}function mR(){if(VF)return UF;VF=1;var t=yR(),e=dF(),n=nF().String;return UF=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function bR(){if(WF)return GF;WF=1;var t=mR();return GF=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function ER(){if(KF)return qF;KF=1;var t=hR(),e=dR(),n=vR(),r=bR(),o=Object;return qF=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function wR(){if(XF)return YF;XF=1;var t=String;return YF=function(e){try{return t(e)}catch(t){return"Object"}}}function SR(){if(ZF)return JF;ZF=1;var t=dR(),e=wR(),n=TypeError;return JF=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function CR(){if(tR)return QF;tR=1;var t=SR(),e=cR();return QF=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var DR,OR,AR,xR,TR,NR,PR,kR,IR,BR,FR,RR,_R,jR,LR,MR,zR,HR,$R,UR,VR,GR,WR,qR,KR={exports:{}};function YR(){return OR?DR:(OR=1,DR=!1)}function XR(){if(xR)return AR;xR=1;var t=nF(),e=Object.defineProperty;return AR=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function JR(){if(TR)return KR.exports;TR=1;var t=YR(),e=nF(),n=XR(),r="__core-js_shared__",o=KR.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),KR.exports}function ZR(){if(PR)return NR;PR=1;var t=JR();return NR=function(e,n){return t[e]||(t[e]=n||{})}}function QR(){if(IR)return kR;IR=1;var t=lR(),e=Object;return kR=function(n){return e(t(n))}}function t_(){if(FR)return BR;FR=1;var t=uR(),e=QR(),n=t({}.hasOwnProperty);return BR=Object.hasOwn||function(t,r){return n(e(t),r)}}function e_(){if(_R)return RR;_R=1;var t=uR(),e=0,n=Math.random(),r=t(1.1.toString);return RR=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function n_(){if(LR)return jR;LR=1;var t=nF(),e=ZR(),n=t_(),r=e_(),o=mR(),i=bR(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return jR=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function r_(){if($R)return HR;$R=1;var t=function(){if(zR)return MR;zR=1;var t=vF(),e=pR(),n=ER(),r=CR(),o=function(){if(nR)return eR;nR=1;var t=vF(),e=dR(),n=pR(),r=TypeError;return eR=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},eR}(),i=n_(),u=TypeError,a=i("toPrimitive");return MR=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}(),e=ER();return HR=function(n){var r=t(n,"string");return e(r)?r:r+""}}function o_(){if(VR)return UR;VR=1;var t=nF(),e=pR(),n=t.document,r=e(n)&&e(n.createElement);return UR=function(t){return r?n.createElement(t):{}}}function i_(){if(WR)return GR;WR=1;var t=pF(),e=dF(),n=o_();return GR=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function u_(){if(qR)return fF;qR=1;var t=pF(),e=vF(),n=oR(),r=iR(),o=fR(),i=r_(),u=t_(),a=i_(),s=Object.getOwnPropertyDescriptor;return fF.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},fF}var a_,s_,c_,l_,f_,d_,p_,h_={};function v_(){if(s_)return a_;s_=1;var t=pF(),e=dF();return a_=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function g_(){if(l_)return c_;l_=1;var t=pR(),e=String,n=TypeError;return c_=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function y_(){if(f_)return h_;f_=1;var t=pF(),e=i_(),n=v_(),r=g_(),o=r_(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return h_.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},h_}function m_(){if(p_)return d_;p_=1;var t=pF(),e=y_(),n=iR();return d_=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var b_,E_,w_,S_,C_,D_,O_,A_,x_,T_,N_,P_,k_,I_,B_,F_={exports:{}};function R_(){if(E_)return b_;E_=1;var t=pF(),e=t_(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return b_={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function __(){if(S_)return w_;S_=1;var t=uR(),e=dR(),n=JR(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),w_=n.inspectSource}function j_(){if(A_)return O_;A_=1;var t=ZR(),e=e_(),n=t("keys");return O_=function(t){return n[t]||(n[t]=e(t))}}function L_(){return T_?x_:(T_=1,x_={})}function M_(){if(P_)return N_;P_=1;var t,e,n,r=function(){if(D_)return C_;D_=1;var t=nF(),e=dR(),n=t.WeakMap;return C_=e(n)&&/native code/.test(String(n))}(),o=nF(),i=pR(),u=m_(),a=t_(),s=JR(),c=j_(),l=L_(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return N_={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function z_(){if(k_)return F_.exports;k_=1;var t=uR(),e=dF(),n=dR(),r=t_(),o=pF(),i=R_().CONFIGURABLE,u=__(),a=M_(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=F_.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),F_.exports}function H_(){if(B_)return I_;B_=1;var t=dR(),e=y_(),n=z_(),r=XR();return I_=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var $_,U_,V_,G_,W_,q_,K_,Y_,X_,J_,Z_,Q_,tj,ej,nj,rj,oj,ij={};function uj(){if(G_)return V_;G_=1;var t=function(){if(U_)return $_;U_=1;var t=Math.ceil,e=Math.floor;return $_=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return V_=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function aj(){if(q_)return W_;q_=1;var t=uj(),e=Math.max,n=Math.min;return W_=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)},W_}function sj(){if(Y_)return K_;Y_=1;var t=uj(),e=Math.min;return K_=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function cj(){if(J_)return X_;J_=1;var t=sj();return X_=function(e){return t(e.length)}}function lj(){if(Q_)return Z_;Q_=1;var t=fR(),e=aj(),n=cj(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return Z_={includes:r(!0),indexOf:r(!1)}}function fj(){if(ej)return tj;ej=1;var t=uR(),e=t_(),n=fR(),r=lj().indexOf,o=L_(),i=t([].push);return tj=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function dj(){return rj?nj:(rj=1,nj=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var pj,hj,vj,gj,yj,mj,bj,Ej,wj,Sj,Cj,Dj,Oj,Aj,xj,Tj,Nj,Pj,kj,Ij={};function Bj(){return pj||(pj=1,Ij.f=Object.getOwnPropertySymbols),Ij}function Fj(){if(yj)return gj;yj=1;var t=t_(),e=function(){if(vj)return hj;vj=1;var t=hR(),e=uR(),n=function(){if(oj)return ij;oj=1;var t=fj(),e=dj().concat("length","prototype");return ij.f=Object.getOwnPropertyNames||function(n){return t(n,e)},ij}(),r=Bj(),o=g_(),i=e([].concat);return hj=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=u_(),r=y_();return gj=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function Rj(){if(wj)return Ej;wj=1;var t=nF(),e=u_().f,n=m_(),r=H_(),o=XR(),i=Fj(),u=function(){if(bj)return mj;bj=1;var t=dF(),e=dR(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return mj=r}();return Ej=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function _j(){if(Cj)return Sj;Cj=1;var t={};return t[n_()("toStringTag")]="z",Sj="[object z]"===String(t)}function jj(){if(Oj)return Dj;Oj=1;var t=_j(),e=dR(),n=aR(),r=n_()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Dj=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function Lj(){if(xj)return Aj;xj=1;var t=jj(),e=String;return Aj=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function Mj(){if(Nj)return Tj;Nj=1;var t=g_();return Tj=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}var zj,Hj,$j,Uj,Vj,Gj,Wj,qj,Kj,Yj,Xj,Jj,Zj,Qj,tL={};function eL(){if(Hj)return zj;Hj=1;var t=fj(),e=dj();return zj=Object.keys||function(n){return t(n,e)}}function nL(){if(Wj)return Gj;Wj=1;var t,e=g_(),n=function(){if($j)return tL;$j=1;var t=pF(),e=v_(),n=y_(),r=g_(),o=fR(),i=eL();return tL.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},tL}(),r=dj(),o=L_(),i=function(){if(Vj)return Uj;Vj=1;var t=hR();return Uj=t("document","documentElement")}(),u=o_(),a=j_(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,Gj=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function rL(){if(Zj)return Jj;Zj=1;var t,e,n=vF(),r=uR(),o=Lj(),i=Mj(),u=function(){if(kj)return Pj;kj=1;var t=dF(),e=nF().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Pj={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=ZR(),s=nL(),c=M_().get,l=function(){if(Kj)return qj;Kj=1;var t=dF(),e=nF().RegExp;return qj=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(Xj)return Yj;Xj=1;var t=dF(),e=nF().RegExp;return Yj=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Jj=h}function oL(){if(Qj)return eF;Qj=1;var t=Rj(),e=rL();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),eF}oL();var iL=function(t,e){return iL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},iL(t,e)};function uL(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}iL(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var aL=function(){return aL=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},aL.apply(this,arguments)};function sL(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function a(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(u,a)}s((r=r.apply(t,e||[])).next())})}function cL(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function lL(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function fL(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function dL(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var pL,hL,vL,gL,yL,mL,bL,EL,wL,SL,CL,DL,OL,AL,xL,TL,NL,PL='<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>',kL='<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>',IL='<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>',BL=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!!tP.getSelectedNodeByType(t,"blockquote")},t.prototype.isDisabled=function(t){return null==t.selection||!fL(yp.Editor.nodes(t,{match:function(t){var e=tP.getNodeType(t);return"paragraph"===e||"blockquote"===e},universal:!0,mode:"highest"}),1)[0]},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=this.isActive(t)?"paragraph":"blockquote";yp.Transforms.setNodes(t,{type:n},{mode:"highest"})}},t}(),FL={key:"blockquote",factory:function(){return new BL}},RL={};function _L(){if(hL)return pL;hL=1;var t=aR(),e=uR();return pL=function(n){if("Function"===t(n))return e(n)}}function jL(){if(mL)return yL;mL=1;var t=aR();return yL=Array.isArray||function(e){return"Array"===t(e)}}function LL(){if(EL)return bL;EL=1;var t=uR(),e=dF(),n=dR(),r=jj(),o=hR(),i=__(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,bL=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function ML(){if(DL)return CL;DL=1;var t=function(){if(SL)return wL;SL=1;var t=jL(),e=LL(),n=pR(),r=n_()("species"),o=Array;return wL=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return CL=function(e,n){return new(t(e))(0===n?0:n)}}function zL(){if(AL)return OL;AL=1;var t=function(){if(gL)return vL;gL=1;var t=_L(),e=SR(),n=hF(),r=t(t.bind);return vL=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},vL}(),e=uR(),n=sR(),r=QR(),o=cj(),i=ML(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return OL={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function HL(){if(TL)return xL;TL=1;var t=dF(),e=n_(),n=yR(),r=e("species");return xL=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(NL)return RL;NL=1;var t=Rj(),e=zL().filter;t({target:"Array",proto:!0,forced:!HL()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var $L,UL,VL,GL={};!function(){if(VL)return GL;VL=1;var t=_j(),e=H_(),n=function(){if(UL)return $L;UL=1;var t=_j(),e=jj();return $L=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var WL,qL,KL,YL,XL,JL,ZL,QL,tM,eM,nM,rM,oM,iM,uM,aM,sM,cM={};function lM(){if(YL)return KL;YL=1,oL();var t=vF(),e=H_(),n=rL(),r=dF(),o=n_(),i=m_(),u=o("species"),a=RegExp.prototype;return KL=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function fM(){if(QL)return ZL;QL=1;var t=function(){if(JL)return XL;JL=1;var t=uR(),e=uj(),n=Lj(),r=lR(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return XL={codeAt:a(!1),charAt:a(!0)}}().charAt;return ZL=function(e,n,r){return n+(r?t(e,n).length:1)},ZL}function dM(){if(iM)return oM;iM=1;var t=vF(),e=t_(),n=vR(),r=function(){if(rM)return nM;rM=1;var t=nF(),e=dF(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return nM={correct:r}}(),o=Mj(),i=RegExp.prototype;return oM=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}function pM(){if(aM)return uM;aM=1;var t=vF(),e=g_(),n=dR(),r=aR(),o=rL(),i=TypeError;return uM=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(sM)return cM;sM=1;var t=function(){if(qL)return WL;qL=1;var t=hF(),e=Function.prototype,n=e.apply,r=e.call;return WL="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),WL}(),e=vF(),n=uR(),r=lM(),o=dF(),i=g_(),u=dR(),a=pR(),s=uj(),c=sj(),l=Lj(),f=lR(),d=fM(),p=CR(),h=function(){if(eM)return tM;eM=1;var t=uR(),e=QR(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return tM=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=dM(),g=pM(),y=n_()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var hM,vM,gM,yM={};function mM(){if(vM)return hM;vM=1;var t=n_(),e=nL(),n=y_().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),hM=function(t){o[r][t]=!0}}!function(){if(gM)return yM;gM=1;var t=Rj(),e=zL().find,n=mM(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var bM,EM,wM,SM,CM,DM,OM,AM={};function xM(){return EM?bM:(EM=1,bM="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(OM)return AM;OM=1;var t=Rj(),e=function(){if(SM)return wM;SM=1;var t=uR(),e=lR(),n=Lj(),r=xM(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return wM={start:a(1),end:a(2),trim:a(3)}}().trim,n=function(){if(DM)return CM;DM=1;var t=R_().PROPER,e=dF(),n=xM();return CM=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var TM,NM,PM={};function kM(t){return 0===Rp("<div>".concat(t,"</div>")).children().filter(function(t){return"BR"!==t.tagName}).length}function IM(t){return 0===t.length?"":t[0].outerHTML}function BM(t){return t.length?t[0].tagName.toLowerCase():""}function FM(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i+=1){var u=r[i];if(u){var a=u.split(":");a[0].trim()===e&&(n=a[1].trim())}}return n}NM||(NM=1,function(){if(TM)return PM;TM=1;var t=Rj(),e=nF();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Jp&&(Rp.fn.css=Jp),rh&&(Rp.fn.append=rh),oh&&(Rp.fn.prepend=oh),_p&&(Rp.fn.addClass=_p),jp&&(Rp.fn.removeClass=jp),Lp&&(Rp.fn.hasClass=Lp),Vp&&(Rp.fn.on=Vp),Gp&&(Rp.fn.off=Gp),hh&&(Rp.fn.focus=hh),Mp&&(Rp.fn.attr=Mp),zp&&(Rp.fn.removeAttr=zp),Yp&&(Rp.fn.hide=Yp),Xp&&(Rp.fn.show=Xp),uh&&(Rp.fn.parents=uh),$p&&(Rp.fn.dataset=$p),Up&&(Rp.fn.val=Up),eh&&(Rp.fn.text=eh),th&&(Rp.fn.html=th),sh&&(Rp.fn.children=sh),ch&&(Rp.fn.remove=ch),ah&&(Rp.fn.find=ah),Wp&&(Rp.fn.width=Wp),qp&&(Rp.fn.height=qp),Qp&&(Rp.fn.filter=Qp),lh&&(Rp.fn.empty=lh);var RM,_M,jM,LM,MM,zM={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);return 0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},HM={};function $M(){if(_M)return RM;_M=1;var t=pF(),e=y_(),n=iR();return RM=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}function UM(){if(LM)return jM;LM=1;var t=uR();return jM=t([].slice)}function VM(t){t.deleteBackward("character"),yp.Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}!function(){if(MM)return HM;MM=1;var t=Rj(),e=jL(),n=LL(),r=pR(),o=aj(),i=cj(),u=fR(),a=$M(),s=n_(),c=HL(),l=UM(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var GM,WM={type:"blockquote",renderElem:function(t,e,n){return dv("blockquote",null,e)}},qM={renderElems:[WM],elemsToHtml:[{type:"blockquote",elemToHtml:function(t,e){return"<blockquote>".concat(e,"</blockquote>")}}],parseElemsHtml:[zM],menus:[FL],editorPlugin:function(t){var e=t.insertBreak,n=t.insertText,r=t;return r.insertBreak=function(){var o=r.selection;if(null==o)return e();var i=fL(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"blockquote")},universal:!0}),1)[0];if(!i)return e();var u=i[0];if(tP.getParentNode(t,u)){var a=tP.findPath(t,u),s=yp.Editor.end(t,a);if(yp.Point.equals(s,o.focus)){var c=yp.Node.string(u);if(c&&"\n"===c.slice(-1))return void VM(r)}n("\n")}else VM(r)},r}},KM={};!function(){if(GM)return KM;GM=1;var t=Rj(),e=lj().includes,n=dF(),r=mM();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var YM,XM,JM,ZM={};function QM(){if(XM)return YM;XM=1;var t=dF();return YM=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}!function(){if(JM)return ZM;JM=1;var t=Rj(),e=uR(),n=sR(),r=fR(),o=QM(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var tz,ez={};!function(){if(tz)return ez;tz=1;var t=Rj(),e=zL().map;t({target:"Array",proto:!0,forced:!HL()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var nz,rz={};!function(){if(nz)return rz;nz=1;var t=R_().PROPER,e=H_(),n=g_(),r=Lj(),o=dF(),i=dM(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var oz,iz,uz,az,sz,cz,lz,fz={};function dz(){if(az)return uz;az=1;var t=function(){if(iz)return oz;iz=1;var t=pR(),e=aR(),n=n_()("match");return oz=function(r){var o;return t(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===e(r))}}(),e=TypeError;return uz=function(n){if(t(n))throw new e("The method doesn't accept regular expressions");return n}}function pz(){if(cz)return sz;cz=1;var t=n_()("match");return sz=function(e){var n=/./;try{"/./"[e](n)}catch(r){try{return n[t]=!1,"/./"[e](n)}catch(t){}}return!1}}!function(){if(lz)return fz;lz=1;var t=Rj(),e=uR(),n=dz(),r=lR(),o=Lj(),i=pz(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(r(this)),o(n(t)),arguments.length>1?arguments[1]:void 0)}})}();var hz,vz,gz,yz,mz,bz,Ez,wz,Sz,Cz,Dz,Oz=function(){function t(){this.title=fI("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 t.prototype.getSelectCodeElem=function(t){var e=tP.getSelectedNodeByType(t,"code");if(null==e)return null;var n=tP.getParentNode(t,e);return null==n||"pre"!==tP.getNodeType(n)?null:e},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e){var n=t.getMenuConfig("codeSelectLang").codeLangs,r=(void 0===n?[]:n).find(function(t){return t.selected});return(null==r?void 0:r.value)||""}return e.language||""},t.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},t.prototype.isDisabled=function(t){if(null==t.selection)return!0;var e=tP.getSelectedElems(t);return!!e.some(function(e){return t.isVoid(e)})||!e.some(function(t){var e=tP.getNodeType(t);return"pre"===e||"paragraph"===e})},t.prototype.exec=function(t,e){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,e.toString())},t.prototype.changeToPlainText=function(t){var e=this.getSelectCodeElem(t);if(null!=e){var n=yp.Node.string(e);yp.Transforms.removeNodes(t,{mode:"highest"});var r=n.split("\n").map(function(t){return{type:"paragraph",children:[{text:t}]}});yp.Transforms.insertNodes(t,r,{mode:"highest"})}},t.prototype.changeToCodeBlock=function(t,e){var n,r,o=[],i=yp.Editor.nodes(t,{match:function(e){return t.children.includes(e)},universal:!0});try{for(var u=lL(i),a=u.next();!a.done;a=u.next()){var s=fL(a.value,1)[0];s&&o.push(yp.Node.string(s))}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}yp.Transforms.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:e,children:[{text:o.join("\n")}]}]};yp.Transforms.insertNodes(t,c,{mode:"highest"})},t}(),Az={key:"codeBlock",factory:function(){return new Oz}},xz={selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,n){return{type:"code",language:"",children:[{text:Rp(t)[0].textContent||""}]}}},Tz={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);return 0===(e=e.filter(function(t){return"code"===tP.getNodeType(t)})).length&&(e=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:e.filter(function(t){return"code"===tP.getNodeType(t)})}}},Nz={};!function(){if(Dz)return Nz;Dz=1;var t=Rj(),e=uR(),n=SR(),r=QR(),o=cj(),i=function(){if(vz)return hz;vz=1;var t=wR(),e=TypeError;return hz=function(n,r){if(!delete n[r])throw new e("Cannot delete property "+t(r)+" of "+t(n))}}(),u=Lj(),a=dF(),s=function(){if(yz)return gz;yz=1;var t=UM(),e=Math.floor,n=function(r,o){var i=r.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=r[s];a&&o(r[a-1],u)>0;)r[a]=r[--a];a!==s++&&(r[a]=u)}else for(var c=e(i/2),l=n(t(r,0,c),o),f=n(t(r,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)r[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return r};return gz=n}(),c=QM(),l=function(){if(bz)return mz;bz=1;var t=gR().match(/firefox\/(\d+)/i);return mz=!!t&&+t[1]}(),f=function(){if(wz)return Ez;wz=1;var t=gR();return Ez=/MSIE|Trident/.test(t)}(),d=yR(),p=function(){if(Cz)return Sz;Cz=1;var t=gR().match(/AppleWebKit\/(\d+)\./);return Sz=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,n,r,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)h.push({k:e+r,v:n})}for(h.sort(function(t,e){return e.v-t.v}),r=0;r<h.length;r++)e=h[r].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&n(t);var e=r(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:u(e)>u(n)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var Pz,kz={};!function(){if(Pz)return kz;Pz=1;var t=vF(),e=uR(),n=lM(),r=g_(),o=pR(),i=sj(),u=Lj(),a=lR(),s=CR(),c=fM(),l=dM(),f=pM(),d=e("".indexOf);n("match",function(e,n,p){return[function(n){var r=a(this),i=o(n)?s(n,e):void 0;return i?t(i,n,r):new RegExp(n)[e](u(r))},function(t){var e=r(this),o=u(t),a=p(n,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();var Iz,Bz,Fz,Rz,_z,jz={};function Lz(){if(Bz)return Iz;Bz=1;var t=uR(),e=lR(),n=Lj(),r=/"/g,o=t("".replace);return Iz=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}function Mz(){if(Rz)return Fz;Rz=1;var t=dF();return Fz=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}!function(){if(_z)return jz;_z=1;var t=Rj(),e=Lz();t({target:"String",proto:!0,forced:Mz()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}();var zz,Hz,$z,Uz={type:"pre",renderElem:function(t,e,n){return dv("pre",null,e)}},Vz={type:"code",renderElem:function(t,e,n){return dv("code",null,e)}},Gz={menus:[Az],editorPlugin:function(t){var e=t.insertBreak,n=t.normalizeNode,r=t.insertData,o=t.handleTab,i=t;return i.insertBreak=function(){var t=tP.getSelectedNodeByType(i,"code");if(null!=t){var n=function(t,e){var n=e.selection;if(null==n)return"";var r=yp.Node.string(t),o=n.anchor.offset,i=r.slice(0,o).split("\n"),u=i.length;return 0===u?"":i[u-1]}(t,i);if(n){var r=n.match(/^\s+/);if(null!=r&&null!=r[0]){var o=r[0];return void i.insertText("\n".concat(o))}}i.insertText("\n")}else e()},t.handleTab=function(){var e=t.selection;if(e){var n=tP.getSelectedNodeByType(t,"code");if(n&&!yp.Range.isCollapsed(e)){var r=fL([e.anchor,e.focus].sort(function(t,e){return t.offset-e.offset}),2),i=r[0],u=r[1],a=n.children[0].text,s=a.split("\n"),c=a.slice(0,i.offset).split("\n").length-1,l=a.slice(0,u.offset).split("\n").length-1,f=s.map(function(t,e){return e>=c&&e<=l?" ".concat(t):t}),d=f.join("\n"),p={anchor:{path:i.path,offset:i.offset+2},focus:{path:u.path,offset:u.offset+2}};yp.Transforms.insertText(t,d,{at:{anchor:{path:i.path,offset:0},focus:{path:u.path,offset:a.length}}}),yp.Transforms.select(t,p)}else o()}},i.normalizeNode=function(t){var e=fL(t,2),r=e[0],o=e[1],u=tP.getNodeType(r);return"code"===u&&o.length<=1&&yp.Transforms.setNodes(i,{type:"paragraph"},{at:o}),"pre"===u&&(tP.isLastNode(i,r)&&yp.Transforms.insertNodes(i,tP.genEmptyParagraph(),{at:[o[0]+1]}),"code"!==tP.getNodeType(r.children[0])&&(yp.Transforms.unwrapNodes(i),yp.Transforms.setNodes(i,{type:"paragraph"},{mode:"highest"}))),n([r,o])},i.insertData=function(t){if(null!=tP.getSelectedNodeByType(i,"code")){var e=t.getData("text/plain");yp.Editor.insertText(i,e)}else r(t)},i},renderElems:[Uz,Vz],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return"<code>".concat(e,"</code>")}},{type:"pre",elemToHtml:function(t,e){return"<pre>".concat(e,"</pre>")}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=Rp(t);if("code"!==BM(e))return t;var n=e.find("xmp");if(0===n.length)return t;var r=n.text();return n.remove(),e.text(r),e[0]}}],parseElemsHtml:[xz,Tz]},Wz={};!function(){if($z)return Wz;$z=1;var t=Rj(),e=dF(),n=jL(),r=pR(),o=QR(),i=cj(),u=function(){if(Hz)return zz;Hz=1;var t=TypeError;return zz=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=$M(),s=ML(),c=HL(),l=n_(),f=yR(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var qz,Kz,Yz,Xz,Jz,Zz,Qz,tH={};!function(){if(Qz)return tH;Qz=1;var t=nF(),e=Kz?qz:(Kz=1,qz={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}),n=function(){if(Xz)return Yz;Xz=1;var t=o_()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Yz=e===Object.prototype?void 0:e}(),r=function(){if(Zz)return Jz;Zz=1;var t=zL().forEach,e=QM()("forEach");return Jz=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Jz}(),o=m_(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var eH,nH,rH,oH=function(){function t(){this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.exec=function(t,e){},t.prototype.getValue=function(t){var e=this.mark,n=yp.Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return null==t.selection||!!fL(yp.Editor.nodes(t,{match:function(e){return"pre"===tP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){var e=this.mark;if(null==this.$content){var n=Rp('<ul class="w-e-panel-content-color"></ul>');n.on("click","li",function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=t.selection)){var o=Rp(r).attr("data-value");"0"===o?yp.Editor.removeMark(t,e):yp.Editor.addMark(t,e,o)}}),this.$content=n}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var o=this.getValue(t),i=t.getMenuConfig(e).colors;(void 0===i?[]:i).forEach(function(t){var e=Rp('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var n=Rp('<li data-value="'.concat(t,'"></li>'));o===t&&n.addClass("active"),n.append(e),r.append(n)});var u="";"color"===e&&(u=fI("color.default")),"bgColor"===e&&(u=fI("color.clear"));var a=Rp('\n <li data-value="0" class="clear">\n '.concat('<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 ").concat(u,"\n </li>\n "));return r.prepend(a),r[0]},t}(),iH=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("color.bgColor"),e.iconSvg='<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>',e.mark="bgColor",e}return uL(e,t),e}(oH),uH=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("color.color"),e.iconSvg='<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>',e.mark="color",e}return uL(e,t),e}(oH),aH=["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)"],sH={key:"color",factory:function(){return new uH},config:{colors:aH}},cH={key:"bgColor",factory:function(){return new iH},config:{colors:aH}},lH={selector:"font",preParseHtml:function(t){var e=Rp(t);if("font"!==BM(e))return t;var n=e.attr("color")||"";return n&&(e.removeAttr("color"),e.css("color",n)),e[0]}},fH={};function dH(t,e){null==t.data&&(t.data={});var n=t.data;null==n.style&&(n.style={}),Object.assign(n.style,e)}!function(){if(rH)return fH;rH=1;var t=Rj(),e=function(){if(nH)return eH;nH=1;var t=pF(),e=uR(),n=vF(),r=dF(),o=eL(),i=Bj(),u=oR(),a=QR(),s=sR(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return eH=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,eH}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var pH,hH,vH,gH,yH,mH,bH,EH,wH,SH,CH,DH,OH,AH,xH,TH,NH={renderStyle:function(t,e){var n=t,r=n.color,o=n.bgColor,i=e;return r&&dH(i,{color:r}),o&&dH(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!yp.Text.isText(t))return e;var n,r=t,o=r.color,i=r.bgColor;return o||i?((kM(e)||"span"!==BM(n=Rp(e)))&&(n=Rp("<span>".concat(e,"</span>"))),o&&n.css("color",o),i&&n.css("background-color",i),IM(n)):e},preParseHtml:[lH],parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Text.isText(e))return e;var o=e,i=FM(r,"color");i&&(o.color=i);var u=FM(r,"background-color");return u||(u=FM(r,"background")),u&&(o.bgColor=u),o},menus:[sH,cH]},PH=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!!yp.Range.isExpanded(e)},t.prototype.exec=function(t,e){var n=t.selection;if(null!=n){var r=[n.anchor.path[0]];yp.Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:r}),t.select(yp.Editor.start(t,r))}},t}(),kH={menus:[{key:"enter",factory:function(){return new PH}}]},IH=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!tP.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var n=tP.getNodeType(e);return"table"===n||"pre"===n})},t.prototype.exec=function(t,e){tP.isSelectedEmptyParagraph(t)&&yp.Transforms.removeNodes(t,{mode:"highest"}),yp.Transforms.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),BH={renderElems:[{type:"divider",renderElem:function(t,e,n){return Wh("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:tP.isNodeSelected(n,t)?"true":""},style:{},on:{mousedown:function(t){return t.preventDefault()}}},[Wh("hr")])}}],elemsToHtml:[{type:"divider",elemToHtml:function(t,e){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new IH}}],editorPlugin:function(t){var e=t.isVoid,n=t.normalizeNode,r=t;return r.isVoid=function(t){return"divider"===t.type||e(t)},r.normalizeNode=function(t){var e=fL(t,2),o=e[0],i=e[1];if("divider"!==tP.getNodeType(o))return n([o,i]);tP.isLastNode(r,o)&&yp.Transforms.insertNodes(r,tP.genEmptyParagraph(),{at:[i[0]+1]})},r}},FH=function(){function t(){this.title=fI("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 t.prototype.exec=function(t,e){},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!fL(yp.Editor.nodes(t,{match:function(e){return"pre"===tP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){if(null==this.$content){var e=Rp('<ul class="w-e-panel-content-emotion"></ul>');e.on("click","li",function(e){var n=e.target;if(null!=n){e.preventDefault();var r=Rp(n).text();t.insertText(r)}}),this.$content=e}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=t.getMenuConfig("emotion").emotions;return(void 0===r?[]:r).forEach(function(t){var e=Rp("<li>".concat(t,"</li>"));n.append(e)}),n[0]},t}(),RH={menus:[{key:"emotion",factory:function(){return new FH},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},_H={};function jH(){if(hH)return pH;hH=1;var t=function(t){return t&&t.Math===Math&&t};return pH=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof JB&&JB)||t("object"==typeof pH&&pH)||function(){return this}()||Function("return this")()}function LH(){return gH?vH:(gH=1,vH=function(t){try{return!!t()}catch(t){return!0}})}function MH(){return mH?yH:(mH=1,yH=!LH()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function zH(){if(EH)return bH;EH=1;var t=MH(),e=Function.prototype,n=e.apply,r=e.call;return bH="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),bH}function HH(){if(SH)return wH;SH=1;var t=MH(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return wH=t?r:function(t){return function(){return n.apply(t,arguments)}},wH}function $H(){if(DH)return CH;DH=1;var t=HH(),e=t({}.toString),n=t("".slice);return CH=function(t){return n(e(t),8,-1)}}function UH(){if(AH)return OH;AH=1;var t=$H(),e=HH();return OH=function(n){if("Function"===t(n))return e(n)}}function VH(){if(TH)return xH;TH=1;var t="object"==typeof document&&document.all;return xH=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var GH,WH,qH,KH,YH={};function XH(){return WH?GH:(WH=1,GH=!LH()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function JH(){if(KH)return qH;KH=1;var t=MH(),e=Function.prototype.call;return qH=t?e.bind(e):function(){return e.apply(e,arguments)},qH}var ZH,QH,t$,e$,n$,r$,o$,i$,u$,a$,s$,c$,l$,f$,d$,p$,h$,v$,g$,y$,m$,b$,E$,w$,S$,C$,D$,O$,A$,x$,T$,N$,P$,k$,I$,B$,F$,R$={};function _$(){if(ZH)return R$;ZH=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return R$.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,R$}function j$(){return t$?QH:(t$=1,QH=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function L$(){if(n$)return e$;n$=1;var t=HH(),e=LH(),n=$H(),r=Object,o=t("".split);return e$=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function M$(){return o$?r$:(o$=1,r$=function(t){return null==t})}function z$(){if(u$)return i$;u$=1;var t=M$(),e=TypeError;return i$=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function H$(){if(s$)return a$;s$=1;var t=L$(),e=z$();return a$=function(n){return t(e(n))}}function $$(){if(l$)return c$;l$=1;var t=VH();return c$=function(e){return"object"==typeof e?null!==e:t(e)}}function U$(){return d$?f$:(d$=1,f$={})}function V$(){if(h$)return p$;h$=1;var t=U$(),e=jH(),n=VH(),r=function(t){return n(t)?t:void 0};return p$=function(n,o){return arguments.length<2?r(t[n])||r(e[n]):t[n]&&t[n][o]||e[n]&&e[n][o]},p$}function G$(){return g$?v$:(g$=1,v$=HH()({}.isPrototypeOf))}function W$(){if(E$)return b$;E$=1;var t,e,n=jH(),r=function(){if(m$)return y$;m$=1;var t=jH().navigator,e=t&&t.userAgent;return y$=e?String(e):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),b$=e}function q$(){if(S$)return w$;S$=1;var t=W$(),e=LH(),n=jH().String;return w$=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function K$(){return D$?C$:(D$=1,C$=q$()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function Y$(){if(A$)return O$;A$=1;var t=V$(),e=VH(),n=G$(),r=Object;return O$=K$()?function(t){return"symbol"==typeof t}:function(o){var i=t("Symbol");return e(i)&&n(i.prototype,r(o))}}function X$(){if(T$)return x$;T$=1;var t=String;return x$=function(e){try{return t(e)}catch(t){return"Object"}}}function J$(){if(P$)return N$;P$=1;var t=VH(),e=X$(),n=TypeError;return N$=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}var Z$,Q$,tU,eU,nU,rU,oU,iU,uU,aU,sU,cU,lU,fU,dU,pU,hU,vU,gU,yU,mU,bU,EU,wU,SU,CU,DU,OU,AU={exports:{}};function xU(){return Q$?Z$:(Q$=1,Z$=!0)}function TU(){if(nU)return AU.exports;nU=1;var t=xU(),e=jH(),n=function(){if(eU)return tU;eU=1;var t=jH(),e=Object.defineProperty;return tU=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}(),r="__core-js_shared__",o=AU.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),AU.exports}function NU(){if(oU)return rU;oU=1;var t=TU();return rU=function(e,n){return t[e]||(t[e]=n||{})}}function PU(){if(uU)return iU;uU=1;var t=z$(),e=Object;return iU=function(n){return e(t(n))}}function kU(){if(sU)return aU;sU=1;var t=HH(),e=PU(),n=t({}.hasOwnProperty);return aU=Object.hasOwn||function(t,r){return n(e(t),r)}}function IU(){if(lU)return cU;lU=1;var t=HH(),e=0,n=Math.random(),r=t(1.1.toString);return cU=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function BU(){if(dU)return fU;dU=1;var t=jH(),e=NU(),n=kU(),r=IU(),o=q$(),i=K$(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return fU=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function FU(){if(hU)return pU;hU=1;var t=JH(),e=$$(),n=Y$(),r=function(){if(I$)return k$;I$=1;var t=J$(),e=M$();return k$=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}(),o=function(){if(F$)return B$;F$=1;var t=JH(),e=VH(),n=$$(),r=TypeError;return B$=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},B$}(),i=TypeError,u=BU()("toPrimitive");return pU=function(a,s){if(!e(a)||n(a))return a;var c,l=r(a,u);if(l){if(void 0===s&&(s="default"),c=t(l,a,s),!e(c)||n(c))return c;throw new i("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(a,s)}}function RU(){if(gU)return vU;gU=1;var t=FU(),e=Y$();return vU=function(n){var r=t(n,"string");return e(r)?r:r+""}}function _U(){if(mU)return yU;mU=1;var t=jH(),e=$$(),n=t.document,r=e(n)&&e(n.createElement);return yU=function(t){return r?n.createElement(t):{}}}function jU(){if(EU)return bU;EU=1;var t=XH(),e=LH(),n=_U();return bU=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function LU(){if(wU)return YH;wU=1;var t=XH(),e=JH(),n=_$(),r=j$(),o=H$(),i=RU(),u=kU(),a=jU(),s=Object.getOwnPropertyDescriptor;return YH.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},YH}function MU(){if(OU)return DU;OU=1;var t=UH(),e=J$(),n=MH(),r=t(t.bind);return DU=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},DU}var zU,HU,$U,UU,VU,GU,WU,qU,KU,YU,XU,JU,ZU,QU,tV,eV,nV,rV,oV,iV,uV,aV,sV,cV,lV,fV,dV,pV,hV,vV,gV,yV,mV,bV,EV,wV,SV,CV,DV={};function OV(){return HU?zU:(HU=1,zU=XH()&&LH()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function AV(){if(UU)return $U;UU=1;var t=$$(),e=String,n=TypeError;return $U=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function xV(){if(VU)return DV;VU=1;var t=XH(),e=jU(),n=OV(),r=AV(),o=RU(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return DV.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},DV}function TV(){if(WU)return GU;WU=1;var t=XH(),e=xV(),n=j$();return GU=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}function NV(){if(KU)return qU;KU=1;var t=jH(),e=zH(),n=UH(),r=VH(),o=LU().f,i=function(){if(CU)return SU;CU=1;var t=LH(),e=VH(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return SU=r}(),u=U$(),a=MU(),s=TV(),c=kU(),l=function(t){var n=function(r,o,i){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,o)}return new t(r,o,i)}return e(t,this,arguments)};return n.prototype=t.prototype,n};return qU=function(e,f){var d,p,h,v,g,y,m,b,E,w=e.target,S=e.global,C=e.stat,D=e.proto,O=S?t:C?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],x=A.prototype;for(v in f)p=!(d=i(S?v:w+(C?".":"#")+v,e.forced))&&O&&c(O,v),y=A[v],p&&(m=e.dontCallGetSet?(E=o(O,v))&&E.value:O[v]),g=p&&m?m:f[v],(d||D||typeof y!=typeof g)&&(b=e.bind&&p?a(g,t):e.wrap&&p?l(g):D&&r(g)?n(g):g,(e.sham||g&&g.sham||y&&y.sham)&&s(b,"sham",!0),s(A,v,b),D&&(c(u,h=w+"Prototype")||s(u,h,{}),s(u[h],v,g),e.real&&x&&(d||!x[v])&&s(x,v,g)))}}function PV(){if(XU)return YU;XU=1;var t=$H();return YU=Array.isArray||function(e){return"Array"===t(e)}}function kV(){if(tV)return QU;tV=1;var t=function(){if(ZU)return JU;ZU=1;var t=Math.ceil,e=Math.floor;return JU=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return QU=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function IV(){if(oV)return rV;oV=1;var t=function(){if(nV)return eV;nV=1;var t=kV(),e=Math.min;return eV=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}();return rV=function(e){return t(e.length)}}function BV(){if(lV)return cV;lV=1;var t={};return t[BU()("toStringTag")]="z",cV="[object z]"===String(t)}function FV(){if(dV)return fV;dV=1;var t=BV(),e=VH(),n=$H(),r=BU()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return fV=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function RV(){if(gV)return vV;gV=1;var t=HH(),e=LH(),n=VH(),r=FV(),o=V$(),i=function(){if(hV)return pV;hV=1;var t=HH(),e=VH(),n=TU(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),pV=n.inspectSource}(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,vV=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function _V(){if(EV)return bV;EV=1;var t=function(){if(mV)return yV;mV=1;var t=PV(),e=RV(),n=$$(),r=BU()("species"),o=Array;return yV=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return bV=function(e,n){return new(t(e))(0===n?0:n)}}var jV,LV,MV={},zV={};function HV(){if(LV)return jV;LV=1;var t=FV(),e=String;return jV=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}var $V,UV,VV,GV,WV,qV,KV,YV,XV,JV,ZV,QV,tG,eG,nG,rG,oG,iG,uG,aG={};function sG(){if(GV)return VV;GV=1;var t=H$(),e=function(){if(UV)return $V;UV=1;var t=kV(),e=Math.max,n=Math.min;return $V=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)},$V}(),n=IV(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return VV={includes:r(!0),indexOf:r(!1)}}function cG(){return qV?WV:(qV=1,WV={})}function lG(){if(YV)return KV;YV=1;var t=HH(),e=kU(),n=H$(),r=sG().indexOf,o=cG(),i=t([].push);return KV=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function fG(){return JV?XV:(JV=1,XV=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function dG(){if(QV)return ZV;QV=1;var t=lG(),e=fG();return ZV=Object.keys||function(n){return t(n,e)}}function pG(){if(tG)return aG;tG=1;var t=XH(),e=OV(),n=xV(),r=AV(),o=H$(),i=dG();return aG.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},aG}function hG(){if(oG)return rG;oG=1;var t=NU(),e=IU(),n=t("keys");return rG=function(t){return n[t]||(n[t]=e(t))}}function vG(){if(uG)return iG;uG=1;var t,e=AV(),n=pG(),r=fG(),o=cG(),i=nG?eG:(nG=1,eG=V$()("document","documentElement")),u=_U(),a="prototype",s="script",c=hG()("IE_PROTO"),l=function(){},f=function(t){return"<"+s+">"+t+"</"+s+">"},d=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;p="undefined"!=typeof document?document.domain&&t?d(t):(n=u("iframe"),o="java"+s+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):d(t);for(var c=r.length;c--;)delete p[a][r[c]];return p()};return o[c]=!0,iG=Object.create||function(t,r){var o;return null!==t?(l[a]=e(t),o=new l,l[a]=null,o[c]=t):o=p(),void 0===r?o:n.f(o,r)}}var gG,yG={};function mG(){if(gG)return yG;gG=1;var t=lG(),e=fG().concat("length","prototype");return yG.f=Object.getOwnPropertyNames||function(n){return t(n,e)},yG}var bG,EG,wG,SG={};function CG(){return EG?bG:(EG=1,bG=HH()([].slice))}var DG,OG,AG,xG,TG,NG={};function PG(){return DG||(DG=1,NG.f=Object.getOwnPropertySymbols),NG}function kG(){if(AG)return OG;AG=1;var t=TV();return OG=function(e,n,r,o){return o&&o.enumerable?e[n]=r:t(e,n,r),e}}var IG,BG,FG,RG,_G,jG,LG,MG,zG,HG,$G,UG,VG,GG,WG,qG,KG={};function YG(){if(IG)return KG;IG=1;var t=BU();return KG.f=t,KG}function XG(){if(FG)return BG;FG=1;var t=U$(),e=kU(),n=YG(),r=xV().f;return BG=function(o){var i=t.Symbol||(t.Symbol={});e(i,o)||r(i,o,{value:n.f(o)})}}function JG(){if(_G)return RG;_G=1;var t=JH(),e=V$(),n=BU(),r=kG();return RG=function(){var o=e("Symbol"),i=o&&o.prototype,u=i&&i.valueOf,a=n("toPrimitive");i&&!i[a]&&r(i,a,function(e){return t(u,this)},{arity:1})}}function ZG(){if(zG)return MG;zG=1;var t=BV(),e=xV().f,n=TV(),r=kU(),o=function(){if(LG)return jG;LG=1;var t=BV(),e=FV();return jG=t?{}.toString:function(){return"[object "+e(this)+"]"}}(),i=BU()("toStringTag");return MG=function(u,a,s,c){var l=s?u:u&&u.prototype;l&&(r(l,i)||e(l,i,{configurable:!0,value:a}),c&&!t&&n(l,"toString",o))}}function QG(){if(VG)return UG;VG=1;var t,e,n,r=function(){if($G)return HG;$G=1;var t=jH(),e=VH(),n=t.WeakMap;return HG=e(n)&&/native code/.test(String(n))}(),o=jH(),i=$$(),u=TV(),a=kU(),s=TU(),c=hG(),l=cG(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return UG={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}var tW,eW,nW,rW={};function oW(){return eW?tW:(eW=1,tW=q$()&&!!Symbol.for&&!!Symbol.keyFor)}var iW,uW,aW,sW,cW={},lW={};var fW,dW,pW={};function hW(){return dW||(dW=1,function(){if(qG)return zV;qG=1;var t=NV(),e=jH(),n=JH(),r=HH(),o=xU(),i=XH(),u=q$(),a=LH(),s=kU(),c=G$(),l=AV(),f=H$(),d=RU(),p=HV(),h=j$(),v=vG(),g=dG(),y=mG(),m=function(){if(wG)return SG;wG=1;var t=$H(),e=H$(),n=mG().f,r=CG(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return SG.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},SG}(),b=PG(),E=LU(),w=xV(),S=pG(),C=_$(),D=kG(),O=function(){if(TG)return xG;TG=1;var t=xV();return xG=function(e,n,r){return t.f(e,n,r)}}(),A=NU(),x=hG(),T=cG(),N=IU(),P=BU(),k=YG(),I=XG(),B=JG(),F=ZG(),R=QG(),_=function(){if(WG)return GG;WG=1;var t=MU(),e=HH(),n=L$(),r=PU(),o=IV(),i=_V(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return GG={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,j=x("hidden"),L="Symbol",M="prototype",z=R.set,H=R.getterFor(L),$=Object[M],U=e.Symbol,V=U&&U[M],G=e.RangeError,W=e.TypeError,q=e.QObject,K=E.f,Y=w.f,X=m.f,J=C.f,Z=r([].push),Q=A("symbols"),tt=A("op-symbols"),et=A("wks"),nt=!q||!q[M]||!q[M].findChild,rt=function(t,e,n){var r=K($,e);r&&delete $[e],Y(t,e,n),r&&t!==$&&Y($,e,r)},ot=i&&a(function(){return 7!==v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?rt:Y,it=function(t,e){var n=Q[t]=v(V);return z(n,{type:L,tag:t,description:e}),i||(n.description=e),n},ut=function(t,e,n){t===$&&ut(tt,e,n),l(t);var r=d(e);return l(n),s(Q,r)?(n.enumerable?(s(t,j)&&t[j][r]&&(t[j][r]=!1),n=v(n,{enumerable:h(0,!1)})):(s(t,j)||Y(t,j,h(1,v(null))),t[j][r]=!0),ot(t,r,n)):Y(t,r,n)},at=function(t,e){l(t);var r=f(e),o=g(r).concat(ft(r));return _(o,function(e){i&&!n(st,r,e)||ut(t,e,r[e])}),t},st=function(t){var e=d(t),r=n(J,this,e);return!(this===$&&s(Q,e)&&!s(tt,e))&&(!(r||!s(this,e)||!s(Q,e)||s(this,j)&&this[j][e])||r)},ct=function(t,e){var n=f(t),r=d(e);if(n!==$||!s(Q,r)||s(tt,r)){var o=K(n,r);return!o||!s(Q,r)||s(n,j)&&n[j][r]||(o.enumerable=!0),o}},lt=function(t){var e=X(f(t)),n=[];return _(e,function(t){s(Q,t)||s(T,t)||Z(n,t)}),n},ft=function(t){var e=t===$,n=X(e?tt:f(t)),r=[];return _(n,function(t){!s(Q,t)||e&&!s($,t)||Z(r,Q[t])}),r};u||(U=function(){if(c(V,this))throw new W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,r=N(t),o=function(t){var i=void 0===this?e:this;i===$&&n(o,tt,t),s(i,j)&&s(i[j],r)&&(i[j][r]=!1);var u=h(1,t);try{ot(i,r,u)}catch(t){if(!(t instanceof G))throw t;rt(i,r,u)}};return i&&nt&&ot($,r,{configurable:!0,set:o}),it(r,t)},D(V=U[M],"toString",function(){return H(this).tag}),D(U,"withoutSetter",function(t){return it(N(t),t)}),C.f=st,w.f=ut,S.f=at,E.f=ct,y.f=m.f=lt,b.f=ft,k.f=function(t){return it(P(t),t)},i&&(O(V,"description",{configurable:!0,get:function(){return H(this).description}}),o||D($,"propertyIsEnumerable",st,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),_(g(et),function(t){I(t)}),t({target:L,stat:!0,forced:!u},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!i},{create:function(t,e){return void 0===e?v(t):at(v(t),e)},defineProperty:ut,defineProperties:at,getOwnPropertyDescriptor:ct}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),B(),F(U,L),T[j]=!0}(),function(){if(nW)return rW;nW=1;var t=NV(),e=V$(),n=kU(),r=HV(),o=NU(),i=oW(),u=o("string-to-symbol-registry"),a=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{for:function(t){var o=r(t);if(n(u,o))return u[o];var i=e("Symbol")(o);return u[o]=i,a[i]=o,i}})}(),function(){if(iW)return cW;iW=1;var t=NV(),e=kU(),n=Y$(),r=X$(),o=NU(),i=oW(),u=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{keyFor:function(t){if(!n(t))throw new TypeError(r(t)+" is not a symbol");if(e(u,t))return u[t]}})}(),function(){if(sW)return lW;sW=1;var t=NV(),e=V$(),n=zH(),r=JH(),o=HH(),i=LH(),u=VH(),a=Y$(),s=CG(),c=function(){if(aW)return uW;aW=1;var t=HH(),e=PV(),n=VH(),r=$H(),o=HV(),i=t([].push);return uW=function(t){if(n(t))return t;if(e(t)){for(var u=t.length,a=[],s=0;s<u;s++){var c=t[s];"string"==typeof c?i(a,c):"number"!=typeof c&&"Number"!==r(c)&&"String"!==r(c)||i(a,o(c))}var l=a.length,f=!0;return function(t,n){if(f)return f=!1,n;if(e(this))return n;for(var r=0;r<l;r++)if(a[r]===t)return n}}}}(),l=q$(),f=String,d=e("JSON","stringify"),p=o(/./.exec),h=o("".charAt),v=o("".charCodeAt),g=o("".replace),y=o(1.1.toString),m=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,w=!l||i(function(){var t=e("Symbol")("stringify detection");return"[null]"!==d([t])||"{}"!==d({a:t})||"{}"!==d(Object(t))}),S=i(function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")}),C=function(t,e){var o=s(arguments),i=c(e);if(u(i)||void 0!==t&&!a(t))return o[1]=function(t,e){if(u(i)&&(e=r(i,this,f(t),e)),!a(e))return e},n(d,null,o)},D=function(t,e,n){var r=h(n,e-1),o=h(n,e+1);return p(b,t)&&!p(E,o)||p(E,t)&&!p(b,r)?"\\u"+y(v(t,0),16):t};d&&t({target:"JSON",stat:!0,arity:3,forced:w||S},{stringify:function(t,e,r){var o=s(arguments),i=n(w?C:d,null,o);return S&&"string"==typeof i?g(i,m,D):i}})}(),function(){if(fW)return pW;fW=1;var t=NV(),e=q$(),n=LH(),r=PG(),o=PU();t({target:"Object",stat:!0,forced:!e||n(function(){r.f(1)})},{getOwnPropertySymbols:function(t){var e=r.f;return e?e(o(t)):[]}})}()),MV}var vW,gW,yW={};function mW(){return vW||(vW=1,XG()("asyncDispose")),yW}var bW,EW,wW,SW={};function CW(){return bW||(bW=1,XG()("dispose")),SW}var DW,OW,AW,xW,TW,NW,PW,kW={};function IW(){return DW||(DW=1,XG()("iterator")),kW}var BW,FW,RW,_W,jW,LW,MW={},zW={},HW={};function $W(){return LW?jW:(LW=1,function(){if(CV)return _H;CV=1;var t=NV(),e=LH(),n=PV(),r=$$(),o=PU(),i=IV(),u=function(){if(uV)return iV;uV=1;var t=TypeError;return iV=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(sV)return aV;sV=1;var t=XH(),e=xV(),n=j$();return aV=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=_V(),c=function(){if(SV)return wV;SV=1;var t=LH(),e=BU(),n=W$(),r=e("species");return wV=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=BU(),f=W$(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}(),hW(),mW(),gW||(gW=1,XG()("asyncIterator")),CW(),EW||(EW=1,XG()("hasInstance")),wW||(wW=1,XG()("isConcatSpreadable")),IW(),OW||(OW=1,XG()("match")),AW||(AW=1,XG()("matchAll")),xW||(xW=1,XG()("replace")),TW||(TW=1,XG()("search")),NW||(NW=1,XG()("species")),PW||(PW=1,XG()("split")),function(){if(BW)return MW;BW=1;var t=XG(),e=JG();t("toPrimitive"),e()}(),function(){if(FW)return zW;FW=1;var t=V$(),e=XG(),n=ZG();e("toStringTag"),n(t("Symbol"),"Symbol")}(),RW||(RW=1,XG()("unscopables")),function(){if(_W)return HW;_W=1;var t=jH();ZG()(t.JSON,"JSON",!0)}(),jW=U$().Symbol)}var UW,VW,GW,WW,qW,KW,YW,XW,JW,ZW,QW,tq,eq,nq,rq,oq,iq,uq,aq,sq,cq,lq,fq,dq,pq,hq,vq,gq,yq,mq,bq,Eq,wq,Sq={};function Cq(){return WW?GW:(WW=1,GW={})}function Dq(){if(ZW)return JW;ZW=1;var t=kU(),e=VH(),n=PU(),r=hG(),o=XW?YW:(XW=1,YW=!LH()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),i=r("IE_PROTO"),u=Object,a=u.prototype;return JW=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function Oq(){if(tq)return QW;tq=1;var t,e,n,r=LH(),o=VH(),i=$$(),u=vG(),a=Dq(),s=kG(),c=BU(),l=xU(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),QW={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function Aq(){if(sq)return aq;sq=1;var t=function(){if(uq)return iq;uq=1;var t=$$();return iq=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return aq=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function xq(){if(lq)return cq;lq=1;var t=function(){if(oq)return rq;oq=1;var t=HH(),e=J$();return rq=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=$$(),n=z$(),r=Aq();return cq=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function Tq(){if(dq)return fq;dq=1;var t=NV(),e=JH(),n=xU(),r=function(){if(KW)return qW;KW=1;var t=XH(),e=kU(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return qW={EXISTS:o,PROPER:i,CONFIGURABLE:u}}(),o=VH(),i=function(){if(nq)return eq;nq=1;var t=Oq().IteratorPrototype,e=vG(),n=j$(),r=ZG(),o=Cq(),i=function(){return this};return eq=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=Dq(),a=xq(),s=ZG(),c=TV(),l=kG(),f=BU(),d=Cq(),p=Oq(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return fq=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function Nq(){return hq?pq:(hq=1,pq=function(t,e){return{value:t,done:e}})}function Pq(){if(gq)return vq;gq=1;var t=H$(),e=VW?UW:(VW=1,UW=function(){}),n=Cq(),r=QG(),o=xV().f,i=Tq(),u=Nq(),a=xU(),s=XH(),c="Array Iterator",l=r.set,f=r.getterFor(c);vq=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return vq}function kq(){if(bq)return Sq;bq=1,Pq();var t=mq?yq:(mq=1,yq={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}),e=jH(),n=ZG(),r=Cq();for(var o in t)n(e[o],o),r[o]=r.Array;return Sq}var Iq,Bq,Fq,Rq,_q,jq,Lq,Mq,zq,Hq,$q,Uq,Vq,Gq,Wq,qq,Kq,Yq,Xq,Jq,Zq,Qq,tK,eK,nK={};function rK(){if(jq)return _q;jq=1;var t=function(){if(wq)return Eq;wq=1;var t=$W();return kq(),Eq=t}();return function(){if(Iq)return nK;Iq=1;var t=BU(),e=xV().f,n=t("metadata"),r=Function.prototype;void 0===r[n]&&e(r,n,{value:null})}(),Bq||(Bq=1,mW()),Fq||(Fq=1,CW()),Rq||(Rq=1,XG()("metadata")),_q=t}function oK(){if(Mq)return Lq;Mq=1;var t=V$(),e=HH(),n=t("Symbol"),r=n.keyFor,o=e(n.prototype.valueOf);return Lq=n.isRegisteredSymbol||function(t){try{return void 0!==r(o(t))}catch(t){return!1}}}function iK(){if($q)return Hq;$q=1;for(var t=NU(),e=V$(),n=HH(),r=Y$(),o=BU(),i=e("Symbol"),u=i.isWellKnownSymbol,a=e("Object","getOwnPropertyNames"),s=n(i.prototype.valueOf),c=t("wks"),l=0,f=a(i),d=f.length;l<d;l++)try{var p=f[l];r(i[p])&&o(p)}catch(t){}return Hq=function(t){if(u&&u(t))return!0;try{for(var e=s(t),n=0,r=a(c),o=r.length;n<o;n++)if(c[r[n]]==e)return!0}catch(t){}return!1},Hq}var uK,aK,sK,cK,lK,fK,dK,pK,hK,vK,gK,yK,mK,bK=ZB(eK?tK:(eK=1,tK=function(){if(Qq)return Zq;Qq=1;var t=rK();return zq||(zq=1,NV()({target:"Symbol",stat:!0},{isRegisteredSymbol:oK()})),Uq||(Uq=1,NV()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:iK()})),Vq||(Vq=1,XG()("customMatcher")),Gq||(Gq=1,XG()("observable")),Wq||(Wq=1,NV()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:oK()})),qq||(qq=1,NV()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:iK()})),Kq||(Kq=1,XG()("matcher")),Yq||(Yq=1,XG()("metadataKey")),Xq||(Xq=1,XG()("patternMatch")),Jq||(Jq=1,XG()("replaceAll")),Zq=t}())),EK={};function wK(){return lK?cK:(lK=1,Pq(),function(){if(sK)return EK;sK=1;var t=function(){if(aK)return uK;aK=1;var t=HH(),e=kV(),n=HV(),r=z$(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return uK={codeAt:a(!1),charAt:a(!0)}}().charAt,e=HV(),n=QG(),r=Tq(),o=Nq(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}(),IW(),cK=YG().f("iterator"))}function SK(){return hK?pK:(hK=1,pK=function(){if(dK)return fK;dK=1;var t=wK();return kq(),fK=t}())}var CK=ZB(mK?yK:(mK=1,yK=gK?vK:(gK=1,vK=SK())));function DK(t){return DK="function"==typeof bK&&"symbol"==typeof CK?function(t){return typeof t}:function(t){return t&&"function"==typeof bK&&t.constructor===bK&&t!==bK.prototype?"symbol":typeof t},DK(t)}var OK,AK,xK,TK={};!function(){if(xK)return TK;xK=1;var t=pF(),e=R_().EXISTS,n=uR(),r=function(){if(AK)return OK;AK=1;var t=z_(),e=y_();return OK=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var NK,PK,kK,IK,BK,FK,RK,_K=function(){function t(){this.tag="select",this.width=80}return t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.mark,n=yp.Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isDisabled=function(t){return null==t.selection||!!fL(yp.Editor.nodes(t,{match:function(e){return"pre"===tP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.exec=function(t,e){var n=this.mark;e?t.addMark(n,e):t.removeMark(n)},t}(),jK=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("fontFamily.title"),e.iconSvg='<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>',e.mark="fontFamily",e.selectPanelWidth=150,e}return uL(e,t),e.prototype.getOptions=function(t){var e=[],n=t.getMenuConfig(this.mark).fontFamilyList,r=void 0===n?[]:n;e.push({text:fI("fontFamily.default"),value:""}),r.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t,styleForRenderMenuList:{"font-family":t}});else if("object"===DK(t)){var n=t.name,r=t.value;e.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(_K),LK=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("fontSize.title"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',e.mark="fontSize",e}return uL(e,t),e.prototype.getOptions=function(t){var e=[],n=t.getMenuConfig(this.mark).fontSizeList,r=void 0===n?[]:n;e.push({text:fI("fontSize.default"),value:""}),r.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t});else if("object"===DK(t)){var n=t.name,r=t.value;e.push({text:n,value:r})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(_K),MK={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},zK={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&dH(i,{fontSize:r}),o&&dH(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!yp.Text.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((kM(e)||"span"!==BM(n=Rp(e)))&&(n=Rp("<span>".concat(e,"</span>"))),o&&n.css("font-size",o),i&&n.css("font-family",i),IM(n)):e},preParseHtml:[{selector:"font",preParseHtml:function(t){var e=Rp(t);if("font"!==BM(e))return t;var n=e.attr("size")||"";n&&(e.removeAttr("size"),e.css("font-size",MK[n]));var r=e.attr("face")||"";return r&&(e.removeAttr("face"),e.css("font-family",r)),e[0]}}],parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Text.isText(e))return e;var o=e,i=FM(r,"font-size");i&&(o.fontSize=i);var u=FM(r,"font-family").replace(/"/g,"");return u&&(o.fontFamily=u),o},menus:[{key:"fontSize",factory:function(){return new LK},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 jK},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},HK={};!function(){if(RK)return HK;RK=1;var t=Rj(),e=function(){if(FK)return BK;FK=1;var t=pF(),e=dF(),n=uR(),r=function(){if(IK)return kK;IK=1;var t=t_(),e=dR(),n=QR(),r=j_(),o=function(){if(PK)return NK;PK=1;var t=dF();return NK=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return kK=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}(),o=eL(),i=fR(),u=n(oR().f),a=n([].push),s=t&&e(function(){var t=Object.create(null);return t[2]=2,!u(t,2)}),c=function(e){return function(n){for(var c,l=i(n),f=o(l),d=s&&null===r(l),p=f.length,h=0,v=[];p>h;)c=f[h++],t&&!(d?c in l:u(l,c))||a(v,e?[c,l[c]]:l[c]);return v}};return BK={entries:c(!0),values:c(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var $K,UK={};!function(){if($K)return UK;$K=1;var t=Rj(),e=QR(),n=eL();t({target:"Object",stat:!0,forced:dF()(function(){n(1)})},{keys:function(t){return n(e(t))}})}();var VK=function(){function t(){this.title=fI("formatPainter.title"),this.iconSvg='<svg viewBox="0 0 24 24"><path d="M8 19.997v-5h2v5h9v-7H5v7zm-4-9h16v-3h-6v-4h-4v4H4zm-1 10v-8H2v-6a1 1 0 0 1 1-1h5v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3h5a1 1 0 0 1 1 1v6h-1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(e){return t.attrs.isSelect},t.prototype.isDisabled=function(t){return!1},t.prototype.setFormatHtml=function(e){var n,r;if(e.getSelectionText().length){if(t.attrs.formatStyle){!function(t){var e=yp.Editor.marks(t);e&&Object.keys(e).forEach(function(e){t.removeMark(e)})}(e);try{for(var o=lL(Object.entries(t.attrs.formatStyle)),i=o.next();!i.done;i=o.next()){var u=fL(i.value,2),a=u[0],s=u[1];e.addMark(a,s)}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}t.attrs.formatStyle=null,t.attrs.isSelect=!1}},t.prototype.exec=function(e){t.attrs.isSelect?(t.attrs.isSelect=!1,t.attrs.formatStyle=null):e.getSelectionText().length&&(t.attrs.formatStyle=yp.Editor.marks(e),t.attrs.isSelect=!0),e.blur(),e.focus()},t.attrs={isSelect:!1,formatStyle:null},t}(),GK={menus:[{key:"formatPainter",factory:function(){return new VK}}],editorPlugin:function(t){var e=new VK,n=t.onChange,r=t,o=function(){e.setFormatHtml(r),document.removeEventListener("mouseup",o)};return r.onChange=function(){n(),VK.attrs.isSelect&&(document.removeEventListener("mouseup",o),document.addEventListener("mouseup",o))},r}},WK=function(){function t(){this.title=fI("fullScreen.title"),this.iconSvg=IL,this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return t.isFullScreen},t.prototype.isDisabled=function(t){return!1},t.prototype.getIcon=function(t){return t.isFullScreen?IL:'<svg t="1723361745825" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8705" width="200" height="200"><path d="M703.926857 362.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V128a42.642286 42.642286 0 1 1 85.357715 0v149.357714h149.357714c21.211429 0 38.765714 15.433143 42.057143 35.693715l0.585143 6.948571a42.642286 42.642286 0 0 1-42.642286 42.642286H703.926857zM703.926857 938.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V704c0-23.552 19.090286-42.642286 42.642286-42.642286h192.073143a42.642286 42.642286 0 1 1 0 85.284572l-149.357714 0.073143v149.284571c0 21.211429-15.506286 38.765714-35.84 42.130286l-6.875429 0.512zM319.853714 938.642286a42.642286 42.642286 0 0 1-42.642285-42.642286v-149.284571H127.853714a42.642286 42.642286 0 0 1-42.130285-35.84l-0.585143-6.875429c0-23.552 19.163429-42.642286 42.715428-42.642286h192c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286zM127.853714 362.642286a42.642286 42.642286 0 1 1 0-85.284572H277.211429V128c0-21.211429 15.433143-38.765714 35.766857-42.130286l6.875428-0.512c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286H127.853714z" fill="#333333" p-id="8706"></path></svg>'},t.prototype.getTitle=function(t){return t.isFullScreen?fI("fullScreen.title"):fI("fullScreen.cancelTitle")},t.prototype.exec=function(t,e){t.isFullScreen?t.unFullScreen():t.fullScreen()},t}(),qK={menus:[{key:"fullScreen",factory:function(){return new WK}}]};function KK(t){return function(e,n){return"<h".concat(t,">").concat(n,"</h").concat(t,">")}}var YK,XK={type:"header1",elemToHtml:KK(1)},JK={type:"header2",elemToHtml:KK(2)},ZK={type:"header3",elemToHtml:KK(3)},QK={type:"header4",elemToHtml:KK(4)},tY={type:"header5",elemToHtml:KK(5)},eY={type:"header6",elemToHtml:KK(6)},nY={};function rY(t){var e=fL(yp.Editor.nodes(t,{match:function(t){return tP.getNodeType(t).startsWith("header")},universal:!0}),1),n=e[0];if(null==n)return"paragraph";var r=fL(n,1)[0];return tP.getNodeType(r)}function oY(t){return null==t.selection||!fL(yp.Editor.nodes(t,{match:function(t){var e=tP.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function iY(t,e){e&&yp.Transforms.setNodes(t,{type:e})}!function(){if(YK)return nY;YK=1;var t,e=Rj(),n=_L(),r=u_().f,o=sj(),i=Lj(),u=dz(),a=lR(),s=pz(),c=YR(),l=n("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=r(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var n=o(f(arguments.length>1?arguments[1]:void 0,e.length)),r=i(t);return l(e,n,n+r.length)===r}})}();var uY=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return rY(t)},t.prototype.isActive=function(t){return this.getValue(t)===this.type},t.prototype.isDisabled=function(t){return oY(t)},t.prototype.exec=function(t,e){var n=this.type;iY(t,e===n?"paragraph":n)},t}(),aY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="H1",e.type="header1",e}return uL(e,t),e}(uY),sY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="H2",e.type="header2",e}return uL(e,t),e}(uY),cY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="H3",e.type="header3",e}return uL(e,t),e}(uY),lY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="H4",e.type="header4",e}return uL(e,t),e}(uY),fY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="H5",e.type="header5",e}return uL(e,t),e}(uY),dY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="H6",e.type="header6",e}return uL(e,t),e}(uY),pY=function(){function t(){this.title=fI("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 t.prototype.getOptions=function(t){var e=[{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:"header6",text:"H6",styleForRenderMenuList:{"font-size":"11px","font-weight":"bold"}},{value:"paragraph",text:fI("header.text")}],n=this.getValue(t).toString();return e.forEach(function(t){t.value===n?t.selected=!0:t.selected=void 0}),e},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){return rY(t)},t.prototype.isDisabled=function(t){return oY(t)},t.prototype.exec=function(t,e){iY(t,e.toString())},t}(),hY={key:"headerSelect",factory:function(){return new pY}},vY={key:"header1",factory:function(){return new aY}},gY={key:"header2",factory:function(){return new sY}},yY={key:"header3",factory:function(){return new cY}},mY={key:"header4",factory:function(){return new lY}},bY={key:"header5",factory:function(){return new fY}},EY={key:"header6",factory:function(){return new dY}};function wY(t){return function(e,n,r){var o=Rp(e);return 0===(n=n.filter(function(t){return!!yp.Text.isText(t)||!!r.isInline(t)})).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header".concat(t),children:n}}}var SY={selector:"h1:not([data-w-e-type])",parseElemHtml:wY(1)},CY={selector:"h2:not([data-w-e-type])",parseElemHtml:wY(2)},DY={selector:"h3:not([data-w-e-type])",parseElemHtml:wY(3)},OY={selector:"h4:not([data-w-e-type])",parseElemHtml:wY(4)},AY={selector:"h5:not([data-w-e-type])",parseElemHtml:wY(5)},xY={selector:"h6:not([data-w-e-type])",parseElemHtml:wY(6)};function TY(t){return function(e,n,r){return dv("h".concat(t),null,n)}}var NY={renderElems:[{type:"header1",renderElem:TY(1)},{type:"header2",renderElem:TY(2)},{type:"header3",renderElem:TY(3)},{type:"header4",renderElem:TY(4)},{type:"header5",renderElem:TY(5)},{type:"header6",renderElem:TY(6)}],elemsToHtml:[XK,JK,ZK,QK,tY,eY],parseElemsHtml:[SY,CY,DY,OY,AY,xY],menus:[hY,vY,gY,yY,mY,bY,EY],editorPlugin:function(t){var e=t.insertBreak,n=t;return n.insertBreak=function(){var r=fL(yp.Editor.nodes(n,{match:function(t){return tP.getNodeType(t).startsWith("header")},universal:!0}),1)[0];r&&tP.isSelectionAtLineEnd(t,r[1])?yp.Transforms.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):e()},n}},PY=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==tP.getSelectedNodeByType(t,"image")},t.prototype.exec=function(t,e){this.isDisabled(t)||yp.Transforms.removeNodes(t,{match:function(t){return tP.checkNodeType(t,"image")}})},t}();function kY(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(vh())}function IY(t){return t.replace(/</g,"<").replace(/>/g,">")}function BY(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!fL(yp.Editor.nodes(t,{match:function(e){var n=tP.getNodeType(e);return"code"===n||"pre"===n||"link"===n||"list-item"===n||!!n.startsWith("header")||"blockquote"===n||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]}function FY(t,e,n){return sL(this,arguments,void 0,function(t,e,n,r,o){var i,u;return void 0===r&&(r=""),void 0===o&&(o=""),cL(this,function(a){switch(a.label){case 0:return(i=e.getMenuConfig(t).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if("string"==typeof(u=a.sent()))return e.alert(u,"error"),[2,!1];if(null==u)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function RY(t,e,n){return sL(this,void 0,void 0,function(){var r;return cL(this,function(o){switch(o.label){case 0:return(r=e.getMenuConfig(t).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function _Y(t,e){return sL(this,arguments,void 0,function(t,e,n,r){var o,i,u;return void 0===n&&(n=""),void 0===r&&(r=""),cL(this,function(a){switch(a.label){case 0:return[4,FY("insertImage",t,e,n,r)];case 1:return a.sent()?[4,RY("insertImage",t,e)]:[2];case 2:return o=a.sent(),i={type:"image",src:IY(o),href:r,alt:n,style:{},children:[{text:""}]},null===t.selection&&t.restoreSelection(),tP.getSelectedNodeByType(t,"image")&&t.move(1),BY(t)||(yp.Transforms.insertNodes(t,i),(u=t.getMenuConfig("insertImage").onInsertedImage)&&u(i)),[2]}})})}function jY(){return kY("w-e-edit-image")}var LY=function(){function t(){this.title=fI("image.edit"),this.iconSvg=PL,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=jY(),this.altInputId=jY(),this.hrefInputId=jY(),this.buttonId=jY()}return t.prototype.getValue=function(t){return""},t.prototype.getImageNode=function(t){return tP.getSelectedNodeByType(t,"image")},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==tP.getSelectedNodeByType(t,"image")},t.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,u=n.buttonId,a=this.getImageNode(t);if(null==a)throw new Error("Not found selected image node");var s=fL(SI(fI("image.src"),r),2),c=s[0],l=Rp(s[1]),f=fL(SI(fI("image.desc"),o),2),d=f[0],p=Rp(f[1]),h=fL(SI(fI("image.link"),i),2),v=h[0],g=Rp(h[1]),y=fL(CI(u,fI("common.ok")),1)[0];if(null==this.$content){var m=Rp("<div></div>");m.on("click","#".concat(u),function(n){n.preventDefault();var u=m.find("#".concat(r)).val(),a=m.find("#".concat(o)).val(),s=m.find("#".concat(i)).val();e.updateImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=m}var b=this.$content;b.empty(),b.append(c),b.append(d),b.append(v),b.append(y);var E=a,w=E.src,S=E.alt,C=void 0===S?"":S,D=E.href,O=void 0===D?"":D;return l.val(w),p.val(C),g.val(O),setTimeout(function(){l.focus()}),b[0]},t.prototype.updateImage=function(t,e,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),e&&(t.restoreSelection(),this.isDisabled(t)||function(t,e){sL(this,arguments,void 0,function(t,e,n,r,o){var i,u,a,s,c,l;return void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),cL(this,function(f){switch(f.label){case 0:return[4,FY("editImage",t,e,n,r)];case 1:return f.sent()?[4,RY("editImage",t,e)]:[2];case 2:return i=f.sent(),null==(u=tP.getSelectedNodeByType(t,"image"))||(a=u.style,s={src:i,alt:n,href:r,style:aL(aL({},void 0===a?{}:a),o)},yp.Transforms.setNodes(t,s,{match:function(t){return tP.checkNodeType(t,"image")}}),c=tP.getSelectedNodeByType(t,"image"),(l=t.getMenuConfig("editImage").onUpdatedImage)&&l(c)),[2]}})})}(t,e,n,r,o))},t}();function MY(){return kY("w-e-insert-image")}var zY=function(){function t(){this.title=fI("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=MY(),this.heightInputId=MY(),this.buttonId=MY()}return t.prototype.getSelectedImageNode=function(t){return tP.getSelectedNodeByType(t,"image")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedImageNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=e.widthInputId,r=e.heightInputId,o=e.buttonId,i=fL(SI(fI("image.width"),n,"auto"),2),u=i[0],a=Rp(i[1]),s=fL(SI(fI("image.height"),r,"auto"),2),c=s[0],l=Rp(s[1]),f=fL(CI(o,fI("image.ok")),1)[0],d=this.getSelectedImageNode(t);if(null==this.$content){var p=Rp("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(n)).val().trim(),i=p.find("#".concat(r)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s=function(t){return/^\d+(\.\d+)?px$/.test(t)},c="auto",l="auto";u(o)?c=o:a(o)?c="".concat(parseInt(o,10),"px"):s(o)&&(c=o),u(i)?l=i:a(i)?l="".concat(parseInt(i,10),"px"):s(i)&&(l=i);var f=d.style,h=void 0===f?{}:f;t.restoreSelection();var v=aL(aL({},h),{style:{width:c,height:l}});yp.Transforms.setNodes(t,v,{match:function(t){return tP.checkNodeType(t,"image")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.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 a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function HY(){return kY("w-e-insert-image")}var $Y,UY,VY,GY,WY,qY=function(){function t(){this.title=fI("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=HY(),this.altInputId=HY(),this.hrefInputId=HY(),this.buttonId=HY()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return BY(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,u=n.buttonId,a=fL(SI(fI("image.src"),r),2),s=a[0],c=Rp(a[1]),l=fL(SI(fI("image.desc"),o),2),f=l[0],d=Rp(l[1]),p=fL(SI(fI("image.link"),i),2),h=p[0],v=Rp(p[1]),g=fL(CI(u,fI("common.ok")),1)[0];if(null==this.$content){var y=Rp("<div></div>");y.on("click","#".concat(u),function(n){n.preventDefault();var u=y.find("#".concat(r)).val().trim(),a=y.find("#".concat(o)).val().trim(),s=y.find("#".concat(i)).val().trim();e.insertImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=y}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(h),m.append(g),c.val(""),d.val(""),v.val(""),setTimeout(function(){c.focus()}),m[0]},t.prototype.insertImage=function(t,e,n,r){void 0===n&&(n=""),void 0===r&&(r=""),e&&(t.restoreSelection(),this.isDisabled(t)||_Y(t,e,n,r))},t}(),KY=function(){function t(){this.title=fI("image.viewLink"),this.iconSvg=kL,this.tag="button"}return t.prototype.getValue=function(t){var e=tP.getSelectedNodeByType(t,"image");return e&&e.href||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!this.getValue(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View image link failed, image.href is '".concat(e,"'"));window.open(e,"_blank")}},t}(),YY=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.getSelectedNode=function(t){return tP.getSelectedNodeByType(t,"image")},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedNode(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=this.getSelectedNode(t);if(null!=n){var r=tP.getHoverbar(t);r&&r.hideAndClean();var o=n.style,i={style:aL(aL({},void 0===o?{}:o),{width:this.value,height:""})};yp.Transforms.setNodes(t,i,{match:function(t){return tP.checkNodeType(t,"image")}})}}},t}(),XY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="30%",e.value="30%",e}return uL(e,t),e}(YY),JY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="50%",e.value="50%",e}return uL(e,t),e}(YY),ZY=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title="100%",e.value="100%",e}return uL(e,t),e}(YY),QY={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,n){return!0},parseImageSrc:function(t){return t}},tX={key:"insertImage",factory:function(){return new qY},config:QY},eX={key:"deleteImage",factory:function(){return new PY}},nX={key:"editImage",factory:function(){return new LY},config:QY},rX={key:"viewImageLink",factory:function(){return new KY}},oX={key:"imageWidth30",factory:function(){return new XY}},iX={key:"imageWidth50",factory:function(){return new JY}},uX={key:"imageWidth100",factory:function(){return new ZY}},aX={key:"editorImageSizeMenu",factory:function(){return new zY}},sX={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:FM(r,"width"),height:FM(r,"height")},width:r.attr("width")||"",height:r.attr("height")||"",children:[{text:""}]}}},cX={};function lX(t,e){var n=tP.findKey(t,e).id;return"w-e-image-container-".concat(n)}!function(){if(WY)return cX;WY=1;var t=Rj(),e=uR(),n=uj(),r=function(){if(UY)return $Y;UY=1;var t=uR();return $Y=t(1.1.valueOf)}(),o=function(){if(GY)return VY;GY=1;var t=uj(),e=Lj(),n=lR(),r=RangeError;return VY=function(o){var i=e(n(this)),u="",a=t(o);if(a<0||a===1/0)throw new r("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(i+=i))1&a&&(u+=i);return u}}(),i=dF(),u=RangeError,a=String,s=Math.floor,c=e(o),l=e("".slice),f=e(1.1.toFixed),d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)},p=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=s(o/1e7)},h=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=s(r/e),r=r%e*1e7},v=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=a(t[e]);n=""===n?r:n+c("0",7-r.length)+r}return n};t({target:"Number",proto:!0,forced:i(function(){return"0.000"!==f(8e-5,3)||"1"!==f(.9,0)||"1.25"!==f(1.255,2)||"1000000000000000128"!==f(0xde0b6b3a7640080,0)})||!i(function(){f({})})},{toFixed:function(t){var e,o,i,s,f=r(this),g=n(t),y=[0,0,0,0,0,0],m="",b="0";if(g<0||g>20)throw new u("Incorrect fraction digits");if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return a(f);if(f<0&&(m="-",f=-f),f>1e-21)if(o=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(f*d(2,69,1))-69)<0?f*d(2,-e,1):f/d(2,e,1),o*=4503599627370496,(e=52-e)>0){for(p(y,0,o),i=g;i>=7;)p(y,1e7,0),i-=7;for(p(y,d(10,i,1),0),i=e-1;i>=23;)h(y,1<<23),i-=23;h(y,1<<i),p(y,1,1),h(y,2),b=v(y)}else p(y,0,o),p(y,1<<-e,0),b=v(y)+c("0",g);return g>0?m+((s=b.length)<=g?"0."+c("0",g-s)+b:l(b,0,s-g)+"."+l(b,s-g)):m+b}})}();var fX={type:"image",renderElem:function(t,e,n){var r=t,o=r.src,i=r.alt,u=void 0===i?"":i,a=r.href,s=void 0===a?"":a,c=r.style,l=void 0===c?{}:c,f=l.width,d=void 0===f?"":f,p=l.height,h=void 0===p?"":p,v=tP.isNodeSelected(n,t),g={maxWidth:"100%"};d&&(g.width="100%"),h&&(g.height="100%");var y=dv("img",{style:g,src:o,alt:u,"data-href":s}),m=n.isDisabled();return v&&!m?function(t,e,n,r){var o=Rp("body"),i=lX(t,e),u=r.width,a=r.height,s=0,c=0,l=0,f=0,d=!1,p=null,h=Th(function(t){t.preventDefault();var e=t.clientX,n=c+(d?s-e:e-s),r=l*(n/c);n>f-6||null!=p&&(n<=15||r<=15||(p.css("width","".concat(n,"px")),p.css("height","".concat(r,"px"))))},100);function v(n){if(o.off("mousemove",h),null!=p){var r=p.width().toFixed(2),i=p.height().toFixed(2),u={style:aL(aL({},e.style),{width:"".concat(r,"px"),height:"".concat(i,"px")})};yp.Transforms.setNodes(t,u,{at:tP.findPath(t,e)}),o.off("mouseup",v)}}function g(e,n){p=function(){var t=Rp("#".concat(i));if(0===t.length)throw new Error("Cannot find image container elem");return t}(),s=e,f=n;var r=p.find("img");if(0===r.length)throw new Error("Cannot find image elem");c=r.width(),l=r.height(),o.on("mousemove",h),o.on("mouseup",v);var u=tP.getHoverbar(t);u&&u.hideAndClean()}var y={};return u&&(y.width=u),a&&(y.height=a),y.boxShadow="0 0 0 1px #B4D5FF",dv("div",{id:i,style:y,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(n){var r=Rp(n.target);if(r.hasClass("w-e-image-dragger")){n.preventDefault(),(r.hasClass("left-top")||r.hasClass("left-bottom"))&&(d=!0);var o=tP.getParentNode(t,e);if(null!=o){var i=tP.toDOMNode(t,o),u=i.getBoundingClientRect?i.getBoundingClientRect():{width:0},a=window.getComputedStyle(i),s=parseFloat(a.paddingLeft),c=parseFloat(a.paddingRight),l=parseFloat(a.borderLeftWidth),f=parseFloat(a.borderRightWidth);g(n.clientX,u.width-s-c-l-f)}}}}},n,dv("div",{className:"w-e-image-dragger left-top"}),dv("div",{className:"w-e-image-dragger right-top"}),dv("div",{className:"w-e-image-dragger left-bottom"}),dv("div",{className:"w-e-image-dragger right-bottom"}))}(n,t,y,{width:d,height:h}):function(t,e,n,r){var o=r.width,i=r.height,u={};return o&&(u.width=o),i&&(u.height=i),dv("div",{id:lX(t,e),style:u,className:"w-e-image-container"},n)}(n,t,y,{width:d,height:h})}},dX={renderElems:[fX],elemsToHtml:[{type:"image",elemToHtml:function(t,e){var n=t,r=n.src,o=n.alt,i=void 0===o?"":o,u=n.href,a=void 0===u?"":u,s=n.width,c=void 0===s?"":s,l=n.height,f=void 0===l?"":l,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: ".concat(v,";")),y&&(m+="height: ".concat(y,";")),'<img src="'.concat(r,'" alt="').concat(i,'" data-href="').concat(a,'" width="').concat(c,'" height="').concat(f,'" style="').concat(m,'"/>')}}],parseElemsHtml:[sX],menus:[tX,eX,nX,rX,oX,iX,uX,aX],editorPlugin:function(t){var e=t.isInline,n=t.isVoid,r=t;return r.isInline=function(t){return"image"===t.type||e(t)},r.isVoid=function(t){return"image"===t.type||n(t)},r}},pX=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){var e=fL(yp.Editor.nodes(t,{match:function(t){return!!t.indent},universal:!0}),1),n=e[0];return null==n?"":fL(n,1)[0].indent||""},t.prototype.isActive=function(t){return!1},t.prototype.getMatchNode=function(t){var e=fL(yp.Editor.nodes(t,{match:function(t){var e=tP.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t}(),hX=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("indent.decrease"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',e}return uL(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!e.indent},e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{indent:null},{match:function(t){return yp.Element.isElement(t)}})},e}(pX),vX=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("indent.increase"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',e.DEFAULT_INDENT_VALUE="2em",e}return uL(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!!e.indent},e.prototype.getIndentValue=function(t){var e=this.getMatchNode(t);if(!e)return this.DEFAULT_INDENT_VALUE;var n=e.children.filter(yp.Text.isText)[0];if(!n||!n.fontSize)return this.DEFAULT_INDENT_VALUE;var r=n.fontSize,o=parseInt(n.fontSize,10),i=r.replace("".concat(o),"");return"".concat(2*o).concat(i)},e.prototype.exec=function(t,e){var n=this.getIndentValue(t);yp.Transforms.setNodes(t,{indent:n},{match:function(t){return yp.Element.isElement(t)},mode:"highest"})},e}(pX),gX={renderStyle:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.indent,r=e;return n&&dH(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.indent;if(!n)return e;var r=Rp(e);return r.css("text-indent",n),IM(r)},preParseHtml:[{selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=Rp(t),n=FM(e,"padding-left");return/^[1-9]\d*em$/.test(n)&&e.css("text-indent","2em"),/^[1-9]\d*px$/.test(n)&&parseInt(n,10)%32==0&&e.css("text-indent","2em"),e[0]}}],parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;var o=e,i=FM(r,"text-indent"),u=parseInt(i,10);return i&&u>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new vX}},{key:"delIndent",factory:function(){return new hX}}]},yX=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!tP.getSelectedElems(t).some(function(e){var n=e.type;return!(!yp.Editor.isVoid(t,e)||!yp.Editor.isBlock(t,e)||"video"===n)||!!["pre","code"].includes(n)})},t}(),mX=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("justify.center"),e.iconSvg='<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>',e}return uL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"center"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(yX),bX=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("justify.justify"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',e}return uL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"justify"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(yX),EX=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("justify.left"),e.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>',e}return uL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"left"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(yX),wX=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.title=fI("justify.right"),e.iconSvg='<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>',e}return uL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"right"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(yX),SX={renderStyle:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.textAlign,r=e;return n&&dH(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=Rp(e);return r.css("text-align",n),IM(r)},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;var o=e,i=FM(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new EX}},{key:"justifyRight",factory:function(){return new wX}},{key:"justifyCenter",factory:function(){return new mX}},{key:"justifyJustify",factory:function(){return new bX}}]},CX=function(){function t(){this.title=fI("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 t.prototype.getOptions=function(t){var e=[],n=t.getMenuConfig("lineHeight").lineHeightList,r=void 0===n?[]:n;e.push({text:fI("lineHeight.default"),value:""}),r.forEach(function(t){e.push({text:t,value:t})});var o=this.getValue(t);return e.forEach(function(t){t.value===o?t.selected=!0:t.selected=void 0}),e},t.prototype.getMatchNode=function(t){var e=fL(yp.Editor.nodes(t,{match:function(t){var e=tP.getNodeType(t);return!!e.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(e)},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getMatchNode(t);return null==e?"":yp.Element.isElement(e)&&e.lineHeight||""},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getMatchNode(t)},t.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{lineHeight:e.toString()},{mode:"highest"})},t}(),DX={renderStyle:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.lineHeight,r=e;return n&&dH(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=Rp(e);return r.css("line-height",n),IM(r)},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,u=void 0===i?[]:i,a=FM(r,"line-height");return a&&u.includes(a)&&(o.lineHeight=a),o},menus:[{key:"lineHeight",factory:function(){return new CX},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]};function OX(t,e,n,r){return sL(this,void 0,void 0,function(){var o,i;return cL(this,function(u){switch(u.label){case 0:return(o=e.getMenuConfig(t).checkLink)?[4,o(n,r)]:[3,2];case 1:if("string"==typeof(i=u.sent()))return e.alert(i,"error"),[2,!1];if(null==i)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function AX(t,e,n){return sL(this,void 0,void 0,function(){var r;return cL(this,function(o){switch(o.label){case 0:return(r=e.getMenuConfig(t).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function xX(t){return null==t.selection||!!tP.getSelectedElems(t).some(function(e){var n=e.type;return!!t.isVoid(e)||!!["pre","code","link"].includes(n)})}function TX(t,e){return{type:"link",url:IY(t),children:e?[{text:e}]:[]}}function NX(t,e,n){return sL(this,void 0,void 0,function(){var r,o,i,u,a;return cL(this,function(s){switch(s.label){case 0:return n?(e||(e=n),t.restoreSelection(),xX(t)?[2]:[4,OX("insertLink",t,e,n)]):[2];case 1:return s.sent()?[4,AX("insertLink",t,n)]:[2];case 2:if(r=s.sent(),null==(o=t.selection))return[2];if(yp.Range.isCollapsed(o)){if((u=tP.getLeftLengthOfMaxLength(t))<=0)return[2];t.insertText(" "),u<e.length+1&&(e=e.slice(0,u-1)),a=TX(r,e),yp.Transforms.insertNodes(t,a),t.insertFragment([{text:" "}])}else if((i=yp.Editor.string(t,o))!==e){if((u=tP.getLeftLengthOfMaxLength(t))<=0)return[2];u<i.length-e.length&&(e=e.slice(0,u)),t.deleteFragment(),a=TX(r,e),yp.Transforms.insertNodes(t,a)}else a=TX(r),yp.Transforms.wrapNodes(t,a,{split:!0}),yp.Transforms.collapse(t,{edge:"end"});return[2]}})})}function PX(){return kY("w-e-update-link")}var kX=function(){function t(){this.title=fI("link.edit"),this.iconSvg=PL,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=PX(),this.buttonId=PX()}return t.prototype.getSelectedLinkElem=function(t){var e=tP.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.getModalPositionNode=function(t){return tP.getSelectedNodeByType(t,"link")},t.prototype.getModalContentElem=function(t){var e=this.urlInputId,n=this.buttonId,r=fL(SI(fI("link.url"),e),2),o=r[0],i=Rp(r[1]),u=fL(CI(n,fI("common.ok")),1)[0];if(null==this.$content){var a=Rp("<div></div>");a.on("click","#".concat(n),function(n){n.preventDefault(),t.restoreSelection();var r=tP.getSelectedNodeByType(t,"link"),o=r?yp.Node.string(r):"",i=a.find("#".concat(e)).val();!function(t,e,n){sL(this,void 0,void 0,function(){var r,o;return cL(this,function(i){switch(i.label){case 0:return n?[4,OX("editLink",t,e,n)]:[2];case 1:return i.sent()?[4,AX("editLink",t,n)]:[2];case 2:return r=i.sent(),o={url:IY(r)},yp.Transforms.setNodes(t,o,{match:function(t){return tP.checkNodeType(t,"link")}}),[2]}})})}(t,o,i),t.hidePanelOrModal()}),this.$content=a}var s=this.$content;s.empty(),s.append(o),s.append(u);var c=this.getValue(t);return i.val(c),setTimeout(function(){i.focus()}),s[0]},t}();function IX(){return kY("w-e-insert-link")}var BX,FX,RX=function(){function t(){this.title=fI("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=IX(),this.urlInputId=IX(),this.buttonId=IX()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return xX(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=t.selection,n=this,r=n.textInputId,o=n.urlInputId,i=n.buttonId,u=fL(SI(fI("link.text"),r),2),a=u[0],s=Rp(u[1]),c=fL(SI(fI("link.url"),o),2),l=c[0],f=Rp(c[1]),d=fL(CI(i,fI("common.ok")),1)[0];if(null==this.$content){var p=Rp("<div></div>");p.on("click","#".concat(i),function(e){e.preventDefault();var n=p.find("#".concat(r)).val(),i=p.find("#".concat(o)).val();NX(t,n,i),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(a),h.append(l),h.append(d),null==e||yp.Range.isCollapsed(e))s.val("");else{var v=yp.Editor.string(t,e);s.val(v)}return f.val(""),setTimeout(function(){s.focus()}),h[0]},t}(),_X=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==tP.getSelectedNodeByType(t,"link")},t.prototype.exec=function(t,e){this.isDisabled(t)||yp.Transforms.unwrapNodes(t,{match:function(t){return tP.checkNodeType(t,"link")}})},t}(),jX=function(){function t(){this.title=fI("link.view"),this.iconSvg=kL,this.tag="button"}return t.prototype.getSelectedLinkElem=function(t){var e=tP.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View link failed, link url is '".concat(e,"'"));window.open(e,"_blank")}},t}(),LX={checkLink:function(t,e){return!0},parseLinkUrl:function(t){return t}},MX={key:"insertLink",factory:function(){return new RX},config:LX},zX={key:"editLink",factory:function(){return new kX},config:LX},HX={key:"unLink",factory:function(){return new _X}},$X={key:"viewLink",factory:function(){return new jX}},UX={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t).text().replace(/\s+/gm," ");return e.length>0?{text:e.filter(function(t){return yp.Text.isText(t)}).map(function(t){return t.text}).join("")||r}:{text:r}}},VX=ZB(function(){if(FX)return BX;FX=1,BX=function(r){if("string"!=typeof r)return!1;var o=r.match(t);if(!o)return!1;var i=o[1];return!!i&&!(!e.test(i)&&!n.test(i))};var t=/^(?:\w+:)?\/\/(\S+)$/,e=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/;return BX}()),GX={type:"link",renderElem:function(t,e,n){var r=t,o=r.url,i=r.target;return dv("a",{href:o,target:void 0===i?"_blank":i},e)}},WX={renderElems:[GX],elemsToHtml:[{type:"link",elemToHtml:function(t,e){var n=t,r=n.url,o=n.target,i=void 0===o?"_blank":o;return'<a href="'.concat(r,'" target="').concat(i,'">').concat(e,"</a>")}}],parseElemsHtml:[UX],menus:[MX,zX,HX,$X],editorPlugin:function(t){var e=t.isInline,n=t.insertData,r=t.normalizeNode,o=t;return o.isInline=function(t){return"link"===t.type||e(t)},o.insertData=function(t){var e=t.getData("text/plain");if(VX(e)){if(/<img[^>]+>/.test(t.getData("text/html")))n(t);else if(!xX(o)){var r=o.selection;if(null!=r){var i=yp.Editor.string(o,r);NX(o,i,e)}}}else n(t)},o.normalizeNode=function(t){var e=fL(t,2),n=e[0],i=e[1];return"link"!==tP.getNodeType(n)?r([n,i]):""===yp.Node.string(n)?yp.Transforms.removeNodes(o,{at:i}):r([n,i])},o}},qX={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);return 0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}};function KX(t){var e=fL(yp.Editor.nodes(t,{match:function(e){return t.children[0]===e},mode:"highest"}),1)[0];if(null==e)return!1;var n=e[0];if(!yp.Element.isElement(n))return!1;if("paragraph"===n.type)return!1;if(""!==yp.Node.string(n))return!1;var r=n.children,o=void 0===r?[]:r;return!!yp.Text.isText(o[0])&&(yp.Transforms.setNodes(t,{type:"paragraph"}),!0)}var YX={type:"paragraph",renderElem:function(t,e,n){return dv("p",null,e)}},XX={renderElems:[YX],elemsToHtml:[{type:"paragraph",elemToHtml:function(t,e){return""===e?"<p><br></p>":"<p>".concat(e,"</p>")}}],parseElemsHtml:[qX],editorPlugin:function(t){var e=t.deleteBackward,n=t.deleteForward,r=t;return r.deleteBackward=function(t){KX(r)||e(t)},r.deleteForward=function(t){KX(r)||n(t)},r}};function JX(t,e){return null==t.selection||!!fL(yp.Editor.nodes(t,{match:function(e){return"pre"===tP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]}function ZX(t,e){Object.keys(e).forEach(function(e){"text"!==e&&yp.Editor.removeMark(t,e)})}var QX,tJ=function(){function t(){this.marksNeedToRemove=[],this.tag="button"}return t.prototype.getValue=function(t){var e=this.mark,n=yp.Editor.marks(t);return n?n[e]:!!fL(yp.Editor.nodes(t,{match:function(t){return!0===t[e]}}),1)[0]},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return JX(t,this.mark)},t.prototype.exec=function(t,e){var n=this.mark,r=this.marksNeedToRemove;e?t.removeMark(n):(t.addMark(n,!0),r&&r.forEach(function(e){return t.removeMark(e)}))},t}(),eJ=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.mark="bold",e.title=fI("textStyle.bold"),e.iconSvg='<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>',e.hotkey="mod+b",e}return uL(e,t),e}(tJ),nJ=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return JX(t)},t.prototype.exec=function(t,e){var n,r,o=yp.Editor.nodes(t,{match:function(t){return yp.Text.isText(t)},universal:!0});try{for(var i=lL(o),u=i.next();!u.done;u=i.next())ZX(t,u.value[0])}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t}(),rJ=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.mark="code",e.title=fI("textStyle.code"),e.iconSvg='<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>',e.hotkey="mod+e",e}return uL(e,t),e}(tJ),oJ=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.mark="italic",e.title=fI("textStyle.italic"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',e.hotkey="mod+i",e}return uL(e,t),e}(tJ),iJ=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.mark="sub",e.marksNeedToRemove=["sup"],e.title=fI("textStyle.sub"),e.iconSvg='<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>',e.hotkey="",e}return uL(e,t),e}(tJ),uJ=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.mark="sup",e.marksNeedToRemove=["sub"],e.title=fI("textStyle.sup"),e.iconSvg='<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>',e.hotkey="",e}return uL(e,t),e}(tJ),aJ=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.mark="through",e.title=fI("textStyle.through"),e.iconSvg='<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>',e.hotkey="mod+shift+x",e}return uL(e,t),e}(tJ),sJ=function(t){function e(){var e=t.apply(this,dL([],fL(arguments),!1))||this;return e.mark="underline",e.title=fI("textStyle.underline"),e.iconSvg='<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>',e.hotkey="mod+u",e}return uL(e,t),e}(tJ),cJ={key:"bold",factory:function(){return new eJ}},lJ={key:"code",factory:function(){return new rJ}},fJ={key:"italic",factory:function(){return new oJ}},dJ={key:"through",factory:function(){return new aJ}},pJ={key:"underline",factory:function(){return new sJ}},hJ={key:"sup",factory:function(){return new uJ}},vJ={key:"sub",factory:function(){return new iJ}},gJ={key:"clearStyle",factory:function(){return new nJ}},yJ={};!function(){if(QX)return yJ;QX=1;var t=Rj(),e=Lz();t({target:"String",proto:!0,forced:Mz()("bold")},{bold:function(){return e(this,"b","","")}})}();var mJ,bJ={};!function(){if(mJ)return bJ;mJ=1;var t=Rj(),e=Lz();t({target:"String",proto:!0,forced:Mz()("italics")},{italics:function(){return e(this,"i","","")}})}();var EJ,wJ={};!function(){if(EJ)return wJ;EJ=1;var t=Rj(),e=Lz();t({target:"String",proto:!0,forced:Mz()("sub")},{sub:function(){return e(this,"sub","","")}})}();var SJ,CJ={};function DJ(t,e){return 0!==t.length&&(!!t[0].matches(e)||t.find(e).length>0)}function OJ(t,e){var n=e,r=t,o=r.bold,i=r.italic,u=r.underline,a=r.code,s=r.through,c=r.sub,l=r.sup;return o&&(n="<strong>".concat(n,"</strong>")),a&&(n="<code>".concat(n,"</code>")),i&&(n="<em>".concat(n,"</em>")),u&&(n="<u>".concat(n,"</u>")),s&&(n="<s>".concat(n,"</s>")),c&&(n="<sub>".concat(n,"</sub>")),l&&(n="<sup>".concat(n,"</sup>")),n}!function(){if(SJ)return CJ;SJ=1;var t=Rj(),e=Lz();t({target:"String",proto:!0,forced:Mz()("sup")},{sup:function(){return e(this,"sup","","")}})}();var AJ={renderStyle:function(t,e){var n=t,r=n.bold,o=n.italic,i=n.underline,u=n.code,a=n.through,s=n.sub,c=n.sup,l=e;return r&&(l=dv("strong",null,l)),u&&(l=dv("code",null,l)),o&&(l=dv("em",null,l)),i&&(l=dv("u",null,l)),a&&(l=dv("s",null,l)),s&&(l=dv("sub",null,l)),c&&(l=dv("sup",null,l)),l},menus:[cJ,pJ,fJ,dJ,lJ,vJ,hJ,gJ],styleToHtml:function(t,e){if(!yp.Text.isText(t))return e;if(kM(e))return OJ(t,e);var n=Rp(e),r=n.html();return r=OJ(t,r),n.html(r),IM(n)},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Text.isText(e))return e;var o=e;return DJ(r,"b,strong")&&(o.bold=!0),DJ(r,"i,em")&&(o.italic=!0),DJ(r,"u")&&(o.underline=!0),DJ(r,"s,strike")&&(o.through=!0),DJ(r,"sub")&&(o.sub=!0),DJ(r,"sup")&&(o.sup=!0),DJ(r,"code")&&(o.code=!0),o}},xJ=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!!tP.getSelectedNodeByType(t,"todo")},t.prototype.isDisabled=function(t){return null==t.selection||!!tP.getSelectedElems(t).some(function(e){if(yp.Editor.isVoid(t,e)&&yp.Editor.isBlock(t,e))return!0;var n=e.type;return!!["pre","table","list-item"].includes(n)})},t.prototype.exec=function(t,e){var n=this.isActive(t);yp.Transforms.setNodes(t,{type:n?"paragraph":"todo"})},t}(),TJ={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,n){var r=Rp(t);0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{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:e}}},NJ={type:"todo",renderElem:function(t,e,n){var r=!1;n.isDisabled()&&(r=!0);var o=dv("div",{style:{margin:"5px 0"}},dv("span",{contentEditable:!1,style:{marginRight:"0.5em"}},dv("input",{type:"checkbox",checked:t.checked,disabled:r,on:{change:function(e){var r=tP.findPath(n,t),o={checked:e.target.checked};yp.Transforms.setNodes(n,o,{at:r})}}})),dv("span",null,e));return o}},PJ={renderElems:[NJ],elemsToHtml:[{type:"todo",elemToHtml:function(t,e){var n=t.checked;return'<div data-w-e-type="todo"><input type="checkbox" disabled '.concat(n?"checked":"",">").concat(e,"</div>")}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(t){var e=Rp(t).find("li"),n=Rp('<div data-w-e-type="todo"></div>'),r=e.find("input[type]");return n.append(r),e.children()[0].remove(),n[0].innerHTML+=e[0].innerHTML,n[0]}}],parseElemsHtml:[TJ],menus:[{key:"todo",factory:function(){return new xJ}}],editorPlugin:function(t){var e=t.deleteBackward,n=t;return n.deleteBackward=function(n){var r=t.selection;if(r&&yp.Range.isCollapsed(r)){var o=tP.getSelectedNodeByType(t,"todo");if(o&&0===yp.Node.string(o).length)return void yp.Transforms.setNodes(t,{type:"paragraph"},{mode:"highest"})}e(n)},n}},kJ=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.redo&&t.redo()},t}(),IJ=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.undo&&t.undo()},t}(),BJ=[AJ,NH,zK,gX,SX,DX,dX,BH,RH,WX,Gz,qM,NY,XX,PJ,GK,{menus:[{key:"redo",factory:function(){return new kJ}},{key:"undo",factory:function(){return new IJ}}]},qK,kH];cI("en",{highLightModule:{selectLang:"Language"}}),cI("zh-CN",{highLightModule:{selectLang:"选择语言"}});var FJ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var RJ,_J,jJ={};function LJ(){if(_J)return RJ;_J=1;var t=function(t){return t&&t.Math===Math&&t};return RJ=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof FJ&&FJ)||t("object"==typeof RJ&&RJ)||function(){return this}()||Function("return this")()}var MJ,zJ,HJ,$J,UJ,VJ,GJ,WJ,qJ={};function KJ(){return zJ?MJ:(zJ=1,MJ=function(t){try{return!!t()}catch(t){return!0}})}function YJ(){if($J)return HJ;$J=1;var t=KJ();return HJ=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function XJ(){if(VJ)return UJ;VJ=1;var t=KJ();return UJ=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function JJ(){if(WJ)return GJ;WJ=1;var t=XJ(),e=Function.prototype.call;return GJ=t?e.bind(e):function(){return e.apply(e,arguments)},GJ}var ZJ,QJ,tZ,eZ,nZ,rZ,oZ,iZ,uZ,aZ,sZ,cZ,lZ,fZ,dZ,pZ,hZ,vZ,gZ,yZ,mZ,bZ,EZ,wZ,SZ,CZ,DZ,OZ,AZ,xZ,TZ,NZ,PZ,kZ,IZ,BZ,FZ,RZ,_Z,jZ,LZ,MZ={};function zZ(){if(ZJ)return MZ;ZJ=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return MZ.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,MZ}function HZ(){return tZ?QJ:(tZ=1,QJ=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function $Z(){if(nZ)return eZ;nZ=1;var t=XJ(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return eZ=t?r:function(t){return function(){return n.apply(t,arguments)}},eZ}function UZ(){if(oZ)return rZ;oZ=1;var t=$Z(),e=t({}.toString),n=t("".slice);return rZ=function(t){return n(e(t),8,-1)}}function VZ(){if(uZ)return iZ;uZ=1;var t=$Z(),e=KJ(),n=UZ(),r=Object,o=t("".split);return iZ=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function GZ(){return sZ?aZ:(sZ=1,aZ=function(t){return null==t})}function WZ(){if(lZ)return cZ;lZ=1;var t=GZ(),e=TypeError;return cZ=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function qZ(){if(dZ)return fZ;dZ=1;var t=VZ(),e=WZ();return fZ=function(n){return t(e(n))}}function KZ(){if(hZ)return pZ;hZ=1;var t="object"==typeof document&&document.all;return pZ=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function YZ(){if(gZ)return vZ;gZ=1;var t=KZ();return vZ=function(e){return"object"==typeof e?null!==e:t(e)}}function XZ(){if(mZ)return yZ;mZ=1;var t=LJ(),e=KZ();return yZ=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},yZ}function JZ(){if(EZ)return bZ;EZ=1;var t=$Z();return bZ=t({}.isPrototypeOf)}function ZZ(){if(DZ)return CZ;DZ=1;var t,e,n=LJ(),r=function(){if(SZ)return wZ;SZ=1;var t=LJ().navigator,e=t&&t.userAgent;return wZ=e?String(e):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),CZ=e}function QZ(){if(AZ)return OZ;AZ=1;var t=ZZ(),e=KJ(),n=LJ().String;return OZ=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function tQ(){if(TZ)return xZ;TZ=1;var t=QZ();return xZ=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function eQ(){if(PZ)return NZ;PZ=1;var t=XZ(),e=KZ(),n=JZ(),r=tQ(),o=Object;return NZ=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function nQ(){if(FZ)return BZ;FZ=1;var t=KZ(),e=function(){if(IZ)return kZ;IZ=1;var t=String;return kZ=function(e){try{return t(e)}catch(t){return"Object"}}}(),n=TypeError;return BZ=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}var rQ,oQ,iQ,uQ,aQ,sQ,cQ,lQ,fQ,dQ,pQ,hQ,vQ,gQ,yQ,mQ,bQ,EQ,wQ,SQ,CQ,DQ,OQ,AQ,xQ={exports:{}};function TQ(){if(uQ)return iQ;uQ=1;var t=LJ(),e=Object.defineProperty;return iQ=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function NQ(){if(aQ)return xQ.exports;aQ=1;var t=oQ?rQ:(oQ=1,rQ=!1),e=LJ(),n=TQ(),r="__core-js_shared__",o=xQ.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),xQ.exports}function PQ(){if(cQ)return sQ;cQ=1;var t=NQ();return sQ=function(e,n){return t[e]||(t[e]=n||{})}}function kQ(){if(fQ)return lQ;fQ=1;var t=WZ(),e=Object;return lQ=function(n){return e(t(n))}}function IQ(){if(pQ)return dQ;pQ=1;var t=$Z(),e=kQ(),n=t({}.hasOwnProperty);return dQ=Object.hasOwn||function(t,r){return n(e(t),r)}}function BQ(){if(vQ)return hQ;vQ=1;var t=$Z(),e=0,n=Math.random(),r=t(1.1.toString);return hQ=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function FQ(){if(yQ)return gQ;yQ=1;var t=LJ(),e=PQ(),n=IQ(),r=BQ(),o=QZ(),i=tQ(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return gQ=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function RQ(){if(bQ)return mQ;bQ=1;var t=JJ(),e=YZ(),n=eQ(),r=function(){if(_Z)return RZ;_Z=1;var t=nQ(),e=GZ();return RZ=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}(),o=function(){if(LZ)return jZ;LZ=1;var t=JJ(),e=KZ(),n=YZ(),r=TypeError;return jZ=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")}}(),i=FQ(),u=TypeError,a=i("toPrimitive");return mQ=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function _Q(){if(wQ)return EQ;wQ=1;var t=RQ(),e=eQ();return EQ=function(n){var r=t(n,"string");return e(r)?r:r+""}}function jQ(){if(CQ)return SQ;CQ=1;var t=LJ(),e=YZ(),n=t.document,r=e(n)&&e(n.createElement);return SQ=function(t){return r?n.createElement(t):{}}}function LQ(){if(OQ)return DQ;OQ=1;var t=YJ(),e=KJ(),n=jQ();return DQ=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function MQ(){if(AQ)return qJ;AQ=1;var t=YJ(),e=JJ(),n=zZ(),r=HZ(),o=qZ(),i=_Q(),u=IQ(),a=LQ(),s=Object.getOwnPropertyDescriptor;return qJ.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},qJ}var zQ,HQ,$Q,UQ,VQ,GQ,WQ,qQ={};function KQ(){if(HQ)return zQ;HQ=1;var t=YJ(),e=KJ();return zQ=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function YQ(){if(UQ)return $Q;UQ=1;var t=YZ(),e=String,n=TypeError;return $Q=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function XQ(){if(VQ)return qQ;VQ=1;var t=YJ(),e=LQ(),n=KQ(),r=YQ(),o=_Q(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return qQ.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},qQ}function JQ(){if(WQ)return GQ;WQ=1;var t=YJ(),e=XQ(),n=HZ();return GQ=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var ZQ,QQ,t0,e0,n0,r0,o0,i0,u0,a0,s0,c0,l0,f0,d0,p0={exports:{}};function h0(){if(QQ)return ZQ;QQ=1;var t=YJ(),e=IQ(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return ZQ={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function v0(){if(e0)return t0;e0=1;var t=$Z(),e=KZ(),n=NQ(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),t0=n.inspectSource}function g0(){if(i0)return o0;i0=1;var t=PQ(),e=BQ(),n=t("keys");return o0=function(t){return n[t]||(n[t]=e(t))}}function y0(){return a0?u0:(a0=1,u0={})}function m0(){if(c0)return s0;c0=1;var t,e,n,r=function(){if(r0)return n0;r0=1;var t=LJ(),e=KZ(),n=t.WeakMap;return n0=e(n)&&/native code/.test(String(n))}(),o=LJ(),i=YZ(),u=JQ(),a=IQ(),s=NQ(),c=g0(),l=y0(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return s0={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function b0(){if(d0)return f0;d0=1;var t=KZ(),e=XQ(),n=function(){if(l0)return p0.exports;l0=1;var t=$Z(),e=KJ(),n=KZ(),r=IQ(),o=YJ(),i=h0().CONFIGURABLE,u=v0(),a=m0(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=p0.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),p0.exports}(),r=TQ();return f0=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var E0,w0,S0,C0,D0,O0,A0,x0,T0,N0,P0,k0,I0,B0,F0,R0,_0,j0={};function L0(){if(C0)return S0;C0=1;var t=function(){if(w0)return E0;w0=1;var t=Math.ceil,e=Math.floor;return E0=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return S0=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function M0(){if(N0)return T0;N0=1;var t=function(){if(x0)return A0;x0=1;var t=L0(),e=Math.min;return A0=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}();return T0=function(e){return t(e.length)}}function z0(){if(B0)return I0;B0=1;var t=$Z(),e=IQ(),n=qZ(),r=function(){if(k0)return P0;k0=1;var t=qZ(),e=function(){if(O0)return D0;O0=1;var t=L0(),e=Math.max,n=Math.min;return D0=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}(),n=M0(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return P0={includes:r(!0),indexOf:r(!1)}}().indexOf,o=y0(),i=t([].push);return I0=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function H0(){return R0?F0:(R0=1,F0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var $0,U0,V0,G0,W0,q0,K0,Y0,X0,J0,Z0,Q0,t1,e1,n1,r1,o1,i1,u1,a1,s1={};function c1(){return $0||($0=1,s1.f=Object.getOwnPropertySymbols),s1}function l1(){if(W0)return G0;W0=1;var t=IQ(),e=function(){if(V0)return U0;V0=1;var t=XZ(),e=$Z(),n=function(){if(_0)return j0;_0=1;var t=z0(),e=H0().concat("length","prototype");return j0.f=Object.getOwnPropertyNames||function(n){return t(n,e)},j0}(),r=c1(),o=YQ(),i=e([].concat);return U0=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=MQ(),r=XQ();return G0=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function f1(){if(X0)return Y0;X0=1;var t=LJ(),e=MQ().f,n=JQ(),r=b0(),o=TQ(),i=l1(),u=function(){if(K0)return q0;K0=1;var t=KJ(),e=KZ(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return q0=r}();return Y0=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function d1(){if(Z0)return J0;Z0=1;var t={};return t[FQ()("toStringTag")]="z",J0="[object z]"===String(t)}function p1(){if(t1)return Q0;t1=1;var t=d1(),e=KZ(),n=UZ(),r=FQ()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Q0=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function h1(){if(n1)return e1;n1=1;var t=p1(),e=String;return e1=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}!function(){if(a1)return jJ;a1=1;var t=f1(),e=function(){if(o1)return r1;o1=1;var t=$Z(),e=WZ(),n=h1(),r=/"/g,o=t("".replace);return r1=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}(),n=function(){if(u1)return i1;u1=1;var t=KJ();return i1=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),"function"==typeof SuppressedError&&SuppressedError;var v1,g1,y1,m1={};!function(){if(y1)return m1;y1=1;var t=d1(),e=b0(),n=function(){if(g1)return v1;g1=1;var t=d1(),e=p1();return v1=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var b1,E1,w1,S1,C1,D1,O1,A1,x1={exports:{}},T1=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}((b1||(b1=1,function(t){var e=function(t){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof i?new i(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(e,n){var r,i;switch(n=n||{},o.util.type(e)){case"Object":if(i=o.util.objId(e),n[i])return n[i];for(var u in r={},n[i]=r,e)e.hasOwnProperty(u)&&(r[u]=t(e[u],n));return r;case"Array":return i=o.util.objId(e),n[i]?n[i]:(r=[],n[i]=r,e.forEach(function(e,o){r[o]=t(e,n)}),r);default:return e}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(r){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var r="no-"+e;t;){var o=t.classList;if(o.contains(e))return!0;if(o.contains(r))return!1;t=t.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(t,e){var n=o.util.clone(o.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){var i=(r=r||o.languages)[t],u={};for(var a in i)if(i.hasOwnProperty(a)){if(a==e)for(var s in n)n.hasOwnProperty(s)&&(u[s]=n[s]);n.hasOwnProperty(a)||(u[a]=i[a])}var c=r[t];return r[t]=u,o.languages.DFS(o.languages,function(e,n){n===c&&e!=t&&(this[e]=u)}),u},DFS:function t(e,n,r,i){i=i||{};var u=o.util.objId;for(var a in e)if(e.hasOwnProperty(a)){n.call(e,a,e[a],r||a);var s=e[a],c=o.util.type(s);"Object"!==c||i[u(s)]?"Array"!==c||i[u(s)]||(i[u(s)]=!0,t(s,n,a,i)):(i[u(s)]=!0,t(s,n,null,i))}}},plugins:{},highlightAll:function(t,e){o.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var r={callback:n,container:t,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,u=0;i=r.elements[u++];)o.highlightElement(i,!0===e,r.callback)},highlightElement:function(e,n,r){var i=o.util.getLanguage(e),u=o.languages[i];o.util.setLanguage(e,i);var a=e.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&o.util.setLanguage(a,i);var s={element:e,language:i,grammar:u,code:e.textContent};function c(t){s.highlightedCode=t,o.hooks.run("before-insert",s),s.element.innerHTML=s.highlightedCode,o.hooks.run("after-highlight",s),o.hooks.run("complete",s),r&&r.call(s.element)}if(o.hooks.run("before-sanity-check",s),(a=s.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!s.code)return o.hooks.run("complete",s),void(r&&r.call(s.element));if(o.hooks.run("before-highlight",s),s.grammar)if(n&&t.Worker){var l=new Worker(o.filename);l.onmessage=function(t){c(t.data)},l.postMessage(JSON.stringify({language:s.language,code:s.code,immediateClose:!0}))}else c(o.highlight(s.code,s.grammar,s.language));else c(o.util.encode(s.code))},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return 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(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var o=new s;return c(o,o.head,t),a(t,o,e,o.head,0),function(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(o)},hooks:{all:{},add:function(t,e){var n=o.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=o.hooks.all[t];if(n&&n.length)for(var r,i=0;r=n[i++];)r(e)}},Token:i};function i(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length}function u(t,e,n,r){t.lastIndex=e;var o=t.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(t,e,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!==e.tail&&!(f&&C>=f.reach);C+=S.value.length,S=S.next){var D=S.value;if(e.length>t.length)return;if(!(D instanceof i)){var O,A=1;if(m){if(!(O=u(w,C,t,y))||O.index>=t.length)break;var x=O.index,T=O.index+O[0].length,N=C;for(N+=S.value.length;x>=N;)N+=(S=S.next).value.length;if(C=N-=S.value.length,S.value instanceof i)continue;for(var P=S;P!==e.tail&&(N<T||"string"==typeof P.value);P=P.next)A++,N+=P.value.length;A--,D=t.slice(C,N),O.index-=C}else if(!(O=u(w,0,D,y)))continue;x=O.index;var k=O[0],I=D.slice(0,x),B=D.slice(x+k.length),F=C+D.length;f&&F>f.reach&&(f.reach=F);var R=S.prev;if(I&&(R=c(e,R,I),C+=I.length),l(e,R,A),S=c(e,R,new i(d,g?o.tokenize(k,g):k,b,k)),B&&c(e,S,B),A>1){var _={cause:d+","+h,reach:F};a(t,e,n,S.prev,C,_),f&&_.reach>f.reach&&(f.reach=_.reach)}}}}}}function s(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function c(t,e,n){var r=e.next,o={value:n,prev:e,next:r};return e.next=o,r.prev=o,t.length++,o}function l(t,e,n){for(var r=e.next,o=0;o<n&&r!==t.tail;o++)r=r.next;e.next=r,r.prev=e,t.length-=o}if(t.Prism=o,i.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var r="";return e.forEach(function(e){r+=t(e,n)}),r}var i={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},u=e.alias;u&&(Array.isArray(u)?Array.prototype.push.apply(i.classes,u):i.classes.push(u)),o.hooks.run("wrap",i);var a="";for(var s in i.attributes)a+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+a+">"+i.content+"</"+i.tag+">"},!t.document)return t.addEventListener?(o.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,i=n.code,u=n.immediateClose;t.postMessage(o.highlight(i,o.languages[r],r)),u&&t.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
|
+
*/function qS(t){return"[object Object]"===Object.prototype.toString.call(t)}!function(){if(MS)return zS;MS=1;var t=vm(),e=HS(),n=$S(),r=function(){if(LS)return jS;LS=1;var t=GS().forEach,e=WS()("forEach");return jS=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},jS}(),o=IE(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var KS=t=>function(t){var e,n;return!1!==qS(t)&&(void 0===(e=t.constructor)||!1!==qS(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}(t)&&Array.isArray(t.redos)&&Array.isArray(t.undos)&&(0===t.redos.length||yp.Operation.isOperationList(t.redos[0].operations))&&(0===t.undos.length||yp.Operation.isOperationList(t.undos[0].operations)),YS=new WeakMap,XS=new WeakMap,JS={isHistoryEditor:t=>KS(t.history)&&yp.Editor.isEditor(t),isMerging:t=>XS.get(t),isSaving:t=>YS.get(t),redo(t){t.redo()},undo(t){t.undo()},withMerging(t,e){var n=JS.isMerging(t);XS.set(t,!0),e(),XS.set(t,n)},withoutMerging(t,e){var n=JS.isMerging(t);XS.set(t,!1),e(),XS.set(t,n)},withoutSaving(t,e){var n=JS.isSaving(t);YS.set(t,!1),e(),YS.set(t,n)}},ZS=t=>{var e=t,{apply:n}=e;return e.history={undos:[],redos:[]},e.redo=()=>{var{history:t}=e,{redos:n}=t;if(n.length>0){var r=n[n.length-1];r.selectionBefore&&yp.Transforms.setSelection(e,r.selectionBefore),JS.withoutSaving(e,()=>{yp.Editor.withoutNormalizing(e,()=>{for(var t of r.operations)e.apply(t)})}),t.redos.pop(),e.writeHistory("undos",r)}},e.undo=()=>{var{history:t}=e,{undos:n}=t;if(n.length>0){var r=n[n.length-1];JS.withoutSaving(e,()=>{yp.Editor.withoutNormalizing(e,()=>{var t=r.operations.map(yp.Operation.inverse).reverse();for(var n of t)e.apply(n);r.selectionBefore&&yp.Transforms.setSelection(e,r.selectionBefore)})}),e.writeHistory("redos",r),t.undos.pop()}},e.apply=t=>{var{operations:r,history:o}=e,{undos:i}=o,u=i[i.length-1],a=u&&u.operations[u.operations.length-1],s=JS.isSaving(e),c=JS.isMerging(e);if(null==s&&(s=tC(t)),s){if(null==c&&(c=null!=u&&(0!==r.length||QS(t,a))),u&&c)u.operations.push(t);else{var l={operations:[t],selectionBefore:e.selection};e.writeHistory("undos",l)}for(;i.length>100;)i.shift();o.redos=[]}n(t)},e.writeHistory=(t,n)=>{e.history[t].push(n)},e},QS=(t,e)=>!(!e||"insert_text"!==t.type||"insert_text"!==e.type||t.offset!==e.offset+e.text.length||!yp.Path.equals(t.path,e.path))||!(!e||"remove_text"!==t.type||"remove_text"!==e.type||t.offset+t.text.length!==e.offset||!yp.Path.equals(t.path,e.path)),tC=(t,e)=>"set_selection"!==t.type,eC=function(t,e){return eC=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},eC(t,e)};function nC(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}eC(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var rC=function(){return rC=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},rC.apply(this,arguments)};function oC(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function iC(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function uC(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function aC(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var sC={},cC="destroyed",lC="change",fC="scroll",dC={};var pC,hC,vC,gC,yC,mC,bC,EC,wC,SC,CC,DC,OC,AC,xC,TC,NC,PC,kC,IC,BC,FC,RC,_C,jC,LC,MC,zC,HC,$C,UC,VC,GC,WC={};function qC(){if(vC)return hC;vC=1;var t=xb();return hC=t("document","documentElement")}function KC(){if(yC)return gC;yC=1;var t,e=PE(),n=function(){if(pC)return WC;pC=1;var t=Am(),e=NE(),n=kE(),r=PE(),o=Db(),i=ES();return WC.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},WC}(),r=xw(),o=QE(),i=qC(),u=mE(),a=ZE(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,gC=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function YC(){if(bC)return mC;bC=1;var t=vE(),e=KC(),n=kE().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),mC=function(t){o[r][t]=!0}}function XC(){return wC?EC:(wC=1,EC={})}function JC(){if(OC)return DC;OC=1;var t=pE(),e=Ob(),n=dE(),r=ZE(),o=function(){if(CC)return SC;CC=1;var t=Om();return SC=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return DC=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function ZC(){if(xC)return AC;xC=1;var t,e,n,r=Om(),o=Ob(),i=Ab(),u=KC(),a=JC(),s=nw(),c=vE(),l=sE(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),AC={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function QC(){if(NC)return TC;NC=1;var t=kE().f,e=pE(),n=vE()("toStringTag");return TC=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function tD(){if(jC)return _C;jC=1;var t=function(){if(RC)return FC;RC=1;var t=Ab();return FC=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return _C=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function eD(){if(MC)return LC;MC=1;var t=function(){if(BC)return IC;BC=1;var t=bb(),e=Rb();return IC=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=Ab(),n=Cb(),r=tD();return LC=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function nD(){if(HC)return zC;HC=1;var t=aS(),e=Tm(),n=sE(),r=YE(),o=Ob(),i=function(){if(kC)return PC;kC=1;var t=ZC().IteratorPrototype,e=KC(),n=mb(),r=QC(),o=XC(),i=function(){return this};return PC=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=JC(),a=eD(),s=QC(),c=IE(),l=nw(),f=vE(),d=XC(),p=ZC(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return zC=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function rD(){return UC?$C:(UC=1,$C=function(t,e){return{value:t,done:e}})}function oD(){if(GC)return VC;GC=1;var t=Db(),e=YC(),n=XC(),r=tw(),o=kE().f,i=nD(),u=rD(),a=sE(),s=Am(),c="Array Iterator",l=r.set,f=r.getterFor(c);VC=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return VC}oD();var iD,uD,aD,sD,cD,lD={};function fD(){if(uD)return iD;uD=1;var t=dS(),e=String;return iD=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function dD(){if(sD)return aD;sD=1;var t=bb(),e=ww(),n=fD(),r=Cb(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return aD={codeAt:a(!1),charAt:a(!0)}}!function(){if(cD)return lD;cD=1;var t=dD().charAt,e=fD(),n=tw(),r=nD(),o=rD(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var pD,hD,vD,gD,yD={};function mD(){if(hD)return pD;hD=1;var t=Om();return pD=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function bD(){if(gD)return vD;gD=1;var t=nw();return vD=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var ED,wD,SD,CD,DD,OD,AD,xD,TD,ND,PD,kD,ID,BD,FD,RD,_D,jD,LD,MD,zD,HD,$D,UD,VD,GD,WD,qD,KD,YD,XD={exports:{}},JD={};function ZD(){if(wD)return ED;wD=1;var t=bb();return ED=t([].slice)}function QD(){if(xD)return XD.exports;xD=1;var t=aS(),e=bb(),n=QE(),r=Ab(),o=pE(),i=kE().f,u=Tw(),a=function(){if(SD)return JD;SD=1;var t=Eb(),e=Db(),n=Tw().f,r=ZD(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return JD.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},JD}(),s=function(){if(AD)return OD;AD=1;var t=Om(),e=Ab(),n=Eb(),r=function(){if(DD)return CD;DD=1;var t=Om();return CD=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return OD=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=hE(),l=mD(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=XD.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,XD.exports}function tO(){if(ND)return TD;ND=1;var t=vE(),e=XC(),n=t("iterator"),r=Array.prototype;return TD=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}function eO(){if(kD)return PD;kD=1;var t=dS(),e=_b(),n=Sb(),r=XC(),o=vE()("iterator");return PD=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function nO(){if(BD)return ID;BD=1;var t=Tm(),e=Rb(),n=PE(),r=Fb(),o=eO(),i=TypeError;return ID=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},ID}function rO(){if(RD)return FD;RD=1;var t=Tm(),e=PE(),n=_b();return FD=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function oO(){if(jD)return _D;jD=1;var t=VS(),e=Tm(),n=PE(),r=Fb(),o=tO(),i=Dw(),u=Tb(),a=nO(),s=eO(),c=rO(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return _D=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function iO(){if(MD)return LD;MD=1;var t=Tb(),e=TypeError;return LD=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function uO(){if(HD)return zD;HD=1;var t=vE()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return zD=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function aO(){if(UD)return $D;UD=1;var t=Ob(),e=Ab(),n=eD();return $D=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}function sO(){if(GD)return VD;GD=1;var t=aS(),e=vm(),n=bb(),r=uS(),o=nw(),i=QD(),u=oO(),a=iO(),s=Ob(),c=Sb(),l=Ab(),f=Om(),d=uO(),p=QC(),h=aO();return VD=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C},VD}YD||(YD=1,function(){if(KD)return yD;KD=1;var t,e=mD(),n=vm(),r=bb(),o=bD(),i=QD(),u=sO(),a=function(){if(qD)return WD;qD=1;var t=bb(),e=bD(),n=QD().getWeakData,r=iO(),o=PE(),i=Sb(),u=Ab(),a=oO(),s=GS(),c=pE(),l=tw(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},WD={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=Ab(),c=tw().enforce,l=Om(),f=JE(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var cO,lO={};!function(){if(cO)return lO;cO=1;var t=vm(),e=HS(),n=$S(),r=oD(),o=IE(),i=QC(),u=vE()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var fO,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,OO=new WeakMap,AO=new WeakMap,xO=new WeakMap,TO=new WeakMap,NO=new WeakMap,PO=new WeakMap,kO=new WeakMap,IO=new WeakMap,BO=new WeakMap,FO=new WeakMap,RO=new WeakMap,_O=new WeakMap,jO=new WeakMap,LO=new WeakMap,MO=function(t){var e=t;return e.getAllMenuKeys=function(){var t=[];for(var e in dC)t.push(e);return t},e.getConfig=function(){var t=wO.get(e);if(null==t)throw new Error("Can not get editor config");return t},e.getMenuConfig=function(t){var n=e.getConfig().MENU_CONF;return(void 0===n?{}:n)[t]||{}},e.alert=function(t,n){void 0===n&&(n="info");var r=e.getConfig().customAlert;r&&r(t,n)},e},zO={};!function(){if(fO)return zO;fO=1;var t=aS(),e=GS().filter;t({target:"Array",proto:!0,forced:!vS()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var HO,$O,UO,VO,GO,WO={};!function(){if(GO)return WO;GO=1;var t=aS(),e=function(){if(VO)return UO;VO=1;var t=VS(),e=Tm(),n=dE(),r=function(){if($O)return HO;$O=1;var t=PE(),e=rO();return HO=function(n,r,o,i){try{return i?r(t(o)[0],o[1]):r(o)}catch(t){e(n,"throw",t)}}}(),o=tO(),i=pS(),u=Dw(),a=lS(),s=nO(),c=eO(),l=Array;return UO=function(f){var d=n(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?r(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},UO}();t({target:"Array",stat:!0,forced:!uO()(function(t){Array.from(t)})},{from:e})}();var qO,KO={};!function(){if(qO)return KO;qO=1;var t=aS(),e=Ow().includes,n=Om(),r=YC();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var YO,XO={};!function(){if(YO)return XO;YO=1;var t=aS(),e=bb(),n=wb(),r=Db(),o=WS(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var JO,ZO={};!function(){if(JO)return ZO;JO=1;var t=aS(),e=GS().map;t({target:"Array",proto:!0,forced:!vS()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var QO,tA,eA,nA,rA,oA,iA,uA={};function aA(){if(tA)return QO;tA=1;var t=Ab(),e=Eb(),n=vE()("match");return QO=function(r){var o;return t(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===e(r))}}function sA(){if(nA)return eA;nA=1;var t=aA(),e=TypeError;return eA=function(n){if(t(n))throw new e("The method doesn't accept regular expressions");return n}}function cA(){if(oA)return rA;oA=1;var t=vE()("match");return rA=function(e){var n=/./;try{"/./"[e](n)}catch(r){try{return n[t]=!1,"/./"[e](n)}catch(t){}}return!1}}!function(){if(iA)return uA;iA=1;var t=aS(),e=bb(),n=sA(),r=Cb(),o=fD(),i=cA(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(r(this)),o(n(t)),arguments.length>1?arguments[1]:void 0)}})}();var lA,fA,dA,pA,hA,vA,gA,yA={};function mA(){return fA?lA:(fA=1,lA="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(gA)return yA;gA=1;var t=aS(),e=function(){if(pA)return dA;pA=1;var t=bb(),e=Cb(),n=fD(),r=mA(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return dA={start:a(1),end:a(2),trim:a(3)}}().trim,n=function(){if(vA)return hA;vA=1;var t=YE().PROPER,e=Om(),n=mA();return hA=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var bA,EA,wA,SA,CA,DA,OA,AA,xA,TA,NA,PA,kA,IA={};function BA(){if(EA)return bA;EA=1;var t=bb(),e=Cb(),n=fD(),r=/"/g,o=t("".replace);return bA=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}function FA(){if(SA)return wA;SA=1;var t=Om();return wA=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}function RA(){if(OA)return DA;OA=1;var t=ew(),e=kE();return DA=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}function _A(){if(xA)return AA;xA=1;var t=xb(),e=RA(),n=vE(),r=Am(),o=n("species");return AA=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}!function(){if(CA)return IA;CA=1;var t=aS(),e=BA();t({target:"String",proto:!0,forced:FA()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),kA||(kA=1,PA||(PA=1,sO()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},function(){if(NA)return TA;NA=1;var t=KC(),e=RA(),n=bD(),r=VS(),o=iO(),i=Sb(),u=oO(),a=nD(),s=rD(),c=_A(),l=Am(),f=QD().fastKey,d=tw(),p=d.set,h=d.getterFor;return TA={getConstructor:function(a,s,c,d){var v=a(function(e,n){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(n)||u(n,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,n){var r,o,i=y(t),u=b(t,e);return u?u.value=n:(i.last=u={index:o=f(e,!0),key:e,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var n,r=y(t),o=f(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===e)return n};return n(g,{clear:function(){for(var e=y(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,n=y(e),r=b(e,t);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),l?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=y(this),o=r(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),n(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,n){var r=e+" Iterator",o=h(e),i=h(r);a(t,e,function(t,e){p(this,{type:r,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?s("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=null,s(void 0,!0))},n?"entries":"values",!n,!0),c(e)}},TA}())));var jA,LA,MA,zA,HA,$A,UA,VA,GA,WA,qA,KA=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]),YA={};function XA(){if(LA)return jA;LA=1;var t=PE();return jA=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function JA(){if(zA)return MA;zA=1;var t=Om(),e=vm().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return MA={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}function ZA(){if($A)return HA;$A=1;var t=Om(),e=vm().RegExp;return HA=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}function QA(){if(VA)return UA;VA=1;var t=Om(),e=vm().RegExp;return UA=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}function tx(){if(WA)return GA;WA=1;var t,e,n=Tm(),r=bb(),o=fD(),i=XA(),u=JA(),a=fE(),s=KC(),c=tw().get,l=ZA(),f=QA(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),GA=h}function ex(){if(qA)return YA;qA=1;var t=aS(),e=tx();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),YA}ex();var nx,rx,ox,ix,ux,ax,sx,cx,lx,fx,dx,px={};function hx(){if(rx)return nx;rx=1,ex();var t=Tm(),e=nw(),n=tx(),r=Om(),o=vE(),i=IE(),u=o("species"),a=RegExp.prototype;return nx=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)},nx}function vx(){if(ax)return ux;ax=1;var t=PE(),e=function(){if(ix)return ox;ix=1;var t=pS(),e=Fb(),n=TypeError;return ox=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=Sb(),r=vE()("species");return ux=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function gx(){if(cx)return sx;cx=1;var t=dD().charAt;return sx=function(e,n,r){return n+(r?t(e,n).length:1)}}function yx(){if(fx)return lx;fx=1;var t=Tm(),e=PE(),n=Ob(),r=Eb(),o=tx(),i=TypeError;return lx=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(dx)return px;dx=1;var t=Tm(),e=bb(),n=hx(),r=PE(),o=Ab(),i=Cb(),u=vx(),a=gx(),s=Cw(),c=fD(),l=_b(),f=yx(),d=JA(),p=Om(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;n("split",function(e,n,d){var p="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t(n,this,e,r)}:n;return[function(n,r){var u=i(this),a=o(n)?l(n,e):void 0;return a?t(a,n,u,r):t(p,c(u),n,r)},function(t,e){var o=r(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==n);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var mx,bx,Ex,wx,Sx={};!function(){if(Ex)return Sx;Ex=1;var t=aS(),e=function(){if(bx)return mx;bx=1;var t=sS(),e=Dw(),n=cS(),r=VS(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&r(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(n(v+1),i[v]=p),v++),g++;return v};return mx=o}(),n=Rb(),r=dE(),o=Dw(),i=hS();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=r(this),s=o(a);return n(t),(u=i(a,0)).length=e(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),wx||(wx=1,YC()("flatMap"));var Cx,Dx={};!function(){if(Cx)return Dx;Cx=1;var t=aS(),e=BA();t({target:"String",proto:!0,forced:FA()("bold")},{bold:function(){return e(this,"b","","")}})}();var Ox,Ax={};!function(){if(Ox)return Ax;Ox=1;var t=aS(),e=BA();t({target:"String",proto:!0,forced:FA()("italics")},{italics:function(){return e(this,"i","","")}})}();var xx,Tx={};!function(){if(xx)return Tx;xx=1;var t=aS(),e=BA();t({target:"String",proto:!0,forced:FA()("sub")},{sub:function(){return e(this,"sub","","")}})}();var Nx,Px={};!function(){if(Nx)return Px;Nx=1;var t=aS(),e=BA();t({target:"String",proto:!0,forced:FA()("sup")},{sup:function(){return e(this,"sup","","")}})}();var kx,Ix={};!function(){if(kx)return Ix;kx=1;var t=aS(),e=GS().find,n=YC(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var Bx,Fx,Rx={};Fx||(Fx=1,function(){if(Bx)return Rx;Bx=1;var t=aS(),e=vm();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}());const _x=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var jx,Lx,Mx,zx,Hx,$x,Ux,Vx,Gx,Wx,qx,Kx,Yx,Xx,Jx,Zx,Qx,tT,eT,nT,rT,oT,iT,uT,aT,sT,cT,lT,fT,dT,pT,hT,vT={};function gT(){if(Lx)return jx;Lx=1;var t=vm(),e=Nb(),n=Eb(),r=function(t){return e.slice(0,t.length)===t};return jx=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function yT(){if(zx)return Mx;zx=1;var t=gT();return Mx="NODE"===t}function mT(){if(Vx)return Ux;Vx=1;var t=xm(),e=Function.prototype,n=e.apply,r=e.call;return Ux="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),Ux}function bT(){if(Kx)return qx;Kx=1;var t=Nb();return qx=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function ET(){if(Xx)return Yx;Xx=1;var t,e,n,r,o=vm(),i=mT(),u=VS(),a=Ob(),s=pE(),c=Om(),l=qC(),f=ZD(),d=mE(),p=function(){if(Wx)return Gx;Wx=1;var t=TypeError;return Gx=function(e,n){if(e<n)throw new t("Not enough arguments");return e}}(),h=bT(),v=yT(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var n=a(t)?t:E(t),r=f(arguments,1);return D[++C]=function(){i(n,void 0,r)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(r=(n=new w).port2,n.port1.onmessage=T,e=u(r.postMessage,r)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),Yx={set:g,clear:y}}function wT(){if(tT)return Qx;tT=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},Qx=t}function ST(){if(uT)return iT;uT=1;var t,e,n,r,o,i=vm(),u=function(){if(Zx)return Jx;Zx=1;var t=vm(),e=Am(),n=Object.getOwnPropertyDescriptor;return Jx=function(r){if(!e)return t[r];var o=n(t,r);return o&&o.value}}(),a=VS(),s=ET().set,c=wT(),l=bT(),f=function(){if(nT)return eT;nT=1;var t=Nb();return eT=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(oT)return rT;oT=1;var t=Nb();return rT=/web0s(?!.*chrome)/i.test(t)}(),p=yT(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,n;for(p&&(e=g.domain)&&e.exit();n=b.get();)try{n()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((r=y.resolve(void 0)).constructor=y,o=a(r.then,r),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,n=v.createTextNode(""),new h(E).observe(n,{characterData:!0}),t=function(){n.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return iT=m}function CT(){return lT?cT:(lT=1,cT=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function DT(){if(dT)return fT;dT=1;var t=vm();return fT=t.Promise}function OT(){if(hT)return pT;hT=1;var t=vm(),e=DT(),n=Ob(),r=uS(),o=XE(),i=vE(),u=gT(),a=sE(),s=Pb(),c=e&&e.prototype,l=i("species"),f=!1,d=n(t.PromiseRejectionEvent),p=r("Promise",function(){var t=o(e),n=t!==String(e);if(!n&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var r=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((r.constructor={})[l]=i,!(f=r.then(function(){})instanceof i))return!0}return!(n||"BROWSER"!==u&&"DENO"!==u||d)});return pT={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var AT,xT,TT={};function NT(){if(AT)return TT;AT=1;var t=Rb(),e=TypeError,n=function(n){var r,o;this.promise=new n(function(t,n){if(void 0!==r||void 0!==o)throw new e("Bad Promise constructor");r=t,o=n}),this.resolve=t(r),this.reject=t(o)};return TT.f=function(t){return new n(t)},TT}var PT,kT,IT,BT={};function FT(){if(kT)return PT;kT=1;var t=DT(),e=uO(),n=OT().CONSTRUCTOR;return PT=n||!e(function(e){t.all(e).then(void 0,function(){})})}var RT,_T,jT,LT,MT,zT,HT,$T={},UT={},VT={},GT={};HT||(HT=1,function(){if(xT)return vT;xT=1;var t,e,n,r,o=aS(),i=sE(),u=yT(),a=vm(),s=function(){if($x)return Hx;$x=1;var t=vm();return Hx=t}(),c=Tm(),l=nw(),f=eD(),d=QC(),p=_A(),h=Rb(),v=Ob(),g=Ab(),y=iO(),m=vx(),b=ET().set,E=ST(),w=(sT||(sT=1,aT=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),aT),S=CT(),C=wT(),D=tw(),O=DT(),A=OT(),x=NT(),T="Promise",N=A.CONSTRUCTOR,P=A.REJECTION_EVENT,k=A.SUBCLASSING,I=D.getterFor(T),B=D.set,F=O&&O.prototype,R=O,_=F,j=a.TypeError,L=a.document,M=a.process,z=x.f,H=z,$=!!(L&&L.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===t.promise?l(new j("Promise-chain cycle")):(r=V(n))?c(r,n,s,l):s(n)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var n,r=t.reactions;n=r.get();)G(n,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,n){var r,o;$?((r=L.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!P&&(o=a["on"+t])?o(r):t===U&&w("Unhandled promise rejection",n)},K=function(t){c(b,a,function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",r,n):q(U,n,r)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,n){return function(r){t(e,r,n)}},Z=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new j("Promise can't be resolved itself");var r=V(e);r?E(function(){var n={done:!1};try{c(r,e,J(Q,n,t),J(Z,n,t))}catch(e){Z(n,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(_=(R=function(e){y(this,_),h(e),c(t,this);var n=I(this);try{e(J(Q,n),J(Z,n))}catch(t){Z(n,t)}}).prototype,(t=function(t){B(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(_,"then",function(t,e){var n=I(this),r=z(m(this,R));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=u?M.domain:void 0,0===n.state?n.reactions.add(r):E(function(){G(r,n)}),r.promise}),e=function(){var e=new t,n=I(e);this.promise=e,this.resolve=J(Q,n),this.reject=J(Z,n)},x.f=z=function(t){return t===R||t===n?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){r=F.then,k||l(F,"then",function(t,e){var n=this;return new R(function(t,e){c(r,n,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,_)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),n=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(IT)return BT;IT=1;var t=aS(),e=Tm(),n=Rb(),r=NT(),o=CT(),i=oO();t({target:"Promise",stat:!0,forced:FT()},{all:function(t){var u=this,a=r.f(u),s=a.resolve,c=a.reject,l=o(function(){var r=n(u.resolve),o=[],a=0,l=1;i(t,function(t){var n=a++,i=!1;l++,e(r,u,t).then(function(t){i||(i=!0,o[n]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(RT)return $T;RT=1;var t=aS(),e=sE(),n=OT().CONSTRUCTOR,r=DT(),o=xb(),i=Ob(),u=nw(),a=r&&r.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(r)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(_T)return UT;_T=1;var t=aS(),e=Tm(),n=Rb(),r=NT(),o=CT(),i=oO();t({target:"Promise",stat:!0,forced:FT()},{race:function(t){var u=this,a=r.f(u),s=a.reject,c=o(function(){var r=n(u.resolve);i(t,function(t){e(r,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(jT)return VT;jT=1;var t=aS(),e=NT();t({target:"Promise",stat:!0,forced:OT().CONSTRUCTOR},{reject:function(t){var n=e.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(zT)return GT;zT=1;var t=aS(),e=xb(),n=sE(),r=DT(),o=OT().CONSTRUCTOR,i=function(){if(MT)return LT;MT=1;var t=PE(),e=Ab(),n=NT();return LT=function(r,o){if(t(r),e(o)&&o.constructor===r)return o;var i=n.f(r);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(a&&this===u?r:this,t)}})}());var WT,qT,KT,YT,XT,JT={};function ZT(){if(YT)return KT;YT=1;var t=Tm(),e=pE(),n=Tb(),r=function(){if(qT)return WT;qT=1;var t=vm(),e=Om(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return WT={correct:r}}(),o=XA(),i=RegExp.prototype;return KT=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(XT)return JT;XT=1;var t=YE().PROPER,e=nw(),n=PE(),r=fD(),o=Om(),i=ZT(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var QT,tN,eN,nN={};function rN(t){Promise.resolve().then(t)}!function(){if(eN)return nN;eN=1;var t=mT(),e=Tm(),n=bb(),r=hx(),o=Om(),i=PE(),u=Ob(),a=Ab(),s=ww(),c=Cw(),l=fD(),f=Cb(),d=gx(),p=_b(),h=function(){if(tN)return QT;tN=1;var t=bb(),e=dE(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return QT=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})},QT}(),v=ZT(),g=yx(),y=vE()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var oN,iN=function(t){return Object.prototype.toString.call(t)};Jp&&(Rp.fn.css=Jp),rh&&(Rp.fn.append=rh),_p&&(Rp.fn.addClass=_p),jp&&(Rp.fn.removeClass=jp),Lp&&(Rp.fn.hasClass=Lp),Vp&&(Rp.fn.on=Vp),hh&&(Rp.fn.focus=hh),Mp&&(Rp.fn.attr=Mp),zp&&(Rp.fn.removeAttr=zp),Yp&&(Rp.fn.hide=Yp),Xp&&(Rp.fn.show=Xp),Kp&&(Rp.fn.offset=Kp),Wp&&(Rp.fn.width=Wp),qp&&(Rp.fn.height=qp),ih&&(Rp.fn.parent=ih),uh&&(Rp.fn.parents=uh),nh&&(Rp.fn.is=nh),$p&&(Rp.fn.dataset=$p),Up&&(Rp.fn.val=Up),eh&&(Rp.fn.text=eh),th&&(Rp.fn.html=th),sh&&(Rp.fn.children=sh),ch&&(Rp.fn.remove=ch),ah&&(Rp.fn.find=ah),Zp&&(Rp.fn.each=Zp),lh&&(Rp.fn.empty=lh),function(t){t[t.ELEMENT_NODE=1]="ELEMENT_NODE",t[t.TEXT_NODE=3]="TEXT_NODE",t[t.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",t[t.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",t[t.COMMENT_NODE=8]="COMMENT_NODE",t[t.DOCUMENT_NODE=9]="DOCUMENT_NODE",t[t.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",t[t.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"}(oN||(oN={}));var uN=/\[object HTML([A-Z][a-z]*)*Element\]/,aN=function(t){return uN.test(iN(t))},sN=function(t){return null!=t&&"number"==typeof t.nodeType},cN=function(t){return sN(t)&&t.nodeType===oN.COMMENT_NODE},lN=function(t){return sN(t)&&t.nodeType===oN.ELEMENT_NODE},fN=function(t){return"[object Selection]"===iN(t)},dN=function(t){return sN(t)&&t.nodeType===oN.TEXT_NODE},pN=function(t){var e,n,r;return null!==(e=window&&window.document.getElementById(t))&&void 0!==e?e:window&&(null===(r=null===(n=window.document.activeElement)||void 0===n?void 0:n.shadowRoot)||void 0===r?void 0:r.getElementById(t))||null},hN=function(t,e,n){for(var r=t.childNodes,o=r[e],i=e,u=!1,a=!1;(cN(o)||lN(o)&&0===o.childNodes.length||lN(o)&&"false"===o.getAttribute("contenteditable"))&&(!u||!a);)i>=r.length?(u=!0,i=e-1,n="backward"):i<0?(a=!0,i=e+1,n="forward"):(o=r[i],e=i,i+="forward"===n?1:-1);return[o,e]},vN=function(t,e,n){return uC(hN(t,e,n),1)[0]},gN=function(t){var e,n,r="";if(dN(t)&&t.nodeValue)return t.nodeValue;if(lN(t)){try{for(var o=iC(Array.from(t.childNodes)),i=o.next();!i.done;i=o.next()){var u=i.value;r+=gN(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}var a=getComputedStyle(t).getPropertyValue("display");"block"!==a&&"list"!==a&&"table-row"!==a&&"BR"!==t.tagName||(r+="\n")}return r};function yN(t,e){if(!aN(t)||"true"!==t.dataset.slateVoid)for(var n=t.childNodes,r=n.length;r-=1;){var o=n[r],i=o.nodeType;dN(o)?e(o,t):[oN.ELEMENT_NODE,oN.DOCUMENT_NODE,oN.DOCUMENT_FRAGMENT_NODE].includes(i)&&yN(o,e)}}function mN(t){if(0===t.length)return"";var e=t[0];return e.nodeType!==oN.ELEMENT_NODE?"":e.tagName.toLowerCase()}var bN,EN,wN,SN={};!function(){if(wN)return SN;wN=1;var t=Am(),e=vm(),n=bb(),r=uS(),o=aO(),i=IE(),u=KC(),a=Tw().f,s=Tb(),c=aA(),l=fD(),f=ZT(),d=JA(),p=function(){if(EN)return bN;EN=1;var t=kE().f;return bN=function(e,n,r){r in e||t(e,r,{configurable:!0,get:function(){return n[r]},set:function(t){n[r]=t}})}}(),h=nw(),v=Om(),g=pE(),y=tw().enforce,m=_A(),b=vE(),E=ZA(),w=QA(),S=b("match"),C=e.RegExp,D=C.prototype,O=e.SyntaxError,A=n(D.exec),x=n("".charAt),T=n("".replace),N=n("".indexOf),P=n("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,B=/a/g,F=new C(I)!==I,R=d.MISSED_STICKY,_=d.UNSUPPORTED_Y;if(r("RegExp",t&&(!F||R||E||w||v(function(){return B[S]=!1,C(I)!==I||C(B)===B||"/a/i"!==String(C(I,"i"))})))){for(var j=function(t,e){var n,r,a,d,p,h,v=s(D,this),m=c(t),b=void 0===e,S=[],B=t;if(!v&&m&&b&&t.constructor===j)return t;if((m||s(D,t))&&(t=t.source,b&&(e=f(B))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),B=t,E&&"dotAll"in I&&(r=!!e&&N(e,"s")>-1)&&(e=T(e,/s/g,"")),n=e,R&&"sticky"in I&&(a=!!e&&N(e,"y")>-1)&&_&&(e=T(e,/y/g,"")),w&&(d=function(t){for(var e,n=t.length,r=0,o="",i=[],a=u(null),s=!1,c=!1,l=0,f="";r<=n;r++){if("\\"===(e=x(t,r)))e+=x(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:if(o+=e,"?:"===P(t,r+1,r+3))continue;A(k,P(t,r+1))&&(r+=2,c=!0),l++;continue;case">"===e&&c:if(""===f||g(a,f))throw new O("Invalid capture group name");a[f]=!0,i[i.length]=[f,l],c=!1,f="";continue}c?f+=e:o+=e}return[o,i]}(t),t=d[0],S=d[1]),p=o(C(t,e),v?this:D,j),(r||a||S.length)&&(h=y(p),r&&(h.dotAll=!0,h.raw=j(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=x(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+x(t,++r);return o}(t),n)),a&&(h.sticky=!0),S.length&&(h.groups=S)),t!==B)try{i(p,"source",""===B?"(?:)":B)}catch(t){}return p},L=a(C),M=0;L.length>M;)p(j,C,L[M++]);D.constructor=j,j.prototype=D,h(e,"RegExp",j,{constructor:!0})}m("RegExp")}();var CN=new RegExp(String.fromCharCode(160),"g");function DN(t){return t.replace(CN," ")}var ON=["span","b","strong","i","em","s","strike","u","font","sub","sup"],AN=[];var xN=[];var TN={};function NN(t,e){var n=t.length;if(n){var r=t[n-1];if(yp.Text.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text+=e,!0}}return!1}function PN(t,e,n){return{type:"paragraph",children:[{text:Rp(t).text().replace(/\s+/gm," ")}]}}function kN(t,e){var n=function(t,e){var n=[];if(null!=t.attr("data-w-e-is-void"))return n;var r=t[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?(n.push({text:""}),n):(r.forEach(function(t){if(lN(t)){if("BR"===t.nodeName)return void(NN(n,"\n")||n.push({text:"\n"}));var r=BN(Rp(t),e);Array.isArray(r)?r.forEach(function(t){return n.push(t)}):n.push(r)}else if(dN(t)){var o=t.textContent||"";if(""===o.trim()&&o.indexOf("\n")>=0)return;o&&(o=DN(o),NN(n,o)||n.push({text:o}))}}),n)}(t,e),r=function(t){for(var e in TN)if(t[0].matches(e))return TN[e];return PN}(t),o=r(t[0],n,e);return Array.isArray(o)||(o=[o]),o.forEach(function(r){yp.Editor.isVoid(e,r)||(0===n.length&&(r.children=[{text:t.text().replace(/\s+/gm," ")}]),xN.forEach(function(n){r=n(t[0],r,e)}))}),o}function IN(t,e){0===t.parents("pre").length&&(t[0].innerHTML=t[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=t[0].textContent||"";n=function(t){return t.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™").replace(/"/g,'"')}(n);var r={text:n=DN(n)};return xN.forEach(function(n){r=n(t[0],r,e)}),r}function BN(t,e){AN.forEach(function(e){var n=e.selector,r=e.preParseHtml;t[0].matches(n)&&(t=Rp(r(t[0])))});var n=mN(t);if("span"===n){if(t.attr("data-w-e-type"))return kN(t,e);if(t[0].childNodes.length>1){var r=t[0].childNodes,o=function(t,e){var n={text:""};return xN.forEach(function(r){n=r(t[0],n,e)}),n}(Rp(t[0]),e),i=o;i.bold,i.italic,i.underline,i.through,i.sub,i.sup,i.code;var u=oC(i,["bold","italic","underline","through","sub","sup","code"]);return Array.from(r).flatMap(function(t){var n=function(t,e,n){var r=t[0];if(lN(r)){var o=BN(t,n);return Array.isArray(o)?o.map(function(t){return rC(rC({},e),t)}):[rC(rC({},e),o)]}if(cN(r))return null;var i=dN(r)?{text:r.textContent||""}:IN(t,n);return[rC(rC({},e),i)]}(Rp(t),u,e);return n||[]})}return 1===t[0].childNodes.length&&"span"===mN(Rp(t[0].childNodes[0]))?BN(Rp(t[0].childNodes[0]),e):IN(t,e)}if("code"===n)return"pre"===mN(t.parent())?kN(t,e):IN(t,e);if(ON.includes(n)){if(t[0].childNodes.length>0&&3!==t[0].childNodes[0].nodeType){var a=BN(Rp((r=t[0].childNodes)[0]),e),s=IN(t,e),c=void 0;if(Array.isArray(a)){var l=s;l.text;var f=l.bold,d=l.italic,p=l.underline,h=l.through;l.sub,l.sup;var v=l.code,g=oC(l,["text","bold","italic","underline","through","sub","sup","code"]);c=a.map(function(t){return rC(rC({},g),t)}),(f||d||p||h||v)&&(c=c.map(function(t){var e=rC({},t),n=t;return f&&!n.bold&&(e.bold=!0),d&&!n.italic&&(e.italic=!0),p&&!n.underline&&(e.underline=!0),h&&!n.through&&(e.through=!0),v&&!n.code&&(e.code=!0),e}))}else c=rC(rC({},a),s);return c}return IN(t,e)}return kN(t,e)}function FN(t,e,n){var r=Rp(n);return!!r.attr(e)||(r.attr(e,"true"),t.on(cC,function(){r.removeAttr(e)}),!1)}function RN(t,e){void 0===e&&(e="");var n=[];""===e&&(e="<p><br></p>"),0!==e.indexOf("<")&&(e=e.split(/\n/).map(function(t){return"<p>".concat(t,"</p>")}).join(""));var r=Rp("<div>".concat(e,"</div>"));return Array.from(r.children()).forEach(function(e){var r=BN(Rp(e),t);Array.isArray(r)?r.forEach(function(t){return n.push(t)}):n.push(r)}),n}function _N(t,e){return"w-e-element-".concat(t,"-").concat(e)}var jN=[];var LN={};function MN(t,e,n){var r=n.isInline(t)?"span":"div";return"<".concat(r,">").concat(e,"</").concat(r,">")}var zN,HN,$N,UN={};!function(){if($N)return UN;$N=1;var t=aS(),e=Tm(),n=Ab(),r=PE(),o=function(){if(HN)return zN;HN=1;var t=pE();return zN=function(e){return void 0!==e&&(t(e,"value")||t(e,"writable"))}}(),i=EE(),u=JC();t({target:"Reflect",stat:!0},{get:function t(a,s){var c,l,f=arguments.length<3?a:arguments[2];return r(a)===f?a[s]:(c=i.f(a,s))?o(c)?c.value:void 0===c.get?void 0:e(c.get,f):n(l=u(a))?t(l,s,f):void 0}})}();var VN,GN={};!function(){if(VN)return GN;VN=1;var t,e=aS(),n=US(),r=EE().f,o=Cw(),i=fD(),u=sA(),a=Cb(),s=cA(),c=sE(),l=n("".slice),f=Math.min,d=s("endsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=r(String.prototype,"endsWith"),t&&!t.writable)||d)},{endsWith:function(t){var e=i(a(this));u(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,s=void 0===n?r:f(o(n),r),c=i(t);return l(e,s-c.length,s)===c}})}();var WN=0,qN=function(){this.id="".concat(WN++)},KN="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),YN="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),XN="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),JN="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),ZN="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),QN="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),tP=!ZN&&!JN&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,eP={getWindow:function(t){var e=FO.get(t);if(!e)throw new Error("Unable to find a host window element for this editor");return e},findKey:function(t,e){var n=BO.get(e);return n||(n=new qN,BO.set(e,n)),n},setNewKey:function(t){var e=new qN;BO.set(t,e)},findPath:function(t,e){for(var n=[],r=e;;){var o=TO.get(r);if(null==o){if(yp.Editor.isEditor(r))return n;break}var i=xO.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(JSON.stringify(e)))},findDocumentOrShadowRoot:function(t){if(t.isDestroyed)return window.document;var e=eP.toDOMNode(t,t),n=e.getRootNode();return(function(t){return"[object HTMLDocument]"===iN(t)}(n)||function(t){return"[object ShadowRoot]"===iN(t)}(n))&&null!=Reflect.get(n,"getSelection")?n:e.ownerDocument},getParentNode:function(t,e){return TO.get(e)||null},getParentsNodes:function(t,e){for(var n=[],r=e;r!==t&&null!=r;){var o=eP.getParentNode(t,r);if(null==o)break;n.push(o),r=o}return n},getTopNode:function(t,e){var n=[eP.findPath(t,e)[0]];return yp.Node.get(t,n)},toDOMNode:function(t,e){var n;if(yp.Editor.isEditor(e))n=NO.get(t);else{var r=eP.findKey(t,e);n=kO.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(e)));return n},hasDOMNode:function(t,e,n){void 0===n&&(n={});var r,o=n.editable,i=void 0!==o&&o,u=eP.toDOMNode(t,t);try{r=lN(e)?e:e.parentElement}catch(t){if(t instanceof Error&&!t.message.includes('Permission denied to access property "nodeType"'))throw t}return!!r&&(r.closest("[data-slate-editor]")===u&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))||!!r.getAttribute("data-slate-string"))},toDOMRange:function(t,e){var n=e.anchor,r=e.focus,o=yp.Range.isBackward(e),i=eP.toDOMPoint(t,n),u=yp.Range.isCollapsed(e)?i:eP.toDOMPoint(t,r),a=eP.getWindow(t).document.createRange(),s=uC(o?u:i,2),c=s[0],l=s[1],f=uC(o?i:u,2),d=f[0],p=f[1],h=!!(lN(c)?c:c.parentElement).getAttribute("data-slate-zero-width"),v=!!(lN(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return a.setStart(c,h?1:l),a.setEnd(d,v?1:p),a},toDOMPoint:function(t,e){var n,r,o,i=uC(yp.Editor.node(t,e.path),1)[0],u=eP.toDOMNode(t,i);yp.Editor.void(t,{at:e})&&(e={path:e.path,offset:0});var a=Array.from(u.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var c=iC(a),l=c.next();!l.done;l=c.next()){var f=l.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(e.offset<=v){o=[d,Math.min(p,Math.max(0,e.offset-s))];break}s=v}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(e)));return o},toSlateNode:function(t,e){var n=lN(e)?e:e.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?PO.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange:function(t,e){"nativeEvent"in e&&(e=e.nativeEvent);var n=e.clientX,r=e.clientY,o=e.target;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(e));var i,u=eP.toSlateNode(t,e.target),a=eP.findPath(t,u);if(yp.Editor.isVoid(t,u)){var s=o.getBoundingClientRect(),c=t.isInline(u)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,l=yp.Editor.point(t,a,{edge:c?"start":"end"}),f=c?yp.Editor.before(t,l):yp.Editor.after(t,l);if(f)return yp.Editor.range(t,f)}var d=this.getWindow(t).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: ".concat(e));return eP.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(t,e,n){var r,o,i,u,a,s=n.exactMatch,c=n.suppressThrow;if((fN(e)?e.anchorNode:e.startContainer)&&(fN(e)?(r=e.anchorNode,o=e.anchorOffset,i=e.focusNode,u=e.focusOffset,a=QN&&window.document.activeElement&&window.document.activeElement.shadowRoot?e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset:e.isCollapsed):(r=e.startContainer,o=e.startOffset,i=e.endContainer,u=e.endOffset,a=e.collapsed)),null==r||null==i||null==o||null==u)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(e));var l=eP.toSlatePoint(t,[r,o],{exactMatch:s,suppressThrow:c});if(!l)return null;var f=a?l:eP.toSlatePoint(t,[i,u],{exactMatch:s,suppressThrow:c});if(!f)return null;var d={anchor:l,focus:f};return yp.Range.isExpanded(d)&&yp.Range.isForward(d)&&lN(i)&&yp.Editor.void(t,{at:d.focus,mode:"highest"})&&(d=yp.Editor.unhangRange(t,d,{voids:!0})),d},toSlatePoint:function(t,e,n){var r,o=n.exactMatch,i=n.suppressThrow,u=uC(o?e:function(t){var e,n=uC(t,2),r=n[0],o=n[1];if(lN(r)&&r.childNodes.length){var i=o===r.childNodes.length,u=i?o-1:o;for(r=(e=uC(hN(r,u,i?"backward":"forward"),2))[0],i=(u=e[1])<o;lN(r)&&r.childNodes.length;){var a=i?r.childNodes.length-1:0;r=vN(r,a,i?"backward":"forward")}o=i&&null!=r.textContent?r.textContent.length:0}return[r,o]}(e),2),a=u[0],s=u[1],c=a.parentNode,l=null,f=0;if(c){var d=c.closest('[data-slate-void="true"]'),p=c.closest("[data-slate-leaf]"),h=null,v=eP.getWindow(t);if(p&&v.document.createRange){l=p.closest('[data-slate-node="text"]');var g=v.document.createRange();g.setStart(l,0),g.setEnd(a,s);var y=g.cloneContents();aC(aC([],uC(wh(y.querySelectorAll("[data-slate-zero-width]"))),!1),uC(wh(y.querySelectorAll("[contenteditable=false]"))),!1).forEach(function(t){t.parentNode.removeChild(t)}),f=y.textContent.length,h=l}else d&&((p=d.querySelector("[data-slate-leaf]"))?(l=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach(function(t){f-=t.textContent.length})):f=1);h&&f===h.textContent.length&&(c.hasAttribute("data-slate-zero-width")||YN&&(null===(r=h.textContent)||void 0===r?void 0:r.endsWith("\n")))&&(f-=1)}if(!l){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(e))}var m=eP.toSlateNode(t,l);return{path:eP.findPath(t,m),offset:f}},hasRange:function(t,e){var n=e.anchor,r=e.focus;return yp.Editor.hasPath(t,n.path)&&yp.Editor.hasPath(t,r.path)},getNodeType:function(t){return yp.Element.isElement(t)?t.type:""},checkNodeType:function(t,e){return this.getNodeType(t)===e},getNodesStr:function(t){return t.map(function(t){return yp.Node.string(t)}).join("")},getSelectedElems:function(t){var e,n,r=[],o=yp.Editor.nodes(t,{universal:!0});try{for(var i=iC(o),u=i.next();!u.done;u=i.next()){var a=uC(u.value,1)[0];yp.Element.isElement(a)&&r.push(a)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r},getSelectedNodeByType:function(t,e){var n=this,r=uC(yp.Editor.nodes(t,{match:function(t){return n.checkNodeType(t,e)},universal:!0}),1),o=r[0];return null==o?null:o[0]},getSelectedTextNode:function(t){var e=uC(yp.Editor.nodes(t,{match:function(t){return yp.Text.isText(t)},universal:!0}),1),n=e[0];return null==n?null:n[0]},isNodeSelected:function(t,e){var n=uC(yp.Editor.nodes(t,{match:function(t){return t===e},universal:!0}),1),r=n[0];return null!=r&&uC(r,1)[0]===e},isSelectionAtLineEnd:function(t,e){var n=t.selection;return!!n&&(yp.Editor.isEnd(t,n.anchor,e)||yp.Editor.isEnd(t,n.focus,e))},getTextarea:function(t){var e=dO.get(t);if(null==e)throw new Error("Cannot find textarea instance by editor");return e},getToolbar:function(t){return vO.get(t)||null},getHoverbar:function(t){return yO.get(t)||null},normalizeContent:function(t){t.children.forEach(function(e,n){t.normalizeNode([e,[n]])})},getLeftLengthOfMaxLength:function(t){var e=t.getConfig(),n=e.maxLength,r=e.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-t.getText().replace(/\r|\n|(\r\n)|(\n\r)/g,"").length;return o<=0&&r&&r(t),o},cleanExposedTexNodeInSelectionBlock:function(t){var e,n,r,o,i=eP.getTextarea(t).$textArea,u=null==i?void 0:i[0].childNodes;if(u)try{for(var a=iC(Array.from(u)),s=a.next();!s.done;s=a.next()){var c=s.value;if(!dN(c))break;c.remove()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}var l=yp.Editor.nodes(t,{match:function(e){return!(!yp.Element.isElement(e)||t.isInline(e))},universal:!0});try{for(var f=iC(l),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];yN(eP.toDOMNode(t,h),function(t,e){var n=Rp(e);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||e.removeChild(t)})}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(t,e){var n=t.children||[];return n[n.length-1]===e},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(t){var e,n,r=yp.Editor.nodes(t,{match:function(e){return t.isVoid(e)}}),o=0;try{for(var i=iC(r),u=i.next();!u.done;u=i.next())u.value&&(o+=1)}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o>0},isSelectedEmptyParagraph:function(t){var e=t.selection;if(null==e)return!1;if(yp.Range.isExpanded(e))return!1;var n=eP.getSelectedNodeByType(t,"paragraph");if(null===n)return!1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(t,e){var n=yp.Editor.node(t,e);if(null==n)return!1;var r=uC(n,1)[0].children;return 1===r.length&&""===r[0].text}};function nP(t,e){return yp.Element.isElement(t)?function(t,e){var n=t.type,r=void 0===n?"":n,o=t.children,i=void 0===o?[]:o,u=yp.Editor.isVoid(e,t),a="";u||(a=i.map(function(t){return nP(t,e)}).join(""));var s=function(t){return LN[t]||MN}(r),c=s(t,a,e),l="";if(l="string"==typeof c?c:c.html||"",u||jN.forEach(function(e){return l=e(t,l)}),"string"==typeof c)return l;var f=c.prefix,d=void 0===f?"":f,p=c.suffix,h=void 0===p?"":p;return d&&(l=d+l),h&&(l+=h),l}(t,e):function(t,e){var n=t.text;if(null==n)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var r=n;r=function(t){return t.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™")}(r);var o=eP.getParentsNodes(e,t).some(function(t){return"pre"===eP.getNodeType(t)});if(o||(r=r.replace(/\n\r|\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/ /g," ")),""===r){var i=eP.getParentNode(null,t);if(!i||0!==i.children.length)return r;r="<br>"}return jN.forEach(function(e){return r=e(t,r)}),r}(t,e)}var rP=function(t,e){var n=(e.top+e.bottom)/2;return t.top<=n&&t.bottom>=n},oP=function(t,e,n){var r=eP.toDOMRange(t,e).getBoundingClientRect(),o=eP.toDOMRange(t,n).getBoundingClientRect();return rP(r,o)&&rP(o,r)},iP=function(t,e){var n,r,o=[];try{for(var i=iC(yp.Editor.levels(t,{at:e})),u=i.next();!u.done;u=i.next()){var a=uC(u.value,2),s=a[0],c=a[1],l=eP.findKey(t,s);o.push([c,l])}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o};function uP(t,e){t.isInline(e)?(t.insertNode(e),"link"===e.type&&t.insertFragment([{text:""}])):yp.Transforms.insertNodes(t,e,{mode:"highest"})}var aP,sP,cP,lP,fP,dP,pP,hP,vP,gP,yP,mP,bP,EP,wP,SP,CP,DP,OP,AP,xP,TP,NP,PP,kP,IP,BP,FP,RP,_P,jP,LP,MP,zP,HP,$P,UP,VP,GP,WP,qP=function(t){var e=t,n=e.onChange,r=e.insertText,o=e.apply,i=e.deleteBackward;return e.insertText=function(t){e.getConfig().readOnly||r(t)},e.apply=function(t){var n,r,i,u,a,s,c,l,f=[];switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":f.push.apply(f,aC([],uC(iP(e,t.path)),!1));break;case"insert_node":case"remove_node":f.push.apply(f,aC([],uC(iP(e,yp.Path.parent(t.path))),!1));break;case"merge_node":var d=yp.Path.previous(t.path);f.push.apply(f,aC([],uC(iP(e,d)),!1));break;case"move_node":var p=yp.Path.common(yp.Path.parent(t.path),yp.Path.parent(t.newPath));f.push.apply(f,aC([],uC(iP(e,p)),!1));break;case"set_selection":(null===(u=null===(i=t.newProperties)||void 0===i?void 0:i.focus)||void 0===u?void 0:u.path)&&(f.push.apply(f,aC([],uC(iP(e,null===(s=null===(a=t.newProperties)||void 0===a?void 0:a.focus)||void 0===s?void 0:s.path)),!1)),f.push.apply(f,aC([],uC(iP(e,null===(l=null===(c=t.properties)||void 0===c?void 0:c.focus)||void 0===l?void 0:l.path)),!1)))}o(t);try{for(var h=iC(f),v=h.next();!v.done;v=h.next()){var g=uC(v.value,2),y=g[0],m=g[1],b=uC(yp.Editor.node(e,y),1)[0];BO.set(b,m),"type"in b&&(OO.has(b)&&OO.delete(b),AO.has(b)&&AO.delete(b))}}catch(t){n={error:t}}finally{try{v&&!v.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}},e.deleteBackward=function(n){if("line"!==n)return i(n);if(t.selection&&yp.Range.isCollapsed(t.selection)){var r=yp.Editor.above(t,{match:function(e){return yp.Editor.isBlock(t,e)},at:t.selection});if(r){var o=uC(r,2)[1],u=yp.Editor.range(t,o,t.selection.anchor),a=function(t,e){var n=yp.Editor.range(t,yp.Range.end(e)),r=Array.from(yp.Editor.positions(t,{at:e})),o=0,i=r.length,u=Math.floor(i/2);if(oP(t,yp.Editor.range(t,r[o]),n))return yp.Editor.range(t,r[o],n);if(r.length<2)return yp.Editor.range(t,r[r.length-1],n);for(;u!==r.length&&u!==o;)oP(t,yp.Editor.range(t,r[u]),n)?i=u:o=u,u=Math.floor((o+i)/2);return yp.Editor.range(t,r[i],n)}(e,u);yp.Range.isCollapsed(a)||yp.Transforms.delete(t,{at:a})}}},e.onChange=function(){var t=e.selection;null!=t&&_O.set(e,t),e.emit("change"),n()},e.handleTab=function(){e.insertText(" ")},e.getHtml=function(){var t=e.children,n=void 0===t?[]:t,r=e.getConfig().skipCacheTypes,o=void 0===r?["list-item"]:r;return n.map(function(t){var n=eP.getNodeType(t);if(o.includes(n))return nP(t,e);var r=AO.get(t);if(r)return r;var i=nP(t,e);return AO.set(t,i),i}).join("")},e.getText=function(){var t=e.children;return(void 0===t?[]:t).map(function(t){return yp.Node.string(t)}).join("\n")},e.getSelectionText=function(){var n=e.selection;return null==n?"":yp.Editor.string(t,n)},e.getElemsByType=function(t,n){var r,o;void 0===n&&(n=!1);var i=[],u=yp.Editor.nodes(e,{at:[],universal:!0});try{for(var a=iC(u),s=a.next();!s.done;s=a.next()){var c=uC(s.value,1)[0];if(yp.Element.isElement(c)&&(n?c.type.indexOf(t)>=0:c.type===t)){var l=eP.findKey(e,c),f=_N(c.type,l.id);i.push(rC(rC({},c),{id:f}))}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return i},e.getElemsByTypePrefix=function(t){return e.getElemsByType(t,!0)},e.isEmpty=function(){var t=e.children,n=void 0===t?[]:t;if(n.length>1)return!1;var r=n[0];if(null==r)return!0;if(!yp.Element.isElement(r)||"paragraph"!==r.type)return!1;var o=r.children,i=void 0===o?[]:o;if(i.length>1)return!1;var u=i[0];return null==u||yp.Text.isText(u)&&""===u.text},e.clear=function(){yp.Transforms.delete(e,{at:{anchor:yp.Editor.start(e,[]),focus:yp.Editor.end(e,[])}}),0===e.children.length&&yp.Transforms.insertNodes(e,[{type:"paragraph",children:[{text:""}]}])},e.getParentNode=function(t){return eP.getParentNode(e,t)},e.dangerouslyInsertHtml=function(t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),t){var r=document.createElement("div");r.innerHTML=t;var o=Array.from(r.childNodes);if(o=o.filter(function(t){var e=t.nodeName;return!!dN(t)||!!lN(t)&&!KA.has(e.toLowerCase())}),0!==o.length){var i=e.selection;if(null!=i){var u=null;eP.isSelectedEmptyParagraph(e)&&!n&&(u=[i.focus.path[0]]),r.setAttribute("hidden","true"),document.body.appendChild(r);var a=0;o.forEach(function(t,n){var r=t.nodeName,i=t.textContent,u=void 0===i?"":i;if(dN(t)){if(!u||!u.trim())return;e.insertNode({text:u})}else if("BR"!==r){var s=t,c=!1;if(ON.includes(r.toLowerCase()))c=!0;else for(var l in TN)if(s.matches(l)){c=!0;break}if(c){var f=BN(Rp(s),e);return Array.isArray(f)?(f.forEach(function(t){return uP(e,t)}),a+=1):(uP(e,f),a+=1),void(eP.isSelectedVoidNode(e)&&e.move(1))}var d=window.getComputedStyle(s).display;if(!eP.isSelectedEmptyParagraph(e)&&d.indexOf("inline")<0){if(n>=1)(function(t){return"matches"in t&&/^[ou]l$/i.test(t.tagName)&&!t.hasAttribute("data-w-e-type")})(o[n-1])&&e.insertBreak();e.insertBreak()}e.dangerouslyInsertHtml(s.innerHTML,!0)}else e.insertText("\n")}),a&&u&&eP.isEmptyPath(e,u)&&yp.Transforms.removeNodes(e,{at:u}),r.remove()}}}},e.setHtml=function(t){void 0===t&&(t="");var n=e.isDisabled(),r=e.isFocused(),o=JSON.stringify(e.selection);e.enable(),e.focus(),e.clear();var i=RN(e,null==t?"":t);if(yp.Transforms.insertFragment(e,i),r||(e.deselect(),e.blur()),n&&(e.deselect(),e.disable()),e.isFocused())try{e.select(JSON.parse(o))}catch(t){e.select(yp.Editor.start(e,[]))}},e},KP=1,YP=function(t){var e=t;return e.id="wangEditor-".concat(KP++),e.isDestroyed=!1,e.isFullScreen=!1,e.focus=function(t){if(eP.toDOMNode(e,e).focus({preventScroll:!0}),RO.set(e,!0),t){var n=yp.Editor.end(e,[]);yp.Transforms.select(e,n)}else{var r=_O.get(e);r?yp.Transforms.select(e,r):yp.Transforms.select(e,yp.Editor.start(e,[]))}},e.isFocused=function(){return!!RO.get(e)},e.blur=function(){eP.toDOMNode(e,e).blur(),yp.Transforms.deselect(e),RO.set(e,!1)},e.updateView=function(){eP.getTextarea(e).changeViewState();var t=eP.getToolbar(e);t&&t.changeToolbarState();var n=eP.getHoverbar(e);n&&n.changeHoverbarState()},e.destroy=function(){if(!e.isDestroyed){var t=eP.getTextarea(e);t.destroy(),dO.delete(e),pO.delete(t);var n=eP.getToolbar(e);n&&(n.destroy(),vO.delete(e),hO.delete(n));var r=eP.getHoverbar(e);r&&(r.destroy(),yO.delete(e),gO.delete(r)),e.isDestroyed=!0,e.emit("destroyed")}},e.scrollToElem=function(t){if(!e.getConfig().scroll){var n="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return n+="\nYou has disabled editor scroll, please do this yourself",void console.warn(n)}var r=Rp("#".concat(t));if(0!==r.length){var o=r[0];if(!eP.hasDOMNode(e,o))return n="Element (found by id is '".concat(t,"') is not in editor DOM"),n+="\n 通过 id '".concat(t,"' 找到的 element 不在 editor DOM 之内"),void console.error(n,o);var i=eP.getTextarea(e),u=i.$textAreaContainer,a=i.$scroll,s=r.offset().top,c=u.offset().top;a[0].scrollBy({top:s-c,behavior:"smooth"})}},e.showProgressBar=function(t){t<1||eP.getTextarea(e).changeProgress(t)},e.hidePanelOrModal=function(){var t=bO.get(e);null!=t&&t.forEach(function(t){return t.hide()})},e.enable=function(){e.getConfig().readOnly=!1,e.updateView()},e.disable=function(){e.getConfig().readOnly=!0,e.updateView()},e.isDisabled=function(){return e.getConfig().readOnly},e.toDOMNode=function(t){return eP.toDOMNode(e,t)},e.fullScreen=function(){if(!e.isFullScreen){var t=null,n=eP.getToolbar(e);n&&(t=n.$box);var r=eP.getTextarea(e).$box.parent();if(t&&t.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()),e.isFullScreen=!0,e.emit("fullScreen")}},e.unFullScreen=function(){if(e.isFullScreen){var t=eP.getTextarea(e).$box.parent();setTimeout(function(){t.removeClass("w-e-full-screen-container"),e.isFullScreen=!1,e.emit("unFullScreen")},200)}},e.getEditableContainer=function(){return eP.getTextarea(e).$textAreaContainer[0]},e},XP={exports:{}},JP={exports:{}};function ZP(){return sP?aP:(sP=1,aP=function(t){return null!=t})}function QP(){if(gP)return vP;gP=1;var t=function(){if(hP)return pP;hP=1;var t=function(){if(dP)return fP;dP=1;var t=function(){if(lP)return cP;lP=1;var t=ZP(),e={object:!0,function:!0,undefined:!0};return cP=function(n){return!!t(n)&&hasOwnProperty.call(e,typeof n)}}();return fP=function(e){if(!t(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}}();return pP=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(t){return!1}return!t(e)}}(),e=/^\s*class[\s{/}]/,n=Function.prototype.toString;return vP=function(r){return!!t(r)&&!e.test(n.call(r))}}function tk(){if(DP)return CP;DP=1;var t=(SP?wP:(SP=1,wP=function(){}))();return CP=function(e){return e!==t&&null!==e},CP}function ek(){if(IP)return kP;IP=1;var t=(TP||(TP=1,xP=(EP?bP:(EP=1,bP=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}))()?Object.keys:function(){if(AP)return OP;AP=1;var t=tk(),e=Object.keys;return OP=function(n){return e(t(n)?Object(n):n)}}()),xP),e=function(){if(PP)return NP;PP=1;var t=tk();return NP=function(e){if(!t(e))throw new TypeError("Cannot use null or undefined");return e}}(),n=Math.max;return kP=function(r,o){var i,u,a,s=n(arguments.length,2);for(r=Object(e(r)),a=function(t){try{r[t]=o[t]}catch(t){i||(i=t)}},u=1;u<s;++u)t(o=arguments[u]).forEach(a);if(void 0!==i)throw i;return r},kP}function nk(){if(UP)return JP.exports;UP=1;var t=ZP(),e=QP(),n=FP?BP:(FP=1,BP=(mP||(mP=1,yP=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}),yP)()?Object.assign:ek()),r=function(){if(_P)return RP;_P=1;var t=tk(),e=Array.prototype.forEach,n=Object.create;return RP=function(r){var o=n(null);return e.call(arguments,function(e){t(e)&&function(t,e){var n;for(n in t)e[n]=t[n]}(Object(e),o)}),o},RP}(),o=($P||($P=1,HP=function(){if(LP)return jP;LP=1;var t="razdwatrzy";return jP=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}}()()?String.prototype.contains:function(){if(zP)return MP;zP=1;var t=String.prototype.indexOf;return MP=function(e){return t.call(this,e,arguments[1])>-1},MP}()),HP),i=JP.exports=function(e,i){var u,a,s,c,l;return arguments.length<2||"string"!=typeof e?(c=i,i=e,e=null):c=arguments[2],t(e)?(u=o.call(e,"c"),a=o.call(e,"e"),s=o.call(e,"w")):(u=s=!0,a=!1),l={value:i,configurable:u,enumerable:a,writable:s},c?n(r(c),l):l};return i.gs=function(i,u,a){var s,c,l,f;return"string"!=typeof i?(l=a,a=u,u=i,i=null):l=arguments[3],t(u)?e(u)?t(a)?e(a)||(l=a,a=void 0):a=void 0:(l=u,u=a=void 0):u=void 0,t(i)?(s=o.call(i,"c"),c=o.call(i,"e")):(s=!0,c=!1),f={get:u,set:a,configurable:s,enumerable:c},l?n(r(l),f):f},JP.exports}var rk=(WP||(WP=1,function(t,e){var n,r,o,i,u,a,s,c=nk(),l=GP?VP:(GP=1,VP=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}),f=Function.prototype.apply,d=Function.prototype.call,p=Object.create,h=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var r,i;return l(e),i=this,n.call(this,t,r=function(){o.call(i,t,r),f.call(e,this,arguments)}),r.__eeOnceListener__=e,this},i=function(t){var e,n,r,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=arguments[e];for(o=o.slice(),e=0;r=o[e];++e)f.call(r,this,i)}else switch(arguments.length){case 1:d.call(o,this);break;case 2:d.call(o,this,arguments[1]);break;case 3:d.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=arguments[e];f.call(o,this,i)}},u={on:n=function(t,e){var n;return l(e),g.call(this,"__ee__")?n=this.__ee__:(n=y.value=p(null),h(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},once:r,off:o=function(t,e){var n,r,o,i;if(l(e),!g.call(this,"__ee__"))return this;if(!(n=this.__ee__)[t])return this;if("object"==typeof(r=n[t]))for(i=0;o=r[i];++i)o!==e&&o.__eeOnceListener__!==e||(2===r.length?n[t]=r[i?0:1]:r.splice(i,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},emit:i},a={on:c(n),once:c(r),off:c(o),emit:c(i)},s=v({},a),t.exports=e=function(t){return null==t?p(s):v(Object(t),a)},e.methods=u}(XP,XP.exports)),XP.exports),ok=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(rk);function ik(t){var e=jO.get(t);return null==e&&(e=ok(),jO.set(t,e)),e}var uk=new WeakMap;function ak(t,e){var n=uk.get(t);null==n&&(n=new Set,uk.set(t,n)),n.add(e)}var sk,ck=function(t){var e=t;return e.on=function(t,n){var r=ik(e);if(r.on(t,n),"destroyed"===t&&ak(e,n),"destroyed"!==t){var o=function(){return r.off(t,n)};r.on("destroyed",o),ak(e,o)}},e.once=function(t,n){ik(e).once(t,n)},e.off=function(t,n){ik(e).off(t,n)},e.emit=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=ik(e);if(o.emit.apply(o,aC([t],uC(n),!1)),"destroyed"===t){var i=function(t){return uk.get(t)||new Set}(e);i.forEach(function(t){return o.off("destroyed",t)}),function(t){uk.set(t,new Set)}(e)}},e},lk=function(t){var e=t;return e.setFragmentData=function(t){var n=e.selection;if(n){var r=uC(yp.Range.edges(n),2),o=r[0],i=r[1],u=yp.Editor.void(e,{at:o.path}),a=yp.Editor.void(e,{at:i.path});if(!yp.Range.isCollapsed(n)||u){var s=eP.toDOMRange(e,n),c=s.cloneContents(),l=c.childNodes[0];if(c.childNodes.forEach(function(t){t.textContent&&""!==t.textContent.trim()&&(l=t)}),a){var f=uC(a,1)[0],d=s.cloneRange(),p=eP.toDOMNode(e,f);d.setEndAfter(p),c=d.cloneContents()}if(u&&(l=c.querySelector("[data-slate-spacer]")),Array.from(c.querySelectorAll("[data-slate-zero-width]")).forEach(function(t){var e="n"===t.getAttribute("data-slate-zero-width");t.textContent=e?"\n":""}),dN(l)){var h=l.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(l),c.appendChild(h),l=h}var v=e.getFragment(),g=JSON.stringify(v),y=window.btoa(encodeURIComponent(g));l.setAttribute("data-slate-fragment",y),t.setData("application/x-slate-fragment",y);var m=c.ownerDocument.createElement("div");return m.appendChild(c),m.setAttribute("hidden","true"),c.ownerDocument.body.appendChild(m),t.setData("text/html",m.innerHTML),t.setData("text/plain",gN(m)),c.ownerDocument.body.removeChild(m),t}}},e.insertData=function(t){var n,r,o=t.getData("application/x-slate-fragment");if(o){var i=decodeURIComponent(window.atob(o)),u=JSON.parse(i);e.insertFragment(u)}else{var a=t.getData("text/plain"),s=t.getData("text/html");if(s)e.dangerouslyInsertHtml(s);else if(a){var c=a.split(/\n\r|\r\n|\r|\n/),l=!1;try{for(var f=iC(c),d=f.next();!d.done;d=f.next()){var p=d.value,h=eP.getLeftLengthOfMaxLength(e);l&&h>0&&yp.Transforms.splitNodes(e,{always:!0}),e.insertText(p),l=!0}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}}}},e},fk={};!function(){if(sk)return fk;sk=1;var t=aS(),e=sS(),n=pS(),r=Ab(),o=Sw(),i=Dw(),u=Db(),a=lS(),s=vE(),c=vS(),l=ZD(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var dk=function(t){var e=t,n=e.insertText,r=e.insertNode,o=e.insertFragment,i=e.dangerouslyInsertHtml;return e.insertText=function(t){if(e.getConfig().maxLength){var r=eP.getLeftLengthOfMaxLength(e);r<=0||(r<t.length?n(t.slice(0,r)):n(t))}else n(t)},e.insertNode=function(t){if(e.getConfig().maxLength){var n=eP.getLeftLengthOfMaxLength(e);n<=0||n<yp.Node.string(t).length||r(t)}else r(t)},e.insertFragment=function(t){if(e.getConfig().maxLength){if(t.length>0){var n=t[0];if(eP.getLeftLengthOfMaxLength(e)<yp.Node.string(n).length)return;o([n]);for(var r=1;r<t.length;r+=1)e.insertNode(t[r])}}else o(t)},e.dangerouslyInsertHtml=function(t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),t)if(e.getConfig().maxLength){var r=eP.getLeftLengthOfMaxLength(e);if(!(r<=0)){var o=document.createElement("div");o.innerHTML=t,r<Array.from(o.childNodes).reduce(function(t,e){var n=e.nodeName;return e?dN(e)?t+(e.textContent||""):lN(e)?KA.has(n.toLowerCase())?t:t+(e.textContent||""):t:t},"").length||i(t,n)}}else i(t,n)},e};function pk(t){var e=eP.getTextarea(t).$textAreaContainer,n=e.width(),r=e.height(),o=e.offset();return{top:o.top,left:o.left,width:n,height:r}}function hk(t){var e={top:"0",left:"0"},n=t.selection;if(null==n)return e;var r=pk(t);if(null==r)return e;var o=r.top,i=r.left,u=r.width,a=r.height,s=eP.toDOMRange(t,n).getClientRects(),c=s?s[0]:null;if(null==c)return e;var l={},f=c.top-o,d=c.left-i;if(d>u/2){var p=u-d;l.right="".concat(p+5,"px")}else l.left="".concat(d+5,"px");if(f>a/2){var h=a-f;l.bottom="".concat(h+5,"px")}else{var v=s[s.length-1],g=v.top-o+v.height;g<0&&(g=0),l.top="".concat(g+5,"px")}return l}function vk(t,e,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==t.selection)return r;var o=yp.Element.isElement(e)&&t.isVoid(e),i=yp.Element.isElement(e)&&t.isInline(e),u=IO.get(e);if(null==u)return r;var a=u.getBoundingClientRect(),s=a.top,c=a.left,l=a.height,f=a.width;if(o){var d=function(t){var e=[];e.push(t);for(var n=0;e.length>0;){var r=e.pop();if(null==r)break;if((n+=1)>1e4)break;var o=r.nodeName;if(r.nodeType===oN.ELEMENT_NODE){var i=o.toLowerCase();if(_x.includes(i)||"iframe"===i||"video"===i)return r;var u=r.children||[],a=u.length;if(a)for(var s=a-1;s>=0;s-=1)e.push(u[s])}}return null}(u);if(null!=d){var p=d.getBoundingClientRect();s=p.top,l=p.height}}var h=pk(t);if(null==h)return r;var v=h.top,g=h.left,y=h.width,m=h.height,b={},E=s-v,w=c-g;if("bar"===n)return b.left="".concat(w,"px"),E>40?b.bottom="".concat(m-E+5,"px"):b.top="".concat(E+l+5,"px"),b;if("modal"===n){if(o?i?w>(y-f)/2?b.right="".concat(y-w+5,"px"):b.left="".concat(w+f+5,"px"):b.left="20px":b.left="".concat(w,"px"),o)(S=E)<0&&(S=0),b.top="".concat(S,"px");else if(E>(m-l)/2)b.bottom="".concat(m-E+5,"px");else{var S;(S=E+l)<0&&(S=0),b.top="".concat(S+5,"px")}return b}throw new Error("type '".concat(n,"' is invalid"))}function gk(t,e){rN(function(){var n=pk(t);if(null!=n){var r,o=n.top,i=n.left,u=n.width,a=n.height,s=e.offset(),c=s.top,l=s.left,f=e.width(),d=e.height(),p=c-o,h=l-i,v=e.attr("style");if(v.indexOf("top")>=0&&(r=p+d-a)>0){var g=e.css("top"),y=parseInt(g.toString(),10)-r;y<0&&(y=0),e.css("top","".concat(y,"px"))}if(v.indexOf("bottom")>=0&&c<0){var m=e.css("bottom"),b=parseInt(m.toString(),10)-Math.abs(c);e.css("bottom","".concat(b,"px"))}if(v.indexOf("left")>=0&&(r=h+f-u)>0){var E=e.css("left"),w=parseInt(E.toString(),10)-r;w<0&&(w=0),e.css("left","".concat(w,"px"))}if(v.indexOf("right")>=0&&l<0){var S=e.css("right"),C=parseInt(S.toString(),10)-Math.abs(l);e.css("right","".concat(C,"px"))}}})}var yk,mk=function(t){var e=t;return e.select=function(t){yp.Transforms.select(e,t)},e.deselect=function(){var n=e.selection,r=eP.findDocumentOrShadowRoot(e).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),n&&yp.Transforms.deselect(t)},e.move=function(e,n){void 0===n&&(n=!1),e&&(e<0||yp.Transforms.move(t,{distance:e,unit:"character",reverse:n}))},e.moveReverse=function(t){e.move(t,!0)},e.restoreSelection=function(){var t=_O.get(e);null!=t&&(e.focus(),yp.Transforms.select(e,t))},e.getSelectionPosition=function(){return hk(e)},e.getNodePosition=function(t){return vk(e,t)},e.isSelectedAll=function(){var t=e.selection;if(null==t)return!1;var n=uC(yp.Range.edges(t),2),r=n[0],o=n[1],i=uC(yp.Editor.edges(e,[]),2),u=i[0],a=i[1];return!(!yp.Point.equals(r,u)||!yp.Point.equals(o,a))},e.selectAll=function(){var t=yp.Editor.start(e,[]),n=yp.Editor.end(e,[]);yp.Transforms.select(e,{anchor:t,focus:n})},e},bk={};!function(){if(yk)return bk;yk=1;var t=Tm(),e=bb(),n=hx(),r=PE(),o=Ab(),i=Cw(),u=fD(),a=Cb(),s=_b(),c=gx(),l=ZT(),f=yx(),d=e("".indexOf);n("match",function(e,n,p){return[function(n){var r=a(this),i=o(n)?s(n,e):void 0;return i?t(i,n,r):new RegExp(n)[e](u(r))},function(t){var e=r(this),o=u(t),a=p(n,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();const Ek=t=>"string"==typeof t,wk=()=>{let t,e;const n=new Promise((n,r)=>{t=n,e=r});return n.resolve=t,n.reject=e,n},Sk=t=>null==t?"":""+t,Ck=/###/g,Dk=t=>t&&t.indexOf("###")>-1?t.replace(Ck,"."):t,Ok=t=>!t||Ek(t),Ak=(t,e,n)=>{const r=Ek(e)?e.split("."):e;let o=0;for(;o<r.length-1;){if(Ok(t))return{};const e=Dk(r[o]);!t[e]&&n&&(t[e]=new n),t=Object.prototype.hasOwnProperty.call(t,e)?t[e]:{},++o}return Ok(t)?{}:{obj:t,k:Dk(r[o])}},xk=(t,e,n)=>{const{obj:r,k:o}=Ak(t,e,Object);if(void 0!==r||1===e.length)return void(r[o]=n);let i=e[e.length-1],u=e.slice(0,e.length-1),a=Ak(t,u,Object);for(;void 0===a.obj&&u.length;)i=`${u[u.length-1]}.${i}`,u=u.slice(0,u.length-1),a=Ak(t,u,Object),a&&a.obj&&void 0!==a.obj[`${a.k}.${i}`]&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=n},Tk=(t,e)=>{const{obj:n,k:r}=Ak(t,e);if(n)return n[r]},Nk=(t,e,n)=>{for(const r in e)"__proto__"!==r&&"constructor"!==r&&(r in t?Ek(t[r])||t[r]instanceof String||Ek(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):Nk(t[r],e[r],n):t[r]=e[r]);return t},Pk=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var kk={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Ik=t=>Ek(t)?t.replace(/[&<>"'\/]/g,t=>kk[t]):t,Bk=[" ",",","?","!",";"],Fk=new class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const e=this.regExpMap.get(t);if(void 0!==e)return e;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}(20),Rk=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[e])return t[e];const r=e.split(n);let o=t;for(let t=0;t<r.length;){if(!o||"object"!=typeof o)return;let e,i="";for(let u=t;u<r.length;++u)if(u!==t&&(i+=n),i+=r[u],e=o[i],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&u<r.length-1)continue;t+=u-t+1;break}o=e}return o},_k=t=>t&&t.replace("_","-"),jk={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};var Lk=new class t{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||jk,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,n,r){return r&&!this.debug?null:(Ek(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[e](t))}create(e){return new t(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}};let Mk=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);const n=this.observers[t].get(e)||0;this.observers[t].set(e,n+1)}),this}off(t,e){this.observers[t]&&(e?this.observers[t].delete(e):delete this.observers[t])}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(t=>{let[e,r]=t;for(let t=0;t<r;t++)e(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(e=>{let[r,o]=e;for(let e=0;e<o;e++)r.apply(r,[t,...n])})}},zk=class extends Mk{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let u;t.indexOf(".")>-1?u=t.split("."):(u=[t,e],n&&(Array.isArray(n)?u.push(...n):Ek(n)&&o?u.push(...n.split(o)):u.push(n)));const a=Tk(this.data,u);return!a&&!e&&!n&&t.indexOf(".")>-1&&(t=u[0],e=u[1],n=u.slice(2).join(".")),!a&&i&&Ek(n)?Rk(this.data&&this.data[t]&&this.data[t][e],n,o):a}addResource(t,e,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let u=[t,e];n&&(u=u.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(u=t.split("."),r=e,e=u[1]),this.addNamespaces(e),xk(this.data,u,r),o.silent||this.emit("added",t,e,n,r)}addResources(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const r in n)(Ek(n[r])||Array.isArray(n[r]))&&this.addResource(t,e,r,n[r],{silent:!0});r.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},u=[t,e];t.indexOf(".")>-1&&(u=t.split("."),r=n,n=e,e=u[1]),this.addNamespaces(e);let a=Tk(this.data,u)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Nk(a,n,o):a={...a,...n},xk(this.data,u,a),i.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return void 0!==this.getResource(t,e)}getResourceBundle(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(t,e)}:this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(t=>e[t]&&Object.keys(e[t]).length>0)}toJSON(){return this.data}};var Hk={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,o){return t.forEach(t=>{this.processors[t]&&(e=this.processors[t].process(e,n,r,o))}),e}};const $k={};let Uk=class t extends Mk{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((t,e,n)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(t=>{e[t]&&(n[t]=e[t])})})(0,t,this),this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Lk.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;const n=this.resolve(t,e);return n&&void 0!==n.res}extractFromKey(t,e){let n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator;let o=e.ns||this.options.defaultNS||[];const i=n&&t.indexOf(n)>-1,u=!(this.options.userDefinedKeySeparator||e.keySeparator||this.options.userDefinedNsSeparator||e.nsSeparator||((t,e,n)=>{e=e||"",n=n||"";const r=Bk.filter(t=>e.indexOf(t)<0&&n.indexOf(t)<0);if(0===r.length)return!0;const o=Fk.getRegExp(`(${r.map(t=>"?"===t?"\\?":t).join("|")})`);let i=!o.test(t);if(!i){const e=t.indexOf(n);e>0&&!o.test(t.substring(0,e))&&(i=!0)}return i})(t,n,r));if(i&&!u){const e=t.match(this.interpolator.nestingRegexp);if(e&&e.length>0)return{key:t,namespaces:Ek(o)?[o]:o};const i=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),t=i.join(r)}return{key:t,namespaces:Ek(o)?[o]:o}}translate(e,n,r){if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n={...n}),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:u,namespaces:a}=this.extractFromKey(e[e.length-1],n),s=a[a.length-1],c=n.lng||this.language,l=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const t=n.nsSeparator||this.options.nsSeparator;return o?{res:`${s}${t}${u}`,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(n)}:`${s}${t}${u}`}return o?{res:u,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(n)}:u}const f=this.resolve(e,n);let d=f&&f.res;const p=f&&f.usedKey||u,h=f&&f.exactUsedKey||u,v=Object.prototype.toString.apply(d),g=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,m=!Ek(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(y&&d&&m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(v)<0)||Ek(g)&&Array.isArray(d))if(y&&Ek(g)&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,n,r));else{let o=!1,a=!1;const l=void 0!==n.count&&!Ek(n.count),p=t.hasDefaultValue(n),h=l?this.pluralResolver.getSuffix(c,n.count,n):"",v=n.ordinal&&l?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",g=l&&!n.ordinal&&0===n.count&&this.pluralResolver.shouldUseIntlApi(),y=g&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${h}`]||n[`defaultValue${v}`]||n.defaultValue;!this.isValidLookup(d)&&p&&(o=!0,d=y),this.isValidLookup(d)||(a=!0,d=u);const m=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,b=p&&y!==d&&this.options.updateMissing;if(a||o||b){if(this.logger.log(b?"updateKey":"missingKey",c,s,u,b?y:d),i){const t=this.resolve(u,{...n,keySeparator:!1});t&&t.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.")}let t=[];const e=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&e&&e[0])for(let n=0;n<e.length;n++)t.push(e[n]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(n.lng||this.language):t.push(n.lng||this.language);const r=(t,e,r)=>{const o=p&&r!==d?r:m;this.options.missingKeyHandler?this.options.missingKeyHandler(t,s,e,o,b,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,s,e,o,b,n),this.emit("missingKey",t,s,e,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?t.forEach(t=>{const e=this.pluralResolver.getSuffixes(t,n);g&&n[`defaultValue${this.options.pluralSeparator}zero`]&&e.indexOf(`${this.options.pluralSeparator}zero`)<0&&e.push(`${this.options.pluralSeparator}zero`),e.forEach(e=>{r([t],u+e,n[`defaultValue${e}`]||y)})}):r(t,u,y))}d=this.extendTranslation(d,e,n,f,r),a&&d===u&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${u}`),(a||o)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${u}`:u,o?d:void 0):this.options.parseMissingKeyHandler(d))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,{...n,ns:a}):`key '${u} (${this.language})' returned an object instead of string.`;return o?(f.res=t,f.usedParams=this.getUsedParamsDetails(n),f):t}if(i){const t=Array.isArray(d),e=t?[]:{},r=t?h:p;for(const t in d)if(Object.prototype.hasOwnProperty.call(d,t)){const o=`${r}${i}${t}`;e[t]=this.translate(o,{...n,joinArrays:!1,ns:a}),e[t]===o&&(e[t]=d[t])}d=e}}return o?(f.res=d,f.usedParams=this.getUsedParamsDetails(n),f):d}extendTranslation(t,e,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const u=Ek(t)&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(u){const e=t.match(this.interpolator.nestingRegexp);a=e&&e.length}let s=n.replace&&!Ek(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),t=this.interpolator.interpolate(t,s,n.lng||this.language||r.usedLng,n),u){const e=t.match(this.interpolator.nestingRegexp);a<(e&&e.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];return o&&o[0]===r[0]&&!n.context?(i.logger.warn(`It seems you are nesting recursively key: ${r[0]} in key: ${e[0]}`),null):i.translate(...r,e)},n)),n.interpolation&&this.interpolator.reset()}const u=n.postProcess||this.options.postProcess,a=Ek(u)?[u]:u;return null!=t&&a&&a.length&&!1!==n.applyPostProcessor&&(t=Hk.handle(a,t,e,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t){let e,n,r,o,i,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ek(t)&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(e))return;const a=this.extractFromKey(t,u),s=a.key;n=s;let c=a.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const l=void 0!==u.count&&!Ek(u.count),f=l&&!u.ordinal&&0===u.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==u.context&&(Ek(u.context)||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:this.languageUtils.toResolveHierarchy(u.lng||this.language,u.fallbackLng);c.forEach(t=>{this.isValidLookup(e)||(i=t,!$k[`${p[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&($k[`${p[0]}-${t}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${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(n=>{if(this.isValidLookup(e))return;o=n;const i=[s];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,s,n,t,u);else{let t;l&&(t=this.pluralResolver.getSuffix(n,u.count,u));const e=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(l&&(i.push(s+t),u.ordinal&&0===t.indexOf(r)&&i.push(s+t.replace(r,this.options.pluralSeparator)),f&&i.push(s+e)),d){const n=`${s}${this.options.contextSeparator}${u.context}`;i.push(n),l&&(i.push(n+t),u.ordinal&&0===t.indexOf(r)&&i.push(n+t.replace(r,this.options.pluralSeparator)),f&&i.push(n+e))}}let a;for(;a=i.pop();)this.isValidLookup(e)||(r=a,e=this.getResource(n,t,a,u))}))})}),{res:e,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}getResource(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!Ek(t.replace);let r=n?t.replace:t;if(n&&void 0!==t.count&&(r.count=t.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const t of e)delete r[t]}return r}static hasDefaultValue(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"defaultValue"===e.substring(0,12)&&void 0!==t[e])return!0;return!1}};const Vk=t=>t.charAt(0).toUpperCase()+t.slice(1);let Gk=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Lk.create("languageUtils")}getScriptPartFromCode(t){if(!(t=_k(t))||t.indexOf("-")<0)return null;const e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}getLanguagePartFromCode(t){if(!(t=_k(t))||t.indexOf("-")<0)return t;const e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(Ek(t)&&t.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let e=Intl.getCanonicalLocales(t)[0];if(e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e)return e}catch(t){}const e=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(t=>t.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=Vk(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()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=Vk(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=Vk(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(t=>{if(e)return;const n=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(n)||(e=n)}),!e&&this.options.supportedLngs&&t.forEach(t=>{if(e)return;const n=this.getLanguagePartFromCode(t);if(this.isSupportedCode(n))return e=n;e=this.options.supportedLngs.find(t=>t===n?t:t.indexOf("-")<0&&n.indexOf("-")<0?void 0:t.indexOf("-")>0&&n.indexOf("-")<0&&t.substring(0,t.indexOf("-"))===n||0===t.indexOf(n)&&n.length>1?t:void 0)}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),Ek(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){const n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),r=[],o=t=>{t&&(this.isSupportedCode(t)?r.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return Ek(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):Ek(t)&&o(this.formatLanguageCode(t)),n.forEach(t=>{r.indexOf(t)<0&&o(this.formatLanguageCode(t))}),r}},Wk=[{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}],qk={1:t=>Number(t>1),2:t=>Number(1!=t),3:t=>0,4:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),5:t=>Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5),6:t=>Number(1==t?0:t>=2&&t<=4?1:2),7:t=>Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),8:t=>Number(1==t?0:2==t?1:8!=t&&11!=t?2:3),9:t=>Number(t>=2),10:t=>Number(1==t?0:2==t?1:t<7?2:t<11?3:4),11:t=>Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3),12:t=>Number(t%10!=1||t%100==11),13:t=>Number(0!==t),14:t=>Number(1==t?0:2==t?1:3==t?2:3),15:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2),16:t=>Number(t%10==1&&t%100!=11?0:0!==t?1:2),17:t=>Number(1==t||t%10==1&&t%100!=11?0:1),18:t=>Number(0==t?0:1==t?1:2),19:t=>Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3),20:t=>Number(1==t?0:0==t||t%100>0&&t%100<20?1:2),21:t=>Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0),22:t=>Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)};const Kk=["v1","v2","v3"],Yk=["v4"],Xk={zero:0,one:1,two:2,few:3,many:4,other:5};let Jk=class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=Lk.create("pluralResolver"),this.options.compatibilityJSON&&!Yk.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const t={};return Wk.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:qk[e.fc]}})}),t})(),this.pluralRulesCache={}}addRule(t,e){this.rules[t]=e}clearCache(){this.pluralRulesCache={}}getRule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const n=_k("dev"===t?"en":t),r=e.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(n,{type:r})}catch(n){if(!t.match(/-|_/))return;const r=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(r,e)}return this.pluralRulesCache[o]=i,i}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(t=>`${e}${t}`)}getSuffixes(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(t,e);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((t,e)=>Xk[t]-Xk[e]).map(t=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${t}`):n.numbers.map(n=>this.getSuffix(t,n,e)):[]}getSuffix(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(e)}`:this.getSuffixRetroCompatible(r,e):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,e){const n=t.noAbs?t.plurals(e):t.plurals(Math.abs(e));let r=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!Kk.includes(this.options.compatibilityJSON)}};const Zk=function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=((t,e,n)=>{const r=Tk(t,n);return void 0!==r?r:Tk(e,n)})(t,e,n);return!i&&o&&Ek(n)&&(i=Rk(t,n,r),void 0===i&&(i=Rk(e,n,r))),i},Qk=t=>t.replace(/\$/g,"$$$$");let tI=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Lk.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:e,escapeValue:n,useRawValueToEscape:r,prefix:o,prefixEscaped:i,suffix:u,suffixEscaped:a,formatSeparator:s,unescapeSuffix:c,unescapePrefix:l,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:v,maxReplaces:g,alwaysFormat:y}=t.interpolation;this.escape=void 0!==e?e:Ik,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=o?Pk(o):i||"{{",this.suffix=u?Pk(u):a||"}}",this.formatSeparator=s||",",this.unescapePrefix=c?"":l||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?Pk(f):d||Pk("$t("),this.nestingSuffix=p?Pk(p):h||Pk(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(t,e)=>t&&t.source===e?(t.lastIndex=0,t):new RegExp(e,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,n,r){let o,i,u;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},s=t=>{if(t.indexOf(this.formatSeparator)<0){const o=Zk(e,a,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...e,interpolationkey:t}):o}const o=t.split(this.formatSeparator),i=o.shift().trim(),u=o.join(this.formatSeparator).trim();return this.format(Zk(e,a,i,this.options.keySeparator,this.options.ignoreJSONStructure),u,n,{...r,...e,interpolationkey:i})};this.resetRegExp();const c=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,l=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,f=[{regex:this.regexpUnescape,safeValue:t=>Qk(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?Qk(this.escape(t)):Qk(t)}];return f.forEach(e=>{for(u=0;o=e.regex.exec(t);){const n=o[1].trim();if(i=s(n),void 0===i)if("function"==typeof c){const e=c(t,o,r);i=Ek(e)?e:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(l){i=o[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${t}`),i=""}else Ek(i)||this.useRawValueToEscape||(i=Sk(i));const a=e.safeValue(i);if(t=t.replace(o[0],a),l?(e.regex.lastIndex+=i.length,e.regex.lastIndex-=o[0].length):e.regex.lastIndex=0,u++,u>=this.maxReplaces)break}}),t}nest(t,e){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(t,e)=>{const n=this.nestingOptionsSeparator;if(t.indexOf(n)<0)return t;const r=t.split(new RegExp(`${n}[ ]*{`));let i=`{${r[1]}`;t=r[0],i=this.interpolate(i,o);const u=i.match(/'/g),a=i.match(/"/g);(u&&u.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),e&&(o={...e,...o})}catch(e){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,e),`${t}${n}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,t};for(;n=this.nestingRegexp.exec(t);){let a=[];o={...i},o=o.replace&&!Ek(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let s=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const t=n[1].split(this.formatSeparator).map(t=>t.trim());n[1]=t.shift(),a=t,s=!0}if(r=e(u.call(this,n[1].trim(),o),o),r&&n[0]===t&&!Ek(r))return r;Ek(r)||(r=Sk(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${t}`),r=""),s&&(r=a.reduce((t,e)=>this.format(t,e,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),t=t.replace(n[0],r),this.regexp.lastIndex=0}return t}};const eI=t=>{const e={};return(n,r,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const u=r+JSON.stringify(i);let a=e[u];return a||(a=t(_k(r),o),e[u]=a),a(n)}};let nI=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=Lk.create("formatter"),this.options=t,this.formats={number:eI((t,e)=>{const n=new Intl.NumberFormat(t,{...e});return t=>n.format(t)}),currency:eI((t,e)=>{const n=new Intl.NumberFormat(t,{...e,style:"currency"});return t=>n.format(t)}),datetime:eI((t,e)=>{const n=new Intl.DateTimeFormat(t,{...e});return t=>n.format(t)}),relativetime:eI((t,e)=>{const n=new Intl.RelativeTimeFormat(t,{...e});return t=>n.format(t,e.range||"day")}),list:eI((t,e)=>{const n=new Intl.ListFormat(t,{...e});return t=>n.format(t)})},this.init(t)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=e.interpolation.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=eI(e)}format(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=e.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(t=>t.indexOf(")")>-1)){const t=o.findIndex(t=>t.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,t)].join(this.formatSeparator)}const i=o.reduce((t,e)=>{const{formatName:o,formatOptions:i}=(t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===e&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===e&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(t=>{if(t){const[e,...r]=t.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,""),i=e.trim();n[i]||(n[i]=o),"false"===o&&(n[i]=!1),"true"===o&&(n[i]=!0),isNaN(o)||(n[i]=parseInt(o,10))}})}return{formatName:e,formatOptions:n}})(e);if(this.formats[o]){let e=t;try{const u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},a=u.locale||u.lng||r.locale||r.lng||n;e=this.formats[o](t,a,{...i,...r,...u})}catch(t){this.logger.warn(t)}return e}return this.logger.warn(`there was no format function for ${o}`),t},t);return i}},rI=class extends Mk{constructor(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=Lk.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(t,e,n,r){const o={},i={},u={},a={};return t.forEach(t=>{let r=!0;e.forEach(e=>{const u=`${t}|${e}`;!n.reload&&this.store.hasResourceBundle(t,e)?this.state[u]=2:this.state[u]<0||(1===this.state[u]?void 0===i[u]&&(i[u]=!0):(this.state[u]=1,r=!1,void 0===i[u]&&(i[u]=!0),void 0===o[u]&&(o[u]=!0),void 0===a[e]&&(a[e]=!0)))}),r||(u[t]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(u),toLoadNamespaces:Object.keys(a)}}loaded(t,e,n){const r=t.split("|"),o=r[0],i=r[1];e&&this.emit("failedLoading",o,i,e),!e&&n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&n&&(this.state[t]=0);const u={};this.queue.forEach(n=>{((t,e,n)=>{const{obj:r,k:o}=Ak(t,e,Object);r[o]=r[o]||[],r[o].push(n)})(n.loaded,[o],i),((t,e)=>{void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)})(n,t),e&&n.errors.push(e),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(t=>{u[t]||(u[t]={});const e=n.loaded[t];e.length&&e.forEach(e=>{void 0===u[t][e]&&(u[t][e]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(t=>!t.done)}read(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:e,fcName:n,tried:r,wait:o,callback:i});this.readingCalls++;const u=(u,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}u&&a&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,t,e,n,r+1,2*o,i)},o):i(u,a)},a=this.backend[n].bind(this.backend);if(2!==a.length)return a(t,e,u);try{const n=a(t,e);n&&"function"==typeof n.then?n.then(t=>u(null,t)).catch(u):u(null,n)}catch(t){u(t)}}prepareLoading(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=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."),r&&r();Ek(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Ek(e)&&(e=[e]);const o=this.queueLoad(t,e,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(t=>{this.loadOne(t)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=t.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${e}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${e}loaded namespace ${o} for language ${r}`,i),this.loaded(t,n,i)})}saveMissing(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e))this.logger.warn(`did not save key "${n}" as the namespace "${e}" 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!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){const a={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let o;o=5===s.length?s(t,e,n,r,a):s(t,e,n,r),o&&"function"==typeof o.then?o.then(t=>u(null,t)).catch(u):u(null,o)}catch(t){u(t)}else s(t,e,n,r,u,a)}t&&t[0]&&this.store.addResource(t[0],e,n,r)}}};const oI=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if("object"==typeof t[1]&&(e=t[1]),Ek(t[1])&&(e.defaultValue=t[1]),Ek(t[2])&&(e.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){const n=t[3]||t[2];Object.keys(n).forEach(t=>{e[t]=n[t]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),iI=t=>(Ek(t.ns)&&(t.ns=[t.ns]),Ek(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),Ek(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),uI=()=>{};let aI=class t extends Mk{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=iI(t),this.services={},this.logger=Lk,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{"function"==typeof n[t]&&(n[t]=n[t].bind(n))}),e&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof e&&(n=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&(Ek(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=oI();this.options={...r,...this.options,...iI(e)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);const o=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let e;this.modules.logger?Lk.init(o(this.modules.logger),this.options):Lk.init(null,this.options),this.modules.formatter?e=this.modules.formatter:"undefined"!=typeof Intl&&(e=nI);const n=new Gk(this.options);this.store=new zk(this.options.resources,this.options);const i=this.services;i.logger=Lk,i.resourceStore=this.store,i.languageUtils=n,i.pluralResolver=new Jk(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!e||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(i.formatter=o(e),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new tI(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new rI(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit(e,...r)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Uk(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit(e,...r)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,n||(n=uI),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return t.store[e](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return t.store[e](...arguments),t}});const i=wk(),u=()=>{const t=(t,e)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(e),n(t,e)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),i}loadResources(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:uI;const n=Ek(t)?t:this.language;if("function"==typeof t&&(e=t),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return e();const t=[],r=e=>{e&&"cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&t.indexOf(e)<0&&t.push(e)})};n?r(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>r(t)),this.options.preload&&this.options.preload.forEach(t=>r(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),e(t)})}else e(null)}reloadResources(t,e,n){const r=wk();return"function"==typeof t&&(n=t,t=void 0),"function"==typeof e&&(n=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),n||(n=uI),this.services.backendConnector.reload(t,e,t=>{r.resolve(),n(t)}),r}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&Hk.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;const r=wk();this.emit("languageChanging",t);const o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},i=(t,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),e&&e(t,function(){return n.t(...arguments)})},u=e=>{t||e||!this.services.languageDetector||(e=[]);const n=Ek(e)?e:this.services.languageUtils.getBestMatchFromCodes(e);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,t=>{i(t,n)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(u):this.services.languageDetector.detect(u):u(t):u(this.services.languageDetector.detect()),r}getFixedT(t,e,n){var r=this;const o=function(t,e){let i;if("object"!=typeof e){for(var u=arguments.length,a=new Array(u>2?u-2:0),s=2;s<u;s++)a[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,e].concat(a))}else i={...e};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||n||o.keyPrefix);const c=r.options.keySeparator||".";let l;return l=i.keyPrefix&&Array.isArray(t)?t.map(t=>`${i.keyPrefix}${c}${t}`):i.keyPrefix?`${i.keyPrefix}${c}${t}`:t,r.t(l,i)};return Ek(t)?o.lng=t:o.lngs=t,o.ns=e,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=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;const n=e.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(t,e)=>{const n=this.services.backendConnector.state[`${t}|${e}`];return-1===n||0===n||2===n};if(e.precheck){const t=e.precheck(this,i);if(void 0!==t)return t}return!(!this.hasResourceBundle(n,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(n,t)||r&&!i(o,t)))}loadNamespaces(t,e){const n=wk();return this.options.ns?(Ek(t)&&(t=[t]),t.forEach(t=>{this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){const n=wk();Ek(t)&&(t=[t]);const r=this.options.preload||[],o=t.filter(t=>r.indexOf(t)<0&&this.services.languageUtils.isSupportedCode(t));return o.length?(this.options.preload=r.concat(o),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const e=this.services&&this.services.languageUtils||new Gk(oI());return["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","ckb"].indexOf(e.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:uI;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},i=new t(o);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach(t=>{i[t]=this[t]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new zk(this.store.data,o),i.services.resourceStore=i.store),i.translator=new Uk(i.services,o),i.translator.on("*",function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];i.emit(t,...n)}),i.init(o,n),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};const sI=aI.createInstance();sI.createInstance=aI.createInstance,sI.createInstance,sI.dir,sI.init,sI.loadResources,sI.reloadResources,sI.use,sI.changeLanguage,sI.getFixedT,sI.t,sI.exists,sI.setDefaultNamespace,sI.hasLoadedNamespace,sI.loadNamespaces,sI.loadLanguages;var cI="translation";function lI(t,e){sI.addResourceBundle(t,cI,e,!0,!0)}function fI(t){return sI.on("languageChanged",t),function(){return sI.off("languageChanged",t)}}sI.init({lng:"zh-CN",resources:{}});var dI=sI.t.bind(sI);function pI(t){if(t.removeAttr){t.removeAttr("width"),t.removeAttr("height"),t.removeAttr("fill"),t.removeAttr("class"),t.removeAttr("t"),t.removeAttr("p-id");var e=t.children();e.length&&pI(e)}}function hI(){return Rp('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function vI(){return Rp('<div class="w-e-bar-divider"></div>')}function gI(t,e,n,r,o){if(void 0===r&&(r=""),void 0===o&&(o=!1),e){if(r){var i=KN?"cmd":"ctrl";r=r.replace("mod",i)}if(o)r&&(t.attr("data-tooltip",r),t.addClass("w-e-menu-tooltip-v5"),t.addClass("tooltip-right"));else{var u=r?"".concat(n,"\n").concat(r):n;t.attr("data-tooltip",u),t.addClass("w-e-menu-tooltip-v5")}}}var yI=function(){function t(t,e,n){void 0===n&&(n=!1);var r=this;this.$elem=Rp('<div class="w-e-bar-item"></div>'),this.$button=Rp('<button type="button"></button>'),this.disabled=!1,this.menu=e;var o=e.tag,i=e.width;if("button"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'button'"));var u=e.title,a=e.hotkey,s=void 0===a?"":a,c=e.iconSvg,l=void 0===c?"":c,f=this.$button;if(l){var d=Rp(l);pI(d),f.append(d)}else f.text(u);gI(f,l,u,s,n),n&&l&&f.append(Rp('<span class="title">'.concat(u,"</span>"))),i&&f.css("width","".concat(i,"px")),f.attr("data-menu-key",t),this.$elem.append(f),rN(function(){return r.init()})}return t.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(e){e.preventDefault(),PI(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},t.prototype.exec=function(){var t=PI(this),e=this.menu,n=e.getValue(t);this.setIcon(),this.setTooltip(),e.exec(t,n)},t.prototype.setActive=function(){var t=PI(this),e=this.$button,n="active";this.menu.isActive(t)?e.addClass(n):e.removeClass(n)},t.prototype.setDisabled=function(){var t=PI(this),e=this.$button,n=this.menu.isDisabled(t);(null==t.selection||t.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?e.addClass(r):e.removeClass(r),this.disabled=n},t.prototype.setIcon=function(){var t=PI(this),e=this.$button;if(this.menu.getIcon){var n=this.menu.getIcon(t);if(n){e.find("svg").remove();var r=Rp(n);pI(r),e.append(r)}}},t.prototype.setTooltip=function(){var t=PI(this),e=this.$button;if(this.menu.getTitle){var n=this.menu.getTitle(t),r=this.menu.iconSvg;n&&r&&gI(e,r,n)}},t.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},t}(),mI=function(t){function e(e,n,r){return void 0===r&&(r=!1),t.call(this,e,n,r)||this}return nC(e,t),e.prototype.onButtonClick=function(){},e}(yI),bI=function(){function t(t){this.isShow=!1,this.showTime=0,this.record(t)}return t.prototype.record=function(t){var e=bO.get(t);null==e&&(e=new Set,bO.set(t,e)),e.add(this),EO.set(this,t)},t.prototype.renderContent=function(t){var e=this.$elem;e.empty(),e.append(t);var n=this.genSelfElem();n&&e.append(n)},t.prototype.appendTo=function(t){var e=this.$elem;t.append(e)},t.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=EO.get(this);t&&t.emit("modalOrPanelShow",this)}},t.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=EO.get(this);t&&t.emit("modalOrPanelHide")}},t}(),EI=function(t){function e(e){var n=t.call(this,e)||this;return n.type="dropPanel",n.$elem=Rp('<div class="w-e-drop-panel"></div>'),n}return nC(e,t),e.prototype.genSelfElem=function(){return null},e}(bI),wI=function(t){function e(e,n,r){void 0===r&&(r=!1);var o=t.call(this,e,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=hI();o.$button.append(i)}return o}return nC(e,t),e.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},e.prototype.handleDropPanel=function(){var t=this.menu;if(null!=t.getPanelContentElem){var e=PI(this);if(null==this.dropPanel){var n=new EI(e),r=t.getPanelContentElem(e);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n}else{var o=this.dropPanel;o.isShow?o.hide():(r=t.getPanelContentElem(e),o.renderContent(r),o.show())}var i=this.dropPanel;if(i.isShow){var u=this.$elem,a=u.offset().left,s=u.parents(".w-e-bar");a-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},e}(yI),SI=function(t){function e(e,n){void 0===n&&(n=0);var r=t.call(this,e)||this;r.type="modal",r.$elem=Rp('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",function(t){return t.stopPropagation()}),o.on("keyup",function(t){"Escape"===t.code&&(r.hide(),e.restoreSelection())}),r}return nC(e,t),e.prototype.genSelfElem=function(){var t=this,e=Rp('<span class="btn-close">'.concat('<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=EO.get(this);return e.on("click",function(){t.hide(),null==n||n.restoreSelection()}),e},e.prototype.setStyle=function(t){var e=this.width,n=this.$elem;n.attr("style",""),e&&n.css("width","".concat(e,"px")),n.css(t)},e}(bI);function CI(t,e,n){var r=Rp('<label class="babel-container"></label>');r.append("<span>".concat(t,"</span>"));var o=Rp('<input type="text" id="'.concat(e,'" placeholder="').concat(n||"",'">'));return r.append(o),[r[0],o[0]]}function DI(t,e){var n=Rp('<div class="button-container"></div>'),r=Rp('<button type="button" id="'.concat(t,'">').concat(e,"</button>"));return n.append(r),[n[0],r[0]]}var OI=function(t){function e(e,n,r){void 0===r&&(r=!1);var o=t.call(this,e,n,r)||this;return o.$body=Rp("body"),o.modal=null,o.menu=n,o}return nC(e,t),e.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},e.prototype.getPosition=function(){var t=PI(this),e=this.menu.getModalPositionNode(t);return yp.Element.isElement(e)?vk(t,e,"modal"):hk(t)},e.prototype.handleModal=function(){var t=PI(this),e=this.menu;if(null==this.modal){var n=new SI(t,e.modalWidth);this.renderAndShowModal(n,!0),this.modal=n}else(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1)},e.prototype.renderAndShowModal=function(t,e){void 0===e&&(e=!1);var n=PI(this),r=this.menu;if(null!=r.getModalContentElem){var o=eP.getTextarea(n),i=eP.getToolbar(n),u=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,a=r.getModalContentElem(n);if(t.renderContent(a),u)t.setStyle({left:"0",right:"0"});else{var s=this.getPosition();t.setStyle(s)}e&&(u?t.appendTo(this.$body):t.appendTo(o.$textAreaContainer)),t.show(),u||gk(n,t.$elem),setTimeout(function(){n.blur()})}},e}(yI),AI=function(t){function e(e,n){var r=t.call(this,e)||this;return r.type="selectList",r.$elem=Rp('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width","".concat(n,"px")),r.$elem.on("click",function(t){t.stopPropagation()}),r}return nC(e,t),e.prototype.renderList=function(t){var e=this.$elem;e.empty();var n=Rp("<ul></ul>");t.forEach(function(t){var e=t.value,r=t.text,o=t.selected,i=t.styleForRenderMenuList,u=Rp('<li data-value="'.concat(e,'"></li>'));if(i&&u.css(i),o){var a=Rp('<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>');u.append(a),u.addClass("selected")}u.append(Rp('<span data-value="'.concat(e,'">').concat(r,"</span>"))),u.attr("title",r),n.append(u)}),e.append(n)},e.prototype.genSelfElem=function(){return null},e}(bI),xI=function(){function t(t,e,n){void 0===n&&(n=!1);var r=this;this.$elem=Rp('<div class="w-e-bar-item"></div>'),this.$button=Rp('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=e.tag,i=e.title,u=e.width,a=e.iconSvg,s=void 0===a?"":a,c=e.hotkey,l=void 0===c?"":c;if("select"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'select'"));var f=this.$button;u&&f.css("width","".concat(u,"px")),f.attr("data-menu-key",t),gI(f,s,i,l,n),this.$elem.append(f),this.menu=e,rN(function(){return r.init()})}return t.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(e){e.preventDefault(),PI(t).hidePanelOrModal(),t.trigger()})},t.prototype.trigger=function(){var t=this,e=PI(this);if(!e.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new AI(e,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(e);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",function(e){var n=e.target;if(null!=n){e.preventDefault();var r=Rp(n).attr("data-value");t.onChange(r)}})}else(r=this.selectList).isShow?r.hide():(o=n.getOptions(e),r.renderList(o),r.show())}},t.prototype.onChange=function(t){var e=PI(this),n=this.menu;n.exec&&n.exec(e,t)},t.prototype.setSelectedValue=function(){var t=PI(this),e=this.menu,n=e.getValue(t),r=function(t,e){for(var n=t.length,r="",o=0;o<n;o++){var i=t[o];if(i.value===e){r=i.text;break}}return r}(e.getOptions(t),n.toString()),o=this.$button,i=hI();o.empty(),o.text(r),o.append(i)},t.prototype.setDisabled=function(){var t=PI(this),e=this.menu.isDisabled(t),n=this.$button;(null==t.selection||t.isDisabled())&&(e=!0);var r="disabled";e?n.addClass(r):n.removeClass(r),this.disabled=e},t.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},t}(),TI=function(){function t(t){this.$elem=Rp('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=Rp('<div class="w-e-bar-item-menus-container"></div>'),this.$button=Rp('<button type="button"></button>');var e=t.key,n=t.iconSvg,r=t.title,o=this.$elem,i=this.$button;if(n){var u=Rp(n);pI(u),i.append(u)}else i.text(r);i.attr("data-menu-key",e);var a=hI();i.append(a),o.append(i);var s=this.$container;o.append(s);var c=this.createObserver();this.observe(c)}return t.prototype.appendBarItem=function(t){var e=t.$elem;this.$container.append(e)},t.prototype.observe=function(t){var e=this.$container;t.observe(e[0],{childList:!0,subtree:!0,attributes:!0})},t.prototype.createObserver=function(){var t=this,e=this.$container,n=this.$button,r=new MutationObserver(function(){var o=e.find("button"),i=o.length;if(0!==i){var u=0;o.each(function(t){Rp(t).hasClass("disabled")&&u++}),r.disconnect(),u===i?n.addClass("disabled"):n.removeClass("disabled"),t.observe(r)}});return r},t}(),NI=new WeakMap;function PI(t){var e=mO.get(t);if(null==e)throw new Error("Can not get editor instance");return e}function kI(t,e,n){void 0===n&&(n=!1);var r=NI.get(e);if(r)return r;var o=e.tag;if("button"===o){var i=e.showDropPanel,u=e.showModal;r=i?new wI(t,e,n):u?new OI(t,e,n):new mI(t,e,n)}if("select"===o&&(r=new xI(t,e,n)),null==r)throw new Error("Invalid tag in menu ".concat(JSON.stringify(e)));return NI.set(e,r),r}function II(t,e){var n=t.selection;return null!=n&&!yp.Range.isCollapsed(n)&&!eP.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var n=e.type;return!!["pre","code","table"].includes(n)})&&!!yp.Text.isText(e)}var BI,FI=function(){function t(){var t=this;this.$elem=Rp('<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.lngListen=function(){},this.changeHoverbarState=Oh(function(){var e=t.isShow,n=t.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys,u=void 0===i?[]:i,a=t.getEditorInstance();if(null!=o&&t.changeItemsState(),o&&yp.Element.isElement(o)&&e){var s=t.isSamePath(o,t.prevSelectedNode);if(!yp.Editor.isBlock(a,o)&&s)return}t.hideAndClean(),null!=o&&(t.registerItems(u),t.setPosition(o),t.show()),t.prevSelectedNode=o},200),rN(function(){var e=t.getEditorInstance(),n=t.$elem;n.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),eP.getTextarea(e).$textAreaContainer.append(n),e.on(lC,t.changeHoverbarState);var r=t.hideAndClean.bind(t);e.on(fC,r),e.on("fullscreen",r),e.on("unFullScreen",r)}),this.lngListen=fI(function(){t.menus={},t.hideAndClean(),t.getEditorInstance().deselect()})}return t.prototype.getMenus=function(){return this.menus},t.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},t.prototype.checkPositionBottom=function(){var t=this.$elem,e=!1,n="undefined"!=typeof window?window.innerHeight:null;n&&n>=360&&n-t[0].getBoundingClientRect().bottom<360&&(e=!0),e?t.addClass("w-e-bar-bottom"):t.removeClass("w-e-bar-bottom")},t.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},t.prototype.changeItemsState=function(){var t=this;rN(function(){t.hoverbarItems.forEach(function(t){t.changeMenuState()})})},t.prototype.registerItems=function(t){var e=this,n=this.$elem;t.forEach(function(t){if("|"!==t)e.registerSingleItem(t);else{var r=vI();n.append(r)}})},t.prototype.registerSingleItem=function(t){var e=this.getEditorInstance(),n=this.menus,r=n[t];if(null==r){var o=dC[t];if(null==o)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof o)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));r=o(),n[t]=r}var i=e.getMenuConfig(t);i&&void 0!==i.iconSvg&&(r.iconSvg=i.iconSvg);var u=kI(t,r);this.hoverbarItems.push(u),mO.set(u,e),this.$elem.append(u.$elem)},t.prototype.setPosition=function(t){var e=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),yp.Element.isElement(t)){var r=vk(e,t,"bar");return n.css(r),void gk(e,n)}if(yp.Text.isText(t))return r=hk(e),n.css(r),void gk(e,n);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},t.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(null==t.selection)return null;var e=this.getHoverbarKeysConf(),n=null,r=[],o=function(o){var i=e[o],u=i.match,a=i.menuKeys,s=void 0===a?[]:a,c=u||function(t,e){return eP.checkNodeType(e,o)},l=uC(yp.Editor.nodes(t,{match:function(e){return c(t,e)},universal:!0}),1),f=l[0];if(null!=f)return n=f[0],r=s,"break"};for(var i in e)if("break"===o(i))break;return null==n||0===r.length?null:{node:n,menuKeys:r}},t.prototype.getEditorInstance=function(){var t=gO.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,e=void 0===t?{}:t,n=e.text;return n&&null==n.match&&(n.match=II),e},t.prototype.isSamePath=function(t,e){if(null==t||null==e)return!1;var n=eP.findPath(null,t),r=eP.findPath(null,e);return yp.Path.equals(n,r)},t.prototype.destroy=function(){var t;this.changeHoverbarState.cancel(),this.$elem.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},t}(),RI={};function _I(t,e){return sN(e)&&eP.hasDOMNode(t,e,{editable:!0})}function jI(t,e){if(t.getConfig().readOnly)return!1;var n=LI(t,e)&&eP.toSlateNode(t,e);return yp.Editor.isVoid(t,n)}function LI(t,e){return sN(e)&&eP.hasDOMNode(t,e)}!function(){if(BI)return RI;BI=1;var t,e=aS(),n=US(),r=EE().f,o=Cw(),i=fD(),u=sA(),a=Cb(),s=cA(),c=sE(),l=n("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=r(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var n=o(f(arguments.length>1?arguments[1]:void 0,e.length)),r=i(t);return l(e,n,n+r.length)===r}})}();const MI=t=>"object"==typeof t&&null!=t&&1===t.nodeType,zI=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,HI=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){const n=getComputedStyle(t,null);return zI(n.overflowY,e)||zI(n.overflowX,e)||(t=>{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return!1},$I=(t,e,n,r,o,i,u,a)=>i<t&&u>e||i>t&&u<e?0:i<=t&&a<=n||u>=e&&a>=n?i-t-r:u>e&&a<n||i<t&&a>n?u-e+o:0,UI=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e},VI=(t,e)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:u,block:a,inline:s,boundary:c,skipOverflowHiddenElements:l}=e,f="function"==typeof c?c:t=>t!==c;if(!MI(t))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,p=[];let h=t;for(;MI(h)&&f(h);){if(h=UI(h),h===d){p.push(h);break}null!=h&&h===document.body&&HI(h)&&!HI(document.documentElement)||null!=h&&HI(h,l)&&p.push(h)}const v=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:y,scrollY:m}=window,{height:b,width:E,top:w,right:S,bottom:C,left:D}=t.getBoundingClientRect(),{top:O,right:A,bottom:x,left:T}=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);let N="start"===a||"nearest"===a?w-O:"end"===a?C+x:w+b/2-O+x,P="center"===s?D+E/2-T+A:"end"===s?S+A:D-T;const k=[];for(let t=0;t<p.length;t++){const e=p[t],{height:n,width:r,top:o,right:i,bottom:c,left:l}=e.getBoundingClientRect();if("if-needed"===u&&w>=0&&D>=0&&C<=g&&S<=v&&(e===d&&!HI(e)||w>=o&&C<=c&&D>=l&&S<=i))return k;const f=getComputedStyle(e),h=parseInt(f.borderLeftWidth,10),O=parseInt(f.borderTopWidth,10),A=parseInt(f.borderRightWidth,10),x=parseInt(f.borderBottomWidth,10);let T=0,I=0;const B="offsetWidth"in e?e.offsetWidth-e.clientWidth-h-A:0,F="offsetHeight"in e?e.offsetHeight-e.clientHeight-O-x:0,R="offsetWidth"in e?0===e.offsetWidth?0:r/e.offsetWidth:0,_="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(d===e)T="start"===a?N:"end"===a?N-g:"nearest"===a?$I(m,m+g,g,O,x,m+N,m+N+b,b):N-g/2,I="start"===s?P:"center"===s?P-v/2:"end"===s?P-v:$I(y,y+v,v,h,A,y+P,y+P+E,E),T=Math.max(0,T+m),I=Math.max(0,I+y);else{T="start"===a?N-o-O:"end"===a?N-c+x+F:"nearest"===a?$I(o,c,n,O,x+F,N,N+b,b):N-(o+n/2)+F/2,I="start"===s?P-l-h:"center"===s?P-(l+r/2)+B/2:"end"===s?P-i+A+B:$I(l,i,r,h,A+B,P,P+E,E);const{scrollLeft:t,scrollTop:u}=e;T=0===_?0:Math.max(0,Math.min(u+T/_,e.scrollHeight-n/_+F)),I=0===R?0:Math.max(0,Math.min(t+I/R,e.scrollWidth-r/R+B)),N+=u-T,P+=t-I}k.push({el:e,top:T,left:I})}return k};function GI(t,e,n){void 0===n&&(n=!1);var r=e.selection,o=e.getConfig(),i=eP.findDocumentOrShadowRoot(e).getSelection();if(i&&(!t.isComposing||n)&&e.isFocused()){var u="None"!==i.type;if(r||u){var a=NO.get(e),s=!1;if(a.contains(i.anchorNode)&&a.contains(i.focusNode)&&(s=!0),u&&s&&r){var c=eP.toSlateRange(e,i,{exactMatch:!0,suppressThrow:!0});if(c&&yp.Range.equals(c,r)){var l=!0;if(yp.Range.isCollapsed(r)){var f=i.anchorNode,d=i.anchorOffset;if(f===a){var p=a.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(l=!1),(h=p[d-1])&&h.matches("table")&&(l=!1)}}if(l)return}}if(!r||eP.hasRange(e,r)){t.isUpdatingSelection=!0;var v=r&&eP.toDOMRange(e,r);if(v){yp.Range.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]")&&v.getBoundingClientRect){g.getBoundingClientRect=v.getBoundingClientRect.bind(v);var y=document.body;(function(t,e){if(!t.isConnected||!(t=>{let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1})(t))return;const n=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(e))return e.behavior(VI(t,e));const r="boolean"==typeof e||null==e?void 0:e.behavior;for(const{el:o,top:i,left:u}of VI(t,(t=>!1===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"})(e))){const t=i-n.top+n.bottom,e=u-n.left+n.right;o.scroll({top:t,left:e,behavior:r})}})(g,{scrollMode:"if-needed",boundary:o.scroll?a.parentElement:y,block:"end",behavior:"smooth"}),delete g.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){v&&YN&&a.focus(),t.isUpdatingSelection=!1})}else e.selection=eP.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})}}}var WI=new WeakMap,qI=new WeakMap,KI={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"},YI={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"},XI={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},JI=function(t){var e=KI[t],n=YI[t],r=XI[t],o=e&&Ph.isKeyHotkey(e),i=n&&Ph.isKeyHotkey(n),u=r&&Ph.isKeyHotkey(r);return function(t){return!(!o||!o(t))||!!(KN&&i&&i(t))||!(KN||!u||!u(t))}},ZI={isBold:JI("bold"),isCompose:JI("compose"),isMoveBackward:JI("moveBackward"),isMoveForward:JI("moveForward"),isDeleteBackward:JI("deleteBackward"),isDeleteForward:JI("deleteForward"),isDeleteLineBackward:JI("deleteLineBackward"),isDeleteLineForward:JI("deleteLineForward"),isDeleteWordBackward:JI("deleteWordBackward"),isDeleteWordForward:JI("deleteWordForward"),isExtendBackward:JI("extendBackward"),isExtendForward:JI("extendForward"),isExtendLineBackward:JI("extendLineBackward"),isExtendLineForward:JI("extendLineForward"),isItalic:JI("italic"),isMoveLineBackward:JI("moveLineBackward"),isMoveLineForward:JI("moveLineForward"),isMoveWordBackward:JI("moveWordBackward"),isMoveWordForward:JI("moveWordForward"),isRedo:JI("redo"),isSplitBlock:JI("splitBlock"),isTransposeCharacter:JI("transposeCharacter"),isUndo:JI("undo"),isTab:JI("tab"),isSelectAll:JI("selectAll")};function QI(t){t.preventDefault()}var tB,eB,nB,rB={beforeinput:function(t,e,n){var r=t,o=n.getConfig().readOnly;if(tP&&!o&&_I(n,r.target)){var i=n.selection,u=r.inputType,a=r.dataTransfer||r.data||void 0;if("insertCompositionText"!==u&&"deleteCompositionText"!==u){if(r.preventDefault(),!u.startsWith("delete")||u.startsWith("deleteBy")){var s=uC(r.getTargetRanges(),1)[0];if(s){var c=eP.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&yp.Range.equals(i,c)||yp.Transforms.select(n,c)}}if(i&&yp.Range.isExpanded(i)){var l=eP.getSelectedElems(n),f="table"===l[0].type,d="table-cell"!==l[l.length-1].type;if(f&&d)return;if(u.startsWith("delete")){var p=u.endsWith("Backward")?"backward":"forward";return void yp.Editor.deleteFragment(n,{direction:p})}}switch(u){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":yp.Editor.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":yp.Editor.deleteForward(n);break;case"deleteContentBackward":yp.Editor.deleteBackward(n);break;case"deleteEntireSoftLine":yp.Editor.deleteBackward(n,{unit:"line"}),yp.Editor.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":yp.Editor.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":yp.Editor.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":yp.Editor.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":yp.Editor.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":yp.Editor.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":yp.Editor.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":yp.Editor.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===u&&!LO.get(n))break;!function(t){return"[object DataTransfer]"===iN(t)}(a)?"string"==typeof a&&yp.Editor.insertText(n,a):n.insertData(a)}}}},blur:function(t,e,n){var r=t,o=e.isUpdatingSelection,i=e.latestElement;if(!n.getConfig().readOnly&&!o&&_I(n,r.target)){var u=eP.findDocumentOrShadowRoot(n);if(i!==u.activeElement){var a=r.relatedTarget;if(!(a===eP.toDOMNode(n,n)||lN(a)&&a.hasAttribute("data-slate-spacer"))){if(null!=a&&sN(a)&&eP.hasDOMNode(n,a)){var s=eP.toSlateNode(n,a);if(yp.Element.isElement(s)&&!n.isVoid(s))return}if(XN){var c=u.getSelection();null==c||c.removeAllRanges()}RO.delete(n)}}}},focus:function(t,e,n){var r=eP.toDOMNode(n,n),o=eP.findDocumentOrShadowRoot(n);e.latestElement=o.activeElement,YN&&t.target!==r?r.focus():RO.set(n,!0)},click:function(t,e,n){if(!n.getConfig().readOnly&&LI(n,t.target)&&sN(t.target)){var r=eP.toSlateNode(n,t.target),o=eP.findPath(n,r);if(yp.Editor.hasPath(n,o)&&yp.Node.get(n,o)===r){var i=yp.Editor.start(n,o),u=yp.Editor.end(n,o),a=yp.Editor.void(n,{at:i}),s=yp.Editor.void(n,{at:u});if(a&&s&&yp.Path.equals(a[1],s[1])){var c=yp.Editor.range(n,i);yp.Transforms.select(n,c)}}}},compositionstart:function(t,e,n){if(_I(n,t.target)){var r=n.selection;if(r&&yp.Range.isExpanded(r)&&(yp.Editor.deleteFragment(n),Promise.resolve().then(function(){GI(e,n,!0)})),n.selection){var o=eP.toDOMRange(n,n.selection).startContainer,i=o.textContent||"";WI.set(n,i),qI.set(n,o)}e.isComposing=!0,function(t,e){var n;e.getConfig().placeholder&&e.isEmpty()&&t.showPlaceholder&&(null===(n=t.$placeholder)||void 0===n||n.hide(),t.showPlaceholder=!1)}(e,n)}},compositionend:function(t,e,n){var r=t;if(_I(n,r.target)){e.isComposing=!1;var o=n.selection;if(null!=o){(QN||YN)&&eP.cleanExposedTexNodeInSelectionBlock(n);for(var i=yp.Range.isBackward(o)?o.focus:o.anchor,u=uC(yp.Editor.node(n,[i.path[0]]),1)[0],a=0;a<i.path.length;a+=1){var s=uC(yp.Editor.node(n,i.path.slice(0,a+1)),1)[0];if(yp.Element.isElement(s)&&((XN||YN)&&"link"===s.type||"code"===s.type)){eP.setNewKey(u);break}}var c=r.data;if(c){if(n.getConfig().maxLength){var l=eP.getLeftLengthOfMaxLength(n);if(l<c.length){var f=eP.toDOMRange(n,o);f.startContainer.nodeType===Node.TEXT_NODE&&(f.startContainer.textContent=WI.get(n)||""),l>0&&yp.Editor.insertText(n,c.slice(0,l)),e.changeViewState()}else yp.Editor.insertText(n,c)}else{var d=eP.findDocumentOrShadowRoot(n).getSelection();d&&function(t,e){if(yp.Range.isCollapsed(e)){var n=e.anchor,r=e.focus;if([2,3].includes(n.path.length)&&[2,3].includes(r.path.length)&&(0===n.offset||0===r.offset)){var o=yp.Editor.node(t,n.path),i=0===n.offset?n.path:r.path,u=[i[0],i[1]-1];if(0===i[1])return!1;var a=yp.Editor.node(t,u);if(yp.Text.isText(a[0])&&yp.Text.isText(o[0]))return!0}}}(n,o)&&(n.selection=eP.toSlateRange(n,d,{exactMatch:!1,suppressThrow:!1})),yp.Editor.insertText(n,c)}XN||setTimeout(function(){var t=n.selection;if(null!=t){var e=qI.get(n);null!=e&&eP.toDOMRange(n,t).startContainer!==e&&(e.textContent=WI.get(n)||"")}})}}}},compositionupdate:function(t,e,n){_I(n,t.target)&&(e.isComposing=!0)},keydown:function(t,e,n){var r=t,o=n.selection;if(!n.getConfig().readOnly&&!e.isComposing&&_I(n,r.target)){if(function(t,e){var n=vO.get(t),r=n&&n.getMenus(),o=yO.get(t),i=o&&o.getMenus(),u=rC(rC({},r),i);for(var a in u){var s=u[a],c=s.hotkey;if(c&&Ph.isHotkey(c,e)&&!s.isDisabled(t)){var l=s.getValue(t);s.exec(t,l)}}}(n,r),ZI.isTab(r))return QI(r),void n.handleTab();if(ZI.isRedo(r))return QI(r),void("function"==typeof n.redo&&n.redo());if(ZI.isUndo(r))return QI(r),void("function"==typeof n.undo&&n.undo());if(ZI.isMoveLineBackward(r))return QI(r),void yp.Transforms.move(n,{unit:"line",reverse:!0});if(ZI.isMoveLineForward(r))return QI(r),void yp.Transforms.move(n,{unit:"line"});if(ZI.isExtendLineBackward(r))return QI(r),void yp.Transforms.move(n,{unit:"line",edge:"focus",reverse:!0});if(ZI.isExtendLineForward(r))return QI(r),void yp.Transforms.move(n,{unit:"line",edge:"focus"});if(ZI.isMoveBackward(r))return QI(r),void(o&&yp.Range.isCollapsed(o)?yp.Transforms.move(n,{reverse:!0}):yp.Transforms.collapse(n,{edge:"start"}));if(ZI.isMoveForward(r))return QI(r),void(o&&yp.Range.isCollapsed(o)?yp.Transforms.move(n):yp.Transforms.collapse(n,{edge:"end"}));if(ZI.isMoveWordBackward(r))return QI(r),o&&yp.Range.isExpanded(o)&&yp.Transforms.collapse(n,{edge:"focus"}),void yp.Transforms.move(n,{unit:"word",reverse:!0});if(ZI.isMoveWordForward(r))return QI(r),o&&yp.Range.isExpanded(o)&&yp.Transforms.collapse(n,{edge:"focus"}),void yp.Transforms.move(n,{unit:"word"});if(ZI.isSelectAll(r))return QI(r),void n.selectAll();if(tP){if((QN||XN)&&o&&(ZI.isDeleteBackward(r)||ZI.isDeleteForward(r))&&yp.Range.isCollapsed(o)){var i=yp.Node.parent(n,o.anchor.path);if(yp.Element.isElement(i)&&yp.Editor.isVoid(n,i)&&yp.Editor.isInline(n,i))return r.preventDefault(),void yp.Transforms.delete(n,{unit:"block"})}}else{if(ZI.isBold(r)||ZI.isItalic(r)||ZI.isTransposeCharacter(r))return void QI(r);if(ZI.isSplitBlock(r))return QI(r),void yp.Editor.insertBreak(n);if(ZI.isDeleteBackward(r))return QI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"backward"}):yp.Editor.deleteBackward(n));if(ZI.isDeleteForward(r))return QI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"forward"}):yp.Editor.deleteForward(n));if(ZI.isDeleteLineBackward(r))return QI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"backward"}):yp.Editor.deleteBackward(n,{unit:"line"}));if(ZI.isDeleteLineForward(r))return QI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"forward"}):yp.Editor.deleteForward(n,{unit:"line"}));if(ZI.isDeleteWordBackward(r))return QI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"backward"}):yp.Editor.deleteBackward(n,{unit:"word"}));if(ZI.isDeleteWordForward(r))return QI(r),void(o&&yp.Range.isExpanded(o)?yp.Editor.deleteFragment(n,{direction:"forward"}):yp.Editor.deleteForward(n,{unit:"word"}))}}},keypress:function(t,e,n){if(!tP&&!n.getConfig().readOnly&&_I(n,t.target)){t.preventDefault();var r=t.key;yp.Editor.insertText(n,r)}},copy:function(t,e,n){var r=t;if(_I(n,r.target)){n.getConfig().readOnly||r.preventDefault();var o=r.clipboardData;if(null!=o){n.setFragmentData(o);var i=n.getConfig().customCopy;i&&i(n,r)}}},cut:function(t,e,n){var r=t,o=n.selection;if(!n.getConfig().readOnly&&(r.preventDefault(),_I(n,r.target))){var i=r.clipboardData;if(null!=i&&(n.setFragmentData(i),o))if(yp.Range.isExpanded(o))yp.Editor.deleteFragment(n);else{var u=yp.Node.parent(n,o.anchor.path);yp.Editor.isVoid(n,u)&&yp.Transforms.delete(n)}}},paste:function(t,e,n){LO.set(n,!0);var r=t;if(!n.getConfig().readOnly&&_I(n,r.target)){var o=n.getConfig().customPaste;if(o&&!1===o(n,r))return void LO.set(n,!1);if(XN||!tP||function(t){return t.clipboardData&&""!==t.clipboardData.getData("text/plain")&&1===t.clipboardData.types.length}(r)){r.preventDefault();var i=r.clipboardData;null!=i&&n.insertData(i)}}},dragover:function(t,e,n){if(LI(n,t.target)){var r=eP.toSlateNode(n,t.target);yp.Editor.isVoid(n,r)&&t.preventDefault()}},dragstart:function(t,e,n){var r=t;if(LI(n,r.target)&&!n.getConfig().readOnly){var o=eP.toSlateNode(n,r.target),i=eP.findPath(n,o);if(yp.Editor.isVoid(n,o)||yp.Editor.void(n,{at:i,voids:!0})){var u=yp.Editor.range(n,i);yp.Transforms.select(n,u)}var a=r.dataTransfer;null!=a&&(eP.getSelectedNodeByType(n,"table")||(e.isDraggingInternally=!0,n.setFragmentData(a)))}},dragend:function(t,e,n){var r=t;n.getConfig().readOnly||e.isDraggingInternally&&LI(n,r.target)&&(e.isDraggingInternally=!1)},drop:function(t,e,n){var r=t,o=r.dataTransfer;if(!n.getConfig().readOnly&&LI(n,r.target)&&null!=o&&!(tP&&XN&&o.files.length>0)){r.preventDefault();var i=n.selection,u=eP.findEventRange(n,r);yp.Transforms.select(n,u),e.isDraggingInternally&&(i&&yp.Transforms.delete(n,{at:i}),e.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},oB={};!function(){if(nB)return oB;nB=1;var t=aS(),e=function(){if(eB)return tB;eB=1;var t=Am(),e=bb(),n=Tm(),r=Om(),o=ES(),i=oS(),u=yb(),a=dE(),s=wb(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return tB=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,tB}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var iB=[];var uB={};function aB(t,e,n){return dv(n.isInline(t)?"span":"div",null,e)}function sB(t,e){return void 0===e&&(e=!1),dv("span",{"data-slate-string":!0},e?t+"\n":t)}function cB(t,e){return void 0===t&&(t=0),void 0===e&&(e=!1),dv("span",{"data-slate-zero-width":e?"n":"z","data-slate-length":t},"\ufeff",e?dv("br",null):null)}function lB(t,e,n,r){return xO.set(t,e),TO.set(t,n),yp.Element.isElement(t)?function(t,e){var n,r=eP.findKey(e,t),o=e.isInline(t),i=yp.Editor.isVoid(e,t),u=_N(t.type,r.id),a={id:u,key:r.id,"data-slate-node":"element","data-slate-inline":o},s=t.type,c=t.children,l=void 0===c?[]:c,f=function(t){return uB[t]||aB}(s);n=i?null:l.map(function(n,r){return lB(n,r,t,e)});var d=f(t,n,e);if(i){a["data-slate-void"]=!0;var p=o?"span":"div",h=uC(yp.Node.texts(t),1),v=uC(h[0],1)[0],g=dv(p,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},lB(v,0,t,e));d=dv(p,{style:{position:"relative"}},d,g),xO.set(v,0),TO.set(v,t)}return null==d.data&&(d.data={}),Object.assign(d.data,a),i||o||(d=function(t,e){var n=e;return iB.forEach(function(r){n=r(t,e)}),n}(t,d)),rN(function(){var e=pN(u);null!=e&&(kO.set(r,e),IO.set(t,e),PO.set(e,t))}),d}(t,r):function(t,e,n){if(null==t.text)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var r=eP.findKey(n,t),o=n.getConfig().decorate;if(null==o)throw new Error("Can not get config.decorate");var i,u=eP.findPath(n,t),a=o([t,u]),s=yp.Text.decorations(t,a),c=s.map(function(r,o){var i=function(t,e,n,r,o){void 0===e&&(e=!1);var i=t.text,u=eP.findPath(o,n),a=yp.Path.parent(u);if(yp.Editor.isEditor(r))throw new Error("Text node ".concat(JSON.stringify(n)," parent is Editor"));return o.isVoid(r)?cB(yp.Node.string(r).length):""!==i||r.children[r.children.length-1]!==n||o.isInline(r)||""!==yp.Editor.string(o,a)?""===i?cB():e&&"\n"===i.slice(-1)?sB(i,!0):sB(i):cB(0,!0)}(r,o===s.length-1,t,e,n);return i=function(t,e){var n=e;return iB.forEach(function(e){n=e(t,n)}),n}(r,i),dv("span",{"data-slate-leaf":!0},i)}),l=(i=r.id,"w-e-text-".concat(i)),f=dv("span",{"data-slate-node":"text",id:l,key:r.id},c);return rN(function(){var e=pN(l);null!=e&&(kO.set(r,e),IO.set(t,e),PO.set(e,t))}),f}(t,n,r)}var fB=["props","attrs","style","dataset","on","hook"];function dB(t){var e=t.data,n=void 0===e?{}:e,r=t.children,o=void 0===r?[]:r;Object.keys(n).forEach(function(e){var r,o,i=n[e];if("key"!==e){if(!fB.includes(e)){if(e.startsWith("data-")){var u=e.slice(5);return u=wv(u),function(t,e){null==t.data&&(t.data={});var n=t.data;null==n.dataset&&(n.dataset={}),Object.assign(n.dataset,e)}(t,((r={})[u]=i,r)),void delete n[e]}!function(t,e){null==t.data&&(t.data={});var n=t.data;null==n.props&&(n.props={}),Object.assign(n.props,e)}(t,(o={},o[e]=i,o)),delete n[e]}}else t.key=i}),o.length>0&&o.forEach(function(t){"string"!=typeof t&&dB(t)})}function pB(t,e){var n,r,o=t.$scroll,i=(n=t.id,"w-e-textarea-".concat(n)),u=e.getConfig(),a=u.readOnly,s=u.autoFocus,c=function(t,e){return void 0===e&&(e=!1),Wh("div#".concat(t),{props:{contentEditable:!e}})}(i,a),l=e.children||[];c.children=l.map(function(t,n){if(OO.has(t)){var r=OO.get(t);if(r){var o=uC(r,2),i=o[0],u=o[1];if(u)return i!==n&&(xO.set(t,n),OO.set(t,[n,u])),u}}var a=lB(t,n,e,e);dB(a);var s=e.getConfig().skipCacheTypes,c=void 0===s?["list-item"]:s;return yp.Element.isElement(t)&&c.includes(t.type)||OO.set(t,[n,a]),a});var f=SO.get(t);if(null==f&&(f=!0),f){var d=function(t){return Rp('<div\n id="'.concat(t,'"\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>'))}(i);o.append(d),t.$textArea=d,r=d[0],(h=Vh([Xh,iv,lv,Qh,rv,Kh]))(r,c),SO.set(t,!1),CO.set(t,h)}else{var p=DO.get(t),h=CO.get(t);if(null==p||null==h)return;r=p.elm,h(p,c)}if(null!=r||null!=(r=pN(i))){if((f?s:e.isFocused())&&r.focus({preventScroll:!0}),f){var v=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||null}(r);v&&FO.set(e,v)}NO.set(e,r),IO.set(e,r),PO.set(r,e),DO.set(t,c)}}var hB=1,vB=function(){function t(t){var e=this;this.id=hB++,this.$textArea=null,this.$progressBar=Rp('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=Rp('<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=Th(function(){var t=e.editorInstance;!function(t,e){var n=t.isComposing,r=t.isUpdatingSelection,o=t.isDraggingInternally;if(!(e.getConfig().readOnly||n||r||o)){var i=eP.findDocumentOrShadowRoot(e),u=i.activeElement,a=eP.toDOMNode(e,e),s=i.getSelection();if(u!==a)return RO.delete(e),void yp.Transforms.deselect(e);if(t.latestElement=u,RO.set(e,!0),!s)return yp.Transforms.deselect(e);var c=s.anchorNode,l=s.focusNode,f=_I(e,c)||jI(e,c),d=_I(e,l)||jI(e,l);if(f&&d){var p=eP.toSlateRange(e,s,{exactMatch:!1,suppressThrow:!1});yp.Transforms.select(e,p)}}}(e,t)},100);var n=Rp(t);if(0===n.length)throw new Error("Cannot find textarea DOM by selector '".concat(t,"'"));this.$box=n;var r=Rp('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=Rp('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,rN(function(){var t=e.editorInstance,o=eP.getWindow(t);o.document.addEventListener("selectionchange",e.onDOMSelectionChange),t.on(cC,function(){o.document.removeEventListener("selectionchange",e.onDOMSelectionChange)}),r.on("click",function(){return t.hidePanelOrModal()}),t.on(lC,e.changeViewState.bind(e));var i=t.getConfig(),u=i.onChange,a=i.scroll;u&&t.on(lC,function(){return u(t)}),a||(n.css("position","relative"),r.addClass("no-scroll")),e.onFocusAndOnBlur(),t.on(lC,e.changeMaxLengthInfo.bind(e)),e.bindEvent()})}return Object.defineProperty(t.prototype,"editorInstance",{get:function(){var t=pO.get(this);if(null==t)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),t.prototype.bindEvent=function(){var t=this,e=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=e&&(Dp(rB,function(n,o){e.on(o,function(e){n(e,t,r)})}),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",Th(function(){r.emit("scroll")},100))))},t.prototype.onFocusAndOnBlur=function(){var t=this,e=this.editorInstance,n=e.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=e.selection,e.on(lC,function(){null==t.latestEditorSelection&&null!=e.selection?setTimeout(function(){return o&&o(e)}):null!=t.latestEditorSelection&&null==e.selection&&setTimeout(function(){return r&&r(e)}),t.latestEditorSelection=e.selection})},t.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,e=t.getConfig().maxLength;if(e){var n=e-eP.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML="".concat(n,"/").concat(e)}},t.prototype.changeProgress=function(t){var e=this.$progressBar;e.css("width","".concat(t,"%")),t>=100&&setTimeout(function(){e.hide(),e.css("width","0"),e.show()},1e3)},t.prototype.changeViewState=function(){var t=this,e=this.editorInstance;pB(this,e),function(t,e){var n,r=e.getConfig().placeholder;if(r){var o=e.isEmpty();if(o&&!t.showPlaceholder&&!t.isComposing){if(null==t.$placeholder){var i=Rp('<div class="w-e-text-placeholder">'.concat(r,"</div>"));t.$textAreaContainer.append(i),t.$placeholder=i}return t.$placeholder.show(),void(t.showPlaceholder=!0)}!o&&t.showPlaceholder&&(null===(n=t.$placeholder)||void 0===n||n.hide(),t.showPlaceholder=!1)}}(this,e),rN(function(){GI(t,e)})},t.prototype.destroy=function(){this.$textAreaContainer.remove()},t}();function gB(t,e,n,r){if(xO.set(t,e),TO.set(t,n),yp.Element.isElement(t)){var o=t.children;if((void 0===o?[]:o).forEach(function(e,n){return gB(e,n,t,r)}),yp.Editor.isVoid(r,t)){var i=uC(yp.Node.texts(t),1),u=uC(i[0],1)[0];xO.set(u,0),TO.set(u,t)}}}var yB="Textarea height < 300px. This may cause modal and hoverbar position error",mB="编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常";function bB(t){var e=t.selector,n=void 0===e?"":e,r=t.config,o=void 0===r?{}:r,i=t.content,u=t.html,a=t.plugins,s=void 0===a?[]:a,c=function(t){return[lk,YP,MO,qP,mk,ck,dk,ZS].reduce(function(t,e){return e(t)},t)}(yp.createEditor());if(n&&function(t,e){return FN(t,"data-w-e-textarea",e)}(c,n))throw new Error("Repeated create editor by selector '".concat(n,"'"));var l=function(t){void 0===t&&(t={});var e=Sp(sC),n={},r=t.MENU_CONF,o=void 0===r?{}:r;return Dp(e,function(t,e){n[e]=rC(rC({},t),o[e]||{})}),delete t.MENU_CONF,rC({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(t,e){window.alert("".concat(e,":\n").concat(t))}},t)}(o);wO.set(c,l);var f=l.hoverbarKeys,d=void 0===f?{}:f;if(s.forEach(function(t){c=t(c)}),function(t,e){var n=e.html,r=e.content;null!=n?t.children=RN(t,n):r&&r.length&&(t.children=r),0===t.children.length&&(t.children=[{type:"paragraph",children:[{text:""}]}])}(c,{html:u,content:i}),n){var p=new vB(n);dO.set(c,p),pO.set(p,c),p.changeViewState(),rN(function(){var t=p.$scroll;null!=t&&t.height()<300&&console.warn("".concat(mB,"\n").concat(yB),{element:t,height:t.height()})});var h=void 0;Object.keys(d).length>0&&(h=new FI,gO.set(h,c),yO.set(c,h)),c.on(lC,function(){c.hidePanelOrModal()}),c.on(fC,function(){c.hidePanelOrModal()})}else c.children.forEach(function(t,e){return gB(t,e,c,c)});var v=l.onCreated,g=l.onDestroyed;return v&&c.on("created",function(){return v(c)}),g&&c.on(cC,function(){return g(c)}),rN(function(){return c.emit("created")}),c}var EB,wB,SB,CB,DB,OB={};!function(){if(DB)return OB;DB=1;var t=aS(),e=dE(),n=Sw(),r=ww(),o=Dw(),i=function(){if(wB)return EB;wB=1;var t=Am(),e=sS(),n=TypeError,r=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return EB=o?function(t,o){if(e(t)&&!r(t,"length").writable)throw new n("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=cS(),a=hS(),s=lS(),c=function(){if(CB)return SB;CB=1;var t=Fb(),e=TypeError;return SB=function(n,r){if(!delete n[r])throw new e("Cannot delete property "+t(r)+" of "+t(n))}}(),l=vS()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=n(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(r(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var AB=function(){function t(t,e){var n=this;this.$toolbar=Rp('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.lngListen=function(){},this.changeToolbarState=Oh(function(){n.toolbarItems.forEach(function(t){t.changeMenuState()})},200),this.config=e;var r=Rp(t);if(0===r.length)throw new Error("Cannot find toolbar DOM by selector '".concat(t,"'"));this.$box=r;var o=this.$toolbar;o.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),r.append(o),rN(function(){n.initToolbar(),n.lngListen=fI(function(){return n.initToolbar()}),n.getEditorInstance().on(lC,n.changeToolbarState)})}return t.prototype.getMenus=function(){return this.menus},t.prototype.getConfig=function(){return this.config},t.prototype.initToolbar=function(){this.menus={};var t=this.$toolbar;null==t||t.empty(),this.registerItems(),this.changeToolbarState()},t.prototype.registerItems=function(){var t=this,e="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=void 0===o?[]:o,u=r.insertKeys,a=void 0===u?{index:0,keys:[]}:u,s=r.excludeKeys,c=void 0===s?[]:s,l=Sp(i);a.keys.length>0&&("string"==typeof a.keys&&(a.keys=[a.keys]),a.keys.forEach(function(t,e){l.splice(a.index+e,0,t)}));var f=l.filter(function(t){var e="string"==typeof t?t:t.key;return!c.includes(e)}),d=f.length;f.forEach(function(r,o){if("|"===r){if(0===o)return;if(o+1===d)return;if("|"===e)return;var i=vI();return n.append(i),void(e=r)}if("string"==typeof r)return t.registerSingleItem(r,t),void(e=r);t.registerGroup(r),e="group"})},t.prototype.registerGroup=function(t){var e=this,n=this.$toolbar,r=function(t){return new TI(t)}(t),o=t.menuKeys,i=void 0===o?[]:o,u=this.config.excludeKeys,a=void 0===u?[]:u;i.forEach(function(t){a.includes(t)||e.registerSingleItem(t,r)}),n.append(r.$elem)},t.prototype.registerSingleItem=function(t,e){var n=this.getEditorInstance(),r=e instanceof TI,o=this.menus,i=o[t];if(null==i){var u=dC[t];if(null==u)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof u)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));i=u(),o[t]=i}else console.warn("Duplicated toolbar menu key '".concat(t,"'\n重复注册了菜单栏 menu '").concat(t,"'"));var a=n.getMenuConfig(t);a&&void 0!==a.iconSvg&&(i.iconSvg=a.iconSvg);var s=kI(t,i,r);this.toolbarItems.push(s),mO.set(s,n),r?e.appendBarItem(s):e.$toolbar.append(s.$elem)},t.prototype.getEditorInstance=function(){var t=hO.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.destroy=function(){var t;this.$toolbar.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.toolbarItems=[]},t}();var xB,TB={};function NB(t){var e=t.server,n=void 0===e?"":e,r=t.fieldName,o=void 0===r?"":r,i=t.maxFileSize,u=void 0===i?10485760:i,a=t.maxNumberOfFiles,s=void 0===a?100:a,c=t.meta,l=void 0===c?{}:c,f=t.metaWithUrl,d=void 0!==f&&f,p=t.headers,h=void 0===p?{}:p,v=t.withCredentials,g=void 0!==v&&v,y=t.timeout,m=void 0===y?1e4:y,b=t.onBeforeUpload,E=void 0===b?function(t){return t}:b,w=t.onSuccess,S=void 0===w?function(t,e){}:w,C=t.onError,D=void 0===C?function(t,e,n){console.error("".concat(t.name," upload error"),e,n)}:C,O=t.onProgress,A=void 0===O?function(t){}:O;if(!n)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var x=n;d&&(x=function(t,e){var n=uC(t.split("#"),2),r=n[0],o=n[1],i=[];Dp(e,function(t,e){i.push("".concat(e,"=").concat(t))});var u=i.join("&");return r=r.indexOf("?")>0?"".concat(r,"&").concat(u):"".concat(r,"?").concat(u),o?"".concat(r,"#").concat(o):r}(x,l));var T=new Ty(rC({onBeforeUpload:E,restrictions:{maxFileSize:u,maxNumberOfFiles:s},meta:l},t.uppyConfig)).use(lm,rC({endpoint:x,headers:h,formData:!0,fieldName:o,bundle:!0,withCredentials:g,timeout:m},t.xhrConfig));return T.on("complete",function(t){var e=t.successful[0],n=e.response,r=(null!=n?n:{}).body,o=void 0===r?{}:r;try{S(e,o)}catch(t){console.error("wangEditor upload file - onSuccess error",t)}}),T.on("progress",function(t){t<1||A(t)}),T.on("upload-error",function(t,e,n){try{D(t,e,n)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T.on("restriction-failed",function(t,e){try{D(t,e)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T}!function(){if(xB)return TB;xB=1;var t=Am(),e=YE().EXISTS,n=bb(),r=RA(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();lI("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),lI("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var PB,kB,IB,BB,FB,RB,_B,jB,LB,MB,zB,HB,$B,UB,VB,GB={};function WB(){if(kB)return PB;kB=1;var t=O();return PB=Array.isArray||function(e){return"Array"===t(e)}}function qB(){if(BB)return IB;BB=1;var t=D(),e=S(),n=mt(),r=kr(),o=$e(),i=An(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,IB=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function KB(){if(RB)return FB;RB=1;var t=WB(),e=qB(),n=bt(),r=yt()("species"),o=Array;return FB=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u},FB}function YB(){if(jB)return _B;jB=1;var t=KB();return _B=function(e,n){return new(t(e))(0===n?0:n)}}function XB(){if(HB)return zB;HB=1;var t=S();return zB=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}function JB(){if(UB)return $B;UB=1;var t=function(){if(MB)return LB;MB=1;var t=qo(),e=D(),n=A(),r=ft(),o=Qe(),i=YB(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return LB={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=XB()("forEach");return $B=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},$B}!function(){if(VB)return GB;VB=1;var t=P(),e=fi(),n=di(),r=JB(),o=ln(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}(),lI("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",cancelTitle:"Cancel 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"},formatPainter:{title:"Format Painter"}}),lI("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:"全屏",cancelTitle:"取消全屏"},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:"待办"},formatPainter:{title:"格式刷"}});var ZB="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function QB(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var tF,eF,nF={};function rF(){if(eF)return tF;eF=1;var t=function(t){return t&&t.Math===Math&&t};return tF=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof ZB&&ZB)||t("object"==typeof tF&&tF)||function(){return this}()||Function("return this")()}var oF,iF,uF,aF,sF,cF,lF,fF,dF={};function pF(){return iF?oF:(iF=1,oF=function(t){try{return!!t()}catch(t){return!0}})}function hF(){if(aF)return uF;aF=1;var t=pF();return uF=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function vF(){if(cF)return sF;cF=1;var t=pF();return sF=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function gF(){if(fF)return lF;fF=1;var t=vF(),e=Function.prototype.call;return lF=t?e.bind(e):function(){return e.apply(e,arguments)},lF}var yF,mF,bF,EF,wF,SF,CF,DF,OF,AF,xF,TF,NF,PF,kF,IF,BF,FF,RF,_F,jF,LF,MF,zF,HF,$F,UF,VF,GF,WF,qF,KF,YF,XF,JF,ZF,QF,tR,eR,nR,rR,oR={};function iR(){if(yF)return oR;yF=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return oR.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,oR}function uR(){return bF?mF:(bF=1,mF=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function aR(){if(wF)return EF;wF=1;var t=vF(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return EF=t?r:function(t){return function(){return n.apply(t,arguments)}},EF}function sR(){if(CF)return SF;CF=1;var t=aR(),e=t({}.toString),n=t("".slice);return SF=function(t){return n(e(t),8,-1)}}function cR(){if(OF)return DF;OF=1;var t=aR(),e=pF(),n=sR(),r=Object,o=t("".split);return DF=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function lR(){return xF?AF:(xF=1,AF=function(t){return null==t})}function fR(){if(NF)return TF;NF=1;var t=lR(),e=TypeError;return TF=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function dR(){if(kF)return PF;kF=1;var t=cR(),e=fR();return PF=function(n){return t(e(n))}}function pR(){if(BF)return IF;BF=1;var t="object"==typeof document&&document.all;return IF=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function hR(){if(RF)return FF;RF=1;var t=pR();return FF=function(e){return"object"==typeof e?null!==e:t(e)}}function vR(){if(jF)return _F;jF=1;var t=rF(),e=pR();return _F=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},_F}function gR(){if(MF)return LF;MF=1;var t=aR();return LF=t({}.isPrototypeOf)}function yR(){if(HF)return zF;HF=1;var t=rF().navigator,e=t&&t.userAgent;return zF=e?String(e):""}function mR(){if(UF)return $F;UF=1;var t,e,n=rF(),r=yR(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),$F=e}function bR(){if(GF)return VF;GF=1;var t=mR(),e=pF(),n=rF().String;return VF=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function ER(){if(qF)return WF;qF=1;var t=bR();return WF=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function wR(){if(YF)return KF;YF=1;var t=vR(),e=pR(),n=gR(),r=ER(),o=Object;return KF=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function SR(){if(JF)return XF;JF=1;var t=String;return XF=function(e){try{return t(e)}catch(t){return"Object"}}}function CR(){if(QF)return ZF;QF=1;var t=pR(),e=SR(),n=TypeError;return ZF=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function DR(){if(eR)return tR;eR=1;var t=CR(),e=lR();return tR=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var OR,AR,xR,TR,NR,PR,kR,IR,BR,FR,RR,_R,jR,LR,MR,zR,HR,$R,UR,VR,GR,WR,qR,KR,YR={exports:{}};function XR(){return AR?OR:(AR=1,OR=!1)}function JR(){if(TR)return xR;TR=1;var t=rF(),e=Object.defineProperty;return xR=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function ZR(){if(NR)return YR.exports;NR=1;var t=XR(),e=rF(),n=JR(),r="__core-js_shared__",o=YR.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),YR.exports}function QR(){if(kR)return PR;kR=1;var t=ZR();return PR=function(e,n){return t[e]||(t[e]=n||{})}}function t_(){if(BR)return IR;BR=1;var t=fR(),e=Object;return IR=function(n){return e(t(n))}}function e_(){if(RR)return FR;RR=1;var t=aR(),e=t_(),n=t({}.hasOwnProperty);return FR=Object.hasOwn||function(t,r){return n(e(t),r)}}function n_(){if(jR)return _R;jR=1;var t=aR(),e=0,n=Math.random(),r=t(1.1.toString);return _R=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function r_(){if(MR)return LR;MR=1;var t=rF(),e=QR(),n=e_(),r=n_(),o=bR(),i=ER(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return LR=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function o_(){if(UR)return $R;UR=1;var t=function(){if(HR)return zR;HR=1;var t=gF(),e=hR(),n=wR(),r=DR(),o=function(){if(rR)return nR;rR=1;var t=gF(),e=pR(),n=hR(),r=TypeError;return nR=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},nR}(),i=r_(),u=TypeError,a=i("toPrimitive");return zR=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}(),e=wR();return $R=function(n){var r=t(n,"string");return e(r)?r:r+""}}function i_(){if(GR)return VR;GR=1;var t=rF(),e=hR(),n=t.document,r=e(n)&&e(n.createElement);return VR=function(t){return r?n.createElement(t):{}}}function u_(){if(qR)return WR;qR=1;var t=hF(),e=pF(),n=i_();return WR=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function a_(){if(KR)return dF;KR=1;var t=hF(),e=gF(),n=iR(),r=uR(),o=dR(),i=o_(),u=e_(),a=u_(),s=Object.getOwnPropertyDescriptor;return dF.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},dF}var s_,c_,l_,f_,d_,p_,h_,v_={};function g_(){if(c_)return s_;c_=1;var t=hF(),e=pF();return s_=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function y_(){if(f_)return l_;f_=1;var t=hR(),e=String,n=TypeError;return l_=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function m_(){if(d_)return v_;d_=1;var t=hF(),e=u_(),n=g_(),r=y_(),o=o_(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return v_.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},v_}function b_(){if(h_)return p_;h_=1;var t=hF(),e=m_(),n=uR();return p_=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var E_,w_,S_,C_,D_,O_,A_,x_,T_,N_,P_,k_,I_,B_,F_,R_={exports:{}};function __(){if(w_)return E_;w_=1;var t=hF(),e=e_(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return E_={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function j_(){if(C_)return S_;C_=1;var t=aR(),e=pR(),n=ZR(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),S_=n.inspectSource}function L_(){if(x_)return A_;x_=1;var t=QR(),e=n_(),n=t("keys");return A_=function(t){return n[t]||(n[t]=e(t))}}function M_(){return N_?T_:(N_=1,T_={})}function z_(){if(k_)return P_;k_=1;var t,e,n,r=function(){if(O_)return D_;O_=1;var t=rF(),e=pR(),n=t.WeakMap;return D_=e(n)&&/native code/.test(String(n))}(),o=rF(),i=hR(),u=b_(),a=e_(),s=ZR(),c=L_(),l=M_(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return P_={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function H_(){if(I_)return R_.exports;I_=1;var t=aR(),e=pF(),n=pR(),r=e_(),o=hF(),i=__().CONFIGURABLE,u=j_(),a=z_(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=R_.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),R_.exports}function $_(){if(F_)return B_;F_=1;var t=pR(),e=m_(),n=H_(),r=JR();return B_=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var U_,V_,G_,W_,q_,K_,Y_,X_,J_,Z_,Q_,tj,ej,nj,rj,oj,ij,uj={};function aj(){if(W_)return G_;W_=1;var t=function(){if(V_)return U_;V_=1;var t=Math.ceil,e=Math.floor;return U_=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return G_=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function sj(){if(K_)return q_;K_=1;var t=aj(),e=Math.max,n=Math.min;return q_=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)},q_}function cj(){if(X_)return Y_;X_=1;var t=aj(),e=Math.min;return Y_=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function lj(){if(Z_)return J_;Z_=1;var t=cj();return J_=function(e){return t(e.length)}}function fj(){if(tj)return Q_;tj=1;var t=dR(),e=sj(),n=lj(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return Q_={includes:r(!0),indexOf:r(!1)}}function dj(){if(nj)return ej;nj=1;var t=aR(),e=e_(),n=dR(),r=fj().indexOf,o=M_(),i=t([].push);return ej=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function pj(){return oj?rj:(oj=1,rj=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var hj,vj,gj,yj,mj,bj,Ej,wj,Sj,Cj,Dj,Oj,Aj,xj,Tj,Nj,Pj,kj,Ij,Bj={};function Fj(){return hj||(hj=1,Bj.f=Object.getOwnPropertySymbols),Bj}function Rj(){if(mj)return yj;mj=1;var t=e_(),e=function(){if(gj)return vj;gj=1;var t=vR(),e=aR(),n=function(){if(ij)return uj;ij=1;var t=dj(),e=pj().concat("length","prototype");return uj.f=Object.getOwnPropertyNames||function(n){return t(n,e)},uj}(),r=Fj(),o=y_(),i=e([].concat);return vj=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=a_(),r=m_();return yj=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function _j(){if(Sj)return wj;Sj=1;var t=rF(),e=a_().f,n=b_(),r=$_(),o=JR(),i=Rj(),u=function(){if(Ej)return bj;Ej=1;var t=pF(),e=pR(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return bj=r}();return wj=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function jj(){if(Dj)return Cj;Dj=1;var t={};return t[r_()("toStringTag")]="z",Cj="[object z]"===String(t)}function Lj(){if(Aj)return Oj;Aj=1;var t=jj(),e=pR(),n=sR(),r=r_()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Oj=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function Mj(){if(Tj)return xj;Tj=1;var t=Lj(),e=String;return xj=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function zj(){if(Pj)return Nj;Pj=1;var t=y_();return Nj=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}var Hj,$j,Uj,Vj,Gj,Wj,qj,Kj,Yj,Xj,Jj,Zj,Qj,tL,eL={};function nL(){if($j)return Hj;$j=1;var t=dj(),e=pj();return Hj=Object.keys||function(n){return t(n,e)}}function rL(){if(qj)return Wj;qj=1;var t,e=y_(),n=function(){if(Uj)return eL;Uj=1;var t=hF(),e=g_(),n=m_(),r=y_(),o=dR(),i=nL();return eL.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},eL}(),r=pj(),o=M_(),i=function(){if(Gj)return Vj;Gj=1;var t=vR();return Vj=t("document","documentElement")}(),u=i_(),a=L_(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,Wj=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function oL(){if(Qj)return Zj;Qj=1;var t,e,n=gF(),r=aR(),o=Mj(),i=zj(),u=function(){if(Ij)return kj;Ij=1;var t=pF(),e=rF().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return kj={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=QR(),s=rL(),c=z_().get,l=function(){if(Yj)return Kj;Yj=1;var t=pF(),e=rF().RegExp;return Kj=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(Jj)return Xj;Jj=1;var t=pF(),e=rF().RegExp;return Xj=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Zj=h}function iL(){if(tL)return nF;tL=1;var t=_j(),e=oL();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),nF}iL();var uL=function(t,e){return uL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},uL(t,e)};function aL(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}uL(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var sL=function(){return sL=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},sL.apply(this,arguments)};function cL(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function a(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(u,a)}s((r=r.apply(t,e||[])).next())})}function lL(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function fL(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function dL(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function pL(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var hL,vL,gL,yL,mL,bL,EL,wL,SL,CL,DL,OL,AL,xL,TL,NL,PL,kL='<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>',IL='<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>',BL='<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>',FL=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!!eP.getSelectedNodeByType(t,"blockquote")},t.prototype.isDisabled=function(t){return null==t.selection||!dL(yp.Editor.nodes(t,{match:function(t){var e=eP.getNodeType(t);return"paragraph"===e||"blockquote"===e},universal:!0,mode:"highest"}),1)[0]},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=this.isActive(t)?"paragraph":"blockquote";yp.Transforms.setNodes(t,{type:n},{mode:"highest"})}},t}(),RL={key:"blockquote",factory:function(){return new FL}},_L={};function jL(){if(vL)return hL;vL=1;var t=sR(),e=aR();return hL=function(n){if("Function"===t(n))return e(n)}}function LL(){if(bL)return mL;bL=1;var t=sR();return mL=Array.isArray||function(e){return"Array"===t(e)}}function ML(){if(wL)return EL;wL=1;var t=aR(),e=pF(),n=pR(),r=Lj(),o=vR(),i=j_(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,EL=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function zL(){if(OL)return DL;OL=1;var t=function(){if(CL)return SL;CL=1;var t=LL(),e=ML(),n=hR(),r=r_()("species"),o=Array;return SL=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return DL=function(e,n){return new(t(e))(0===n?0:n)}}function HL(){if(xL)return AL;xL=1;var t=function(){if(yL)return gL;yL=1;var t=jL(),e=CR(),n=vF(),r=t(t.bind);return gL=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},gL}(),e=aR(),n=cR(),r=t_(),o=lj(),i=zL(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return AL={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function $L(){if(NL)return TL;NL=1;var t=pF(),e=r_(),n=mR(),r=e("species");return TL=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(PL)return _L;PL=1;var t=_j(),e=HL().filter;t({target:"Array",proto:!0,forced:!$L()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var UL,VL,GL,WL={};!function(){if(GL)return WL;GL=1;var t=jj(),e=$_(),n=function(){if(VL)return UL;VL=1;var t=jj(),e=Lj();return UL=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var qL,KL,YL,XL,JL,ZL,QL,tM,eM,nM,rM,oM,iM,uM,aM,sM,cM,lM={};function fM(){if(XL)return YL;XL=1,iL();var t=gF(),e=$_(),n=oL(),r=pF(),o=r_(),i=b_(),u=o("species"),a=RegExp.prototype;return YL=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function dM(){if(tM)return QL;tM=1;var t=function(){if(ZL)return JL;ZL=1;var t=aR(),e=aj(),n=Mj(),r=fR(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return JL={codeAt:a(!1),charAt:a(!0)}}().charAt;return QL=function(e,n,r){return n+(r?t(e,n).length:1)},QL}function pM(){if(uM)return iM;uM=1;var t=gF(),e=e_(),n=gR(),r=function(){if(oM)return rM;oM=1;var t=rF(),e=pF(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return rM={correct:r}}(),o=zj(),i=RegExp.prototype;return iM=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}function hM(){if(sM)return aM;sM=1;var t=gF(),e=y_(),n=pR(),r=sR(),o=oL(),i=TypeError;return aM=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(cM)return lM;cM=1;var t=function(){if(KL)return qL;KL=1;var t=vF(),e=Function.prototype,n=e.apply,r=e.call;return qL="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),qL}(),e=gF(),n=aR(),r=fM(),o=pF(),i=y_(),u=pR(),a=hR(),s=aj(),c=cj(),l=Mj(),f=fR(),d=dM(),p=DR(),h=function(){if(nM)return eM;nM=1;var t=aR(),e=t_(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return eM=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=pM(),g=hM(),y=r_()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var vM,gM,yM,mM={};function bM(){if(gM)return vM;gM=1;var t=r_(),e=rL(),n=m_().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),vM=function(t){o[r][t]=!0}}!function(){if(yM)return mM;yM=1;var t=_j(),e=HL().find,n=bM(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var EM,wM,SM,CM,DM,OM,AM,xM={};function TM(){return wM?EM:(wM=1,EM="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(AM)return xM;AM=1;var t=_j(),e=function(){if(CM)return SM;CM=1;var t=aR(),e=fR(),n=Mj(),r=TM(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return SM={start:a(1),end:a(2),trim:a(3)}}().trim,n=function(){if(OM)return DM;OM=1;var t=__().PROPER,e=pF(),n=TM();return DM=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var NM,PM,kM={};function IM(t){return 0===Rp("<div>".concat(t,"</div>")).children().filter(function(t){return"BR"!==t.tagName}).length}function BM(t){return 0===t.length?"":t[0].outerHTML}function FM(t){return t.length?t[0].tagName.toLowerCase():""}function RM(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i+=1){var u=r[i];if(u){var a=u.split(":");a[0].trim()===e&&(n=a[1].trim())}}return n}PM||(PM=1,function(){if(NM)return kM;NM=1;var t=_j(),e=rF();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Jp&&(Rp.fn.css=Jp),rh&&(Rp.fn.append=rh),oh&&(Rp.fn.prepend=oh),_p&&(Rp.fn.addClass=_p),jp&&(Rp.fn.removeClass=jp),Lp&&(Rp.fn.hasClass=Lp),Vp&&(Rp.fn.on=Vp),Gp&&(Rp.fn.off=Gp),hh&&(Rp.fn.focus=hh),Mp&&(Rp.fn.attr=Mp),zp&&(Rp.fn.removeAttr=zp),Yp&&(Rp.fn.hide=Yp),Xp&&(Rp.fn.show=Xp),uh&&(Rp.fn.parents=uh),$p&&(Rp.fn.dataset=$p),Up&&(Rp.fn.val=Up),eh&&(Rp.fn.text=eh),th&&(Rp.fn.html=th),sh&&(Rp.fn.children=sh),ch&&(Rp.fn.remove=ch),ah&&(Rp.fn.find=ah),Wp&&(Rp.fn.width=Wp),qp&&(Rp.fn.height=qp),Qp&&(Rp.fn.filter=Qp),lh&&(Rp.fn.empty=lh);var _M,jM,LM,MM,zM,HM={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);return 0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},$M={};function UM(){if(jM)return _M;jM=1;var t=hF(),e=m_(),n=uR();return _M=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}function VM(){if(MM)return LM;MM=1;var t=aR();return LM=t([].slice)}function GM(t){t.deleteBackward("character"),yp.Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}!function(){if(zM)return $M;zM=1;var t=_j(),e=LL(),n=ML(),r=hR(),o=sj(),i=lj(),u=dR(),a=UM(),s=r_(),c=$L(),l=VM(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var WM,qM={type:"blockquote",renderElem:function(t,e,n){return dv("blockquote",null,e)}},KM={renderElems:[qM],elemsToHtml:[{type:"blockquote",elemToHtml:function(t,e){return"<blockquote>".concat(e,"</blockquote>")}}],parseElemsHtml:[HM],menus:[RL],editorPlugin:function(t){var e=t.insertBreak,n=t.insertText,r=t;return r.insertBreak=function(){var o=r.selection;if(null==o)return e();var i=dL(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"blockquote")},universal:!0}),1)[0];if(!i)return e();var u=i[0];if(eP.getParentNode(t,u)){var a=eP.findPath(t,u),s=yp.Editor.end(t,a);if(yp.Point.equals(s,o.focus)){var c=yp.Node.string(u);if(c&&"\n"===c.slice(-1))return void GM(r)}n("\n")}else GM(r)},r}},YM={};!function(){if(WM)return YM;WM=1;var t=_j(),e=fj().includes,n=pF(),r=bM();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var XM,JM,ZM,QM={};function tz(){if(JM)return XM;JM=1;var t=pF();return XM=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}!function(){if(ZM)return QM;ZM=1;var t=_j(),e=aR(),n=cR(),r=dR(),o=tz(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var ez,nz={};!function(){if(ez)return nz;ez=1;var t=_j(),e=HL().map;t({target:"Array",proto:!0,forced:!$L()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var rz,oz={};!function(){if(rz)return oz;rz=1;var t=__().PROPER,e=$_(),n=y_(),r=Mj(),o=pF(),i=pM(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var iz,uz,az,sz,cz,lz,fz,dz={};function pz(){if(sz)return az;sz=1;var t=function(){if(uz)return iz;uz=1;var t=hR(),e=sR(),n=r_()("match");return iz=function(r){var o;return t(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===e(r))}}(),e=TypeError;return az=function(n){if(t(n))throw new e("The method doesn't accept regular expressions");return n}}function hz(){if(lz)return cz;lz=1;var t=r_()("match");return cz=function(e){var n=/./;try{"/./"[e](n)}catch(r){try{return n[t]=!1,"/./"[e](n)}catch(t){}}return!1}}!function(){if(fz)return dz;fz=1;var t=_j(),e=aR(),n=pz(),r=fR(),o=Mj(),i=hz(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(r(this)),o(n(t)),arguments.length>1?arguments[1]:void 0)}})}();var vz,gz,yz,mz,bz,Ez,wz,Sz,Cz,Dz,Oz,Az=function(){function t(){this.title=dI("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 t.prototype.getSelectCodeElem=function(t){var e=eP.getSelectedNodeByType(t,"code");if(null==e)return null;var n=eP.getParentNode(t,e);return null==n||"pre"!==eP.getNodeType(n)?null:e},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e){var n=t.getMenuConfig("codeSelectLang").codeLangs,r=(void 0===n?[]:n).find(function(t){return t.selected});return(null==r?void 0:r.value)||""}return e.language||""},t.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},t.prototype.isDisabled=function(t){if(null==t.selection)return!0;var e=eP.getSelectedElems(t);return!!e.some(function(e){return t.isVoid(e)})||!e.some(function(t){var e=eP.getNodeType(t);return"pre"===e||"paragraph"===e})},t.prototype.exec=function(t,e){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,e.toString())},t.prototype.changeToPlainText=function(t){var e=this.getSelectCodeElem(t);if(null!=e){var n=yp.Node.string(e);yp.Transforms.removeNodes(t,{mode:"highest"});var r=n.split("\n").map(function(t){return{type:"paragraph",children:[{text:t}]}});yp.Transforms.insertNodes(t,r,{mode:"highest"})}},t.prototype.changeToCodeBlock=function(t,e){var n,r,o=[],i=yp.Editor.nodes(t,{match:function(e){return t.children.includes(e)},universal:!0});try{for(var u=fL(i),a=u.next();!a.done;a=u.next()){var s=dL(a.value,1)[0];s&&o.push(yp.Node.string(s))}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}yp.Transforms.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:e,children:[{text:o.join("\n")}]}]};yp.Transforms.insertNodes(t,c,{mode:"highest"})},t}(),xz={key:"codeBlock",factory:function(){return new Az}},Tz={selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,n){return{type:"code",language:"",children:[{text:Rp(t)[0].textContent||""}]}}},Nz={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);return 0===(e=e.filter(function(t){return"code"===eP.getNodeType(t)})).length&&(e=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:e.filter(function(t){return"code"===eP.getNodeType(t)})}}},Pz={};!function(){if(Oz)return Pz;Oz=1;var t=_j(),e=aR(),n=CR(),r=t_(),o=lj(),i=function(){if(gz)return vz;gz=1;var t=SR(),e=TypeError;return vz=function(n,r){if(!delete n[r])throw new e("Cannot delete property "+t(r)+" of "+t(n))}}(),u=Mj(),a=pF(),s=function(){if(mz)return yz;mz=1;var t=VM(),e=Math.floor,n=function(r,o){var i=r.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=r[s];a&&o(r[a-1],u)>0;)r[a]=r[--a];a!==s++&&(r[a]=u)}else for(var c=e(i/2),l=n(t(r,0,c),o),f=n(t(r,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)r[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return r};return yz=n}(),c=tz(),l=function(){if(Ez)return bz;Ez=1;var t=yR().match(/firefox\/(\d+)/i);return bz=!!t&&+t[1]}(),f=function(){if(Sz)return wz;Sz=1;var t=yR();return wz=/MSIE|Trident/.test(t)}(),d=mR(),p=function(){if(Dz)return Cz;Dz=1;var t=yR().match(/AppleWebKit\/(\d+)\./);return Cz=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,n,r,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)h.push({k:e+r,v:n})}for(h.sort(function(t,e){return e.v-t.v}),r=0;r<h.length;r++)e=h[r].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&n(t);var e=r(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:u(e)>u(n)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var kz,Iz={};!function(){if(kz)return Iz;kz=1;var t=gF(),e=aR(),n=fM(),r=y_(),o=hR(),i=cj(),u=Mj(),a=fR(),s=DR(),c=dM(),l=pM(),f=hM(),d=e("".indexOf);n("match",function(e,n,p){return[function(n){var r=a(this),i=o(n)?s(n,e):void 0;return i?t(i,n,r):new RegExp(n)[e](u(r))},function(t){var e=r(this),o=u(t),a=p(n,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();var Bz,Fz,Rz,_z,jz,Lz={};function Mz(){if(Fz)return Bz;Fz=1;var t=aR(),e=fR(),n=Mj(),r=/"/g,o=t("".replace);return Bz=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}function zz(){if(_z)return Rz;_z=1;var t=pF();return Rz=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}!function(){if(jz)return Lz;jz=1;var t=_j(),e=Mz();t({target:"String",proto:!0,forced:zz()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}();var Hz,$z,Uz,Vz={type:"pre",renderElem:function(t,e,n){return dv("pre",null,e)}},Gz={type:"code",renderElem:function(t,e,n){return dv("code",null,e)}},Wz={menus:[xz],editorPlugin:function(t){var e=t.insertBreak,n=t.normalizeNode,r=t.insertData,o=t.handleTab,i=t;return i.insertBreak=function(){var t=eP.getSelectedNodeByType(i,"code");if(null!=t){var n=function(t,e){var n=e.selection;if(null==n)return"";var r=yp.Node.string(t),o=n.anchor.offset,i=r.slice(0,o).split("\n"),u=i.length;return 0===u?"":i[u-1]}(t,i);if(n){var r=n.match(/^\s+/);if(null!=r&&null!=r[0]){var o=r[0];return void i.insertText("\n".concat(o))}}i.insertText("\n")}else e()},t.handleTab=function(){var e=t.selection;if(e){var n=eP.getSelectedNodeByType(t,"code");if(n&&!yp.Range.isCollapsed(e)){var r=dL([e.anchor,e.focus].sort(function(t,e){return t.offset-e.offset}),2),i=r[0],u=r[1],a=n.children[0].text,s=a.split("\n"),c=a.slice(0,i.offset).split("\n").length-1,l=a.slice(0,u.offset).split("\n").length-1,f=s.map(function(t,e){return e>=c&&e<=l?" ".concat(t):t}),d=f.join("\n"),p={anchor:{path:i.path,offset:i.offset+2},focus:{path:u.path,offset:u.offset+2}};yp.Transforms.insertText(t,d,{at:{anchor:{path:i.path,offset:0},focus:{path:u.path,offset:a.length}}}),yp.Transforms.select(t,p)}else o()}},i.normalizeNode=function(t){var e=dL(t,2),r=e[0],o=e[1],u=eP.getNodeType(r);return"code"===u&&o.length<=1&&yp.Transforms.setNodes(i,{type:"paragraph"},{at:o}),"pre"===u&&(eP.isLastNode(i,r)&&yp.Transforms.insertNodes(i,eP.genEmptyParagraph(),{at:[o[0]+1]}),"code"!==eP.getNodeType(r.children[0])&&(yp.Transforms.unwrapNodes(i),yp.Transforms.setNodes(i,{type:"paragraph"},{mode:"highest"}))),n([r,o])},i.insertData=function(t){if(null!=eP.getSelectedNodeByType(i,"code")){var e=t.getData("text/plain");yp.Editor.insertText(i,e)}else r(t)},i},renderElems:[Vz,Gz],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return"<code>".concat(e,"</code>")}},{type:"pre",elemToHtml:function(t,e){return"<pre>".concat(e,"</pre>")}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=Rp(t);if("code"!==FM(e))return t;var n=e.find("xmp");if(0===n.length)return t;var r=n.text();return n.remove(),e.text(r),e[0]}}],parseElemsHtml:[Tz,Nz]},qz={};!function(){if(Uz)return qz;Uz=1;var t=_j(),e=pF(),n=LL(),r=hR(),o=t_(),i=lj(),u=function(){if($z)return Hz;$z=1;var t=TypeError;return Hz=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=UM(),s=zL(),c=$L(),l=r_(),f=mR(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Kz,Yz,Xz,Jz,Zz,Qz,tH,eH={};!function(){if(tH)return eH;tH=1;var t=rF(),e=Yz?Kz:(Yz=1,Kz={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}),n=function(){if(Jz)return Xz;Jz=1;var t=i_()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Xz=e===Object.prototype?void 0:e}(),r=function(){if(Qz)return Zz;Qz=1;var t=HL().forEach,e=tz()("forEach");return Zz=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Zz}(),o=b_(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var nH,rH,oH,iH=function(){function t(){this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.exec=function(t,e){},t.prototype.getValue=function(t){var e=this.mark,n=yp.Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return null==t.selection||!!dL(yp.Editor.nodes(t,{match:function(e){return"pre"===eP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){var e=this.mark;if(null==this.$content){var n=Rp('<ul class="w-e-panel-content-color"></ul>');n.on("click","li",function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=t.selection)){var o=Rp(r).attr("data-value");"0"===o?yp.Editor.removeMark(t,e):yp.Editor.addMark(t,e,o)}}),this.$content=n}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var o=this.getValue(t),i=t.getMenuConfig(e).colors;(void 0===i?[]:i).forEach(function(t){var e=Rp('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var n=Rp('<li data-value="'.concat(t,'"></li>'));o===t&&n.addClass("active"),n.append(e),r.append(n)});var u="";"color"===e&&(u=dI("color.default")),"bgColor"===e&&(u=dI("color.clear"));var a=Rp('\n <li data-value="0" class="clear">\n '.concat('<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 ").concat(u,"\n </li>\n "));return r.prepend(a),r[0]},t}(),uH=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("color.bgColor"),e.iconSvg='<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>',e.mark="bgColor",e}return aL(e,t),e}(iH),aH=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("color.color"),e.iconSvg='<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>',e.mark="color",e}return aL(e,t),e}(iH),sH=["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)"],cH={key:"color",factory:function(){return new aH},config:{colors:sH}},lH={key:"bgColor",factory:function(){return new uH},config:{colors:sH}},fH={selector:"font",preParseHtml:function(t){var e=Rp(t);if("font"!==FM(e))return t;var n=e.attr("color")||"";return n&&(e.removeAttr("color"),e.css("color",n)),e[0]}},dH={};function pH(t,e){null==t.data&&(t.data={});var n=t.data;null==n.style&&(n.style={}),Object.assign(n.style,e)}!function(){if(oH)return dH;oH=1;var t=_j(),e=function(){if(rH)return nH;rH=1;var t=hF(),e=aR(),n=gF(),r=pF(),o=nL(),i=Fj(),u=iR(),a=t_(),s=cR(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return nH=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,nH}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var hH,vH,gH,yH,mH,bH,EH,wH,SH,CH,DH,OH,AH,xH,TH,NH,PH={renderStyle:function(t,e){var n=t,r=n.color,o=n.bgColor,i=e;return r&&pH(i,{color:r}),o&&pH(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!yp.Text.isText(t))return e;var n,r=t,o=r.color,i=r.bgColor;return o||i?((IM(e)||"span"!==FM(n=Rp(e)))&&(n=Rp("<span>".concat(e,"</span>"))),o&&n.css("color",o),i&&n.css("background-color",i),BM(n)):e},preParseHtml:[fH],parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Text.isText(e))return e;var o=e,i=RM(r,"color");i&&(o.color=i);var u=RM(r,"background-color");return u||(u=RM(r,"background")),u&&(o.bgColor=u),o},menus:[cH,lH]},kH=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!!yp.Range.isExpanded(e)},t.prototype.exec=function(t,e){var n=t.selection;if(null!=n){var r=[n.anchor.path[0]];yp.Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:r}),t.select(yp.Editor.start(t,r))}},t}(),IH={menus:[{key:"enter",factory:function(){return new kH}}]},BH=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!eP.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var n=eP.getNodeType(e);return"table"===n||"pre"===n})},t.prototype.exec=function(t,e){eP.isSelectedEmptyParagraph(t)&&yp.Transforms.removeNodes(t,{mode:"highest"}),yp.Transforms.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),FH={renderElems:[{type:"divider",renderElem:function(t,e,n){return Wh("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:eP.isNodeSelected(n,t)?"true":""},style:{},on:{mousedown:function(t){return t.preventDefault()}}},[Wh("hr")])}}],elemsToHtml:[{type:"divider",elemToHtml:function(t,e){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new BH}}],editorPlugin:function(t){var e=t.isVoid,n=t.normalizeNode,r=t;return r.isVoid=function(t){return"divider"===t.type||e(t)},r.normalizeNode=function(t){var e=dL(t,2),o=e[0],i=e[1];if("divider"!==eP.getNodeType(o))return n([o,i]);eP.isLastNode(r,o)&&yp.Transforms.insertNodes(r,eP.genEmptyParagraph(),{at:[i[0]+1]})},r}},RH=function(){function t(){this.title=dI("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 t.prototype.exec=function(t,e){},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!dL(yp.Editor.nodes(t,{match:function(e){return"pre"===eP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){if(null==this.$content){var e=Rp('<ul class="w-e-panel-content-emotion"></ul>');e.on("click","li",function(e){var n=e.target;if(null!=n){e.preventDefault();var r=Rp(n).text();t.insertText(r)}}),this.$content=e}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=t.getMenuConfig("emotion").emotions;return(void 0===r?[]:r).forEach(function(t){var e=Rp("<li>".concat(t,"</li>"));n.append(e)}),n[0]},t}(),_H={menus:[{key:"emotion",factory:function(){return new RH},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},jH={};function LH(){if(vH)return hH;vH=1;var t=function(t){return t&&t.Math===Math&&t};return hH=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof ZB&&ZB)||t("object"==typeof hH&&hH)||function(){return this}()||Function("return this")()}function MH(){return yH?gH:(yH=1,gH=function(t){try{return!!t()}catch(t){return!0}})}function zH(){return bH?mH:(bH=1,mH=!MH()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function HH(){if(wH)return EH;wH=1;var t=zH(),e=Function.prototype,n=e.apply,r=e.call;return EH="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),EH}function $H(){if(CH)return SH;CH=1;var t=zH(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return SH=t?r:function(t){return function(){return n.apply(t,arguments)}},SH}function UH(){if(OH)return DH;OH=1;var t=$H(),e=t({}.toString),n=t("".slice);return DH=function(t){return n(e(t),8,-1)}}function VH(){if(xH)return AH;xH=1;var t=UH(),e=$H();return AH=function(n){if("Function"===t(n))return e(n)}}function GH(){if(NH)return TH;NH=1;var t="object"==typeof document&&document.all;return TH=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var WH,qH,KH,YH,XH={};function JH(){return qH?WH:(qH=1,WH=!MH()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function ZH(){if(YH)return KH;YH=1;var t=zH(),e=Function.prototype.call;return KH=t?e.bind(e):function(){return e.apply(e,arguments)},KH}var QH,t$,e$,n$,r$,o$,i$,u$,a$,s$,c$,l$,f$,d$,p$,h$,v$,g$,y$,m$,b$,E$,w$,S$,C$,D$,O$,A$,x$,T$,N$,P$,k$,I$,B$,F$,R$,_$={};function j$(){if(QH)return _$;QH=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return _$.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,_$}function L$(){return e$?t$:(e$=1,t$=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function M$(){if(r$)return n$;r$=1;var t=$H(),e=MH(),n=UH(),r=Object,o=t("".split);return n$=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function z$(){return i$?o$:(i$=1,o$=function(t){return null==t})}function H$(){if(a$)return u$;a$=1;var t=z$(),e=TypeError;return u$=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function $$(){if(c$)return s$;c$=1;var t=M$(),e=H$();return s$=function(n){return t(e(n))}}function U$(){if(f$)return l$;f$=1;var t=GH();return l$=function(e){return"object"==typeof e?null!==e:t(e)}}function V$(){return p$?d$:(p$=1,d$={})}function G$(){if(v$)return h$;v$=1;var t=V$(),e=LH(),n=GH(),r=function(t){return n(t)?t:void 0};return h$=function(n,o){return arguments.length<2?r(t[n])||r(e[n]):t[n]&&t[n][o]||e[n]&&e[n][o]},h$}function W$(){return y$?g$:(y$=1,g$=$H()({}.isPrototypeOf))}function q$(){if(w$)return E$;w$=1;var t,e,n=LH(),r=function(){if(b$)return m$;b$=1;var t=LH().navigator,e=t&&t.userAgent;return m$=e?String(e):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),E$=e}function K$(){if(C$)return S$;C$=1;var t=q$(),e=MH(),n=LH().String;return S$=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Y$(){return O$?D$:(O$=1,D$=K$()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function X$(){if(x$)return A$;x$=1;var t=G$(),e=GH(),n=W$(),r=Object;return A$=Y$()?function(t){return"symbol"==typeof t}:function(o){var i=t("Symbol");return e(i)&&n(i.prototype,r(o))}}function J$(){if(N$)return T$;N$=1;var t=String;return T$=function(e){try{return t(e)}catch(t){return"Object"}}}function Z$(){if(k$)return P$;k$=1;var t=GH(),e=J$(),n=TypeError;return P$=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}var Q$,tU,eU,nU,rU,oU,iU,uU,aU,sU,cU,lU,fU,dU,pU,hU,vU,gU,yU,mU,bU,EU,wU,SU,CU,DU,OU,AU,xU={exports:{}};function TU(){return tU?Q$:(tU=1,Q$=!0)}function NU(){if(rU)return xU.exports;rU=1;var t=TU(),e=LH(),n=function(){if(nU)return eU;nU=1;var t=LH(),e=Object.defineProperty;return eU=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}(),r="__core-js_shared__",o=xU.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),xU.exports}function PU(){if(iU)return oU;iU=1;var t=NU();return oU=function(e,n){return t[e]||(t[e]=n||{})}}function kU(){if(aU)return uU;aU=1;var t=H$(),e=Object;return uU=function(n){return e(t(n))}}function IU(){if(cU)return sU;cU=1;var t=$H(),e=kU(),n=t({}.hasOwnProperty);return sU=Object.hasOwn||function(t,r){return n(e(t),r)}}function BU(){if(fU)return lU;fU=1;var t=$H(),e=0,n=Math.random(),r=t(1.1.toString);return lU=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function FU(){if(pU)return dU;pU=1;var t=LH(),e=PU(),n=IU(),r=BU(),o=K$(),i=Y$(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return dU=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function RU(){if(vU)return hU;vU=1;var t=ZH(),e=U$(),n=X$(),r=function(){if(B$)return I$;B$=1;var t=Z$(),e=z$();return I$=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}(),o=function(){if(R$)return F$;R$=1;var t=ZH(),e=GH(),n=U$(),r=TypeError;return F$=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},F$}(),i=TypeError,u=FU()("toPrimitive");return hU=function(a,s){if(!e(a)||n(a))return a;var c,l=r(a,u);if(l){if(void 0===s&&(s="default"),c=t(l,a,s),!e(c)||n(c))return c;throw new i("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(a,s)}}function _U(){if(yU)return gU;yU=1;var t=RU(),e=X$();return gU=function(n){var r=t(n,"string");return e(r)?r:r+""}}function jU(){if(bU)return mU;bU=1;var t=LH(),e=U$(),n=t.document,r=e(n)&&e(n.createElement);return mU=function(t){return r?n.createElement(t):{}}}function LU(){if(wU)return EU;wU=1;var t=JH(),e=MH(),n=jU();return EU=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function MU(){if(SU)return XH;SU=1;var t=JH(),e=ZH(),n=j$(),r=L$(),o=$$(),i=_U(),u=IU(),a=LU(),s=Object.getOwnPropertyDescriptor;return XH.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},XH}function zU(){if(AU)return OU;AU=1;var t=VH(),e=Z$(),n=zH(),r=t(t.bind);return OU=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},OU}var HU,$U,UU,VU,GU,WU,qU,KU,YU,XU,JU,ZU,QU,tV,eV,nV,rV,oV,iV,uV,aV,sV,cV,lV,fV,dV,pV,hV,vV,gV,yV,mV,bV,EV,wV,SV,CV,DV,OV={};function AV(){return $U?HU:($U=1,HU=JH()&&MH()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function xV(){if(VU)return UU;VU=1;var t=U$(),e=String,n=TypeError;return UU=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function TV(){if(GU)return OV;GU=1;var t=JH(),e=LU(),n=AV(),r=xV(),o=_U(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return OV.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},OV}function NV(){if(qU)return WU;qU=1;var t=JH(),e=TV(),n=L$();return WU=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}function PV(){if(YU)return KU;YU=1;var t=LH(),e=HH(),n=VH(),r=GH(),o=MU().f,i=function(){if(DU)return CU;DU=1;var t=MH(),e=GH(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return CU=r}(),u=V$(),a=zU(),s=NV(),c=IU(),l=function(t){var n=function(r,o,i){if(this instanceof n){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,o)}return new t(r,o,i)}return e(t,this,arguments)};return n.prototype=t.prototype,n};return KU=function(e,f){var d,p,h,v,g,y,m,b,E,w=e.target,S=e.global,C=e.stat,D=e.proto,O=S?t:C?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],x=A.prototype;for(v in f)p=!(d=i(S?v:w+(C?".":"#")+v,e.forced))&&O&&c(O,v),y=A[v],p&&(m=e.dontCallGetSet?(E=o(O,v))&&E.value:O[v]),g=p&&m?m:f[v],(d||D||typeof y!=typeof g)&&(b=e.bind&&p?a(g,t):e.wrap&&p?l(g):D&&r(g)?n(g):g,(e.sham||g&&g.sham||y&&y.sham)&&s(b,"sham",!0),s(A,v,b),D&&(c(u,h=w+"Prototype")||s(u,h,{}),s(u[h],v,g),e.real&&x&&(d||!x[v])&&s(x,v,g)))}}function kV(){if(JU)return XU;JU=1;var t=UH();return XU=Array.isArray||function(e){return"Array"===t(e)}}function IV(){if(eV)return tV;eV=1;var t=function(){if(QU)return ZU;QU=1;var t=Math.ceil,e=Math.floor;return ZU=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return tV=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function BV(){if(iV)return oV;iV=1;var t=function(){if(rV)return nV;rV=1;var t=IV(),e=Math.min;return nV=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}();return oV=function(e){return t(e.length)}}function FV(){if(fV)return lV;fV=1;var t={};return t[FU()("toStringTag")]="z",lV="[object z]"===String(t)}function RV(){if(pV)return dV;pV=1;var t=FV(),e=GH(),n=UH(),r=FU()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return dV=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function _V(){if(yV)return gV;yV=1;var t=$H(),e=MH(),n=GH(),r=RV(),o=G$(),i=function(){if(vV)return hV;vV=1;var t=$H(),e=GH(),n=NU(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),hV=n.inspectSource}(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,gV=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function jV(){if(wV)return EV;wV=1;var t=function(){if(bV)return mV;bV=1;var t=kV(),e=_V(),n=U$(),r=FU()("species"),o=Array;return mV=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return EV=function(e,n){return new(t(e))(0===n?0:n)}}var LV,MV,zV={},HV={};function $V(){if(MV)return LV;MV=1;var t=RV(),e=String;return LV=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}var UV,VV,GV,WV,qV,KV,YV,XV,JV,ZV,QV,tG,eG,nG,rG,oG,iG,uG,aG,sG={};function cG(){if(WV)return GV;WV=1;var t=$$(),e=function(){if(VV)return UV;VV=1;var t=IV(),e=Math.max,n=Math.min;return UV=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)},UV}(),n=BV(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return GV={includes:r(!0),indexOf:r(!1)}}function lG(){return KV?qV:(KV=1,qV={})}function fG(){if(XV)return YV;XV=1;var t=$H(),e=IU(),n=$$(),r=cG().indexOf,o=lG(),i=t([].push);return YV=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function dG(){return ZV?JV:(ZV=1,JV=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function pG(){if(tG)return QV;tG=1;var t=fG(),e=dG();return QV=Object.keys||function(n){return t(n,e)}}function hG(){if(eG)return sG;eG=1;var t=JH(),e=AV(),n=TV(),r=xV(),o=$$(),i=pG();return sG.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},sG}function vG(){if(iG)return oG;iG=1;var t=PU(),e=BU(),n=t("keys");return oG=function(t){return n[t]||(n[t]=e(t))}}function gG(){if(aG)return uG;aG=1;var t,e=xV(),n=hG(),r=dG(),o=lG(),i=rG?nG:(rG=1,nG=G$()("document","documentElement")),u=jU(),a="prototype",s="script",c=vG()("IE_PROTO"),l=function(){},f=function(t){return"<"+s+">"+t+"</"+s+">"},d=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;p="undefined"!=typeof document?document.domain&&t?d(t):(n=u("iframe"),o="java"+s+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):d(t);for(var c=r.length;c--;)delete p[a][r[c]];return p()};return o[c]=!0,uG=Object.create||function(t,r){var o;return null!==t?(l[a]=e(t),o=new l,l[a]=null,o[c]=t):o=p(),void 0===r?o:n.f(o,r)}}var yG,mG={};function bG(){if(yG)return mG;yG=1;var t=fG(),e=dG().concat("length","prototype");return mG.f=Object.getOwnPropertyNames||function(n){return t(n,e)},mG}var EG,wG,SG,CG={};function DG(){return wG?EG:(wG=1,EG=$H()([].slice))}var OG,AG,xG,TG,NG,PG={};function kG(){return OG||(OG=1,PG.f=Object.getOwnPropertySymbols),PG}function IG(){if(xG)return AG;xG=1;var t=NV();return AG=function(e,n,r,o){return o&&o.enumerable?e[n]=r:t(e,n,r),e}}var BG,FG,RG,_G,jG,LG,MG,zG,HG,$G,UG,VG,GG,WG,qG,KG,YG={};function XG(){if(BG)return YG;BG=1;var t=FU();return YG.f=t,YG}function JG(){if(RG)return FG;RG=1;var t=V$(),e=IU(),n=XG(),r=TV().f;return FG=function(o){var i=t.Symbol||(t.Symbol={});e(i,o)||r(i,o,{value:n.f(o)})}}function ZG(){if(jG)return _G;jG=1;var t=ZH(),e=G$(),n=FU(),r=IG();return _G=function(){var o=e("Symbol"),i=o&&o.prototype,u=i&&i.valueOf,a=n("toPrimitive");i&&!i[a]&&r(i,a,function(e){return t(u,this)},{arity:1})}}function QG(){if(HG)return zG;HG=1;var t=FV(),e=TV().f,n=NV(),r=IU(),o=function(){if(MG)return LG;MG=1;var t=FV(),e=RV();return LG=t?{}.toString:function(){return"[object "+e(this)+"]"}}(),i=FU()("toStringTag");return zG=function(u,a,s,c){var l=s?u:u&&u.prototype;l&&(r(l,i)||e(l,i,{configurable:!0,value:a}),c&&!t&&n(l,"toString",o))}}function tW(){if(GG)return VG;GG=1;var t,e,n,r=function(){if(UG)return $G;UG=1;var t=LH(),e=GH(),n=t.WeakMap;return $G=e(n)&&/native code/.test(String(n))}(),o=LH(),i=U$(),u=NV(),a=IU(),s=NU(),c=vG(),l=lG(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return VG={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}var eW,nW,rW,oW={};function iW(){return nW?eW:(nW=1,eW=K$()&&!!Symbol.for&&!!Symbol.keyFor)}var uW,aW,sW,cW,lW={},fW={};var dW,pW,hW={};function vW(){return pW||(pW=1,function(){if(KG)return HV;KG=1;var t=PV(),e=LH(),n=ZH(),r=$H(),o=TU(),i=JH(),u=K$(),a=MH(),s=IU(),c=W$(),l=xV(),f=$$(),d=_U(),p=$V(),h=L$(),v=gG(),g=pG(),y=bG(),m=function(){if(SG)return CG;SG=1;var t=UH(),e=$$(),n=bG().f,r=DG(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return CG.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},CG}(),b=kG(),E=MU(),w=TV(),S=hG(),C=j$(),D=IG(),O=function(){if(NG)return TG;NG=1;var t=TV();return TG=function(e,n,r){return t.f(e,n,r)}}(),A=PU(),x=vG(),T=lG(),N=BU(),P=FU(),k=XG(),I=JG(),B=ZG(),F=QG(),R=tW(),_=function(){if(qG)return WG;qG=1;var t=zU(),e=$H(),n=M$(),r=kU(),o=BV(),i=jV(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return WG={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,j=x("hidden"),L="Symbol",M="prototype",z=R.set,H=R.getterFor(L),$=Object[M],U=e.Symbol,V=U&&U[M],G=e.RangeError,W=e.TypeError,q=e.QObject,K=E.f,Y=w.f,X=m.f,J=C.f,Z=r([].push),Q=A("symbols"),tt=A("op-symbols"),et=A("wks"),nt=!q||!q[M]||!q[M].findChild,rt=function(t,e,n){var r=K($,e);r&&delete $[e],Y(t,e,n),r&&t!==$&&Y($,e,r)},ot=i&&a(function(){return 7!==v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?rt:Y,it=function(t,e){var n=Q[t]=v(V);return z(n,{type:L,tag:t,description:e}),i||(n.description=e),n},ut=function(t,e,n){t===$&&ut(tt,e,n),l(t);var r=d(e);return l(n),s(Q,r)?(n.enumerable?(s(t,j)&&t[j][r]&&(t[j][r]=!1),n=v(n,{enumerable:h(0,!1)})):(s(t,j)||Y(t,j,h(1,v(null))),t[j][r]=!0),ot(t,r,n)):Y(t,r,n)},at=function(t,e){l(t);var r=f(e),o=g(r).concat(ft(r));return _(o,function(e){i&&!n(st,r,e)||ut(t,e,r[e])}),t},st=function(t){var e=d(t),r=n(J,this,e);return!(this===$&&s(Q,e)&&!s(tt,e))&&(!(r||!s(this,e)||!s(Q,e)||s(this,j)&&this[j][e])||r)},ct=function(t,e){var n=f(t),r=d(e);if(n!==$||!s(Q,r)||s(tt,r)){var o=K(n,r);return!o||!s(Q,r)||s(n,j)&&n[j][r]||(o.enumerable=!0),o}},lt=function(t){var e=X(f(t)),n=[];return _(e,function(t){s(Q,t)||s(T,t)||Z(n,t)}),n},ft=function(t){var e=t===$,n=X(e?tt:f(t)),r=[];return _(n,function(t){!s(Q,t)||e&&!s($,t)||Z(r,Q[t])}),r};u||(U=function(){if(c(V,this))throw new W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,r=N(t),o=function(t){var i=void 0===this?e:this;i===$&&n(o,tt,t),s(i,j)&&s(i[j],r)&&(i[j][r]=!1);var u=h(1,t);try{ot(i,r,u)}catch(t){if(!(t instanceof G))throw t;rt(i,r,u)}};return i&&nt&&ot($,r,{configurable:!0,set:o}),it(r,t)},D(V=U[M],"toString",function(){return H(this).tag}),D(U,"withoutSetter",function(t){return it(N(t),t)}),C.f=st,w.f=ut,S.f=at,E.f=ct,y.f=m.f=lt,b.f=ft,k.f=function(t){return it(P(t),t)},i&&(O(V,"description",{configurable:!0,get:function(){return H(this).description}}),o||D($,"propertyIsEnumerable",st,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),_(g(et),function(t){I(t)}),t({target:L,stat:!0,forced:!u},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!i},{create:function(t,e){return void 0===e?v(t):at(v(t),e)},defineProperty:ut,defineProperties:at,getOwnPropertyDescriptor:ct}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),B(),F(U,L),T[j]=!0}(),function(){if(rW)return oW;rW=1;var t=PV(),e=G$(),n=IU(),r=$V(),o=PU(),i=iW(),u=o("string-to-symbol-registry"),a=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{for:function(t){var o=r(t);if(n(u,o))return u[o];var i=e("Symbol")(o);return u[o]=i,a[i]=o,i}})}(),function(){if(uW)return lW;uW=1;var t=PV(),e=IU(),n=X$(),r=J$(),o=PU(),i=iW(),u=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{keyFor:function(t){if(!n(t))throw new TypeError(r(t)+" is not a symbol");if(e(u,t))return u[t]}})}(),function(){if(cW)return fW;cW=1;var t=PV(),e=G$(),n=HH(),r=ZH(),o=$H(),i=MH(),u=GH(),a=X$(),s=DG(),c=function(){if(sW)return aW;sW=1;var t=$H(),e=kV(),n=GH(),r=UH(),o=$V(),i=t([].push);return aW=function(t){if(n(t))return t;if(e(t)){for(var u=t.length,a=[],s=0;s<u;s++){var c=t[s];"string"==typeof c?i(a,c):"number"!=typeof c&&"Number"!==r(c)&&"String"!==r(c)||i(a,o(c))}var l=a.length,f=!0;return function(t,n){if(f)return f=!1,n;if(e(this))return n;for(var r=0;r<l;r++)if(a[r]===t)return n}}}}(),l=K$(),f=String,d=e("JSON","stringify"),p=o(/./.exec),h=o("".charAt),v=o("".charCodeAt),g=o("".replace),y=o(1.1.toString),m=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,w=!l||i(function(){var t=e("Symbol")("stringify detection");return"[null]"!==d([t])||"{}"!==d({a:t})||"{}"!==d(Object(t))}),S=i(function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")}),C=function(t,e){var o=s(arguments),i=c(e);if(u(i)||void 0!==t&&!a(t))return o[1]=function(t,e){if(u(i)&&(e=r(i,this,f(t),e)),!a(e))return e},n(d,null,o)},D=function(t,e,n){var r=h(n,e-1),o=h(n,e+1);return p(b,t)&&!p(E,o)||p(E,t)&&!p(b,r)?"\\u"+y(v(t,0),16):t};d&&t({target:"JSON",stat:!0,arity:3,forced:w||S},{stringify:function(t,e,r){var o=s(arguments),i=n(w?C:d,null,o);return S&&"string"==typeof i?g(i,m,D):i}})}(),function(){if(dW)return hW;dW=1;var t=PV(),e=K$(),n=MH(),r=kG(),o=kU();t({target:"Object",stat:!0,forced:!e||n(function(){r.f(1)})},{getOwnPropertySymbols:function(t){var e=r.f;return e?e(o(t)):[]}})}()),zV}var gW,yW,mW={};function bW(){return gW||(gW=1,JG()("asyncDispose")),mW}var EW,wW,SW,CW={};function DW(){return EW||(EW=1,JG()("dispose")),CW}var OW,AW,xW,TW,NW,PW,kW,IW={};function BW(){return OW||(OW=1,JG()("iterator")),IW}var FW,RW,_W,jW,LW,MW,zW={},HW={},$W={};function UW(){return MW?LW:(MW=1,function(){if(DV)return jH;DV=1;var t=PV(),e=MH(),n=kV(),r=U$(),o=kU(),i=BV(),u=function(){if(aV)return uV;aV=1;var t=TypeError;return uV=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(cV)return sV;cV=1;var t=JH(),e=TV(),n=L$();return sV=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=jV(),c=function(){if(CV)return SV;CV=1;var t=MH(),e=FU(),n=q$(),r=e("species");return SV=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=FU(),f=q$(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}(),vW(),bW(),yW||(yW=1,JG()("asyncIterator")),DW(),wW||(wW=1,JG()("hasInstance")),SW||(SW=1,JG()("isConcatSpreadable")),BW(),AW||(AW=1,JG()("match")),xW||(xW=1,JG()("matchAll")),TW||(TW=1,JG()("replace")),NW||(NW=1,JG()("search")),PW||(PW=1,JG()("species")),kW||(kW=1,JG()("split")),function(){if(FW)return zW;FW=1;var t=JG(),e=ZG();t("toPrimitive"),e()}(),function(){if(RW)return HW;RW=1;var t=G$(),e=JG(),n=QG();e("toStringTag"),n(t("Symbol"),"Symbol")}(),_W||(_W=1,JG()("unscopables")),function(){if(jW)return $W;jW=1;var t=LH();QG()(t.JSON,"JSON",!0)}(),LW=V$().Symbol)}var VW,GW,WW,qW,KW,YW,XW,JW,ZW,QW,tq,eq,nq,rq,oq,iq,uq,aq,sq,cq,lq,fq,dq,pq,hq,vq,gq,yq,mq,bq,Eq,wq,Sq,Cq={};function Dq(){return qW?WW:(qW=1,WW={})}function Oq(){if(QW)return ZW;QW=1;var t=IU(),e=GH(),n=kU(),r=vG(),o=JW?XW:(JW=1,XW=!MH()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),i=r("IE_PROTO"),u=Object,a=u.prototype;return ZW=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function Aq(){if(eq)return tq;eq=1;var t,e,n,r=MH(),o=GH(),i=U$(),u=gG(),a=Oq(),s=IG(),c=FU(),l=TU(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),tq={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function xq(){if(cq)return sq;cq=1;var t=function(){if(aq)return uq;aq=1;var t=U$();return uq=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return sq=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function Tq(){if(fq)return lq;fq=1;var t=function(){if(iq)return oq;iq=1;var t=$H(),e=Z$();return oq=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=U$(),n=H$(),r=xq();return lq=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function Nq(){if(pq)return dq;pq=1;var t=PV(),e=ZH(),n=TU(),r=function(){if(YW)return KW;YW=1;var t=JH(),e=IU(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return KW={EXISTS:o,PROPER:i,CONFIGURABLE:u}}(),o=GH(),i=function(){if(rq)return nq;rq=1;var t=Aq().IteratorPrototype,e=gG(),n=L$(),r=QG(),o=Dq(),i=function(){return this};return nq=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=Oq(),a=Tq(),s=QG(),c=NV(),l=IG(),f=FU(),d=Dq(),p=Aq(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return dq=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function Pq(){return vq?hq:(vq=1,hq=function(t,e){return{value:t,done:e}})}function kq(){if(yq)return gq;yq=1;var t=$$(),e=GW?VW:(GW=1,VW=function(){}),n=Dq(),r=tW(),o=TV().f,i=Nq(),u=Pq(),a=TU(),s=JH(),c="Array Iterator",l=r.set,f=r.getterFor(c);gq=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return gq}function Iq(){if(Eq)return Cq;Eq=1,kq();var t=bq?mq:(bq=1,mq={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}),e=LH(),n=QG(),r=Dq();for(var o in t)n(e[o],o),r[o]=r.Array;return Cq}var Bq,Fq,Rq,_q,jq,Lq,Mq,zq,Hq,$q,Uq,Vq,Gq,Wq,qq,Kq,Yq,Xq,Jq,Zq,Qq,tK,eK,nK,rK={};function oK(){if(Lq)return jq;Lq=1;var t=function(){if(Sq)return wq;Sq=1;var t=UW();return Iq(),wq=t}();return function(){if(Bq)return rK;Bq=1;var t=FU(),e=TV().f,n=t("metadata"),r=Function.prototype;void 0===r[n]&&e(r,n,{value:null})}(),Fq||(Fq=1,bW()),Rq||(Rq=1,DW()),_q||(_q=1,JG()("metadata")),jq=t}function iK(){if(zq)return Mq;zq=1;var t=G$(),e=$H(),n=t("Symbol"),r=n.keyFor,o=e(n.prototype.valueOf);return Mq=n.isRegisteredSymbol||function(t){try{return void 0!==r(o(t))}catch(t){return!1}}}function uK(){if(Uq)return $q;Uq=1;for(var t=PU(),e=G$(),n=$H(),r=X$(),o=FU(),i=e("Symbol"),u=i.isWellKnownSymbol,a=e("Object","getOwnPropertyNames"),s=n(i.prototype.valueOf),c=t("wks"),l=0,f=a(i),d=f.length;l<d;l++)try{var p=f[l];r(i[p])&&o(p)}catch(t){}return $q=function(t){if(u&&u(t))return!0;try{for(var e=s(t),n=0,r=a(c),o=r.length;n<o;n++)if(c[r[n]]==e)return!0}catch(t){}return!1},$q}var aK,sK,cK,lK,fK,dK,pK,hK,vK,gK,yK,mK,bK,EK=QB(nK?eK:(nK=1,eK=function(){if(tK)return Qq;tK=1;var t=oK();return Hq||(Hq=1,PV()({target:"Symbol",stat:!0},{isRegisteredSymbol:iK()})),Vq||(Vq=1,PV()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:uK()})),Gq||(Gq=1,JG()("customMatcher")),Wq||(Wq=1,JG()("observable")),qq||(qq=1,PV()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:iK()})),Kq||(Kq=1,PV()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:uK()})),Yq||(Yq=1,JG()("matcher")),Xq||(Xq=1,JG()("metadataKey")),Jq||(Jq=1,JG()("patternMatch")),Zq||(Zq=1,JG()("replaceAll")),Qq=t}())),wK={};function SK(){return fK?lK:(fK=1,kq(),function(){if(cK)return wK;cK=1;var t=function(){if(sK)return aK;sK=1;var t=$H(),e=IV(),n=$V(),r=H$(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return aK={codeAt:a(!1),charAt:a(!0)}}().charAt,e=$V(),n=tW(),r=Nq(),o=Pq(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}(),BW(),lK=XG().f("iterator"))}function CK(){return vK?hK:(vK=1,hK=function(){if(pK)return dK;pK=1;var t=SK();return Iq(),dK=t}())}var DK=QB(bK?mK:(bK=1,mK=yK?gK:(yK=1,gK=CK())));function OK(t){return OK="function"==typeof EK&&"symbol"==typeof DK?function(t){return typeof t}:function(t){return t&&"function"==typeof EK&&t.constructor===EK&&t!==EK.prototype?"symbol":typeof t},OK(t)}var AK,xK,TK,NK={};!function(){if(TK)return NK;TK=1;var t=hF(),e=__().EXISTS,n=aR(),r=function(){if(xK)return AK;xK=1;var t=H_(),e=m_();return AK=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var PK,kK,IK,BK,FK,RK,_K,jK=function(){function t(){this.tag="select",this.width=80}return t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.mark,n=yp.Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isDisabled=function(t){return null==t.selection||!!dL(yp.Editor.nodes(t,{match:function(e){return"pre"===eP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.exec=function(t,e){var n=this.mark;e?t.addMark(n,e):t.removeMark(n)},t}(),LK=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("fontFamily.title"),e.iconSvg='<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>',e.mark="fontFamily",e.selectPanelWidth=150,e}return aL(e,t),e.prototype.getOptions=function(t){var e=[],n=t.getMenuConfig(this.mark).fontFamilyList,r=void 0===n?[]:n;e.push({text:dI("fontFamily.default"),value:""}),r.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t,styleForRenderMenuList:{"font-family":t}});else if("object"===OK(t)){var n=t.name,r=t.value;e.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(jK),MK=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("fontSize.title"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',e.mark="fontSize",e}return aL(e,t),e.prototype.getOptions=function(t){var e=[],n=t.getMenuConfig(this.mark).fontSizeList,r=void 0===n?[]:n;e.push({text:dI("fontSize.default"),value:""}),r.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t});else if("object"===OK(t)){var n=t.name,r=t.value;e.push({text:n,value:r})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(jK),zK={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},HK={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&pH(i,{fontSize:r}),o&&pH(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!yp.Text.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((IM(e)||"span"!==FM(n=Rp(e)))&&(n=Rp("<span>".concat(e,"</span>"))),o&&n.css("font-size",o),i&&n.css("font-family",i),BM(n)):e},preParseHtml:[{selector:"font",preParseHtml:function(t){var e=Rp(t);if("font"!==FM(e))return t;var n=e.attr("size")||"";n&&(e.removeAttr("size"),e.css("font-size",zK[n]));var r=e.attr("face")||"";return r&&(e.removeAttr("face"),e.css("font-family",r)),e[0]}}],parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Text.isText(e))return e;var o=e,i=RM(r,"font-size");i&&(o.fontSize=i);var u=RM(r,"font-family").replace(/"/g,"");return u&&(o.fontFamily=u),o},menus:[{key:"fontSize",factory:function(){return new MK},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 LK},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},$K={};!function(){if(_K)return $K;_K=1;var t=_j(),e=function(){if(RK)return FK;RK=1;var t=hF(),e=pF(),n=aR(),r=function(){if(BK)return IK;BK=1;var t=e_(),e=pR(),n=t_(),r=L_(),o=function(){if(kK)return PK;kK=1;var t=pF();return PK=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return IK=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}(),o=nL(),i=dR(),u=n(iR().f),a=n([].push),s=t&&e(function(){var t=Object.create(null);return t[2]=2,!u(t,2)}),c=function(e){return function(n){for(var c,l=i(n),f=o(l),d=s&&null===r(l),p=f.length,h=0,v=[];p>h;)c=f[h++],t&&!(d?c in l:u(l,c))||a(v,e?[c,l[c]]:l[c]);return v}};return FK={entries:c(!0),values:c(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var UK,VK={};!function(){if(UK)return VK;UK=1;var t=_j(),e=t_(),n=nL();t({target:"Object",stat:!0,forced:pF()(function(){n(1)})},{keys:function(t){return n(e(t))}})}();var GK=function(){function t(){this.title=dI("formatPainter.title"),this.iconSvg='<svg viewBox="0 0 24 24"><path d="M8 19.997v-5h2v5h9v-7H5v7zm-4-9h16v-3h-6v-4h-4v4H4zm-1 10v-8H2v-6a1 1 0 0 1 1-1h5v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3h5a1 1 0 0 1 1 1v6h-1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(e){return t.attrs.isSelect},t.prototype.isDisabled=function(t){return!1},t.prototype.setFormatHtml=function(e){var n,r;if(e.getSelectionText().length){if(t.attrs.formatStyle){!function(t){var e=yp.Editor.marks(t);e&&Object.keys(e).forEach(function(e){t.removeMark(e)})}(e);try{for(var o=fL(Object.entries(t.attrs.formatStyle)),i=o.next();!i.done;i=o.next()){var u=dL(i.value,2),a=u[0],s=u[1];e.addMark(a,s)}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}t.attrs.formatStyle=null,t.attrs.isSelect=!1}},t.prototype.exec=function(e){t.attrs.isSelect?(t.attrs.isSelect=!1,t.attrs.formatStyle=null):e.getSelectionText().length&&(t.attrs.formatStyle=yp.Editor.marks(e),t.attrs.isSelect=!0),e.blur(),e.focus()},t.attrs={isSelect:!1,formatStyle:null},t}(),WK={menus:[{key:"formatPainter",factory:function(){return new GK}}],editorPlugin:function(t){var e=new GK,n=t.onChange,r=t,o=function(){e.setFormatHtml(r),document.removeEventListener("mouseup",o)};return r.onChange=function(){n(),GK.attrs.isSelect&&(document.removeEventListener("mouseup",o),document.addEventListener("mouseup",o))},r}},qK=function(){function t(){this.title=dI("fullScreen.title"),this.iconSvg=BL,this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return t.isFullScreen},t.prototype.isDisabled=function(t){return!1},t.prototype.getIcon=function(t){return t.isFullScreen?BL:'<svg t="1723361745825" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8705" width="200" height="200"><path d="M703.926857 362.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V128a42.642286 42.642286 0 1 1 85.357715 0v149.357714h149.357714c21.211429 0 38.765714 15.433143 42.057143 35.693715l0.585143 6.948571a42.642286 42.642286 0 0 1-42.642286 42.642286H703.926857zM703.926857 938.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V704c0-23.552 19.090286-42.642286 42.642286-42.642286h192.073143a42.642286 42.642286 0 1 1 0 85.284572l-149.357714 0.073143v149.284571c0 21.211429-15.506286 38.765714-35.84 42.130286l-6.875429 0.512zM319.853714 938.642286a42.642286 42.642286 0 0 1-42.642285-42.642286v-149.284571H127.853714a42.642286 42.642286 0 0 1-42.130285-35.84l-0.585143-6.875429c0-23.552 19.163429-42.642286 42.715428-42.642286h192c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286zM127.853714 362.642286a42.642286 42.642286 0 1 1 0-85.284572H277.211429V128c0-21.211429 15.433143-38.765714 35.766857-42.130286l6.875428-0.512c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286H127.853714z" fill="#333333" p-id="8706"></path></svg>'},t.prototype.getTitle=function(t){return t.isFullScreen?dI("fullScreen.title"):dI("fullScreen.cancelTitle")},t.prototype.exec=function(t,e){t.isFullScreen?t.unFullScreen():t.fullScreen()},t}(),KK={menus:[{key:"fullScreen",factory:function(){return new qK}}]};function YK(t){return function(e,n){return"<h".concat(t,">").concat(n,"</h").concat(t,">")}}var XK,JK={type:"header1",elemToHtml:YK(1)},ZK={type:"header2",elemToHtml:YK(2)},QK={type:"header3",elemToHtml:YK(3)},tY={type:"header4",elemToHtml:YK(4)},eY={type:"header5",elemToHtml:YK(5)},nY={type:"header6",elemToHtml:YK(6)},rY={};function oY(t){var e=dL(yp.Editor.nodes(t,{match:function(t){return eP.getNodeType(t).startsWith("header")},universal:!0}),1),n=e[0];if(null==n)return"paragraph";var r=dL(n,1)[0];return eP.getNodeType(r)}function iY(t){return null==t.selection||!dL(yp.Editor.nodes(t,{match:function(t){var e=eP.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function uY(t,e){e&&yp.Transforms.setNodes(t,{type:e})}!function(){if(XK)return rY;XK=1;var t,e=_j(),n=jL(),r=a_().f,o=cj(),i=Mj(),u=pz(),a=fR(),s=hz(),c=XR(),l=n("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=r(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var n=o(f(arguments.length>1?arguments[1]:void 0,e.length)),r=i(t);return l(e,n,n+r.length)===r}})}();var aY=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return oY(t)},t.prototype.isActive=function(t){return this.getValue(t)===this.type},t.prototype.isDisabled=function(t){return iY(t)},t.prototype.exec=function(t,e){var n=this.type;uY(t,e===n?"paragraph":n)},t}(),sY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="H1",e.type="header1",e}return aL(e,t),e}(aY),cY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="H2",e.type="header2",e}return aL(e,t),e}(aY),lY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="H3",e.type="header3",e}return aL(e,t),e}(aY),fY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="H4",e.type="header4",e}return aL(e,t),e}(aY),dY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="H5",e.type="header5",e}return aL(e,t),e}(aY),pY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="H6",e.type="header6",e}return aL(e,t),e}(aY),hY=function(){function t(){this.title=dI("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 t.prototype.getOptions=function(t){var e=[{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:"header6",text:"H6",styleForRenderMenuList:{"font-size":"11px","font-weight":"bold"}},{value:"paragraph",text:dI("header.text")}],n=this.getValue(t).toString();return e.forEach(function(t){t.value===n?t.selected=!0:t.selected=void 0}),e},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){return oY(t)},t.prototype.isDisabled=function(t){return iY(t)},t.prototype.exec=function(t,e){uY(t,e.toString())},t}(),vY={key:"headerSelect",factory:function(){return new hY}},gY={key:"header1",factory:function(){return new sY}},yY={key:"header2",factory:function(){return new cY}},mY={key:"header3",factory:function(){return new lY}},bY={key:"header4",factory:function(){return new fY}},EY={key:"header5",factory:function(){return new dY}},wY={key:"header6",factory:function(){return new pY}};function SY(t){return function(e,n,r){var o=Rp(e);return 0===(n=n.filter(function(t){return!!yp.Text.isText(t)||!!r.isInline(t)})).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header".concat(t),children:n}}}var CY={selector:"h1:not([data-w-e-type])",parseElemHtml:SY(1)},DY={selector:"h2:not([data-w-e-type])",parseElemHtml:SY(2)},OY={selector:"h3:not([data-w-e-type])",parseElemHtml:SY(3)},AY={selector:"h4:not([data-w-e-type])",parseElemHtml:SY(4)},xY={selector:"h5:not([data-w-e-type])",parseElemHtml:SY(5)},TY={selector:"h6:not([data-w-e-type])",parseElemHtml:SY(6)};function NY(t){return function(e,n,r){return dv("h".concat(t),null,n)}}var PY={renderElems:[{type:"header1",renderElem:NY(1)},{type:"header2",renderElem:NY(2)},{type:"header3",renderElem:NY(3)},{type:"header4",renderElem:NY(4)},{type:"header5",renderElem:NY(5)},{type:"header6",renderElem:NY(6)}],elemsToHtml:[JK,ZK,QK,tY,eY,nY],parseElemsHtml:[CY,DY,OY,AY,xY,TY],menus:[vY,gY,yY,mY,bY,EY,wY],editorPlugin:function(t){var e=t.insertBreak,n=t;return n.insertBreak=function(){var r=dL(yp.Editor.nodes(n,{match:function(t){return eP.getNodeType(t).startsWith("header")},universal:!0}),1)[0];r&&eP.isSelectionAtLineEnd(t,r[1])?yp.Transforms.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):e()},n}},kY=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==eP.getSelectedNodeByType(t,"image")},t.prototype.exec=function(t,e){this.isDisabled(t)||yp.Transforms.removeNodes(t,{match:function(t){return eP.checkNodeType(t,"image")}})},t}();function IY(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(vh())}function BY(t){return t.replace(/</g,"<").replace(/>/g,">")}function FY(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!dL(yp.Editor.nodes(t,{match:function(e){var n=eP.getNodeType(e);return"code"===n||"pre"===n||"link"===n||"list-item"===n||!!n.startsWith("header")||"blockquote"===n||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]}function RY(t,e,n){return cL(this,arguments,void 0,function(t,e,n,r,o){var i,u;return void 0===r&&(r=""),void 0===o&&(o=""),lL(this,function(a){switch(a.label){case 0:return(i=e.getMenuConfig(t).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if("string"==typeof(u=a.sent()))return e.alert(u,"error"),[2,!1];if(null==u)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function _Y(t,e,n){return cL(this,void 0,void 0,function(){var r;return lL(this,function(o){switch(o.label){case 0:return(r=e.getMenuConfig(t).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function jY(t,e){return cL(this,arguments,void 0,function(t,e,n,r){var o,i,u;return void 0===n&&(n=""),void 0===r&&(r=""),lL(this,function(a){switch(a.label){case 0:return[4,RY("insertImage",t,e,n,r)];case 1:return a.sent()?[4,_Y("insertImage",t,e)]:[2];case 2:return o=a.sent(),i={type:"image",src:BY(o),href:r,alt:n,style:{},children:[{text:""}]},null===t.selection&&t.restoreSelection(),eP.getSelectedNodeByType(t,"image")&&t.move(1),FY(t)||(yp.Transforms.insertNodes(t,i),(u=t.getMenuConfig("insertImage").onInsertedImage)&&u(i)),[2]}})})}function LY(){return IY("w-e-edit-image")}var MY=function(){function t(){this.title=dI("image.edit"),this.iconSvg=kL,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=LY(),this.altInputId=LY(),this.hrefInputId=LY(),this.buttonId=LY()}return t.prototype.getValue=function(t){return""},t.prototype.getImageNode=function(t){return eP.getSelectedNodeByType(t,"image")},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==eP.getSelectedNodeByType(t,"image")},t.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,u=n.buttonId,a=this.getImageNode(t);if(null==a)throw new Error("Not found selected image node");var s=dL(CI(dI("image.src"),r),2),c=s[0],l=Rp(s[1]),f=dL(CI(dI("image.desc"),o),2),d=f[0],p=Rp(f[1]),h=dL(CI(dI("image.link"),i),2),v=h[0],g=Rp(h[1]),y=dL(DI(u,dI("common.ok")),1)[0];if(null==this.$content){var m=Rp("<div></div>");m.on("click","#".concat(u),function(n){n.preventDefault();var u=m.find("#".concat(r)).val(),a=m.find("#".concat(o)).val(),s=m.find("#".concat(i)).val();e.updateImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=m}var b=this.$content;b.empty(),b.append(c),b.append(d),b.append(v),b.append(y);var E=a,w=E.src,S=E.alt,C=void 0===S?"":S,D=E.href,O=void 0===D?"":D;return l.val(w),p.val(C),g.val(O),setTimeout(function(){l.focus()}),b[0]},t.prototype.updateImage=function(t,e,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),e&&(t.restoreSelection(),this.isDisabled(t)||function(t,e){cL(this,arguments,void 0,function(t,e,n,r,o){var i,u,a,s,c,l;return void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),lL(this,function(f){switch(f.label){case 0:return[4,RY("editImage",t,e,n,r)];case 1:return f.sent()?[4,_Y("editImage",t,e)]:[2];case 2:return i=f.sent(),null==(u=eP.getSelectedNodeByType(t,"image"))||(a=u.style,s={src:i,alt:n,href:r,style:sL(sL({},void 0===a?{}:a),o)},yp.Transforms.setNodes(t,s,{match:function(t){return eP.checkNodeType(t,"image")}}),c=eP.getSelectedNodeByType(t,"image"),(l=t.getMenuConfig("editImage").onUpdatedImage)&&l(c)),[2]}})})}(t,e,n,r,o))},t}();function zY(){return IY("w-e-insert-image")}var HY=function(){function t(){this.title=dI("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=zY(),this.heightInputId=zY(),this.buttonId=zY()}return t.prototype.getSelectedImageNode=function(t){return eP.getSelectedNodeByType(t,"image")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedImageNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=e.widthInputId,r=e.heightInputId,o=e.buttonId,i=dL(CI(dI("image.width"),n,"auto"),2),u=i[0],a=Rp(i[1]),s=dL(CI(dI("image.height"),r,"auto"),2),c=s[0],l=Rp(s[1]),f=dL(DI(o,dI("image.ok")),1)[0],d=this.getSelectedImageNode(t);if(null==this.$content){var p=Rp("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(n)).val().trim(),i=p.find("#".concat(r)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s=function(t){return/^\d+(\.\d+)?px$/.test(t)},c="auto",l="auto";u(o)?c=o:a(o)?c="".concat(parseInt(o,10),"px"):s(o)&&(c=o),u(i)?l=i:a(i)?l="".concat(parseInt(i,10),"px"):s(i)&&(l=i);var f=d.style,h=void 0===f?{}:f;t.restoreSelection();var v=sL(sL({},h),{style:{width:c,height:l}});yp.Transforms.setNodes(t,v,{match:function(t){return eP.checkNodeType(t,"image")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.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 a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function $Y(){return IY("w-e-insert-image")}var UY,VY,GY,WY,qY,KY=function(){function t(){this.title=dI("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=$Y(),this.altInputId=$Y(),this.hrefInputId=$Y(),this.buttonId=$Y()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return FY(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.altInputId,i=n.hrefInputId,u=n.buttonId,a=dL(CI(dI("image.src"),r),2),s=a[0],c=Rp(a[1]),l=dL(CI(dI("image.desc"),o),2),f=l[0],d=Rp(l[1]),p=dL(CI(dI("image.link"),i),2),h=p[0],v=Rp(p[1]),g=dL(DI(u,dI("common.ok")),1)[0];if(null==this.$content){var y=Rp("<div></div>");y.on("click","#".concat(u),function(n){n.preventDefault();var u=y.find("#".concat(r)).val().trim(),a=y.find("#".concat(o)).val().trim(),s=y.find("#".concat(i)).val().trim();e.insertImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=y}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(h),m.append(g),c.val(""),d.val(""),v.val(""),setTimeout(function(){c.focus()}),m[0]},t.prototype.insertImage=function(t,e,n,r){void 0===n&&(n=""),void 0===r&&(r=""),e&&(t.restoreSelection(),this.isDisabled(t)||jY(t,e,n,r))},t}(),YY=function(){function t(){this.title=dI("image.viewLink"),this.iconSvg=IL,this.tag="button"}return t.prototype.getValue=function(t){var e=eP.getSelectedNodeByType(t,"image");return e&&e.href||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!this.getValue(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View image link failed, image.href is '".concat(e,"'"));window.open(e,"_blank")}},t}(),XY=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.getSelectedNode=function(t){return eP.getSelectedNodeByType(t,"image")},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedNode(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=this.getSelectedNode(t);if(null!=n){var r=eP.getHoverbar(t);r&&r.hideAndClean();var o=n.style,i={style:sL(sL({},void 0===o?{}:o),{width:this.value,height:""})};yp.Transforms.setNodes(t,i,{match:function(t){return eP.checkNodeType(t,"image")}})}}},t}(),JY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="30%",e.value="30%",e}return aL(e,t),e}(XY),ZY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="50%",e.value="50%",e}return aL(e,t),e}(XY),QY=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title="100%",e.value="100%",e}return aL(e,t),e}(XY),tX={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,n){return!0},parseImageSrc:function(t){return t}},eX={key:"insertImage",factory:function(){return new KY},config:tX},nX={key:"deleteImage",factory:function(){return new kY}},rX={key:"editImage",factory:function(){return new MY},config:tX},oX={key:"viewImageLink",factory:function(){return new YY}},iX={key:"imageWidth30",factory:function(){return new JY}},uX={key:"imageWidth50",factory:function(){return new ZY}},aX={key:"imageWidth100",factory:function(){return new QY}},sX={key:"editorImageSizeMenu",factory:function(){return new HY}},cX={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t),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:""}]}}},lX={};function fX(t,e){var n=eP.findKey(t,e).id;return"w-e-image-container-".concat(n)}!function(){if(qY)return lX;qY=1;var t=_j(),e=aR(),n=aj(),r=function(){if(VY)return UY;VY=1;var t=aR();return UY=t(1.1.valueOf)}(),o=function(){if(WY)return GY;WY=1;var t=aj(),e=Mj(),n=fR(),r=RangeError;return GY=function(o){var i=e(n(this)),u="",a=t(o);if(a<0||a===1/0)throw new r("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(i+=i))1&a&&(u+=i);return u}}(),i=pF(),u=RangeError,a=String,s=Math.floor,c=e(o),l=e("".slice),f=e(1.1.toFixed),d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)},p=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=s(o/1e7)},h=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=s(r/e),r=r%e*1e7},v=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=a(t[e]);n=""===n?r:n+c("0",7-r.length)+r}return n};t({target:"Number",proto:!0,forced:i(function(){return"0.000"!==f(8e-5,3)||"1"!==f(.9,0)||"1.25"!==f(1.255,2)||"1000000000000000128"!==f(0xde0b6b3a7640080,0)})||!i(function(){f({})})},{toFixed:function(t){var e,o,i,s,f=r(this),g=n(t),y=[0,0,0,0,0,0],m="",b="0";if(g<0||g>20)throw new u("Incorrect fraction digits");if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return a(f);if(f<0&&(m="-",f=-f),f>1e-21)if(o=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(f*d(2,69,1))-69)<0?f*d(2,-e,1):f/d(2,e,1),o*=4503599627370496,(e=52-e)>0){for(p(y,0,o),i=g;i>=7;)p(y,1e7,0),i-=7;for(p(y,d(10,i,1),0),i=e-1;i>=23;)h(y,1<<23),i-=23;h(y,1<<i),p(y,1,1),h(y,2),b=v(y)}else p(y,0,o),p(y,1<<-e,0),b=v(y)+c("0",g);return g>0?m+((s=b.length)<=g?"0."+c("0",g-s)+b:l(b,0,s-g)+"."+l(b,s-g)):m+b}})}();var dX={type:"image",renderElem:function(t,e,n){var r=t,o=r.src,i=r.alt,u=void 0===i?"":i,a=r.href,s=void 0===a?"":a,c=r.style,l=void 0===c?{}:c,f=l.width,d=void 0===f?"":f,p=l.height,h=void 0===p?"":p,v=eP.isNodeSelected(n,t),g={maxWidth:"100%"};d&&(g.width="100%"),h&&(g.height="100%");var y=dv("img",{style:g,src:o,alt:u,"data-href":s}),m=n.isDisabled();return v&&!m?function(t,e,n,r){var o=Rp("body"),i=fX(t,e),u=r.width,a=r.height,s=0,c=0,l=0,f=0,d=!1,p=null,h=Th(function(t){t.preventDefault();var e=t.clientX,n=c+(d?s-e:e-s),r=l*(n/c);n>f-6||null!=p&&(n<=15||r<=15||(p.css("width","".concat(n,"px")),p.css("height","".concat(r,"px"))))},100);function v(n){if(o.off("mousemove",h),null!=p){var r=p.width().toFixed(2),i=p.height().toFixed(2),u={style:sL(sL({},e.style),{width:"".concat(r,"px"),height:"".concat(i,"px")})};yp.Transforms.setNodes(t,u,{at:eP.findPath(t,e)}),o.off("mouseup",v)}}function g(e,n){p=function(){var t=Rp("#".concat(i));if(0===t.length)throw new Error("Cannot find image container elem");return t}(),s=e,f=n;var r=p.find("img");if(0===r.length)throw new Error("Cannot find image elem");c=r.width(),l=r.height(),o.on("mousemove",h),o.on("mouseup",v);var u=eP.getHoverbar(t);u&&u.hideAndClean()}var y={};return u&&(y.width=u),a&&(y.height=a),y.boxShadow="0 0 0 1px #B4D5FF",dv("div",{id:i,style:y,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(n){var r=Rp(n.target);if(r.hasClass("w-e-image-dragger")){n.preventDefault(),(r.hasClass("left-top")||r.hasClass("left-bottom"))&&(d=!0);var o=eP.getParentNode(t,e);if(null!=o){var i=eP.toDOMNode(t,o),u=i.getBoundingClientRect?i.getBoundingClientRect():{width:0},a=window.getComputedStyle(i),s=parseFloat(a.paddingLeft),c=parseFloat(a.paddingRight),l=parseFloat(a.borderLeftWidth),f=parseFloat(a.borderRightWidth);g(n.clientX,u.width-s-c-l-f)}}}}},n,dv("div",{className:"w-e-image-dragger left-top"}),dv("div",{className:"w-e-image-dragger right-top"}),dv("div",{className:"w-e-image-dragger left-bottom"}),dv("div",{className:"w-e-image-dragger right-bottom"}))}(n,t,y,{width:d,height:h}):function(t,e,n,r){var o=r.width,i=r.height,u={};return o&&(u.width=o),i&&(u.height=i),dv("div",{id:fX(t,e),style:u,className:"w-e-image-container"},n)}(n,t,y,{width:d,height:h})}},pX={renderElems:[dX],elemsToHtml:[{type:"image",elemToHtml:function(t,e){var n=t,r=n.src,o=n.alt,i=void 0===o?"":o,u=n.href,a=void 0===u?"":u,s=n.width,c=void 0===s?"":s,l=n.height,f=void 0===l?"":l,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: ".concat(v,";")),y&&(m+="height: ".concat(y,";")),'<img src="'.concat(r,'" alt="').concat(i,'" data-href="').concat(a,'" width="').concat(c,'" height="').concat(f,'" style="').concat(m,'"/>')}}],parseElemsHtml:[cX],menus:[eX,nX,rX,oX,iX,uX,aX,sX],editorPlugin:function(t){var e=t.isInline,n=t.isVoid,r=t;return r.isInline=function(t){return"image"===t.type||e(t)},r.isVoid=function(t){return"image"===t.type||n(t)},r}},hX=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){var e=dL(yp.Editor.nodes(t,{match:function(t){return!!t.indent},universal:!0}),1),n=e[0];return null==n?"":dL(n,1)[0].indent||""},t.prototype.isActive=function(t){return!1},t.prototype.getMatchNode=function(t){var e=dL(yp.Editor.nodes(t,{match:function(t){var e=eP.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t}(),vX=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("indent.decrease"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',e}return aL(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!e.indent},e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{indent:null},{match:function(t){return yp.Element.isElement(t)}})},e}(hX),gX=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("indent.increase"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',e.DEFAULT_INDENT_VALUE="2em",e}return aL(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!!e.indent},e.prototype.getIndentValue=function(t){var e=this.getMatchNode(t);if(!e)return this.DEFAULT_INDENT_VALUE;var n=e.children.filter(yp.Text.isText)[0];if(!n||!n.fontSize)return this.DEFAULT_INDENT_VALUE;var r=n.fontSize,o=parseInt(n.fontSize,10),i=r.replace("".concat(o),"");return"".concat(2*o).concat(i)},e.prototype.exec=function(t,e){var n=this.getIndentValue(t);yp.Transforms.setNodes(t,{indent:n},{match:function(t){return yp.Element.isElement(t)},mode:"highest"})},e}(hX),yX={renderStyle:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.indent,r=e;return n&&pH(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.indent;if(!n)return e;var r=Rp(e);return r.css("text-indent",n),BM(r)},preParseHtml:[{selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=Rp(t),n=RM(e,"padding-left");return/^[1-9]\d*em$/.test(n)&&e.css("text-indent","2em"),/^[1-9]\d*px$/.test(n)&&parseInt(n,10)%32==0&&e.css("text-indent","2em"),e[0]}}],parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;var o=e,i=RM(r,"text-indent"),u=parseInt(i,10);return i&&u>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new gX}},{key:"delIndent",factory:function(){return new vX}}]},mX=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!eP.getSelectedElems(t).some(function(e){var n=e.type;return!(!yp.Editor.isVoid(t,e)||!yp.Editor.isBlock(t,e)||"video"===n)||!!["pre","code"].includes(n)})},t}(),bX=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("justify.center"),e.iconSvg='<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>',e}return aL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"center"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(mX),EX=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("justify.justify"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',e}return aL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"justify"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(mX),wX=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("justify.left"),e.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>',e}return aL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"left"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(mX),SX=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.title=dI("justify.right"),e.iconSvg='<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>',e}return aL(e,t),e.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{textAlign:"right"},{match:function(e){return yp.Element.isElement(e)&&!t.isInline(e)}})},e}(mX),CX={renderStyle:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.textAlign,r=e;return n&&pH(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=Rp(e);return r.css("text-align",n),BM(r)},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;var o=e,i=RM(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new wX}},{key:"justifyRight",factory:function(){return new SX}},{key:"justifyCenter",factory:function(){return new bX}},{key:"justifyJustify",factory:function(){return new EX}}]},DX=function(){function t(){this.title=dI("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 t.prototype.getOptions=function(t){var e=[],n=t.getMenuConfig("lineHeight").lineHeightList,r=void 0===n?[]:n;e.push({text:dI("lineHeight.default"),value:""}),r.forEach(function(t){e.push({text:t,value:t})});var o=this.getValue(t);return e.forEach(function(t){t.value===o?t.selected=!0:t.selected=void 0}),e},t.prototype.getMatchNode=function(t){var e=dL(yp.Editor.nodes(t,{match:function(t){var e=eP.getNodeType(t);return!!e.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(e)},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getMatchNode(t);return null==e?"":yp.Element.isElement(e)&&e.lineHeight||""},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getMatchNode(t)},t.prototype.exec=function(t,e){yp.Transforms.setNodes(t,{lineHeight:e.toString()},{mode:"highest"})},t}(),OX={renderStyle:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.lineHeight,r=e;return n&&pH(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!yp.Element.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=Rp(e);return r.css("line-height",n),BM(r)},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,u=void 0===i?[]:i,a=RM(r,"line-height");return a&&u.includes(a)&&(o.lineHeight=a),o},menus:[{key:"lineHeight",factory:function(){return new DX},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]};function AX(t,e,n,r){return cL(this,void 0,void 0,function(){var o,i;return lL(this,function(u){switch(u.label){case 0:return(o=e.getMenuConfig(t).checkLink)?[4,o(n,r)]:[3,2];case 1:if("string"==typeof(i=u.sent()))return e.alert(i,"error"),[2,!1];if(null==i)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function xX(t,e,n){return cL(this,void 0,void 0,function(){var r;return lL(this,function(o){switch(o.label){case 0:return(r=e.getMenuConfig(t).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function TX(t){return null==t.selection||!!eP.getSelectedElems(t).some(function(e){var n=e.type;return!!t.isVoid(e)||!!["pre","code","link"].includes(n)})}function NX(t,e){return{type:"link",url:BY(t),children:e?[{text:e}]:[]}}function PX(t,e,n){return cL(this,void 0,void 0,function(){var r,o,i,u,a;return lL(this,function(s){switch(s.label){case 0:return n?(e||(e=n),t.restoreSelection(),TX(t)?[2]:[4,AX("insertLink",t,e,n)]):[2];case 1:return s.sent()?[4,xX("insertLink",t,n)]:[2];case 2:if(r=s.sent(),null==(o=t.selection))return[2];if(yp.Range.isCollapsed(o)){if((u=eP.getLeftLengthOfMaxLength(t))<=0)return[2];t.insertText(" "),u<e.length+1&&(e=e.slice(0,u-1)),a=NX(r,e),yp.Transforms.insertNodes(t,a),t.insertFragment([{text:" "}])}else if((i=yp.Editor.string(t,o))!==e){if((u=eP.getLeftLengthOfMaxLength(t))<=0)return[2];u<i.length-e.length&&(e=e.slice(0,u)),t.deleteFragment(),a=NX(r,e),yp.Transforms.insertNodes(t,a)}else a=NX(r),yp.Transforms.wrapNodes(t,a,{split:!0}),yp.Transforms.collapse(t,{edge:"end"});return[2]}})})}function kX(){return IY("w-e-update-link")}var IX=function(){function t(){this.title=dI("link.edit"),this.iconSvg=kL,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=kX(),this.buttonId=kX()}return t.prototype.getSelectedLinkElem=function(t){var e=eP.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.getModalPositionNode=function(t){return eP.getSelectedNodeByType(t,"link")},t.prototype.getModalContentElem=function(t){var e=this.urlInputId,n=this.buttonId,r=dL(CI(dI("link.url"),e),2),o=r[0],i=Rp(r[1]),u=dL(DI(n,dI("common.ok")),1)[0];if(null==this.$content){var a=Rp("<div></div>");a.on("click","#".concat(n),function(n){n.preventDefault(),t.restoreSelection();var r=eP.getSelectedNodeByType(t,"link"),o=r?yp.Node.string(r):"",i=a.find("#".concat(e)).val();!function(t,e,n){cL(this,void 0,void 0,function(){var r,o;return lL(this,function(i){switch(i.label){case 0:return n?[4,AX("editLink",t,e,n)]:[2];case 1:return i.sent()?[4,xX("editLink",t,n)]:[2];case 2:return r=i.sent(),o={url:BY(r)},yp.Transforms.setNodes(t,o,{match:function(t){return eP.checkNodeType(t,"link")}}),[2]}})})}(t,o,i),t.hidePanelOrModal()}),this.$content=a}var s=this.$content;s.empty(),s.append(o),s.append(u);var c=this.getValue(t);return i.val(c),setTimeout(function(){i.focus()}),s[0]},t}();function BX(){return IY("w-e-insert-link")}var FX,RX,_X=function(){function t(){this.title=dI("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=BX(),this.urlInputId=BX(),this.buttonId=BX()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return TX(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=t.selection,n=this,r=n.textInputId,o=n.urlInputId,i=n.buttonId,u=dL(CI(dI("link.text"),r),2),a=u[0],s=Rp(u[1]),c=dL(CI(dI("link.url"),o),2),l=c[0],f=Rp(c[1]),d=dL(DI(i,dI("common.ok")),1)[0];if(null==this.$content){var p=Rp("<div></div>");p.on("click","#".concat(i),function(e){e.preventDefault();var n=p.find("#".concat(r)).val(),i=p.find("#".concat(o)).val();PX(t,n,i),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(a),h.append(l),h.append(d),null==e||yp.Range.isCollapsed(e))s.val("");else{var v=yp.Editor.string(t,e);s.val(v)}return f.val(""),setTimeout(function(){s.focus()}),h[0]},t}(),jX=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==eP.getSelectedNodeByType(t,"link")},t.prototype.exec=function(t,e){this.isDisabled(t)||yp.Transforms.unwrapNodes(t,{match:function(t){return eP.checkNodeType(t,"link")}})},t}(),LX=function(){function t(){this.title=dI("link.view"),this.iconSvg=IL,this.tag="button"}return t.prototype.getSelectedLinkElem=function(t){var e=eP.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View link failed, link url is '".concat(e,"'"));window.open(e,"_blank")}},t}(),MX={checkLink:function(t,e){return!0},parseLinkUrl:function(t){return t}},zX={key:"insertLink",factory:function(){return new _X},config:MX},HX={key:"editLink",factory:function(){return new IX},config:MX},$X={key:"unLink",factory:function(){return new jX}},UX={key:"viewLink",factory:function(){return new LX}},VX={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t).text().replace(/\s+/gm," ");return e.length>0?{text:e.filter(function(t){return yp.Text.isText(t)}).map(function(t){return t.text}).join("")||r}:{text:r}}},GX=QB(function(){if(RX)return FX;RX=1,FX=function(r){if("string"!=typeof r)return!1;var o=r.match(t);if(!o)return!1;var i=o[1];return!!i&&!(!e.test(i)&&!n.test(i))};var t=/^(?:\w+:)?\/\/(\S+)$/,e=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/;return FX}()),WX={type:"link",renderElem:function(t,e,n){var r=t,o=r.url,i=r.target;return dv("a",{href:o,target:void 0===i?"_blank":i},e)}},qX={renderElems:[WX],elemsToHtml:[{type:"link",elemToHtml:function(t,e){var n=t,r=n.url,o=n.target,i=void 0===o?"_blank":o;return'<a href="'.concat(r,'" target="').concat(i,'">').concat(e,"</a>")}}],parseElemsHtml:[VX],menus:[zX,HX,$X,UX],editorPlugin:function(t){var e=t.isInline,n=t.insertData,r=t.normalizeNode,o=t;return o.isInline=function(t){return"link"===t.type||e(t)},o.insertData=function(t){var e=t.getData("text/plain");if(GX(e)){if(/<img[^>]+>/.test(t.getData("text/html")))n(t);else if(!TX(o)){var r=o.selection;if(null!=r){var i=yp.Editor.string(o,r);PX(o,i,e)}}}else n(t)},o.normalizeNode=function(t){var e=dL(t,2),n=e[0],i=e[1];return"link"!==eP.getNodeType(n)?r([n,i]):""===yp.Node.string(n)?yp.Transforms.removeNodes(o,{at:i}):r([n,i])},o}},KX={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);return 0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}};function YX(t){var e=dL(yp.Editor.nodes(t,{match:function(e){return t.children[0]===e},mode:"highest"}),1)[0];if(null==e)return!1;var n=e[0];if(!yp.Element.isElement(n))return!1;if("paragraph"===n.type)return!1;if(""!==yp.Node.string(n))return!1;var r=n.children,o=void 0===r?[]:r;return!!yp.Text.isText(o[0])&&(yp.Transforms.setNodes(t,{type:"paragraph"}),!0)}var XX={type:"paragraph",renderElem:function(t,e,n){return dv("p",null,e)}},JX={renderElems:[XX],elemsToHtml:[{type:"paragraph",elemToHtml:function(t,e){return""===e?"<p><br></p>":"<p>".concat(e,"</p>")}}],parseElemsHtml:[KX],editorPlugin:function(t){var e=t.deleteBackward,n=t.deleteForward,r=t;return r.deleteBackward=function(t){YX(r)||e(t)},r.deleteForward=function(t){YX(r)||n(t)},r}};function ZX(t,e){return null==t.selection||!!dL(yp.Editor.nodes(t,{match:function(e){return"pre"===eP.getNodeType(e)||!!yp.Editor.isVoid(t,e)},universal:!0}),1)[0]}function QX(t,e){Object.keys(e).forEach(function(e){"text"!==e&&yp.Editor.removeMark(t,e)})}var tJ,eJ=function(){function t(){this.marksNeedToRemove=[],this.tag="button"}return t.prototype.getValue=function(t){var e=this.mark,n=yp.Editor.marks(t);return n?n[e]:!!dL(yp.Editor.nodes(t,{match:function(t){return!0===t[e]}}),1)[0]},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return ZX(t,this.mark)},t.prototype.exec=function(t,e){var n=this.mark,r=this.marksNeedToRemove;e?t.removeMark(n):(t.addMark(n,!0),r&&r.forEach(function(e){return t.removeMark(e)}))},t}(),nJ=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.mark="bold",e.title=dI("textStyle.bold"),e.iconSvg='<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>',e.hotkey="mod+b",e}return aL(e,t),e}(eJ),rJ=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return ZX(t)},t.prototype.exec=function(t,e){var n,r,o=yp.Editor.nodes(t,{match:function(t){return yp.Text.isText(t)},universal:!0});try{for(var i=fL(o),u=i.next();!u.done;u=i.next())QX(t,u.value[0])}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t}(),oJ=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.mark="code",e.title=dI("textStyle.code"),e.iconSvg='<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>',e.hotkey="mod+e",e}return aL(e,t),e}(eJ),iJ=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.mark="italic",e.title=dI("textStyle.italic"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',e.hotkey="mod+i",e}return aL(e,t),e}(eJ),uJ=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.mark="sub",e.marksNeedToRemove=["sup"],e.title=dI("textStyle.sub"),e.iconSvg='<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>',e.hotkey="",e}return aL(e,t),e}(eJ),aJ=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.mark="sup",e.marksNeedToRemove=["sub"],e.title=dI("textStyle.sup"),e.iconSvg='<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>',e.hotkey="",e}return aL(e,t),e}(eJ),sJ=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.mark="through",e.title=dI("textStyle.through"),e.iconSvg='<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>',e.hotkey="mod+shift+x",e}return aL(e,t),e}(eJ),cJ=function(t){function e(){var e=t.apply(this,pL([],dL(arguments),!1))||this;return e.mark="underline",e.title=dI("textStyle.underline"),e.iconSvg='<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>',e.hotkey="mod+u",e}return aL(e,t),e}(eJ),lJ={key:"bold",factory:function(){return new nJ}},fJ={key:"code",factory:function(){return new oJ}},dJ={key:"italic",factory:function(){return new iJ}},pJ={key:"through",factory:function(){return new sJ}},hJ={key:"underline",factory:function(){return new cJ}},vJ={key:"sup",factory:function(){return new aJ}},gJ={key:"sub",factory:function(){return new uJ}},yJ={key:"clearStyle",factory:function(){return new rJ}},mJ={};!function(){if(tJ)return mJ;tJ=1;var t=_j(),e=Mz();t({target:"String",proto:!0,forced:zz()("bold")},{bold:function(){return e(this,"b","","")}})}();var bJ,EJ={};!function(){if(bJ)return EJ;bJ=1;var t=_j(),e=Mz();t({target:"String",proto:!0,forced:zz()("italics")},{italics:function(){return e(this,"i","","")}})}();var wJ,SJ={};!function(){if(wJ)return SJ;wJ=1;var t=_j(),e=Mz();t({target:"String",proto:!0,forced:zz()("sub")},{sub:function(){return e(this,"sub","","")}})}();var CJ,DJ={};function OJ(t,e){return 0!==t.length&&(!!t[0].matches(e)||t.find(e).length>0)}function AJ(t,e){var n=e,r=t,o=r.bold,i=r.italic,u=r.underline,a=r.code,s=r.through,c=r.sub,l=r.sup;return o&&(n="<strong>".concat(n,"</strong>")),a&&(n="<code>".concat(n,"</code>")),i&&(n="<em>".concat(n,"</em>")),u&&(n="<u>".concat(n,"</u>")),s&&(n="<s>".concat(n,"</s>")),c&&(n="<sub>".concat(n,"</sub>")),l&&(n="<sup>".concat(n,"</sup>")),n}!function(){if(CJ)return DJ;CJ=1;var t=_j(),e=Mz();t({target:"String",proto:!0,forced:zz()("sup")},{sup:function(){return e(this,"sup","","")}})}();var xJ={renderStyle:function(t,e){var n=t,r=n.bold,o=n.italic,i=n.underline,u=n.code,a=n.through,s=n.sub,c=n.sup,l=e;return r&&(l=dv("strong",null,l)),u&&(l=dv("code",null,l)),o&&(l=dv("em",null,l)),i&&(l=dv("u",null,l)),a&&(l=dv("s",null,l)),s&&(l=dv("sub",null,l)),c&&(l=dv("sup",null,l)),l},menus:[lJ,hJ,dJ,pJ,fJ,gJ,vJ,yJ],styleToHtml:function(t,e){if(!yp.Text.isText(t))return e;if(IM(e))return AJ(t,e);var n=Rp(e),r=n.html();return r=AJ(t,r),n.html(r),BM(n)},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Text.isText(e))return e;var o=e;return OJ(r,"b,strong")&&(o.bold=!0),OJ(r,"i,em")&&(o.italic=!0),OJ(r,"u")&&(o.underline=!0),OJ(r,"s,strike")&&(o.through=!0),OJ(r,"sub")&&(o.sub=!0),OJ(r,"sup")&&(o.sup=!0),OJ(r,"code")&&(o.code=!0),o}},TJ=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!!eP.getSelectedNodeByType(t,"todo")},t.prototype.isDisabled=function(t){return null==t.selection||!!eP.getSelectedElems(t).some(function(e){if(yp.Editor.isVoid(t,e)&&yp.Editor.isBlock(t,e))return!0;var n=e.type;return!!["pre","table","list-item"].includes(n)})},t.prototype.exec=function(t,e){var n=this.isActive(t);yp.Transforms.setNodes(t,{type:n?"paragraph":"todo"})},t}(),NJ={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,n){var r=Rp(t);0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{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:e}}},PJ={type:"todo",renderElem:function(t,e,n){var r=!1;n.isDisabled()&&(r=!0);var o=dv("div",{style:{margin:"5px 0"}},dv("span",{contentEditable:!1,style:{marginRight:"0.5em"}},dv("input",{type:"checkbox",checked:t.checked,disabled:r,on:{change:function(e){var r=eP.findPath(n,t),o={checked:e.target.checked};yp.Transforms.setNodes(n,o,{at:r})}}})),dv("span",null,e));return o}},kJ={renderElems:[PJ],elemsToHtml:[{type:"todo",elemToHtml:function(t,e){var n=t.checked;return'<div data-w-e-type="todo"><input type="checkbox" disabled '.concat(n?"checked":"",">").concat(e,"</div>")}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(t){var e=Rp(t).find("li"),n=Rp('<div data-w-e-type="todo"></div>'),r=e.find("input[type]");return n.append(r),e.children()[0].remove(),n[0].innerHTML+=e[0].innerHTML,n[0]}}],parseElemsHtml:[NJ],menus:[{key:"todo",factory:function(){return new TJ}}],editorPlugin:function(t){var e=t.deleteBackward,n=t;return n.deleteBackward=function(n){var r=t.selection;if(r&&yp.Range.isCollapsed(r)){var o=eP.getSelectedNodeByType(t,"todo");if(o&&0===yp.Node.string(o).length)return void yp.Transforms.setNodes(t,{type:"paragraph"},{mode:"highest"})}e(n)},n}},IJ=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.redo&&t.redo()},t}(),BJ=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.undo&&t.undo()},t}(),FJ=[xJ,PH,HK,yX,CX,OX,pX,FH,_H,qX,Wz,KM,PY,JX,kJ,WK,{menus:[{key:"redo",factory:function(){return new IJ}},{key:"undo",factory:function(){return new BJ}}]},KK,IH];lI("en",{highLightModule:{selectLang:"Language"}}),lI("zh-CN",{highLightModule:{selectLang:"选择语言"}});var RJ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var _J,jJ,LJ={};function MJ(){if(jJ)return _J;jJ=1;var t=function(t){return t&&t.Math===Math&&t};return _J=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof RJ&&RJ)||t("object"==typeof _J&&_J)||function(){return this}()||Function("return this")()}var zJ,HJ,$J,UJ,VJ,GJ,WJ,qJ,KJ={};function YJ(){return HJ?zJ:(HJ=1,zJ=function(t){try{return!!t()}catch(t){return!0}})}function XJ(){if(UJ)return $J;UJ=1;var t=YJ();return $J=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function JJ(){if(GJ)return VJ;GJ=1;var t=YJ();return VJ=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function ZJ(){if(qJ)return WJ;qJ=1;var t=JJ(),e=Function.prototype.call;return WJ=t?e.bind(e):function(){return e.apply(e,arguments)},WJ}var QJ,tZ,eZ,nZ,rZ,oZ,iZ,uZ,aZ,sZ,cZ,lZ,fZ,dZ,pZ,hZ,vZ,gZ,yZ,mZ,bZ,EZ,wZ,SZ,CZ,DZ,OZ,AZ,xZ,TZ,NZ,PZ,kZ,IZ,BZ,FZ,RZ,_Z,jZ,LZ,MZ,zZ={};function HZ(){if(QJ)return zZ;QJ=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return zZ.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,zZ}function $Z(){return eZ?tZ:(eZ=1,tZ=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function UZ(){if(rZ)return nZ;rZ=1;var t=JJ(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return nZ=t?r:function(t){return function(){return n.apply(t,arguments)}},nZ}function VZ(){if(iZ)return oZ;iZ=1;var t=UZ(),e=t({}.toString),n=t("".slice);return oZ=function(t){return n(e(t),8,-1)}}function GZ(){if(aZ)return uZ;aZ=1;var t=UZ(),e=YJ(),n=VZ(),r=Object,o=t("".split);return uZ=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function WZ(){return cZ?sZ:(cZ=1,sZ=function(t){return null==t})}function qZ(){if(fZ)return lZ;fZ=1;var t=WZ(),e=TypeError;return lZ=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function KZ(){if(pZ)return dZ;pZ=1;var t=GZ(),e=qZ();return dZ=function(n){return t(e(n))}}function YZ(){if(vZ)return hZ;vZ=1;var t="object"==typeof document&&document.all;return hZ=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function XZ(){if(yZ)return gZ;yZ=1;var t=YZ();return gZ=function(e){return"object"==typeof e?null!==e:t(e)}}function JZ(){if(bZ)return mZ;bZ=1;var t=MJ(),e=YZ();return mZ=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},mZ}function ZZ(){if(wZ)return EZ;wZ=1;var t=UZ();return EZ=t({}.isPrototypeOf)}function QZ(){if(OZ)return DZ;OZ=1;var t,e,n=MJ(),r=function(){if(CZ)return SZ;CZ=1;var t=MJ().navigator,e=t&&t.userAgent;return SZ=e?String(e):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),DZ=e}function tQ(){if(xZ)return AZ;xZ=1;var t=QZ(),e=YJ(),n=MJ().String;return AZ=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function eQ(){if(NZ)return TZ;NZ=1;var t=tQ();return TZ=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function nQ(){if(kZ)return PZ;kZ=1;var t=JZ(),e=YZ(),n=ZZ(),r=eQ(),o=Object;return PZ=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function rQ(){if(RZ)return FZ;RZ=1;var t=YZ(),e=function(){if(BZ)return IZ;BZ=1;var t=String;return IZ=function(e){try{return t(e)}catch(t){return"Object"}}}(),n=TypeError;return FZ=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}var oQ,iQ,uQ,aQ,sQ,cQ,lQ,fQ,dQ,pQ,hQ,vQ,gQ,yQ,mQ,bQ,EQ,wQ,SQ,CQ,DQ,OQ,AQ,xQ,TQ={exports:{}};function NQ(){if(aQ)return uQ;aQ=1;var t=MJ(),e=Object.defineProperty;return uQ=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function PQ(){if(sQ)return TQ.exports;sQ=1;var t=iQ?oQ:(iQ=1,oQ=!1),e=MJ(),n=NQ(),r="__core-js_shared__",o=TQ.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),TQ.exports}function kQ(){if(lQ)return cQ;lQ=1;var t=PQ();return cQ=function(e,n){return t[e]||(t[e]=n||{})}}function IQ(){if(dQ)return fQ;dQ=1;var t=qZ(),e=Object;return fQ=function(n){return e(t(n))}}function BQ(){if(hQ)return pQ;hQ=1;var t=UZ(),e=IQ(),n=t({}.hasOwnProperty);return pQ=Object.hasOwn||function(t,r){return n(e(t),r)}}function FQ(){if(gQ)return vQ;gQ=1;var t=UZ(),e=0,n=Math.random(),r=t(1.1.toString);return vQ=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function RQ(){if(mQ)return yQ;mQ=1;var t=MJ(),e=kQ(),n=BQ(),r=FQ(),o=tQ(),i=eQ(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return yQ=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function _Q(){if(EQ)return bQ;EQ=1;var t=ZJ(),e=XZ(),n=nQ(),r=function(){if(jZ)return _Z;jZ=1;var t=rQ(),e=WZ();return _Z=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}(),o=function(){if(MZ)return LZ;MZ=1;var t=ZJ(),e=YZ(),n=XZ(),r=TypeError;return LZ=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")}}(),i=RQ(),u=TypeError,a=i("toPrimitive");return bQ=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function jQ(){if(SQ)return wQ;SQ=1;var t=_Q(),e=nQ();return wQ=function(n){var r=t(n,"string");return e(r)?r:r+""}}function LQ(){if(DQ)return CQ;DQ=1;var t=MJ(),e=XZ(),n=t.document,r=e(n)&&e(n.createElement);return CQ=function(t){return r?n.createElement(t):{}}}function MQ(){if(AQ)return OQ;AQ=1;var t=XJ(),e=YJ(),n=LQ();return OQ=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function zQ(){if(xQ)return KJ;xQ=1;var t=XJ(),e=ZJ(),n=HZ(),r=$Z(),o=KZ(),i=jQ(),u=BQ(),a=MQ(),s=Object.getOwnPropertyDescriptor;return KJ.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},KJ}var HQ,$Q,UQ,VQ,GQ,WQ,qQ,KQ={};function YQ(){if($Q)return HQ;$Q=1;var t=XJ(),e=YJ();return HQ=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function XQ(){if(VQ)return UQ;VQ=1;var t=XZ(),e=String,n=TypeError;return UQ=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function JQ(){if(GQ)return KQ;GQ=1;var t=XJ(),e=MQ(),n=YQ(),r=XQ(),o=jQ(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return KQ.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},KQ}function ZQ(){if(qQ)return WQ;qQ=1;var t=XJ(),e=JQ(),n=$Z();return WQ=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var QQ,t0,e0,n0,r0,o0,i0,u0,a0,s0,c0,l0,f0,d0,p0,h0={exports:{}};function v0(){if(t0)return QQ;t0=1;var t=XJ(),e=BQ(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return QQ={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function g0(){if(n0)return e0;n0=1;var t=UZ(),e=YZ(),n=PQ(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),e0=n.inspectSource}function y0(){if(u0)return i0;u0=1;var t=kQ(),e=FQ(),n=t("keys");return i0=function(t){return n[t]||(n[t]=e(t))}}function m0(){return s0?a0:(s0=1,a0={})}function b0(){if(l0)return c0;l0=1;var t,e,n,r=function(){if(o0)return r0;o0=1;var t=MJ(),e=YZ(),n=t.WeakMap;return r0=e(n)&&/native code/.test(String(n))}(),o=MJ(),i=XZ(),u=ZQ(),a=BQ(),s=PQ(),c=y0(),l=m0(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return c0={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function E0(){if(p0)return d0;p0=1;var t=YZ(),e=JQ(),n=function(){if(f0)return h0.exports;f0=1;var t=UZ(),e=YJ(),n=YZ(),r=BQ(),o=XJ(),i=v0().CONFIGURABLE,u=g0(),a=b0(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=h0.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),h0.exports}(),r=NQ();return d0=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var w0,S0,C0,D0,O0,A0,x0,T0,N0,P0,k0,I0,B0,F0,R0,_0,j0,L0={};function M0(){if(D0)return C0;D0=1;var t=function(){if(S0)return w0;S0=1;var t=Math.ceil,e=Math.floor;return w0=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return C0=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function z0(){if(P0)return N0;P0=1;var t=function(){if(T0)return x0;T0=1;var t=M0(),e=Math.min;return x0=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}();return N0=function(e){return t(e.length)}}function H0(){if(F0)return B0;F0=1;var t=UZ(),e=BQ(),n=KZ(),r=function(){if(I0)return k0;I0=1;var t=KZ(),e=function(){if(A0)return O0;A0=1;var t=M0(),e=Math.max,n=Math.min;return O0=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}(),n=z0(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return k0={includes:r(!0),indexOf:r(!1)}}().indexOf,o=m0(),i=t([].push);return B0=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function $0(){return _0?R0:(_0=1,R0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var U0,V0,G0,W0,q0,K0,Y0,X0,J0,Z0,Q0,t1,e1,n1,r1,o1,i1,u1,a1,s1,c1={};function l1(){return U0||(U0=1,c1.f=Object.getOwnPropertySymbols),c1}function f1(){if(q0)return W0;q0=1;var t=BQ(),e=function(){if(G0)return V0;G0=1;var t=JZ(),e=UZ(),n=function(){if(j0)return L0;j0=1;var t=H0(),e=$0().concat("length","prototype");return L0.f=Object.getOwnPropertyNames||function(n){return t(n,e)},L0}(),r=l1(),o=XQ(),i=e([].concat);return V0=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=zQ(),r=JQ();return W0=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function d1(){if(J0)return X0;J0=1;var t=MJ(),e=zQ().f,n=ZQ(),r=E0(),o=NQ(),i=f1(),u=function(){if(Y0)return K0;Y0=1;var t=YJ(),e=YZ(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return K0=r}();return X0=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function p1(){if(Q0)return Z0;Q0=1;var t={};return t[RQ()("toStringTag")]="z",Z0="[object z]"===String(t)}function h1(){if(e1)return t1;e1=1;var t=p1(),e=YZ(),n=VZ(),r=RQ()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return t1=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function v1(){if(r1)return n1;r1=1;var t=h1(),e=String;return n1=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}!function(){if(s1)return LJ;s1=1;var t=d1(),e=function(){if(i1)return o1;i1=1;var t=UZ(),e=qZ(),n=v1(),r=/"/g,o=t("".replace);return o1=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}(),n=function(){if(a1)return u1;a1=1;var t=YJ();return u1=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),"function"==typeof SuppressedError&&SuppressedError;var g1,y1,m1,b1={};!function(){if(m1)return b1;m1=1;var t=p1(),e=E0(),n=function(){if(y1)return g1;y1=1;var t=p1(),e=h1();return g1=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var E1,w1,S1,C1,D1,O1,A1,x1,T1={exports:{}},N1=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}((E1||(E1=1,function(t){var e=function(t){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},o={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof i?new i(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(e,n){var r,i;switch(n=n||{},o.util.type(e)){case"Object":if(i=o.util.objId(e),n[i])return n[i];for(var u in r={},n[i]=r,e)e.hasOwnProperty(u)&&(r[u]=t(e[u],n));return r;case"Array":return i=o.util.objId(e),n[i]?n[i]:(r=[],n[i]=r,e.forEach(function(e,o){r[o]=t(e,n)}),r);default:return e}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(r){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var r="no-"+e;t;){var o=t.classList;if(o.contains(e))return!0;if(o.contains(r))return!1;t=t.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(t,e){var n=o.util.clone(o.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){var i=(r=r||o.languages)[t],u={};for(var a in i)if(i.hasOwnProperty(a)){if(a==e)for(var s in n)n.hasOwnProperty(s)&&(u[s]=n[s]);n.hasOwnProperty(a)||(u[a]=i[a])}var c=r[t];return r[t]=u,o.languages.DFS(o.languages,function(e,n){n===c&&e!=t&&(this[e]=u)}),u},DFS:function t(e,n,r,i){i=i||{};var u=o.util.objId;for(var a in e)if(e.hasOwnProperty(a)){n.call(e,a,e[a],r||a);var s=e[a],c=o.util.type(s);"Object"!==c||i[u(s)]?"Array"!==c||i[u(s)]||(i[u(s)]=!0,t(s,n,a,i)):(i[u(s)]=!0,t(s,n,null,i))}}},plugins:{},highlightAll:function(t,e){o.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var r={callback:n,container:t,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,u=0;i=r.elements[u++];)o.highlightElement(i,!0===e,r.callback)},highlightElement:function(e,n,r){var i=o.util.getLanguage(e),u=o.languages[i];o.util.setLanguage(e,i);var a=e.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&o.util.setLanguage(a,i);var s={element:e,language:i,grammar:u,code:e.textContent};function c(t){s.highlightedCode=t,o.hooks.run("before-insert",s),s.element.innerHTML=s.highlightedCode,o.hooks.run("after-highlight",s),o.hooks.run("complete",s),r&&r.call(s.element)}if(o.hooks.run("before-sanity-check",s),(a=s.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!s.code)return o.hooks.run("complete",s),void(r&&r.call(s.element));if(o.hooks.run("before-highlight",s),s.grammar)if(n&&t.Worker){var l=new Worker(o.filename);l.onmessage=function(t){c(t.data)},l.postMessage(JSON.stringify({language:s.language,code:s.code,immediateClose:!0}))}else c(o.highlight(s.code,s.grammar,s.language));else c(o.util.encode(s.code))},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(o.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return 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(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var o=new s;return c(o,o.head,t),a(t,o,e,o.head,0),function(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(o)},hooks:{all:{},add:function(t,e){var n=o.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=o.hooks.all[t];if(n&&n.length)for(var r,i=0;r=n[i++];)r(e)}},Token:i};function i(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length}function u(t,e,n,r){t.lastIndex=e;var o=t.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(t,e,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!==e.tail&&!(f&&C>=f.reach);C+=S.value.length,S=S.next){var D=S.value;if(e.length>t.length)return;if(!(D instanceof i)){var O,A=1;if(m){if(!(O=u(w,C,t,y))||O.index>=t.length)break;var x=O.index,T=O.index+O[0].length,N=C;for(N+=S.value.length;x>=N;)N+=(S=S.next).value.length;if(C=N-=S.value.length,S.value instanceof i)continue;for(var P=S;P!==e.tail&&(N<T||"string"==typeof P.value);P=P.next)A++,N+=P.value.length;A--,D=t.slice(C,N),O.index-=C}else if(!(O=u(w,0,D,y)))continue;x=O.index;var k=O[0],I=D.slice(0,x),B=D.slice(x+k.length),F=C+D.length;f&&F>f.reach&&(f.reach=F);var R=S.prev;if(I&&(R=c(e,R,I),C+=I.length),l(e,R,A),S=c(e,R,new i(d,g?o.tokenize(k,g):k,b,k)),B&&c(e,S,B),A>1){var _={cause:d+","+h,reach:F};a(t,e,n,S.prev,C,_),f&&_.reach>f.reach&&(f.reach=_.reach)}}}}}}function s(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function c(t,e,n){var r=e.next,o={value:n,prev:e,next:r};return e.next=o,r.prev=o,t.length++,o}function l(t,e,n){for(var r=e.next,o=0;o<n&&r!==t.tail;o++)r=r.next;e.next=r,r.prev=e,t.length-=o}if(t.Prism=o,i.stringify=function t(e,n){if("string"==typeof e)return e;if(Array.isArray(e)){var r="";return e.forEach(function(e){r+=t(e,n)}),r}var i={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},u=e.alias;u&&(Array.isArray(u)?Array.prototype.push.apply(i.classes,u):i.classes.push(u)),o.hooks.run("wrap",i);var a="";for(var s in i.attributes)a+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+a+">"+i.content+"</"+i.tag+">"},!t.document)return t.addEventListener?(o.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),r=n.language,i=n.code,u=n.immediateClose;t.postMessage(o.highlight(i,o.languages[r],r)),u&&t.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:{});
|
|
26
26
|
/**
|
|
27
27
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
28
28
|
*
|
|
@@ -30,5 +30,5 @@ function t(t){return"[object Object]"===Object.prototype.toString.call(t)}return
|
|
|
30
30
|
* @author Lea Verou <https://lea.verou.me>
|
|
31
31
|
* @namespace
|
|
32
32
|
* @public
|
|
33
|
-
*/t.exports&&(t.exports=e),void 0!==FJ&&(FJ.Prism=e),e.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(t){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,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:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e),e.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|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,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:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript,function(){if(void 0!==e&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r="loading",o="loaded",i="pre[data-src]:not(["+n+'="'+o+'"]):not(['+n+'="'+r+'"])';e.hooks.add("before-highlightall",function(t){t.selector+=", "+i}),e.hooks.add("before-sanity-check",function(u){var a=u.element;if(a.matches(i)){u.code="",a.setAttribute(n,r);var s=a.appendChild(document.createElement("CODE"));s.textContent="Loading…";var c=a.getAttribute("data-src"),l=u.language;if("none"===l){var f=(/\.(\w+)$/.exec(c)||[,"none"])[1];l=t[f]||f}e.util.setLanguage(s,l),e.util.setLanguage(a,l);var d=e.plugins.autoloader;d&&d.loadLanguages(l),function(t,e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?e(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(c,function(t){a.setAttribute(n,o);var r=function(t){var e=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(t||"");if(e){var n=Number(e[1]),r=e[2],o=e[3];return r?o?[n,Number(o)]:[n,void 0]:[n,n]}}(a.getAttribute("data-range"));if(r){var i=t.split(/\r\n?|\n/g),u=r[0],c=null==r[1]?i.length:r[1];u<0&&(u+=i.length),u=Math.max(0,Math.min(u-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),t=i.slice(u,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(u+1))}s.textContent=t,e.highlightElement(s)},function(t){a.setAttribute(n,"failed"),s.textContent=t})}}),e.plugins.fileHighlight={highlight:function(t){for(var n,r=(t||document).querySelectorAll(i),o=0;n=r[o++];)e.highlightElement(n)}};var u=!1;e.fileHighlight=function(){u||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),u=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(x1)),x1.exports));!function(t){var e=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(t,e){return t=t.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),RegExp(t,e)}o=i(o).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var u=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(u).join(""):""},a=function(e){for(var n=[],r=0;r<e.length;r++){var o=e[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===u(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:u(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=u(o);r<e.length-1&&("string"==typeof e[r+1]||"plain-text"===e[r+1].type)&&(s+=u(e[r+1]),e.splice(r+1,1)),r>0&&("string"==typeof e[r-1]||"plain-text"===e[r-1].type)&&(s=u(e[r-1])+s,e.splice(r-1,1),r--),e[r]=new t.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&a(o.content)}};t.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||a(t.tokens)})}(Prism),E1||(E1=1,function(t){t.languages.typescript=t.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(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.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:e}}}}),t.languages.ts=t.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(t,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[e,"language-"+e],inside:Prism.languages[e]},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:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,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(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"],w1||(w1=1,function(t){var e=/\/\*[\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=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/,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(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/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(?: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|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\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 u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},a=[{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:u}},{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:u}}];t.languages.insertBefore("php","variable",{string:a,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:a,"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"}}}}),t.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&t.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism)),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,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(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|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",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),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],char:Prism.languages.c.char,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}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean,S1||(S1=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\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+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|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(?:False|None|True)\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?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),C1||(C1=1,function(t){var e=/\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(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|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=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+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:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:e,function:[t.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},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.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:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],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 e.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)),D1||(D1=1,function(t){var e=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_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|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return e.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return e.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:e,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(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\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}}),t.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:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(Prism)),O1||(O1=1,function(t){function e(t,e){return t.replace(/<<(\d+)>>/g,function(t,n){return"(?:"+e[+n]+")"})}function n(t,n,r){return RegExp(e(t,n),"")}function r(t,e){for(var n=0;n<e;n++)t=t.replace(/<<self>>/g,function(){return"(?:"+t+")"});return t.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",u="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*{)",a="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(t){return"\\b(?:"+t.trim().replace(/ /g,"|")+")\\b"}var c=s(i),l=RegExp(s(o+" "+i+" "+u+" "+a)),f=s(i+" "+u+" "+a),d=s(o+" "+i+" "+a),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,g=e(/<<0>>(?:\s*<<1>>)?/.source,[v,p]),y=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,g]),m=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),E=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),w=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,m]),C={keyword:l,punctuation:/[<>()?,.:[\]]/},D=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,O=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0}],"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,[c,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:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),t.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|sizeof|typeof)\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,[c,g,v,S,l.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:t.languages.csharp},keyword:l,"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 x=O+"|"+D,T=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[x]),N=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,k=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,N]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,k]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[N]),inside:t.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,B=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),F=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[B,I]),R=r(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[x]),2),_=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,I]);function j(e,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[e]),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:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:j(F,B)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[_]),lookbehind:!0,greedy:!0,inside:j(_,R)}],char:{pattern:RegExp(D),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(Prism)),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)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\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)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,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},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},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(?:COL|_INSERT)?|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(?:ING|S)?|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(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},A1||(A1=1,function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.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(?:false|true)\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|isolated|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(?:false|true)\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(t){t.inside.interpolation.inside=Prism.languages.swift}),function(t){var e="\\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("\\$"+e),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("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.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+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,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("\\$?"+e),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|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|docker|docker-compose|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|java|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|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|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|sysctl|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|vcpkg|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;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\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=t.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,u=0;u<o.length;u++)i[o[u]]=t.languages.bash[o[u]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash}(Prism),function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(t){return t=t.replace(/<inner>/g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+t+")")}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;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.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:t.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:t.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(e){["url","bold","italic","strike","code-snippet"].forEach(function(n){e!==n&&(t.languages.markdown[e].inside.content.inside[n]=t.languages.markdown[n])})}),t.hooks.add("after-tokenize",function(t){"markdown"!==t.language&&"md"!==t.language||function t(e){if(e&&"string"!=typeof e)for(var n=0,r=e.length;n<r;n++){var o=e[n];if("code"===o.type){var i=o.content[1],u=o.content[3];if(i&&u&&"code-language"===i.type&&"code-block"===u.type&&"string"==typeof i.content){var a=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase());u.alias?"string"==typeof u.alias?u.alias=[u.alias,s]:u.alias.push(s):u.alias=[s]}}else t(o.content)}}(t.tokens)}),t.hooks.add("wrap",function(e){if("code-block"===e.type){for(var n="",r=0,o=e.classes.length;r<o;r++){var i=e.classes[r],c=/language-(.+)/.exec(i);if(c){n=c[1];break}}var l=t.languages[n];if(l)e.content=t.highlight(function(t){var e=t.replace(u,"");return e.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(t,e){var n;return"#"===(e=e.toLowerCase())[0]?(n="x"===e[1]?parseInt(e.slice(2),16):Number(e.slice(1)),s(n)):a[e]||t})}(e.content),l,n);else if(n&&"none"!==n&&t.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());e.attributes.id=f,t.plugins.autoloader.loadLanguages(n,function(){var e=document.getElementById(f);e&&(e.innerHTML=t.highlight(e.textContent,t.languages[n],n))})}}});var u=RegExp(t.languages.markup.tag.pattern.source,"gi"),a={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;t.languages.md=t.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:/[\[\](){},;]|\.+|:+/},function(t){var e={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|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:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.inside.expression.inside=t.languages.groovy}(Prism),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/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 N1=["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 P1(t){return"string"==typeof t?t.length:"string"==typeof t.content?t.content.length:t.content.reduce(function(t,e){return t+P1(e)},0)}var k1,I1,B1,F1,R1,_1,j1,L1,M1,z1,H1,$1,U1,V1,G1,W1=function(t){var e,n,r,o=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}(t,2),i=o[0],u=o[1],a=[],s=function(t){if(!yp.Text.isText(t))return null;var e=tP.getParentNode(null,t);if(e&&"code"===tP.getNodeType(e)){var n=tP.getParentNode(null,e);if(n&&"pre"===tP.getNodeType(n))return e}return null}(i);if(null==s)return a;var c=s.language,l=void 0===c?"":c;if(!l)return a;var f=function(t,e){if(!e)return[];var n=T1.languages[e];return n?T1.tokenize(t.text,n):[]}(i,l),d=0;try{for(var p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var v=h.value,g=d+P1(v);"string"!=typeof v&&a.push(((r={})[v.type]=!0,r.anchor={path:u,offset:d},r.focus={path:u,offset:g},r)),d=g}}catch(t){e={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return a},q1={};function K1(){if(I1)return k1;I1=1;var t=UZ();return k1=Array.isArray||function(e){return"Array"===t(e)}}function Y1(){if(z1)return M1;z1=1;var t=K1(),e=function(){if(L1)return j1;L1=1;var t=$Z(),e=KJ(),n=KZ(),r=p1(),o=XZ(),i=v0(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,j1=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),n=YZ(),r=FQ()("species"),o=Array;return M1=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}function X1(){if($1)return H1;$1=1;var t=Y1();return H1=function(e,n){return new(t(e))(0===n?0:n)}}!function(){if(G1)return q1;G1=1;var t=f1(),e=KJ(),n=K1(),r=YZ(),o=kQ(),i=M0(),u=function(){if(F1)return B1;F1=1;var t=TypeError;return B1=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(_1)return R1;_1=1;var t=YJ(),e=XQ(),n=HZ();return R1=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=X1(),c=function(){if(V1)return U1;V1=1;var t=KJ(),e=FQ(),n=ZZ(),r=e("species");return U1=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=FQ(),f=ZZ(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var J1,Z1,Q1,t2,e2={};function n2(){if(Z1)return J1;Z1=1;var t=YQ();return J1=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}var r2,o2,i2,u2,a2,s2,c2,l2,f2,d2,p2,h2,v2,g2,y2={};function m2(){if(o2)return r2;o2=1;var t=z0(),e=H0();return r2=Object.keys||function(n){return t(n,e)}}function b2(){if(c2)return s2;c2=1;var t,e=YQ(),n=function(){if(i2)return y2;i2=1;var t=YJ(),e=KQ(),n=XQ(),r=YQ(),o=qZ(),i=m2();return y2.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},y2}(),r=H0(),o=y0(),i=function(){if(a2)return u2;a2=1;var t=XZ();return u2=t("document","documentElement")}(),u=jQ(),a=g0(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,s2=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}!function(){if(g2)return e2;g2=1;var t=f1(),e=function(){if(v2)return h2;v2=1;var t,e,n=JJ(),r=$Z(),o=h1(),i=n2(),u=function(){if(t2)return Q1;t2=1;var t=KJ(),e=LJ().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Q1={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=PQ(),s=b2(),c=m0().get,l=function(){if(f2)return l2;f2=1;var t=KJ(),e=LJ().RegExp;return l2=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(p2)return d2;p2=1;var t=KJ(),e=LJ().RegExp;return d2=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),h2=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}();var E2,w2,S2,C2,D2,O2={};!function(){if(D2)return O2;D2=1;var t=h0().PROPER,e=b0(),n=YQ(),r=h1(),o=KJ(),i=function(){if(C2)return S2;C2=1;var t=JJ(),e=IQ(),n=JZ(),r=function(){if(w2)return E2;w2=1;var t=LJ(),e=KJ(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return E2={correct:r}}(),o=n2(),i=RegExp.prototype;return S2=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var A2,x2,T2,N2,P2,k2,I2,B2,F2,R2,_2,j2,L2,M2,z2,H2={};function $2(){if(M2)return L2;M2=1;var t=function(){if(R2)return F2;R2=1;var t=function(){if(B2)return I2;B2=1;var t=function(){if(k2)return P2;k2=1;var t=UZ(),e=$Z();return P2=function(n){if("Function"===t(n))return e(n)}}(),e=nQ(),n=XJ(),r=t(t.bind);return I2=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},I2}(),e=$Z(),n=VZ(),r=kQ(),o=M0(),i=X1(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return F2={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=function(){if(j2)return _2;j2=1;var t=KJ();return _2=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}()("forEach");return L2=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},L2}!function(){if(z2)return H2;z2=1;var t=LJ(),e=x2?A2:(x2=1,A2={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}),n=function(){if(N2)return T2;N2=1;var t=jQ()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return T2=e===Object.prototype?void 0:e}(),r=$2(),o=JQ(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var U2,V2,G2=function(){function t(){this.title=fI("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,this.defaultCodeLang=""}return t.prototype.getOptions=function(t){var e=this,n=[],r=t.getMenuConfig("codeSelectLang").codeLangs,o=void 0===r?[]:r;n.push({text:"plain text",value:""}),o.forEach(function(t){var r=t.text,o=t.value;t.selected&&(e.defaultCodeLang=o),n.push({text:r,value:o})});var i=this.getValue(t);return n.forEach(function(t){t.value===i?t.selected=!0:t.selected=void 0}),n},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e)return this.defaultCodeLang;if(!yp.Element.isElement(e))return this.defaultCodeLang;var n=e.language.toString(),r=t.getMenuConfig("codeSelectLang").codeLangs;return(void 0===r?[]:r).some(function(t){return t.value===n})?n:this.defaultCodeLang},t.prototype.isDisabled=function(t){return null==t.selection||!this.getSelectCodeElem(t)},t.prototype.exec=function(t,e){if(null!=this.getSelectCodeElem(t)){var n={language:e.toString()};yp.Transforms.setNodes(t,n,{match:function(t){return tP.checkNodeType(t,"code")}})}},t.prototype.getSelectCodeElem=function(t){var e=tP.getSelectedNodeByType(t,"code");if(null==e)return null;var n=tP.getParentNode(t,e);return yp.Element.isElement(n)?"pre"!==n.type?null:e:null},t}(),W2={key:"codeSelectLang",factory:function(){return new G2},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"}]}},q2={};V2||(V2=1,function(){if(U2)return q2;U2=1;var t=f1(),e=LJ();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Mp&&(Rp.fn.attr=Mp);var K2,Y2,X2,J2={};!function(){if(X2)return J2;X2=1;var t=f1(),e=function(){if(Y2)return K2;Y2=1;var t=YJ(),e=$Z(),n=JJ(),r=KJ(),o=m2(),i=c1(),u=zZ(),a=kQ(),s=VZ(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return K2=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,K2}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Z2={renderStyle:function(t,e){var n=t,r=e,o="";return N1.forEach(function(t){n[t]&&(o=t)}),o&&function(t,e){null==t.data&&(t.data={});var n=t.data;null==n.props&&(n.props={}),Object.assign(n.props,{className:e})}(r,o="token ".concat(o)),r},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;if("code"!==tP.getNodeType(e))return e;var o=e,i=r.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[W2],elemsToHtml:[{type:"code",elemToHtml:function(t,e){var n=t.language,r=void 0===n?"":n,o=r?'class="language-'.concat(r,'"'):"";return"<code ".concat(o,">").concat(e,"</code>")}}]};cI("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),cI("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var Q2,t4,e4="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n4={};function r4(){if(t4)return Q2;t4=1;var t=function(t){return t&&t.Math===Math&&t};return Q2=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e4&&e4)||t("object"==typeof Q2&&Q2)||function(){return this}()||Function("return this")()}var o4,i4,u4,a4,s4,c4,l4,f4,d4={};function p4(){return i4?o4:(i4=1,o4=function(t){try{return!!t()}catch(t){return!0}})}function h4(){if(a4)return u4;a4=1;var t=p4();return u4=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function v4(){if(c4)return s4;c4=1;var t=p4();return s4=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function g4(){if(f4)return l4;f4=1;var t=v4(),e=Function.prototype.call;return l4=t?e.bind(e):function(){return e.apply(e,arguments)},l4}var y4,m4,b4,E4,w4,S4,C4,D4,O4,A4,x4,T4,N4,P4,k4,I4,B4,F4,R4,_4,j4,L4,M4,z4,H4,$4,U4,V4,G4,W4,q4,K4,Y4,X4,J4,Z4,Q4,t6,e6,n6,r6,o6={};function i6(){return b4?m4:(b4=1,m4=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function u6(){if(w4)return E4;w4=1;var t=v4(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return E4=t?r:function(t){return function(){return n.apply(t,arguments)}},E4}function a6(){if(C4)return S4;C4=1;var t=u6(),e=t({}.toString),n=t("".slice);return S4=function(t){return n(e(t),8,-1)}}function s6(){if(O4)return D4;O4=1;var t=u6(),e=p4(),n=a6(),r=Object,o=t("".split);return D4=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function c6(){return x4?A4:(x4=1,A4=function(t){return null==t})}function l6(){if(N4)return T4;N4=1;var t=c6(),e=TypeError;return T4=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function f6(){if(k4)return P4;k4=1;var t=s6(),e=l6();return P4=function(n){return t(e(n))}}function d6(){if(B4)return I4;B4=1;var t="object"==typeof document&&document.all;return I4=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function p6(){if(R4)return F4;R4=1;var t=d6();return F4=function(e){return"object"==typeof e?null!==e:t(e)}}function h6(){if(j4)return _4;j4=1;var t=r4(),e=d6();return _4=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},_4}function v6(){if(M4)return L4;M4=1;var t=u6();return L4=t({}.isPrototypeOf)}function g6(){if(U4)return $4;U4=1;var t,e,n=r4(),r=function(){if(H4)return z4;H4=1;var t=r4().navigator,e=t&&t.userAgent;return z4=e?String(e):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),$4=e}function y6(){if(G4)return V4;G4=1;var t=g6(),e=p4(),n=r4().String;return V4=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function m6(){if(q4)return W4;q4=1;var t=y6();return W4=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function b6(){if(Y4)return K4;Y4=1;var t=h6(),e=d6(),n=v6(),r=m6(),o=Object;return K4=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function E6(){if(J4)return X4;J4=1;var t=String;return X4=function(e){try{return t(e)}catch(t){return"Object"}}}function w6(){if(Q4)return Z4;Q4=1;var t=d6(),e=E6(),n=TypeError;return Z4=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function S6(){if(e6)return t6;e6=1;var t=w6(),e=c6();return t6=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var C6,D6,O6,A6,x6,T6,N6,P6,k6,I6,B6,F6,R6,_6,j6,L6,M6,z6,H6,$6,U6,V6,G6,W6,q6={exports:{}};function K6(){return D6?C6:(D6=1,C6=!1)}function Y6(){if(A6)return O6;A6=1;var t=r4(),e=Object.defineProperty;return O6=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function X6(){if(x6)return q6.exports;x6=1;var t=K6(),e=r4(),n=Y6(),r="__core-js_shared__",o=q6.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),q6.exports}function J6(){if(N6)return T6;N6=1;var t=X6();return T6=function(e,n){return t[e]||(t[e]=n||{})}}function Z6(){if(k6)return P6;k6=1;var t=l6(),e=Object;return P6=function(n){return e(t(n))}}function Q6(){if(B6)return I6;B6=1;var t=u6(),e=Z6(),n=t({}.hasOwnProperty);return I6=Object.hasOwn||function(t,r){return n(e(t),r)}}function t3(){if(R6)return F6;R6=1;var t=u6(),e=0,n=Math.random(),r=t(1.1.toString);return F6=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function e3(){if(j6)return _6;j6=1;var t=r4(),e=J6(),n=Q6(),r=t3(),o=y6(),i=m6(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return _6=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function n3(){if(M6)return L6;M6=1;var t=g4(),e=p6(),n=b6(),r=S6(),o=function(){if(r6)return n6;r6=1;var t=g4(),e=d6(),n=p6(),r=TypeError;return n6=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")}}(),i=e3(),u=TypeError,a=i("toPrimitive");return L6=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function r3(){if(H6)return z6;H6=1;var t=n3(),e=b6();return z6=function(n){var r=t(n,"string");return e(r)?r:r+""}}function o3(){if(U6)return $6;U6=1;var t=r4(),e=p6(),n=t.document,r=e(n)&&e(n.createElement);return $6=function(t){return r?n.createElement(t):{}}}function i3(){if(G6)return V6;G6=1;var t=h4(),e=p4(),n=o3();return V6=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function u3(){if(W6)return d4;W6=1;var t=h4(),e=g4(),n=function(){if(y4)return o6;y4=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return o6.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,o6}(),r=i6(),o=f6(),i=r3(),u=Q6(),a=i3(),s=Object.getOwnPropertyDescriptor;return d4.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},d4}var a3,s3,c3,l3,f3,d3,p3,h3={};function v3(){if(s3)return a3;s3=1;var t=h4(),e=p4();return a3=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function g3(){if(l3)return c3;l3=1;var t=p6(),e=String,n=TypeError;return c3=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function y3(){if(f3)return h3;f3=1;var t=h4(),e=i3(),n=v3(),r=g3(),o=r3(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return h3.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},h3}function m3(){if(p3)return d3;p3=1;var t=h4(),e=y3(),n=i6();return d3=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var b3,E3,w3,S3,C3,D3,O3,A3,x3,T3,N3,P3,k3,I3,B3,F3={exports:{}};function R3(){if(E3)return b3;E3=1;var t=h4(),e=Q6(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return b3={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function _3(){if(S3)return w3;S3=1;var t=u6(),e=d6(),n=X6(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),w3=n.inspectSource}function j3(){if(D3)return C3;D3=1;var t=r4(),e=d6(),n=t.WeakMap;return C3=e(n)&&/native code/.test(String(n))}function L3(){if(A3)return O3;A3=1;var t=J6(),e=t3(),n=t("keys");return O3=function(t){return n[t]||(n[t]=e(t))}}function M3(){return T3?x3:(T3=1,x3={})}function z3(){if(P3)return N3;P3=1;var t,e,n,r=j3(),o=r4(),i=p6(),u=m3(),a=Q6(),s=X6(),c=L3(),l=M3(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return N3={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function H3(){if(B3)return I3;B3=1;var t=d6(),e=y3(),n=function(){if(k3)return F3.exports;k3=1;var t=u6(),e=p4(),n=d6(),r=Q6(),o=h4(),i=R3().CONFIGURABLE,u=_3(),a=z3(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=F3.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),F3.exports}(),r=Y6();return I3=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var $3,U3,V3,G3,W3,q3,K3,Y3,X3,J3,Z3,Q3,t5,e5,n5,r5,o5,i5={};function u5(){if(G3)return V3;G3=1;var t=function(){if(U3)return $3;U3=1;var t=Math.ceil,e=Math.floor;return $3=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return V3=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function a5(){if(Y3)return K3;Y3=1;var t=u5(),e=Math.min;return K3=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function s5(){if(J3)return X3;J3=1;var t=a5();return X3=function(e){return t(e.length)}}function c5(){if(Q3)return Z3;Q3=1;var t=f6(),e=function(){if(q3)return W3;q3=1;var t=u5(),e=Math.max,n=Math.min;return W3=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}(),n=s5(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return Z3={includes:r(!0),indexOf:r(!1)}}function l5(){if(e5)return t5;e5=1;var t=u6(),e=Q6(),n=f6(),r=c5().indexOf,o=M3(),i=t([].push);return t5=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function f5(){return r5?n5:(r5=1,n5=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function d5(){if(o5)return i5;o5=1;var t=l5(),e=f5().concat("length","prototype");return i5.f=Object.getOwnPropertyNames||function(n){return t(n,e)},i5}var p5,h5,v5,g5,y5,m5,b5,E5,w5,S5,C5,D5,O5,A5,x5,T5,N5,P5,k5,I5,B5,F5,R5,_5,j5,L5,M5,z5,H5={};function $5(){if(y5)return g5;y5=1;var t=Q6(),e=function(){if(v5)return h5;v5=1;var t=h6(),e=u6(),n=d5(),r=(p5||(p5=1,H5.f=Object.getOwnPropertySymbols),H5),o=g3(),i=e([].concat);return h5=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=u3(),r=y3();return g5=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function U5(){if(b5)return m5;b5=1;var t=p4(),e=d6(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return m5=r}function V5(){if(w5)return E5;w5=1;var t=r4(),e=u3().f,n=m3(),r=H3(),o=Y6(),i=$5(),u=U5();return E5=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function G5(){if(C5)return S5;C5=1;var t=a6();return S5=Array.isArray||function(e){return"Array"===t(e)}}function W5(){if(O5)return D5;O5=1;var t=TypeError;return D5=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function q5(){if(N5)return T5;N5=1;var t={};return t[e3()("toStringTag")]="z",T5="[object z]"===String(t)}function K5(){if(k5)return P5;k5=1;var t=q5(),e=d6(),n=a6(),r=e3()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return P5=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function Y5(){if(R5)return F5;R5=1;var t=G5(),e=function(){if(B5)return I5;B5=1;var t=u6(),e=p4(),n=d6(),r=K5(),o=h6(),i=_3(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,I5=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),n=p6(),r=e3()("species"),o=Array;return F5=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}function X5(){if(j5)return _5;j5=1;var t=Y5();return _5=function(e,n){return new(t(e))(0===n?0:n)}}function J5(){if(M5)return L5;M5=1;var t=p4(),e=e3(),n=g6(),r=e("species");return L5=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(z5)return n4;z5=1;var t=V5(),e=p4(),n=G5(),r=p6(),o=Z6(),i=s5(),u=W5(),a=function(){if(x5)return A5;x5=1;var t=h4(),e=y3(),n=i6();return A5=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=X5(),c=J5(),l=e3(),f=g6(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Z5=function(t,e){return Z5=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Z5(t,e)};function Q5(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Z5(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function t8(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function e8(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function n8(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var r8,o8,i8,u8,a8,s8,c8,l8,f8,d8,p8,h8,v8,g8,y8,m8,b8,E8,w8,S8,C8,D8,O8,A8,x8,T8,N8,P8,k8,I8,B8,F8,R8,_8,j8,L8={};function M8(){if(c8)return s8;c8=1;var t,e=g3(),n=function(){if(i8)return L8;i8=1;var t=h4(),e=v3(),n=y3(),r=g3(),o=f6(),i=function(){if(o8)return r8;o8=1;var t=l5(),e=f5();return r8=Object.keys||function(n){return t(n,e)}}();return L8.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},L8}(),r=f5(),o=M3(),i=function(){if(a8)return u8;a8=1;var t=h6();return u8=t("document","documentElement")}(),u=o3(),a=L3(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,s8=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function z8(){if(f8)return l8;f8=1;var t=e3(),e=M8(),n=y3().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),l8=function(t){o[r][t]=!0}}function H8(){return p8?d8:(p8=1,d8={})}function $8(){if(y8)return g8;y8=1;var t=Q6(),e=d6(),n=Z6(),r=L3(),o=function(){if(v8)return h8;v8=1;var t=p4();return h8=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return g8=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function U8(){if(b8)return m8;b8=1;var t,e,n,r=p4(),o=d6(),i=p6(),u=M8(),a=$8(),s=H3(),c=e3(),l=K6(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),m8={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function V8(){if(w8)return E8;w8=1;var t=y3().f,e=Q6(),n=e3()("toStringTag");return E8=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function G8(){if(N8)return T8;N8=1;var t=function(){if(x8)return A8;x8=1;var t=p6();return A8=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return T8=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function W8(){if(k8)return P8;k8=1;var t=function(){if(O8)return D8;O8=1;var t=u6(),e=w6();return D8=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=p6(),n=l6(),r=G8();return P8=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function q8(){if(B8)return I8;B8=1;var t=V5(),e=g4(),n=K6(),r=R3(),o=d6(),i=function(){if(C8)return S8;C8=1;var t=U8().IteratorPrototype,e=M8(),n=i6(),r=V8(),o=H8(),i=function(){return this};return S8=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=$8(),a=W8(),s=V8(),c=m3(),l=H3(),f=e3(),d=H8(),p=U8(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return I8=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function K8(){return R8?F8:(R8=1,F8=function(t,e){return{value:t,done:e}})}function Y8(){if(j8)return _8;j8=1;var t=f6(),e=z8(),n=H8(),r=z3(),o=y3().f,i=q8(),u=K8(),a=K6(),s=h4(),c="Array Iterator",l=r.set,f=r.getterFor(c);_8=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return _8}Y8();var X8,J8,Z8,Q8={};!function(){if(Z8)return Q8;Z8=1;var t=q5(),e=H3(),n=function(){if(J8)return X8;J8=1;var t=q5(),e=K5();return X8=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var t7,e7,n7,r7,o7,i7={};function u7(){if(e7)return t7;e7=1;var t=K5(),e=String;return t7=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function a7(){if(r7)return n7;r7=1;var t=u6(),e=u5(),n=u7(),r=l6(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return n7={codeAt:a(!1),charAt:a(!0)}}!function(){if(o7)return i7;o7=1;var t=a7().charAt,e=u7(),n=z3(),r=q8(),o=K8(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var s7,c7,l7,f7,d7={};function p7(){if(c7)return s7;c7=1;var t=p4();return s7=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function h7(){if(f7)return l7;f7=1;var t=H3();return l7=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var v7,g7,y7,m7,b7,E7,w7,S7,C7,D7,O7,A7,x7,T7,N7,P7,k7,I7,B7,F7,R7,_7,j7,L7,M7,z7,H7,$7,U7,V7,G7,W7,q7,K7,Y7,X7,J7={exports:{}},Z7={};function Q7(){if(y7)return Z7;y7=1;var t=a6(),e=f6(),n=d5().f,r=function(){if(g7)return v7;g7=1;var t=u6();return v7=t([].slice)}(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Z7.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},Z7}function t9(){if(S7)return J7.exports;S7=1;var t=V5(),e=u6(),n=M3(),r=p6(),o=Q6(),i=y3().f,u=d5(),a=Q7(),s=function(){if(w7)return E7;w7=1;var t=p4(),e=p6(),n=a6(),r=function(){if(b7)return m7;b7=1;var t=p4();return m7=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return E7=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=t3(),l=p7(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=J7.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,J7.exports}function e9(){if(A7)return O7;A7=1;var t=function(){if(D7)return C7;D7=1;var t=a6(),e=u6();return C7=function(n){if("Function"===t(n))return e(n)}}(),e=w6(),n=v4(),r=t(t.bind);return O7=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},O7}function n9(){if(P7)return N7;P7=1;var t=K5(),e=S6(),n=c6(),r=H8(),o=e3()("iterator");return N7=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function r9(){if(_7)return R7;_7=1;var t=e9(),e=g4(),n=g3(),r=E6(),o=function(){if(T7)return x7;T7=1;var t=e3(),e=H8(),n=t("iterator"),r=Array.prototype;return x7=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}(),i=s5(),u=v6(),a=function(){if(I7)return k7;I7=1;var t=g4(),e=w6(),n=g3(),r=E6(),o=n9(),i=TypeError;return k7=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},k7}(),s=n9(),c=function(){if(F7)return B7;F7=1;var t=g4(),e=g3(),n=S6();return B7=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return R7=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function o9(){if(L7)return j7;L7=1;var t=v6(),e=TypeError;return j7=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function i9(){if(V7)return U7;V7=1;var t=V5(),e=r4(),n=u6(),r=U5(),o=H3(),i=t9(),u=r9(),a=o9(),s=d6(),c=c6(),l=p6(),f=p4(),d=function(){if(z7)return M7;z7=1;var t=e3()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return M7=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}(),p=V8(),h=function(){if($7)return H7;$7=1;var t=d6(),e=p6(),n=W8();return H7=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}();return U7=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function u9(){if(W7)return G7;W7=1;var t=e9(),e=u6(),n=s6(),r=Z6(),o=s5(),i=X5(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return G7={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}X7||(X7=1,function(){if(Y7)return d7;Y7=1;var t,e=p7(),n=r4(),r=u6(),o=h7(),i=t9(),u=i9(),a=function(){if(K7)return q7;K7=1;var t=u6(),e=h7(),n=t9().getWeakData,r=o9(),o=g3(),i=c6(),u=p6(),a=r9(),s=u9(),c=Q6(),l=z3(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},q7={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=p6(),c=z3().enforce,l=p4(),f=j3(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var a9,s9,c9,l9,f9,d9={};!function(){if(f9)return d9;f9=1;var t=r4(),e=s9?a9:(s9=1,a9={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}),n=function(){if(l9)return c9;l9=1;var t=o3()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return c9=e===Object.prototype?void 0:e}(),r=Y8(),o=m3(),i=V8(),u=e3()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var p9=new WeakMap;function h9(t){var e,n=t.children||[],r=n.length;if(0===r)return"";for(var o=0;o<r&&!e;o+=1){var i=n[o];yp.Text.isText(i)&&(e=i)}return null==e?"":e.color||""}function v9(t,e,n){for(var r=e.type,o=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(e,["type"]),i=void 0!==n?n:o.level||0,u=tP.findPath(t,e),a=u;;){if(0===a.length||0===u[u.length-1])return null;a=yp.Path.previous(a);var s=yp.Editor.node(t,a);if(!s)return null;var c=e8(s,1)[0],l=c.level,f=void 0===l?0:l;if(tP.getNodeType(c)!==r)return null;if(f===i)return c}}function g9(t,e,n){var r=v9(t,e,n);return!!r&&r.ordered===e.ordered}var y9,m9=[],b9={type:"list-item",elemToHtml:function(t,e){var n="",r="",o=t.ordered,i=void 0!==o&&o?"ol":"ul",u=function(t){var e=p9.get(t);if(null==e)return 0;var n=t,r=n.type,o=n.ordered,i=void 0!==o&&o,u=n.level,a=void 0===u?0:u,s=tP.findPath(e,t);if(0===s[0])return a+1;var c=yp.Path.previous(s),l=yp.Editor.node(e,c);if(!l)return 0;var f=e8(l,1)[0];if(tP.getNodeType(f)!==r)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?a-g:g>a?g9(e,t)?0:1:g===a?h===i?0:1:0}(t);if(u>0)for(var a=0;a<u;a+=1)n+="<".concat(i,">"),m9.push(i);var s=function(t){var e=p9.get(t);if(null==e)return 0;var n=t,r=n.type,o=n.ordered,i=void 0!==o&&o,u=n.level,a=void 0===u?0:u,s=tP.findPath(e,t);if(s[0]===e.children.length-1)return a+1;var c=yp.Path.next(s),l=yp.Editor.node(e,c);if(!l)return 0;var f=e8(l,1)[0];if(tP.getNodeType(f)!==r)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?g9(e,f)?a-g:a-g+1:g>a?0:g===a?h===i?0:1:0}(t);if(s>0)for(a=0;a<s;a+=1){var c=m9.pop();r+="</".concat(c,">")}var l=h9(t),f=l?' style="color:'.concat(l,'"'):"";return{html:"<li".concat(f,">").concat(e,"</li>"),prefix:n,suffix:r}}},E9={};!function(){if(y9)return E9;y9=1;var t=V5(),e=c5().includes,n=p4(),r=z8();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var w9,S9,C9,D9,O9,A9,x9,T9,N9,P9,k9,I9={};function B9(){if(S9)return w9;S9=1;var t=g3();return w9=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function F9(){if(P9)return N9;P9=1;var t,e,n=g4(),r=u6(),o=u7(),i=B9(),u=function(){if(D9)return C9;D9=1;var t=p4(),e=r4().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return C9={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=J6(),s=M8(),c=z3().get,l=function(){if(A9)return O9;A9=1;var t=p4(),e=r4().RegExp;return O9=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(T9)return x9;T9=1;var t=p4(),e=r4().RegExp;return x9=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),N9=h}function R9(){if(k9)return I9;k9=1;var t=V5(),e=F9();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),I9}R9();var _9,j9=function(){function t(){this.type="list-item",this.tag="button"}return t.prototype.getListNode=function(t){var e=this.type;return tP.getSelectedNodeByType(t,e)},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){var e=this.getListNode(t);if(null==e)return!1;var n=e.ordered;return(void 0!==n&&n)===this.ordered},t.prototype.isDisabled=function(t){return null==t.selection||!!tP.getSelectedElems(t).some(function(e){if(yp.Editor.isVoid(t,e)&&yp.Editor.isBlock(t,e))return!0;var n=e.type;return!!["pre","code","table"].includes(n)})},t.prototype.exec=function(t,e){this.isActive(t)?yp.Transforms.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):yp.Transforms.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),L9=function(t){function e(){var e=t.apply(this,n8([],e8(arguments),!1))||this;return e.ordered=!1,e.title=fI("listModule.unOrderedList"),e.iconSvg='<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>',e}return Q5(e,t),e}(j9),M9=function(t){function e(){var e=t.apply(this,n8([],e8(arguments),!1))||this;return e.ordered=!0,e.title=fI("listModule.orderedList"),e.iconSvg='<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>',e}return Q5(e,t),e}(j9),z9={key:"bulletedList",factory:function(){return new L9}},H9={key:"numberedList",factory:function(){return new M9}},$9={};!function(){if(_9)return $9;_9=1;var t=V5(),e=u9().filter;t({target:"Array",proto:!0,forced:!J5()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var U9,V9,G9,W9,q9={};!function(){if(G9)return q9;G9=1;var t=V5(),e=function(){if(V9)return U9;V9=1;var t=G5(),e=s5(),n=W5(),r=e9(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&r(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(n(v+1),i[v]=p),v++),g++;return v};return U9=o}(),n=Z6(),r=s5(),o=u5(),i=X5();t({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,u=n(this),a=r(u),s=i(u,0);return s.length=e(s,u,u,a,0,void 0===t?1:o(t)),s}})}(),W9||(W9=1,z8()("flat"));var K9,Y9,X9,J9,Z9,Q9,ttt,ett,ntt,rtt,ott,itt,utt,att,stt,ctt={};!function(){if(stt)return ctt;stt=1;var t=function(){if(Y9)return K9;Y9=1;var t=v4(),e=Function.prototype,n=e.apply,r=e.call;return K9="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),K9}(),e=g4(),n=u6(),r=function(){if(J9)return X9;J9=1,R9();var t=g4(),e=H3(),n=F9(),r=p4(),o=e3(),i=m3(),u=o("species"),a=RegExp.prototype;return X9=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=p4(),i=g3(),u=d6(),a=p6(),s=u5(),c=a5(),l=u7(),f=l6(),d=function(){if(Q9)return Z9;Q9=1;var t=a7().charAt;return Z9=function(e,n,r){return n+(r?t(e,n).length:1)}}(),p=S6(),h=function(){if(ett)return ttt;ett=1;var t=u6(),e=Z6(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return ttt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=function(){if(itt)return ott;itt=1;var t=g4(),e=Q6(),n=v6(),r=function(){if(rtt)return ntt;rtt=1;var t=r4(),e=p4(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return ntt={correct:r}}(),o=B9(),i=RegExp.prototype;return ott=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),g=function(){if(att)return utt;att=1;var t=g4(),e=g3(),n=d6(),r=a6(),o=F9(),i=TypeError;return utt=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=e3()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var ltt,ftt,dtt={};function ptt(t){return t.length?t[0].tagName.toLowerCase():""}function htt(t){return yp.Editor.nodes(t,{at:t.selection||void 0,match:function(e){return 1===tP.findPath(t,e).length}})}ftt||(ftt=1,function(){if(ltt)return dtt;ltt=1;var t=V5(),e=r4();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),rh&&(Rp.fn.append=rh),Mp&&(Rp.fn.attr=Mp),ih&&(Rp.fn.parent=ih);var vtt={renderElems:[{type:"list-item",renderElem:function(t,e,n){p9.set(t,n);var r=t,o=r.level,i=void 0===o?0:o,u=r.ordered,a=void 0!==u&&u,s={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},c="";if(a){var l=function(t,e){var n=e,r=n.type,o=n.level,i=void 0===o?0:o,u=n.ordered,a=void 0!==u&&u,s=1,c=e,l=tP.findPath(t,c);if(0===l[0])return 1;for(;l[0]>0;){var f=yp.Path.previous(l),d=yp.Editor.node(t,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!==a)break;s+=1}c=p,l=f}return s}(n,t);c="".concat(l,".")}else c=function(t){void 0===t&&(t=0);var e="";switch(t){case 0:e="•";break;case 1:e="◦";break;default:e="▪"}return e}(i);return dv("div",{style:s},dv("span",{contentEditable:!1,style:{marginRight:"0.5em",color:h9(t)},"data-w-e-reserve":!0},c),dv("span",{style:{flex:"1",wordBreak:"break-word"}},e))}}],editorPlugin:function(t){var e=t.deleteBackward,n=t.handleTab,r=t.normalizeNode,o=t.insertBreak,i=t;return i.insertBreak=function(){var e=e8(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"list-item")},universal:!0}),1)[0];return e?""!==e[0].children[0].text?o():void yp.Transforms.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(n){var r=i.selection;if(null!=r)if(yp.Range.isExpanded(r))e(n);else{var o=tP.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==r.focus.offset)e(n);else{var u=o,a=u.level,s=void 0===a?0:a,c=u.ordered,l=void 0!==c&&c;if(s>0){var f=v9(t,o,s-1);f&&f.ordered!==l?yp.Transforms.setNodes(i,{level:s-1,ordered:!l}):yp.Transforms.setNodes(i,{level:s-1})}else yp.Transforms.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else e(n)}else e(n)},i.handleTab=function(){var t,e,r,o,u=i.selection;if(null!=u){if(yp.Range.isCollapsed(u)){var a=tP.getSelectedNodeByType(i,"list-item");if(null==a)return void n();if(0===u.focus.offset){var s=a.level,c=void 0===s?0:s;return void yp.Transforms.setNodes(i,{level:c+1})}}if(yp.Range.isExpanded(u)){var l=0,f=!1;try{for(var d=t8(htt(i)),p=d.next();!p.done;p=d.next()){var h=e8(p.value,1)[0];"list-item"===tP.getNodeType(h)?l+=1:f=!0}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}if(f||l<=1)return void n();try{for(var v=t8(htt(i)),g=v.next();!g.done;g=v.next()){var y=e8(g.value,2),m=(h=y[0],y[1]),b=h.level;c=void 0===b?0:b,yp.Transforms.setNodes(i,{level:c+1},{at:m})}}catch(t){r={error:t}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(r)throw r.error}}}else n()}else n()},i.normalizeNode=function(t){var e=e8(t,2),n=e[0],o=e[1],u=tP.getNodeType(n);return"bulleted-list"!==u&&"numbered-list"!==u||yp.Transforms.unwrapNodes(i,{at:o}),r([n,o])},i},menus:[z9,H9],elemsToHtml:[b9],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,n){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(t){return"ol"===ptt(t.parent())}(r),i=function(t){for(var e=0,n=t.parent(),r=ptt(n);"ul"===r||"ol"===r;)r=ptt(n=n.parent()),e+=1;return e-1}(r);return{type:"list-item",ordered:o,level:i,children:e}}}]};cI("en",{tableModule:{modal:{border:"Border",borderWidth:"Width",bgColor:"Back color",align:"Text Align",ok:"OK"},color:{default:"Default color",clear:"Clear back color"},borderStyle:{none:"None",solid:"Solid",dotted:"Dotted",dashed:"Dashed",double:"Double",groove:"Groove",ridge:"Ridge",inset:"Inset",outset:"Outset"},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",tableProperty:"Table property",cellProperty:"Cell property"}}),cI("zh-CN",{tableModule:{modal:{border:"边框",borderWidth:"宽度",bgColor:"背景色",align:"对齐方式",ok:"确定"},color:{default:"默认颜色",clear:"清除背景色"},borderStyle:{none:"无样式",solid:"实线",dotted:"点状虚线",dashed:"虚线",double:"双线",groove:"凹槽边框",ridge:"菱形边框",inset:"凹边框",outset:"凸边框"},deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var gtt,ytt,mtt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},btt={};function Ett(){if(ytt)return gtt;ytt=1;var t=function(t){return t&&t.Math===Math&&t};return gtt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof mtt&&mtt)||t("object"==typeof gtt&>t)||function(){return this}()||Function("return this")()}var wtt,Stt,Ctt,Dtt,Ott,Att,xtt,Ttt,Ntt={};function Ptt(){return Stt?wtt:(Stt=1,wtt=function(t){try{return!!t()}catch(t){return!0}})}function ktt(){if(Dtt)return Ctt;Dtt=1;var t=Ptt();return Ctt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Itt(){if(Att)return Ott;Att=1;var t=Ptt();return Ott=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function Btt(){if(Ttt)return xtt;Ttt=1;var t=Itt(),e=Function.prototype.call;return xtt=t?e.bind(e):function(){return e.apply(e,arguments)},xtt}var Ftt,Rtt,_tt,jtt,Ltt,Mtt,ztt,Htt,$tt,Utt,Vtt,Gtt,Wtt,qtt,Ktt,Ytt,Xtt,Jtt,Ztt,Qtt,tet,eet,net,ret,oet,iet,uet,aet,set,cet,fet,det,pet,het,vet,get,yet,met,bet,Eet,wet,Cet={};function Det(){if(Ftt)return Cet;Ftt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return Cet.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,Cet}function Oet(){return _tt?Rtt:(_tt=1,Rtt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function Aet(){if(Ltt)return jtt;Ltt=1;var t=Itt(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return jtt=t?r:function(t){return function(){return n.apply(t,arguments)}},jtt}function xet(){if(ztt)return Mtt;ztt=1;var t=Aet(),e=t({}.toString),n=t("".slice);return Mtt=function(t){return n(e(t),8,-1)}}function Tet(){if($tt)return Htt;$tt=1;var t=Aet(),e=Ptt(),n=xet(),r=Object,o=t("".split);return Htt=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function Net(){return Vtt?Utt:(Vtt=1,Utt=function(t){return null==t})}function Pet(){if(Wtt)return Gtt;Wtt=1;var t=Net(),e=TypeError;return Gtt=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function ket(){if(Ktt)return qtt;Ktt=1;var t=Tet(),e=Pet();return qtt=function(n){return t(e(n))}}function Iet(){if(Xtt)return Ytt;Xtt=1;var t="object"==typeof document&&document.all;return Ytt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Bet(){if(Ztt)return Jtt;Ztt=1;var t=Iet();return Jtt=function(e){return"object"==typeof e?null!==e:t(e)}}function Fet(){if(tet)return Qtt;tet=1;var t=Ett(),e=Iet();return Qtt=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},Qtt}function Ret(){if(net)return eet;net=1;var t=Aet();return eet=t({}.isPrototypeOf)}function _et(){if(oet)return ret;oet=1;var t=Ett().navigator,e=t&&t.userAgent;return ret=e?String(e):""}function jet(){if(uet)return iet;uet=1;var t,e,n=Ett(),r=_et(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),iet=e}function Let(){if(set)return aet;set=1;var t=jet(),e=Ptt(),n=Ett().String;return aet=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Met(){if(fet)return cet;fet=1;var t=Let();return cet=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function zet(){if(pet)return det;pet=1;var t=Fet(),e=Iet(),n=Ret(),r=Met(),o=Object;return det=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function Het(){if(vet)return het;vet=1;var t=String;return het=function(e){try{return t(e)}catch(t){return"Object"}}}function $et(){if(yet)return get;yet=1;var t=Iet(),e=Het(),n=TypeError;return get=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function Uet(){if(bet)return met;bet=1;var t=$et(),e=Net();return met=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var Vet,Get,Wet,qet,Ket,Yet,Xet,Jet,Zet,Qet,tnt,ent,nnt,rnt,ont,int,unt,ant,snt,cnt,lnt,fnt,dnt,pnt,hnt={exports:{}};function vnt(){return Get?Vet:(Get=1,Vet=!1)}function gnt(){if(qet)return Wet;qet=1;var t=Ett(),e=Object.defineProperty;return Wet=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function ynt(){if(Ket)return hnt.exports;Ket=1;var t=vnt(),e=Ett(),n=gnt(),r="__core-js_shared__",o=hnt.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),hnt.exports}function mnt(){if(Xet)return Yet;Xet=1;var t=ynt();return Yet=function(e,n){return t[e]||(t[e]=n||{})}}function bnt(){if(Zet)return Jet;Zet=1;var t=Pet(),e=Object;return Jet=function(n){return e(t(n))}}function Ent(){if(tnt)return Qet;tnt=1;var t=Aet(),e=bnt(),n=t({}.hasOwnProperty);return Qet=Object.hasOwn||function(t,r){return n(e(t),r)}}function wnt(){if(nnt)return ent;nnt=1;var t=Aet(),e=0,n=Math.random(),r=t(1.1.toString);return ent=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function Snt(){if(ont)return rnt;ont=1;var t=Ett(),e=mnt(),n=Ent(),r=wnt(),o=Let(),i=Met(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return rnt=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Cnt(){if(unt)return int;unt=1;var t=Btt(),e=Bet(),n=zet(),r=Uet(),o=function(){if(wet)return Eet;wet=1;var t=Btt(),e=Iet(),n=Bet(),r=TypeError;return Eet=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},Eet}(),i=Snt(),u=TypeError,a=i("toPrimitive");return int=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function Dnt(){if(snt)return ant;snt=1;var t=Cnt(),e=zet();return ant=function(n){var r=t(n,"string");return e(r)?r:r+""}}function Ont(){if(lnt)return cnt;lnt=1;var t=Ett(),e=Bet(),n=t.document,r=e(n)&&e(n.createElement);return cnt=function(t){return r?n.createElement(t):{}}}function Ant(){if(dnt)return fnt;dnt=1;var t=ktt(),e=Ptt(),n=Ont();return fnt=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function xnt(){if(pnt)return Ntt;pnt=1;var t=ktt(),e=Btt(),n=Det(),r=Oet(),o=ket(),i=Dnt(),u=Ent(),a=Ant(),s=Object.getOwnPropertyDescriptor;return Ntt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},Ntt}var Tnt,Nnt,Pnt,knt,Int,Bnt,Fnt,Rnt={};function _nt(){if(Nnt)return Tnt;Nnt=1;var t=ktt(),e=Ptt();return Tnt=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function jnt(){if(knt)return Pnt;knt=1;var t=Bet(),e=String,n=TypeError;return Pnt=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function Lnt(){if(Int)return Rnt;Int=1;var t=ktt(),e=Ant(),n=_nt(),r=jnt(),o=Dnt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return Rnt.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},Rnt}function Mnt(){if(Fnt)return Bnt;Fnt=1;var t=ktt(),e=Lnt(),n=Oet();return Bnt=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var znt,Hnt,$nt,Unt,Vnt,Gnt,Wnt,qnt,Knt,Ynt,Xnt,Jnt,Znt,Qnt,trt,ert={exports:{}};function nrt(){if(Hnt)return znt;Hnt=1;var t=ktt(),e=Ent(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return znt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function rrt(){if(Unt)return $nt;Unt=1;var t=Aet(),e=Iet(),n=ynt(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),$nt=n.inspectSource}function ort(){if(Gnt)return Vnt;Gnt=1;var t=Ett(),e=Iet(),n=t.WeakMap;return Vnt=e(n)&&/native code/.test(String(n))}function irt(){if(qnt)return Wnt;qnt=1;var t=mnt(),e=wnt(),n=t("keys");return Wnt=function(t){return n[t]||(n[t]=e(t))}}function urt(){return Ynt?Knt:(Ynt=1,Knt={})}function art(){if(Jnt)return Xnt;Jnt=1;var t,e,n,r=ort(),o=Ett(),i=Bet(),u=Mnt(),a=Ent(),s=ynt(),c=irt(),l=urt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return Xnt={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function srt(){if(Znt)return ert.exports;Znt=1;var t=Aet(),e=Ptt(),n=Iet(),r=Ent(),o=ktt(),i=nrt().CONFIGURABLE,u=rrt(),a=art(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=ert.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),ert.exports}function crt(){if(trt)return Qnt;trt=1;var t=Iet(),e=Lnt(),n=srt(),r=gnt();return Qnt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var lrt,frt,drt,prt,hrt,vrt,grt,yrt,mrt,brt,Ert,wrt,Srt,Crt,Drt,Ort,Art,xrt={};function Trt(){if(prt)return drt;prt=1;var t=function(){if(frt)return lrt;frt=1;var t=Math.ceil,e=Math.floor;return lrt=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return drt=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function Nrt(){if(vrt)return hrt;vrt=1;var t=Trt(),e=Math.max,n=Math.min;return hrt=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}function Prt(){if(yrt)return grt;yrt=1;var t=Trt(),e=Math.min;return grt=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function krt(){if(brt)return mrt;brt=1;var t=Prt();return mrt=function(e){return t(e.length)}}function Irt(){if(wrt)return Ert;wrt=1;var t=ket(),e=Nrt(),n=krt(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return Ert={includes:r(!0),indexOf:r(!1)}}function Brt(){if(Crt)return Srt;Crt=1;var t=Aet(),e=Ent(),n=ket(),r=Irt().indexOf,o=urt(),i=t([].push);return Srt=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function Frt(){return Ort?Drt:(Ort=1,Drt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Rrt(){if(Art)return xrt;Art=1;var t=Brt(),e=Frt().concat("length","prototype");return xrt.f=Object.getOwnPropertyNames||function(n){return t(n,e)},xrt}var _rt,jrt,Lrt,Mrt,zrt,Hrt,$rt,Urt,Vrt,Grt,Wrt,qrt,Krt,Yrt,Xrt,Jrt,Zrt,Qrt,tot,eot,not,rot,oot,iot,uot,aot,sot,cot,lot={};function fot(){return _rt||(_rt=1,lot.f=Object.getOwnPropertySymbols),lot}function dot(){if(zrt)return Mrt;zrt=1;var t=Ent(),e=function(){if(Lrt)return jrt;Lrt=1;var t=Fet(),e=Aet(),n=Rrt(),r=fot(),o=jnt(),i=e([].concat);return jrt=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=xnt(),r=Lnt();return Mrt=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function pot(){if($rt)return Hrt;$rt=1;var t=Ptt(),e=Iet(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return Hrt=r}function hot(){if(Vrt)return Urt;Vrt=1;var t=Ett(),e=xnt().f,n=Mnt(),r=crt(),o=gnt(),i=dot(),u=pot();return Urt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function vot(){if(Wrt)return Grt;Wrt=1;var t=xet();return Grt=Array.isArray||function(e){return"Array"===t(e)}}function got(){if(Krt)return qrt;Krt=1;var t=TypeError;return qrt=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function yot(){if(Xrt)return Yrt;Xrt=1;var t=ktt(),e=Lnt(),n=Oet();return Yrt=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}function mot(){if(Zrt)return Jrt;Zrt=1;var t={};return t[Snt()("toStringTag")]="z",Jrt="[object z]"===String(t)}function bot(){if(tot)return Qrt;tot=1;var t=mot(),e=Iet(),n=xet(),r=Snt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Qrt=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function Eot(){if(not)return eot;not=1;var t=Aet(),e=Ptt(),n=Iet(),r=bot(),o=Fet(),i=rrt(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,eot=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function wot(){if(uot)return iot;uot=1;var t=function(){if(oot)return rot;oot=1;var t=vot(),e=Eot(),n=Bet(),r=Snt()("species"),o=Array;return rot=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return iot=function(e,n){return new(t(e))(0===n?0:n)}}function Sot(){if(sot)return aot;sot=1;var t=Ptt(),e=Snt(),n=jet(),r=e("species");return aot=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(cot)return btt;cot=1;var t=hot(),e=Ptt(),n=vot(),r=Bet(),o=bnt(),i=krt(),u=got(),a=yot(),s=wot(),c=Sot(),l=Snt(),f=jet(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Cot,Dot,Oot,Aot={};function xot(){if(Dot)return Cot;Dot=1;var t=Ptt();return Cot=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}!function(){if(Oot)return Aot;Oot=1;var t=hot(),e=Aet(),n=Tet(),r=ket(),o=xot(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var Tot,Not,Pot,kot,Iot,Bot,Fot,Rot={};function _ot(){if(kot)return Pot;kot=1;var t=function(){if(Not)return Tot;Not=1;var t=xet(),e=Aet();return Tot=function(n){if("Function"===t(n))return e(n)}}(),e=$et(),n=Itt(),r=t(t.bind);return Pot=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},Pot}function jot(){if(Bot)return Iot;Bot=1;var t=_ot(),e=Aet(),n=Tet(),r=bnt(),o=krt(),i=wot(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return Iot={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}!function(){if(Fot)return Rot;Fot=1;var t=hot(),e=jot().map;t({target:"Array",proto:!0,forced:!Sot()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Lot,Mot,zot,Hot={};!function(){if(zot)return Hot;zot=1;var t=mot(),e=crt(),n=function(){if(Mot)return Lot;Mot=1;var t=mot(),e=bot();return Lot=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var $ot=function(t,e){return $ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},$ot(t,e)},Uot=function(){return Uot=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Uot.apply(this,arguments)};function Vot(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function Got(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Wot(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function qot(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var Kot,Yot,Xot,Jot,Zot,Qot,tit,eit,nit,rit,oit='<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>',iit={},uit={};function ait(){if(Yot)return Kot;Yot=1;var t=Brt(),e=Frt();return Kot=Object.keys||function(n){return t(n,e)}}function sit(){if(tit)return Qot;tit=1;var t,e=jnt(),n=function(){if(Xot)return uit;Xot=1;var t=ktt(),e=_nt(),n=Lnt(),r=jnt(),o=ket(),i=ait();return uit.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},uit}(),r=Frt(),o=urt(),i=function(){if(Zot)return Jot;Zot=1;var t=Fet();return Jot=t("document","documentElement")}(),u=Ont(),a=irt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,Qot=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function cit(){if(nit)return eit;nit=1;var t=Snt(),e=sit(),n=Lnt().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),eit=function(t){o[r][t]=!0}}!function(){if(rit)return iit;rit=1;var t=hot(),e=Irt().includes,n=Ptt(),r=cit();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var lit,fit,dit,pit,hit,vit,git,yit,mit,bit={};function Eit(){if(vit)return hit;vit=1;var t=bot(),e=String;return hit=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}!function(){if(mit)return bit;mit=1;var t=hot(),e=Aet(),n=function(){if(pit)return dit;pit=1;var t=function(){if(fit)return lit;fit=1;var t=Bet(),e=xet(),n=Snt()("match");return lit=function(r){var o;return t(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===e(r))}}(),e=TypeError;return dit=function(n){if(t(n))throw new e("The method doesn't accept regular expressions");return n}}(),r=Pet(),o=Eit(),i=function(){if(yit)return git;yit=1;var t=Snt()("match");return git=function(e){var n=/./;try{"/./"[e](n)}catch(r){try{return n[t]=!1,"/./"[e](n)}catch(t){}}return!1}}(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(r(this)),o(n(t)),arguments.length>1?arguments[1]:void 0)}})}();var wit={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function Sit(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=wit,o=e.map(function(t){var e;return null===(e=null==r?void 0:r.blocks)||void 0===e?void 0:e[t]});return function(t){return function(t){return!yp.Editor.isEditor(t)&&yp.Element.isElement(t)&&"type"in t}(t)&&o.includes(t.type)}}function Cit(t,e){for(var n=Wot(e,2),r=n[0],o=n[1],i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];var a=Wot(yp.Node.common(t,r,o),2),s=a[0],c=a[1];return!!Sit.apply(void 0,qot([t],Wot(i),!1))(s,c)||!!yp.Editor.above(t,{match:Sit.apply(void 0,qot([t],Wot(i),!1)),at:c})}function Dit(t,e){var n,r;void 0===e&&(e={});var o=[];try{for(var i=Got(function(t,e){var n,r,o,i,u,a,s,c,l,f,d,p,h,v,g,y,m,b;return void 0===e&&(e={}),Vot(this,function(E){switch(E.label){case 0:if(n=Wot(yp.Editor.nodes(t,{match:Sit(t,"table"),at:e.at}),1),!(r=n[0]))return[2,[]];o=Wot(r,2),i=o[1],E.label=1;case 1:E.trys.push([1,6,7,8]),u=Got(yp.Editor.nodes(t,{match:Sit(t,"table"),at:i})),a=u.next(),E.label=2;case 2:if(a.done)return[3,5];s=Wot(a.value,2),c=s[1],l=[];try{for(m=void 0,f=Got(yp.Editor.nodes(t,{match:Sit(t,"tr"),at:c})),d=f.next();!d.done;d=f.next())p=Wot(d.value,2),h=p[1],l.push(qot([],Wot(yp.Editor.nodes(t,{match:Sit(t,"th","td"),at:h})),!1))}catch(t){m={error:t}}finally{try{d&&!d.done&&(b=f.return)&&b.call(f)}finally{if(m)throw m.error}}return[4,l];case 3:E.sent(),E.label=4;case 4:return a=u.next(),[3,2];case 5:return[3,8];case 6:return v=E.sent(),g={error:v},[3,8];case 7:try{a&&!a.done&&(y=u.return)&&y.call(u)}finally{if(g)throw g.error}return[7];case 8:return[2]}})}(t,{at:e.at})),u=i.next();!u.done;u=i.next()){for(var a=u.value,s=[],c=0,l=0;l<a.length;l+=1)a[l]&&(c=Math.max(c,a[l].length));for(l=0;l<a.length;l+=1)if(s[l]||(s[l]=[]),a[l])for(var f=0;f<a[l].length;f+=1)if(a[l][f]&&a[l][f][0]){for(var d=Wot(a[l][f],1)[0],p=d.rowSpan,h=void 0===p?1:p,v=d.colSpan,g=void 0===v?1:v,y=f;s[l]&&s[l][y];)y+=1;for(var m=0;m<g;m+=1)for(var b=0;b<h;b+=1){var E=l+b,w=y+m;s[E]||(s[E]=[]),s[E][w]||(s[E][w]=[a[l][f],{rtl:m+1,ltr:g-m,ttb:b+1,btt:h-b}])}}o.push.apply(o,qot([],Wot(s),!1))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}var Oit,Ait=function(){function t(t,e){this.x=t,this.y=e}return t.valueOf=function(t,e){return new this(t,e)},t.equals=function(t,e){return t.x===e.x&&t.y===e.y},t}(),xit={};!function(){if(Oit)return xit;Oit=1;var t=hot(),e=jot().find,n=cit(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var Tit,Nit,Pit,kit,Iit,Bit,Fit,Rit,_it,jit,Lit,Mit,zit,Hit,$it,Uit,Vit,Git={};function Wit(){if(Nit)return Tit;Nit=1;var t=Btt(),e=jnt(),n=Uet();return Tit=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function qit(){return Bit?Iit:(Bit=1,Iit={})}function Kit(){if(Rit)return Fit;Rit=1;var t=Snt(),e=qit(),n=t("iterator"),r=Array.prototype;return Fit=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}function Yit(){if(jit)return _it;jit=1;var t=bot(),e=Uet(),n=Net(),r=qit(),o=Snt()("iterator");return _it=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function Xit(){if(Mit)return Lit;Mit=1;var t=Btt(),e=$et(),n=jnt(),r=Het(),o=Yit(),i=TypeError;return Lit=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},Lit}function Jit(){if(Uit)return $it;Uit=1;var t=Snt()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return $it=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}!function(){if(Vit)return Git;Vit=1;var t=hot(),e=function(){if(Hit)return zit;Hit=1;var t=_ot(),e=Btt(),n=bnt(),r=function(){if(kit)return Pit;kit=1;var t=jnt(),e=Wit();return Pit=function(n,r,o,i){try{return i?r(t(o)[0],o[1]):r(o)}catch(t){e(n,"throw",t)}}}(),o=Kit(),i=Eot(),u=krt(),a=yot(),s=Xit(),c=Yit(),l=Array;return zit=function(f){var d=n(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?r(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},zit}();t({target:"Array",stat:!0,forced:!Jit()(function(t){Array.from(t)})},{from:e})}();var Zit,Qit,tut,eut,nut,rut,out,iut,uut,aut,sut,cut={};function lut(){if(Qit)return Zit;Qit=1;var t=jnt();return Zit=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function fut(){if(eut)return tut;eut=1;var t=Ptt(),e=Ett().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return tut={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}function dut(){if(aut)return uut;aut=1;var t,e,n=Btt(),r=Aet(),o=Eit(),i=lut(),u=fut(),a=mnt(),s=sit(),c=art().get,l=function(){if(rut)return nut;rut=1;var t=Ptt(),e=Ett().RegExp;return nut=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(iut)return out;iut=1;var t=Ptt(),e=Ett().RegExp;return out=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),uut=h}function put(){if(sut)return cut;sut=1;var t=hot(),e=dut();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),cut}put();var hut,vut,gut,yut,mut,but,Eut,wut,Sut,Cut,Dut,Out,Aut,xut,Tut,Nut,Put,kut,Iut,But,Fut,Rut,_ut,jut,Lut,Mut={};function zut(){if(vut)return hut;vut=1;var t=Aet(),e=Trt(),n=Eit(),r=Pet(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return hut={codeAt:a(!1),charAt:a(!0)}}function Hut(){if(but)return mut;but=1;var t=Ent(),e=Iet(),n=bnt(),r=irt(),o=function(){if(yut)return gut;yut=1;var t=Ptt();return gut=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return mut=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function $ut(){if(wut)return Eut;wut=1;var t,e,n,r=Ptt(),o=Iet(),i=Bet(),u=sit(),a=Hut(),s=crt(),c=Snt(),l=vnt(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),Eut={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function Uut(){if(Cut)return Sut;Cut=1;var t=Lnt().f,e=Ent(),n=Snt()("toStringTag");return Sut=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function Vut(){if(kut)return Put;kut=1;var t=function(){if(Nut)return Tut;Nut=1;var t=Bet();return Tut=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return Put=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function Gut(){if(But)return Iut;But=1;var t=function(){if(xut)return Aut;xut=1;var t=Aet(),e=$et();return Aut=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=Bet(),n=Pet(),r=Vut();return Iut=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function Wut(){if(Rut)return Fut;Rut=1;var t=hot(),e=Btt(),n=vnt(),r=nrt(),o=Iet(),i=function(){if(Out)return Dut;Out=1;var t=$ut().IteratorPrototype,e=sit(),n=Oet(),r=Uut(),o=qit(),i=function(){return this};return Dut=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=Hut(),a=Gut(),s=Uut(),c=Mnt(),l=crt(),f=Snt(),d=qit(),p=$ut(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return Fut=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function qut(){return jut?_ut:(jut=1,_ut=function(t,e){return{value:t,done:e}})}!function(){if(Lut)return Mut;Lut=1;var t=zut().charAt,e=Eit(),n=art(),r=Wut(),o=qut(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var Kut,Yut,Xut,Jut,Zut,Qut,tat,eat={};function nat(){return Yut?Kut:(Yut=1,Kut={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})}function rat(){if(Jut)return Xut;Jut=1;var t=Ont()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Xut=e===Object.prototype?void 0:e}!function(){if(tat)return eat;tat=1;var t=Ett(),e=nat(),n=rat(),r=function(){if(Qut)return Zut;Qut=1;var t=jot().forEach,e=xot()("forEach");return Zut=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Zut}(),o=Mnt(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var oat,iat,uat,aat,sat,cat,lat,fat={};function dat(){return iat?oat:(iat=1,oat="\t\n\v\f\r \u2028\u2029\ufeff")}function pat(){if(aat)return uat;aat=1;var t=Aet(),e=Pet(),n=Eit(),r=dat(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return uat={start:a(1),end:a(2),trim:a(3)}}!function(){if(lat)return fat;lat=1;var t=hot(),e=pat().trim,n=function(){if(cat)return sat;cat=1;var t=nrt().PROPER,e=Ptt(),n=dat();return sat=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var hat,vat,gat,yat,mat={};function bat(t){return t.length?t[0].tagName.toLowerCase():""}function Eat(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i+=1){var u=r[i];if(u){var a=u.split(":");a[0].trim()===e&&(n=a[1].trim())}}return n}function wat(){if(yat)return gat;yat=1;var t=ket(),e=cit(),n=qit(),r=art(),o=Lnt().f,i=Wut(),u=qut(),a=vnt(),s=ktt(),c="Array Iterator",l=r.set,f=r.getterFor(c);gat=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return gat}vat||(vat=1,function(){if(hat)return mat;hat=1;var t=hot(),e=Ett();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),rh&&Rp.fn&&(Rp.fn.append=rh),Vp&&Rp.fn&&(Rp.fn.on=Vp),hh&&Rp.fn&&(Rp.fn.focus=hh),Mp&&Rp.fn&&(Rp.fn.attr=Mp),Up&&Rp.fn&&(Rp.fn.val=Up),th&&Rp.fn&&(Rp.fn.html=th),$p&&Rp.fn&&(Rp.fn.dataset=$p),_p&&Rp.fn&&(Rp.fn.addClass=_p),jp&&Rp.fn&&(Rp.fn.removeClass=jp),sh&&Rp.fn&&(Rp.fn.children=sh),Zp&&Rp.fn&&(Rp.fn.each=Zp),ah&&Rp.fn&&(Rp.fn.find=ah),Hp&&Rp.fn&&(Rp.fn.data=Hp),Yp&&Rp.fn&&(Rp.fn.hide=Yp),Xp&&Rp.fn&&(Rp.fn.show=Xp),wat();var Sat,Cat,Dat,Oat,Aat={};function xat(){if(Cat)return Sat;Cat=1;var t=Ptt();return Sat=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Tat(){if(Oat)return Dat;Oat=1;var t=crt();return Dat=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var Nat,Pat,kat,Iat,Bat,Fat,Rat,_at,jat,Lat,Mat,zat,Hat,$at,Uat,Vat,Gat,Wat,qat,Kat,Yat={exports:{}},Xat={};function Jat(){if(Pat)return Nat;Pat=1;var t=Aet();return Nat=t([].slice)}function Zat(){if(_at)return Yat.exports;_at=1;var t=hot(),e=Aet(),n=urt(),r=Bet(),o=Ent(),i=Lnt().f,u=Rrt(),a=function(){if(kat)return Xat;kat=1;var t=xet(),e=ket(),n=Rrt().f,r=Jat(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Xat.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},Xat}(),s=function(){if(Rat)return Fat;Rat=1;var t=Ptt(),e=Bet(),n=xet(),r=function(){if(Bat)return Iat;Bat=1;var t=Ptt();return Iat=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return Fat=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=wnt(),l=xat(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Yat.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,Yat.exports}function Qat(){if(Lat)return jat;Lat=1;var t=_ot(),e=Btt(),n=jnt(),r=Het(),o=Kit(),i=krt(),u=Ret(),a=Xit(),s=Yit(),c=Wit(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return jat=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function tst(){if(zat)return Mat;zat=1;var t=Ret(),e=TypeError;return Mat=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function est(){if($at)return Hat;$at=1;var t=Iet(),e=Bet(),n=Gut();return Hat=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}function nst(){if(Vat)return Uat;Vat=1;var t=hot(),e=Ett(),n=Aet(),r=pot(),o=crt(),i=Zat(),u=Qat(),a=tst(),s=Iet(),c=Net(),l=Bet(),f=Ptt(),d=Jit(),p=Uut(),h=est();return Uat=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function rst(){if(Wat)return Gat;Wat=1;var t=Aet(),e=Tat(),n=Zat().getWeakData,r=tst(),o=jnt(),i=Net(),u=Bet(),a=Qat(),s=jot(),c=Ent(),l=art(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Gat={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}},Gat}Kat||(Kat=1,function(){if(qat)return Aat;qat=1;var t,e=xat(),n=Ett(),r=Aet(),o=Tat(),i=Zat(),u=nst(),a=rst(),s=Bet(),c=art().enforce,l=Ptt(),f=ort(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var ost,ist={};!function(){if(ost)return ist;ost=1;var t=Ett(),e=nat(),n=rat(),r=wat(),o=Mnt(),i=Uut(),u=Snt()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var ust,ast,sst,cst,lst,fst,dst,pst,hst,vst,gst,yst=new WeakMap,mst=new WeakMap,bst=function(){function t(){this.title=fI("tableModule.tableProperty"),this.iconSvg='<svg viewBox="0 0 20 20"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.menu="table",this.borderStyle=[{value:"none",label:fI("tableModule.borderStyle.none")},{value:"solid",label:fI("tableModule.borderStyle.solid")},{value:"dotted",label:fI("tableModule.borderStyle.dotted")},{value:"dashed",label:fI("tableModule.borderStyle.dashed")},{value:"double",label:fI("tableModule.borderStyle.double")},{value:"groove",label:fI("tableModule.borderStyle.groove")},{value:"ridge",label:fI("tableModule.borderStyle.ridge")},{value:"inset",label:fI("tableModule.borderStyle.inset")},{value:"outset",label:fI("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:fI("justify.left"),svg:'<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>'},{value:"center",label:fI("justify.center"),svg:'<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>'},{value:"right",label:fI("justify.right"),svg:'<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>'},{value:"justify",label:fI("justify.justify"),svg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>'}]}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==tP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){},t.prototype.getModalContentNode=function(t){return Wot(yp.Editor.nodes(t,{match:Sit(t,"table")}),1)[0]},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,n=this.getModalContentNode(t);if(!n)return null;var r=Wot(n,2),o=r[0],i=r[1],u=Rp('<div>\n <label class="babel-container">\n <span>'.concat(fI("tableModule.modal.border"),'</span>\n <span class="babel-container-border">\n <select name="borderStyle">\n ').concat(this.borderStyle.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n <span class="color-group" data-mark="color">\n <span class="color-group-block"></span>\n <input name="borderColor" type="hidden">\n </span>\n <input name="borderWidth" type="number" placeholder="').concat(fI("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(fI("tableModule.modal.bgColor"),'</span>\n <span class="babel-container-background">\n <span class="color-group" data-mark="bgColor">\n <span class="color-group-block"></span>\n <input name="backgroundColor" type="hidden">\n </span>\n </span>\n </div>\n <label class="babel-container">\n <span>').concat(fI("tableModule.modal.align"),'</span>\n <span class="babel-container-align">\n <select name="textAlign">\n ').concat(this.textAlignOptions.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n </span>\n </label>\n <div class="button-container">\n <button type="button">').concat(fI("tableModule.modal.ok"),"</button>\n </div>\n </div>"));u.find("[name]").each(function(t){Rp(t).val(o[Rp(t).attr("name")])});var a=function(t,e){e?Rp(".color-group-block",t).css("background-color",e).empty():Rp(".color-group-block",t).css("background-color","").html(oit)};return u.find(".color-group").each(function(n){var r=Rp('[type="hidden"]',n).val()||"";a(n,r);var o=Rp(n);o.on("click",function(){u.find(".color-group .w-e-drop-panel").hide();var i=o.data("panel");i?i.show():(i=e.getPanelContentElem(t,{mark:o.data("mark"),selectedColor:r,callback:function(t){Rp('[type="hidden"]',n).val(t||""),a(n,t),i.hide()}}),o.append(i),o.data("panel",i))})}),u.find("button").on("click",function(){var n=Array.from(u.find("[name]")).reduce(function(t,e){return t[Rp(e).attr("name")]=Rp(e).val(),t},{}),r=yst.get(t);"cell"===e.menu&&(null==r?void 0:r.length)?r.forEach(function(e){e.forEach(function(e){yp.Transforms.setNodes(t,n,{at:e[0][1]})})}):yp.Transforms.setNodes(t,n,{at:i}),setTimeout(function(){t.focus()})}),u[0]},t.prototype.getPanelContentElem=function(t,e){var n=e.mark,r=e.selectedColor,o=e.callback,i=Rp('<ul class="w-e-panel-content-color"></ul>');i.on("click","li",function(t){var e=t.target;if(e){t.preventDefault(),t.stopPropagation();var n=Rp(e).attr("data-value");o(n)}});var u=t.getMenuConfig(n).colors;(void 0===u?[]:u).forEach(function(t){var e=Rp('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var n=Rp('<li data-value="'.concat(t,'"></li>'));r===t&&n.addClass("active"),n.append(e),i.append(n)});var a="";"color"===n&&(a=fI("tableModule.color.default")),"bgColor"===n&&(a=fI("tableModule.color.clear"));var s=Rp('\n <li data-value="" class="clear">\n '.concat(oit,"\n ").concat(a,"\n </li>\n "));i.prepend(s);var c=Rp('<div class="w-e-drop-panel"></div>');return c.append(i),c},t}(),Est=function(t){function e(){var e=t.apply(this,qot([],Wot(arguments),!1))||this;return e.title=fI("tableModule.cellProperty"),e.iconSvg='<svg viewBox="0 0 20 20"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',e.tag="button",e.showModal=!0,e.modalWidth=300,e.menu="cell",e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}$ot(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.getModalContentNode=function(t){return Wot(yp.Editor.nodes(t,{match:Sit(t,"td")}),1)[0]},e}(bst),wst={};function Sst(){if(ast)return ust;ast=1;var t=Het(),e=TypeError;return ust=function(n,r){if(!delete n[r])throw new e("Cannot delete property "+t(r)+" of "+t(n))}}!function(){if(gst)return wst;gst=1;var t=hot(),e=Aet(),n=$et(),r=bnt(),o=krt(),i=Sst(),u=Eit(),a=Ptt(),s=function(){if(cst)return sst;cst=1;var t=Jat(),e=Math.floor,n=function(r,o){var i=r.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=r[s];a&&o(r[a-1],u)>0;)r[a]=r[--a];a!==s++&&(r[a]=u)}else for(var c=e(i/2),l=n(t(r,0,c),o),f=n(t(r,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)r[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return r};return sst=n}(),c=xot(),l=function(){if(fst)return lst;fst=1;var t=_et().match(/firefox\/(\d+)/i);return lst=!!t&&+t[1]}(),f=function(){if(pst)return dst;pst=1;var t=_et();return dst=/MSIE|Trident/.test(t)}(),d=jet(),p=function(){if(vst)return hst;vst=1;var t=_et().match(/AppleWebKit\/(\d+)\./);return hst=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,n,r,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)h.push({k:e+r,v:n})}for(h.sort(function(t,e){return e.v-t.v}),r=0;r<h.length;r++)e=h[r].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&n(t);var e=r(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:u(e)>u(n)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var Cst,Dst,Ost,Ast={};!function(){if(Ost)return Ast;Ost=1;var t=hot(),e=bnt(),n=Nrt(),r=Trt(),o=krt(),i=function(){if(Dst)return Cst;Dst=1;var t=ktt(),e=vot(),n=TypeError,r=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return Cst=o?function(t,o){if(e(t)&&!r(t,"length").writable)throw new n("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=got(),a=wot(),s=yot(),c=Sst(),l=Sot()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=n(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(r(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var xst,Tst,Nst,Pst,kst,Ist,Bst,Fst,Rst,_st,jst,Lst,Mst,zst={};function Hst(){if(Bst)return Ist;Bst=1;var t=srt(),e=Lnt();return Ist=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}function $st(){if(jst)return _st;jst=1;var t=sit(),e=Hst(),n=Tat(),r=_ot(),o=tst(),i=Net(),u=Qat(),a=Wut(),s=qut(),c=function(){if(Rst)return Fst;Rst=1;var t=Fet(),e=Hst(),n=Snt(),r=ktt(),o=n("species");return Fst=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),l=ktt(),f=Zat().fastKey,d=art(),p=d.set,h=d.getterFor;return _st={getConstructor:function(a,s,c,d){var v=a(function(e,n){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(n)||u(n,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,n){var r,o,i=y(t),u=b(t,e);return u?u.value=n:(i.last=u={index:o=f(e,!0),key:e,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var n,r=y(t),o=f(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===e)return n};return n(g,{clear:function(){for(var e=y(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,n=y(e),r=b(e,t);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),l?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=y(this),o=r(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),n(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,n){var r=e+" Iterator",o=h(e),i=h(r);a(t,e,function(t,e){p(this,{type:r,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?s("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=null,s(void 0,!0))},n?"entries":"values",!n,!0),c(e)}},_st}!function(){if(kst)return zst;kst=1;var t=hot(),e=vnt(),n=ktt(),r=Ett(),o=function(){if(Tst)return xst;Tst=1;var t=Ett();return xst=t}(),i=Aet(),u=pot(),a=Ent(),s=est(),c=Ret(),l=zet(),f=Cnt(),d=Ptt(),p=Rrt().f,h=xnt().f,v=Lnt().f,g=function(){if(Pst)return Nst;Pst=1;var t=Aet();return Nst=t(1.1.valueOf)}(),y=pat().trim,m="Number",b=r[m],E=o[m],w=b.prototype,S=r.TypeError,C=i("".slice),D=i("".charCodeAt),O=u(m,!b(" 0o1")||!b("0b1")||b("+0x1")),A=function(t){var e,n=arguments.length<1?0:b(function(t){var e=f(t,"number");return"bigint"==typeof e?e:function(t){var e,n,r,o,i,u,a,s,c=f(t,"number");if(l(c))throw new S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=y(c),43===(e=D(c,0))||45===e){if(88===(n=D(c,2))||120===n)return NaN}else if(48===e){switch(D(c,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(u=(i=C(c,2)).length,a=0;a<u;a++)if((s=D(i,a))<48||s>o)return NaN;return parseInt(i,r)}return+c}(e)}(t));return c(w,e=this)&&d(function(){g(e)})?s(Object(n),this,A):n};A.prototype=w,O&&!e&&(w.constructor=A),t({global:!0,constructor:!0,wrap:!0,forced:O},{Number:A});var x=function(t,e){for(var r,o=n?p(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;o.length>i;i++)a(e,r=o[i])&&!a(t,r)&&v(t,r,h(e,r))};e&&E&&x(o[m],E),(O||e)&&x(o[m],b)}(),Mst||(Mst=1,Lst||(Lst=1,nst()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},$st())));var Ust=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==tP.getSelectedNodeByType(t,"table-cell")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")},universal:!0}),1),r=Wot(n[0],2),o=r[0],i=r[1],u=tP.getParentNode(t,o),a=(null==u?void 0:u.children.length)||0;if(!u||a<=1)yp.Transforms.removeNodes(t,{mode:"highest"});else if(null!=tP.getParentNode(t,u)){var s=Dit(t),c=0;t:for(var l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=Wot(s[l][f],1),p=Wot(d[0],2)[1];if(yp.Path.equals(i,p)){c=f;break t}}yp.Editor.withoutNormalizing(t,function(){for(var e,n,r=new Set,o=new Set,i=0;i<s.length;i+=1)if(s[i]&&s[i][c]){var u=Wot(s[i][c],2),a=Wot(u[0],2)[1],l=u[1],f=l.rtl,d=l.ltr,p=l.ttb,h=l.btt,v=a.join(",");if(f>1||d>1||p>1||h>1){var g=i-(p-1),y=c-(f-1);if(g<0||g>=s.length||!s[g]||!s[g][y])continue;var m=Wot(s[g][y],1),b=Wot(m[0],2),E=b[0],w=b[1],S=w.join(",");if(!o.has(S)){o.add(S);var C=E.rowSpan,D=void 0===C?1:C,O=E.colSpan,A=void 0===O?1:O,x=Math.max(A-1,1);yp.Transforms.setNodes(t,{rowSpan:D,colSpan:x},{at:w})}}else r.add(v)}var T=Array.from(r);T.sort(function(t,e){var n=t.split(",").map(Number),r=e.split(",").map(Number);return n[n.length-2]!==r[r.length-2]?r[r.length-2]-n[n.length-2]:r[r.length-1]-n[n.length-1]});try{for(var N=Got(T),P=N.next();!P.done;P=N.next()){var k=P.value.split(",").map(Number);try{yp.Editor.hasPath(t,k)&&yp.Transforms.removeNodes(t,{at:k})}catch(t){console.warn("删除单元格失败:",k,t)}}}catch(t){e={error:t}}finally{try{P&&!P.done&&(n=N.return)&&n.call(N)}finally{if(e)throw e.error}}var I=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table")},universal:!0}),1)[0];if(I){var B=Wot(I,2),F=B[0],R=B[1],_=F.columnWidths,j=qot([],Wot(void 0===_?[]:_),!1);j.splice(c,1),yp.Transforms.setNodes(t,{columnWidths:j},{at:R})}})}}},t}(),Vst=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==tP.getSelectedNodeByType(t,"table-row")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-row")},universal:!0}),1),r=Wot(n[0],2),o=r[0],i=r[1],u=tP.getParentNode(t,o);if(((null==u?void 0:u.children.length)||0)<=1)yp.Transforms.removeNodes(t,{mode:"highest"});else{var a=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")},universal:!0}),1),s=Wot(a[0],2)[1],c=Dit(t),l=0;t:for(var f=0;f<c.length;f+=1)for(var d=0;d<c[f].length;d+=1){var p=Wot(c[f][d],1),h=Wot(p[0],2)[1];if(yp.Path.equals(s,h)){l=f;break t}}yp.Editor.withoutNormalizing(t,function(){for(var e,n,r=[],o=0;o<c[l].length;o+=1){var u=Wot(c[l][o],2),a=Wot(u[0],1)[0].hidden,s=u[1],f=s.ttb,d=s.btt,p=s.rtl;if(f>1||d>1){var h=l-(f-1);if(h<0||h>=c.length||!c[h]||!c[h][o])continue;var v=Wot(c[h][o],1),g=Wot(v[0],2),y=g[0],m=g[1],b=y,E=b.rowSpan,w=void 0===E?1:E,S=b.colSpan,C=void 0===S?1:S;if(a)yp.Transforms.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else if(1===f&&1===p)if(l+1<c.length&&w>1){var D={type:"table-cell",rowSpan:w-1,colSpan:C,hidden:!1,children:b.children.map(function(t){return Uot({},t)})};b.isHeader&&(D.isHeader=b.isHeader),b.width&&(D.width=b.width),b.backgroundColor&&(D.backgroundColor=b.backgroundColor),b.borderWidth&&(D.borderWidth=b.borderWidth),b.borderStyle&&(D.borderStyle=b.borderStyle),b.borderColor&&(D.borderColor=b.borderColor),b.textAlign&&(D.textAlign=b.textAlign),r.push({cell:D,columnIndex:o})}else yp.Transforms.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else yp.Transforms.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m})}}if(yp.Transforms.removeNodes(t,{at:i}),r.length>0){var O=i;try{r.sort(function(t,e){return t.columnIndex-e.columnIndex});try{for(var A=Got(r),x=A.next();!x.done;x=A.next()){var T=x.value,N=T.cell,P=T.columnIndex;try{var k=qot(qot([],Wot(O),!1),[P],!1);yp.Transforms.insertNodes(t,N,{at:k})}catch(e){try{var I=Wot(yp.Editor.node(t,O),1)[0].children.length,B=qot(qot([],Wot(O),!1),[I],!1);yp.Transforms.insertNodes(t,N,{at:B})}catch(t){console.warn("插入新单元格失败:",t)}}}}catch(t){e={error:t}}finally{try{x&&!x.done&&(n=A.return)&&n.call(A)}finally{if(e)throw e.error}}}catch(t){console.warn("插入新单元格失败:",t)}}})}}},t}(),Gst=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==tP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){this.isDisabled(t)||yp.Transforms.removeNodes(t,{mode:"highest"})},t}(),Wst=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){var e=tP.getSelectedNodeByType(t,"table");return!!e&&("100%"===e.width||"auto"===e.width)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==tP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n={width:e?"auto":"100%"};yp.Transforms.setNodes(t,n,{mode:"highest"})}},t}();function qst(t){var e=t.children||[];return 0===e.length?[]:(e[0]||{}).children||[]}function Kst(t){return qst(t).every(function(t){return!!t.isHeader})}var Yst,Xst,Jst,Zst=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;if(null==e)return!0;if(!yp.Range.isCollapsed(e))return!0;var n=tP.getSelectedNodeByType(t,"table");if(null==n)return!0;try{var r=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")},universal:!0}),1)[0];if(!r)return!0;for(var o=Wot(r,2)[1],i=Dit(t),u=-1,a=0;a<i.length;a+=1){for(var s=0;s<i[a].length;s+=1){var c=Wot(i[a][s],1),l=Wot(c[0],2)[1];if(yp.Path.equals(o,l)){u=s;break}}if(-1!==u)break}if(-1===u)return!0;var f=n.columnWidths,d=(void 0===f?[]:f)[u];if(d&&d<20)return!0}catch(t){return!0}return!1},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")},universal:!0}),1),r=Wot(n[0],2),o=r[0],i=r[1],u=tP.getParentNode(t,o);if(null!=u){var a=tP.getParentNode(t,u);if(null!=a){for(var s=Dit(t),c=0,l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=Wot(s[l][f],1),p=Wot(d[0],2)[1];if(yp.Path.equals(i,p)){c=f;break}}yp.Editor.withoutNormalizing(t,function(){for(var e=new Set,n=new Set,r=0;r<s.length;r+=1)if(s[r]&&s[r][c]){var o=Wot(s[r][c],2);Wot(o[0],1);var i=o[1],u=i.rtl,l=i.ltr,f=i.ttb,d=i.btt;if(u>1||l>1||f>1||d>1){var p=r-(f-1),h=c-(u-1);if(p<0||p>=s.length||!s[p]||!s[p][h])continue;var v=Wot(s[p][h],1),g=Wot(v[0],2),y=g[0],m=g[1],b=m.join(",");if(e.has(b))n.add(r);else{e.add(b);var E=y.rowSpan,w=void 0===E?1:E,S=y.colSpan,C=(void 0===S?1:S)+1;y.hidden||yp.Transforms.setNodes(t,{colSpan:C},{at:m});for(var D=0;D<w;D+=1)n.add(p+D)}}}for(r=0;r<s.length;r+=1)if(!n.has(r)&&s[r]&&s[r][c]){var O={type:"table-cell",children:[{text:""}]};0===r&&Kst(a)&&(O.isHeader=!0);var A=Wot(s[r][c],1),x=Wot(A[0],2)[1];yp.Transforms.insertNodes(t,O,{at:x})}var T=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table")},universal:!0}),1)[0];if(T){var N=Wot(T,2),P=N[0],k=N[1],I=P.columnWidths,B=void 0===I?[]:I,F=qot([],Wot(B),!1),R=t.getMenuConfig("insertTable").minWidth,_=void 0===R?60:R,j=B[c]||parseInt(_,10)||60,L=Math.floor(j/2),M=j-L;F.splice(c,0,L),F[c+1]=M,yp.Transforms.setNodes(t,{columnWidths:F},{at:k})}})}}}},t}(),Qst=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==tP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){var n;if(!this.isDisabled(t)){var r=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")},universal:!0}),1),o=Wot(r[0],2)[1],i=Dit(t),u=0;t:for(var a=0;a<i.length;a+=1)for(var s=0;s<i[a].length;s+=1){var c=Wot(i[a][s],1),l=Wot(c[0],2)[1];if(yp.Path.equals(o,l)){u=a;break t}}var f=(null===(n=i[u])||void 0===n?void 0:n.length)||0;0!==f&&yp.Editor.withoutNormalizing(t,function(){for(var e=u+1,n=e>=0&&e<i.length,r=[],a=0;n&&a<i[u].length;a+=1){var s=Wot(i[u][a],2)[1],c=s.ttb,l=s.btt;if(c>1||l>1){var d=u-(c-1);if(d<0||d>=i.length||!i[d]||!i[d][a])continue;var p=Wot(i[d][a],1),h=Wot(p[0],2),v=h[0],g=h[1],y=v.rowSpan||1;r.push(a),v.hidden||yp.Transforms.setNodes(t,{rowSpan:y+1},{at:g})}}for(var m={type:"table-row",children:[]},b=0;b<f;b+=1)r.includes(b)||m.children.push({type:"table-cell",children:[{text:""}]});var E=yp.Path.parent(o),w=yp.Path.next(E);yp.Transforms.insertNodes(t,m,{at:w})})}},t}(),tct={};!function(){if(Jst)return tct;Jst=1;var t=hot(),e=function(){if(Xst)return Yst;Xst=1;var t=bnt(),e=Nrt(),n=krt();return Yst=function(r){for(var o=t(this),i=n(o),u=arguments.length,a=e(u>1?arguments[1]:void 0,i),s=u>2?arguments[2]:void 0,c=void 0===s?i:e(s,i);c>a;)o[a++]=r;return o},Yst}(),n=cit();t({target:"Array",proto:!0},{fill:e}),n("fill")}();var ect,nct,rct,oct,ict,uct={};function act(){if(oct)return rct;oct=1;var t=Btt(),e=Ent(),n=Ret(),r=function(){if(nct)return ect;nct=1;var t=Ett(),e=Ptt(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return ect={correct:r}}(),o=lut(),i=RegExp.prototype;return rct=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(ict)return uct;ict=1;var t=nrt().PROPER,e=crt(),n=jnt(),r=Eit(),o=Ptt(),i=act(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var sct,cct,lct=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!tP.getSelectedElems(t).some(function(e){var n=tP.getNodeType(e);return"pre"===n||"table"===n||"list-item"===n||!!t.isVoid(e)})},t.prototype.getPanelContentElem=function(t){var e=this;if(this.$content)return this.$content[0];for(var n=Rp('<div class="w-e-panel-content-table"></div>'),r=Rp("<span>0 × 0</span>"),o=Rp("<table></table>"),i=0;i<10;i+=1){for(var u=Rp("<tr></tr>"),a=0;a<10;a+=1){var s=Rp("<td></td>");s.attr("data-x",a.toString()),s.attr("data-y",i.toString()),u.append(s),s.on("mouseenter",function(t){var e=t.target;if(null!=e){var n=Rp(e).dataset(),i=n.x,u=n.y;r[0].innerHTML="".concat(i+1," × ").concat(u+1),o.children().each(function(t){Rp(t).children().each(function(t){var e=Rp(t),n=e.dataset(),r=n.x,o=n.y;r<=i&&o<=u?e.addClass("active"):e.removeClass("active")})})}}),s.on("click",function(n){n.preventDefault();var r=n.target;if(null!=r){var o=Rp(r).dataset(),i=o.x,u=o.y;e.insertTable(t,u+1,i+1)}})}o.append(u)}return n.append(o),n.append(r),this.$content=n,n[0]},t.prototype.insertTable=function(t,e,n){var r=parseInt(e,10),o=parseInt(n,10);if(r&&o&&!(r<=0||o<=0)){tP.isSelectedEmptyParagraph(t)&&yp.Transforms.removeNodes(t,{mode:"highest"}),0===t.children.length&&yp.Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});var i=function(t,e,n){for(var r,o=[],i=t.getMenuConfig("insertTable"),u=i.minWidth,a=void 0===u?60:u,s=i.tableFullWidth,c=i.tableHeader,l=Array(n).fill(parseInt(a,10)||60),f=0;f<e;f+=1){for(var d=[],p=0;p<n;p+=1){var h={type:"table-cell",children:[{text:""}]};0===f&&(h.isHeader=null===(r=null==c?void 0:c.selected)||void 0===r||r),d.push(h)}o.push({type:"table-row",children:d})}return{type:"table",width:(null==s?void 0:s.selected)?"100%":"auto",children:o,columnWidths:l}}(t,r,o);yp.Transforms.insertNodes(t,i,{mode:"highest"})}},t}();cct||(cct=1,sct||(sct=1,nst()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},$st())));var fct,dct={isInTable:function(t,e){return void 0===e&&(e={}),!!Wot(yp.Editor.nodes(t,{match:Sit(t,"table"),at:e.at}),1)[0]},selection:function(t){var e,n,r,o,i,u,a,s;return Vot(this,function(c){switch(c.label){case 0:e=yst.get(t),n=0,c.label=1;case 1:if(!(e&&n<e.length))return[3,4];for(r=[],o=0;o<e[n].length;o+=1)i=Wot(e[n][o],2),u=i[0],a=i[1],s=a.ltr,1===a.ttb&&r.push(u),o+=s-1;return[4,r];case 2:c.sent(),c.label=3;case 3:return n+=1,[3,1];case 4:return[2]}})},unselect:function(t){mst.delete(t),yst.delete(t)},isSelected:function(t,e){var n=mst.get(t);return!!n&&n.has(e)}},pct=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return!this.canMerge(t)},t.prototype.exec=function(t,e){this.isDisabled(t)||(this.merge(t),dct.unselect(t))},t.prototype.canMerge=function(t){var e=yst.get(t);if(!e||!e.length)return!1;var n=Wot(e[e.length-1][e[e.length-1].length-1],1),r=Wot(n[0],2)[1],o=Wot(e[0][0],1);return!!Cit(t,[Wot(o[0],2)[1],r],"table")},t.prototype.merge=function(t){if(this.canMerge(t)){var e=yst.get(t);if(e&&e.length){var n=Wot(e[0][0],1),r=Wot(n[0],2)[1],o=Wot(yp.Node.children(t,r,{reverse:!0}),1),i=Wot(o[0],2)[1];yp.Editor.withoutNormalizing(t,function(){for(var n,o,u,a,s,c,l=new Map,f=[],d=1/0,p=-1/0,h=1/0,v=-1/0,g=0;g<e.length;g+=1)for(var y=0;y<e[g].length;y+=1){var m=Wot(e[g][y],2),b=Wot(m[0],2),E=b[0],w=b[1],S=m[1].ttb,C=w.join(",");if(1===S&&!l.has(C)){l.set(C,{path:w,x:g,y:y,element:E});var D=E.rowSpan,O=void 0===D?1:D,A=E.colSpan,x=g,T=g+O-1,N=y,P=y+(void 0===A?1:A)-1;d=Math.min(d,x),p=Math.max(p,T),h=Math.min(h,N),v=Math.max(v,P)}}var k=p-d+1,I=v-h+1;try{for(var B=Got(l),F=B.next();!F.done;F=B.next())w=Wot(F.value,2)[1].path,yp.Path.equals(r,w)||f.push(w)}catch(t){n={error:t}}finally{try{F&&!F.done&&(o=B.return)&&o.call(B)}finally{if(n)throw n.error}}f.sort(function(t,e){for(var n=0;n<Math.min(t.length,e.length);n+=1)if(t[n]!==e[n])return e[n]-t[n];return e.length-t.length});try{for(var R=Got(f),_=R.next();!_.done;_=R.next()){w=_.value;try{if(!yp.Editor.hasPath(t,w))continue;try{for(var j=(s=void 0,Got(yp.Node.children(t,w,{reverse:!0}))),L=j.next();!L.done;L=j.next()){var M=Wot(L.value,2)[1];yp.Transforms.moveNodes(t,{to:yp.Path.next(i),at:M})}}catch(t){s={error:t}}finally{try{L&&!L.done&&(c=j.return)&&c.call(j)}finally{if(s)throw s.error}}yp.Transforms.removeNodes(t,{at:w})}catch(t){}}}catch(t){u={error:t}}finally{try{_&&!_.done&&(a=R.return)&&a.call(R)}finally{if(u)throw u.error}}yp.Transforms.setNodes(t,{rowSpan:k,colSpan:I},{at:r})})}}},t}(),hct={};!function(){if(fct)return hct;fct=1;var t=hot(),e=vot(),n=Eot(),r=Bet(),o=Nrt(),i=krt(),u=ket(),a=yot(),s=Snt(),c=Sot(),l=Jat(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var vct,gct,yct,mct,bct,Ect,wct,Sct,Cct,Dct,Oct,Act={};function xct(){if(gct)return vct;gct=1,put();var t=Btt(),e=crt(),n=dut(),r=Ptt(),o=Snt(),i=Mnt(),u=o("species"),a=RegExp.prototype;return vct=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function Tct(){if(Ect)return bct;Ect=1;var t=jnt(),e=function(){if(mct)return yct;mct=1;var t=Eot(),e=Het(),n=TypeError;return yct=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=Net(),r=Snt()("species");return bct=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function Nct(){if(Sct)return wct;Sct=1;var t=zut().charAt;return wct=function(e,n,r){return n+(r?t(e,n).length:1)}}function Pct(){if(Dct)return Cct;Dct=1;var t=Btt(),e=jnt(),n=Iet(),r=xet(),o=dut(),i=TypeError;return Cct=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(Oct)return Act;Oct=1;var t=Btt(),e=Aet(),n=xct(),r=jnt(),o=Bet(),i=Pet(),u=Tct(),a=Nct(),s=Prt(),c=Eit(),l=Uet(),f=Pct(),d=fut(),p=Ptt(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;n("split",function(e,n,d){var p="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t(n,this,e,r)}:n;return[function(n,r){var u=i(this),a=o(n)?l(n,e):void 0;return a?t(a,n,u,r):t(p,c(u),n,r)},function(t,e){var o=r(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==n);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var kct,Ict=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")}}),1)[0];if(!e)return!0;var n=Wot(e,1)[0],r=n.rowSpan,o=void 0===r?1:r,i=n.colSpan;return!(o>1||(void 0===i?1:i)>1)},t.prototype.exec=function(t,e){this.isDisabled(t)||this.split(t)},t.prototype.split=function(t,e){void 0===e&&(e={});var n=Wot(yp.Editor.nodes(t,{match:Sit(t,"table","th","td"),at:e.at}),2),r=n[0],o=n[1];if(r&&o){var i=Kst(Wot(r,1)[0]),u=Wot(o,2),a=u[0],s=u[1],c=a.rowSpan,l=void 0===c?1:c,f=a.colSpan,d=void 0===f?1:f;1===l&&1===d||yp.Editor.withoutNormalizing(t,function(){yp.Transforms.setNodes(t,{rowSpan:1,colSpan:1},{at:s});for(var e=1;e<d;e+=1){var n={type:"table-cell",children:[{text:""}]};0===s[s.length-2]&&i&&(n.isHeader=!0);var r=s.slice(0,-1),o=s[s.length-1]+e,u=qot(qot([],Wot(r),!1),[o],!1);try{yp.Transforms.insertNodes(t,n,{at:u})}catch(e){try{var a=Wot(yp.Editor.node(t,r),1)[0].children.length,c=qot(qot([],Wot(r),!1),[a],!1);yp.Transforms.insertNodes(t,n,{at:c})}catch(t){console.warn("插入同行单元格失败: ".concat(t instanceof Error?t.message:String(t)))}}}for(var f=1;f<l;f+=1){var p=s[s.length-2]+f,h=qot(qot([],Wot(s.slice(0,-2)),!1),[p],!1);try{var v=Wot(yp.Editor.node(t,h),1)[0];if(!v){console.warn("目标行 ".concat(p," 不存在"));continue}for(e=0;e<d;e+=1){n={type:"table-cell",children:[{text:""}]},o=s[s.length-1]+e,u=qot(qot([],Wot(h),!1),[o],!1);try{var g=v.children.length;if(o>=g){var y=qot(qot([],Wot(h),!1),[g],!1);yp.Transforms.insertNodes(t,n,{at:y})}else yp.Transforms.insertNodes(t,n,{at:u})}catch(e){try{var m=v.children.length;c=qot(qot([],Wot(h),!1),[m],!1),yp.Transforms.insertNodes(t,n,{at:c})}catch(t){console.warn("插入单元格到第".concat(f,"行失败: ").concat(t instanceof Error?t.message:String(t)))}}}}catch(t){console.warn("处理第".concat(f,"行时出错: ").concat(t instanceof Error?t.message:String(t)))}}})}},t}(),Bct=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){var e=tP.getSelectedNodeByType(t,"table");return null!=e&&Kst(e)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==tP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=!e,r=tP.getSelectedNodeByType(t,"table");null!=r&&qst(r).forEach(function(e){return yp.Transforms.setNodes(t,{isHeader:n},{at:tP.findPath(t,e)})})}},t}(),Fct={key:"insertTable",factory:function(){return new lct}},Rct={key:"deleteTable",factory:function(){return new Gst}},_ct={key:"insertTableRow",factory:function(){return new Qst}},jct={key:"deleteTableRow",factory:function(){return new Vst}},Lct={key:"insertTableCol",factory:function(){return new Zst}},Mct={key:"deleteTableCol",factory:function(){return new Ust}},zct={key:"tableHeader",factory:function(){return new Bct}},Hct={key:"tableFullWidth",factory:function(){return new Wst}},$ct={key:"mergeTableCell",factory:function(){return new pct}},Uct={key:"splitTableCell",factory:function(){return new Ict}},Vct={key:"setTableProperty",factory:function(){return new bst}},Gct={key:"setTableCellProperty",factory:function(){return new Est}},Wct={};!function(){if(kct)return Wct;kct=1;var t=hot(),e=jot().filter;t({target:"Array",proto:!0,forced:!Sot()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var qct,Kct,Yct,Xct,Jct,Zct={};!function(){if(Jct)return Zct;Jct=1;var t=function(){if(Kct)return qct;Kct=1;var t=Itt(),e=Function.prototype,n=e.apply,r=e.call;return qct="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),qct}(),e=Btt(),n=Aet(),r=xct(),o=Ptt(),i=jnt(),u=Iet(),a=Bet(),s=Trt(),c=Prt(),l=Eit(),f=Pet(),d=Nct(),p=Uet(),h=function(){if(Xct)return Yct;Xct=1;var t=Aet(),e=bnt(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return Yct=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=act(),g=Pct(),y=Snt()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var Qct,tlt,elt,nlt,rlt,olt,ilt,ult,alt={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);0===(e=e.filter(function(t){return"paragraph"===tP.getNodeType(t)||!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1",10),i=parseInt(r.attr("rowSpan")||"1",10),u="none"===Eat(r,"display"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===bat(r),colSpan:o,rowSpan:i,width:a,children:e,hidden:u}}},slt={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,n){for(var r=[],o=0;o<e.length;o+=1){var i=e[o];if("table-cell"===tP.getNodeType(i)){var u=i;if(u.hidden)continue;r.push(u)}}return{type:"table-row",children:r}}},clt={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r,o,i=Rp(t),u="auto";"100%"===Eat(i,"width")&&(u="100%"),"100%"===i.attr("width")&&(u="100%");var a={type:"table",width:u,height:parseInt(Eat(i,"height")||"0",10),children:e.filter(function(t){return"table-row"===tP.getNodeType(t)})},s=(null===(r=i.find("tr")[0])||void 0===r?void 0:r.children)||[],c=(null===(o=i.find("colgroup")[0])||void 0===o?void 0:o.children)||null,l=e[e.length-1].children.length;if(c&&c.length===l)a.columnWidths=Array.from(c).map(function(t){return parseInt(t.getAttribute("width"),10)});else if(s.length>0){var f=[];Array.from(s).forEach(function(t){var e=parseInt(Rp(t).attr("colSpan")||"1",10),n=parseInt(Eat(Rp(t),"width")||"90",10);f.push(n);for(var r=1;r<e;r+=1)f.push(90)}),a.columnWidths=f}return a}},llt=null===(Qct=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===Qct?void 0:Qct.getPropertyValue("--w-e-textarea-border-color"),flt={};function dlt(t){var e=t.selection;if(null==e)return!1;var n=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")}}),1)[0];if(n){var r=Wot(n,2)[1],o=yp.Editor.start(t,r);if(yp.Point.equals(e.anchor,o))return!0}return!1}function plt(t,e){var n=e.offset;if(0===n)return!1;var r=yp.Editor.node(t,e);if(!yp.Text.isText(r[0]))return!1;var o=yp.Node.string(r[0]);return!(n>=o.length)&&"\n"===o[n-1]&&"\r"===o[n]}function hlt(t,e,n){var r=t.selection;if(null==r||"line"===e)return!1;var o=Wot(yp.Editor.nodes(t,{match:function(t){return tP.checkNodeType(t,"table-cell")}}),1)[0],i=r.anchor;if("backward"===n&&0===r.anchor.offset&&(i=yp.Editor.before(t,r)),"forward"===n&&yp.Editor.isEnd(t,r.anchor,r.anchor.path)&&(i=yp.Editor.after(t,r)),null==i)return!1;var u=yp.Editor.above(t,{at:i,match:function(t){return tP.checkNodeType(t,"table-cell")}});if(null==u||null==o||!yp.Path.equals(u[1],o[1]))return!1;var a=yp.Editor.node(t,i);if(!yp.Text.isText(a[0])||a[0].text.length<2)return!1;var s="backward"===n?[i.offset-2,i.offset]:[i.offset,i.offset+2],c=yp.Node.string(a[0]);return"\n\r"===c.slice.apply(c,qot([],Wot(s),!1))?(yp.Transforms.insertText(t,c.slice(0,s[0])+c.slice(s[1]),{at:{anchor:yp.Editor.start(t,i.path),focus:yp.Editor.end(t,i.path)}}),!0):!!plt(t,i)&&(yp.Transforms.insertText(t,c.slice(0,r.anchor.offset-1)+c.slice(r.anchor.offset+1),{at:{anchor:yp.Editor.start(t,i.path),focus:yp.Editor.end(t,i.path)}}),!0)}function vlt(t,e){return!!qot([],Wot(yp.Editor.nodes(t,{at:e,match:function(t){return"table"===tP.getNodeType(t)}})),!1).find(function(){return!0})}!function(){if(olt)return flt;olt=1;var t=hot(),e=function(){if(elt)return tlt;elt=1;var t=Aet(),e=Pet(),n=Eit(),r=/"/g,o=t("".replace);return tlt=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}(),n=function(){if(rlt)return nlt;rlt=1;var t=Ptt();return nlt=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),ult||(ult=1,ilt||(ilt=1,nst()("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},rst())));var glt={selector:"table",preParseHtml:function(t){var e=Rp(t);if("table"!==bat(e))return t;var n=e.find("tbody");if(0===n.length)return t;var r=e.find("tr");e.append(r),n.remove();for(var o=e.find("td, th"),i=0;i<o.length;i+=1){var u=o[i],a=(c=Rp(u)).attr("style");a&&/display\s*:\s*none/i.test(a)&&c.remove()}var s=e.find("td, th");for(i=0;i<s.length;i+=1){var c,l=(c=Rp(u=s[i])).html()||"";l=(l=(l=l.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")).replace(/<p[^>]*>([\s\S]*?)<\/p>/gi,function(t,e){var n=e.trim();return n&&" "!==n?e:""}),c.html(l)}return e[0]}};function ylt(t){var e,n,r=[],o=0;try{for(var i=Got(t),u=i.next();!u.done;u=i.next())o+=u.value,r.push(o)}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function mlt(t){var e,n,r=[],o=t.reduce(function(t,e){return t+e},0);try{for(var i=Got(t),u=i.next();!u.done;u=i.next()){var a=u.value;r.push(a/o)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}var blt=null,Elt=!1,wlt=!1,Slt=0,Clt=0,Dlt=null,Olt=Rp(window);function Alt(t,e,n){var r=t.reduce(function(t,e){return t+e},0),o=t[e],i=Math.max(10,n),u=r-o+i;if(u<10*t.length)return t.map(function(){return 10});var a=r-o,s=u-i;if(s<=0){var c=t.map(function(){return 10});return c[e]=Math.max(10,u-10*(t.length-1)),c}var l=a>0?s/a:1,f=t.map(function(t,n){if(n===e)return Math.floor(100*i)/100;var r=t*l;return Math.max(10,Math.floor(100*r)/100)}),d=u-f.reduce(function(t,e){return t+e},0);return Math.abs(d)>.01&&(f[e]=Math.max(10,f[e]+d)),f}Olt.on("mousedown",function(t){var e=t.target;if(e.closest('[data-block-type="table-cell"]'))Elt=!0;else if("DIV"===e.tagName&&e.closest(".column-resizer-item")){if(null===Dlt)return;var n=Wot(yp.Editor.nodes(Dlt,{match:Sit(Dlt,"table")}),1),r=Wot(n[0],1)[0],o=r.columnWidths,i=void 0===o?[]:o,u=r.resizingIndex,a=void 0===u?-1:u;wlt=!0;var s=t.clientX;Slt=s,Clt=i[a],document.body.style.cursor="col-resize",t.preventDefault()}Olt.on("mousemove",xlt),Olt.on("mouseup",Tlt)});var xlt=Th(function(t){if(wlt&&null!==Dlt){t.preventDefault();var e,n=t.clientX,r=n-Slt,o=Wot(yp.Editor.nodes(Dlt,{match:Sit(Dlt,"table")}),1),i=Wot(o[0],1)[0],u=i.columnWidths,a=void 0===u?[]:u,s=i.resizingIndex,c=void 0===s?-1:s,l=c===a.length-1;if(l)e=Alt(a,c,Clt+r);else{var f=document.querySelector(".table");e=f?function(t,e,n,r){var o=qot([],Wot(t),!1);if(e<0||e>=t.length)return o;var i=0===e?0:r[e-1],u=i+10,a=(e+1<t.length?r[e+1]:r[e])-10,s=Math.max(u,Math.min(a,n))-i,c=e+1;if(c<t.length){var l=t[e]+t[c]-s;o[e]=Math.floor(100*s)/100,o[c]=Math.floor(100*l)/100}return o}(a,c,n-f.getBoundingClientRect().left,ylt(a)):function(t,e,n){var r=qot([],Wot(t),!1),o=e+1;if(o>=r.length)return r;var i=r[e],u=r[o],a=i+u-10,s=i+n,c=i+u-(s=Math.max(10,Math.min(a,s)));return r[e]=Math.floor(100*s)/100,r[o]=Math.floor(100*c)/100,r}(a,c,r)}if(l){var d=document.querySelector(".table-container");if(d){var p=e.reduce(function(t,e){return t+e},0),h=10*a.length,v=d.clientWidth-1;if(p<h)e=a.map(function(){return 10});else if(p>v){var g=e.slice(0,-1).reduce(function(t,e){return t+e},0),y=(e=Alt(a,c,Math.max(10,v-g))).reduce(function(t,e){return t+e},0);if(y>v){var m=v/y;e=e.map(function(t){return Math.max(10,Math.floor(t*m*100)/100)})}}}}yp.Transforms.setNodes(Dlt,{columnWidths:e},{mode:"highest"})}},100);function Tlt(t){Elt=!1,wlt=!1,Dlt=null,document.body.style.cursor="",Olt.off("mousemove",xlt),Olt.off("mouseup",Tlt)}function Nlt(t,e){"mouseenter"===e.type?yp.Transforms.setNodes(t,{isResizing:!0},{mode:"highest"}):yp.Transforms.setNodes(t,{isResizing:!1},{mode:"highest"})}var Plt,klt,Ilt,Blt={type:"table",renderElem:function(t,e,n){var r=function(t,e){if(t.isDisabled())return!1;var n=t.selection;if(null==n)return!0;if(yp.Range.isCollapsed(n))return!0;var r=n.anchor,o=n.focus,i=tP.findPath(t,e),u=yp.Editor.start(t,i),a=yp.Editor.end(t,i),s=yp.Point.compare(r,a)<=0&&yp.Point.compare(r,u)>=0,c=yp.Point.compare(o,a)<=0&&yp.Point.compare(o,u)>=0;return!!(s&&c&&yp.Path.equals(r.path.slice(0,3),o.path.slice(0,3)))}(n,t),o=t,i=o.width,u=void 0===i?"auto":i,a=o.height,s=o.columnWidths,c=void 0===s?[]:s,l=o.scrollWidth,f=void 0===l?0:l,d=o.isHoverCellBorder,p=o.resizingIndex,h=o.isResizing,v=tP.isNodeSelected(n,t),g=Wot(dct.selection(n),1)[0],y=mlt(c),m=dv("div",{className:"table-container","data-selected":v,on:{mousedown:function(e){if("DIV"===e.target.tagName&&e.preventDefault(),!n.isDisabled()){e.target.closest('[data-block-type="table-cell"]')&&dct.unselect(n);var r=tP.findPath(n,t),o=yp.Editor.start(n,r),i=n.selection;null!=i?i.anchor.path[0]!==r[0]&&"DIV"===e.target.tagName&&n.select(o):n.select(o)}}}},dv("table",{width:u,contentEditable:r,className:"table ".concat(g?"table-selection-none":""),style:{width:"100%"===u?u:"".concat(c.reduce(function(t,e){return t+e},0),"px")},on:{mousemove:Oh(function(e){return function(t,e,n,r){if(!t.isDisabled()&&!Elt&&!wlt){var o=e,i=o.width,u=void 0===i?"auto":i,a=o.columnWidths,s=void 0===a?[]:a,c=o.isHoverCellBorder,l=o.resizingIndex,f=n.clientX,d=n.target;if(uN(d)&&f>(v=d.getBoundingClientRect()).x+5&&f<v.x+v.width-5)return void(c&&yp.Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(uN(d)){var p=d.closest(".table");if(p)for(var h=n.clientX,v=p.getBoundingClientRect(),g=ylt("100%"===u?mlt(s).map(function(t){return t*r}):s),y=0;y<g.length;y+=1)if(h-v.x>=g[y]-5&&h-v.x<g[y]+5){if(l===y)return;return void yp.Transforms.setNodes(t,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===c&&yp.Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(n,t,e,f)},25)}},dv("colgroup",{contentEditable:!1},c.map(function(t){return dv("col",{width:t})})),dv("tbody",null,e)),dv("div",{className:"column-resizer",contentEditable:!1},c.map(function(t,e){var r=t;return"100%"===u&&(r=y[e]*f),dv("div",{className:"column-resizer-item",style:{minWidth:"".concat(r,"px")}},dv("div",{className:"resizer-line-hotzone ".concat(d&&e===p?"visible ":"").concat(h&&e===p?"highlight":""),style:{height:"".concat(a,"px")},on:{mouseenter:function(t){return Nlt(n,t)},mouseleave:function(t){return Nlt(n,t)},mousedown:function(t){return function(t){wlt||(Dlt=t)}(n)}}},dv("div",{className:"resizer-line"})))}))),b=Wh("div",{hook:{insert:function(t){var e=t.elm;return function(t,e){if(uN(e)){var n=e.querySelector("table");n&&(blt=new ResizeObserver(function(e){var n=Wot(e,1)[0].contentRect;yp.Transforms.setNodes(t,{scrollWidth:n.width,height:n.height},{mode:"highest"})}),blt.observe(n))}}(n,e)},destroy:function(){blt&&(null==blt||blt.disconnect(),blt=null)}}},m);return b}},Flt={type:"table-row",renderElem:function(t,e,n){return dv("tr",null,e)}},Rlt={type:"table-cell",renderElem:function(t,e,n){var r=function(t,e){var n=tP.getParentNode(t,e);if(null==n)return!1;var r=tP.getParentNode(t,n);return null!=r&&qst(r).some(function(t){return t===e})}(n,t),o=t,i=o.colSpan,u=void 0===i?1:i,a=o.rowSpan,s=void 0===a?1:a,c=o.isHeader,l=void 0!==c&&c,f=o.hidden,d=void 0!==f&&f;return dv(r&&l?"th":"td",{colSpan:u,rowSpan:s,"data-block-type":"table-cell",className:dct.isSelected(n,t)?"w-e-selected":"",style:{display:d?"none":""}},e)}},_lt={};function jlt(t,e){null==t.data&&(t.data={});var n=t.data;null==n.style&&(n.style={}),Object.assign(n.style,e)}!function(){if(Ilt)return _lt;Ilt=1;var t=hot(),e=function(){if(klt)return Plt;klt=1;var t=ktt(),e=Aet(),n=Btt(),r=Ptt(),o=ait(),i=fot(),u=Det(),a=bnt(),s=Tet(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return Plt=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,Plt}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Llt={renderStyle:function(t,e){var n,r;if(!yp.Element.isElement(t))return e;var o=t,i=o.backgroundColor,u=o.borderWidth,a=o.borderStyle,s=o.borderColor,c=o.textAlign,l={};i&&(l.backgroundColor=i),u&&(l.borderWidth="".concat(u,"px")),a&&(l.borderStyle="none"===a?"":a),s&&(l.borderColor=s),c&&(l.textAlign=c);var f=e;return"table"===t.type?jlt(null===(r=(null===(n=f.children)||void 0===n?void 0:n[0]).children)||void 0===r?void 0:r[0],l):jlt(f,l),f},styleToHtml:function(t,e){if("table"!==t.type&&"table-cell"!==t.type)return e;var n=t.backgroundColor,r=t.borderWidth,o=t.borderStyle,i=t.borderColor,u=t.textAlign;if(!(n||r||o||i||u))return e;var a=Rp(e);return n&&a.css("background-color",n),r&&a.css("border-width","".concat(r,"px")),o&&a.css("border-style","none"===o?"":o),i&&a.css("border-color",i),u&&a.css("text-align",u),function(t){return 0===t.length?"":t[0].outerHTML}(a)},parseStyleHtml:function(t,e,n){if(!["TABLE","TD","TH"].includes(t.tagName))return e;var r=Rp(t),o=e,i=Eat(r,"background-color");i||(i=Eat(r,"background")),i&&(o.backgroundColor=i);var u=Eat(r,"border");u||"TD"!==t.tagName||(u="1px solid ".concat(llt));var a=Wot((null==u?void 0:u.split(" "))||[],3),s=a[0],c=a[1],l=a[2];(s=Eat(r,"border-width")||s)&&(o.borderWidth=s.replace(/[^\d]/g,"")),(c=Eat(r,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(l=Eat(r,"border-color")||l)&&(o.borderColor=l);var f=Eat(r,"text-align");return(f=Eat(r,"text-align")||f)&&(o.textAlign=f),e},renderElems:[Blt,Flt,Rlt],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var n=t,r=n.width,o=void 0===r?"auto":r,i=n.columnWidths,u=n.height,a=void 0===u?"auto":u,s=null==i?void 0:i.map(function(t){return"<col width=".concat(t,"></col>")}).join(""),c=s?'<colgroup contentEditable="false">'.concat(s,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(a,'">').concat(c,"<tbody>").concat(e,"</tbody></table>")}},{type:"table-row",elemToHtml:function(t,e){return"<tr>".concat(e,"</tr>")}},{type:"table-cell",elemToHtml:function(t,e){var n=t,r=n.colSpan,o=void 0===r?1:r,i=n.rowSpan,u=void 0===i?1:i,a=n.isHeader,s=void 0!==a&&a,c=n.width,l=void 0===c?"auto":c,f=n.hidden;if(void 0!==f&&f)return"";var d=s?"th":"td";return"<".concat(d,' colSpan="').concat(o,'" rowSpan="').concat(u,'" width="').concat(l,'">').concat(e,"</").concat(d,">")}}],preParseHtml:[glt],parseElemsHtml:[alt,slt,clt],menus:[Fct,Rct,_ct,jct,Lct,Mct,zct,Hct,$ct,Uct,Vct,Gct],editorPlugin:function(t){var e=t.insertBreak,n=t.deleteBackward,r=t.deleteForward,o=t.deleteFragment,i=t.normalizeNode,u=t.insertData,a=t.handleTab,s=t.selectAll,c=t;c.insertBreak=function(){null==tP.getSelectedNodeByType(c,"table")?e():c.insertText("\n\r")},c.deleteBackward=function(t){if(!dlt(c)&&!hlt(c,t,"backward")){var e=c.selection;if(e){var r=yp.Editor.before(c,e),o=yp.Editor.above(c,{at:e,match:function(t){return tP.checkNodeType(t,"table-cell")}});if(r){var i=vlt(c,r);if(!o&&i&&tP.getSelectedNodeByType(c,"paragraph"))return}}n(t)}},c.handleTab=function(){var e;if(tP.getSelectedNodeByType(c,"table")){var n=yp.Editor.above(t);tP.checkNodeType(n[0],"table-cell")&&yp.Transforms.select(t,n[1]);var r=yp.Editor.next(t);if(r)r[0]&&r[0].text&&(r=null!==(e=yp.Editor.above(t,{at:r[1]}))&&void 0!==e?e:r),yp.Transforms.select(t,r[1]);else{var o=c.children||[],i=o.length;if(tP.checkNodeType(o[i-1],"table")){var u=tP.genEmptyParagraph();yp.Transforms.insertNodes(c,u,{at:[i]}),c.handleTab()}}}else a()},c.deleteForward=function(t){if(!dlt(c)&&!hlt(c,t,"forward")){var e=c.selection;if(e){var n=yp.Editor.after(c,e),o=yp.Editor.above(c,{at:e,match:function(t){return tP.checkNodeType(t,"table-cell")}});if(n){var i=vlt(c,n);if(!o&&i&&tP.getSelectedNodeByType(c,"paragraph"))return}}r(t)}},c.deleteFragment=function(t){var e=c.selection;if(e){var n,r=!1,i={anchor:e.anchor,focus:e.focus},u=yp.Point.isBefore(i.anchor,i.focus);plt(c,e.anchor)&&((n=yp.Editor[u?"before":"after"](c,e.anchor))&&(i.anchor=n),r=!0),plt(c,e.focus)&&((n=yp.Editor[u?"after":"before"](c,e.focus))&&(i.focus=n),r=!0),r&&yp.Transforms.setSelection(c,i),o(t)}},c.normalizeNode=function(t){var e=Wot(t,2),n=e[0],r=e[1];if("table"!==tP.getNodeType(n))return i([n,r]);if(tP.isLastNode(c,n)){var o=tP.genEmptyParagraph();yp.Transforms.insertNodes(c,o,{at:[r[0]+1]})}},c.insertData=function(t){if(null!=tP.getSelectedNodeByType(c,"table")){var e=t.getData("text/plain");"\n"===e||/<img[^>]+>/.test(t.getData("text/html"))?u(t):yp.Editor.insertText(c,e)}else u(t)},c.selectAll=function(){var t=c.selection;if(null!=t){var e=tP.getSelectedNodeByType(c,"table-cell");if(null!=e){var n=t.anchor,r=t.focus;if(yp.Path.equals(n.path.slice(0,3),r.path.slice(0,3)))if(0!==yp.Node.string(e).length){var o=tP.findPath(c,e),i={anchor:yp.Editor.start(c,o),focus:yp.Editor.end(c,o)};c.select(i)}else s();else s()}else s()}else s()},function(t){var e=t.apply;t.apply=function(n){if(!yp.Operation.isSelectionOperation(n)||!n.newProperties)return e(n);var r=Uot(Uot({},t.selection),n.newProperties);if(!yp.Range.isRange(r))return dct.unselect(t),e(n);var o=function(t){return yp.Element.isElement(t)&&("table-cell"===t.type||"th"===t.type||"td"===t.type)},i=Wot(yp.Editor.nodes(t,{match:o,at:yp.Range.start(r),mode:"lowest"}),1)[0],u=Wot(yp.Editor.nodes(t,{match:o,at:yp.Range.end(r),mode:"lowest"}),1)[0];if(!i||!u)return dct.unselect(t),e(n);var a=Wot(i,2)[1],s=Wot(u,2)[1];if(yp.Path.equals(a,s)||!Cit(t,[a,s],"table"))return dct.unselect(t),e(n);try{var c=Dit(t,{at:a});if(!c||0===c.length)return dct.unselect(t),e(n);for(var l=Ait.valueOf(0,0),f=Ait.valueOf(0,0),d=!1,p=!1,h=0;h<c.length;h+=1)if(c[h])for(var v=0;v<c[h].length;v+=1)if(c[h][v]){var g=Wot(c[h][v],1),y=Wot(g[0],2)[1];yp.Path.equals(a,y)&&(l.x=h,l.y=v,d=!0),yp.Path.equals(s,y)&&(f.x=h,f.y=v,p=!0)}if(!d||!p)return dct.unselect(t),e(n);for(var m=Ait.valueOf(Math.min(l.x,f.x),Math.min(l.y,f.y)),b=Ait.valueOf(Math.max(l.x,f.x),Math.max(l.y,f.y));;){var E=Ait.valueOf(m.x,m.y),w=Ait.valueOf(b.x,b.y);for(h=E.x;h<=w.x&&h<c.length;h+=1)if(c[h])for(v=E.y;v<=w.y&&v<c[h].length;v+=1)if(c[h][v]){var S=Wot(c[h][v],2)[1];if(S){var C=S.rtl,D=S.ltr,O=S.btt,A=S.ttb;E.x=Math.min(E.x,h-(A-1)),E.y=Math.min(E.y,v-(C-1)),w.x=Math.max(w.x,h+(O-1)),w.y=Math.max(w.y,v+(D-1))}}if(Ait.equals(m,E)&&Ait.equals(b,w))break;m=E,b=w}var x=[],T=new WeakSet;for(h=m.x;h<=b.x&&h<c.length;h+=1)if(c[h]){var N=[];for(v=m.y;v<=b.y&&v<c[h].length;v+=1)if(c[h][v]){var P=Wot(c[h][v],1),k=Wot(P[0],1)[0];k&&(T.add(k),N.push(c[h][v]))}N.length>0&&x.push(N)}yst.set(t,x),mst.set(t,T)}catch(r){return dct.unselect(t),e(n)}e(n)}}(c),c.getTableSelection=function(){return yst.get(c)||null};var l=c.addMark,f=c.removeMark,d=Uot({},yp.Transforms);return c.addMark=function(t,e){var n=yst.get(c);if(n&&n.length>0){var r=c.selection;n.forEach(function(n){n.forEach(function(n){var r=Wot(n[0],2)[1],o=yp.Editor.start(c,r),i=yp.Editor.end(c,r);yp.Transforms.select(c,{anchor:o,focus:i}),l(t,e)})}),r&&yp.Transforms.select(c,r)}else l(t,e)},c.removeMark=function(t){var e=yst.get(c);if(e&&e.length>0){var n=c.selection;e.forEach(function(e){e.forEach(function(e){var n=Wot(e[0],2)[1],r=yp.Editor.start(c,n),o=yp.Editor.end(c,n);yp.Transforms.select(c,{anchor:r,focus:o}),f(t)})}),n&&yp.Transforms.select(c,n)}else f(t)},yp.Transforms.setNodes=function(t,e,n){if(void 0===n&&(n={}),t===c){var r=yst.get(c);if(r&&r.length>0)return"hidden"in e||"rowSpan"in e||"colSpan"in e?void d.setNodes(t,e,n):void r.forEach(function(r){r.forEach(function(r){var o=Wot(r[0],2)[1];d.setNodes(t,e,Uot(Uot({},n),{at:o}))})})}d.setNodes(t,e,n)},c}};cI("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),cI("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var Mlt,zlt,Hlt,$lt,Ult,Vlt,Glt,Wlt,qlt,Klt,Ylt,Xlt,Jlt,Zlt,Qlt,tft,eft,nft,rft="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},oft={};function ift(){return zlt?Mlt:(zlt=1,Mlt=function(t){try{return!!t()}catch(t){return!0}})}function uft(){if($lt)return Hlt;$lt=1;var t=ift();return Hlt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function aft(){if(Vlt)return Ult;Vlt=1;var t=ift();return Ult=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function sft(){if(Wlt)return Glt;Wlt=1;var t=aft(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return Glt=t?r:function(t){return function(){return n.apply(t,arguments)}},Glt}function cft(){return Klt?qlt:(Klt=1,qlt=function(t){return null==t})}function lft(){if(Xlt)return Ylt;Xlt=1;var t=cft(),e=TypeError;return Ylt=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function fft(){if(Zlt)return Jlt;Zlt=1;var t=lft(),e=Object;return Jlt=function(n){return e(t(n))}}function dft(){if(tft)return Qlt;tft=1;var t=sft(),e=fft(),n=t({}.hasOwnProperty);return Qlt=Object.hasOwn||function(t,r){return n(e(t),r)}}function pft(){if(nft)return eft;nft=1;var t=uft(),e=dft(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return eft={EXISTS:o,PROPER:i,CONFIGURABLE:u}}var hft,vft,gft={exports:{}};function yft(){if(vft)return hft;vft=1;var t="object"==typeof document&&document.all;return hft=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var mft,bft,Eft,wft,Sft,Cft,Dft,Oft,Aft,xft,Tft,Nft,Pft,kft={exports:{}};function Ift(){return bft?mft:(bft=1,mft=!1)}function Bft(){if(wft)return Eft;wft=1;var t=function(t){return t&&t.Math===Math&&t};return Eft=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof rft&&rft)||t("object"==typeof Eft&&Eft)||function(){return this}()||Function("return this")()}function Fft(){if(Cft)return Sft;Cft=1;var t=Bft(),e=Object.defineProperty;return Sft=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function Rft(){if(Dft)return kft.exports;Dft=1;var t=Ift(),e=Bft(),n=Fft(),r="__core-js_shared__",o=kft.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),kft.exports}function _ft(){if(Aft)return Oft;Aft=1;var t=sft(),e=yft(),n=Rft(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),Oft=n.inspectSource}function jft(){if(Tft)return xft;Tft=1;var t=Bft(),e=yft(),n=t.WeakMap;return xft=e(n)&&/native code/.test(String(n))}function Lft(){if(Pft)return Nft;Pft=1;var t=yft();return Nft=function(e){return"object"==typeof e?null!==e:t(e)}}var Mft,zft,Hft,$ft,Uft,Vft,Gft,Wft,qft,Kft,Yft,Xft,Jft,Zft,Qft,tdt,edt,ndt,rdt,odt,idt,udt,adt,sdt,cdt,ldt,fdt,ddt,pdt,hdt,vdt,gdt,ydt,mdt,bdt,Edt,wdt,Sdt,Cdt,Ddt,Odt,Adt,xdt,Tdt,Ndt,Pdt,kdt,Idt,Bdt,Fdt,Rdt,_dt,jdt,Ldt,Mdt,zdt,Hdt,$dt={};function Udt(){if(zft)return Mft;zft=1;var t=Bft(),e=Lft(),n=t.document,r=e(n)&&e(n.createElement);return Mft=function(t){return r?n.createElement(t):{}}}function Vdt(){if($ft)return Hft;$ft=1;var t=uft(),e=ift(),n=Udt();return Hft=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Gdt(){if(Vft)return Uft;Vft=1;var t=uft(),e=ift();return Uft=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Wdt(){if(Wft)return Gft;Wft=1;var t=Lft(),e=String,n=TypeError;return Gft=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function qdt(){if(Kft)return qft;Kft=1;var t=aft(),e=Function.prototype.call;return qft=t?e.bind(e):function(){return e.apply(e,arguments)},qft}function Kdt(){if(Xft)return Yft;Xft=1;var t=Bft(),e=yft();return Yft=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},Yft}function Ydt(){if(Zft)return Jft;Zft=1;var t=sft();return Jft=t({}.isPrototypeOf)}function Xdt(){if(tdt)return Qft;tdt=1;var t=Bft().navigator,e=t&&t.userAgent;return Qft=e?String(e):""}function Jdt(){if(ndt)return edt;ndt=1;var t,e,n=Bft(),r=Xdt(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),edt=e}function Zdt(){if(odt)return rdt;odt=1;var t=Jdt(),e=ift(),n=Bft().String;return rdt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Qdt(){if(udt)return idt;udt=1;var t=Zdt();return idt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function tpt(){if(sdt)return adt;sdt=1;var t=Kdt(),e=yft(),n=Ydt(),r=Qdt(),o=Object;return adt=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function ept(){if(ldt)return cdt;ldt=1;var t=String;return cdt=function(e){try{return t(e)}catch(t){return"Object"}}}function npt(){if(ddt)return fdt;ddt=1;var t=yft(),e=ept(),n=TypeError;return fdt=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function rpt(){if(hdt)return pdt;hdt=1;var t=npt(),e=cft();return pdt=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}function opt(){if(mdt)return ydt;mdt=1;var t=Rft();return ydt=function(e,n){return t[e]||(t[e]=n||{})}}function ipt(){if(Edt)return bdt;Edt=1;var t=sft(),e=0,n=Math.random(),r=t(1.1.toString);return bdt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function upt(){if(Sdt)return wdt;Sdt=1;var t=Bft(),e=opt(),n=dft(),r=ipt(),o=Zdt(),i=Qdt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return wdt=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function apt(){if(Ddt)return Cdt;Ddt=1;var t=qdt(),e=Lft(),n=tpt(),r=rpt(),o=function(){if(gdt)return vdt;gdt=1;var t=qdt(),e=yft(),n=Lft(),r=TypeError;return vdt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},vdt}(),i=upt(),u=TypeError,a=i("toPrimitive");return Cdt=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function spt(){if(Adt)return Odt;Adt=1;var t=apt(),e=tpt();return Odt=function(n){var r=t(n,"string");return e(r)?r:r+""}}function cpt(){if(xdt)return $dt;xdt=1;var t=uft(),e=Vdt(),n=Gdt(),r=Wdt(),o=spt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return $dt.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},$dt}function lpt(){return Ndt?Tdt:(Ndt=1,Tdt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function fpt(){if(kdt)return Pdt;kdt=1;var t=uft(),e=cpt(),n=lpt();return Pdt=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}function dpt(){if(Bdt)return Idt;Bdt=1;var t=opt(),e=ipt(),n=t("keys");return Idt=function(t){return n[t]||(n[t]=e(t))}}function ppt(){return Rdt?Fdt:(Rdt=1,Fdt={})}function hpt(){if(jdt)return _dt;jdt=1;var t,e,n,r=jft(),o=Bft(),i=Lft(),u=fpt(),a=dft(),s=Rft(),c=dpt(),l=ppt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return _dt={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function vpt(){if(Ldt)return gft.exports;Ldt=1;var t=sft(),e=ift(),n=yft(),r=dft(),o=uft(),i=pft().CONFIGURABLE,u=_ft(),a=hpt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=gft.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),gft.exports}function gpt(){if(zdt)return Mdt;zdt=1;var t=vpt(),e=cpt();return Mdt=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}!function(){if(Hdt)return oft;Hdt=1;var t=uft(),e=pft().EXISTS,n=sft(),r=gpt(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var ypt,mpt,bpt,Ept,wpt,Spt,Cpt,Dpt,Opt,Apt,xpt={},Tpt={},Npt={};function Ppt(){if(bpt)return mpt;bpt=1;var t=sft(),e=t({}.toString),n=t("".slice);return mpt=function(t){return n(e(t),8,-1)}}function kpt(){if(wpt)return Ept;wpt=1;var t=sft(),e=ift(),n=Ppt(),r=Object,o=t("".split);return Ept=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function Ipt(){if(Cpt)return Spt;Cpt=1;var t=kpt(),e=lft();return Spt=function(n){return t(e(n))}}function Bpt(){if(Dpt)return Tpt;Dpt=1;var t=uft(),e=qdt(),n=function(){if(ypt)return Npt;ypt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return Npt.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,Npt}(),r=lpt(),o=Ipt(),i=spt(),u=dft(),a=Vdt(),s=Object.getOwnPropertyDescriptor;return Tpt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},Tpt}function Fpt(){if(Apt)return Opt;Apt=1;var t=yft(),e=cpt(),n=vpt(),r=Fft();return Opt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var Rpt,_pt,jpt,Lpt,Mpt,zpt,Hpt,$pt,Upt,Vpt,Gpt,Wpt,qpt,Kpt,Ypt,Xpt,Jpt,Zpt={};function Qpt(){if(Lpt)return jpt;Lpt=1;var t=function(){if(_pt)return Rpt;_pt=1;var t=Math.ceil,e=Math.floor;return Rpt=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return jpt=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function tht(){if(zpt)return Mpt;zpt=1;var t=Qpt(),e=Math.max,n=Math.min;return Mpt=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}function eht(){if(Vpt)return Upt;Vpt=1;var t=function(){if($pt)return Hpt;$pt=1;var t=Qpt(),e=Math.min;return Hpt=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}();return Upt=function(e){return t(e.length)}}function nht(){if(Kpt)return qpt;Kpt=1;var t=sft(),e=dft(),n=Ipt(),r=function(){if(Wpt)return Gpt;Wpt=1;var t=Ipt(),e=tht(),n=eht(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return Gpt={includes:r(!0),indexOf:r(!1)}}().indexOf,o=ppt(),i=t([].push);return qpt=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function rht(){return Xpt?Ypt:(Xpt=1,Ypt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function oht(){if(Jpt)return Zpt;Jpt=1;var t=nht(),e=rht().concat("length","prototype");return Zpt.f=Object.getOwnPropertyNames||function(n){return t(n,e)},Zpt}var iht,uht,aht,sht,cht,lht,fht,dht,pht,hht,vht,ght,yht={};function mht(){if(cht)return sht;cht=1;var t=dft(),e=function(){if(aht)return uht;aht=1;var t=Kdt(),e=sft(),n=oht(),r=(iht||(iht=1,yht.f=Object.getOwnPropertySymbols),yht),o=Wdt(),i=e([].concat);return uht=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=Bpt(),r=cpt();return sht=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function bht(){if(fht)return lht;fht=1;var t=ift(),e=yft(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return lht=r}function Eht(){if(pht)return dht;pht=1;var t=Bft(),e=Bpt().f,n=fpt(),r=Fpt(),o=Fft(),i=mht(),u=bht();return dht=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function wht(){if(vht)return hht;vht=1;var t=ift();return hht=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}!function(){if(ght)return xpt;ght=1;var t=Eht(),e=sft(),n=kpt(),r=Ipt(),o=wht(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var Sht,Cht,Dht,Oht,Aht,xht,Tht,Nht,Pht,kht,Iht={};function Bht(){if(Cht)return Sht;Cht=1;var t={};return t[upt()("toStringTag")]="z",Sht="[object z]"===String(t)}function Fht(){if(Oht)return Dht;Oht=1;var t=Bht(),e=yft(),n=Ppt(),r=upt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Dht=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function Rht(){if(xht)return Aht;xht=1;var t=Fht(),e=String;return Aht=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function _ht(){if(Nht)return Tht;Nht=1;var t=Wdt();return Tht=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}var jht,Lht,Mht,zht,Hht,$ht,Uht,Vht,Ght,Wht,qht,Kht,Yht,Xht,Jht,Zht,Qht,tvt,evt,nvt,rvt,ovt,ivt,uvt,avt,svt,cvt,lvt,fvt,dvt,pvt,hvt,vvt,gvt,yvt,mvt,bvt,Evt,wvt,Svt,Cvt,Dvt,Ovt={};function Avt(){if(Hht)return zht;Hht=1;var t=Kdt();return zht=t("document","documentElement")}function xvt(){if(Uht)return $ht;Uht=1;var t,e=Wdt(),n=function(){if(Mht)return Ovt;Mht=1;var t=uft(),e=Gdt(),n=cpt(),r=Wdt(),o=Ipt(),i=function(){if(Lht)return jht;Lht=1;var t=nht(),e=rht();return jht=Object.keys||function(n){return t(n,e)}}();return Ovt.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},Ovt}(),r=rht(),o=ppt(),i=Avt(),u=Udt(),a=dpt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,$ht=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function Tvt(){return tvt?Qht:(tvt=1,Qht={})}function Nvt(){if(ovt)return rvt;ovt=1;var t=dft(),e=yft(),n=fft(),r=dpt(),o=function(){if(nvt)return evt;nvt=1;var t=ift();return evt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return rvt=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function Pvt(){if(uvt)return ivt;uvt=1;var t,e,n,r=ift(),o=yft(),i=Lft(),u=xvt(),a=Nvt(),s=Fpt(),c=upt(),l=Ift(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),ivt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function kvt(){if(svt)return avt;svt=1;var t=cpt().f,e=dft(),n=upt()("toStringTag");return avt=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function Ivt(){if(gvt)return vvt;gvt=1;var t=function(){if(hvt)return pvt;hvt=1;var t=Lft();return pvt=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return vvt=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function Bvt(){if(mvt)return yvt;mvt=1;var t=function(){if(dvt)return fvt;dvt=1;var t=sft(),e=npt();return fvt=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=Lft(),n=lft(),r=Ivt();return yvt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function Fvt(){if(Evt)return bvt;Evt=1;var t=Eht(),e=qdt(),n=Ift(),r=pft(),o=yft(),i=function(){if(lvt)return cvt;lvt=1;var t=Pvt().IteratorPrototype,e=xvt(),n=lpt(),r=kvt(),o=Tvt(),i=function(){return this};return cvt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=Nvt(),a=Bvt(),s=kvt(),c=fpt(),l=Fpt(),f=upt(),d=Tvt(),p=Pvt(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return bvt=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function Rvt(){return Svt?wvt:(Svt=1,wvt=function(t,e){return{value:t,done:e}})}function _vt(){if(Dvt)return Cvt;Dvt=1;var t=Ipt(),e=function(){if(Zht)return Jht;Zht=1;var t=upt(),e=xvt(),n=cpt().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),Jht=function(t){o[r][t]=!0}}(),n=Tvt(),r=hpt(),o=cpt().f,i=Fvt(),u=Rvt(),a=Ift(),s=uft(),c="Array Iterator",l=r.set,f=r.getterFor(c);Cvt=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return Cvt}!function(){if(Xht)return Iht;Xht=1;var t=Eht(),e=function(){if(Yht)return Kht;Yht=1;var t,e,n=qdt(),r=sft(),o=Rht(),i=_ht(),u=function(){if(kht)return Pht;kht=1;var t=ift(),e=Bft().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Pht={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=opt(),s=xvt(),c=hpt().get,l=function(){if(Ght)return Vht;Ght=1;var t=ift(),e=Bft().RegExp;return Vht=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(qht)return Wht;qht=1;var t=ift(),e=Bft().RegExp;return Wht=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Kht=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}(),rh&&(Rp.fn.append=rh),Vp&&(Rp.fn.on=Vp),ch&&(Rp.fn.remove=ch),Up&&(Rp.fn.val=Up),ph&&(Rp.fn.click=ph),Yp&&(Rp.fn.hide=Yp),_vt();var jvt,Lvt,Mvt,zvt,Hvt,$vt,Uvt,Vvt,Gvt,Wvt,qvt,Kvt,Yvt,Xvt,Jvt,Zvt,Qvt,tgt={};function egt(){if(zvt)return Mvt;zvt=1;var t=function(){if(Lvt)return jvt;Lvt=1;var t=Ppt(),e=sft();return jvt=function(n){if("Function"===t(n))return e(n)}}(),e=npt(),n=aft(),r=t(t.bind);return Mvt=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},Mvt}function ngt(){if($vt)return Hvt;$vt=1;var t=Ppt();return Hvt=Array.isArray||function(e){return"Array"===t(e)}}function rgt(){if(Vvt)return Uvt;Vvt=1;var t=sft(),e=ift(),n=yft(),r=Fht(),o=Kdt(),i=_ft(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,Uvt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function ogt(){if(Kvt)return qvt;Kvt=1;var t=function(){if(Wvt)return Gvt;Wvt=1;var t=ngt(),e=rgt(),n=Lft(),r=upt()("species"),o=Array;return Gvt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return qvt=function(e,n){return new(t(e))(0===n?0:n)}}function igt(){if(Xvt)return Yvt;Xvt=1;var t=egt(),e=sft(),n=kpt(),r=fft(),o=eht(),i=ogt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return Yvt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function ugt(){if(Zvt)return Jvt;Zvt=1;var t=ift(),e=upt(),n=Jdt(),r=e("species");return Jvt=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(Qvt)return tgt;Qvt=1;var t=Eht(),e=igt().map;t({target:"Array",proto:!0,forced:!ugt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var agt,sgt,cgt,lgt,fgt,dgt={};function pgt(){if(lgt)return cgt;lgt=1;var t=sft();return cgt=t([].slice)}!function(){if(fgt)return dgt;fgt=1;var t=Eht(),e=ngt(),n=rgt(),r=Lft(),o=tht(),i=eht(),u=Ipt(),a=function(){if(sgt)return agt;sgt=1;var t=uft(),e=cpt(),n=lpt();return agt=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=upt(),c=ugt(),l=pgt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var hgt,vgt,ggt,ygt={};!function(){if(ggt)return ygt;ggt=1;var t=Bht(),e=Fpt(),n=function(){if(vgt)return hgt;vgt=1;var t=Bht(),e=Fht();return hgt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var mgt,bgt,Egt,wgt,Sgt,Cgt,Dgt,Ogt,Agt,xgt,Tgt,Ngt,Pgt,kgt,Igt,Bgt,Fgt,Rgt,_gt,jgt,Lgt,Mgt,zgt,Hgt,$gt,Ugt,Vgt,Ggt,Wgt,qgt,Kgt,Ygt,Xgt,Jgt,Zgt,Qgt,tyt,eyt,nyt,ryt,oyt={};function iyt(){if(bgt)return mgt;bgt=1;var t=Bft(),e=Xdt(),n=Ppt(),r=function(t){return e.slice(0,t.length)===t};return mgt=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function uyt(){if(wgt)return Egt;wgt=1;var t=iyt();return Egt="NODE"===t}function ayt(){if(xgt)return Agt;xgt=1;var t=Ydt(),e=TypeError;return Agt=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function syt(){if(kgt)return Pgt;kgt=1;var t=Wdt(),e=function(){if(Ngt)return Tgt;Ngt=1;var t=rgt(),e=ept(),n=TypeError;return Tgt=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=cft(),r=upt()("species");return Pgt=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function cyt(){if(jgt)return _gt;jgt=1;var t=Xdt();return _gt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function lyt(){if(Mgt)return Lgt;Mgt=1;var t,e,n,r,o=Bft(),i=function(){if(Bgt)return Igt;Bgt=1;var t=aft(),e=Function.prototype,n=e.apply,r=e.call;return Igt="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),Igt}(),u=egt(),a=yft(),s=dft(),c=ift(),l=Avt(),f=pgt(),d=Udt(),p=function(){if(Rgt)return Fgt;Rgt=1;var t=TypeError;return Fgt=function(e,n){if(e<n)throw new t("Not enough arguments");return e}}(),h=cyt(),v=uyt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var n=a(t)?t:E(t),r=f(arguments,1);return D[++C]=function(){i(n,void 0,r)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(r=(n=new w).port2,n.port1.onmessage=T,e=u(r.postMessage,r)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),Lgt={set:g,clear:y}}function fyt(){if(Ugt)return $gt;Ugt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},$gt=t}function dyt(){if(Ygt)return Kgt;Ygt=1;var t,e,n,r,o,i=Bft(),u=function(){if(Hgt)return zgt;Hgt=1;var t=Bft(),e=uft(),n=Object.getOwnPropertyDescriptor;return zgt=function(r){if(!e)return t[r];var o=n(t,r);return o&&o.value}}(),a=egt(),s=lyt().set,c=fyt(),l=cyt(),f=function(){if(Ggt)return Vgt;Ggt=1;var t=Xdt();return Vgt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(qgt)return Wgt;qgt=1;var t=Xdt();return Wgt=/web0s(?!.*chrome)/i.test(t)}(),p=uyt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,n;for(p&&(e=g.domain)&&e.exit();n=b.get();)try{n()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((r=y.resolve(void 0)).constructor=y,o=a(r.then,r),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,n=v.createTextNode(""),new h(E).observe(n,{characterData:!0}),t=function(){n.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return Kgt=m}function pyt(){return Qgt?Zgt:(Qgt=1,Zgt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function hyt(){if(eyt)return tyt;eyt=1;var t=Bft();return tyt=t.Promise}function vyt(){if(ryt)return nyt;ryt=1;var t=Bft(),e=hyt(),n=yft(),r=bht(),o=_ft(),i=upt(),u=iyt(),a=Ift(),s=Jdt(),c=e&&e.prototype,l=i("species"),f=!1,d=n(t.PromiseRejectionEvent),p=r("Promise",function(){var t=o(e),n=t!==String(e);if(!n&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var r=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((r.constructor={})[l]=i,!(f=r.then(function(){})instanceof i))return!0}return!(n||"BROWSER"!==u&&"DENO"!==u||d)});return nyt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var gyt,yyt,myt={};function byt(){if(gyt)return myt;gyt=1;var t=npt(),e=TypeError,n=function(n){var r,o;this.promise=new n(function(t,n){if(void 0!==r||void 0!==o)throw new e("Bad Promise constructor");r=t,o=n}),this.resolve=t(r),this.reject=t(o)};return myt.f=function(t){return new n(t)},myt}var Eyt,wyt,Syt,Cyt,Dyt,Oyt,Ayt,xyt,Tyt,Nyt,Pyt,kyt,Iyt,Byt,Fyt,Ryt={};function _yt(){if(Cyt)return Syt;Cyt=1;var t=Fht(),e=rpt(),n=cft(),r=Tvt(),o=upt()("iterator");return Syt=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function jyt(){if(Nyt)return Tyt;Nyt=1;var t=egt(),e=qdt(),n=Wdt(),r=ept(),o=function(){if(wyt)return Eyt;wyt=1;var t=upt(),e=Tvt(),n=t("iterator"),r=Array.prototype;return Eyt=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}(),i=eht(),u=Ydt(),a=function(){if(Oyt)return Dyt;Oyt=1;var t=qdt(),e=npt(),n=Wdt(),r=ept(),o=_yt(),i=TypeError;return Dyt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},Dyt}(),s=_yt(),c=function(){if(xyt)return Ayt;xyt=1;var t=qdt(),e=Wdt(),n=rpt();return Ayt=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return Tyt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function Lyt(){if(kyt)return Pyt;kyt=1;var t=upt()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return Pyt=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function Myt(){if(Byt)return Iyt;Byt=1;var t=hyt(),e=Lyt(),n=vyt().CONSTRUCTOR;return Iyt=n||!e(function(e){t.all(e).then(void 0,function(){})})}var zyt,Hyt,$yt,Uyt,Vyt,Gyt,Wyt,qyt={},Kyt={},Yyt={},Xyt={};Wyt||(Wyt=1,function(){if(yyt)return oyt;yyt=1;var t,e,n,r,o=Eht(),i=Ift(),u=uyt(),a=Bft(),s=function(){if(Cgt)return Sgt;Cgt=1;var t=Bft();return Sgt=t}(),c=qdt(),l=Fpt(),f=Bvt(),d=kvt(),p=function(){if(Ogt)return Dgt;Ogt=1;var t=Kdt(),e=gpt(),n=upt(),r=uft(),o=n("species");return Dgt=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),h=npt(),v=yft(),g=Lft(),y=ayt(),m=syt(),b=lyt().set,E=dyt(),w=(Jgt||(Jgt=1,Xgt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),Xgt),S=pyt(),C=fyt(),D=hpt(),O=hyt(),A=vyt(),x=byt(),T="Promise",N=A.CONSTRUCTOR,P=A.REJECTION_EVENT,k=A.SUBCLASSING,I=D.getterFor(T),B=D.set,F=O&&O.prototype,R=O,_=F,j=a.TypeError,L=a.document,M=a.process,z=x.f,H=z,$=!!(L&&L.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===t.promise?l(new j("Promise-chain cycle")):(r=V(n))?c(r,n,s,l):s(n)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var n,r=t.reactions;n=r.get();)G(n,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,n){var r,o;$?((r=L.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!P&&(o=a["on"+t])?o(r):t===U&&w("Unhandled promise rejection",n)},K=function(t){c(b,a,function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",r,n):q(U,n,r)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,n){return function(r){t(e,r,n)}},Z=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new j("Promise can't be resolved itself");var r=V(e);r?E(function(){var n={done:!1};try{c(r,e,J(Q,n,t),J(Z,n,t))}catch(e){Z(n,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(_=(R=function(e){y(this,_),h(e),c(t,this);var n=I(this);try{e(J(Q,n),J(Z,n))}catch(t){Z(n,t)}}).prototype,(t=function(t){B(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(_,"then",function(t,e){var n=I(this),r=z(m(this,R));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=u?M.domain:void 0,0===n.state?n.reactions.add(r):E(function(){G(r,n)}),r.promise}),e=function(){var e=new t,n=I(e);this.promise=e,this.resolve=J(Q,n),this.reject=J(Z,n)},x.f=z=function(t){return t===R||t===n?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){r=F.then,k||l(F,"then",function(t,e){var n=this;return new R(function(t,e){c(r,n,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,_)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),n=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(Fyt)return Ryt;Fyt=1;var t=Eht(),e=qdt(),n=npt(),r=byt(),o=pyt(),i=jyt();t({target:"Promise",stat:!0,forced:Myt()},{all:function(t){var u=this,a=r.f(u),s=a.resolve,c=a.reject,l=o(function(){var r=n(u.resolve),o=[],a=0,l=1;i(t,function(t){var n=a++,i=!1;l++,e(r,u,t).then(function(t){i||(i=!0,o[n]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(zyt)return qyt;zyt=1;var t=Eht(),e=Ift(),n=vyt().CONSTRUCTOR,r=hyt(),o=Kdt(),i=yft(),u=Fpt(),a=r&&r.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(r)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(Hyt)return Kyt;Hyt=1;var t=Eht(),e=qdt(),n=npt(),r=byt(),o=pyt(),i=jyt();t({target:"Promise",stat:!0,forced:Myt()},{race:function(t){var u=this,a=r.f(u),s=a.reject,c=o(function(){var r=n(u.resolve);i(t,function(t){e(r,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if($yt)return Yyt;$yt=1;var t=Eht(),e=byt();t({target:"Promise",stat:!0,forced:vyt().CONSTRUCTOR},{reject:function(t){var n=e.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(Gyt)return Xyt;Gyt=1;var t=Eht(),e=Kdt(),n=Ift(),r=hyt(),o=vyt().CONSTRUCTOR,i=function(){if(Vyt)return Uyt;Vyt=1;var t=Wdt(),e=Lft(),n=byt();return Uyt=function(r,o){if(t(r),e(o)&&o.constructor===r)return o;var i=n.f(r);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(a&&this===u?r:this,t)}})}());var Jyt,Zyt,Qyt,tmt,emt,nmt={};!function(){if(emt)return nmt;emt=1;var t=pft().PROPER,e=Fpt(),n=Wdt(),r=Rht(),o=ift(),i=function(){if(tmt)return Qyt;tmt=1;var t=qdt(),e=dft(),n=Ydt(),r=function(){if(Zyt)return Jyt;Zyt=1;var t=Bft(),e=ift(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return Jyt={correct:r}}(),o=_ht(),i=RegExp.prototype;return Qyt=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var rmt,omt,imt,umt={};!function(){if(imt)return umt;imt=1;var t=function(){if(omt)return rmt;omt=1;var t=sft(),e=Qpt(),n=Rht(),r=lft(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return rmt={codeAt:a(!1),charAt:a(!0)}}().charAt,e=Rht(),n=hpt(),r=Fvt(),o=Rvt(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var amt,smt,cmt,lmt,fmt={};function dmt(){if(smt)return amt;smt=1;var t=ift();return amt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function pmt(){if(lmt)return cmt;lmt=1;var t=Fpt();return cmt=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var hmt,vmt,gmt,ymt,mmt,bmt,Emt,wmt,Smt,Cmt,Dmt,Omt,Amt,xmt,Tmt={exports:{}},Nmt={};function Pmt(){if(bmt)return Tmt.exports;bmt=1;var t=Eht(),e=sft(),n=ppt(),r=Lft(),o=dft(),i=cpt().f,u=oht(),a=function(){if(hmt)return Nmt;hmt=1;var t=Ppt(),e=Ipt(),n=oht().f,r=pgt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Nmt.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},Nmt}(),s=function(){if(mmt)return ymt;mmt=1;var t=ift(),e=Lft(),n=Ppt(),r=function(){if(gmt)return vmt;gmt=1;var t=ift();return vmt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return ymt=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=ipt(),l=dmt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Tmt.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,Tmt.exports}function kmt(){if(Cmt)return Smt;Cmt=1;var t=Eht(),e=Bft(),n=sft(),r=bht(),o=Fpt(),i=Pmt(),u=jyt(),a=ayt(),s=yft(),c=cft(),l=Lft(),f=ift(),d=Lyt(),p=kvt(),h=function(){if(wmt)return Emt;wmt=1;var t=yft(),e=Lft(),n=Bvt();return Emt=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}();return Smt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}xmt||(xmt=1,function(){if(Amt)return fmt;Amt=1;var t,e=dmt(),n=Bft(),r=sft(),o=pmt(),i=Pmt(),u=kmt(),a=function(){if(Omt)return Dmt;Omt=1;var t=sft(),e=pmt(),n=Pmt().getWeakData,r=ayt(),o=Wdt(),i=cft(),u=Lft(),a=jyt(),s=igt(),c=dft(),l=hpt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Dmt={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=Lft(),c=hpt().enforce,l=ift(),f=jft(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var Imt,Bmt,Fmt,Rmt,_mt,jmt,Lmt,Mmt={};function zmt(){return Bmt?Imt:(Bmt=1,Imt={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})}function Hmt(){if(Rmt)return Fmt;Rmt=1;var t=Udt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Fmt=e===Object.prototype?void 0:e}!function(){if(Lmt)return Mmt;Lmt=1;var t=Bft(),e=zmt(),n=Hmt(),r=function(){if(jmt)return _mt;jmt=1;var t=igt().forEach,e=wht()("forEach");return _mt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},_mt}(),o=fpt(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var $mt,Umt={};!function(){if($mt)return Umt;$mt=1;var t=Bft(),e=zmt(),n=Hmt(),r=_vt(),o=fpt(),i=kvt(),u=upt()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var Vmt=function(){return Vmt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Vmt.apply(this,arguments)};function Gmt(t,e,n,r){return new(n||(n=Promise))(function(e,o){function i(t){try{a(r.next(t))}catch(t){o(t)}}function u(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n(function(t){t(r)})).then(i,u)}a((r=r.apply(t,[])).next())})}function Wmt(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function qmt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var Kmt=new WeakMap;function Ymt(t){return t.getMenuConfig("uploadImage")}function Xmt(t,e){return Gmt(this,0,void 0,function(){return Wmt(this,function(n){return[2,new Promise(function(n){var r=new FileReader;r.readAsDataURL(e),r.onload=function(){var o=r.result;if(o){var i=o.toString(),u=0===i.indexOf("data:image")?"":i;_Y(t,i,e.name,u),n("ok")}}})]})})}function Jmt(t,e){return Gmt(this,0,void 0,function(){var n,r;return Wmt(this,function(o){switch(o.label){case 0:return n=function(t){var e=Kmt.get(t);if(null!=e)return e;var n=Ymt(t),r=n.onSuccess,o=n.onProgress,i=n.onFailed,u=n.customInsert,a=n.onError;return e=TB(Vmt(Vmt({},n),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,n){if(u)return u(n,function(e,n,r){return _Y(t,e,n,r)}),void r(e,n);var o=n.errno,a=void 0===o?1:o,s=n.data,c=void 0===s?{}:s;if(0===a){if(Array.isArray(c))c.forEach(function(e){var n=e.url,r=void 0===n?"":n,o=e.alt,i=void 0===o?"":o,u=e.href;_Y(t,r,i,void 0===u?"":u)});else{var l=c.url,f=void 0===l?"":l,d=c.alt,p=void 0===d?"":d,h=c.href;_Y(t,f,p,void 0===h?"":h)}r(e,n)}else i(e,n)},onError:function(t,e,n){a(t,e,n)}})),Kmt.set(t,e),e}(t),r=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),n.addFiles(r),[4,n.upload()];case 1:return o.sent(),[2]}})})}function Zmt(t,e){return Gmt(this,0,void 0,function(){var n,r,o,i,u,a,s,c,l,f,d,p,h,v,g;return Wmt(this,function(y){switch(y.label){case 0:if(null==e)return[2];n=Array.prototype.slice.call(e),r=Ymt(t),o=r.customUpload,i=r.base64LimitSize,u=[],y.label=1;case 1:y.trys.push([1,10,11,16]),a=!0,s=qmt(n),y.label=2;case 2:return[4,s.next()];case 3:return c=y.sent(),(p=c.done)?[3,9]:(g=c.value,a=!1,f=(l=g).size,i&&f<=i?[4,Xmt(t,l)]:[3,5]);case 4:return y.sent(),[3,8];case 5:return o?[4,o(l,function(e,n,r){return _Y(t,e,n,r)})]:[3,7];case 6:return y.sent(),[3,8];case 7:u.push(l),y.label=8;case 8:return a=!0,[3,2];case 9:return[3,16];case 10:return d=y.sent(),h={error:d},[3,16];case 11:return y.trys.push([11,,14,15]),a||p||!(v=s.return)?[3,13]:[4,v.call(s)];case 12:y.sent(),y.label=13;case 13:return[3,15];case 14:if(h)throw h.error;return[7];case 15:return[7];case 16:return u.length>0?[4,Jmt(t,u)]:[3,18];case 17:y.sent(),y.label=18;case 18:return[2]}})})}var Qmt=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return BY(t)},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},t.prototype.exec=function(t,e){var n=this.getMenuConfig(t),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(e,n,r){return _Y(t,e,n,r)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=Rp("body"),s=Rp('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;Zmt(t,e)})}},t}(),tbt={menus:[{key:"uploadImage",factory:function(){return new Qmt},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,n){console.error("'".concat(t.name,"' upload error"),n)},base64LimitSize:0}}],editorPlugin:function(t){var e=t.insertData,n=t;return n.insertData=function(r){if(BY(n))e(r);else if(r.getData("text/plain"))e(r);else{var o=r.files;o.length<=0?e(r):Array.prototype.slice.call(o).some(function(t){return"image"===function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}(t.type.split("/"),1)[0]})?Zmt(t,o):e(r)}},n}};cI("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"}}),cI("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var ebt,nbt,rbt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},obt={};function ibt(){if(nbt)return ebt;nbt=1;var t=function(t){return t&&t.Math===Math&&t};return ebt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof rbt&&rbt)||t("object"==typeof ebt&&ebt)||function(){return this}()||Function("return this")()}var ubt,abt,sbt,cbt,lbt,fbt,dbt,pbt,hbt={};function vbt(){return abt?ubt:(abt=1,ubt=function(t){try{return!!t()}catch(t){return!0}})}function gbt(){if(cbt)return sbt;cbt=1;var t=vbt();return sbt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function ybt(){if(fbt)return lbt;fbt=1;var t=vbt();return lbt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function mbt(){if(pbt)return dbt;pbt=1;var t=ybt(),e=Function.prototype.call;return dbt=t?e.bind(e):function(){return e.apply(e,arguments)},dbt}var bbt,Ebt,wbt,Sbt,Cbt,Dbt,Obt,Abt,xbt,Tbt,Nbt,Pbt,kbt,Ibt,Bbt,Fbt,Rbt,_bt,jbt,Lbt,Mbt,zbt,Hbt,$bt,Ubt,Vbt,Gbt,Wbt,qbt,Kbt,Ybt,Xbt,Jbt,Zbt,Qbt,tEt,eEt,nEt,rEt,oEt,iEt,uEt={};function aEt(){return wbt?Ebt:(wbt=1,Ebt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function sEt(){if(Cbt)return Sbt;Cbt=1;var t=ybt(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return Sbt=t?r:function(t){return function(){return n.apply(t,arguments)}},Sbt}function cEt(){if(Obt)return Dbt;Obt=1;var t=sEt(),e=t({}.toString),n=t("".slice);return Dbt=function(t){return n(e(t),8,-1)}}function lEt(){if(xbt)return Abt;xbt=1;var t=sEt(),e=vbt(),n=cEt(),r=Object,o=t("".split);return Abt=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function fEt(){return Nbt?Tbt:(Nbt=1,Tbt=function(t){return null==t})}function dEt(){if(kbt)return Pbt;kbt=1;var t=fEt(),e=TypeError;return Pbt=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function pEt(){if(Bbt)return Ibt;Bbt=1;var t=lEt(),e=dEt();return Ibt=function(n){return t(e(n))}}function hEt(){if(Rbt)return Fbt;Rbt=1;var t="object"==typeof document&&document.all;return Fbt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function vEt(){if(jbt)return _bt;jbt=1;var t=hEt();return _bt=function(e){return"object"==typeof e?null!==e:t(e)}}function gEt(){if(Mbt)return Lbt;Mbt=1;var t=ibt(),e=hEt();return Lbt=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},Lbt}function yEt(){if(Hbt)return zbt;Hbt=1;var t=sEt();return zbt=t({}.isPrototypeOf)}function mEt(){if(Ubt)return $bt;Ubt=1;var t=ibt().navigator,e=t&&t.userAgent;return $bt=e?String(e):""}function bEt(){if(Gbt)return Vbt;Gbt=1;var t,e,n=ibt(),r=mEt(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),Vbt=e}function EEt(){if(qbt)return Wbt;qbt=1;var t=bEt(),e=vbt(),n=ibt().String;return Wbt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function wEt(){if(Ybt)return Kbt;Ybt=1;var t=EEt();return Kbt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function SEt(){if(Jbt)return Xbt;Jbt=1;var t=gEt(),e=hEt(),n=yEt(),r=wEt(),o=Object;return Xbt=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function CEt(){if(Qbt)return Zbt;Qbt=1;var t=String;return Zbt=function(e){try{return t(e)}catch(t){return"Object"}}}function DEt(){if(eEt)return tEt;eEt=1;var t=hEt(),e=CEt(),n=TypeError;return tEt=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function OEt(){if(rEt)return nEt;rEt=1;var t=DEt(),e=fEt();return nEt=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var AEt,xEt,TEt,NEt,PEt,kEt,IEt,BEt,FEt,REt,_Et,jEt,LEt,MEt,zEt,HEt,$Et,UEt,VEt,GEt,WEt,qEt,KEt,YEt,XEt={exports:{}};function JEt(){return xEt?AEt:(xEt=1,AEt=!1)}function ZEt(){if(NEt)return TEt;NEt=1;var t=ibt(),e=Object.defineProperty;return TEt=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function QEt(){if(PEt)return XEt.exports;PEt=1;var t=JEt(),e=ibt(),n=ZEt(),r="__core-js_shared__",o=XEt.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),XEt.exports}function twt(){if(IEt)return kEt;IEt=1;var t=QEt();return kEt=function(e,n){return t[e]||(t[e]=n||{})}}function ewt(){if(FEt)return BEt;FEt=1;var t=dEt(),e=Object;return BEt=function(n){return e(t(n))}}function nwt(){if(_Et)return REt;_Et=1;var t=sEt(),e=ewt(),n=t({}.hasOwnProperty);return REt=Object.hasOwn||function(t,r){return n(e(t),r)}}function rwt(){if(LEt)return jEt;LEt=1;var t=sEt(),e=0,n=Math.random(),r=t(1.1.toString);return jEt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function owt(){if(zEt)return MEt;zEt=1;var t=ibt(),e=twt(),n=nwt(),r=rwt(),o=EEt(),i=wEt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return MEt=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function iwt(){if($Et)return HEt;$Et=1;var t=mbt(),e=vEt(),n=SEt(),r=OEt(),o=function(){if(iEt)return oEt;iEt=1;var t=mbt(),e=hEt(),n=vEt(),r=TypeError;return oEt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},oEt}(),i=owt(),u=TypeError,a=i("toPrimitive");return HEt=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function uwt(){if(VEt)return UEt;VEt=1;var t=iwt(),e=SEt();return UEt=function(n){var r=t(n,"string");return e(r)?r:r+""}}function awt(){if(WEt)return GEt;WEt=1;var t=ibt(),e=vEt(),n=t.document,r=e(n)&&e(n.createElement);return GEt=function(t){return r?n.createElement(t):{}}}function swt(){if(KEt)return qEt;KEt=1;var t=gbt(),e=vbt(),n=awt();return qEt=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function cwt(){if(YEt)return hbt;YEt=1;var t=gbt(),e=mbt(),n=function(){if(bbt)return uEt;bbt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return uEt.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,uEt}(),r=aEt(),o=pEt(),i=uwt(),u=nwt(),a=swt(),s=Object.getOwnPropertyDescriptor;return hbt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},hbt}var lwt,fwt,dwt,pwt,hwt,vwt,gwt,ywt={};function mwt(){if(fwt)return lwt;fwt=1;var t=gbt(),e=vbt();return lwt=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function bwt(){if(pwt)return dwt;pwt=1;var t=vEt(),e=String,n=TypeError;return dwt=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function Ewt(){if(hwt)return ywt;hwt=1;var t=gbt(),e=swt(),n=mwt(),r=bwt(),o=uwt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return ywt.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},ywt}function wwt(){if(gwt)return vwt;gwt=1;var t=gbt(),e=Ewt(),n=aEt();return vwt=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var Swt,Cwt,Dwt,Owt,Awt,xwt,Twt,Nwt,Pwt,kwt,Iwt,Bwt,Fwt,Rwt,_wt,jwt={exports:{}};function Lwt(){if(Cwt)return Swt;Cwt=1;var t=gbt(),e=nwt(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return Swt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function Mwt(){if(Owt)return Dwt;Owt=1;var t=sEt(),e=hEt(),n=QEt(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),Dwt=n.inspectSource}function zwt(){if(xwt)return Awt;xwt=1;var t=ibt(),e=hEt(),n=t.WeakMap;return Awt=e(n)&&/native code/.test(String(n))}function Hwt(){if(Nwt)return Twt;Nwt=1;var t=twt(),e=rwt(),n=t("keys");return Twt=function(t){return n[t]||(n[t]=e(t))}}function $wt(){return kwt?Pwt:(kwt=1,Pwt={})}function Uwt(){if(Bwt)return Iwt;Bwt=1;var t,e,n,r=zwt(),o=ibt(),i=vEt(),u=wwt(),a=nwt(),s=QEt(),c=Hwt(),l=$wt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return Iwt={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function Vwt(){if(Fwt)return jwt.exports;Fwt=1;var t=sEt(),e=vbt(),n=hEt(),r=nwt(),o=gbt(),i=Lwt().CONFIGURABLE,u=Mwt(),a=Uwt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=jwt.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),jwt.exports}function Gwt(){if(_wt)return Rwt;_wt=1;var t=hEt(),e=Ewt(),n=Vwt(),r=ZEt();return Rwt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var Wwt,qwt,Kwt,Ywt,Xwt,Jwt,Zwt,Qwt,tSt,eSt,nSt,rSt,oSt,iSt,uSt,aSt,sSt,cSt={};function lSt(){if(Ywt)return Kwt;Ywt=1;var t=function(){if(qwt)return Wwt;qwt=1;var t=Math.ceil,e=Math.floor;return Wwt=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return Kwt=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function fSt(){if(Jwt)return Xwt;Jwt=1;var t=lSt(),e=Math.max,n=Math.min;return Xwt=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}function dSt(){if(Qwt)return Zwt;Qwt=1;var t=lSt(),e=Math.min;return Zwt=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function pSt(){if(eSt)return tSt;eSt=1;var t=dSt();return tSt=function(e){return t(e.length)}}function hSt(){if(rSt)return nSt;rSt=1;var t=pEt(),e=fSt(),n=pSt(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return nSt={includes:r(!0),indexOf:r(!1)}}function vSt(){if(iSt)return oSt;iSt=1;var t=sEt(),e=nwt(),n=pEt(),r=hSt().indexOf,o=$wt(),i=t([].push);return oSt=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function gSt(){return aSt?uSt:(aSt=1,uSt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function ySt(){if(sSt)return cSt;sSt=1;var t=vSt(),e=gSt().concat("length","prototype");return cSt.f=Object.getOwnPropertyNames||function(n){return t(n,e)},cSt}var mSt,bSt,ESt,wSt,SSt,CSt,DSt,OSt,ASt,xSt,TSt,NSt,PSt,kSt,ISt,BSt,FSt,RSt,_St,jSt,LSt,MSt,zSt,HSt,$St,USt,VSt,GSt,WSt={};function qSt(){if(SSt)return wSt;SSt=1;var t=nwt(),e=function(){if(ESt)return bSt;ESt=1;var t=gEt(),e=sEt(),n=ySt(),r=(mSt||(mSt=1,WSt.f=Object.getOwnPropertySymbols),WSt),o=bwt(),i=e([].concat);return bSt=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=cwt(),r=Ewt();return wSt=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function KSt(){if(DSt)return CSt;DSt=1;var t=vbt(),e=hEt(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return CSt=r}function YSt(){if(ASt)return OSt;ASt=1;var t=ibt(),e=cwt().f,n=wwt(),r=Gwt(),o=ZEt(),i=qSt(),u=KSt();return OSt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function XSt(){if(TSt)return xSt;TSt=1;var t=cEt();return xSt=Array.isArray||function(e){return"Array"===t(e)}}function JSt(){if(ISt)return kSt;ISt=1;var t=gbt(),e=Ewt(),n=aEt();return kSt=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}function ZSt(){if(FSt)return BSt;FSt=1;var t={};return t[owt()("toStringTag")]="z",BSt="[object z]"===String(t)}function QSt(){if(_St)return RSt;_St=1;var t=ZSt(),e=hEt(),n=cEt(),r=owt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return RSt=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function tCt(){if(LSt)return jSt;LSt=1;var t=sEt(),e=vbt(),n=hEt(),r=QSt(),o=gEt(),i=Mwt(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,jSt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function eCt(){if($St)return HSt;$St=1;var t=function(){if(zSt)return MSt;zSt=1;var t=XSt(),e=tCt(),n=vEt(),r=owt()("species"),o=Array;return MSt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return HSt=function(e,n){return new(t(e))(0===n?0:n)}}function nCt(){if(VSt)return USt;VSt=1;var t=vbt(),e=owt(),n=bEt(),r=e("species");return USt=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(GSt)return obt;GSt=1;var t=YSt(),e=vbt(),n=XSt(),r=vEt(),o=ewt(),i=pSt(),u=function(){if(PSt)return NSt;PSt=1;var t=TypeError;return NSt=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=JSt(),s=eCt(),c=nCt(),l=owt(),f=bEt(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var rCt,oCt,iCt,uCt,aCt,sCt,cCt,lCt,fCt,dCt={};function pCt(){if(oCt)return rCt;oCt=1;var t=QSt(),e=String;return rCt=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function hCt(){return uCt?iCt:(uCt=1,iCt="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(fCt)return dCt;fCt=1;var t=YSt(),e=function(){if(sCt)return aCt;sCt=1;var t=sEt(),e=dEt(),n=pCt(),r=hCt(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return aCt={start:a(1),end:a(2),trim:a(3)}}().trim,n=function(){if(lCt)return cCt;lCt=1;var t=Lwt().PROPER,e=vbt(),n=hCt();return cCt=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var vCt,gCt,yCt={};function mCt(t){return t.length?t[0].tagName.toLowerCase():""}function bCt(t,e,n,r){void 0===e&&(e="auto"),void 0===n&&(n="auto"),void 0===r&&(r={});var o=Rp(t),i=r.width,u=void 0===i?"":i,a=r.height,s=void 0===a?"":a,c="";return u&&(c+="width: ".concat(u,";")),s&&(c+="height: ".concat(s,";")),o.attr("width",e),o.attr("height",n),o.attr("style",c),o[0].outerHTML}gCt||(gCt=1,function(){if(vCt)return yCt;vCt=1;var t=YSt(),e=ibt();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),rh&&(Rp.fn.append=rh),Vp&&(Rp.fn.on=Vp),hh&&(Rp.fn.focus=hh),Mp&&(Rp.fn.attr=Mp),Up&&(Rp.fn.val=Up),th&&(Rp.fn.html=th),ih&&(Rp.fn.parent=ih),Lp&&(Rp.fn.hasClass=Lp),lh&&(Rp.fn.empty=lh);var ECt,wCt,SCt,CCt={type:"video",elemToHtml:function(t,e){var n=t,r=n.src,o=void 0===r?"":r,i=n.poster,u=void 0===i?"":i,a=n.width,s=void 0===a?"auto":a,c=n.height,l=void 0===c?"auto":c,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: '.concat(void 0===p?"center":p,';">\n');if(0===o.trim().indexOf("<iframe "))h+=bCt(o,s,l,d);else{var v=d.width,g=void 0===v?"":v,y=d.height,m=void 0===y?"":y,b="";g&&(b+="width: ".concat(g,";")),m&&(b+="height: ".concat(m,";")),h+='<video poster="'.concat(u,'" controls="true" width="').concat(s,'" height="').concat(l,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return h+"\n</div>"}},DCt={};function OCt(){if(wCt)return ECt;wCt=1;var t=Vwt(),e=Ewt();return ECt=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}!function(){if(SCt)return DCt;SCt=1;var t=gbt(),e=Lwt().EXISTS,n=sEt(),r=OCt(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var ACt,xCt,TCt,NCt,PCt,kCt,ICt={};function BCt(){if(NCt)return TCt;NCt=1;var t=function(){if(xCt)return ACt;xCt=1;var t=cEt(),e=sEt();return ACt=function(n){if("Function"===t(n))return e(n)}}(),e=DEt(),n=ybt(),r=t(t.bind);return TCt=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},TCt}function FCt(){if(kCt)return PCt;kCt=1;var t=BCt(),e=sEt(),n=lEt(),r=ewt(),o=pSt(),i=eCt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return PCt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}var RCt,_Ct,jCt,LCt,MCt,zCt,HCt,$Ct,UCt,VCt,GCt={};function WCt(){if(MCt)return LCt;MCt=1;var t=gEt();return LCt=t("document","documentElement")}function qCt(){if(HCt)return zCt;HCt=1;var t,e=bwt(),n=function(){if(jCt)return GCt;jCt=1;var t=gbt(),e=mwt(),n=Ewt(),r=bwt(),o=pEt(),i=function(){if(_Ct)return RCt;_Ct=1;var t=vSt(),e=gSt();return RCt=Object.keys||function(n){return t(n,e)}}();return GCt.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},GCt}(),r=gSt(),o=$wt(),i=WCt(),u=awt(),a=Hwt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,zCt=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function KCt(){if(UCt)return $Ct;UCt=1;var t=owt(),e=qCt(),n=Ewt().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),$Ct=function(t){o[r][t]=!0}}!function(){if(VCt)return ICt;VCt=1;var t=YSt(),e=FCt().find,n=KCt(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var YCt,XCt,JCt,ZCt={};!function(){if(JCt)return ZCt;JCt=1;var t=ZSt(),e=Gwt(),n=function(){if(XCt)return YCt;XCt=1;var t=ZSt(),e=QSt();return YCt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var QCt,tDt,eDt,nDt,rDt,oDt,iDt,uDt,aDt,sDt,cDt,lDt={};function fDt(){if(tDt)return QCt;tDt=1;var t=bwt();return QCt=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function dDt(){if(sDt)return aDt;sDt=1;var t,e,n=mbt(),r=sEt(),o=pCt(),i=fDt(),u=function(){if(nDt)return eDt;nDt=1;var t=vbt(),e=ibt().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return eDt={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=twt(),s=qCt(),c=Uwt().get,l=function(){if(oDt)return rDt;oDt=1;var t=vbt(),e=ibt().RegExp;return rDt=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(uDt)return iDt;uDt=1;var t=vbt(),e=ibt().RegExp;return iDt=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),aDt=h}function pDt(){if(cDt)return lDt;cDt=1;var t=YSt(),e=dDt();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),lDt}pDt();var hDt=function(){return hDt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},hDt.apply(this,arguments)};function vDt(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function a(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(u,a)}s((r=r.apply(t,e||[])).next())})}function gDt(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function yDt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function mDt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var bDt,EDt,wDt,SDt,CDt,DDt,ODt,ADt,xDt,TDt,NDt,PDt,kDt,IDt,BDt,FDt,RDt,_Dt={};function jDt(){if(EDt)return bDt;EDt=1;var t=ybt(),e=Function.prototype,n=e.apply,r=e.call;return bDt="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),bDt}function LDt(){if(DDt)return CDt;DDt=1;var t=sEt(),e=lSt(),n=pCt(),r=dEt(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return CDt={codeAt:a(!1),charAt:a(!0)}}function MDt(){if(IDt)return kDt;IDt=1;var t=mbt(),e=nwt(),n=yEt(),r=function(){if(PDt)return NDt;PDt=1;var t=ibt(),e=vbt(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return NDt={correct:r}}(),o=fDt(),i=RegExp.prototype;return kDt=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(RDt)return _Dt;RDt=1;var t=jDt(),e=mbt(),n=sEt(),r=function(){if(SDt)return wDt;SDt=1,pDt();var t=mbt(),e=Gwt(),n=dDt(),r=vbt(),o=owt(),i=wwt(),u=o("species"),a=RegExp.prototype;return wDt=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=vbt(),i=bwt(),u=hEt(),a=vEt(),s=lSt(),c=dSt(),l=pCt(),f=dEt(),d=function(){if(ADt)return ODt;ADt=1;var t=LDt().charAt;return ODt=function(e,n,r){return n+(r?t(e,n).length:1)}}(),p=OEt(),h=function(){if(TDt)return xDt;TDt=1;var t=sEt(),e=ewt(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return xDt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=MDt(),g=function(){if(FDt)return BDt;FDt=1;var t=mbt(),e=bwt(),n=hEt(),r=cEt(),o=dDt(),i=TypeError;return BDt=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=owt()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var zDt,HDt,$Dt,UDt,VDt,GDt,WDt,qDt,KDt,YDt={};function XDt(){return HDt?zDt:(HDt=1,zDt={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})}function JDt(){if(UDt)return $Dt;UDt=1;var t=awt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return $Dt=e===Object.prototype?void 0:e}function ZDt(){if(GDt)return VDt;GDt=1;var t=vbt();return VDt=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}function QDt(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(vh())}function tOt(t){var e={};return t.trim().split(";").forEach(function(t){if(t){var n=yDt(t.split(":"),2),r=n[0],o=n[1];r&&o&&(e[r.trim()]=o.trim())}}),e}function eOt(){return QDt("w-e-insert-video")}!function(){if(KDt)return YDt;KDt=1;var t=ibt(),e=XDt(),n=JDt(),r=function(){if(qDt)return WDt;qDt=1;var t=FCt().forEach,e=ZDt()("forEach");return WDt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},WDt}(),o=wwt(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var nOt=function(){function t(){this.title=fI("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=eOt(),this.heightInputId=eOt(),this.buttonId=eOt()}return t.prototype.getSelectedVideoNode=function(t){return tP.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=e.widthInputId,r=e.heightInputId,o=e.buttonId,i=yDt(SI(fI("videoModule.width"),n,"auto"),2),u=i[0],a=Rp(i[1]),s=yDt(SI(fI("videoModule.height"),r,"auto"),2),c=s[0],l=Rp(s[1]),f=yDt(CI(o,fI("videoModule.ok")),1)[0],d=this.getSelectedVideoNode(t);if(null==this.$content){var p=Rp("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(n)).val().trim(),i=p.find("#".concat(r)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s="auto",c="auto";u(o)?s=o:a(o)&&(s="".concat(parseInt(o,10),"px")),u(i)?c=i:a(i)&&(c="".concat(parseInt(i,10),"px"));var l=d.style,f=void 0===l?{}:l;t.restoreSelection();var h={style:hDt(hDt({},f),{width:s,height:c})};yp.Transforms.setNodes(t,h,{match:function(t){return tP.checkNodeType(t,"video")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"":y,b=g.height,E=void 0===b?"":b;return a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function rOt(){return QDt("w-e-edit-video")}var oOt,iOt,uOt,aOt,sOt,cOt,lOt,fOt,dOt,pOt,hOt,vOt,gOt,yOt,mOt,bOt,EOt,wOt,SOt,COt,DOt,OOt,AOt,xOt,TOt,NOt,POt,kOt,IOt,BOt,FOt,ROt,_Ot,jOt,LOt,MOt,zOt,HOt,$Ot,UOt,VOt,GOt,WOt,qOt,KOt,YOt,XOt,JOt,ZOt,QOt,tAt=function(){function t(){this.title=fI("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=rOt(),this.posterInputId=rOt(),this.buttonId=rOt()}return t.prototype.getSelectedVideoNode=function(t){return tP.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,u=yDt(SI(fI("videoModule.videoSrc"),r,fI("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=yDt(SI(fI("videoModule.videoPoster"),o,fI("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=Rp(s),p=Rp(f),h=yDt(CI(i,fI("videoModule.ok")),1)[0];if(null==this.$content){var v=Rp("<div></div>");v.on("click","#".concat(i),function(n){return vDt(e,void 0,void 0,function(){var e,i,u,a;return gDt(this,function(s){return n.preventDefault(),e=v.find("#".concat(r)).val().trim(),i=v.find("#".concat(o)).val().trim(),u=QDt("video-"),a={src:e,poster:i,key:u},t.restoreSelection(),yp.Transforms.setNodes(t,a,{match:function(t){return tP.checkNodeType(t,"video")}}),t.hidePanelOrModal(),[2]})})}),this.$content=v}var g=this.$content;g.empty(),g.append(a),g.append(l),g.append(h);var y=this.getSelectedVideoNode(t);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]},t}(),eAt={};function nAt(){if(iOt)return oOt;iOt=1;var t=ibt(),e=mEt(),n=cEt(),r=function(t){return e.slice(0,t.length)===t};return oOt=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function rAt(){if(aOt)return uOt;aOt=1;var t=nAt();return uOt="NODE"===t}function oAt(){if(vOt)return hOt;vOt=1;var t=function(){if(pOt)return dOt;pOt=1;var t=vEt();return dOt=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return hOt=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function iAt(){if(yOt)return gOt;yOt=1;var t=function(){if(fOt)return lOt;fOt=1;var t=sEt(),e=DEt();return lOt=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=vEt(),n=dEt(),r=oAt();return gOt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function uAt(){if(bOt)return mOt;bOt=1;var t=Ewt().f,e=nwt(),n=owt()("toStringTag");return mOt=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function aAt(){if(wOt)return EOt;wOt=1;var t=gEt(),e=OCt(),n=owt(),r=gbt(),o=n("species");return EOt=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}function sAt(){if(COt)return SOt;COt=1;var t=yEt(),e=TypeError;return SOt=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function cAt(){if(xOt)return AOt;xOt=1;var t=bwt(),e=function(){if(OOt)return DOt;OOt=1;var t=tCt(),e=CEt(),n=TypeError;return DOt=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=fEt(),r=owt()("species");return AOt=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function lAt(){if(NOt)return TOt;NOt=1;var t=sEt();return TOt=t([].slice)}function fAt(){if(BOt)return IOt;BOt=1;var t=mEt();return IOt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function dAt(){if(ROt)return FOt;ROt=1;var t,e,n,r,o=ibt(),i=jDt(),u=BCt(),a=hEt(),s=nwt(),c=vbt(),l=WCt(),f=lAt(),d=awt(),p=function(){if(kOt)return POt;kOt=1;var t=TypeError;return POt=function(e,n){if(e<n)throw new t("Not enough arguments");return e}}(),h=fAt(),v=rAt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var n=a(t)?t:E(t),r=f(arguments,1);return D[++C]=function(){i(n,void 0,r)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(r=(n=new w).port2,n.port1.onmessage=T,e=u(r.postMessage,r)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),FOt={set:g,clear:y}}function pAt(){if(MOt)return LOt;MOt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},LOt=t}function hAt(){if(GOt)return VOt;GOt=1;var t,e,n,r,o,i=ibt(),u=function(){if(jOt)return _Ot;jOt=1;var t=ibt(),e=gbt(),n=Object.getOwnPropertyDescriptor;return _Ot=function(r){if(!e)return t[r];var o=n(t,r);return o&&o.value}}(),a=BCt(),s=dAt().set,c=pAt(),l=fAt(),f=function(){if(HOt)return zOt;HOt=1;var t=mEt();return zOt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(UOt)return $Ot;UOt=1;var t=mEt();return $Ot=/web0s(?!.*chrome)/i.test(t)}(),p=rAt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,n;for(p&&(e=g.domain)&&e.exit();n=b.get();)try{n()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((r=y.resolve(void 0)).constructor=y,o=a(r.then,r),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,n=v.createTextNode(""),new h(E).observe(n,{characterData:!0}),t=function(){n.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return VOt=m}function vAt(){return YOt?KOt:(YOt=1,KOt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function gAt(){if(JOt)return XOt;JOt=1;var t=ibt();return XOt=t.Promise}function yAt(){if(QOt)return ZOt;QOt=1;var t=ibt(),e=gAt(),n=hEt(),r=KSt(),o=Mwt(),i=owt(),u=nAt(),a=JEt(),s=bEt(),c=e&&e.prototype,l=i("species"),f=!1,d=n(t.PromiseRejectionEvent),p=r("Promise",function(){var t=o(e),n=t!==String(e);if(!n&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var r=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((r.constructor={})[l]=i,!(f=r.then(function(){})instanceof i))return!0}return!(n||"BROWSER"!==u&&"DENO"!==u||d)});return ZOt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var mAt,bAt,EAt={};function wAt(){if(mAt)return EAt;mAt=1;var t=DEt(),e=TypeError,n=function(n){var r,o;this.promise=new n(function(t,n){if(void 0!==r||void 0!==o)throw new e("Bad Promise constructor");r=t,o=n}),this.resolve=t(r),this.reject=t(o)};return EAt.f=function(t){return new n(t)},EAt}var SAt,CAt,DAt,OAt,AAt,xAt,TAt,NAt,PAt,kAt,IAt,BAt,FAt,RAt,_At,jAt,LAt,MAt={};function zAt(){return CAt?SAt:(CAt=1,SAt={})}function HAt(){if(xAt)return AAt;xAt=1;var t=QSt(),e=OEt(),n=fEt(),r=zAt(),o=owt()("iterator");return AAt=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function $At(){if(BAt)return IAt;BAt=1;var t=BCt(),e=mbt(),n=bwt(),r=CEt(),o=function(){if(OAt)return DAt;OAt=1;var t=owt(),e=zAt(),n=t("iterator"),r=Array.prototype;return DAt=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}(),i=pSt(),u=yEt(),a=function(){if(NAt)return TAt;NAt=1;var t=mbt(),e=DEt(),n=bwt(),r=CEt(),o=HAt(),i=TypeError;return TAt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},TAt}(),s=HAt(),c=function(){if(kAt)return PAt;kAt=1;var t=mbt(),e=bwt(),n=OEt();return PAt=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return IAt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function UAt(){if(RAt)return FAt;RAt=1;var t=owt()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return FAt=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function VAt(){if(jAt)return _At;jAt=1;var t=gAt(),e=UAt(),n=yAt().CONSTRUCTOR;return _At=n||!e(function(e){t.all(e).then(void 0,function(){})})}var GAt,WAt,qAt,KAt,YAt,XAt,JAt,ZAt={},QAt={},txt={},ext={};function nxt(t,e){return vDt(this,arguments,void 0,function(t,e,n,r,o){var i,u,a,s,c,l,f;return void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o=""),gDt(this,function(d){switch(d.label){case 0:return e?(t.restoreSelection(),i=t.getMenuConfig("insertVideo"),u=i.onInsertedVideo,a=i.checkVideo,s=i.parseVideoSrc,[4,a(e,n)]):[2];case 1:return"string"==typeof(c=d.sent())?(t.alert(c,"error"),[2]):null==c?[2]:[4,s(e)];case 2:return 0!==(l=d.sent()).trim().indexOf("<iframe ")&&(l=l.replace(/</g,"<").replace(/>/g,">")),f={type:"video",src:l,poster:n,children:[{text:""}],style:{width:r,height:o}},Promise.resolve().then(function(){tP.isSelectedEmptyParagraph(t)&&yp.Transforms.removeNodes(t,{mode:"highest"}),yp.Transforms.insertNodes(t,f,{mode:"highest"})}),u(f),[2]}})})}function rxt(){return QDt("w-e-insert-video")}JAt||(JAt=1,function(){if(bAt)return eAt;bAt=1;var t,e,n,r,o=YSt(),i=JEt(),u=rAt(),a=ibt(),s=function(){if(cOt)return sOt;cOt=1;var t=ibt();return sOt=t}(),c=mbt(),l=Gwt(),f=iAt(),d=uAt(),p=aAt(),h=DEt(),v=hEt(),g=vEt(),y=sAt(),m=cAt(),b=dAt().set,E=hAt(),w=(qOt||(qOt=1,WOt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),WOt),S=vAt(),C=pAt(),D=Uwt(),O=gAt(),A=yAt(),x=wAt(),T="Promise",N=A.CONSTRUCTOR,P=A.REJECTION_EVENT,k=A.SUBCLASSING,I=D.getterFor(T),B=D.set,F=O&&O.prototype,R=O,_=F,j=a.TypeError,L=a.document,M=a.process,z=x.f,H=z,$=!!(L&&L.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===t.promise?l(new j("Promise-chain cycle")):(r=V(n))?c(r,n,s,l):s(n)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var n,r=t.reactions;n=r.get();)G(n,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,n){var r,o;$?((r=L.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!P&&(o=a["on"+t])?o(r):t===U&&w("Unhandled promise rejection",n)},K=function(t){c(b,a,function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",r,n):q(U,n,r)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,n){return function(r){t(e,r,n)}},Z=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new j("Promise can't be resolved itself");var r=V(e);r?E(function(){var n={done:!1};try{c(r,e,J(Q,n,t),J(Z,n,t))}catch(e){Z(n,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(_=(R=function(e){y(this,_),h(e),c(t,this);var n=I(this);try{e(J(Q,n),J(Z,n))}catch(t){Z(n,t)}}).prototype,(t=function(t){B(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(_,"then",function(t,e){var n=I(this),r=z(m(this,R));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=u?M.domain:void 0,0===n.state?n.reactions.add(r):E(function(){G(r,n)}),r.promise}),e=function(){var e=new t,n=I(e);this.promise=e,this.resolve=J(Q,n),this.reject=J(Z,n)},x.f=z=function(t){return t===R||t===n?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){r=F.then,k||l(F,"then",function(t,e){var n=this;return new R(function(t,e){c(r,n,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,_)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),n=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(LAt)return MAt;LAt=1;var t=YSt(),e=mbt(),n=DEt(),r=wAt(),o=vAt(),i=$At();t({target:"Promise",stat:!0,forced:VAt()},{all:function(t){var u=this,a=r.f(u),s=a.resolve,c=a.reject,l=o(function(){var r=n(u.resolve),o=[],a=0,l=1;i(t,function(t){var n=a++,i=!1;l++,e(r,u,t).then(function(t){i||(i=!0,o[n]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(GAt)return ZAt;GAt=1;var t=YSt(),e=JEt(),n=yAt().CONSTRUCTOR,r=gAt(),o=gEt(),i=hEt(),u=Gwt(),a=r&&r.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(r)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(WAt)return QAt;WAt=1;var t=YSt(),e=mbt(),n=DEt(),r=wAt(),o=vAt(),i=$At();t({target:"Promise",stat:!0,forced:VAt()},{race:function(t){var u=this,a=r.f(u),s=a.reject,c=o(function(){var r=n(u.resolve);i(t,function(t){e(r,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(qAt)return txt;qAt=1;var t=YSt(),e=wAt();t({target:"Promise",stat:!0,forced:yAt().CONSTRUCTOR},{reject:function(t){var n=e.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(XAt)return ext;XAt=1;var t=YSt(),e=gEt(),n=JEt(),r=gAt(),o=yAt().CONSTRUCTOR,i=function(){if(YAt)return KAt;YAt=1;var t=bwt(),e=vEt(),n=wAt();return KAt=function(r,o){if(t(r),e(o)&&o.constructor===r)return o;var i=n.f(r);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(a&&this===u?r:this,t)}})}());var oxt,ixt,uxt,axt,sxt,cxt,lxt,fxt,dxt,pxt,hxt,vxt,gxt,yxt,mxt,bxt=function(){function t(){this.title=fI("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=rxt(),this.posterInputId=rxt(),this.buttonId=rxt()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!tP.getSelectedElems(t).some(function(e){var n=tP.getNodeType(e);return"pre"===n||"list-item"===n||!!t.isVoid(e)})},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,u=yDt(SI(fI("videoModule.videoSrc"),r,fI("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=yDt(SI(fI("videoModule.videoPoster"),o,fI("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=Rp(s),p=Rp(f),h=yDt(CI(i,fI("videoModule.ok")),1)[0];if(null==this.$content){var v=Rp("<div></div>");v.on("click","#".concat(i),function(n){return vDt(e,void 0,void 0,function(){var e,i;return gDt(this,function(u){switch(u.label){case 0:return n.preventDefault(),e=v.find("#".concat(r)).val().trim(),i=v.find("#".concat(o)).val().trim(),[4,nxt(t,e,i)];case 1:return u.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=v}var g=this.$content;return g.empty(),g.append(a),g.append(l),g.append(h),d.val(""),p.val(""),setTimeout(function(){d.focus()}),g[0]},t}(),Ext={};function wxt(){if(sxt)return axt;sxt=1;var t=nwt(),e=hEt(),n=ewt(),r=Hwt(),o=function(){if(uxt)return ixt;uxt=1;var t=vbt();return ixt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return axt=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function Sxt(){if(lxt)return cxt;lxt=1;var t,e,n,r=vbt(),o=hEt(),i=vEt(),u=qCt(),a=wxt(),s=Gwt(),c=owt(),l=JEt(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),cxt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function Cxt(){if(hxt)return pxt;hxt=1;var t=YSt(),e=mbt(),n=JEt(),r=Lwt(),o=hEt(),i=function(){if(dxt)return fxt;dxt=1;var t=Sxt().IteratorPrototype,e=qCt(),n=aEt(),r=uAt(),o=zAt(),i=function(){return this};return fxt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=wxt(),a=iAt(),s=uAt(),c=wwt(),l=Gwt(),f=owt(),d=zAt(),p=Sxt(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return pxt=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function Dxt(){return gxt?vxt:(gxt=1,vxt=function(t,e){return{value:t,done:e}})}function Oxt(){if(mxt)return yxt;mxt=1;var t=pEt(),e=KCt(),n=zAt(),r=Uwt(),o=Ewt().f,i=Cxt(),u=Dxt(),a=JEt(),s=gbt(),c="Array Iterator",l=r.set,f=r.getterFor(c);yxt=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return yxt}!function(){if(oxt)return Ext;oxt=1;var t=YSt(),e=sEt(),n=lEt(),r=pEt(),o=ZDt(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}(),Oxt();var Axt,xxt={};!function(){if(Axt)return xxt;Axt=1;var t=YSt(),e=FCt().map;t({target:"Array",proto:!0,forced:!nCt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Txt,Nxt={};!function(){if(Txt)return Nxt;Txt=1;var t=YSt(),e=XSt(),n=tCt(),r=vEt(),o=fSt(),i=pSt(),u=pEt(),a=JSt(),s=owt(),c=nCt(),l=lAt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var Pxt,kxt={};!function(){if(Pxt)return kxt;Pxt=1;var t=LDt().charAt,e=pCt(),n=Uwt(),r=Cxt(),o=Dxt(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var Ixt,Bxt,Fxt,Rxt,_xt={};function jxt(){if(Bxt)return Ixt;Bxt=1;var t=vbt();return Ixt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Lxt(){if(Rxt)return Fxt;Rxt=1;var t=Gwt();return Fxt=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var Mxt,zxt,Hxt,$xt,Uxt,Vxt,Gxt,Wxt,qxt,Kxt,Yxt,Xxt,Jxt,Zxt,Qxt={exports:{}},tTt={};function eTt(){if(Vxt)return Qxt.exports;Vxt=1;var t=YSt(),e=sEt(),n=$wt(),r=vEt(),o=nwt(),i=Ewt().f,u=ySt(),a=function(){if(Mxt)return tTt;Mxt=1;var t=cEt(),e=pEt(),n=ySt().f,r=lAt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return tTt.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},tTt}(),s=function(){if(Uxt)return $xt;Uxt=1;var t=vbt(),e=vEt(),n=cEt(),r=function(){if(Hxt)return zxt;Hxt=1;var t=vbt();return zxt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return $xt=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=rwt(),l=jxt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Qxt.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,Qxt.exports}function nTt(){if(Kxt)return qxt;Kxt=1;var t=YSt(),e=ibt(),n=sEt(),r=KSt(),o=Gwt(),i=eTt(),u=$At(),a=sAt(),s=hEt(),c=fEt(),l=vEt(),f=vbt(),d=UAt(),p=uAt(),h=function(){if(Wxt)return Gxt;Wxt=1;var t=hEt(),e=vEt(),n=iAt();return Gxt=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}();return qxt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}Zxt||(Zxt=1,function(){if(Jxt)return _xt;Jxt=1;var t,e=jxt(),n=ibt(),r=sEt(),o=Lxt(),i=eTt(),u=nTt(),a=function(){if(Xxt)return Yxt;Xxt=1;var t=sEt(),e=Lxt(),n=eTt().getWeakData,r=sAt(),o=bwt(),i=fEt(),u=vEt(),a=$At(),s=FCt(),c=nwt(),l=Uwt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Yxt={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=vEt(),c=Uwt().enforce,l=vbt(),f=zwt(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var rTt,oTt={};function iTt(t){return t.getMenuConfig("uploadVideo")}!function(){if(rTt)return oTt;rTt=1;var t=ibt(),e=XDt(),n=JDt(),r=Oxt(),o=wwt(),i=uAt(),u=owt()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var uTt=new WeakMap;function aTt(t,e){return vDt(this,void 0,void 0,function(){var n,r;return gDt(this,function(o){switch(o.label){case 0:return n=function(t){var e=uTt.get(t);if(null!=e)return e;var n=iTt(t),r=n.onSuccess,o=n.onProgress,i=n.onFailed,u=n.customInsert,a=n.onError;return e=TB(hDt(hDt({},n),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,n){if(u)return u(n,function(e,n){return nxt(t,e,n)}),void r(e,n);var o=n.errno,a=void 0===o?1:o,s=n.data,c=void 0===s?{}:s;if(0===a){var l=c.url,f=void 0===l?"":l,d=c.poster;nxt(t,f,void 0===d?"":d),r(e,n)}else i(e,n)},onError:function(t,e,n){a(t,e,n)}})),uTt.set(t,e),e}(t),r=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),n.addFiles(r),[4,n.upload()];case 1:return o.sent(),[2]}})})}var sTt=function(){function t(){this.title=fI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){var n=this.getMenuConfig(t),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(e,n){return nxt(t,e,n)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=Rp("body"),s=Rp('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;!function(t,e){vDt(this,void 0,void 0,function(){var n,r,o,i,u,a,s,c,l,f,d,p;return gDt(this,function(h){switch(h.label){case 0:if(null==e)return[2];n=Array.prototype.slice.call(e),r=[],o=iTt(t).customUpload,h.label=1;case 1:h.trys.push([1,8,9,14]),i=!0,u=mDt(n),h.label=2;case 2:return[4,u.next()];case 3:return a=h.sent(),(l=a.done)?[3,7]:(p=a.value,i=!1,s=p,o?[4,o(s,function(e,n){return nxt(t,e,n)})]:[3,5]);case 4:return h.sent(),[3,6];case 5:r.push(s),h.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return c=h.sent(),f={error:c},[3,14];case 9:return h.trys.push([9,,12,13]),i||l||!(d=u.return)?[3,11]:[4,d.call(u)];case 10:h.sent(),h.label=11;case 11:return[3,13];case 12:if(f)throw f.error;return[7];case 13:return[7];case 14:return r.length>0?[4,aTt(t,r)]:[3,16];case 15:h.sent(),h.label=16;case 16:return[2]}})})}(t,e)})}},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!tP.getSelectedElems(t).some(function(e){var n=tP.getNodeType(e);return"pre"===n||"list-item"===n||!!t.isVoid(e)})},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},t}(),cTt={key:"insertVideo",factory:function(){return new bxt},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},lTt={key:"uploadVideo",factory:function(){return new sTt},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,n){console.error("'".concat(t.name," upload error"),e,n)}}},fTt={key:"editVideoSize",factory:function(){return new nOt}},dTt={key:"editVideoSrc",factory:function(){return new tAt}};function pTt(t,e,n,r,o,i){return void 0===e&&(e=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),void 0===o&&(o={}),void 0===i&&(i="center"),{type:"video",src:t,poster:e,width:n,height:r,style:o,children:[{text:""}],textAlign:i}}var hTt,vTt={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,n){var r=Rp(t),o="",i="",u="auto",a="auto",s={},c=r.find("iframe");if(c.length>0)return u=c.attr("width")||"auto",a=c.attr("height")||"auto",s=tOt(s=c.attr("style")||""),pTt(o=c[0].outerHTML,i,u,a,s,tOt(r.attr("style")||"")["text-align"]||"center");var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),u=l.attr("width")||"auto",a=l.attr("height")||"auto",pTt(o,i=l.attr("poster")||"",u,a,s=tOt(s=l.attr("style")||""),tOt(r.attr("style")||"")["text-align"]||"center")}},gTt={};!function(){if(hTt)return gTt;hTt=1;var t=YSt(),e=hSt().includes,n=vbt(),r=KCt();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var yTt={renderElems:[{type:"video",renderElem:function(t,e,n){var r,o=t,i=o.src,u=void 0===i?"":i,a=o.poster,s=void 0===a?"":a,c=o.key,l=void 0===c?"":c,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=tP.isNodeSelected(n,t);if(0===u.trim().indexOf("<iframe ")){r=dv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m},innerHTML:bCt(u,d,h,g)})}else{var E=dv("video",{key:l,poster:s,controls:!0,style:g},dv("source",{src:u,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=dv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m}},E)}return Wh("div",{props:{contentEditable:!1},on:{mousedown:function(t){return t.preventDefault()}}},r)}}],elemsToHtml:[CCt],preParseHtml:[{selector:"iframe,video,p",preParseHtml:function(t){var e=Rp(t),n=e;if("p"===mCt(e)){var r=e.children();if(1===r.length){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=Rp(o))}}var u=mCt(n);if("iframe"!==u&&"video"!==u)return n[0];if("video"===n.parent().attr("data-w-e-type"))return n[0];var a=Rp('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return a.append(n),a[0]}}],parseElemsHtml:[vTt],menus:[cTt,lTt,fTt,dTt],editorPlugin:function(t){var e=t.isVoid,n=t.normalizeNode,r=t;return r.isVoid=function(t){return"video"===t.type||e(t)},r.normalizeNode=function(t){var e=yDt(t,2),o=e[0],i=e[1];return"video"===tP.getNodeType(o)&&tP.isLastNode(r,o)&&yp.Transforms.insertNodes(r,tP.genEmptyParagraph(),{at:[i[0]+1]}),n([o,i])},r}},mTt=function(){return mTt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},mTt.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var bTt=function(){function t(){throw new Error("不能实例化\nCan not construct a instance")}return t.setEditorConfig=function(t){void 0===t&&(t={}),this.editorConfig=mTt(mTt({},this.editorConfig),t)},t.setSimpleEditorConfig=function(t){void 0===t&&(t={}),this.simpleEditorConfig=mTt(mTt({},this.simpleEditorConfig),t)},t.setToolbarConfig=function(t){void 0===t&&(t={}),this.toolbarConfig=mTt(mTt({},this.toolbarConfig),t)},t.setSimpleToolbarConfig=function(t){void 0===t&&(t={}),this.simpleToolbarConfig=mTt(mTt({},this.simpleToolbarConfig),t)},t.registerPlugin=function(t){this.plugins.push(t)},t.registerMenu=function(t,e){!function(t,e){var n=t.key,r=t.factory,o=t.config,i=rC(rC({},o),e||{});if(null!=fC[n])throw new Error("Duplicated key '".concat(n,"' in menu items"));fC[n]=r,function(t,e){null!=e&&(aC[t]=e)}(n,i)}(t,e)},t.registerRenderElem=function(t){!function(t){var e=t.type,n=t.renderElem;iB[e||""]=n}(t)},t.registerRenderStyle=function(t){!function(t){oB.push(t)}(t)},t.registerElemToHtml=function(t){!function(t){var e=t.type,n=t.elemToHtml;jN[e||""]=n}(t)},t.registerStyleToHtml=function(t){!function(t){_N.push(t)}(t)},t.registerPreParseHtml=function(t){!function(t){ON.push(t)}(t)},t.registerParseElemHtml=function(t){!function(t){var e=t.selector,n=t.parseElemHtml;xN[e]=n}(t)},t.registerParseStyleHtml=function(t){!function(t){AN.push(t)}(t)},t.registerModule=function(t){ETt(t)},t.editorConfig={},t.simpleEditorConfig={},t.toolbarConfig={},t.simpleToolbarConfig={},t.plugins=[],t}();function ETt(t){var e=t.menus,n=t.renderElems,r=t.renderStyle,o=t.elemsToHtml,i=t.styleToHtml,u=t.preParseHtml,a=t.parseElemsHtml,s=t.parseStyleHtml,c=t.editorPlugin;e&&e.forEach(function(t){return bTt.registerMenu(t)}),n&&n.forEach(function(t){return bTt.registerRenderElem(t)}),r&&bTt.registerRenderStyle(r),o&&o.forEach(function(t){return bTt.registerElemToHtml(t)}),i&&bTt.registerStyleToHtml(i),u&&u.forEach(function(t){return bTt.registerPreParseHtml(t)}),a&&a.forEach(function(t){return bTt.registerParseElemHtml(t)}),s&&bTt.registerParseStyleHtml(s),c&&bTt.registerPlugin(c)}BJ.forEach(function(t){return ETt(t)}),ETt(vtt),ETt(Llt),ETt(yTt),ETt(tbt),ETt(Z2);var wTt='<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 STt={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","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var CTt={hoverbarKeys:mTt(mTt({},STt),{text:{menuKeys:["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};bTt.setEditorConfig(mTt(mTt({},CTt),{decorate:W1}));var DTt={hoverbarKeys:STt};bTt.setSimpleEditorConfig(mTt(mTt({},DTt),{decorate:W1}));var OTt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:fI("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:fI("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:fI("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:fI("editor.image"),iconSvg:wTt,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:fI("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","|","formatPainter","fullScreen"]};bTt.setToolbarConfig(OTt);var ATt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:fI("editor.image"),iconSvg:wTt,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};bTt.setSimpleToolbarConfig(ATt);t.Boot=bTt,t.DomEditor=tP,t.SlateEditor=yp.Editor,t.SlateElement=yp.Element,t.SlateLocation=yp.Location,t.SlateNode=yp.Node,t.SlatePath=yp.Path,t.SlatePoint=yp.Point,t.SlateRange=yp.Range,t.SlateText=yp.Text,t.SlateTransforms=yp.Transforms,t.Toolbar=OB,t.createEditor=function(t){void 0===t&&(t={});var e=t.selector,n=void 0===e?"":e,r=t.content,o=void 0===r?[]:r,i=t.html,u=t.config,a=void 0===u?{}:u,s=t.mode,c="simple"===(void 0===s?"default":s)?bTt.simpleEditorConfig:bTt.editorConfig,l=mTt(mTt({},c.hoverbarKeys||{}),a.hoverbarKeys||{});return mB({selector:n,config:mTt(mTt(mTt({},c),a),{hoverbarKeys:l}),content:o,html:i,plugins:bTt.plugins})},t.createToolbar=function(t){var e=t.selector,n=t.editor,r=t.config,o=void 0===r?{}:r,i=t.mode,u=void 0===i?"default":i;if(!e)throw new Error("Cannot find 'selector' when create toolbar");var a="simple"===u?bTt.simpleToolbarConfig:bTt.toolbarConfig,s=function(t,e){if(null==t)throw new Error("Cannot create toolbar, because editor is null");var n=e.selector,r=e.config,o=void 0===r?{}:r;if(function(t,e){return BN(t,"data-w-e-toolbar",e)}(t,n))throw new Error("Repeated create toolbar by selector '".concat(n,"'"));var i=rC({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),u=new OB(n,i);return pO.set(u,t),hO.set(t,u),u}(n,{selector:e,config:mTt(mTt({},a),o)});return s},t.createUploader=TB,t.default={},t.genModalButtonElems=CI,t.genModalInputElems=SI,t.genModalTextareaElems=function(t,e,n){var r=Rp('<label class="babel-container"></label>');r.append("<span>".concat(t,"</span>"));var o=Rp('<textarea type="text" id="'.concat(e,'" placeholder="').concat(n||"",'"></textarea>'));return r.append(o),[r[0],o[0]]},t.i18nAddResources=cI,t.i18nChangeLanguage=function(t){aI.changeLanguage(t)},t.i18nGetResources=function(t){return aI.getResourceBundle(t,sI)},t.t=fI,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
33
|
+
*/t.exports&&(t.exports=e),void 0!==RJ&&(RJ.Prism=e),e.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(t){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,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:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e),e.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|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,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:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript,function(){if(void 0!==e&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",r="loading",o="loaded",i="pre[data-src]:not(["+n+'="'+o+'"]):not(['+n+'="'+r+'"])';e.hooks.add("before-highlightall",function(t){t.selector+=", "+i}),e.hooks.add("before-sanity-check",function(u){var a=u.element;if(a.matches(i)){u.code="",a.setAttribute(n,r);var s=a.appendChild(document.createElement("CODE"));s.textContent="Loading…";var c=a.getAttribute("data-src"),l=u.language;if("none"===l){var f=(/\.(\w+)$/.exec(c)||[,"none"])[1];l=t[f]||f}e.util.setLanguage(s,l),e.util.setLanguage(a,l);var d=e.plugins.autoloader;d&&d.loadLanguages(l),function(t,e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.onreadystatechange=function(){4==r.readyState&&(r.status<400&&r.responseText?e(r.responseText):r.status>=400?n("✖ Error "+r.status+" while fetching file: "+r.statusText):n("✖ Error: File does not exist or is empty"))},r.send(null)}(c,function(t){a.setAttribute(n,o);var r=function(t){var e=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(t||"");if(e){var n=Number(e[1]),r=e[2],o=e[3];return r?o?[n,Number(o)]:[n,void 0]:[n,n]}}(a.getAttribute("data-range"));if(r){var i=t.split(/\r\n?|\n/g),u=r[0],c=null==r[1]?i.length:r[1];u<0&&(u+=i.length),u=Math.max(0,Math.min(u-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),t=i.slice(u,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(u+1))}s.textContent=t,e.highlightElement(s)},function(t){a.setAttribute(n,"failed"),s.textContent=t})}}),e.plugins.fileHighlight={highlight:function(t){for(var n,r=(t||document).querySelectorAll(i),o=0;n=r[o++];)e.highlightElement(n)}};var u=!1;e.fileHighlight=function(){u||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),u=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(T1)),T1.exports));!function(t){var e=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(t,e){return t=t.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),RegExp(t,e)}o=i(o).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var u=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(u).join(""):""},a=function(e){for(var n=[],r=0;r<e.length;r++){var o=e[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===u(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:u(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=u(o);r<e.length-1&&("string"==typeof e[r+1]||"plain-text"===e[r+1].type)&&(s+=u(e[r+1]),e.splice(r+1,1)),r>0&&("string"==typeof e[r-1]||"plain-text"===e[r-1].type)&&(s=u(e[r-1])+s,e.splice(r-1,1),r--),e[r]=new t.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&a(o.content)}};t.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||a(t.tokens)})}(Prism),w1||(w1=1,function(t){t.languages.typescript=t.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(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.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:e}}}}),t.languages.ts=t.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(t,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[e,"language-"+e],inside:Prism.languages[e]},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:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,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(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"],S1||(S1=1,function(t){var e=/\/\*[\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=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/,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(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/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(?: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|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\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 u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},a=[{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:u}},{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:u}}];t.languages.insertBefore("php","variable",{string:a,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:a,"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"}}}}),t.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&t.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism)),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,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(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|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",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),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],char:Prism.languages.c.char,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}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean,C1||(C1=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\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+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|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(?:False|None|True)\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?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),D1||(D1=1,function(t){var e=/\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(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|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=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+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:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:e,function:[t.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},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.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:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],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 e.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)),O1||(O1=1,function(t){var e=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_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|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return e.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return e.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:e,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(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\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}}),t.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:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(Prism)),A1||(A1=1,function(t){function e(t,e){return t.replace(/<<(\d+)>>/g,function(t,n){return"(?:"+e[+n]+")"})}function n(t,n,r){return RegExp(e(t,n),"")}function r(t,e){for(var n=0;n<e;n++)t=t.replace(/<<self>>/g,function(){return"(?:"+t+")"});return t.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",u="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*{)",a="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(t){return"\\b(?:"+t.trim().replace(/ /g,"|")+")\\b"}var c=s(i),l=RegExp(s(o+" "+i+" "+u+" "+a)),f=s(i+" "+u+" "+a),d=s(o+" "+i+" "+a),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,g=e(/<<0>>(?:\s*<<1>>)?/.source,[v,p]),y=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,g]),m=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),E=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),w=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,m]),C={keyword:l,punctuation:/[<>()?,.:[\]]/},D=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,O=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0}],"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,[c,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:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),t.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|sizeof|typeof)\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,[c,g,v,S,l.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:t.languages.csharp},keyword:l,"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 x=O+"|"+D,T=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[x]),N=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,k=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,N]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,k]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[N]),inside:t.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var I=/:[^}\r\n]+/.source,B=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),F=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[B,I]),R=r(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[x]),2),_=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,I]);function j(e,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[e]),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:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:j(F,B)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[_]),lookbehind:!0,greedy:!0,inside:j(_,R)}],char:{pattern:RegExp(D),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(Prism)),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)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\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)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,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},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},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(?:COL|_INSERT)?|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(?:ING|S)?|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(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},x1||(x1=1,function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.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(?:false|true)\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|isolated|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(?:false|true)\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(t){t.inside.interpolation.inside=Prism.languages.swift}),function(t){var e="\\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("\\$"+e),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("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.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+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,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("\\$?"+e),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|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|docker|docker-compose|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|java|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|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|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|sysctl|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|vcpkg|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;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\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=t.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,u=0;u<o.length;u++)i[o[u]]=t.languages.bash[o[u]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash}(Prism),function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(t){return t=t.replace(/<inner>/g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+t+")")}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;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.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:t.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:t.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(e){["url","bold","italic","strike","code-snippet"].forEach(function(n){e!==n&&(t.languages.markdown[e].inside.content.inside[n]=t.languages.markdown[n])})}),t.hooks.add("after-tokenize",function(t){"markdown"!==t.language&&"md"!==t.language||function t(e){if(e&&"string"!=typeof e)for(var n=0,r=e.length;n<r;n++){var o=e[n];if("code"===o.type){var i=o.content[1],u=o.content[3];if(i&&u&&"code-language"===i.type&&"code-block"===u.type&&"string"==typeof i.content){var a=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase());u.alias?"string"==typeof u.alias?u.alias=[u.alias,s]:u.alias.push(s):u.alias=[s]}}else t(o.content)}}(t.tokens)}),t.hooks.add("wrap",function(e){if("code-block"===e.type){for(var n="",r=0,o=e.classes.length;r<o;r++){var i=e.classes[r],c=/language-(.+)/.exec(i);if(c){n=c[1];break}}var l=t.languages[n];if(l)e.content=t.highlight(function(t){var e=t.replace(u,"");return e.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(t,e){var n;return"#"===(e=e.toLowerCase())[0]?(n="x"===e[1]?parseInt(e.slice(2),16):Number(e.slice(1)),s(n)):a[e]||t})}(e.content),l,n);else if(n&&"none"!==n&&t.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());e.attributes.id=f,t.plugins.autoloader.loadLanguages(n,function(){var e=document.getElementById(f);e&&(e.innerHTML=t.highlight(e.textContent,t.languages[n],n))})}}});var u=RegExp(t.languages.markup.tag.pattern.source,"gi"),a={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;t.languages.md=t.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:/[\[\](){},;]|\.+|:+/},function(t){var e={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|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:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.inside.expression.inside=t.languages.groovy}(Prism),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/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 P1=["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 k1(t){return"string"==typeof t?t.length:"string"==typeof t.content?t.content.length:t.content.reduce(function(t,e){return t+k1(e)},0)}var I1,B1,F1,R1,_1,j1,L1,M1,z1,H1,$1,U1,V1,G1,W1,q1=function(t){var e,n,r,o=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}(t,2),i=o[0],u=o[1],a=[],s=function(t){if(!yp.Text.isText(t))return null;var e=eP.getParentNode(null,t);if(e&&"code"===eP.getNodeType(e)){var n=eP.getParentNode(null,e);if(n&&"pre"===eP.getNodeType(n))return e}return null}(i);if(null==s)return a;var c=s.language,l=void 0===c?"":c;if(!l)return a;var f=function(t,e){if(!e)return[];var n=N1.languages[e];return n?N1.tokenize(t.text,n):[]}(i,l),d=0;try{for(var p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var v=h.value,g=d+k1(v);"string"!=typeof v&&a.push(((r={})[v.type]=!0,r.anchor={path:u,offset:d},r.focus={path:u,offset:g},r)),d=g}}catch(t){e={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}return a},K1={};function Y1(){if(B1)return I1;B1=1;var t=VZ();return I1=Array.isArray||function(e){return"Array"===t(e)}}function X1(){if(H1)return z1;H1=1;var t=Y1(),e=function(){if(M1)return L1;M1=1;var t=UZ(),e=YJ(),n=YZ(),r=h1(),o=JZ(),i=g0(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,L1=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),n=XZ(),r=RQ()("species"),o=Array;return z1=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}function J1(){if(U1)return $1;U1=1;var t=X1();return $1=function(e,n){return new(t(e))(0===n?0:n)}}!function(){if(W1)return K1;W1=1;var t=d1(),e=YJ(),n=Y1(),r=XZ(),o=IQ(),i=z0(),u=function(){if(R1)return F1;R1=1;var t=TypeError;return F1=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(j1)return _1;j1=1;var t=XJ(),e=JQ(),n=$Z();return _1=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=J1(),c=function(){if(G1)return V1;G1=1;var t=YJ(),e=RQ(),n=QZ(),r=e("species");return V1=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=RQ(),f=QZ(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Z1,Q1,t2,e2,n2={};function r2(){if(Q1)return Z1;Q1=1;var t=XQ();return Z1=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}var o2,i2,u2,a2,s2,c2,l2,f2,d2,p2,h2,v2,g2,y2,m2={};function b2(){if(i2)return o2;i2=1;var t=H0(),e=$0();return o2=Object.keys||function(n){return t(n,e)}}function E2(){if(l2)return c2;l2=1;var t,e=XQ(),n=function(){if(u2)return m2;u2=1;var t=XJ(),e=YQ(),n=JQ(),r=XQ(),o=KZ(),i=b2();return m2.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},m2}(),r=$0(),o=m0(),i=function(){if(s2)return a2;s2=1;var t=JZ();return a2=t("document","documentElement")}(),u=LQ(),a=y0(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,c2=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}!function(){if(y2)return n2;y2=1;var t=d1(),e=function(){if(g2)return v2;g2=1;var t,e,n=ZJ(),r=UZ(),o=v1(),i=r2(),u=function(){if(e2)return t2;e2=1;var t=YJ(),e=MJ().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return t2={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=kQ(),s=E2(),c=b0().get,l=function(){if(d2)return f2;d2=1;var t=YJ(),e=MJ().RegExp;return f2=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(h2)return p2;h2=1;var t=YJ(),e=MJ().RegExp;return p2=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),v2=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}();var w2,S2,C2,D2,O2,A2={};!function(){if(O2)return A2;O2=1;var t=v0().PROPER,e=E0(),n=XQ(),r=v1(),o=YJ(),i=function(){if(D2)return C2;D2=1;var t=ZJ(),e=BQ(),n=ZZ(),r=function(){if(S2)return w2;S2=1;var t=MJ(),e=YJ(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return w2={correct:r}}(),o=r2(),i=RegExp.prototype;return C2=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var x2,T2,N2,P2,k2,I2,B2,F2,R2,_2,j2,L2,M2,z2,H2,$2={};function U2(){if(z2)return M2;z2=1;var t=function(){if(_2)return R2;_2=1;var t=function(){if(F2)return B2;F2=1;var t=function(){if(I2)return k2;I2=1;var t=VZ(),e=UZ();return k2=function(n){if("Function"===t(n))return e(n)}}(),e=rQ(),n=JJ(),r=t(t.bind);return B2=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},B2}(),e=UZ(),n=GZ(),r=IQ(),o=z0(),i=J1(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return R2={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=function(){if(L2)return j2;L2=1;var t=YJ();return j2=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}()("forEach");return M2=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},M2}!function(){if(H2)return $2;H2=1;var t=MJ(),e=T2?x2:(T2=1,x2={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}),n=function(){if(P2)return N2;P2=1;var t=LQ()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return N2=e===Object.prototype?void 0:e}(),r=U2(),o=ZQ(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var V2,G2,W2=function(){function t(){this.title=dI("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,this.defaultCodeLang=""}return t.prototype.getOptions=function(t){var e=this,n=[],r=t.getMenuConfig("codeSelectLang").codeLangs,o=void 0===r?[]:r;n.push({text:"plain text",value:""}),o.forEach(function(t){var r=t.text,o=t.value;t.selected&&(e.defaultCodeLang=o),n.push({text:r,value:o})});var i=this.getValue(t);return n.forEach(function(t){t.value===i?t.selected=!0:t.selected=void 0}),n},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e)return this.defaultCodeLang;if(!yp.Element.isElement(e))return this.defaultCodeLang;var n=e.language.toString(),r=t.getMenuConfig("codeSelectLang").codeLangs;return(void 0===r?[]:r).some(function(t){return t.value===n})?n:this.defaultCodeLang},t.prototype.isDisabled=function(t){return null==t.selection||!this.getSelectCodeElem(t)},t.prototype.exec=function(t,e){if(null!=this.getSelectCodeElem(t)){var n={language:e.toString()};yp.Transforms.setNodes(t,n,{match:function(t){return eP.checkNodeType(t,"code")}})}},t.prototype.getSelectCodeElem=function(t){var e=eP.getSelectedNodeByType(t,"code");if(null==e)return null;var n=eP.getParentNode(t,e);return yp.Element.isElement(n)?"pre"!==n.type?null:e:null},t}(),q2={key:"codeSelectLang",factory:function(){return new W2},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"}]}},K2={};G2||(G2=1,function(){if(V2)return K2;V2=1;var t=d1(),e=MJ();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Mp&&(Rp.fn.attr=Mp);var Y2,X2,J2,Z2={};!function(){if(J2)return Z2;J2=1;var t=d1(),e=function(){if(X2)return Y2;X2=1;var t=XJ(),e=UZ(),n=ZJ(),r=YJ(),o=b2(),i=l1(),u=HZ(),a=IQ(),s=GZ(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return Y2=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,Y2}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Q2={renderStyle:function(t,e){var n=t,r=e,o="";return P1.forEach(function(t){n[t]&&(o=t)}),o&&function(t,e){null==t.data&&(t.data={});var n=t.data;null==n.props&&(n.props={}),Object.assign(n.props,{className:e})}(r,o="token ".concat(o)),r},parseStyleHtml:function(t,e,n){var r=Rp(t);if(!yp.Element.isElement(e))return e;if("code"!==eP.getNodeType(e))return e;var o=e,i=r.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[q2],elemsToHtml:[{type:"code",elemToHtml:function(t,e){var n=t.language,r=void 0===n?"":n,o=r?'class="language-'.concat(r,'"'):"";return"<code ".concat(o,">").concat(e,"</code>")}}]};lI("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),lI("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var t4,e4,n4="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r4={};function o4(){if(e4)return t4;e4=1;var t=function(t){return t&&t.Math===Math&&t};return t4=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof n4&&n4)||t("object"==typeof t4&&t4)||function(){return this}()||Function("return this")()}var i4,u4,a4,s4,c4,l4,f4,d4,p4={};function h4(){return u4?i4:(u4=1,i4=function(t){try{return!!t()}catch(t){return!0}})}function v4(){if(s4)return a4;s4=1;var t=h4();return a4=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function g4(){if(l4)return c4;l4=1;var t=h4();return c4=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function y4(){if(d4)return f4;d4=1;var t=g4(),e=Function.prototype.call;return f4=t?e.bind(e):function(){return e.apply(e,arguments)},f4}var m4,b4,E4,w4,S4,C4,D4,O4,A4,x4,T4,N4,P4,k4,I4,B4,F4,R4,_4,j4,L4,M4,z4,H4,$4,U4,V4,G4,W4,q4,K4,Y4,X4,J4,Z4,Q4,t6,e6,n6,r6,o6,i6={};function u6(){return E4?b4:(E4=1,b4=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function a6(){if(S4)return w4;S4=1;var t=g4(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return w4=t?r:function(t){return function(){return n.apply(t,arguments)}},w4}function s6(){if(D4)return C4;D4=1;var t=a6(),e=t({}.toString),n=t("".slice);return C4=function(t){return n(e(t),8,-1)}}function c6(){if(A4)return O4;A4=1;var t=a6(),e=h4(),n=s6(),r=Object,o=t("".split);return O4=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function l6(){return T4?x4:(T4=1,x4=function(t){return null==t})}function f6(){if(P4)return N4;P4=1;var t=l6(),e=TypeError;return N4=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function d6(){if(I4)return k4;I4=1;var t=c6(),e=f6();return k4=function(n){return t(e(n))}}function p6(){if(F4)return B4;F4=1;var t="object"==typeof document&&document.all;return B4=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function h6(){if(_4)return R4;_4=1;var t=p6();return R4=function(e){return"object"==typeof e?null!==e:t(e)}}function v6(){if(L4)return j4;L4=1;var t=o4(),e=p6();return j4=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},j4}function g6(){if(z4)return M4;z4=1;var t=a6();return M4=t({}.isPrototypeOf)}function y6(){if(V4)return U4;V4=1;var t,e,n=o4(),r=function(){if($4)return H4;$4=1;var t=o4().navigator,e=t&&t.userAgent;return H4=e?String(e):""}(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),U4=e}function m6(){if(W4)return G4;W4=1;var t=y6(),e=h4(),n=o4().String;return G4=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function b6(){if(K4)return q4;K4=1;var t=m6();return q4=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function E6(){if(X4)return Y4;X4=1;var t=v6(),e=p6(),n=g6(),r=b6(),o=Object;return Y4=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function w6(){if(Z4)return J4;Z4=1;var t=String;return J4=function(e){try{return t(e)}catch(t){return"Object"}}}function S6(){if(t6)return Q4;t6=1;var t=p6(),e=w6(),n=TypeError;return Q4=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function C6(){if(n6)return e6;n6=1;var t=S6(),e=l6();return e6=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var D6,O6,A6,x6,T6,N6,P6,k6,I6,B6,F6,R6,_6,j6,L6,M6,z6,H6,$6,U6,V6,G6,W6,q6,K6={exports:{}};function Y6(){return O6?D6:(O6=1,D6=!1)}function X6(){if(x6)return A6;x6=1;var t=o4(),e=Object.defineProperty;return A6=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function J6(){if(T6)return K6.exports;T6=1;var t=Y6(),e=o4(),n=X6(),r="__core-js_shared__",o=K6.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),K6.exports}function Z6(){if(P6)return N6;P6=1;var t=J6();return N6=function(e,n){return t[e]||(t[e]=n||{})}}function Q6(){if(I6)return k6;I6=1;var t=f6(),e=Object;return k6=function(n){return e(t(n))}}function t3(){if(F6)return B6;F6=1;var t=a6(),e=Q6(),n=t({}.hasOwnProperty);return B6=Object.hasOwn||function(t,r){return n(e(t),r)}}function e3(){if(_6)return R6;_6=1;var t=a6(),e=0,n=Math.random(),r=t(1.1.toString);return R6=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function n3(){if(L6)return j6;L6=1;var t=o4(),e=Z6(),n=t3(),r=e3(),o=m6(),i=b6(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return j6=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function r3(){if(z6)return M6;z6=1;var t=y4(),e=h6(),n=E6(),r=C6(),o=function(){if(o6)return r6;o6=1;var t=y4(),e=p6(),n=h6(),r=TypeError;return r6=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")}}(),i=n3(),u=TypeError,a=i("toPrimitive");return M6=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function o3(){if($6)return H6;$6=1;var t=r3(),e=E6();return H6=function(n){var r=t(n,"string");return e(r)?r:r+""}}function i3(){if(V6)return U6;V6=1;var t=o4(),e=h6(),n=t.document,r=e(n)&&e(n.createElement);return U6=function(t){return r?n.createElement(t):{}}}function u3(){if(W6)return G6;W6=1;var t=v4(),e=h4(),n=i3();return G6=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function a3(){if(q6)return p4;q6=1;var t=v4(),e=y4(),n=function(){if(m4)return i6;m4=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return i6.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,i6}(),r=u6(),o=d6(),i=o3(),u=t3(),a=u3(),s=Object.getOwnPropertyDescriptor;return p4.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},p4}var s3,c3,l3,f3,d3,p3,h3,v3={};function g3(){if(c3)return s3;c3=1;var t=v4(),e=h4();return s3=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function y3(){if(f3)return l3;f3=1;var t=h6(),e=String,n=TypeError;return l3=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function m3(){if(d3)return v3;d3=1;var t=v4(),e=u3(),n=g3(),r=y3(),o=o3(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return v3.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},v3}function b3(){if(h3)return p3;h3=1;var t=v4(),e=m3(),n=u6();return p3=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var E3,w3,S3,C3,D3,O3,A3,x3,T3,N3,P3,k3,I3,B3,F3,R3={exports:{}};function _3(){if(w3)return E3;w3=1;var t=v4(),e=t3(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return E3={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function j3(){if(C3)return S3;C3=1;var t=a6(),e=p6(),n=J6(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),S3=n.inspectSource}function L3(){if(O3)return D3;O3=1;var t=o4(),e=p6(),n=t.WeakMap;return D3=e(n)&&/native code/.test(String(n))}function M3(){if(x3)return A3;x3=1;var t=Z6(),e=e3(),n=t("keys");return A3=function(t){return n[t]||(n[t]=e(t))}}function z3(){return N3?T3:(N3=1,T3={})}function H3(){if(k3)return P3;k3=1;var t,e,n,r=L3(),o=o4(),i=h6(),u=b3(),a=t3(),s=J6(),c=M3(),l=z3(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return P3={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function $3(){if(F3)return B3;F3=1;var t=p6(),e=m3(),n=function(){if(I3)return R3.exports;I3=1;var t=a6(),e=h4(),n=p6(),r=t3(),o=v4(),i=_3().CONFIGURABLE,u=j3(),a=H3(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=R3.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),R3.exports}(),r=X6();return B3=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var U3,V3,G3,W3,q3,K3,Y3,X3,J3,Z3,Q3,t5,e5,n5,r5,o5,i5,u5={};function a5(){if(W3)return G3;W3=1;var t=function(){if(V3)return U3;V3=1;var t=Math.ceil,e=Math.floor;return U3=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return G3=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function s5(){if(X3)return Y3;X3=1;var t=a5(),e=Math.min;return Y3=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function c5(){if(Z3)return J3;Z3=1;var t=s5();return J3=function(e){return t(e.length)}}function l5(){if(t5)return Q3;t5=1;var t=d6(),e=function(){if(K3)return q3;K3=1;var t=a5(),e=Math.max,n=Math.min;return q3=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}(),n=c5(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return Q3={includes:r(!0),indexOf:r(!1)}}function f5(){if(n5)return e5;n5=1;var t=a6(),e=t3(),n=d6(),r=l5().indexOf,o=z3(),i=t([].push);return e5=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function d5(){return o5?r5:(o5=1,r5=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function p5(){if(i5)return u5;i5=1;var t=f5(),e=d5().concat("length","prototype");return u5.f=Object.getOwnPropertyNames||function(n){return t(n,e)},u5}var h5,v5,g5,y5,m5,b5,E5,w5,S5,C5,D5,O5,A5,x5,T5,N5,P5,k5,I5,B5,F5,R5,_5,j5,L5,M5,z5,H5,$5={};function U5(){if(m5)return y5;m5=1;var t=t3(),e=function(){if(g5)return v5;g5=1;var t=v6(),e=a6(),n=p5(),r=(h5||(h5=1,$5.f=Object.getOwnPropertySymbols),$5),o=y3(),i=e([].concat);return v5=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=a3(),r=m3();return y5=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function V5(){if(E5)return b5;E5=1;var t=h4(),e=p6(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return b5=r}function G5(){if(S5)return w5;S5=1;var t=o4(),e=a3().f,n=b3(),r=$3(),o=X6(),i=U5(),u=V5();return w5=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function W5(){if(D5)return C5;D5=1;var t=s6();return C5=Array.isArray||function(e){return"Array"===t(e)}}function q5(){if(A5)return O5;A5=1;var t=TypeError;return O5=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function K5(){if(P5)return N5;P5=1;var t={};return t[n3()("toStringTag")]="z",N5="[object z]"===String(t)}function Y5(){if(I5)return k5;I5=1;var t=K5(),e=p6(),n=s6(),r=n3()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return k5=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function X5(){if(_5)return R5;_5=1;var t=W5(),e=function(){if(F5)return B5;F5=1;var t=a6(),e=h4(),n=p6(),r=Y5(),o=v6(),i=j3(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,B5=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),n=h6(),r=n3()("species"),o=Array;return R5=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}function J5(){if(L5)return j5;L5=1;var t=X5();return j5=function(e,n){return new(t(e))(0===n?0:n)}}function Z5(){if(z5)return M5;z5=1;var t=h4(),e=n3(),n=y6(),r=e("species");return M5=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(H5)return r4;H5=1;var t=G5(),e=h4(),n=W5(),r=h6(),o=Q6(),i=c5(),u=q5(),a=function(){if(T5)return x5;T5=1;var t=v4(),e=m3(),n=u6();return x5=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=J5(),c=Z5(),l=n3(),f=y6(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Q5=function(t,e){return Q5=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Q5(t,e)};function t8(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Q5(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function e8(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function n8(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function r8(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var o8,i8,u8,a8,s8,c8,l8,f8,d8,p8,h8,v8,g8,y8,m8,b8,E8,w8,S8,C8,D8,O8,A8,x8,T8,N8,P8,k8,I8,B8,F8,R8,_8,j8,L8,M8={};function z8(){if(l8)return c8;l8=1;var t,e=y3(),n=function(){if(u8)return M8;u8=1;var t=v4(),e=g3(),n=m3(),r=y3(),o=d6(),i=function(){if(i8)return o8;i8=1;var t=f5(),e=d5();return o8=Object.keys||function(n){return t(n,e)}}();return M8.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},M8}(),r=d5(),o=z3(),i=function(){if(s8)return a8;s8=1;var t=v6();return a8=t("document","documentElement")}(),u=i3(),a=M3(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,c8=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function H8(){if(d8)return f8;d8=1;var t=n3(),e=z8(),n=m3().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),f8=function(t){o[r][t]=!0}}function $8(){return h8?p8:(h8=1,p8={})}function U8(){if(m8)return y8;m8=1;var t=t3(),e=p6(),n=Q6(),r=M3(),o=function(){if(g8)return v8;g8=1;var t=h4();return v8=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return y8=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function V8(){if(E8)return b8;E8=1;var t,e,n,r=h4(),o=p6(),i=h6(),u=z8(),a=U8(),s=$3(),c=n3(),l=Y6(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),b8={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function G8(){if(S8)return w8;S8=1;var t=m3().f,e=t3(),n=n3()("toStringTag");return w8=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function W8(){if(P8)return N8;P8=1;var t=function(){if(T8)return x8;T8=1;var t=h6();return x8=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return N8=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function q8(){if(I8)return k8;I8=1;var t=function(){if(A8)return O8;A8=1;var t=a6(),e=S6();return O8=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=h6(),n=f6(),r=W8();return k8=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function K8(){if(F8)return B8;F8=1;var t=G5(),e=y4(),n=Y6(),r=_3(),o=p6(),i=function(){if(D8)return C8;D8=1;var t=V8().IteratorPrototype,e=z8(),n=u6(),r=G8(),o=$8(),i=function(){return this};return C8=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=U8(),a=q8(),s=G8(),c=b3(),l=$3(),f=n3(),d=$8(),p=V8(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return B8=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function Y8(){return _8?R8:(_8=1,R8=function(t,e){return{value:t,done:e}})}function X8(){if(L8)return j8;L8=1;var t=d6(),e=H8(),n=$8(),r=H3(),o=m3().f,i=K8(),u=Y8(),a=Y6(),s=v4(),c="Array Iterator",l=r.set,f=r.getterFor(c);j8=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return j8}X8();var J8,Z8,Q8,t7={};!function(){if(Q8)return t7;Q8=1;var t=K5(),e=$3(),n=function(){if(Z8)return J8;Z8=1;var t=K5(),e=Y5();return J8=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var e7,n7,r7,o7,i7,u7={};function a7(){if(n7)return e7;n7=1;var t=Y5(),e=String;return e7=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function s7(){if(o7)return r7;o7=1;var t=a6(),e=a5(),n=a7(),r=f6(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return r7={codeAt:a(!1),charAt:a(!0)}}!function(){if(i7)return u7;i7=1;var t=s7().charAt,e=a7(),n=H3(),r=K8(),o=Y8(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var c7,l7,f7,d7,p7={};function h7(){if(l7)return c7;l7=1;var t=h4();return c7=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function v7(){if(d7)return f7;d7=1;var t=$3();return f7=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var g7,y7,m7,b7,E7,w7,S7,C7,D7,O7,A7,x7,T7,N7,P7,k7,I7,B7,F7,R7,_7,j7,L7,M7,z7,H7,$7,U7,V7,G7,W7,q7,K7,Y7,X7,J7,Z7={exports:{}},Q7={};function t9(){if(m7)return Q7;m7=1;var t=s6(),e=d6(),n=p5().f,r=function(){if(y7)return g7;y7=1;var t=a6();return g7=t([].slice)}(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Q7.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},Q7}function e9(){if(C7)return Z7.exports;C7=1;var t=G5(),e=a6(),n=z3(),r=h6(),o=t3(),i=m3().f,u=p5(),a=t9(),s=function(){if(S7)return w7;S7=1;var t=h4(),e=h6(),n=s6(),r=function(){if(E7)return b7;E7=1;var t=h4();return b7=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return w7=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=e3(),l=h7(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Z7.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,Z7.exports}function n9(){if(x7)return A7;x7=1;var t=function(){if(O7)return D7;O7=1;var t=s6(),e=a6();return D7=function(n){if("Function"===t(n))return e(n)}}(),e=S6(),n=g4(),r=t(t.bind);return A7=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},A7}function r9(){if(k7)return P7;k7=1;var t=Y5(),e=C6(),n=l6(),r=$8(),o=n3()("iterator");return P7=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function o9(){if(j7)return _7;j7=1;var t=n9(),e=y4(),n=y3(),r=w6(),o=function(){if(N7)return T7;N7=1;var t=n3(),e=$8(),n=t("iterator"),r=Array.prototype;return T7=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}(),i=c5(),u=g6(),a=function(){if(B7)return I7;B7=1;var t=y4(),e=S6(),n=y3(),r=w6(),o=r9(),i=TypeError;return I7=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},I7}(),s=r9(),c=function(){if(R7)return F7;R7=1;var t=y4(),e=y3(),n=C6();return F7=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return _7=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function i9(){if(M7)return L7;M7=1;var t=g6(),e=TypeError;return L7=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function u9(){if(G7)return V7;G7=1;var t=G5(),e=o4(),n=a6(),r=V5(),o=$3(),i=e9(),u=o9(),a=i9(),s=p6(),c=l6(),l=h6(),f=h4(),d=function(){if(H7)return z7;H7=1;var t=n3()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return z7=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}(),p=G8(),h=function(){if(U7)return $7;U7=1;var t=p6(),e=h6(),n=q8();return $7=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}();return V7=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function a9(){if(q7)return W7;q7=1;var t=n9(),e=a6(),n=c6(),r=Q6(),o=c5(),i=J5(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return W7={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}J7||(J7=1,function(){if(X7)return p7;X7=1;var t,e=h7(),n=o4(),r=a6(),o=v7(),i=e9(),u=u9(),a=function(){if(Y7)return K7;Y7=1;var t=a6(),e=v7(),n=e9().getWeakData,r=i9(),o=y3(),i=l6(),u=h6(),a=o9(),s=a9(),c=t3(),l=H3(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},K7={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=h6(),c=H3().enforce,l=h4(),f=L3(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var s9,c9,l9,f9,d9,p9={};!function(){if(d9)return p9;d9=1;var t=o4(),e=c9?s9:(c9=1,s9={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}),n=function(){if(f9)return l9;f9=1;var t=i3()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return l9=e===Object.prototype?void 0:e}(),r=X8(),o=b3(),i=G8(),u=n3()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var h9=new WeakMap;function v9(t){var e,n=t.children||[],r=n.length;if(0===r)return"";for(var o=0;o<r&&!e;o+=1){var i=n[o];yp.Text.isText(i)&&(e=i)}return null==e?"":e.color||""}function g9(t,e,n){for(var r=e.type,o=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(e,["type"]),i=void 0!==n?n:o.level||0,u=eP.findPath(t,e),a=u;;){if(0===a.length||0===u[u.length-1])return null;a=yp.Path.previous(a);var s=yp.Editor.node(t,a);if(!s)return null;var c=n8(s,1)[0],l=c.level,f=void 0===l?0:l;if(eP.getNodeType(c)!==r)return null;if(f===i)return c}}function y9(t,e,n){var r=g9(t,e,n);return!!r&&r.ordered===e.ordered}var m9,b9=[],E9={type:"list-item",elemToHtml:function(t,e){var n="",r="",o=t.ordered,i=void 0!==o&&o?"ol":"ul",u=function(t){var e=h9.get(t);if(null==e)return 0;var n=t,r=n.type,o=n.ordered,i=void 0!==o&&o,u=n.level,a=void 0===u?0:u,s=eP.findPath(e,t);if(0===s[0])return a+1;var c=yp.Path.previous(s),l=yp.Editor.node(e,c);if(!l)return 0;var f=n8(l,1)[0];if(eP.getNodeType(f)!==r)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?a-g:g>a?y9(e,t)?0:1:g===a?h===i?0:1:0}(t);if(u>0)for(var a=0;a<u;a+=1)n+="<".concat(i,">"),b9.push(i);var s=function(t){var e=h9.get(t);if(null==e)return 0;var n=t,r=n.type,o=n.ordered,i=void 0!==o&&o,u=n.level,a=void 0===u?0:u,s=eP.findPath(e,t);if(s[0]===e.children.length-1)return a+1;var c=yp.Path.next(s),l=yp.Editor.node(e,c);if(!l)return 0;var f=n8(l,1)[0];if(eP.getNodeType(f)!==r)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?y9(e,f)?a-g:a-g+1:g>a?0:g===a?h===i?0:1:0}(t);if(s>0)for(a=0;a<s;a+=1){var c=b9.pop();r+="</".concat(c,">")}var l=v9(t),f=l?' style="color:'.concat(l,'"'):"";return{html:"<li".concat(f,">").concat(e,"</li>"),prefix:n,suffix:r}}},w9={};!function(){if(m9)return w9;m9=1;var t=G5(),e=l5().includes,n=h4(),r=H8();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var S9,C9,D9,O9,A9,x9,T9,N9,P9,k9,I9,B9={};function F9(){if(C9)return S9;C9=1;var t=y3();return S9=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function R9(){if(k9)return P9;k9=1;var t,e,n=y4(),r=a6(),o=a7(),i=F9(),u=function(){if(O9)return D9;O9=1;var t=h4(),e=o4().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return D9={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=Z6(),s=z8(),c=H3().get,l=function(){if(x9)return A9;x9=1;var t=h4(),e=o4().RegExp;return A9=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(N9)return T9;N9=1;var t=h4(),e=o4().RegExp;return T9=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),P9=h}function _9(){if(I9)return B9;I9=1;var t=G5(),e=R9();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),B9}_9();var j9,L9=function(){function t(){this.type="list-item",this.tag="button"}return t.prototype.getListNode=function(t){var e=this.type;return eP.getSelectedNodeByType(t,e)},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){var e=this.getListNode(t);if(null==e)return!1;var n=e.ordered;return(void 0!==n&&n)===this.ordered},t.prototype.isDisabled=function(t){return null==t.selection||!!eP.getSelectedElems(t).some(function(e){if(yp.Editor.isVoid(t,e)&&yp.Editor.isBlock(t,e))return!0;var n=e.type;return!!["pre","code","table"].includes(n)})},t.prototype.exec=function(t,e){this.isActive(t)?yp.Transforms.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):yp.Transforms.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),M9=function(t){function e(){var e=t.apply(this,r8([],n8(arguments),!1))||this;return e.ordered=!1,e.title=dI("listModule.unOrderedList"),e.iconSvg='<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>',e}return t8(e,t),e}(L9),z9=function(t){function e(){var e=t.apply(this,r8([],n8(arguments),!1))||this;return e.ordered=!0,e.title=dI("listModule.orderedList"),e.iconSvg='<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>',e}return t8(e,t),e}(L9),H9={key:"bulletedList",factory:function(){return new M9}},$9={key:"numberedList",factory:function(){return new z9}},U9={};!function(){if(j9)return U9;j9=1;var t=G5(),e=a9().filter;t({target:"Array",proto:!0,forced:!Z5()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var V9,G9,W9,q9,K9={};!function(){if(W9)return K9;W9=1;var t=G5(),e=function(){if(G9)return V9;G9=1;var t=W5(),e=c5(),n=q5(),r=n9(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&r(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(n(v+1),i[v]=p),v++),g++;return v};return V9=o}(),n=Q6(),r=c5(),o=a5(),i=J5();t({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,u=n(this),a=r(u),s=i(u,0);return s.length=e(s,u,u,a,0,void 0===t?1:o(t)),s}})}(),q9||(q9=1,H8()("flat"));var Y9,X9,J9,Z9,Q9,ttt,ett,ntt,rtt,ott,itt,utt,att,stt,ctt,ltt={};!function(){if(ctt)return ltt;ctt=1;var t=function(){if(X9)return Y9;X9=1;var t=g4(),e=Function.prototype,n=e.apply,r=e.call;return Y9="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),Y9}(),e=y4(),n=a6(),r=function(){if(Z9)return J9;Z9=1,_9();var t=y4(),e=$3(),n=R9(),r=h4(),o=n3(),i=b3(),u=o("species"),a=RegExp.prototype;return J9=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=h4(),i=y3(),u=p6(),a=h6(),s=a5(),c=s5(),l=a7(),f=f6(),d=function(){if(ttt)return Q9;ttt=1;var t=s7().charAt;return Q9=function(e,n,r){return n+(r?t(e,n).length:1)}}(),p=C6(),h=function(){if(ntt)return ett;ntt=1;var t=a6(),e=Q6(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return ett=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=function(){if(utt)return itt;utt=1;var t=y4(),e=t3(),n=g6(),r=function(){if(ott)return rtt;ott=1;var t=o4(),e=h4(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return rtt={correct:r}}(),o=F9(),i=RegExp.prototype;return itt=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),g=function(){if(stt)return att;stt=1;var t=y4(),e=y3(),n=p6(),r=s6(),o=R9(),i=TypeError;return att=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=n3()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var ftt,dtt,ptt={};function htt(t){return t.length?t[0].tagName.toLowerCase():""}function vtt(t){return yp.Editor.nodes(t,{at:t.selection||void 0,match:function(e){return 1===eP.findPath(t,e).length}})}dtt||(dtt=1,function(){if(ftt)return ptt;ftt=1;var t=G5(),e=o4();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),rh&&(Rp.fn.append=rh),Mp&&(Rp.fn.attr=Mp),ih&&(Rp.fn.parent=ih);var gtt={renderElems:[{type:"list-item",renderElem:function(t,e,n){h9.set(t,n);var r=t,o=r.level,i=void 0===o?0:o,u=r.ordered,a=void 0!==u&&u,s={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},c="";if(a){var l=function(t,e){var n=e,r=n.type,o=n.level,i=void 0===o?0:o,u=n.ordered,a=void 0!==u&&u,s=1,c=e,l=eP.findPath(t,c);if(0===l[0])return 1;for(;l[0]>0;){var f=yp.Path.previous(l),d=yp.Editor.node(t,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!==a)break;s+=1}c=p,l=f}return s}(n,t);c="".concat(l,".")}else c=function(t){void 0===t&&(t=0);var e="";switch(t){case 0:e="•";break;case 1:e="◦";break;default:e="▪"}return e}(i);return dv("div",{style:s},dv("span",{contentEditable:!1,style:{marginRight:"0.5em",color:v9(t)},"data-w-e-reserve":!0},c),dv("span",{style:{flex:"1",wordBreak:"break-word"}},e))}}],editorPlugin:function(t){var e=t.deleteBackward,n=t.handleTab,r=t.normalizeNode,o=t.insertBreak,i=t;return i.insertBreak=function(){var e=n8(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"list-item")},universal:!0}),1)[0];return e?""!==e[0].children[0].text?o():void yp.Transforms.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(n){var r=i.selection;if(null!=r)if(yp.Range.isExpanded(r))e(n);else{var o=eP.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==r.focus.offset)e(n);else{var u=o,a=u.level,s=void 0===a?0:a,c=u.ordered,l=void 0!==c&&c;if(s>0){var f=g9(t,o,s-1);f&&f.ordered!==l?yp.Transforms.setNodes(i,{level:s-1,ordered:!l}):yp.Transforms.setNodes(i,{level:s-1})}else yp.Transforms.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else e(n)}else e(n)},i.handleTab=function(){var t,e,r,o,u=i.selection;if(null!=u){if(yp.Range.isCollapsed(u)){var a=eP.getSelectedNodeByType(i,"list-item");if(null==a)return void n();if(0===u.focus.offset){var s=a.level,c=void 0===s?0:s;return void yp.Transforms.setNodes(i,{level:c+1})}}if(yp.Range.isExpanded(u)){var l=0,f=!1;try{for(var d=e8(vtt(i)),p=d.next();!p.done;p=d.next()){var h=n8(p.value,1)[0];"list-item"===eP.getNodeType(h)?l+=1:f=!0}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}if(f||l<=1)return void n();try{for(var v=e8(vtt(i)),g=v.next();!g.done;g=v.next()){var y=n8(g.value,2),m=(h=y[0],y[1]),b=h.level;c=void 0===b?0:b,yp.Transforms.setNodes(i,{level:c+1},{at:m})}}catch(t){r={error:t}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(r)throw r.error}}}else n()}else n()},i.normalizeNode=function(t){var e=n8(t,2),n=e[0],o=e[1],u=eP.getNodeType(n);return"bulleted-list"!==u&&"numbered-list"!==u||yp.Transforms.unwrapNodes(i,{at:o}),r([n,o])},i},menus:[H9,$9],elemsToHtml:[E9],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,n){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);0===(e=e.filter(function(t){return!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(t){return"ol"===htt(t.parent())}(r),i=function(t){for(var e=0,n=t.parent(),r=htt(n);"ul"===r||"ol"===r;)r=htt(n=n.parent()),e+=1;return e-1}(r);return{type:"list-item",ordered:o,level:i,children:e}}}]};lI("en",{tableModule:{modal:{border:"Border",borderWidth:"Width",bgColor:"Back color",align:"Text Align",ok:"OK"},color:{default:"Default color",clear:"Clear back color"},borderStyle:{none:"None",solid:"Solid",dotted:"Dotted",dashed:"Dashed",double:"Double",groove:"Groove",ridge:"Ridge",inset:"Inset",outset:"Outset"},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",tableProperty:"Table property",cellProperty:"Cell property"}}),lI("zh-CN",{tableModule:{modal:{border:"边框",borderWidth:"宽度",bgColor:"背景色",align:"对齐方式",ok:"确定"},color:{default:"默认颜色",clear:"清除背景色"},borderStyle:{none:"无样式",solid:"实线",dotted:"点状虚线",dashed:"虚线",double:"双线",groove:"凹槽边框",ridge:"菱形边框",inset:"凹边框",outset:"凸边框"},deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var ytt,mtt,btt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ett={};function wtt(){if(mtt)return ytt;mtt=1;var t=function(t){return t&&t.Math===Math&&t};return ytt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof btt&&btt)||t("object"==typeof ytt&&ytt)||function(){return this}()||Function("return this")()}var Stt,Ctt,Dtt,Ott,Att,xtt,Ttt,Ntt,Ptt={};function ktt(){return Ctt?Stt:(Ctt=1,Stt=function(t){try{return!!t()}catch(t){return!0}})}function Itt(){if(Ott)return Dtt;Ott=1;var t=ktt();return Dtt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Btt(){if(xtt)return Att;xtt=1;var t=ktt();return Att=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function Ftt(){if(Ntt)return Ttt;Ntt=1;var t=Btt(),e=Function.prototype.call;return Ttt=t?e.bind(e):function(){return e.apply(e,arguments)},Ttt}var Rtt,_tt,jtt,Ltt,Mtt,ztt,Htt,$tt,Utt,Vtt,Gtt,Wtt,qtt,Ktt,Ytt,Xtt,Jtt,Ztt,Qtt,tet,eet,net,ret,oet,iet,uet,aet,set,cet,fet,det,pet,het,vet,get,yet,met,bet,Eet,wet,Cet,Det={};function Oet(){if(Rtt)return Det;Rtt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return Det.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,Det}function Aet(){return jtt?_tt:(jtt=1,_tt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function xet(){if(Mtt)return Ltt;Mtt=1;var t=Btt(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return Ltt=t?r:function(t){return function(){return n.apply(t,arguments)}},Ltt}function Tet(){if(Htt)return ztt;Htt=1;var t=xet(),e=t({}.toString),n=t("".slice);return ztt=function(t){return n(e(t),8,-1)}}function Net(){if(Utt)return $tt;Utt=1;var t=xet(),e=ktt(),n=Tet(),r=Object,o=t("".split);return $tt=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function Pet(){return Gtt?Vtt:(Gtt=1,Vtt=function(t){return null==t})}function ket(){if(qtt)return Wtt;qtt=1;var t=Pet(),e=TypeError;return Wtt=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function Iet(){if(Ytt)return Ktt;Ytt=1;var t=Net(),e=ket();return Ktt=function(n){return t(e(n))}}function Bet(){if(Jtt)return Xtt;Jtt=1;var t="object"==typeof document&&document.all;return Xtt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function Fet(){if(Qtt)return Ztt;Qtt=1;var t=Bet();return Ztt=function(e){return"object"==typeof e?null!==e:t(e)}}function Ret(){if(eet)return tet;eet=1;var t=wtt(),e=Bet();return tet=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},tet}function _et(){if(ret)return net;ret=1;var t=xet();return net=t({}.isPrototypeOf)}function jet(){if(iet)return oet;iet=1;var t=wtt().navigator,e=t&&t.userAgent;return oet=e?String(e):""}function Let(){if(aet)return uet;aet=1;var t,e,n=wtt(),r=jet(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),uet=e}function Met(){if(cet)return set;cet=1;var t=Let(),e=ktt(),n=wtt().String;return set=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function zet(){if(det)return fet;det=1;var t=Met();return fet=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Het(){if(het)return pet;het=1;var t=Ret(),e=Bet(),n=_et(),r=zet(),o=Object;return pet=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function $et(){if(get)return vet;get=1;var t=String;return vet=function(e){try{return t(e)}catch(t){return"Object"}}}function Uet(){if(met)return yet;met=1;var t=Bet(),e=$et(),n=TypeError;return yet=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function Vet(){if(Eet)return bet;Eet=1;var t=Uet(),e=Pet();return bet=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var Get,Wet,qet,Ket,Yet,Xet,Jet,Zet,Qet,tnt,ent,nnt,rnt,ont,int,unt,ant,snt,cnt,lnt,fnt,dnt,pnt,hnt,vnt={exports:{}};function gnt(){return Wet?Get:(Wet=1,Get=!1)}function ynt(){if(Ket)return qet;Ket=1;var t=wtt(),e=Object.defineProperty;return qet=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function mnt(){if(Yet)return vnt.exports;Yet=1;var t=gnt(),e=wtt(),n=ynt(),r="__core-js_shared__",o=vnt.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),vnt.exports}function bnt(){if(Jet)return Xet;Jet=1;var t=mnt();return Xet=function(e,n){return t[e]||(t[e]=n||{})}}function Ent(){if(Qet)return Zet;Qet=1;var t=ket(),e=Object;return Zet=function(n){return e(t(n))}}function wnt(){if(ent)return tnt;ent=1;var t=xet(),e=Ent(),n=t({}.hasOwnProperty);return tnt=Object.hasOwn||function(t,r){return n(e(t),r)}}function Snt(){if(rnt)return nnt;rnt=1;var t=xet(),e=0,n=Math.random(),r=t(1.1.toString);return nnt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function Cnt(){if(int)return ont;int=1;var t=wtt(),e=bnt(),n=wnt(),r=Snt(),o=Met(),i=zet(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return ont=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Dnt(){if(ant)return unt;ant=1;var t=Ftt(),e=Fet(),n=Het(),r=Vet(),o=function(){if(Cet)return wet;Cet=1;var t=Ftt(),e=Bet(),n=Fet(),r=TypeError;return wet=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},wet}(),i=Cnt(),u=TypeError,a=i("toPrimitive");return unt=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function Ont(){if(cnt)return snt;cnt=1;var t=Dnt(),e=Het();return snt=function(n){var r=t(n,"string");return e(r)?r:r+""}}function Ant(){if(fnt)return lnt;fnt=1;var t=wtt(),e=Fet(),n=t.document,r=e(n)&&e(n.createElement);return lnt=function(t){return r?n.createElement(t):{}}}function xnt(){if(pnt)return dnt;pnt=1;var t=Itt(),e=ktt(),n=Ant();return dnt=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Tnt(){if(hnt)return Ptt;hnt=1;var t=Itt(),e=Ftt(),n=Oet(),r=Aet(),o=Iet(),i=Ont(),u=wnt(),a=xnt(),s=Object.getOwnPropertyDescriptor;return Ptt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},Ptt}var Nnt,Pnt,knt,Int,Bnt,Fnt,Rnt,_nt={};function jnt(){if(Pnt)return Nnt;Pnt=1;var t=Itt(),e=ktt();return Nnt=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Lnt(){if(Int)return knt;Int=1;var t=Fet(),e=String,n=TypeError;return knt=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function Mnt(){if(Bnt)return _nt;Bnt=1;var t=Itt(),e=xnt(),n=jnt(),r=Lnt(),o=Ont(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return _nt.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},_nt}function znt(){if(Rnt)return Fnt;Rnt=1;var t=Itt(),e=Mnt(),n=Aet();return Fnt=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var Hnt,$nt,Unt,Vnt,Gnt,Wnt,qnt,Knt,Ynt,Xnt,Jnt,Znt,Qnt,trt,ert,nrt={exports:{}};function rrt(){if($nt)return Hnt;$nt=1;var t=Itt(),e=wnt(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return Hnt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function ort(){if(Vnt)return Unt;Vnt=1;var t=xet(),e=Bet(),n=mnt(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),Unt=n.inspectSource}function irt(){if(Wnt)return Gnt;Wnt=1;var t=wtt(),e=Bet(),n=t.WeakMap;return Gnt=e(n)&&/native code/.test(String(n))}function urt(){if(Knt)return qnt;Knt=1;var t=bnt(),e=Snt(),n=t("keys");return qnt=function(t){return n[t]||(n[t]=e(t))}}function art(){return Xnt?Ynt:(Xnt=1,Ynt={})}function srt(){if(Znt)return Jnt;Znt=1;var t,e,n,r=irt(),o=wtt(),i=Fet(),u=znt(),a=wnt(),s=mnt(),c=urt(),l=art(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return Jnt={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function crt(){if(Qnt)return nrt.exports;Qnt=1;var t=xet(),e=ktt(),n=Bet(),r=wnt(),o=Itt(),i=rrt().CONFIGURABLE,u=ort(),a=srt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=nrt.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),nrt.exports}function lrt(){if(ert)return trt;ert=1;var t=Bet(),e=Mnt(),n=crt(),r=ynt();return trt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var frt,drt,prt,hrt,vrt,grt,yrt,mrt,brt,Ert,wrt,Srt,Crt,Drt,Ort,Art,xrt,Trt={};function Nrt(){if(hrt)return prt;hrt=1;var t=function(){if(drt)return frt;drt=1;var t=Math.ceil,e=Math.floor;return frt=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return prt=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function Prt(){if(grt)return vrt;grt=1;var t=Nrt(),e=Math.max,n=Math.min;return vrt=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}function krt(){if(mrt)return yrt;mrt=1;var t=Nrt(),e=Math.min;return yrt=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function Irt(){if(Ert)return brt;Ert=1;var t=krt();return brt=function(e){return t(e.length)}}function Brt(){if(Srt)return wrt;Srt=1;var t=Iet(),e=Prt(),n=Irt(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return wrt={includes:r(!0),indexOf:r(!1)}}function Frt(){if(Drt)return Crt;Drt=1;var t=xet(),e=wnt(),n=Iet(),r=Brt().indexOf,o=art(),i=t([].push);return Crt=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function Rrt(){return Art?Ort:(Art=1,Ort=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function _rt(){if(xrt)return Trt;xrt=1;var t=Frt(),e=Rrt().concat("length","prototype");return Trt.f=Object.getOwnPropertyNames||function(n){return t(n,e)},Trt}var jrt,Lrt,Mrt,zrt,Hrt,$rt,Urt,Vrt,Grt,Wrt,qrt,Krt,Yrt,Xrt,Jrt,Zrt,Qrt,tot,eot,not,rot,oot,iot,uot,aot,sot,cot,lot,fot={};function dot(){return jrt||(jrt=1,fot.f=Object.getOwnPropertySymbols),fot}function pot(){if(Hrt)return zrt;Hrt=1;var t=wnt(),e=function(){if(Mrt)return Lrt;Mrt=1;var t=Ret(),e=xet(),n=_rt(),r=dot(),o=Lnt(),i=e([].concat);return Lrt=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=Tnt(),r=Mnt();return zrt=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function hot(){if(Urt)return $rt;Urt=1;var t=ktt(),e=Bet(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return $rt=r}function vot(){if(Grt)return Vrt;Grt=1;var t=wtt(),e=Tnt().f,n=znt(),r=lrt(),o=ynt(),i=pot(),u=hot();return Vrt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function got(){if(qrt)return Wrt;qrt=1;var t=Tet();return Wrt=Array.isArray||function(e){return"Array"===t(e)}}function yot(){if(Yrt)return Krt;Yrt=1;var t=TypeError;return Krt=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function mot(){if(Jrt)return Xrt;Jrt=1;var t=Itt(),e=Mnt(),n=Aet();return Xrt=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}function bot(){if(Qrt)return Zrt;Qrt=1;var t={};return t[Cnt()("toStringTag")]="z",Zrt="[object z]"===String(t)}function Eot(){if(eot)return tot;eot=1;var t=bot(),e=Bet(),n=Tet(),r=Cnt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return tot=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function wot(){if(rot)return not;rot=1;var t=xet(),e=ktt(),n=Bet(),r=Eot(),o=Ret(),i=ort(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,not=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function Sot(){if(aot)return uot;aot=1;var t=function(){if(iot)return oot;iot=1;var t=got(),e=wot(),n=Fet(),r=Cnt()("species"),o=Array;return oot=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return uot=function(e,n){return new(t(e))(0===n?0:n)}}function Cot(){if(cot)return sot;cot=1;var t=ktt(),e=Cnt(),n=Let(),r=e("species");return sot=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(lot)return Ett;lot=1;var t=vot(),e=ktt(),n=got(),r=Fet(),o=Ent(),i=Irt(),u=yot(),a=mot(),s=Sot(),c=Cot(),l=Cnt(),f=Let(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Dot,Oot,Aot,xot={};function Tot(){if(Oot)return Dot;Oot=1;var t=ktt();return Dot=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}!function(){if(Aot)return xot;Aot=1;var t=vot(),e=xet(),n=Net(),r=Iet(),o=Tot(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var Not,Pot,kot,Iot,Bot,Fot,Rot,_ot={};function jot(){if(Iot)return kot;Iot=1;var t=function(){if(Pot)return Not;Pot=1;var t=Tet(),e=xet();return Not=function(n){if("Function"===t(n))return e(n)}}(),e=Uet(),n=Btt(),r=t(t.bind);return kot=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},kot}function Lot(){if(Fot)return Bot;Fot=1;var t=jot(),e=xet(),n=Net(),r=Ent(),o=Irt(),i=Sot(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return Bot={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}!function(){if(Rot)return _ot;Rot=1;var t=vot(),e=Lot().map;t({target:"Array",proto:!0,forced:!Cot()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Mot,zot,Hot,$ot={};!function(){if(Hot)return $ot;Hot=1;var t=bot(),e=lrt(),n=function(){if(zot)return Mot;zot=1;var t=bot(),e=Eot();return Mot=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var Uot=function(t,e){return Uot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Uot(t,e)},Vot=function(){return Vot=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Vot.apply(this,arguments)};function Got(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function Wot(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function qot(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function Kot(t,e,n){if(2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var Yot,Xot,Jot,Zot,Qot,tit,eit,nit,rit,oit,iit='<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>',uit={},ait={};function sit(){if(Xot)return Yot;Xot=1;var t=Frt(),e=Rrt();return Yot=Object.keys||function(n){return t(n,e)}}function cit(){if(eit)return tit;eit=1;var t,e=Lnt(),n=function(){if(Jot)return ait;Jot=1;var t=Itt(),e=jnt(),n=Mnt(),r=Lnt(),o=Iet(),i=sit();return ait.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},ait}(),r=Rrt(),o=art(),i=function(){if(Qot)return Zot;Qot=1;var t=Ret();return Zot=t("document","documentElement")}(),u=Ant(),a=urt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,tit=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function lit(){if(rit)return nit;rit=1;var t=Cnt(),e=cit(),n=Mnt().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),nit=function(t){o[r][t]=!0}}!function(){if(oit)return uit;oit=1;var t=vot(),e=Brt().includes,n=ktt(),r=lit();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var fit,dit,pit,hit,vit,git,yit,mit,bit,Eit={};function wit(){if(git)return vit;git=1;var t=Eot(),e=String;return vit=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}!function(){if(bit)return Eit;bit=1;var t=vot(),e=xet(),n=function(){if(hit)return pit;hit=1;var t=function(){if(dit)return fit;dit=1;var t=Fet(),e=Tet(),n=Cnt()("match");return fit=function(r){var o;return t(r)&&(void 0!==(o=r[n])?!!o:"RegExp"===e(r))}}(),e=TypeError;return pit=function(n){if(t(n))throw new e("The method doesn't accept regular expressions");return n}}(),r=ket(),o=wit(),i=function(){if(mit)return yit;mit=1;var t=Cnt()("match");return yit=function(e){var n=/./;try{"/./"[e](n)}catch(r){try{return n[t]=!1,"/./"[e](n)}catch(t){}}return!1}}(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(r(this)),o(n(t)),arguments.length>1?arguments[1]:void 0)}})}();var Sit={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function Cit(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Sit,o=e.map(function(t){var e;return null===(e=null==r?void 0:r.blocks)||void 0===e?void 0:e[t]});return function(t){return function(t){return!yp.Editor.isEditor(t)&&yp.Element.isElement(t)&&"type"in t}(t)&&o.includes(t.type)}}function Dit(t,e){for(var n=qot(e,2),r=n[0],o=n[1],i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];var a=qot(yp.Node.common(t,r,o),2),s=a[0],c=a[1];return!!Cit.apply(void 0,Kot([t],qot(i),!1))(s,c)||!!yp.Editor.above(t,{match:Cit.apply(void 0,Kot([t],qot(i),!1)),at:c})}function Oit(t,e){var n,r;void 0===e&&(e={});var o=[];try{for(var i=Wot(function(t,e){var n,r,o,i,u,a,s,c,l,f,d,p,h,v,g,y,m,b;return void 0===e&&(e={}),Got(this,function(E){switch(E.label){case 0:if(n=qot(yp.Editor.nodes(t,{match:Cit(t,"table"),at:e.at}),1),!(r=n[0]))return[2,[]];o=qot(r,2),i=o[1],E.label=1;case 1:E.trys.push([1,6,7,8]),u=Wot(yp.Editor.nodes(t,{match:Cit(t,"table"),at:i})),a=u.next(),E.label=2;case 2:if(a.done)return[3,5];s=qot(a.value,2),c=s[1],l=[];try{for(m=void 0,f=Wot(yp.Editor.nodes(t,{match:Cit(t,"tr"),at:c})),d=f.next();!d.done;d=f.next())p=qot(d.value,2),h=p[1],l.push(Kot([],qot(yp.Editor.nodes(t,{match:Cit(t,"th","td"),at:h})),!1))}catch(t){m={error:t}}finally{try{d&&!d.done&&(b=f.return)&&b.call(f)}finally{if(m)throw m.error}}return[4,l];case 3:E.sent(),E.label=4;case 4:return a=u.next(),[3,2];case 5:return[3,8];case 6:return v=E.sent(),g={error:v},[3,8];case 7:try{a&&!a.done&&(y=u.return)&&y.call(u)}finally{if(g)throw g.error}return[7];case 8:return[2]}})}(t,{at:e.at})),u=i.next();!u.done;u=i.next()){for(var a=u.value,s=[],c=0,l=0;l<a.length;l+=1)a[l]&&(c=Math.max(c,a[l].length));for(l=0;l<a.length;l+=1)if(s[l]||(s[l]=[]),a[l])for(var f=0;f<a[l].length;f+=1)if(a[l][f]&&a[l][f][0]){for(var d=qot(a[l][f],1)[0],p=d.rowSpan,h=void 0===p?1:p,v=d.colSpan,g=void 0===v?1:v,y=f;s[l]&&s[l][y];)y+=1;for(var m=0;m<g;m+=1)for(var b=0;b<h;b+=1){var E=l+b,w=y+m;s[E]||(s[E]=[]),s[E][w]||(s[E][w]=[a[l][f],{rtl:m+1,ltr:g-m,ttb:b+1,btt:h-b}])}}o.push.apply(o,Kot([],qot(s),!1))}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}var Ait,xit=function(){function t(t,e){this.x=t,this.y=e}return t.valueOf=function(t,e){return new this(t,e)},t.equals=function(t,e){return t.x===e.x&&t.y===e.y},t}(),Tit={};!function(){if(Ait)return Tit;Ait=1;var t=vot(),e=Lot().find,n=lit(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var Nit,Pit,kit,Iit,Bit,Fit,Rit,_it,jit,Lit,Mit,zit,Hit,$it,Uit,Vit,Git,Wit={};function qit(){if(Pit)return Nit;Pit=1;var t=Ftt(),e=Lnt(),n=Vet();return Nit=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function Kit(){return Fit?Bit:(Fit=1,Bit={})}function Yit(){if(_it)return Rit;_it=1;var t=Cnt(),e=Kit(),n=t("iterator"),r=Array.prototype;return Rit=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}function Xit(){if(Lit)return jit;Lit=1;var t=Eot(),e=Vet(),n=Pet(),r=Kit(),o=Cnt()("iterator");return jit=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function Jit(){if(zit)return Mit;zit=1;var t=Ftt(),e=Uet(),n=Lnt(),r=$et(),o=Xit(),i=TypeError;return Mit=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},Mit}function Zit(){if(Vit)return Uit;Vit=1;var t=Cnt()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return Uit=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}!function(){if(Git)return Wit;Git=1;var t=vot(),e=function(){if($it)return Hit;$it=1;var t=jot(),e=Ftt(),n=Ent(),r=function(){if(Iit)return kit;Iit=1;var t=Lnt(),e=qit();return kit=function(n,r,o,i){try{return i?r(t(o)[0],o[1]):r(o)}catch(t){e(n,"throw",t)}}}(),o=Yit(),i=wot(),u=Irt(),a=mot(),s=Jit(),c=Xit(),l=Array;return Hit=function(f){var d=n(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?r(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},Hit}();t({target:"Array",stat:!0,forced:!Zit()(function(t){Array.from(t)})},{from:e})}();var Qit,tut,eut,nut,rut,out,iut,uut,aut,sut,cut,lut={};function fut(){if(tut)return Qit;tut=1;var t=Lnt();return Qit=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function dut(){if(nut)return eut;nut=1;var t=ktt(),e=wtt().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return eut={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}function put(){if(sut)return aut;sut=1;var t,e,n=Ftt(),r=xet(),o=wit(),i=fut(),u=dut(),a=bnt(),s=cit(),c=srt().get,l=function(){if(out)return rut;out=1;var t=ktt(),e=wtt().RegExp;return rut=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(uut)return iut;uut=1;var t=ktt(),e=wtt().RegExp;return iut=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),aut=h}function hut(){if(cut)return lut;cut=1;var t=vot(),e=put();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),lut}hut();var vut,gut,yut,mut,but,Eut,wut,Sut,Cut,Dut,Out,Aut,xut,Tut,Nut,Put,kut,Iut,But,Fut,Rut,_ut,jut,Lut,Mut,zut={};function Hut(){if(gut)return vut;gut=1;var t=xet(),e=Nrt(),n=wit(),r=ket(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return vut={codeAt:a(!1),charAt:a(!0)}}function $ut(){if(Eut)return but;Eut=1;var t=wnt(),e=Bet(),n=Ent(),r=urt(),o=function(){if(mut)return yut;mut=1;var t=ktt();return yut=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return but=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function Uut(){if(Sut)return wut;Sut=1;var t,e,n,r=ktt(),o=Bet(),i=Fet(),u=cit(),a=$ut(),s=lrt(),c=Cnt(),l=gnt(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),wut={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function Vut(){if(Dut)return Cut;Dut=1;var t=Mnt().f,e=wnt(),n=Cnt()("toStringTag");return Cut=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function Gut(){if(Iut)return kut;Iut=1;var t=function(){if(Put)return Nut;Put=1;var t=Fet();return Nut=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return kut=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function Wut(){if(Fut)return But;Fut=1;var t=function(){if(Tut)return xut;Tut=1;var t=xet(),e=Uet();return xut=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=Fet(),n=ket(),r=Gut();return But=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function qut(){if(_ut)return Rut;_ut=1;var t=vot(),e=Ftt(),n=gnt(),r=rrt(),o=Bet(),i=function(){if(Aut)return Out;Aut=1;var t=Uut().IteratorPrototype,e=cit(),n=Aet(),r=Vut(),o=Kit(),i=function(){return this};return Out=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=$ut(),a=Wut(),s=Vut(),c=znt(),l=lrt(),f=Cnt(),d=Kit(),p=Uut(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return Rut=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function Kut(){return Lut?jut:(Lut=1,jut=function(t,e){return{value:t,done:e}})}!function(){if(Mut)return zut;Mut=1;var t=Hut().charAt,e=wit(),n=srt(),r=qut(),o=Kut(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var Yut,Xut,Jut,Zut,Qut,tat,eat,nat={};function rat(){return Xut?Yut:(Xut=1,Yut={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})}function oat(){if(Zut)return Jut;Zut=1;var t=Ant()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Jut=e===Object.prototype?void 0:e}!function(){if(eat)return nat;eat=1;var t=wtt(),e=rat(),n=oat(),r=function(){if(tat)return Qut;tat=1;var t=Lot().forEach,e=Tot()("forEach");return Qut=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Qut}(),o=znt(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var iat,uat,aat,sat,cat,lat,fat,dat={};function pat(){return uat?iat:(uat=1,iat="\t\n\v\f\r \u2028\u2029\ufeff")}function hat(){if(sat)return aat;sat=1;var t=xet(),e=ket(),n=wit(),r=pat(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return aat={start:a(1),end:a(2),trim:a(3)}}!function(){if(fat)return dat;fat=1;var t=vot(),e=hat().trim,n=function(){if(lat)return cat;lat=1;var t=rrt().PROPER,e=ktt(),n=pat();return cat=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var vat,gat,yat,mat,bat={};function Eat(t){return t.length?t[0].tagName.toLowerCase():""}function wat(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i+=1){var u=r[i];if(u){var a=u.split(":");a[0].trim()===e&&(n=a[1].trim())}}return n}function Sat(){if(mat)return yat;mat=1;var t=Iet(),e=lit(),n=Kit(),r=srt(),o=Mnt().f,i=qut(),u=Kut(),a=gnt(),s=Itt(),c="Array Iterator",l=r.set,f=r.getterFor(c);yat=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return yat}gat||(gat=1,function(){if(vat)return bat;vat=1;var t=vot(),e=wtt();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),rh&&Rp.fn&&(Rp.fn.append=rh),Vp&&Rp.fn&&(Rp.fn.on=Vp),hh&&Rp.fn&&(Rp.fn.focus=hh),Mp&&Rp.fn&&(Rp.fn.attr=Mp),Up&&Rp.fn&&(Rp.fn.val=Up),th&&Rp.fn&&(Rp.fn.html=th),$p&&Rp.fn&&(Rp.fn.dataset=$p),_p&&Rp.fn&&(Rp.fn.addClass=_p),jp&&Rp.fn&&(Rp.fn.removeClass=jp),sh&&Rp.fn&&(Rp.fn.children=sh),Zp&&Rp.fn&&(Rp.fn.each=Zp),ah&&Rp.fn&&(Rp.fn.find=ah),Hp&&Rp.fn&&(Rp.fn.data=Hp),Yp&&Rp.fn&&(Rp.fn.hide=Yp),Xp&&Rp.fn&&(Rp.fn.show=Xp),Sat();var Cat,Dat,Oat,Aat,xat={};function Tat(){if(Dat)return Cat;Dat=1;var t=ktt();return Cat=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Nat(){if(Aat)return Oat;Aat=1;var t=lrt();return Oat=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var Pat,kat,Iat,Bat,Fat,Rat,_at,jat,Lat,Mat,zat,Hat,$at,Uat,Vat,Gat,Wat,qat,Kat,Yat,Xat={exports:{}},Jat={};function Zat(){if(kat)return Pat;kat=1;var t=xet();return Pat=t([].slice)}function Qat(){if(jat)return Xat.exports;jat=1;var t=vot(),e=xet(),n=art(),r=Fet(),o=wnt(),i=Mnt().f,u=_rt(),a=function(){if(Iat)return Jat;Iat=1;var t=Tet(),e=Iet(),n=_rt().f,r=Zat(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Jat.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},Jat}(),s=function(){if(_at)return Rat;_at=1;var t=ktt(),e=Fet(),n=Tet(),r=function(){if(Fat)return Bat;Fat=1;var t=ktt();return Bat=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return Rat=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=Snt(),l=Tat(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Xat.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,Xat.exports}function tst(){if(Mat)return Lat;Mat=1;var t=jot(),e=Ftt(),n=Lnt(),r=$et(),o=Yit(),i=Irt(),u=_et(),a=Jit(),s=Xit(),c=qit(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return Lat=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function est(){if(Hat)return zat;Hat=1;var t=_et(),e=TypeError;return zat=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function nst(){if(Uat)return $at;Uat=1;var t=Bet(),e=Fet(),n=Wut();return $at=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}function rst(){if(Gat)return Vat;Gat=1;var t=vot(),e=wtt(),n=xet(),r=hot(),o=lrt(),i=Qat(),u=tst(),a=est(),s=Bet(),c=Pet(),l=Fet(),f=ktt(),d=Zit(),p=Vut(),h=nst();return Vat=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function ost(){if(qat)return Wat;qat=1;var t=xet(),e=Nat(),n=Qat().getWeakData,r=est(),o=Lnt(),i=Pet(),u=Fet(),a=tst(),s=Lot(),c=wnt(),l=srt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Wat={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}},Wat}Yat||(Yat=1,function(){if(Kat)return xat;Kat=1;var t,e=Tat(),n=wtt(),r=xet(),o=Nat(),i=Qat(),u=rst(),a=ost(),s=Fet(),c=srt().enforce,l=ktt(),f=irt(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var ist,ust={};!function(){if(ist)return ust;ist=1;var t=wtt(),e=rat(),n=oat(),r=Sat(),o=znt(),i=Vut(),u=Cnt()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var ast,sst,cst,lst,fst,dst,pst,hst,vst,gst,yst,mst=new WeakMap,bst=new WeakMap,Est=function(){function t(){this.title=dI("tableModule.tableProperty"),this.iconSvg='<svg viewBox="0 0 20 20"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.menu="table",this.borderStyle=[{value:"none",label:dI("tableModule.borderStyle.none")},{value:"solid",label:dI("tableModule.borderStyle.solid")},{value:"dotted",label:dI("tableModule.borderStyle.dotted")},{value:"dashed",label:dI("tableModule.borderStyle.dashed")},{value:"double",label:dI("tableModule.borderStyle.double")},{value:"groove",label:dI("tableModule.borderStyle.groove")},{value:"ridge",label:dI("tableModule.borderStyle.ridge")},{value:"inset",label:dI("tableModule.borderStyle.inset")},{value:"outset",label:dI("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:dI("justify.left"),svg:'<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>'},{value:"center",label:dI("justify.center"),svg:'<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>'},{value:"right",label:dI("justify.right"),svg:'<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>'},{value:"justify",label:dI("justify.justify"),svg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>'}]}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==eP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){},t.prototype.getModalContentNode=function(t){return qot(yp.Editor.nodes(t,{match:Cit(t,"table")}),1)[0]},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,n=this.getModalContentNode(t);if(!n)return null;var r=qot(n,2),o=r[0],i=r[1],u=Rp('<div>\n <label class="babel-container">\n <span>'.concat(dI("tableModule.modal.border"),'</span>\n <span class="babel-container-border">\n <select name="borderStyle">\n ').concat(this.borderStyle.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n <span class="color-group" data-mark="color">\n <span class="color-group-block"></span>\n <input name="borderColor" type="hidden">\n </span>\n <input name="borderWidth" type="number" placeholder="').concat(dI("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(dI("tableModule.modal.bgColor"),'</span>\n <span class="babel-container-background">\n <span class="color-group" data-mark="bgColor">\n <span class="color-group-block"></span>\n <input name="backgroundColor" type="hidden">\n </span>\n </span>\n </div>\n <label class="babel-container">\n <span>').concat(dI("tableModule.modal.align"),'</span>\n <span class="babel-container-align">\n <select name="textAlign">\n ').concat(this.textAlignOptions.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n </span>\n </label>\n <div class="button-container">\n <button type="button">').concat(dI("tableModule.modal.ok"),"</button>\n </div>\n </div>"));u.find("[name]").each(function(t){Rp(t).val(o[Rp(t).attr("name")])});var a=function(t,e){e?Rp(".color-group-block",t).css("background-color",e).empty():Rp(".color-group-block",t).css("background-color","").html(iit)};return u.find(".color-group").each(function(n){var r=Rp('[type="hidden"]',n).val()||"";a(n,r);var o=Rp(n);o.on("click",function(){u.find(".color-group .w-e-drop-panel").hide();var i=o.data("panel");i?i.show():(i=e.getPanelContentElem(t,{mark:o.data("mark"),selectedColor:r,callback:function(t){Rp('[type="hidden"]',n).val(t||""),a(n,t),i.hide()}}),o.append(i),o.data("panel",i))})}),u.find("button").on("click",function(){var n=Array.from(u.find("[name]")).reduce(function(t,e){return t[Rp(e).attr("name")]=Rp(e).val(),t},{}),r=mst.get(t);"cell"===e.menu&&(null==r?void 0:r.length)?r.forEach(function(e){e.forEach(function(e){yp.Transforms.setNodes(t,n,{at:e[0][1]})})}):yp.Transforms.setNodes(t,n,{at:i}),setTimeout(function(){t.focus()})}),u[0]},t.prototype.getPanelContentElem=function(t,e){var n=e.mark,r=e.selectedColor,o=e.callback,i=Rp('<ul class="w-e-panel-content-color"></ul>');i.on("click","li",function(t){var e=t.target;if(e){t.preventDefault(),t.stopPropagation();var n=Rp(e).attr("data-value");o(n)}});var u=t.getMenuConfig(n).colors;(void 0===u?[]:u).forEach(function(t){var e=Rp('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var n=Rp('<li data-value="'.concat(t,'"></li>'));r===t&&n.addClass("active"),n.append(e),i.append(n)});var a="";"color"===n&&(a=dI("tableModule.color.default")),"bgColor"===n&&(a=dI("tableModule.color.clear"));var s=Rp('\n <li data-value="" class="clear">\n '.concat(iit,"\n ").concat(a,"\n </li>\n "));i.prepend(s);var c=Rp('<div class="w-e-drop-panel"></div>');return c.append(i),c},t}(),wst=function(t){function e(){var e=t.apply(this,Kot([],qot(arguments),!1))||this;return e.title=dI("tableModule.cellProperty"),e.iconSvg='<svg viewBox="0 0 20 20"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',e.tag="button",e.showModal=!0,e.modalWidth=300,e.menu="cell",e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Uot(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(e,t),e.prototype.getModalContentNode=function(t){return qot(yp.Editor.nodes(t,{match:Cit(t,"td")}),1)[0]},e}(Est),Sst={};function Cst(){if(sst)return ast;sst=1;var t=$et(),e=TypeError;return ast=function(n,r){if(!delete n[r])throw new e("Cannot delete property "+t(r)+" of "+t(n))}}!function(){if(yst)return Sst;yst=1;var t=vot(),e=xet(),n=Uet(),r=Ent(),o=Irt(),i=Cst(),u=wit(),a=ktt(),s=function(){if(lst)return cst;lst=1;var t=Zat(),e=Math.floor,n=function(r,o){var i=r.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=r[s];a&&o(r[a-1],u)>0;)r[a]=r[--a];a!==s++&&(r[a]=u)}else for(var c=e(i/2),l=n(t(r,0,c),o),f=n(t(r,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)r[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return r};return cst=n}(),c=Tot(),l=function(){if(dst)return fst;dst=1;var t=jet().match(/firefox\/(\d+)/i);return fst=!!t&&+t[1]}(),f=function(){if(hst)return pst;hst=1;var t=jet();return pst=/MSIE|Trident/.test(t)}(),d=Let(),p=function(){if(gst)return vst;gst=1;var t=jet().match(/AppleWebKit\/(\d+)\./);return vst=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,n,r,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)h.push({k:e+r,v:n})}for(h.sort(function(t,e){return e.v-t.v}),r=0;r<h.length;r++)e=h[r].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&n(t);var e=r(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:u(e)>u(n)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var Dst,Ost,Ast,xst={};!function(){if(Ast)return xst;Ast=1;var t=vot(),e=Ent(),n=Prt(),r=Nrt(),o=Irt(),i=function(){if(Ost)return Dst;Ost=1;var t=Itt(),e=got(),n=TypeError,r=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return Dst=o?function(t,o){if(e(t)&&!r(t,"length").writable)throw new n("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=yot(),a=Sot(),s=mot(),c=Cst(),l=Cot()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=n(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(r(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var Tst,Nst,Pst,kst,Ist,Bst,Fst,Rst,_st,jst,Lst,Mst,zst,Hst={};function $st(){if(Fst)return Bst;Fst=1;var t=crt(),e=Mnt();return Bst=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}function Ust(){if(Lst)return jst;Lst=1;var t=cit(),e=$st(),n=Nat(),r=jot(),o=est(),i=Pet(),u=tst(),a=qut(),s=Kut(),c=function(){if(_st)return Rst;_st=1;var t=Ret(),e=$st(),n=Cnt(),r=Itt(),o=n("species");return Rst=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),l=Itt(),f=Qat().fastKey,d=srt(),p=d.set,h=d.getterFor;return jst={getConstructor:function(a,s,c,d){var v=a(function(e,n){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(n)||u(n,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,n){var r,o,i=y(t),u=b(t,e);return u?u.value=n:(i.last=u={index:o=f(e,!0),key:e,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var n,r=y(t),o=f(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===e)return n};return n(g,{clear:function(){for(var e=y(this),n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=null),n=n.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,n=y(e),r=b(e,t);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),l?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=y(this),o=r(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),n(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,n){var r=e+" Iterator",o=h(e),i=h(r);a(t,e,function(t,e){p(this,{type:r,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?s("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=null,s(void 0,!0))},n?"entries":"values",!n,!0),c(e)}},jst}!function(){if(Ist)return Hst;Ist=1;var t=vot(),e=gnt(),n=Itt(),r=wtt(),o=function(){if(Nst)return Tst;Nst=1;var t=wtt();return Tst=t}(),i=xet(),u=hot(),a=wnt(),s=nst(),c=_et(),l=Het(),f=Dnt(),d=ktt(),p=_rt().f,h=Tnt().f,v=Mnt().f,g=function(){if(kst)return Pst;kst=1;var t=xet();return Pst=t(1.1.valueOf)}(),y=hat().trim,m="Number",b=r[m],E=o[m],w=b.prototype,S=r.TypeError,C=i("".slice),D=i("".charCodeAt),O=u(m,!b(" 0o1")||!b("0b1")||b("+0x1")),A=function(t){var e,n=arguments.length<1?0:b(function(t){var e=f(t,"number");return"bigint"==typeof e?e:function(t){var e,n,r,o,i,u,a,s,c=f(t,"number");if(l(c))throw new S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=y(c),43===(e=D(c,0))||45===e){if(88===(n=D(c,2))||120===n)return NaN}else if(48===e){switch(D(c,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(u=(i=C(c,2)).length,a=0;a<u;a++)if((s=D(i,a))<48||s>o)return NaN;return parseInt(i,r)}return+c}(e)}(t));return c(w,e=this)&&d(function(){g(e)})?s(Object(n),this,A):n};A.prototype=w,O&&!e&&(w.constructor=A),t({global:!0,constructor:!0,wrap:!0,forced:O},{Number:A});var x=function(t,e){for(var r,o=n?p(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;o.length>i;i++)a(e,r=o[i])&&!a(t,r)&&v(t,r,h(e,r))};e&&E&&x(o[m],E),(O||e)&&x(o[m],b)}(),zst||(zst=1,Mst||(Mst=1,rst()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Ust())));var Vst=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==eP.getSelectedNodeByType(t,"table-cell")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")},universal:!0}),1),r=qot(n[0],2),o=r[0],i=r[1],u=eP.getParentNode(t,o),a=(null==u?void 0:u.children.length)||0;if(!u||a<=1)yp.Transforms.removeNodes(t,{mode:"highest"});else if(null!=eP.getParentNode(t,u)){var s=Oit(t),c=0;t:for(var l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=qot(s[l][f],1),p=qot(d[0],2)[1];if(yp.Path.equals(i,p)){c=f;break t}}yp.Editor.withoutNormalizing(t,function(){for(var e,n,r=new Set,o=new Set,i=0;i<s.length;i+=1)if(s[i]&&s[i][c]){var u=qot(s[i][c],2),a=qot(u[0],2)[1],l=u[1],f=l.rtl,d=l.ltr,p=l.ttb,h=l.btt,v=a.join(",");if(f>1||d>1||p>1||h>1){var g=i-(p-1),y=c-(f-1);if(g<0||g>=s.length||!s[g]||!s[g][y])continue;var m=qot(s[g][y],1),b=qot(m[0],2),E=b[0],w=b[1],S=w.join(",");if(!o.has(S)){o.add(S);var C=E.rowSpan,D=void 0===C?1:C,O=E.colSpan,A=void 0===O?1:O,x=Math.max(A-1,1);yp.Transforms.setNodes(t,{rowSpan:D,colSpan:x},{at:w})}}else r.add(v)}var T=Array.from(r);T.sort(function(t,e){var n=t.split(",").map(Number),r=e.split(",").map(Number);return n[n.length-2]!==r[r.length-2]?r[r.length-2]-n[n.length-2]:r[r.length-1]-n[n.length-1]});try{for(var N=Wot(T),P=N.next();!P.done;P=N.next()){var k=P.value.split(",").map(Number);try{yp.Editor.hasPath(t,k)&&yp.Transforms.removeNodes(t,{at:k})}catch(t){console.warn("删除单元格失败:",k,t)}}}catch(t){e={error:t}}finally{try{P&&!P.done&&(n=N.return)&&n.call(N)}finally{if(e)throw e.error}}var I=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table")},universal:!0}),1)[0];if(I){var B=qot(I,2),F=B[0],R=B[1],_=F.columnWidths,j=Kot([],qot(void 0===_?[]:_),!1);j.splice(c,1),yp.Transforms.setNodes(t,{columnWidths:j},{at:R})}})}}},t}(),Gst=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==eP.getSelectedNodeByType(t,"table-row")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-row")},universal:!0}),1),r=qot(n[0],2),o=r[0],i=r[1],u=eP.getParentNode(t,o);if(((null==u?void 0:u.children.length)||0)<=1)yp.Transforms.removeNodes(t,{mode:"highest"});else{var a=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")},universal:!0}),1),s=qot(a[0],2)[1],c=Oit(t),l=0;t:for(var f=0;f<c.length;f+=1)for(var d=0;d<c[f].length;d+=1){var p=qot(c[f][d],1),h=qot(p[0],2)[1];if(yp.Path.equals(s,h)){l=f;break t}}yp.Editor.withoutNormalizing(t,function(){for(var e,n,r=[],o=0;o<c[l].length;o+=1){var u=qot(c[l][o],2),a=qot(u[0],1)[0].hidden,s=u[1],f=s.ttb,d=s.btt,p=s.rtl;if(f>1||d>1){var h=l-(f-1);if(h<0||h>=c.length||!c[h]||!c[h][o])continue;var v=qot(c[h][o],1),g=qot(v[0],2),y=g[0],m=g[1],b=y,E=b.rowSpan,w=void 0===E?1:E,S=b.colSpan,C=void 0===S?1:S;if(a)yp.Transforms.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else if(1===f&&1===p)if(l+1<c.length&&w>1){var D={type:"table-cell",rowSpan:w-1,colSpan:C,hidden:!1,children:b.children.map(function(t){return Vot({},t)})};b.isHeader&&(D.isHeader=b.isHeader),b.width&&(D.width=b.width),b.backgroundColor&&(D.backgroundColor=b.backgroundColor),b.borderWidth&&(D.borderWidth=b.borderWidth),b.borderStyle&&(D.borderStyle=b.borderStyle),b.borderColor&&(D.borderColor=b.borderColor),b.textAlign&&(D.textAlign=b.textAlign),r.push({cell:D,columnIndex:o})}else yp.Transforms.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else yp.Transforms.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m})}}if(yp.Transforms.removeNodes(t,{at:i}),r.length>0){var O=i;try{r.sort(function(t,e){return t.columnIndex-e.columnIndex});try{for(var A=Wot(r),x=A.next();!x.done;x=A.next()){var T=x.value,N=T.cell,P=T.columnIndex;try{var k=Kot(Kot([],qot(O),!1),[P],!1);yp.Transforms.insertNodes(t,N,{at:k})}catch(e){try{var I=qot(yp.Editor.node(t,O),1)[0].children.length,B=Kot(Kot([],qot(O),!1),[I],!1);yp.Transforms.insertNodes(t,N,{at:B})}catch(t){console.warn("插入新单元格失败:",t)}}}}catch(t){e={error:t}}finally{try{x&&!x.done&&(n=A.return)&&n.call(A)}finally{if(e)throw e.error}}}catch(t){console.warn("插入新单元格失败:",t)}}})}}},t}(),Wst=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==eP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){this.isDisabled(t)||yp.Transforms.removeNodes(t,{mode:"highest"})},t}(),qst=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){var e=eP.getSelectedNodeByType(t,"table");return!!e&&("100%"===e.width||"auto"===e.width)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==eP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n={width:e?"auto":"100%"};yp.Transforms.setNodes(t,n,{mode:"highest"})}},t}();function Kst(t){var e=t.children||[];return 0===e.length?[]:(e[0]||{}).children||[]}function Yst(t){return Kst(t).every(function(t){return!!t.isHeader})}var Xst,Jst,Zst,Qst=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;if(null==e)return!0;if(!yp.Range.isCollapsed(e))return!0;var n=eP.getSelectedNodeByType(t,"table");if(null==n)return!0;try{var r=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")},universal:!0}),1)[0];if(!r)return!0;for(var o=qot(r,2)[1],i=Oit(t),u=-1,a=0;a<i.length;a+=1){for(var s=0;s<i[a].length;s+=1){var c=qot(i[a][s],1),l=qot(c[0],2)[1];if(yp.Path.equals(o,l)){u=s;break}}if(-1!==u)break}if(-1===u)return!0;var f=n.columnWidths,d=(void 0===f?[]:f)[u];if(d&&d<20)return!0}catch(t){return!0}return!1},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")},universal:!0}),1),r=qot(n[0],2),o=r[0],i=r[1],u=eP.getParentNode(t,o);if(null!=u){var a=eP.getParentNode(t,u);if(null!=a){for(var s=Oit(t),c=0,l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=qot(s[l][f],1),p=qot(d[0],2)[1];if(yp.Path.equals(i,p)){c=f;break}}yp.Editor.withoutNormalizing(t,function(){for(var e=new Set,n=new Set,r=0;r<s.length;r+=1)if(s[r]&&s[r][c]){var o=qot(s[r][c],2);qot(o[0],1);var i=o[1],u=i.rtl,l=i.ltr,f=i.ttb,d=i.btt;if(u>1||l>1||f>1||d>1){var p=r-(f-1),h=c-(u-1);if(p<0||p>=s.length||!s[p]||!s[p][h])continue;var v=qot(s[p][h],1),g=qot(v[0],2),y=g[0],m=g[1],b=m.join(",");if(e.has(b))n.add(r);else{e.add(b);var E=y.rowSpan,w=void 0===E?1:E,S=y.colSpan,C=(void 0===S?1:S)+1;y.hidden||yp.Transforms.setNodes(t,{colSpan:C},{at:m});for(var D=0;D<w;D+=1)n.add(p+D)}}}for(r=0;r<s.length;r+=1)if(!n.has(r)&&s[r]&&s[r][c]){var O={type:"table-cell",children:[{text:""}]};0===r&&Yst(a)&&(O.isHeader=!0);var A=qot(s[r][c],1),x=qot(A[0],2)[1];yp.Transforms.insertNodes(t,O,{at:x})}var T=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table")},universal:!0}),1)[0];if(T){var N=qot(T,2),P=N[0],k=N[1],I=P.columnWidths,B=void 0===I?[]:I,F=Kot([],qot(B),!1),R=t.getMenuConfig("insertTable").minWidth,_=void 0===R?60:R,j=B[c]||parseInt(_,10)||60,L=Math.floor(j/2),M=j-L;F.splice(c,0,L),F[c+1]=M,yp.Transforms.setNodes(t,{columnWidths:F},{at:k})}})}}}},t}(),tct=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==eP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){var n;if(!this.isDisabled(t)){var r=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")},universal:!0}),1),o=qot(r[0],2)[1],i=Oit(t),u=0;t:for(var a=0;a<i.length;a+=1)for(var s=0;s<i[a].length;s+=1){var c=qot(i[a][s],1),l=qot(c[0],2)[1];if(yp.Path.equals(o,l)){u=a;break t}}var f=(null===(n=i[u])||void 0===n?void 0:n.length)||0;0!==f&&yp.Editor.withoutNormalizing(t,function(){for(var e=u+1,n=e>=0&&e<i.length,r=[],a=0;n&&a<i[u].length;a+=1){var s=qot(i[u][a],2)[1],c=s.ttb,l=s.btt;if(c>1||l>1){var d=u-(c-1);if(d<0||d>=i.length||!i[d]||!i[d][a])continue;var p=qot(i[d][a],1),h=qot(p[0],2),v=h[0],g=h[1],y=v.rowSpan||1;r.push(a),v.hidden||yp.Transforms.setNodes(t,{rowSpan:y+1},{at:g})}}for(var m={type:"table-row",children:[]},b=0;b<f;b+=1)r.includes(b)||m.children.push({type:"table-cell",children:[{text:""}]});var E=yp.Path.parent(o),w=yp.Path.next(E);yp.Transforms.insertNodes(t,m,{at:w})})}},t}(),ect={};!function(){if(Zst)return ect;Zst=1;var t=vot(),e=function(){if(Jst)return Xst;Jst=1;var t=Ent(),e=Prt(),n=Irt();return Xst=function(r){for(var o=t(this),i=n(o),u=arguments.length,a=e(u>1?arguments[1]:void 0,i),s=u>2?arguments[2]:void 0,c=void 0===s?i:e(s,i);c>a;)o[a++]=r;return o},Xst}(),n=lit();t({target:"Array",proto:!0},{fill:e}),n("fill")}();var nct,rct,oct,ict,uct,act={};function sct(){if(ict)return oct;ict=1;var t=Ftt(),e=wnt(),n=_et(),r=function(){if(rct)return nct;rct=1;var t=wtt(),e=ktt(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return nct={correct:r}}(),o=fut(),i=RegExp.prototype;return oct=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(uct)return act;uct=1;var t=rrt().PROPER,e=lrt(),n=Lnt(),r=wit(),o=ktt(),i=sct(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var cct,lct,fct=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!eP.getSelectedElems(t).some(function(e){var n=eP.getNodeType(e);return"pre"===n||"table"===n||"list-item"===n||!!t.isVoid(e)})},t.prototype.getPanelContentElem=function(t){var e=this;if(this.$content)return this.$content[0];for(var n=Rp('<div class="w-e-panel-content-table"></div>'),r=Rp("<span>0 × 0</span>"),o=Rp("<table></table>"),i=0;i<10;i+=1){for(var u=Rp("<tr></tr>"),a=0;a<10;a+=1){var s=Rp("<td></td>");s.attr("data-x",a.toString()),s.attr("data-y",i.toString()),u.append(s),s.on("mouseenter",function(t){var e=t.target;if(null!=e){var n=Rp(e).dataset(),i=n.x,u=n.y;r[0].innerHTML="".concat(i+1," × ").concat(u+1),o.children().each(function(t){Rp(t).children().each(function(t){var e=Rp(t),n=e.dataset(),r=n.x,o=n.y;r<=i&&o<=u?e.addClass("active"):e.removeClass("active")})})}}),s.on("click",function(n){n.preventDefault();var r=n.target;if(null!=r){var o=Rp(r).dataset(),i=o.x,u=o.y;e.insertTable(t,u+1,i+1)}})}o.append(u)}return n.append(o),n.append(r),this.$content=n,n[0]},t.prototype.insertTable=function(t,e,n){var r=parseInt(e,10),o=parseInt(n,10);if(r&&o&&!(r<=0||o<=0)){eP.isSelectedEmptyParagraph(t)&&yp.Transforms.removeNodes(t,{mode:"highest"}),0===t.children.length&&yp.Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});var i=function(t,e,n){for(var r,o=[],i=t.getMenuConfig("insertTable"),u=i.minWidth,a=void 0===u?60:u,s=i.tableFullWidth,c=i.tableHeader,l=Array(n).fill(parseInt(a,10)||60),f=0;f<e;f+=1){for(var d=[],p=0;p<n;p+=1){var h={type:"table-cell",children:[{text:""}]};0===f&&(h.isHeader=null===(r=null==c?void 0:c.selected)||void 0===r||r),d.push(h)}o.push({type:"table-row",children:d})}return{type:"table",width:(null==s?void 0:s.selected)?"100%":"auto",children:o,columnWidths:l}}(t,r,o);yp.Transforms.insertNodes(t,i,{mode:"highest"})}},t}();lct||(lct=1,cct||(cct=1,rst()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Ust())));var dct,pct={isInTable:function(t,e){return void 0===e&&(e={}),!!qot(yp.Editor.nodes(t,{match:Cit(t,"table"),at:e.at}),1)[0]},selection:function(t){var e,n,r,o,i,u,a,s;return Got(this,function(c){switch(c.label){case 0:e=mst.get(t),n=0,c.label=1;case 1:if(!(e&&n<e.length))return[3,4];for(r=[],o=0;o<e[n].length;o+=1)i=qot(e[n][o],2),u=i[0],a=i[1],s=a.ltr,1===a.ttb&&r.push(u),o+=s-1;return[4,r];case 2:c.sent(),c.label=3;case 3:return n+=1,[3,1];case 4:return[2]}})},unselect:function(t){bst.delete(t),mst.delete(t)},isSelected:function(t,e){var n=bst.get(t);return!!n&&n.has(e)}},hct=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return!this.canMerge(t)},t.prototype.exec=function(t,e){this.isDisabled(t)||(this.merge(t),pct.unselect(t))},t.prototype.canMerge=function(t){var e=mst.get(t);if(!e||!e.length)return!1;var n=qot(e[e.length-1][e[e.length-1].length-1],1),r=qot(n[0],2)[1],o=qot(e[0][0],1);return!!Dit(t,[qot(o[0],2)[1],r],"table")},t.prototype.merge=function(t){if(this.canMerge(t)){var e=mst.get(t);if(e&&e.length){var n=qot(e[0][0],1),r=qot(n[0],2)[1],o=qot(yp.Node.children(t,r,{reverse:!0}),1),i=qot(o[0],2)[1];yp.Editor.withoutNormalizing(t,function(){for(var n,o,u,a,s,c,l=new Map,f=[],d=1/0,p=-1/0,h=1/0,v=-1/0,g=0;g<e.length;g+=1)for(var y=0;y<e[g].length;y+=1){var m=qot(e[g][y],2),b=qot(m[0],2),E=b[0],w=b[1],S=m[1].ttb,C=w.join(",");if(1===S&&!l.has(C)){l.set(C,{path:w,x:g,y:y,element:E});var D=E.rowSpan,O=void 0===D?1:D,A=E.colSpan,x=g,T=g+O-1,N=y,P=y+(void 0===A?1:A)-1;d=Math.min(d,x),p=Math.max(p,T),h=Math.min(h,N),v=Math.max(v,P)}}var k=p-d+1,I=v-h+1;try{for(var B=Wot(l),F=B.next();!F.done;F=B.next())w=qot(F.value,2)[1].path,yp.Path.equals(r,w)||f.push(w)}catch(t){n={error:t}}finally{try{F&&!F.done&&(o=B.return)&&o.call(B)}finally{if(n)throw n.error}}f.sort(function(t,e){for(var n=0;n<Math.min(t.length,e.length);n+=1)if(t[n]!==e[n])return e[n]-t[n];return e.length-t.length});try{for(var R=Wot(f),_=R.next();!_.done;_=R.next()){w=_.value;try{if(!yp.Editor.hasPath(t,w))continue;try{for(var j=(s=void 0,Wot(yp.Node.children(t,w,{reverse:!0}))),L=j.next();!L.done;L=j.next()){var M=qot(L.value,2)[1];yp.Transforms.moveNodes(t,{to:yp.Path.next(i),at:M})}}catch(t){s={error:t}}finally{try{L&&!L.done&&(c=j.return)&&c.call(j)}finally{if(s)throw s.error}}yp.Transforms.removeNodes(t,{at:w})}catch(t){}}}catch(t){u={error:t}}finally{try{_&&!_.done&&(a=R.return)&&a.call(R)}finally{if(u)throw u.error}}yp.Transforms.setNodes(t,{rowSpan:k,colSpan:I},{at:r})})}}},t}(),vct={};!function(){if(dct)return vct;dct=1;var t=vot(),e=got(),n=wot(),r=Fet(),o=Prt(),i=Irt(),u=Iet(),a=mot(),s=Cnt(),c=Cot(),l=Zat(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var gct,yct,mct,bct,Ect,wct,Sct,Cct,Dct,Oct,Act,xct={};function Tct(){if(yct)return gct;yct=1,hut();var t=Ftt(),e=lrt(),n=put(),r=ktt(),o=Cnt(),i=znt(),u=o("species"),a=RegExp.prototype;return gct=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function Nct(){if(wct)return Ect;wct=1;var t=Lnt(),e=function(){if(bct)return mct;bct=1;var t=wot(),e=$et(),n=TypeError;return mct=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=Pet(),r=Cnt()("species");return Ect=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function Pct(){if(Cct)return Sct;Cct=1;var t=Hut().charAt;return Sct=function(e,n,r){return n+(r?t(e,n).length:1)}}function kct(){if(Oct)return Dct;Oct=1;var t=Ftt(),e=Lnt(),n=Bet(),r=Tet(),o=put(),i=TypeError;return Dct=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(Act)return xct;Act=1;var t=Ftt(),e=xet(),n=Tct(),r=Lnt(),o=Fet(),i=ket(),u=Nct(),a=Pct(),s=krt(),c=wit(),l=Vet(),f=kct(),d=dut(),p=ktt(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;n("split",function(e,n,d){var p="0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t(n,this,e,r)}:n;return[function(n,r){var u=i(this),a=o(n)?l(n,e):void 0;return a?t(a,n,u,r):t(p,c(u),n,r)},function(t,e){var o=r(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==n);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var Ict,Bct=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")}}),1)[0];if(!e)return!0;var n=qot(e,1)[0],r=n.rowSpan,o=void 0===r?1:r,i=n.colSpan;return!(o>1||(void 0===i?1:i)>1)},t.prototype.exec=function(t,e){this.isDisabled(t)||this.split(t)},t.prototype.split=function(t,e){void 0===e&&(e={});var n=qot(yp.Editor.nodes(t,{match:Cit(t,"table","th","td"),at:e.at}),2),r=n[0],o=n[1];if(r&&o){var i=Yst(qot(r,1)[0]),u=qot(o,2),a=u[0],s=u[1],c=a.rowSpan,l=void 0===c?1:c,f=a.colSpan,d=void 0===f?1:f;1===l&&1===d||yp.Editor.withoutNormalizing(t,function(){yp.Transforms.setNodes(t,{rowSpan:1,colSpan:1},{at:s});for(var e=1;e<d;e+=1){var n={type:"table-cell",children:[{text:""}]};0===s[s.length-2]&&i&&(n.isHeader=!0);var r=s.slice(0,-1),o=s[s.length-1]+e,u=Kot(Kot([],qot(r),!1),[o],!1);try{yp.Transforms.insertNodes(t,n,{at:u})}catch(e){try{var a=qot(yp.Editor.node(t,r),1)[0].children.length,c=Kot(Kot([],qot(r),!1),[a],!1);yp.Transforms.insertNodes(t,n,{at:c})}catch(t){console.warn("插入同行单元格失败: ".concat(t instanceof Error?t.message:String(t)))}}}for(var f=1;f<l;f+=1){var p=s[s.length-2]+f,h=Kot(Kot([],qot(s.slice(0,-2)),!1),[p],!1);try{var v=qot(yp.Editor.node(t,h),1)[0];if(!v){console.warn("目标行 ".concat(p," 不存在"));continue}for(e=0;e<d;e+=1){n={type:"table-cell",children:[{text:""}]},o=s[s.length-1]+e,u=Kot(Kot([],qot(h),!1),[o],!1);try{var g=v.children.length;if(o>=g){var y=Kot(Kot([],qot(h),!1),[g],!1);yp.Transforms.insertNodes(t,n,{at:y})}else yp.Transforms.insertNodes(t,n,{at:u})}catch(e){try{var m=v.children.length;c=Kot(Kot([],qot(h),!1),[m],!1),yp.Transforms.insertNodes(t,n,{at:c})}catch(t){console.warn("插入单元格到第".concat(f,"行失败: ").concat(t instanceof Error?t.message:String(t)))}}}}catch(t){console.warn("处理第".concat(f,"行时出错: ").concat(t instanceof Error?t.message:String(t)))}}})}},t}(),Fct=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){var e=eP.getSelectedNodeByType(t,"table");return null!=e&&Yst(e)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||null==eP.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=!e,r=eP.getSelectedNodeByType(t,"table");null!=r&&Kst(r).forEach(function(e){return yp.Transforms.setNodes(t,{isHeader:n},{at:eP.findPath(t,e)})})}},t}(),Rct={key:"insertTable",factory:function(){return new fct}},_ct={key:"deleteTable",factory:function(){return new Wst}},jct={key:"insertTableRow",factory:function(){return new tct}},Lct={key:"deleteTableRow",factory:function(){return new Gst}},Mct={key:"insertTableCol",factory:function(){return new Qst}},zct={key:"deleteTableCol",factory:function(){return new Vst}},Hct={key:"tableHeader",factory:function(){return new Fct}},$ct={key:"tableFullWidth",factory:function(){return new qst}},Uct={key:"mergeTableCell",factory:function(){return new hct}},Vct={key:"splitTableCell",factory:function(){return new Bct}},Gct={key:"setTableProperty",factory:function(){return new Est}},Wct={key:"setTableCellProperty",factory:function(){return new wst}},qct={};!function(){if(Ict)return qct;Ict=1;var t=vot(),e=Lot().filter;t({target:"Array",proto:!0,forced:!Cot()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Kct,Yct,Xct,Jct,Zct,Qct={};!function(){if(Zct)return Qct;Zct=1;var t=function(){if(Yct)return Kct;Yct=1;var t=Btt(),e=Function.prototype,n=e.apply,r=e.call;return Kct="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),Kct}(),e=Ftt(),n=xet(),r=Tct(),o=ktt(),i=Lnt(),u=Bet(),a=Fet(),s=Nrt(),c=krt(),l=wit(),f=ket(),d=Pct(),p=Vet(),h=function(){if(Jct)return Xct;Jct=1;var t=xet(),e=Ent(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return Xct=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=sct(),g=kct(),y=Cnt()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var tlt,elt,nlt,rlt,olt,ilt,ult,alt,slt={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=Rp(t);0===(e=e.filter(function(t){return"paragraph"===eP.getNodeType(t)||!!yp.Text.isText(t)||!!n.isInline(t)})).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1",10),i=parseInt(r.attr("rowSpan")||"1",10),u="none"===wat(r,"display"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===Eat(r),colSpan:o,rowSpan:i,width:a,children:e,hidden:u}}},clt={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,n){for(var r=[],o=0;o<e.length;o+=1){var i=e[o];if("table-cell"===eP.getNodeType(i)){var u=i;if(u.hidden)continue;r.push(u)}}return{type:"table-row",children:r}}},llt={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r,o,i=Rp(t),u="auto";"100%"===wat(i,"width")&&(u="100%"),"100%"===i.attr("width")&&(u="100%");var a={type:"table",width:u,height:parseInt(wat(i,"height")||"0",10),children:e.filter(function(t){return"table-row"===eP.getNodeType(t)})},s=(null===(r=i.find("tr")[0])||void 0===r?void 0:r.children)||[],c=(null===(o=i.find("colgroup")[0])||void 0===o?void 0:o.children)||null,l=e[e.length-1].children.length;if(c&&c.length===l)a.columnWidths=Array.from(c).map(function(t){return parseInt(t.getAttribute("width"),10)});else if(s.length>0){var f=[];Array.from(s).forEach(function(t){var e=parseInt(Rp(t).attr("colSpan")||"1",10),n=parseInt(wat(Rp(t),"width")||"90",10);f.push(n);for(var r=1;r<e;r+=1)f.push(90)}),a.columnWidths=f}return a}},flt=null===(tlt=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===tlt?void 0:tlt.getPropertyValue("--w-e-textarea-border-color"),dlt={};function plt(t){var e=t.selection;if(null==e)return!1;var n=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")}}),1)[0];if(n){var r=qot(n,2)[1],o=yp.Editor.start(t,r);if(yp.Point.equals(e.anchor,o))return!0}return!1}function hlt(t,e){var n=e.offset;if(0===n)return!1;var r=yp.Editor.node(t,e);if(!yp.Text.isText(r[0]))return!1;var o=yp.Node.string(r[0]);return!(n>=o.length)&&"\n"===o[n-1]&&"\r"===o[n]}function vlt(t,e,n){var r=t.selection;if(null==r||"line"===e)return!1;var o=qot(yp.Editor.nodes(t,{match:function(t){return eP.checkNodeType(t,"table-cell")}}),1)[0],i=r.anchor;if("backward"===n&&0===r.anchor.offset&&(i=yp.Editor.before(t,r)),"forward"===n&&yp.Editor.isEnd(t,r.anchor,r.anchor.path)&&(i=yp.Editor.after(t,r)),null==i)return!1;var u=yp.Editor.above(t,{at:i,match:function(t){return eP.checkNodeType(t,"table-cell")}});if(null==u||null==o||!yp.Path.equals(u[1],o[1]))return!1;var a=yp.Editor.node(t,i);if(!yp.Text.isText(a[0])||a[0].text.length<2)return!1;var s="backward"===n?[i.offset-2,i.offset]:[i.offset,i.offset+2],c=yp.Node.string(a[0]);return"\n\r"===c.slice.apply(c,Kot([],qot(s),!1))?(yp.Transforms.insertText(t,c.slice(0,s[0])+c.slice(s[1]),{at:{anchor:yp.Editor.start(t,i.path),focus:yp.Editor.end(t,i.path)}}),!0):!!hlt(t,i)&&(yp.Transforms.insertText(t,c.slice(0,r.anchor.offset-1)+c.slice(r.anchor.offset+1),{at:{anchor:yp.Editor.start(t,i.path),focus:yp.Editor.end(t,i.path)}}),!0)}function glt(t,e){return!!Kot([],qot(yp.Editor.nodes(t,{at:e,match:function(t){return"table"===eP.getNodeType(t)}})),!1).find(function(){return!0})}!function(){if(ilt)return dlt;ilt=1;var t=vot(),e=function(){if(nlt)return elt;nlt=1;var t=xet(),e=ket(),n=wit(),r=/"/g,o=t("".replace);return elt=function(t,i,u,a){var s=n(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(n(a),r,""")+'"'),c+">"+s+"</"+i+">"}}(),n=function(){if(olt)return rlt;olt=1;var t=ktt();return rlt=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),alt||(alt=1,ult||(ult=1,rst()("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},ost())));var ylt={selector:"table",preParseHtml:function(t){var e=Rp(t);if("table"!==Eat(e))return t;var n=e.find("tbody");if(0===n.length)return t;var r=e.find("tr");e.append(r),n.remove();for(var o=e.find("td, th"),i=0;i<o.length;i+=1){var u=o[i],a=(c=Rp(u)).attr("style");a&&/display\s*:\s*none/i.test(a)&&c.remove()}var s=e.find("td, th");for(i=0;i<s.length;i+=1){var c,l=(c=Rp(u=s[i])).html()||"";l=(l=(l=l.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")).replace(/<p[^>]*>([\s\S]*?)<\/p>/gi,function(t,e){var n=e.trim();return n&&" "!==n?e:""}),c.html(l)}return e[0]}};function mlt(t){var e,n,r=[],o=0;try{for(var i=Wot(t),u=i.next();!u.done;u=i.next())o+=u.value,r.push(o)}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function blt(t){var e,n,r=[],o=t.reduce(function(t,e){return t+e},0);try{for(var i=Wot(t),u=i.next();!u.done;u=i.next()){var a=u.value;r.push(a/o)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}var Elt=null,wlt=!1,Slt=!1,Clt=0,Dlt=0,Olt=null,Alt=Rp(window);function xlt(t,e,n){var r=t.reduce(function(t,e){return t+e},0),o=t[e],i=Math.max(10,n),u=r-o+i;if(u<10*t.length)return t.map(function(){return 10});var a=r-o,s=u-i;if(s<=0){var c=t.map(function(){return 10});return c[e]=Math.max(10,u-10*(t.length-1)),c}var l=a>0?s/a:1,f=t.map(function(t,n){if(n===e)return Math.floor(100*i)/100;var r=t*l;return Math.max(10,Math.floor(100*r)/100)}),d=u-f.reduce(function(t,e){return t+e},0);return Math.abs(d)>.01&&(f[e]=Math.max(10,f[e]+d)),f}Alt.on("mousedown",function(t){var e=t.target;if(e.closest('[data-block-type="table-cell"]'))wlt=!0;else if("DIV"===e.tagName&&e.closest(".column-resizer-item")){if(null===Olt)return;var n=qot(yp.Editor.nodes(Olt,{match:Cit(Olt,"table")}),1),r=qot(n[0],1)[0],o=r.columnWidths,i=void 0===o?[]:o,u=r.resizingIndex,a=void 0===u?-1:u;Slt=!0;var s=t.clientX;Clt=s,Dlt=i[a],document.body.style.cursor="col-resize",t.preventDefault()}Alt.on("mousemove",Tlt),Alt.on("mouseup",Nlt)});var Tlt=Th(function(t){if(Slt&&null!==Olt){t.preventDefault();var e,n=t.clientX,r=n-Clt,o=qot(yp.Editor.nodes(Olt,{match:Cit(Olt,"table")}),1),i=qot(o[0],1)[0],u=i.columnWidths,a=void 0===u?[]:u,s=i.resizingIndex,c=void 0===s?-1:s,l=c===a.length-1;if(l)e=xlt(a,c,Dlt+r);else{var f=document.querySelector(".table");e=f?function(t,e,n,r){var o=Kot([],qot(t),!1);if(e<0||e>=t.length)return o;var i=0===e?0:r[e-1],u=i+10,a=(e+1<t.length?r[e+1]:r[e])-10,s=Math.max(u,Math.min(a,n))-i,c=e+1;if(c<t.length){var l=t[e]+t[c]-s;o[e]=Math.floor(100*s)/100,o[c]=Math.floor(100*l)/100}return o}(a,c,n-f.getBoundingClientRect().left,mlt(a)):function(t,e,n){var r=Kot([],qot(t),!1),o=e+1;if(o>=r.length)return r;var i=r[e],u=r[o],a=i+u-10,s=i+n,c=i+u-(s=Math.max(10,Math.min(a,s)));return r[e]=Math.floor(100*s)/100,r[o]=Math.floor(100*c)/100,r}(a,c,r)}if(l){var d=document.querySelector(".table-container");if(d){var p=e.reduce(function(t,e){return t+e},0),h=10*a.length,v=d.clientWidth-1;if(p<h)e=a.map(function(){return 10});else if(p>v){var g=e.slice(0,-1).reduce(function(t,e){return t+e},0),y=(e=xlt(a,c,Math.max(10,v-g))).reduce(function(t,e){return t+e},0);if(y>v){var m=v/y;e=e.map(function(t){return Math.max(10,Math.floor(t*m*100)/100)})}}}}yp.Transforms.setNodes(Olt,{columnWidths:e},{mode:"highest"})}},100);function Nlt(t){wlt=!1,Slt=!1,Olt=null,document.body.style.cursor="",Alt.off("mousemove",Tlt),Alt.off("mouseup",Nlt)}function Plt(t,e){"mouseenter"===e.type?yp.Transforms.setNodes(t,{isResizing:!0},{mode:"highest"}):yp.Transforms.setNodes(t,{isResizing:!1},{mode:"highest"})}var klt,Ilt,Blt,Flt={type:"table",renderElem:function(t,e,n){var r=function(t,e){if(t.isDisabled())return!1;var n=t.selection;if(null==n)return!0;if(yp.Range.isCollapsed(n))return!0;var r=n.anchor,o=n.focus,i=eP.findPath(t,e),u=yp.Editor.start(t,i),a=yp.Editor.end(t,i),s=yp.Point.compare(r,a)<=0&&yp.Point.compare(r,u)>=0,c=yp.Point.compare(o,a)<=0&&yp.Point.compare(o,u)>=0;return!!(s&&c&&yp.Path.equals(r.path.slice(0,3),o.path.slice(0,3)))}(n,t),o=t,i=o.width,u=void 0===i?"auto":i,a=o.height,s=o.columnWidths,c=void 0===s?[]:s,l=o.scrollWidth,f=void 0===l?0:l,d=o.isHoverCellBorder,p=o.resizingIndex,h=o.isResizing,v=eP.isNodeSelected(n,t),g=qot(pct.selection(n),1)[0],y=blt(c),m=dv("div",{className:"table-container","data-selected":v,on:{mousedown:function(e){if("DIV"===e.target.tagName&&e.preventDefault(),!n.isDisabled()){e.target.closest('[data-block-type="table-cell"]')&&pct.unselect(n);var r=eP.findPath(n,t),o=yp.Editor.start(n,r),i=n.selection;null!=i?i.anchor.path[0]!==r[0]&&"DIV"===e.target.tagName&&n.select(o):n.select(o)}}}},dv("table",{width:u,contentEditable:r,className:"table ".concat(g?"table-selection-none":""),style:{width:"100%"===u?u:"".concat(c.reduce(function(t,e){return t+e},0),"px")},on:{mousemove:Oh(function(e){return function(t,e,n,r){if(!t.isDisabled()&&!wlt&&!Slt){var o=e,i=o.width,u=void 0===i?"auto":i,a=o.columnWidths,s=void 0===a?[]:a,c=o.isHoverCellBorder,l=o.resizingIndex,f=n.clientX,d=n.target;if(aN(d)&&f>(v=d.getBoundingClientRect()).x+5&&f<v.x+v.width-5)return void(c&&yp.Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(aN(d)){var p=d.closest(".table");if(p)for(var h=n.clientX,v=p.getBoundingClientRect(),g=mlt("100%"===u?blt(s).map(function(t){return t*r}):s),y=0;y<g.length;y+=1)if(h-v.x>=g[y]-5&&h-v.x<g[y]+5){if(l===y)return;return void yp.Transforms.setNodes(t,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===c&&yp.Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(n,t,e,f)},25)}},dv("colgroup",{contentEditable:!1},c.map(function(t){return dv("col",{width:t})})),dv("tbody",null,e)),dv("div",{className:"column-resizer",contentEditable:!1},c.map(function(t,e){var r=t;return"100%"===u&&(r=y[e]*f),dv("div",{className:"column-resizer-item",style:{minWidth:"".concat(r,"px")}},dv("div",{className:"resizer-line-hotzone ".concat(d&&e===p?"visible ":"").concat(h&&e===p?"highlight":""),style:{height:"".concat(a,"px")},on:{mouseenter:function(t){return Plt(n,t)},mouseleave:function(t){return Plt(n,t)},mousedown:function(t){return function(t){Slt||(Olt=t)}(n)}}},dv("div",{className:"resizer-line"})))}))),b=Wh("div",{hook:{insert:function(t){var e=t.elm;return function(t,e){if(aN(e)){var n=e.querySelector("table");n&&(Elt=new ResizeObserver(function(e){var n=qot(e,1)[0].contentRect;yp.Transforms.setNodes(t,{scrollWidth:n.width,height:n.height},{mode:"highest"})}),Elt.observe(n))}}(n,e)},destroy:function(){Elt&&(null==Elt||Elt.disconnect(),Elt=null)}}},m);return b}},Rlt={type:"table-row",renderElem:function(t,e,n){return dv("tr",null,e)}},_lt={type:"table-cell",renderElem:function(t,e,n){var r=function(t,e){var n=eP.getParentNode(t,e);if(null==n)return!1;var r=eP.getParentNode(t,n);return null!=r&&Kst(r).some(function(t){return t===e})}(n,t),o=t,i=o.colSpan,u=void 0===i?1:i,a=o.rowSpan,s=void 0===a?1:a,c=o.isHeader,l=void 0!==c&&c,f=o.hidden,d=void 0!==f&&f;return dv(r&&l?"th":"td",{colSpan:u,rowSpan:s,"data-block-type":"table-cell",className:pct.isSelected(n,t)?"w-e-selected":"",style:{display:d?"none":""}},e)}},jlt={};function Llt(t,e){null==t.data&&(t.data={});var n=t.data;null==n.style&&(n.style={}),Object.assign(n.style,e)}!function(){if(Blt)return jlt;Blt=1;var t=vot(),e=function(){if(Ilt)return klt;Ilt=1;var t=Itt(),e=xet(),n=Ftt(),r=ktt(),o=sit(),i=dot(),u=Oet(),a=Ent(),s=Net(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return klt=!c||r(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(t){n[t]=t}),7!==c({},e)[r]||o(c({},n)).join("")!==i})?function(e,r){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!n(h,g,v)||(c[v]=g[v]);return c}:c,klt}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var Mlt={renderStyle:function(t,e){var n,r;if(!yp.Element.isElement(t))return e;var o=t,i=o.backgroundColor,u=o.borderWidth,a=o.borderStyle,s=o.borderColor,c=o.textAlign,l={};i&&(l.backgroundColor=i),u&&(l.borderWidth="".concat(u,"px")),a&&(l.borderStyle="none"===a?"":a),s&&(l.borderColor=s),c&&(l.textAlign=c);var f=e;return"table"===t.type?Llt(null===(r=(null===(n=f.children)||void 0===n?void 0:n[0]).children)||void 0===r?void 0:r[0],l):Llt(f,l),f},styleToHtml:function(t,e){if("table"!==t.type&&"table-cell"!==t.type)return e;var n=t.backgroundColor,r=t.borderWidth,o=t.borderStyle,i=t.borderColor,u=t.textAlign;if(!(n||r||o||i||u))return e;var a=Rp(e);return n&&a.css("background-color",n),r&&a.css("border-width","".concat(r,"px")),o&&a.css("border-style","none"===o?"":o),i&&a.css("border-color",i),u&&a.css("text-align",u),function(t){return 0===t.length?"":t[0].outerHTML}(a)},parseStyleHtml:function(t,e,n){if(!["TABLE","TD","TH"].includes(t.tagName))return e;var r=Rp(t),o=e,i=wat(r,"background-color");i||(i=wat(r,"background")),i&&(o.backgroundColor=i);var u=wat(r,"border");u||"TD"!==t.tagName||(u="1px solid ".concat(flt));var a=qot((null==u?void 0:u.split(" "))||[],3),s=a[0],c=a[1],l=a[2];(s=wat(r,"border-width")||s)&&(o.borderWidth=s.replace(/[^\d]/g,"")),(c=wat(r,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(l=wat(r,"border-color")||l)&&(o.borderColor=l);var f=wat(r,"text-align");return(f=wat(r,"text-align")||f)&&(o.textAlign=f),e},renderElems:[Flt,Rlt,_lt],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var n=t,r=n.width,o=void 0===r?"auto":r,i=n.columnWidths,u=n.height,a=void 0===u?"auto":u,s=null==i?void 0:i.map(function(t){return"<col width=".concat(t,"></col>")}).join(""),c=s?'<colgroup contentEditable="false">'.concat(s,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(a,'">').concat(c,"<tbody>").concat(e,"</tbody></table>")}},{type:"table-row",elemToHtml:function(t,e){return"<tr>".concat(e,"</tr>")}},{type:"table-cell",elemToHtml:function(t,e){var n=t,r=n.colSpan,o=void 0===r?1:r,i=n.rowSpan,u=void 0===i?1:i,a=n.isHeader,s=void 0!==a&&a,c=n.width,l=void 0===c?"auto":c,f=n.hidden;if(void 0!==f&&f)return"";var d=s?"th":"td";return"<".concat(d,' colSpan="').concat(o,'" rowSpan="').concat(u,'" width="').concat(l,'">').concat(e,"</").concat(d,">")}}],preParseHtml:[ylt],parseElemsHtml:[slt,clt,llt],menus:[Rct,_ct,jct,Lct,Mct,zct,Hct,$ct,Uct,Vct,Gct,Wct],editorPlugin:function(t){var e=t.insertBreak,n=t.deleteBackward,r=t.deleteForward,o=t.deleteFragment,i=t.normalizeNode,u=t.insertData,a=t.handleTab,s=t.selectAll,c=t;c.insertBreak=function(){null==eP.getSelectedNodeByType(c,"table")?e():c.insertText("\n\r")},c.deleteBackward=function(t){if(!plt(c)&&!vlt(c,t,"backward")){var e=c.selection;if(e){var r=yp.Editor.before(c,e),o=yp.Editor.above(c,{at:e,match:function(t){return eP.checkNodeType(t,"table-cell")}});if(r){var i=glt(c,r);if(!o&&i&&eP.getSelectedNodeByType(c,"paragraph"))return}}n(t)}},c.handleTab=function(){var e;if(eP.getSelectedNodeByType(c,"table")){var n=yp.Editor.above(t);eP.checkNodeType(n[0],"table-cell")&&yp.Transforms.select(t,n[1]);var r=yp.Editor.next(t);if(r)r[0]&&r[0].text&&(r=null!==(e=yp.Editor.above(t,{at:r[1]}))&&void 0!==e?e:r),yp.Transforms.select(t,r[1]);else{var o=c.children||[],i=o.length;if(eP.checkNodeType(o[i-1],"table")){var u=eP.genEmptyParagraph();yp.Transforms.insertNodes(c,u,{at:[i]}),c.handleTab()}}}else a()},c.deleteForward=function(t){if(!plt(c)&&!vlt(c,t,"forward")){var e=c.selection;if(e){var n=yp.Editor.after(c,e),o=yp.Editor.above(c,{at:e,match:function(t){return eP.checkNodeType(t,"table-cell")}});if(n){var i=glt(c,n);if(!o&&i&&eP.getSelectedNodeByType(c,"paragraph"))return}}r(t)}},c.deleteFragment=function(t){var e=c.selection;if(e){var n,r=!1,i={anchor:e.anchor,focus:e.focus},u=yp.Point.isBefore(i.anchor,i.focus);hlt(c,e.anchor)&&((n=yp.Editor[u?"before":"after"](c,e.anchor))&&(i.anchor=n),r=!0),hlt(c,e.focus)&&((n=yp.Editor[u?"after":"before"](c,e.focus))&&(i.focus=n),r=!0),r&&yp.Transforms.setSelection(c,i),o(t)}},c.normalizeNode=function(t){var e=qot(t,2),n=e[0],r=e[1];if("table"!==eP.getNodeType(n))return i([n,r]);if(eP.isLastNode(c,n)){var o=eP.genEmptyParagraph();yp.Transforms.insertNodes(c,o,{at:[r[0]+1]})}},c.insertData=function(t){if(null!=eP.getSelectedNodeByType(c,"table")){var e=t.getData("text/plain");"\n"===e||/<img[^>]+>/.test(t.getData("text/html"))?u(t):yp.Editor.insertText(c,e)}else u(t)},c.selectAll=function(){var t=c.selection;if(null!=t){var e=eP.getSelectedNodeByType(c,"table-cell");if(null!=e){var n=t.anchor,r=t.focus;if(yp.Path.equals(n.path.slice(0,3),r.path.slice(0,3)))if(0!==yp.Node.string(e).length){var o=eP.findPath(c,e),i={anchor:yp.Editor.start(c,o),focus:yp.Editor.end(c,o)};c.select(i)}else s();else s()}else s()}else s()},function(t){var e=t.apply;t.apply=function(n){if(!yp.Operation.isSelectionOperation(n)||!n.newProperties)return e(n);var r=Vot(Vot({},t.selection),n.newProperties);if(!yp.Range.isRange(r))return pct.unselect(t),e(n);var o=function(t){return yp.Element.isElement(t)&&("table-cell"===t.type||"th"===t.type||"td"===t.type)},i=qot(yp.Editor.nodes(t,{match:o,at:yp.Range.start(r),mode:"lowest"}),1)[0],u=qot(yp.Editor.nodes(t,{match:o,at:yp.Range.end(r),mode:"lowest"}),1)[0];if(!i||!u)return pct.unselect(t),e(n);var a=qot(i,2)[1],s=qot(u,2)[1];if(yp.Path.equals(a,s)||!Dit(t,[a,s],"table"))return pct.unselect(t),e(n);try{var c=Oit(t,{at:a});if(!c||0===c.length)return pct.unselect(t),e(n);for(var l=xit.valueOf(0,0),f=xit.valueOf(0,0),d=!1,p=!1,h=0;h<c.length;h+=1)if(c[h])for(var v=0;v<c[h].length;v+=1)if(c[h][v]){var g=qot(c[h][v],1),y=qot(g[0],2)[1];yp.Path.equals(a,y)&&(l.x=h,l.y=v,d=!0),yp.Path.equals(s,y)&&(f.x=h,f.y=v,p=!0)}if(!d||!p)return pct.unselect(t),e(n);for(var m=xit.valueOf(Math.min(l.x,f.x),Math.min(l.y,f.y)),b=xit.valueOf(Math.max(l.x,f.x),Math.max(l.y,f.y));;){var E=xit.valueOf(m.x,m.y),w=xit.valueOf(b.x,b.y);for(h=E.x;h<=w.x&&h<c.length;h+=1)if(c[h])for(v=E.y;v<=w.y&&v<c[h].length;v+=1)if(c[h][v]){var S=qot(c[h][v],2)[1];if(S){var C=S.rtl,D=S.ltr,O=S.btt,A=S.ttb;E.x=Math.min(E.x,h-(A-1)),E.y=Math.min(E.y,v-(C-1)),w.x=Math.max(w.x,h+(O-1)),w.y=Math.max(w.y,v+(D-1))}}if(xit.equals(m,E)&&xit.equals(b,w))break;m=E,b=w}var x=[],T=new WeakSet;for(h=m.x;h<=b.x&&h<c.length;h+=1)if(c[h]){var N=[];for(v=m.y;v<=b.y&&v<c[h].length;v+=1)if(c[h][v]){var P=qot(c[h][v],1),k=qot(P[0],1)[0];k&&(T.add(k),N.push(c[h][v]))}N.length>0&&x.push(N)}mst.set(t,x),bst.set(t,T)}catch(r){return pct.unselect(t),e(n)}e(n)}}(c),c.getTableSelection=function(){return mst.get(c)||null};var l=c.addMark,f=c.removeMark,d=Vot({},yp.Transforms);return c.addMark=function(t,e){var n=mst.get(c);if(n&&n.length>0){var r=c.selection;n.forEach(function(n){n.forEach(function(n){var r=qot(n[0],2)[1],o=yp.Editor.start(c,r),i=yp.Editor.end(c,r);yp.Transforms.select(c,{anchor:o,focus:i}),l(t,e)})}),r&&yp.Transforms.select(c,r)}else l(t,e)},c.removeMark=function(t){var e=mst.get(c);if(e&&e.length>0){var n=c.selection;e.forEach(function(e){e.forEach(function(e){var n=qot(e[0],2)[1],r=yp.Editor.start(c,n),o=yp.Editor.end(c,n);yp.Transforms.select(c,{anchor:r,focus:o}),f(t)})}),n&&yp.Transforms.select(c,n)}else f(t)},yp.Transforms.setNodes=function(t,e,n){if(void 0===n&&(n={}),t===c){var r=mst.get(c);if(r&&r.length>0)return"hidden"in e||"rowSpan"in e||"colSpan"in e?void d.setNodes(t,e,n):void r.forEach(function(r){r.forEach(function(r){var o=qot(r[0],2)[1];d.setNodes(t,e,Vot(Vot({},n),{at:o}))})})}d.setNodes(t,e,n)},c}};lI("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),lI("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var zlt,Hlt,$lt,Ult,Vlt,Glt,Wlt,qlt,Klt,Ylt,Xlt,Jlt,Zlt,Qlt,tft,eft,nft,rft,oft="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ift={};function uft(){return Hlt?zlt:(Hlt=1,zlt=function(t){try{return!!t()}catch(t){return!0}})}function aft(){if(Ult)return $lt;Ult=1;var t=uft();return $lt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function sft(){if(Glt)return Vlt;Glt=1;var t=uft();return Vlt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function cft(){if(qlt)return Wlt;qlt=1;var t=sft(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return Wlt=t?r:function(t){return function(){return n.apply(t,arguments)}},Wlt}function lft(){return Ylt?Klt:(Ylt=1,Klt=function(t){return null==t})}function fft(){if(Jlt)return Xlt;Jlt=1;var t=lft(),e=TypeError;return Xlt=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function dft(){if(Qlt)return Zlt;Qlt=1;var t=fft(),e=Object;return Zlt=function(n){return e(t(n))}}function pft(){if(eft)return tft;eft=1;var t=cft(),e=dft(),n=t({}.hasOwnProperty);return tft=Object.hasOwn||function(t,r){return n(e(t),r)}}function hft(){if(rft)return nft;rft=1;var t=aft(),e=pft(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return nft={EXISTS:o,PROPER:i,CONFIGURABLE:u}}var vft,gft,yft={exports:{}};function mft(){if(gft)return vft;gft=1;var t="object"==typeof document&&document.all;return vft=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var bft,Eft,wft,Sft,Cft,Dft,Oft,Aft,xft,Tft,Nft,Pft,kft,Ift={exports:{}};function Bft(){return Eft?bft:(Eft=1,bft=!1)}function Fft(){if(Sft)return wft;Sft=1;var t=function(t){return t&&t.Math===Math&&t};return wft=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof oft&&oft)||t("object"==typeof wft&&wft)||function(){return this}()||Function("return this")()}function Rft(){if(Dft)return Cft;Dft=1;var t=Fft(),e=Object.defineProperty;return Cft=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function _ft(){if(Oft)return Ift.exports;Oft=1;var t=Bft(),e=Fft(),n=Rft(),r="__core-js_shared__",o=Ift.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Ift.exports}function jft(){if(xft)return Aft;xft=1;var t=cft(),e=mft(),n=_ft(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),Aft=n.inspectSource}function Lft(){if(Nft)return Tft;Nft=1;var t=Fft(),e=mft(),n=t.WeakMap;return Tft=e(n)&&/native code/.test(String(n))}function Mft(){if(kft)return Pft;kft=1;var t=mft();return Pft=function(e){return"object"==typeof e?null!==e:t(e)}}var zft,Hft,$ft,Uft,Vft,Gft,Wft,qft,Kft,Yft,Xft,Jft,Zft,Qft,tdt,edt,ndt,rdt,odt,idt,udt,adt,sdt,cdt,ldt,fdt,ddt,pdt,hdt,vdt,gdt,ydt,mdt,bdt,Edt,wdt,Sdt,Cdt,Ddt,Odt,Adt,xdt,Tdt,Ndt,Pdt,kdt,Idt,Bdt,Fdt,Rdt,_dt,jdt,Ldt,Mdt,zdt,Hdt,$dt,Udt={};function Vdt(){if(Hft)return zft;Hft=1;var t=Fft(),e=Mft(),n=t.document,r=e(n)&&e(n.createElement);return zft=function(t){return r?n.createElement(t):{}}}function Gdt(){if(Uft)return $ft;Uft=1;var t=aft(),e=uft(),n=Vdt();return $ft=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function Wdt(){if(Gft)return Vft;Gft=1;var t=aft(),e=uft();return Vft=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function qdt(){if(qft)return Wft;qft=1;var t=Mft(),e=String,n=TypeError;return Wft=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function Kdt(){if(Yft)return Kft;Yft=1;var t=sft(),e=Function.prototype.call;return Kft=t?e.bind(e):function(){return e.apply(e,arguments)},Kft}function Ydt(){if(Jft)return Xft;Jft=1;var t=Fft(),e=mft();return Xft=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},Xft}function Xdt(){if(Qft)return Zft;Qft=1;var t=cft();return Zft=t({}.isPrototypeOf)}function Jdt(){if(edt)return tdt;edt=1;var t=Fft().navigator,e=t&&t.userAgent;return tdt=e?String(e):""}function Zdt(){if(rdt)return ndt;rdt=1;var t,e,n=Fft(),r=Jdt(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),ndt=e}function Qdt(){if(idt)return odt;idt=1;var t=Zdt(),e=uft(),n=Fft().String;return odt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function tpt(){if(adt)return udt;adt=1;var t=Qdt();return udt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function ept(){if(cdt)return sdt;cdt=1;var t=Ydt(),e=mft(),n=Xdt(),r=tpt(),o=Object;return sdt=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function npt(){if(fdt)return ldt;fdt=1;var t=String;return ldt=function(e){try{return t(e)}catch(t){return"Object"}}}function rpt(){if(pdt)return ddt;pdt=1;var t=mft(),e=npt(),n=TypeError;return ddt=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function opt(){if(vdt)return hdt;vdt=1;var t=rpt(),e=lft();return hdt=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}function ipt(){if(bdt)return mdt;bdt=1;var t=_ft();return mdt=function(e,n){return t[e]||(t[e]=n||{})}}function upt(){if(wdt)return Edt;wdt=1;var t=cft(),e=0,n=Math.random(),r=t(1.1.toString);return Edt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function apt(){if(Cdt)return Sdt;Cdt=1;var t=Fft(),e=ipt(),n=pft(),r=upt(),o=Qdt(),i=tpt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return Sdt=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function spt(){if(Odt)return Ddt;Odt=1;var t=Kdt(),e=Mft(),n=ept(),r=opt(),o=function(){if(ydt)return gdt;ydt=1;var t=Kdt(),e=mft(),n=Mft(),r=TypeError;return gdt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},gdt}(),i=apt(),u=TypeError,a=i("toPrimitive");return Ddt=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function cpt(){if(xdt)return Adt;xdt=1;var t=spt(),e=ept();return Adt=function(n){var r=t(n,"string");return e(r)?r:r+""}}function lpt(){if(Tdt)return Udt;Tdt=1;var t=aft(),e=Gdt(),n=Wdt(),r=qdt(),o=cpt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return Udt.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},Udt}function fpt(){return Pdt?Ndt:(Pdt=1,Ndt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function dpt(){if(Idt)return kdt;Idt=1;var t=aft(),e=lpt(),n=fpt();return kdt=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}function ppt(){if(Fdt)return Bdt;Fdt=1;var t=ipt(),e=upt(),n=t("keys");return Bdt=function(t){return n[t]||(n[t]=e(t))}}function hpt(){return _dt?Rdt:(_dt=1,Rdt={})}function vpt(){if(Ldt)return jdt;Ldt=1;var t,e,n,r=Lft(),o=Fft(),i=Mft(),u=dpt(),a=pft(),s=_ft(),c=ppt(),l=hpt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return jdt={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function gpt(){if(Mdt)return yft.exports;Mdt=1;var t=cft(),e=uft(),n=mft(),r=pft(),o=aft(),i=hft().CONFIGURABLE,u=jft(),a=vpt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=yft.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),yft.exports}function ypt(){if(Hdt)return zdt;Hdt=1;var t=gpt(),e=lpt();return zdt=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}!function(){if($dt)return ift;$dt=1;var t=aft(),e=hft().EXISTS,n=cft(),r=ypt(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var mpt,bpt,Ept,wpt,Spt,Cpt,Dpt,Opt,Apt,xpt,Tpt={},Npt={},Ppt={};function kpt(){if(Ept)return bpt;Ept=1;var t=cft(),e=t({}.toString),n=t("".slice);return bpt=function(t){return n(e(t),8,-1)}}function Ipt(){if(Spt)return wpt;Spt=1;var t=cft(),e=uft(),n=kpt(),r=Object,o=t("".split);return wpt=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function Bpt(){if(Dpt)return Cpt;Dpt=1;var t=Ipt(),e=fft();return Cpt=function(n){return t(e(n))}}function Fpt(){if(Opt)return Npt;Opt=1;var t=aft(),e=Kdt(),n=function(){if(mpt)return Ppt;mpt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return Ppt.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,Ppt}(),r=fpt(),o=Bpt(),i=cpt(),u=pft(),a=Gdt(),s=Object.getOwnPropertyDescriptor;return Npt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},Npt}function Rpt(){if(xpt)return Apt;xpt=1;var t=mft(),e=lpt(),n=gpt(),r=Rft();return Apt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var _pt,jpt,Lpt,Mpt,zpt,Hpt,$pt,Upt,Vpt,Gpt,Wpt,qpt,Kpt,Ypt,Xpt,Jpt,Zpt,Qpt={};function tht(){if(Mpt)return Lpt;Mpt=1;var t=function(){if(jpt)return _pt;jpt=1;var t=Math.ceil,e=Math.floor;return _pt=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return Lpt=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function eht(){if(Hpt)return zpt;Hpt=1;var t=tht(),e=Math.max,n=Math.min;return zpt=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}function nht(){if(Gpt)return Vpt;Gpt=1;var t=function(){if(Upt)return $pt;Upt=1;var t=tht(),e=Math.min;return $pt=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}();return Vpt=function(e){return t(e.length)}}function rht(){if(Ypt)return Kpt;Ypt=1;var t=cft(),e=pft(),n=Bpt(),r=function(){if(qpt)return Wpt;qpt=1;var t=Bpt(),e=eht(),n=nht(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return Wpt={includes:r(!0),indexOf:r(!1)}}().indexOf,o=hpt(),i=t([].push);return Kpt=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function oht(){return Jpt?Xpt:(Jpt=1,Xpt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function iht(){if(Zpt)return Qpt;Zpt=1;var t=rht(),e=oht().concat("length","prototype");return Qpt.f=Object.getOwnPropertyNames||function(n){return t(n,e)},Qpt}var uht,aht,sht,cht,lht,fht,dht,pht,hht,vht,ght,yht,mht={};function bht(){if(lht)return cht;lht=1;var t=pft(),e=function(){if(sht)return aht;sht=1;var t=Ydt(),e=cft(),n=iht(),r=(uht||(uht=1,mht.f=Object.getOwnPropertySymbols),mht),o=qdt(),i=e([].concat);return aht=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=Fpt(),r=lpt();return cht=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function Eht(){if(dht)return fht;dht=1;var t=uft(),e=mft(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return fht=r}function wht(){if(hht)return pht;hht=1;var t=Fft(),e=Fpt().f,n=dpt(),r=Rpt(),o=Rft(),i=bht(),u=Eht();return pht=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function Sht(){if(ght)return vht;ght=1;var t=uft();return vht=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}!function(){if(yht)return Tpt;yht=1;var t=wht(),e=cft(),n=Ipt(),r=Bpt(),o=Sht(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}();var Cht,Dht,Oht,Aht,xht,Tht,Nht,Pht,kht,Iht,Bht={};function Fht(){if(Dht)return Cht;Dht=1;var t={};return t[apt()("toStringTag")]="z",Cht="[object z]"===String(t)}function Rht(){if(Aht)return Oht;Aht=1;var t=Fht(),e=mft(),n=kpt(),r=apt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return Oht=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function _ht(){if(Tht)return xht;Tht=1;var t=Rht(),e=String;return xht=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function jht(){if(Pht)return Nht;Pht=1;var t=qdt();return Nht=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}var Lht,Mht,zht,Hht,$ht,Uht,Vht,Ght,Wht,qht,Kht,Yht,Xht,Jht,Zht,Qht,tvt,evt,nvt,rvt,ovt,ivt,uvt,avt,svt,cvt,lvt,fvt,dvt,pvt,hvt,vvt,gvt,yvt,mvt,bvt,Evt,wvt,Svt,Cvt,Dvt,Ovt,Avt={};function xvt(){if($ht)return Hht;$ht=1;var t=Ydt();return Hht=t("document","documentElement")}function Tvt(){if(Vht)return Uht;Vht=1;var t,e=qdt(),n=function(){if(zht)return Avt;zht=1;var t=aft(),e=Wdt(),n=lpt(),r=qdt(),o=Bpt(),i=function(){if(Mht)return Lht;Mht=1;var t=rht(),e=oht();return Lht=Object.keys||function(n){return t(n,e)}}();return Avt.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},Avt}(),r=oht(),o=hpt(),i=xvt(),u=Vdt(),a=ppt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,Uht=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function Nvt(){return evt?tvt:(evt=1,tvt={})}function Pvt(){if(ivt)return ovt;ivt=1;var t=pft(),e=mft(),n=dft(),r=ppt(),o=function(){if(rvt)return nvt;rvt=1;var t=uft();return nvt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return ovt=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function kvt(){if(avt)return uvt;avt=1;var t,e,n,r=uft(),o=mft(),i=Mft(),u=Tvt(),a=Pvt(),s=Rpt(),c=apt(),l=Bft(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),uvt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function Ivt(){if(cvt)return svt;cvt=1;var t=lpt().f,e=pft(),n=apt()("toStringTag");return svt=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function Bvt(){if(yvt)return gvt;yvt=1;var t=function(){if(vvt)return hvt;vvt=1;var t=Mft();return hvt=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return gvt=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function Fvt(){if(bvt)return mvt;bvt=1;var t=function(){if(pvt)return dvt;pvt=1;var t=cft(),e=rpt();return dvt=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=Mft(),n=fft(),r=Bvt();return mvt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function Rvt(){if(wvt)return Evt;wvt=1;var t=wht(),e=Kdt(),n=Bft(),r=hft(),o=mft(),i=function(){if(fvt)return lvt;fvt=1;var t=kvt().IteratorPrototype,e=Tvt(),n=fpt(),r=Ivt(),o=Nvt(),i=function(){return this};return lvt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=Pvt(),a=Fvt(),s=Ivt(),c=dpt(),l=Rpt(),f=apt(),d=Nvt(),p=kvt(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return Evt=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function _vt(){return Cvt?Svt:(Cvt=1,Svt=function(t,e){return{value:t,done:e}})}function jvt(){if(Ovt)return Dvt;Ovt=1;var t=Bpt(),e=function(){if(Qht)return Zht;Qht=1;var t=apt(),e=Tvt(),n=lpt().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),Zht=function(t){o[r][t]=!0}}(),n=Nvt(),r=vpt(),o=lpt().f,i=Rvt(),u=_vt(),a=Bft(),s=aft(),c="Array Iterator",l=r.set,f=r.getterFor(c);Dvt=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return Dvt}!function(){if(Jht)return Bht;Jht=1;var t=wht(),e=function(){if(Xht)return Yht;Xht=1;var t,e,n=Kdt(),r=cft(),o=_ht(),i=jht(),u=function(){if(Iht)return kht;Iht=1;var t=uft(),e=Fft().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return kht={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=ipt(),s=Tvt(),c=vpt().get,l=function(){if(Wht)return Ght;Wht=1;var t=uft(),e=Fft().RegExp;return Ght=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(Kht)return qht;Kht=1;var t=uft(),e=Fft().RegExp;return qht=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Yht=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}(),rh&&(Rp.fn.append=rh),Vp&&(Rp.fn.on=Vp),ch&&(Rp.fn.remove=ch),Up&&(Rp.fn.val=Up),ph&&(Rp.fn.click=ph),Yp&&(Rp.fn.hide=Yp),jvt();var Lvt,Mvt,zvt,Hvt,$vt,Uvt,Vvt,Gvt,Wvt,qvt,Kvt,Yvt,Xvt,Jvt,Zvt,Qvt,tgt,egt={};function ngt(){if(Hvt)return zvt;Hvt=1;var t=function(){if(Mvt)return Lvt;Mvt=1;var t=kpt(),e=cft();return Lvt=function(n){if("Function"===t(n))return e(n)}}(),e=rpt(),n=sft(),r=t(t.bind);return zvt=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},zvt}function rgt(){if(Uvt)return $vt;Uvt=1;var t=kpt();return $vt=Array.isArray||function(e){return"Array"===t(e)}}function ogt(){if(Gvt)return Vvt;Gvt=1;var t=cft(),e=uft(),n=mft(),r=Rht(),o=Ydt(),i=jft(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,Vvt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function igt(){if(Yvt)return Kvt;Yvt=1;var t=function(){if(qvt)return Wvt;qvt=1;var t=rgt(),e=ogt(),n=Mft(),r=apt()("species"),o=Array;return Wvt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return Kvt=function(e,n){return new(t(e))(0===n?0:n)}}function ugt(){if(Jvt)return Xvt;Jvt=1;var t=ngt(),e=cft(),n=Ipt(),r=dft(),o=nht(),i=igt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return Xvt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function agt(){if(Qvt)return Zvt;Qvt=1;var t=uft(),e=apt(),n=Zdt(),r=e("species");return Zvt=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(tgt)return egt;tgt=1;var t=wht(),e=ugt().map;t({target:"Array",proto:!0,forced:!agt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var sgt,cgt,lgt,fgt,dgt,pgt={};function hgt(){if(fgt)return lgt;fgt=1;var t=cft();return lgt=t([].slice)}!function(){if(dgt)return pgt;dgt=1;var t=wht(),e=rgt(),n=ogt(),r=Mft(),o=eht(),i=nht(),u=Bpt(),a=function(){if(cgt)return sgt;cgt=1;var t=aft(),e=lpt(),n=fpt();return sgt=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}(),s=apt(),c=agt(),l=hgt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var vgt,ggt,ygt,mgt={};!function(){if(ygt)return mgt;ygt=1;var t=Fht(),e=Rpt(),n=function(){if(ggt)return vgt;ggt=1;var t=Fht(),e=Rht();return vgt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var bgt,Egt,wgt,Sgt,Cgt,Dgt,Ogt,Agt,xgt,Tgt,Ngt,Pgt,kgt,Igt,Bgt,Fgt,Rgt,_gt,jgt,Lgt,Mgt,zgt,Hgt,$gt,Ugt,Vgt,Ggt,Wgt,qgt,Kgt,Ygt,Xgt,Jgt,Zgt,Qgt,tyt,eyt,nyt,ryt,oyt,iyt={};function uyt(){if(Egt)return bgt;Egt=1;var t=Fft(),e=Jdt(),n=kpt(),r=function(t){return e.slice(0,t.length)===t};return bgt=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function ayt(){if(Sgt)return wgt;Sgt=1;var t=uyt();return wgt="NODE"===t}function syt(){if(Tgt)return xgt;Tgt=1;var t=Xdt(),e=TypeError;return xgt=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function cyt(){if(Igt)return kgt;Igt=1;var t=qdt(),e=function(){if(Pgt)return Ngt;Pgt=1;var t=ogt(),e=npt(),n=TypeError;return Ngt=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=lft(),r=apt()("species");return kgt=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function lyt(){if(Lgt)return jgt;Lgt=1;var t=Jdt();return jgt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function fyt(){if(zgt)return Mgt;zgt=1;var t,e,n,r,o=Fft(),i=function(){if(Fgt)return Bgt;Fgt=1;var t=sft(),e=Function.prototype,n=e.apply,r=e.call;return Bgt="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),Bgt}(),u=ngt(),a=mft(),s=pft(),c=uft(),l=xvt(),f=hgt(),d=Vdt(),p=function(){if(_gt)return Rgt;_gt=1;var t=TypeError;return Rgt=function(e,n){if(e<n)throw new t("Not enough arguments");return e}}(),h=lyt(),v=ayt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var n=a(t)?t:E(t),r=f(arguments,1);return D[++C]=function(){i(n,void 0,r)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(r=(n=new w).port2,n.port1.onmessage=T,e=u(r.postMessage,r)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),Mgt={set:g,clear:y}}function dyt(){if(Vgt)return Ugt;Vgt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},Ugt=t}function pyt(){if(Xgt)return Ygt;Xgt=1;var t,e,n,r,o,i=Fft(),u=function(){if($gt)return Hgt;$gt=1;var t=Fft(),e=aft(),n=Object.getOwnPropertyDescriptor;return Hgt=function(r){if(!e)return t[r];var o=n(t,r);return o&&o.value}}(),a=ngt(),s=fyt().set,c=dyt(),l=lyt(),f=function(){if(Wgt)return Ggt;Wgt=1;var t=Jdt();return Ggt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(Kgt)return qgt;Kgt=1;var t=Jdt();return qgt=/web0s(?!.*chrome)/i.test(t)}(),p=ayt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,n;for(p&&(e=g.domain)&&e.exit();n=b.get();)try{n()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((r=y.resolve(void 0)).constructor=y,o=a(r.then,r),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,n=v.createTextNode(""),new h(E).observe(n,{characterData:!0}),t=function(){n.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return Ygt=m}function hyt(){return tyt?Qgt:(tyt=1,Qgt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function vyt(){if(nyt)return eyt;nyt=1;var t=Fft();return eyt=t.Promise}function gyt(){if(oyt)return ryt;oyt=1;var t=Fft(),e=vyt(),n=mft(),r=Eht(),o=jft(),i=apt(),u=uyt(),a=Bft(),s=Zdt(),c=e&&e.prototype,l=i("species"),f=!1,d=n(t.PromiseRejectionEvent),p=r("Promise",function(){var t=o(e),n=t!==String(e);if(!n&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var r=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((r.constructor={})[l]=i,!(f=r.then(function(){})instanceof i))return!0}return!(n||"BROWSER"!==u&&"DENO"!==u||d)});return ryt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var yyt,myt,byt={};function Eyt(){if(yyt)return byt;yyt=1;var t=rpt(),e=TypeError,n=function(n){var r,o;this.promise=new n(function(t,n){if(void 0!==r||void 0!==o)throw new e("Bad Promise constructor");r=t,o=n}),this.resolve=t(r),this.reject=t(o)};return byt.f=function(t){return new n(t)},byt}var wyt,Syt,Cyt,Dyt,Oyt,Ayt,xyt,Tyt,Nyt,Pyt,kyt,Iyt,Byt,Fyt,Ryt,_yt={};function jyt(){if(Dyt)return Cyt;Dyt=1;var t=Rht(),e=opt(),n=lft(),r=Nvt(),o=apt()("iterator");return Cyt=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function Lyt(){if(Pyt)return Nyt;Pyt=1;var t=ngt(),e=Kdt(),n=qdt(),r=npt(),o=function(){if(Syt)return wyt;Syt=1;var t=apt(),e=Nvt(),n=t("iterator"),r=Array.prototype;return wyt=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}(),i=nht(),u=Xdt(),a=function(){if(Ayt)return Oyt;Ayt=1;var t=Kdt(),e=rpt(),n=qdt(),r=npt(),o=jyt(),i=TypeError;return Oyt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},Oyt}(),s=jyt(),c=function(){if(Tyt)return xyt;Tyt=1;var t=Kdt(),e=qdt(),n=opt();return xyt=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return Nyt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function Myt(){if(Iyt)return kyt;Iyt=1;var t=apt()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return kyt=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function zyt(){if(Fyt)return Byt;Fyt=1;var t=vyt(),e=Myt(),n=gyt().CONSTRUCTOR;return Byt=n||!e(function(e){t.all(e).then(void 0,function(){})})}var Hyt,$yt,Uyt,Vyt,Gyt,Wyt,qyt,Kyt={},Yyt={},Xyt={},Jyt={};qyt||(qyt=1,function(){if(myt)return iyt;myt=1;var t,e,n,r,o=wht(),i=Bft(),u=ayt(),a=Fft(),s=function(){if(Dgt)return Cgt;Dgt=1;var t=Fft();return Cgt=t}(),c=Kdt(),l=Rpt(),f=Fvt(),d=Ivt(),p=function(){if(Agt)return Ogt;Agt=1;var t=Ydt(),e=ypt(),n=apt(),r=aft(),o=n("species");return Ogt=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),h=rpt(),v=mft(),g=Mft(),y=syt(),m=cyt(),b=fyt().set,E=pyt(),w=(Zgt||(Zgt=1,Jgt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),Jgt),S=hyt(),C=dyt(),D=vpt(),O=vyt(),A=gyt(),x=Eyt(),T="Promise",N=A.CONSTRUCTOR,P=A.REJECTION_EVENT,k=A.SUBCLASSING,I=D.getterFor(T),B=D.set,F=O&&O.prototype,R=O,_=F,j=a.TypeError,L=a.document,M=a.process,z=x.f,H=z,$=!!(L&&L.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===t.promise?l(new j("Promise-chain cycle")):(r=V(n))?c(r,n,s,l):s(n)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var n,r=t.reactions;n=r.get();)G(n,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,n){var r,o;$?((r=L.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!P&&(o=a["on"+t])?o(r):t===U&&w("Unhandled promise rejection",n)},K=function(t){c(b,a,function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",r,n):q(U,n,r)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,n){return function(r){t(e,r,n)}},Z=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new j("Promise can't be resolved itself");var r=V(e);r?E(function(){var n={done:!1};try{c(r,e,J(Q,n,t),J(Z,n,t))}catch(e){Z(n,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(_=(R=function(e){y(this,_),h(e),c(t,this);var n=I(this);try{e(J(Q,n),J(Z,n))}catch(t){Z(n,t)}}).prototype,(t=function(t){B(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(_,"then",function(t,e){var n=I(this),r=z(m(this,R));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=u?M.domain:void 0,0===n.state?n.reactions.add(r):E(function(){G(r,n)}),r.promise}),e=function(){var e=new t,n=I(e);this.promise=e,this.resolve=J(Q,n),this.reject=J(Z,n)},x.f=z=function(t){return t===R||t===n?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){r=F.then,k||l(F,"then",function(t,e){var n=this;return new R(function(t,e){c(r,n,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,_)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),n=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(Ryt)return _yt;Ryt=1;var t=wht(),e=Kdt(),n=rpt(),r=Eyt(),o=hyt(),i=Lyt();t({target:"Promise",stat:!0,forced:zyt()},{all:function(t){var u=this,a=r.f(u),s=a.resolve,c=a.reject,l=o(function(){var r=n(u.resolve),o=[],a=0,l=1;i(t,function(t){var n=a++,i=!1;l++,e(r,u,t).then(function(t){i||(i=!0,o[n]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(Hyt)return Kyt;Hyt=1;var t=wht(),e=Bft(),n=gyt().CONSTRUCTOR,r=vyt(),o=Ydt(),i=mft(),u=Rpt(),a=r&&r.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(r)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if($yt)return Yyt;$yt=1;var t=wht(),e=Kdt(),n=rpt(),r=Eyt(),o=hyt(),i=Lyt();t({target:"Promise",stat:!0,forced:zyt()},{race:function(t){var u=this,a=r.f(u),s=a.reject,c=o(function(){var r=n(u.resolve);i(t,function(t){e(r,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(Uyt)return Xyt;Uyt=1;var t=wht(),e=Eyt();t({target:"Promise",stat:!0,forced:gyt().CONSTRUCTOR},{reject:function(t){var n=e.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(Wyt)return Jyt;Wyt=1;var t=wht(),e=Ydt(),n=Bft(),r=vyt(),o=gyt().CONSTRUCTOR,i=function(){if(Gyt)return Vyt;Gyt=1;var t=qdt(),e=Mft(),n=Eyt();return Vyt=function(r,o){if(t(r),e(o)&&o.constructor===r)return o;var i=n.f(r);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(a&&this===u?r:this,t)}})}());var Zyt,Qyt,tmt,emt,nmt,rmt={};!function(){if(nmt)return rmt;nmt=1;var t=hft().PROPER,e=Rpt(),n=qdt(),r=_ht(),o=uft(),i=function(){if(emt)return tmt;emt=1;var t=Kdt(),e=pft(),n=Xdt(),r=function(){if(Qyt)return Zyt;Qyt=1;var t=Fft(),e=uft(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return Zyt={correct:r}}(),o=jht(),i=RegExp.prototype;return tmt=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=n(this);return"/"+r(t.source)+"/"+r(i(t))},{unsafe:!0})}();var omt,imt,umt,amt={};!function(){if(umt)return amt;umt=1;var t=function(){if(imt)return omt;imt=1;var t=cft(),e=tht(),n=_ht(),r=fft(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return omt={codeAt:a(!1),charAt:a(!0)}}().charAt,e=_ht(),n=vpt(),r=Rvt(),o=_vt(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var smt,cmt,lmt,fmt,dmt={};function pmt(){if(cmt)return smt;cmt=1;var t=uft();return smt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function hmt(){if(fmt)return lmt;fmt=1;var t=Rpt();return lmt=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var vmt,gmt,ymt,mmt,bmt,Emt,wmt,Smt,Cmt,Dmt,Omt,Amt,xmt,Tmt,Nmt={exports:{}},Pmt={};function kmt(){if(Emt)return Nmt.exports;Emt=1;var t=wht(),e=cft(),n=hpt(),r=Mft(),o=pft(),i=lpt().f,u=iht(),a=function(){if(vmt)return Pmt;vmt=1;var t=kpt(),e=Bpt(),n=iht().f,r=hgt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Pmt.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},Pmt}(),s=function(){if(bmt)return mmt;bmt=1;var t=uft(),e=Mft(),n=kpt(),r=function(){if(ymt)return gmt;ymt=1;var t=uft();return gmt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return mmt=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=upt(),l=pmt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Nmt.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,Nmt.exports}function Imt(){if(Dmt)return Cmt;Dmt=1;var t=wht(),e=Fft(),n=cft(),r=Eht(),o=Rpt(),i=kmt(),u=Lyt(),a=syt(),s=mft(),c=lft(),l=Mft(),f=uft(),d=Myt(),p=Ivt(),h=function(){if(Smt)return wmt;Smt=1;var t=mft(),e=Mft(),n=Fvt();return wmt=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}();return Cmt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}Tmt||(Tmt=1,function(){if(xmt)return dmt;xmt=1;var t,e=pmt(),n=Fft(),r=cft(),o=hmt(),i=kmt(),u=Imt(),a=function(){if(Amt)return Omt;Amt=1;var t=cft(),e=hmt(),n=kmt().getWeakData,r=syt(),o=qdt(),i=lft(),u=Mft(),a=Lyt(),s=ugt(),c=pft(),l=vpt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Omt={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=Mft(),c=vpt().enforce,l=uft(),f=Lft(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var Bmt,Fmt,Rmt,_mt,jmt,Lmt,Mmt,zmt={};function Hmt(){return Fmt?Bmt:(Fmt=1,Bmt={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})}function $mt(){if(_mt)return Rmt;_mt=1;var t=Vdt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Rmt=e===Object.prototype?void 0:e}!function(){if(Mmt)return zmt;Mmt=1;var t=Fft(),e=Hmt(),n=$mt(),r=function(){if(Lmt)return jmt;Lmt=1;var t=ugt().forEach,e=Sht()("forEach");return jmt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},jmt}(),o=dpt(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var Umt,Vmt={};!function(){if(Umt)return Vmt;Umt=1;var t=Fft(),e=Hmt(),n=$mt(),r=jvt(),o=dpt(),i=Ivt(),u=apt()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var Gmt=function(){return Gmt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Gmt.apply(this,arguments)};function Wmt(t,e,n,r){return new(n||(n=Promise))(function(e,o){function i(t){try{a(r.next(t))}catch(t){o(t)}}function u(t){try{a(r.throw(t))}catch(t){o(t)}}function a(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n(function(t){t(r)})).then(i,u)}a((r=r.apply(t,[])).next())})}function qmt(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function Kmt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var Ymt=new WeakMap;function Xmt(t){return t.getMenuConfig("uploadImage")}function Jmt(t,e){return Wmt(this,0,void 0,function(){return qmt(this,function(n){return[2,new Promise(function(n){var r=new FileReader;r.readAsDataURL(e),r.onload=function(){var o=r.result;if(o){var i=o.toString(),u=0===i.indexOf("data:image")?"":i;jY(t,i,e.name,u),n("ok")}}})]})})}function Zmt(t,e){return Wmt(this,0,void 0,function(){var n,r;return qmt(this,function(o){switch(o.label){case 0:return n=function(t){var e=Ymt.get(t);if(null!=e)return e;var n=Xmt(t),r=n.onSuccess,o=n.onProgress,i=n.onFailed,u=n.customInsert,a=n.onError;return e=NB(Gmt(Gmt({},n),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,n){if(u)return u(n,function(e,n,r){return jY(t,e,n,r)}),void r(e,n);var o=n.errno,a=void 0===o?1:o,s=n.data,c=void 0===s?{}:s;if(0===a){if(Array.isArray(c))c.forEach(function(e){var n=e.url,r=void 0===n?"":n,o=e.alt,i=void 0===o?"":o,u=e.href;jY(t,r,i,void 0===u?"":u)});else{var l=c.url,f=void 0===l?"":l,d=c.alt,p=void 0===d?"":d,h=c.href;jY(t,f,p,void 0===h?"":h)}r(e,n)}else i(e,n)},onError:function(t,e,n){a(t,e,n)}})),Ymt.set(t,e),e}(t),r=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),n.addFiles(r),[4,n.upload()];case 1:return o.sent(),[2]}})})}function Qmt(t,e){return Wmt(this,0,void 0,function(){var n,r,o,i,u,a,s,c,l,f,d,p,h,v,g;return qmt(this,function(y){switch(y.label){case 0:if(null==e)return[2];n=Array.prototype.slice.call(e),r=Xmt(t),o=r.customUpload,i=r.base64LimitSize,u=[],y.label=1;case 1:y.trys.push([1,10,11,16]),a=!0,s=Kmt(n),y.label=2;case 2:return[4,s.next()];case 3:return c=y.sent(),(p=c.done)?[3,9]:(g=c.value,a=!1,f=(l=g).size,i&&f<=i?[4,Jmt(t,l)]:[3,5]);case 4:return y.sent(),[3,8];case 5:return o?[4,o(l,function(e,n,r){return jY(t,e,n,r)})]:[3,7];case 6:return y.sent(),[3,8];case 7:u.push(l),y.label=8;case 8:return a=!0,[3,2];case 9:return[3,16];case 10:return d=y.sent(),h={error:d},[3,16];case 11:return y.trys.push([11,,14,15]),a||p||!(v=s.return)?[3,13]:[4,v.call(s)];case 12:y.sent(),y.label=13;case 13:return[3,15];case 14:if(h)throw h.error;return[7];case 15:return[7];case 16:return u.length>0?[4,Zmt(t,u)]:[3,18];case 17:y.sent(),y.label=18;case 18:return[2]}})})}var tbt=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return FY(t)},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},t.prototype.exec=function(t,e){var n=this.getMenuConfig(t),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(e,n,r){return jY(t,e,n,r)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=Rp("body"),s=Rp('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;Qmt(t,e)})}},t}(),ebt={menus:[{key:"uploadImage",factory:function(){return new tbt},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,n){console.error("'".concat(t.name,"' upload error"),n)},base64LimitSize:0}}],editorPlugin:function(t){var e=t.insertData,n=t;return n.insertData=function(r){if(FY(n))e(r);else if(r.getData("text/plain"))e(r);else{var o=r.files;o.length<=0?e(r):Array.prototype.slice.call(o).some(function(t){return"image"===function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}(t.type.split("/"),1)[0]})?Qmt(t,o):e(r)}},n}};lI("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"}}),lI("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var nbt,rbt,obt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},ibt={};function ubt(){if(rbt)return nbt;rbt=1;var t=function(t){return t&&t.Math===Math&&t};return nbt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof obt&&obt)||t("object"==typeof nbt&&nbt)||function(){return this}()||Function("return this")()}var abt,sbt,cbt,lbt,fbt,dbt,pbt,hbt,vbt={};function gbt(){return sbt?abt:(sbt=1,abt=function(t){try{return!!t()}catch(t){return!0}})}function ybt(){if(lbt)return cbt;lbt=1;var t=gbt();return cbt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function mbt(){if(dbt)return fbt;dbt=1;var t=gbt();return fbt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function bbt(){if(hbt)return pbt;hbt=1;var t=mbt(),e=Function.prototype.call;return pbt=t?e.bind(e):function(){return e.apply(e,arguments)},pbt}var Ebt,wbt,Sbt,Cbt,Dbt,Obt,Abt,xbt,Tbt,Nbt,Pbt,kbt,Ibt,Bbt,Fbt,Rbt,_bt,jbt,Lbt,Mbt,zbt,Hbt,$bt,Ubt,Vbt,Gbt,Wbt,qbt,Kbt,Ybt,Xbt,Jbt,Zbt,Qbt,tEt,eEt,nEt,rEt,oEt,iEt,uEt,aEt={};function sEt(){return Sbt?wbt:(Sbt=1,wbt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function cEt(){if(Dbt)return Cbt;Dbt=1;var t=mbt(),e=Function.prototype,n=e.call,r=t&&e.bind.bind(n,n);return Cbt=t?r:function(t){return function(){return n.apply(t,arguments)}},Cbt}function lEt(){if(Abt)return Obt;Abt=1;var t=cEt(),e=t({}.toString),n=t("".slice);return Obt=function(t){return n(e(t),8,-1)}}function fEt(){if(Tbt)return xbt;Tbt=1;var t=cEt(),e=gbt(),n=lEt(),r=Object,o=t("".split);return xbt=e(function(){return!r("z").propertyIsEnumerable(0)})?function(t){return"String"===n(t)?o(t,""):r(t)}:r}function dEt(){return Pbt?Nbt:(Pbt=1,Nbt=function(t){return null==t})}function pEt(){if(Ibt)return kbt;Ibt=1;var t=dEt(),e=TypeError;return kbt=function(n){if(t(n))throw new e("Can't call method on "+n);return n}}function hEt(){if(Fbt)return Bbt;Fbt=1;var t=fEt(),e=pEt();return Bbt=function(n){return t(e(n))}}function vEt(){if(_bt)return Rbt;_bt=1;var t="object"==typeof document&&document.all;return Rbt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function gEt(){if(Lbt)return jbt;Lbt=1;var t=vEt();return jbt=function(e){return"object"==typeof e?null!==e:t(e)}}function yEt(){if(zbt)return Mbt;zbt=1;var t=ubt(),e=vEt();return Mbt=function(n,r){return arguments.length<2?(o=t[n],e(o)?o:void 0):t[n]&&t[n][r];var o},Mbt}function mEt(){if($bt)return Hbt;$bt=1;var t=cEt();return Hbt=t({}.isPrototypeOf)}function bEt(){if(Vbt)return Ubt;Vbt=1;var t=ubt().navigator,e=t&&t.userAgent;return Ubt=e?String(e):""}function EEt(){if(Wbt)return Gbt;Wbt=1;var t,e,n=ubt(),r=bEt(),o=n.process,i=n.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&r&&(!(t=r.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=r.match(/Chrome\/(\d+)/))&&(e=+t[1]),Gbt=e}function wEt(){if(Kbt)return qbt;Kbt=1;var t=EEt(),e=gbt(),n=ubt().String;return qbt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!n(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function SEt(){if(Xbt)return Ybt;Xbt=1;var t=wEt();return Ybt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function CEt(){if(Zbt)return Jbt;Zbt=1;var t=yEt(),e=vEt(),n=mEt(),r=SEt(),o=Object;return Jbt=r?function(t){return"symbol"==typeof t}:function(r){var i=t("Symbol");return e(i)&&n(i.prototype,o(r))}}function DEt(){if(tEt)return Qbt;tEt=1;var t=String;return Qbt=function(e){try{return t(e)}catch(t){return"Object"}}}function OEt(){if(nEt)return eEt;nEt=1;var t=vEt(),e=DEt(),n=TypeError;return eEt=function(r){if(t(r))return r;throw new n(e(r)+" is not a function")}}function AEt(){if(oEt)return rEt;oEt=1;var t=OEt(),e=dEt();return rEt=function(n,r){var o=n[r];return e(o)?void 0:t(o)}}var xEt,TEt,NEt,PEt,kEt,IEt,BEt,FEt,REt,_Et,jEt,LEt,MEt,zEt,HEt,$Et,UEt,VEt,GEt,WEt,qEt,KEt,YEt,XEt,JEt={exports:{}};function ZEt(){return TEt?xEt:(TEt=1,xEt=!1)}function QEt(){if(PEt)return NEt;PEt=1;var t=ubt(),e=Object.defineProperty;return NEt=function(n,r){try{e(t,n,{value:r,configurable:!0,writable:!0})}catch(e){t[n]=r}return r}}function twt(){if(kEt)return JEt.exports;kEt=1;var t=ZEt(),e=ubt(),n=QEt(),r="__core-js_shared__",o=JEt.exports=e[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),JEt.exports}function ewt(){if(BEt)return IEt;BEt=1;var t=twt();return IEt=function(e,n){return t[e]||(t[e]=n||{})}}function nwt(){if(REt)return FEt;REt=1;var t=pEt(),e=Object;return FEt=function(n){return e(t(n))}}function rwt(){if(jEt)return _Et;jEt=1;var t=cEt(),e=nwt(),n=t({}.hasOwnProperty);return _Et=Object.hasOwn||function(t,r){return n(e(t),r)}}function owt(){if(MEt)return LEt;MEt=1;var t=cEt(),e=0,n=Math.random(),r=t(1.1.toString);return LEt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++e+n,36)}}function iwt(){if(HEt)return zEt;HEt=1;var t=ubt(),e=ewt(),n=rwt(),r=owt(),o=wEt(),i=SEt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||r;return zEt=function(t){return n(a,t)||(a[t]=o&&n(u,t)?u[t]:s("Symbol."+t)),a[t]}}function uwt(){if(UEt)return $Et;UEt=1;var t=bbt(),e=gEt(),n=CEt(),r=AEt(),o=function(){if(uEt)return iEt;uEt=1;var t=bbt(),e=vEt(),n=gEt(),r=TypeError;return iEt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!n(a=t(u,o)))return a;if(e(u=o.valueOf)&&!n(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!n(a=t(u,o)))return a;throw new r("Can't convert object to primitive value")},iEt}(),i=iwt(),u=TypeError,a=i("toPrimitive");return $Et=function(i,s){if(!e(i)||n(i))return i;var c,l=r(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||n(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function awt(){if(GEt)return VEt;GEt=1;var t=uwt(),e=CEt();return VEt=function(n){var r=t(n,"string");return e(r)?r:r+""}}function swt(){if(qEt)return WEt;qEt=1;var t=ubt(),e=gEt(),n=t.document,r=e(n)&&e(n.createElement);return WEt=function(t){return r?n.createElement(t):{}}}function cwt(){if(YEt)return KEt;YEt=1;var t=ybt(),e=gbt(),n=swt();return KEt=!t&&!e(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function lwt(){if(XEt)return vbt;XEt=1;var t=ybt(),e=bbt(),n=function(){if(Ebt)return aEt;Ebt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,n=e&&!t.call({1:2},1);return aEt.f=n?function(t){var n=e(this,t);return!!n&&n.enumerable}:t,aEt}(),r=sEt(),o=hEt(),i=awt(),u=rwt(),a=cwt(),s=Object.getOwnPropertyDescriptor;return vbt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return r(!e(n.f,t,c),t[c])},vbt}var fwt,dwt,pwt,hwt,vwt,gwt,ywt,mwt={};function bwt(){if(dwt)return fwt;dwt=1;var t=ybt(),e=gbt();return fwt=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Ewt(){if(hwt)return pwt;hwt=1;var t=gEt(),e=String,n=TypeError;return pwt=function(r){if(t(r))return r;throw new n(e(r)+" is not an object")}}function wwt(){if(vwt)return mwt;vwt=1;var t=ybt(),e=cwt(),n=bwt(),r=Ewt(),o=awt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return mwt.f=t?n?function(t,e,n){if(r(t),e=o(e),r(n),"function"==typeof t&&"prototype"===e&&"value"in n&&l in n&&!n[l]){var i=a(t,e);i&&i[l]&&(t[e]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:s in n?n[s]:i[s],writable:!1})}return u(t,e,n)}:u:function(t,n,a){if(r(t),n=o(n),r(a),e)try{return u(t,n,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[n]=a.value),t},mwt}function Swt(){if(ywt)return gwt;ywt=1;var t=ybt(),e=wwt(),n=sEt();return gwt=t?function(t,r,o){return e.f(t,r,n(1,o))}:function(t,e,n){return t[e]=n,t}}var Cwt,Dwt,Owt,Awt,xwt,Twt,Nwt,Pwt,kwt,Iwt,Bwt,Fwt,Rwt,_wt,jwt,Lwt={exports:{}};function Mwt(){if(Dwt)return Cwt;Dwt=1;var t=ybt(),e=rwt(),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,o=e(n,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&r(n,"name").configurable);return Cwt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function zwt(){if(Awt)return Owt;Awt=1;var t=cEt(),e=vEt(),n=twt(),r=t(Function.toString);return e(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),Owt=n.inspectSource}function Hwt(){if(Twt)return xwt;Twt=1;var t=ubt(),e=vEt(),n=t.WeakMap;return xwt=e(n)&&/native code/.test(String(n))}function $wt(){if(Pwt)return Nwt;Pwt=1;var t=ewt(),e=owt(),n=t("keys");return Nwt=function(t){return n[t]||(n[t]=e(t))}}function Uwt(){return Iwt?kwt:(Iwt=1,kwt={})}function Vwt(){if(Fwt)return Bwt;Fwt=1;var t,e,n,r=Hwt(),o=ubt(),i=gEt(),u=Swt(),a=rwt(),s=twt(),c=$wt(),l=Uwt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(r||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},n=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},n=function(t){return a(t,v)}}return Bwt={set:t,get:e,has:n,enforce:function(r){return n(r)?e(r):t(r,{})},getterFor:function(t){return function(n){var r;if(!i(n)||(r=e(n)).type!==t)throw new d("Incompatible receiver, "+t+" required");return r}}}}function Gwt(){if(Rwt)return Lwt.exports;Rwt=1;var t=cEt(),e=gbt(),n=vEt(),r=rwt(),o=ybt(),i=Mwt().CONFIGURABLE,u=zwt(),a=Vwt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=Lwt.exports=function(t,e,n){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return r(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return n(this)&&c(this).source||u(this)},"toString"),Lwt.exports}function Wwt(){if(jwt)return _wt;jwt=1;var t=vEt(),e=wwt(),n=Gwt(),r=QEt();return _wt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&n(u,c,a),a.global)s?o[i]=u:r(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var qwt,Kwt,Ywt,Xwt,Jwt,Zwt,Qwt,tSt,eSt,nSt,rSt,oSt,iSt,uSt,aSt,sSt,cSt,lSt={};function fSt(){if(Xwt)return Ywt;Xwt=1;var t=function(){if(Kwt)return qwt;Kwt=1;var t=Math.ceil,e=Math.floor;return qwt=Math.trunc||function(n){var r=+n;return(r>0?e:t)(r)}}();return Ywt=function(e){var n=+e;return n!=n||0===n?0:t(n)}}function dSt(){if(Zwt)return Jwt;Zwt=1;var t=fSt(),e=Math.max,n=Math.min;return Jwt=function(r,o){var i=t(r);return i<0?e(i+o,0):n(i,o)}}function pSt(){if(tSt)return Qwt;tSt=1;var t=fSt(),e=Math.min;return Qwt=function(n){var r=t(n);return r>0?e(r,9007199254740991):0}}function hSt(){if(nSt)return eSt;nSt=1;var t=pSt();return eSt=function(e){return t(e.length)}}function vSt(){if(oSt)return rSt;oSt=1;var t=hEt(),e=dSt(),n=hSt(),r=function(r){return function(o,i,u){var a=t(o),s=n(a);if(0===s)return!r&&-1;var c,l=e(u,s);if(r&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((r||l in a)&&a[l]===i)return r||l||0;return!r&&-1}};return rSt={includes:r(!0),indexOf:r(!1)}}function gSt(){if(uSt)return iSt;uSt=1;var t=cEt(),e=rwt(),n=hEt(),r=vSt().indexOf,o=Uwt(),i=t([].push);return iSt=function(t,u){var a,s=n(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~r(l,a)||i(l,a));return l}}function ySt(){return sSt?aSt:(sSt=1,aSt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function mSt(){if(cSt)return lSt;cSt=1;var t=gSt(),e=ySt().concat("length","prototype");return lSt.f=Object.getOwnPropertyNames||function(n){return t(n,e)},lSt}var bSt,ESt,wSt,SSt,CSt,DSt,OSt,ASt,xSt,TSt,NSt,PSt,kSt,ISt,BSt,FSt,RSt,_St,jSt,LSt,MSt,zSt,HSt,$St,USt,VSt,GSt,WSt,qSt={};function KSt(){if(CSt)return SSt;CSt=1;var t=rwt(),e=function(){if(wSt)return ESt;wSt=1;var t=yEt(),e=cEt(),n=mSt(),r=(bSt||(bSt=1,qSt.f=Object.getOwnPropertySymbols),qSt),o=Ewt(),i=e([].concat);return ESt=t("Reflect","ownKeys")||function(t){var e=n.f(o(t)),u=r.f;return u?i(e,u(t)):e}}(),n=lwt(),r=wwt();return SSt=function(o,i,u){for(var a=e(i),s=r.f,c=n.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function YSt(){if(OSt)return DSt;OSt=1;var t=gbt(),e=vEt(),n=/#|\.prototype\./,r=function(n,r){var s=i[o(n)];return s===a||s!==u&&(e(r)?t(r):!!r)},o=r.normalize=function(t){return String(t).replace(n,".").toLowerCase()},i=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";return DSt=r}function XSt(){if(xSt)return ASt;xSt=1;var t=ubt(),e=lwt().f,n=Swt(),r=Wwt(),o=QEt(),i=KSt(),u=YSt();return ASt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&n(d,"sham",!0),r(c,l,d,a)}}}function JSt(){if(NSt)return TSt;NSt=1;var t=lEt();return TSt=Array.isArray||function(e){return"Array"===t(e)}}function ZSt(){if(BSt)return ISt;BSt=1;var t=ybt(),e=wwt(),n=sEt();return ISt=function(r,o,i){t?e.f(r,o,n(0,i)):r[o]=i}}function QSt(){if(RSt)return FSt;RSt=1;var t={};return t[iwt()("toStringTag")]="z",FSt="[object z]"===String(t)}function tCt(){if(jSt)return _St;jSt=1;var t=QSt(),e=vEt(),n=lEt(),r=iwt()("toStringTag"),o=Object,i="Arguments"===n(function(){return arguments}());return _St=t?n:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),r))?a:i?n(u):"Object"===(s=n(u))&&e(u.callee)?"Arguments":s}}function eCt(){if(MSt)return LSt;MSt=1;var t=cEt(),e=gbt(),n=vEt(),r=tCt(),o=yEt(),i=zwt(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!n(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!n(t))return!1;switch(r(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,LSt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function nCt(){if(USt)return $St;USt=1;var t=function(){if(HSt)return zSt;HSt=1;var t=JSt(),e=eCt(),n=gEt(),r=iwt()("species"),o=Array;return zSt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||n(u)&&null===(u=u[r]))&&(u=void 0)),void 0===u?o:u}}();return $St=function(e,n){return new(t(e))(0===n?0:n)}}function rCt(){if(GSt)return VSt;GSt=1;var t=gbt(),e=iwt(),n=EEt(),r=e("species");return VSt=function(e){return n>=51||!t(function(){var t=[];return(t.constructor={})[r]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(WSt)return ibt;WSt=1;var t=XSt(),e=gbt(),n=JSt(),r=gEt(),o=nwt(),i=hSt(),u=function(){if(kSt)return PSt;kSt=1;var t=TypeError;return PSt=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=ZSt(),s=nCt(),c=rCt(),l=iwt(),f=EEt(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!r(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,n,r,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),n=0;n<c;n++,p++)n in l&&a(d,p,l[n]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var oCt,iCt,uCt,aCt,sCt,cCt,lCt,fCt,dCt,pCt={};function hCt(){if(iCt)return oCt;iCt=1;var t=tCt(),e=String;return oCt=function(n){if("Symbol"===t(n))throw new TypeError("Cannot convert a Symbol value to a string");return e(n)}}function vCt(){return aCt?uCt:(aCt=1,uCt="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(dCt)return pCt;dCt=1;var t=XSt(),e=function(){if(cCt)return sCt;cCt=1;var t=cEt(),e=pEt(),n=hCt(),r=vCt(),o=t("".replace),i=RegExp("^["+r+"]+"),u=RegExp("(^|[^"+r+"])["+r+"]+$"),a=function(t){return function(r){var a=n(e(r));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return sCt={start:a(1),end:a(2),trim:a(3)}}().trim,n=function(){if(fCt)return lCt;fCt=1;var t=Mwt().PROPER,e=gbt(),n=vCt();return lCt=function(r){return e(function(){return!!n[r]()||"
"!=="
"[r]()||t&&n[r].name!==r})}}();t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return e(this)}})}();var gCt,yCt,mCt={};function bCt(t){return t.length?t[0].tagName.toLowerCase():""}function ECt(t,e,n,r){void 0===e&&(e="auto"),void 0===n&&(n="auto"),void 0===r&&(r={});var o=Rp(t),i=r.width,u=void 0===i?"":i,a=r.height,s=void 0===a?"":a,c="";return u&&(c+="width: ".concat(u,";")),s&&(c+="height: ".concat(s,";")),o.attr("width",e),o.attr("height",n),o.attr("style",c),o[0].outerHTML}yCt||(yCt=1,function(){if(gCt)return mCt;gCt=1;var t=XSt(),e=ubt();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),rh&&(Rp.fn.append=rh),Vp&&(Rp.fn.on=Vp),hh&&(Rp.fn.focus=hh),Mp&&(Rp.fn.attr=Mp),Up&&(Rp.fn.val=Up),th&&(Rp.fn.html=th),ih&&(Rp.fn.parent=ih),Lp&&(Rp.fn.hasClass=Lp),lh&&(Rp.fn.empty=lh);var wCt,SCt,CCt,DCt={type:"video",elemToHtml:function(t,e){var n=t,r=n.src,o=void 0===r?"":r,i=n.poster,u=void 0===i?"":i,a=n.width,s=void 0===a?"auto":a,c=n.height,l=void 0===c?"auto":c,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: '.concat(void 0===p?"center":p,';">\n');if(0===o.trim().indexOf("<iframe "))h+=ECt(o,s,l,d);else{var v=d.width,g=void 0===v?"":v,y=d.height,m=void 0===y?"":y,b="";g&&(b+="width: ".concat(g,";")),m&&(b+="height: ".concat(m,";")),h+='<video poster="'.concat(u,'" controls="true" width="').concat(s,'" height="').concat(l,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return h+"\n</div>"}},OCt={};function ACt(){if(SCt)return wCt;SCt=1;var t=Gwt(),e=wwt();return wCt=function(n,r,o){return o.get&&t(o.get,r,{getter:!0}),o.set&&t(o.set,r,{setter:!0}),e.f(n,r,o)}}!function(){if(CCt)return OCt;CCt=1;var t=ybt(),e=Mwt().EXISTS,n=cEt(),r=ACt(),o=Function.prototype,i=n(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=n(u.exec);t&&!e&&r(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var xCt,TCt,NCt,PCt,kCt,ICt,BCt={};function FCt(){if(PCt)return NCt;PCt=1;var t=function(){if(TCt)return xCt;TCt=1;var t=lEt(),e=cEt();return xCt=function(n){if("Function"===t(n))return e(n)}}(),e=OEt(),n=mbt(),r=t(t.bind);return NCt=function(t,o){return e(t),void 0===o?t:n?r(t,o):function(){return t.apply(o,arguments)}},NCt}function RCt(){if(ICt)return kCt;ICt=1;var t=FCt(),e=cEt(),n=fEt(),r=nwt(),o=hSt(),i=nCt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=r(h),w=n(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return kCt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}var _Ct,jCt,LCt,MCt,zCt,HCt,$Ct,UCt,VCt,GCt,WCt={};function qCt(){if(zCt)return MCt;zCt=1;var t=yEt();return MCt=t("document","documentElement")}function KCt(){if($Ct)return HCt;$Ct=1;var t,e=Ewt(),n=function(){if(LCt)return WCt;LCt=1;var t=ybt(),e=bwt(),n=wwt(),r=Ewt(),o=hEt(),i=function(){if(jCt)return _Ct;jCt=1;var t=gSt(),e=ySt();return _Ct=Object.keys||function(n){return t(n,e)}}();return WCt.f=t&&!e?Object.defineProperties:function(t,e){r(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)n.f(t,u=s[l++],a[u]);return t},WCt}(),r=ySt(),o=Uwt(),i=qCt(),u=swt(),a=$wt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,n,o;h="undefined"!=typeof document?document.domain&&t?p(t):(n=u("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(e=n.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=r.length;a--;)delete h[s][r[a]];return h()};return o[l]=!0,HCt=Object.create||function(t,r){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===r?o:n.f(o,r)}}function YCt(){if(VCt)return UCt;VCt=1;var t=iwt(),e=KCt(),n=wwt().f,r=t("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:e(null)}),UCt=function(t){o[r][t]=!0}}!function(){if(GCt)return BCt;GCt=1;var t=XSt(),e=RCt().find,n=YCt(),r="find",o=!0;r in[]&&Array(1)[r](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)}();var XCt,JCt,ZCt,QCt={};!function(){if(ZCt)return QCt;ZCt=1;var t=QSt(),e=Wwt(),n=function(){if(JCt)return XCt;JCt=1;var t=QSt(),e=tCt();return XCt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",n,{unsafe:!0})}();var tDt,eDt,nDt,rDt,oDt,iDt,uDt,aDt,sDt,cDt,lDt,fDt={};function dDt(){if(eDt)return tDt;eDt=1;var t=Ewt();return tDt=function(){var e=t(this),n="";return e.hasIndices&&(n+="d"),e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.dotAll&&(n+="s"),e.unicode&&(n+="u"),e.unicodeSets&&(n+="v"),e.sticky&&(n+="y"),n}}function pDt(){if(cDt)return sDt;cDt=1;var t,e,n=bbt(),r=cEt(),o=hCt(),i=dDt(),u=function(){if(rDt)return nDt;rDt=1;var t=gbt(),e=ubt().RegExp,n=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),r=n||t(function(){return!e("a","y").sticky}),o=n||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return nDt={BROKEN_CARET:o,MISSED_STICKY:r,UNSUPPORTED_Y:n}}(),a=ewt(),s=KCt(),c=Vwt().get,l=function(){if(iDt)return oDt;iDt=1;var t=gbt(),e=ubt().RegExp;return oDt=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(aDt)return uDt;aDt=1;var t=gbt(),e=ubt().RegExp;return uDt=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=r("".charAt),g=r("".indexOf),y=r("".replace),m=r("".slice),b=(e=/b*/g,n(p,t=/a/,"a"),n(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,r,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=n(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=n(i,C),P=C.source,k=0,I=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),I=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(P="(?: "+P+")",I=" "+I,k++),r=new RegExp("^(?:"+P+")",N)),w&&(r=new RegExp("^"+P+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=n(p,T?r:C,I),T?a?(a.input=m(a.input,k),a[0]=m(a[0],k),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&n(d,a[0],r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),sDt=h}function hDt(){if(lDt)return fDt;lDt=1;var t=XSt(),e=pDt();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),fDt}hDt();var vDt=function(){return vDt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},vDt.apply(this,arguments)};function gDt(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{s(r.next(t))}catch(t){i(t)}}function a(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(u,a)}s((r=r.apply(t,e||[])).next())})}function yDt(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function mDt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function bDt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var EDt,wDt,SDt,CDt,DDt,ODt,ADt,xDt,TDt,NDt,PDt,kDt,IDt,BDt,FDt,RDt,_Dt,jDt={};function LDt(){if(wDt)return EDt;wDt=1;var t=mbt(),e=Function.prototype,n=e.apply,r=e.call;return EDt="object"==typeof Reflect&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)}),EDt}function MDt(){if(ODt)return DDt;ODt=1;var t=cEt(),e=fSt(),n=hCt(),r=pEt(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=n(r(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return DDt={codeAt:a(!1),charAt:a(!0)}}function zDt(){if(BDt)return IDt;BDt=1;var t=bbt(),e=rwt(),n=mEt(),r=function(){if(kDt)return PDt;kDt=1;var t=ubt(),e=gbt(),n=t.RegExp,r=!e(function(){var t=!0;try{n(".","d")}catch(e){t=!1}var e={},r="",o=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(n.prototype,"flags").get.call(e)!==o||r!==o});return PDt={correct:r}}(),o=dDt(),i=RegExp.prototype;return IDt=r.correct?function(t){return t.flags}:function(u){return r.correct||!n(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(_Dt)return jDt;_Dt=1;var t=LDt(),e=bbt(),n=cEt(),r=function(){if(CDt)return SDt;CDt=1,hDt();var t=bbt(),e=Wwt(),n=pDt(),r=gbt(),o=iwt(),i=Swt(),u=o("species"),a=RegExp.prototype;return SDt=function(s,c,l,f){var d=o(s),p=!r(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!r(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,r,o,i,u){var s=r.exec;return s===n||s===a.exec?p&&!u?{done:!0,value:t(v,r,o,i)}:{done:!0,value:t(e,o,r,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=gbt(),i=Ewt(),u=vEt(),a=gEt(),s=fSt(),c=pSt(),l=hCt(),f=pEt(),d=function(){if(xDt)return ADt;xDt=1;var t=MDt().charAt;return ADt=function(e,n,r){return n+(r?t(e,n).length:1)}}(),p=AEt(),h=function(){if(NDt)return TDt;NDt=1;var t=cEt(),e=nwt(),n=Math.floor,r=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return TDt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(r(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=n(a/10);return 0===d?e:d<=h?void 0===l[d-1]?r(o,1):l[d-1]+r(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=zDt(),g=function(){if(RDt)return FDt;RDt=1;var t=bbt(),e=Ewt(),n=vEt(),r=lEt(),o=pDt(),i=TypeError;return FDt=function(u,a){var s=u.exec;if(n(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===r(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=iwt()("replace"),m=Math.max,b=Math.min,E=n([].concat),w=n([].push),S=n("".indexOf),C=n("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");r("replace",function(n,r,o){var O=A?"$":"$0";return[function(t,n){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,n):e(r,l(o),t,n)},function(e,n){var a=i(this),f=l(e);if("string"==typeof n&&-1===S(n,O)&&-1===S(n,"$<")){var p=o(r,a,f,n);if(p.done)return p.value}var y=u(n);y||(n=l(n));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,P=[];null!==(N=g(a,f))&&(w(P,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var k="",I=0,B=0;B<P.length;B++){for(var F,R=l((N=P[B])[0]),_=m(b(s(N.index),f.length),0),j=[],L=1;L<N.length;L++)w(j,D(N[L]));var M=N.groups;if(y){var z=E([R],j,_,f);void 0!==M&&w(z,M),F=l(t(n,void 0,z))}else F=h(R,f,_,j,M,n);_>=I&&(k+=C(f,I,_)+F,I=_+R.length)}return k+C(f,I)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var HDt,$Dt,UDt,VDt,GDt,WDt,qDt,KDt,YDt,XDt={};function JDt(){return $Dt?HDt:($Dt=1,HDt={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})}function ZDt(){if(VDt)return UDt;VDt=1;var t=swt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return UDt=e===Object.prototype?void 0:e}function QDt(){if(WDt)return GDt;WDt=1;var t=gbt();return GDt=function(e,n){var r=[][e];return!!r&&t(function(){r.call(null,n||function(){return 1},1)})}}function tOt(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(vh())}function eOt(t){var e={};return t.trim().split(";").forEach(function(t){if(t){var n=mDt(t.split(":"),2),r=n[0],o=n[1];r&&o&&(e[r.trim()]=o.trim())}}),e}function nOt(){return tOt("w-e-insert-video")}!function(){if(YDt)return XDt;YDt=1;var t=ubt(),e=JDt(),n=ZDt(),r=function(){if(KDt)return qDt;KDt=1;var t=RCt().forEach,e=QDt()("forEach");return qDt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},qDt}(),o=Swt(),i=function(t){if(t&&t.forEach!==r)try{o(t,"forEach",r)}catch(e){t.forEach=r}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(n)}();var rOt=function(){function t(){this.title=dI("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=nOt(),this.heightInputId=nOt(),this.buttonId=nOt()}return t.prototype.getSelectedVideoNode=function(t){return eP.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=e.widthInputId,r=e.heightInputId,o=e.buttonId,i=mDt(CI(dI("videoModule.width"),n,"auto"),2),u=i[0],a=Rp(i[1]),s=mDt(CI(dI("videoModule.height"),r,"auto"),2),c=s[0],l=Rp(s[1]),f=mDt(DI(o,dI("videoModule.ok")),1)[0],d=this.getSelectedVideoNode(t);if(null==this.$content){var p=Rp("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(n)).val().trim(),i=p.find("#".concat(r)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s="auto",c="auto";u(o)?s=o:a(o)&&(s="".concat(parseInt(o,10),"px")),u(i)?c=i:a(i)&&(c="".concat(parseInt(i,10),"px"));var l=d.style,f=void 0===l?{}:l;t.restoreSelection();var h={style:vDt(vDt({},f),{width:s,height:c})};yp.Transforms.setNodes(t,h,{match:function(t){return eP.checkNodeType(t,"video")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"":y,b=g.height,E=void 0===b?"":b;return a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function oOt(){return tOt("w-e-edit-video")}var iOt,uOt,aOt,sOt,cOt,lOt,fOt,dOt,pOt,hOt,vOt,gOt,yOt,mOt,bOt,EOt,wOt,SOt,COt,DOt,OOt,AOt,xOt,TOt,NOt,POt,kOt,IOt,BOt,FOt,ROt,_Ot,jOt,LOt,MOt,zOt,HOt,$Ot,UOt,VOt,GOt,WOt,qOt,KOt,YOt,XOt,JOt,ZOt,QOt,tAt,eAt=function(){function t(){this.title=dI("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=oOt(),this.posterInputId=oOt(),this.buttonId=oOt()}return t.prototype.getSelectedVideoNode=function(t){return eP.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,u=mDt(CI(dI("videoModule.videoSrc"),r,dI("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=mDt(CI(dI("videoModule.videoPoster"),o,dI("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=Rp(s),p=Rp(f),h=mDt(DI(i,dI("videoModule.ok")),1)[0];if(null==this.$content){var v=Rp("<div></div>");v.on("click","#".concat(i),function(n){return gDt(e,void 0,void 0,function(){var e,i,u,a;return yDt(this,function(s){return n.preventDefault(),e=v.find("#".concat(r)).val().trim(),i=v.find("#".concat(o)).val().trim(),u=tOt("video-"),a={src:e,poster:i,key:u},t.restoreSelection(),yp.Transforms.setNodes(t,a,{match:function(t){return eP.checkNodeType(t,"video")}}),t.hidePanelOrModal(),[2]})})}),this.$content=v}var g=this.$content;g.empty(),g.append(a),g.append(l),g.append(h);var y=this.getSelectedVideoNode(t);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]},t}(),nAt={};function rAt(){if(uOt)return iOt;uOt=1;var t=ubt(),e=bEt(),n=lEt(),r=function(t){return e.slice(0,t.length)===t};return iOt=r("Bun/")?"BUN":r("Cloudflare-Workers")?"CLOUDFLARE":r("Deno/")?"DENO":r("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===n(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function oAt(){if(sOt)return aOt;sOt=1;var t=rAt();return aOt="NODE"===t}function iAt(){if(gOt)return vOt;gOt=1;var t=function(){if(hOt)return pOt;hOt=1;var t=gEt();return pOt=function(e){return t(e)||null===e}}(),e=String,n=TypeError;return vOt=function(r){if(t(r))return r;throw new n("Can't set "+e(r)+" as a prototype")}}function uAt(){if(mOt)return yOt;mOt=1;var t=function(){if(dOt)return fOt;dOt=1;var t=cEt(),e=OEt();return fOt=function(n,r,o){try{return t(e(Object.getOwnPropertyDescriptor(n,r)[o]))}catch(t){}}}(),e=gEt(),n=pEt(),r=iAt();return yOt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return n(t),r(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function aAt(){if(EOt)return bOt;EOt=1;var t=wwt().f,e=rwt(),n=iwt()("toStringTag");return bOt=function(r,o,i){r&&!i&&(r=r.prototype),r&&!e(r,n)&&t(r,n,{configurable:!0,value:o})}}function sAt(){if(SOt)return wOt;SOt=1;var t=yEt(),e=ACt(),n=iwt(),r=ybt(),o=n("species");return wOt=function(n){var i=t(n);r&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}function cAt(){if(DOt)return COt;DOt=1;var t=mEt(),e=TypeError;return COt=function(n,r){if(t(r,n))return n;throw new e("Incorrect invocation")}}function lAt(){if(TOt)return xOt;TOt=1;var t=Ewt(),e=function(){if(AOt)return OOt;AOt=1;var t=eCt(),e=DEt(),n=TypeError;return OOt=function(r){if(t(r))return r;throw new n(e(r)+" is not a constructor")}}(),n=dEt(),r=iwt()("species");return xOt=function(o,i){var u,a=t(o).constructor;return void 0===a||n(u=t(a)[r])?i:e(u)}}function fAt(){if(POt)return NOt;POt=1;var t=cEt();return NOt=t([].slice)}function dAt(){if(FOt)return BOt;FOt=1;var t=bEt();return BOt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function pAt(){if(_Ot)return ROt;_Ot=1;var t,e,n,r,o=ubt(),i=LDt(),u=FCt(),a=vEt(),s=rwt(),c=gbt(),l=qCt(),f=fAt(),d=swt(),p=function(){if(IOt)return kOt;IOt=1;var t=TypeError;return kOt=function(e,n){if(e<n)throw new t("Not enough arguments");return e}}(),h=dAt(),v=oAt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var n=a(t)?t:E(t),r=f(arguments,1);return D[++C]=function(){i(n,void 0,r)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(r=(n=new w).port2,n.port1.onmessage=T,e=u(r.postMessage,r)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),ROt={set:g,clear:y}}function hAt(){if(zOt)return MOt;zOt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},MOt=t}function vAt(){if(WOt)return GOt;WOt=1;var t,e,n,r,o,i=ubt(),u=function(){if(LOt)return jOt;LOt=1;var t=ubt(),e=ybt(),n=Object.getOwnPropertyDescriptor;return jOt=function(r){if(!e)return t[r];var o=n(t,r);return o&&o.value}}(),a=FCt(),s=pAt().set,c=hAt(),l=dAt(),f=function(){if($Ot)return HOt;$Ot=1;var t=bEt();return HOt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(VOt)return UOt;VOt=1;var t=bEt();return UOt=/web0s(?!.*chrome)/i.test(t)}(),p=oAt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,n;for(p&&(e=g.domain)&&e.exit();n=b.get();)try{n()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((r=y.resolve(void 0)).constructor=y,o=a(r.then,r),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,n=v.createTextNode(""),new h(E).observe(n,{characterData:!0}),t=function(){n.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return GOt=m}function gAt(){return XOt?YOt:(XOt=1,YOt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function yAt(){if(ZOt)return JOt;ZOt=1;var t=ubt();return JOt=t.Promise}function mAt(){if(tAt)return QOt;tAt=1;var t=ubt(),e=yAt(),n=vEt(),r=YSt(),o=zwt(),i=iwt(),u=rAt(),a=ZEt(),s=EEt(),c=e&&e.prototype,l=i("species"),f=!1,d=n(t.PromiseRejectionEvent),p=r("Promise",function(){var t=o(e),n=t!==String(e);if(!n&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var r=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((r.constructor={})[l]=i,!(f=r.then(function(){})instanceof i))return!0}return!(n||"BROWSER"!==u&&"DENO"!==u||d)});return QOt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var bAt,EAt,wAt={};function SAt(){if(bAt)return wAt;bAt=1;var t=OEt(),e=TypeError,n=function(n){var r,o;this.promise=new n(function(t,n){if(void 0!==r||void 0!==o)throw new e("Bad Promise constructor");r=t,o=n}),this.resolve=t(r),this.reject=t(o)};return wAt.f=function(t){return new n(t)},wAt}var CAt,DAt,OAt,AAt,xAt,TAt,NAt,PAt,kAt,IAt,BAt,FAt,RAt,_At,jAt,LAt,MAt,zAt={};function HAt(){return DAt?CAt:(DAt=1,CAt={})}function $At(){if(TAt)return xAt;TAt=1;var t=tCt(),e=AEt(),n=dEt(),r=HAt(),o=iwt()("iterator");return xAt=function(i){if(!n(i))return e(i,o)||e(i,"@@iterator")||r[t(i)]}}function UAt(){if(FAt)return BAt;FAt=1;var t=FCt(),e=bbt(),n=Ewt(),r=DEt(),o=function(){if(AAt)return OAt;AAt=1;var t=iwt(),e=HAt(),n=t("iterator"),r=Array.prototype;return OAt=function(t){return void 0!==t&&(e.Array===t||r[n]===t)}}(),i=hSt(),u=mEt(),a=function(){if(PAt)return NAt;PAt=1;var t=bbt(),e=OEt(),n=Ewt(),r=DEt(),o=$At(),i=TypeError;return NAt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return n(t(s,u));throw new i(r(u)+" is not iterable")},NAt}(),s=$At(),c=function(){if(IAt)return kAt;IAt=1;var t=bbt(),e=Ewt(),n=AEt();return kAt=function(r,o,i){var u,a;e(r);try{if(!(u=n(r,"return"))){if("throw"===o)throw i;return i}u=t(u,r)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return BAt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},P=function(t){return D?(n(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(r(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=P(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=P(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function VAt(){if(_At)return RAt;_At=1;var t=iwt()("iterator"),e=!1;try{var n=0,r={next:function(){return{done:!!n++}},return:function(){e=!0}};r[t]=function(){return this},Array.from(r,function(){throw 2})}catch(t){}return RAt=function(n,r){try{if(!r&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},n(i)}catch(t){}return o}}function GAt(){if(LAt)return jAt;LAt=1;var t=yAt(),e=VAt(),n=mAt().CONSTRUCTOR;return jAt=n||!e(function(e){t.all(e).then(void 0,function(){})})}var WAt,qAt,KAt,YAt,XAt,JAt,ZAt,QAt={},txt={},ext={},nxt={};function rxt(t,e){return gDt(this,arguments,void 0,function(t,e,n,r,o){var i,u,a,s,c,l,f;return void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o=""),yDt(this,function(d){switch(d.label){case 0:return e?(t.restoreSelection(),i=t.getMenuConfig("insertVideo"),u=i.onInsertedVideo,a=i.checkVideo,s=i.parseVideoSrc,[4,a(e,n)]):[2];case 1:return"string"==typeof(c=d.sent())?(t.alert(c,"error"),[2]):null==c?[2]:[4,s(e)];case 2:return 0!==(l=d.sent()).trim().indexOf("<iframe ")&&(l=l.replace(/</g,"<").replace(/>/g,">")),f={type:"video",src:l,poster:n,children:[{text:""}],style:{width:r,height:o}},Promise.resolve().then(function(){eP.isSelectedEmptyParagraph(t)&&yp.Transforms.removeNodes(t,{mode:"highest"}),yp.Transforms.insertNodes(t,f,{mode:"highest"})}),u(f),[2]}})})}function oxt(){return tOt("w-e-insert-video")}ZAt||(ZAt=1,function(){if(EAt)return nAt;EAt=1;var t,e,n,r,o=XSt(),i=ZEt(),u=oAt(),a=ubt(),s=function(){if(lOt)return cOt;lOt=1;var t=ubt();return cOt=t}(),c=bbt(),l=Wwt(),f=uAt(),d=aAt(),p=sAt(),h=OEt(),v=vEt(),g=gEt(),y=cAt(),m=lAt(),b=pAt().set,E=vAt(),w=(KOt||(KOt=1,qOt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),qOt),S=gAt(),C=hAt(),D=Vwt(),O=yAt(),A=mAt(),x=SAt(),T="Promise",N=A.CONSTRUCTOR,P=A.REJECTION_EVENT,k=A.SUBCLASSING,I=D.getterFor(T),B=D.set,F=O&&O.prototype,R=O,_=F,j=a.TypeError,L=a.document,M=a.process,z=x.f,H=z,$=!!(L&&L.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===t.promise?l(new j("Promise-chain cycle")):(r=V(n))?c(r,n,s,l):s(n)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var n,r=t.reactions;n=r.get();)G(n,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,n){var r,o;$?((r=L.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),a.dispatchEvent(r)):r={promise:e,reason:n},!P&&(o=a["on"+t])?o(r):t===U&&w("Unhandled promise rejection",n)},K=function(t){c(b,a,function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",r,n):q(U,n,r)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,n){return function(r){t(e,r,n)}},Z=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new j("Promise can't be resolved itself");var r=V(e);r?E(function(){var n={done:!1};try{c(r,e,J(Q,n,t),J(Z,n,t))}catch(e){Z(n,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(_=(R=function(e){y(this,_),h(e),c(t,this);var n=I(this);try{e(J(Q,n),J(Z,n))}catch(t){Z(n,t)}}).prototype,(t=function(t){B(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(_,"then",function(t,e){var n=I(this),r=z(m(this,R));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=u?M.domain:void 0,0===n.state?n.reactions.add(r):E(function(){G(r,n)}),r.promise}),e=function(){var e=new t,n=I(e);this.promise=e,this.resolve=J(Q,n),this.reject=J(Z,n)},x.f=z=function(t){return t===R||t===n?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){r=F.then,k||l(F,"then",function(t,e){var n=this;return new R(function(t,e){c(r,n,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,_)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),n=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(MAt)return zAt;MAt=1;var t=XSt(),e=bbt(),n=OEt(),r=SAt(),o=gAt(),i=UAt();t({target:"Promise",stat:!0,forced:GAt()},{all:function(t){var u=this,a=r.f(u),s=a.resolve,c=a.reject,l=o(function(){var r=n(u.resolve),o=[],a=0,l=1;i(t,function(t){var n=a++,i=!1;l++,e(r,u,t).then(function(t){i||(i=!0,o[n]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(WAt)return QAt;WAt=1;var t=XSt(),e=ZEt(),n=mAt().CONSTRUCTOR,r=yAt(),o=yEt(),i=vEt(),u=Wwt(),a=r&&r.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(r)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(qAt)return txt;qAt=1;var t=XSt(),e=bbt(),n=OEt(),r=SAt(),o=gAt(),i=UAt();t({target:"Promise",stat:!0,forced:GAt()},{race:function(t){var u=this,a=r.f(u),s=a.reject,c=o(function(){var r=n(u.resolve);i(t,function(t){e(r,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(KAt)return ext;KAt=1;var t=XSt(),e=SAt();t({target:"Promise",stat:!0,forced:mAt().CONSTRUCTOR},{reject:function(t){var n=e.f(this);return(0,n.reject)(t),n.promise}})}(),function(){if(JAt)return nxt;JAt=1;var t=XSt(),e=yEt(),n=ZEt(),r=yAt(),o=mAt().CONSTRUCTOR,i=function(){if(XAt)return YAt;XAt=1;var t=Ewt(),e=gEt(),n=SAt();return YAt=function(r,o){if(t(r),e(o)&&o.constructor===r)return o;var i=n.f(r);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=n&&!o;t({target:"Promise",stat:!0,forced:n||o},{resolve:function(t){return i(a&&this===u?r:this,t)}})}());var ixt,uxt,axt,sxt,cxt,lxt,fxt,dxt,pxt,hxt,vxt,gxt,yxt,mxt,bxt,Ext=function(){function t(){this.title=dI("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=oxt(),this.posterInputId=oxt(),this.buttonId=oxt()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!eP.getSelectedElems(t).some(function(e){var n=eP.getNodeType(e);return"pre"===n||"list-item"===n||!!t.isVoid(e)})},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,n=this,r=n.srcInputId,o=n.posterInputId,i=n.buttonId,u=mDt(CI(dI("videoModule.videoSrc"),r,dI("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=mDt(CI(dI("videoModule.videoPoster"),o,dI("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=Rp(s),p=Rp(f),h=mDt(DI(i,dI("videoModule.ok")),1)[0];if(null==this.$content){var v=Rp("<div></div>");v.on("click","#".concat(i),function(n){return gDt(e,void 0,void 0,function(){var e,i;return yDt(this,function(u){switch(u.label){case 0:return n.preventDefault(),e=v.find("#".concat(r)).val().trim(),i=v.find("#".concat(o)).val().trim(),[4,rxt(t,e,i)];case 1:return u.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=v}var g=this.$content;return g.empty(),g.append(a),g.append(l),g.append(h),d.val(""),p.val(""),setTimeout(function(){d.focus()}),g[0]},t}(),wxt={};function Sxt(){if(cxt)return sxt;cxt=1;var t=rwt(),e=vEt(),n=nwt(),r=$wt(),o=function(){if(axt)return uxt;axt=1;var t=gbt();return uxt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=r("IE_PROTO"),u=Object,a=u.prototype;return sxt=o?u.getPrototypeOf:function(r){var o=n(r);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function Cxt(){if(fxt)return lxt;fxt=1;var t,e,n,r=gbt(),o=vEt(),i=gEt(),u=KCt(),a=Sxt(),s=Wwt(),c=iwt(),l=ZEt(),f=c("iterator"),d=!1;return[].keys&&("next"in(n=[].keys())?(e=a(a(n)))!==Object.prototype&&(t=e):d=!0),!i(t)||r(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),lxt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function Dxt(){if(vxt)return hxt;vxt=1;var t=XSt(),e=bbt(),n=ZEt(),r=Mwt(),o=vEt(),i=function(){if(pxt)return dxt;pxt=1;var t=Cxt().IteratorPrototype,e=KCt(),n=sEt(),r=aAt(),o=HAt(),i=function(){return this};return dxt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:n(+!c,s)}),r(u,l,!1,!0),o[l]=i,u}}(),u=Sxt(),a=uAt(),s=aAt(),c=Swt(),l=Wwt(),f=iwt(),d=HAt(),p=Cxt(),h=r.PROPER,v=r.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return hxt=function(r,f,p,C,D,O,A){i(p,f,C);var x,T,N,P=function(t){if(t===D&&R)return R;if(!y&&t&&t in B)return B[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},k=f+" Iterator",I=!1,B=r.prototype,F=B[m]||B["@@iterator"]||D&&B[D],R=!y&&F||P(D),_="Array"===f&&B.entries||F;if(_&&(x=u(_.call(new r)))!==Object.prototype&&x.next&&(n||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,k,!0,!0),n&&(d[k]=S)),h&&D===E&&F&&F.name!==E&&(!n&&v?c(B,"name",E):(I=!0,R=function(){return e(F,this)})),D)if(T={values:P(E),keys:O?R:P(b),entries:P(w)},A)for(N in T)(y||I||!(N in B))&&l(B,N,T[N]);else t({target:f,proto:!0,forced:y||I},T);return n&&!A||B[m]===R||l(B,m,R,{name:D}),d[f]=R,T}}function Oxt(){return yxt?gxt:(yxt=1,gxt=function(t,e){return{value:t,done:e}})}function Axt(){if(bxt)return mxt;bxt=1;var t=hEt(),e=YCt(),n=HAt(),r=Vwt(),o=wwt().f,i=Dxt(),u=Oxt(),a=ZEt(),s=ybt(),c="Array Iterator",l=r.set,f=r.getterFor(c);mxt=i(Array,"Array",function(e,n){l(this,{type:c,target:t(e),index:0,kind:n})},function(){var t=f(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)},"values");var d=n.Arguments=n.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return mxt}!function(){if(ixt)return wxt;ixt=1;var t=XSt(),e=cEt(),n=fEt(),r=hEt(),o=QDt(),i=e([].join);t({target:"Array",proto:!0,forced:n!==Object||!o("join",",")},{join:function(t){return i(r(this),void 0===t?",":t)}})}(),Axt();var xxt,Txt={};!function(){if(xxt)return Txt;xxt=1;var t=XSt(),e=RCt().map;t({target:"Array",proto:!0,forced:!rCt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Nxt,Pxt={};!function(){if(Nxt)return Pxt;Nxt=1;var t=XSt(),e=JSt(),n=eCt(),r=gEt(),o=dSt(),i=hSt(),u=hEt(),a=ZSt(),s=iwt(),c=rCt(),l=fAt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(n(c)&&(c===p||e(c.prototype))||r(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var kxt,Ixt={};!function(){if(kxt)return Ixt;kxt=1;var t=MDt().charAt,e=hCt(),n=Vwt(),r=Dxt(),o=Oxt(),i="String Iterator",u=n.set,a=n.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,n=a(this),r=n.string,i=n.index;return i>=r.length?o(void 0,!0):(e=t(r,i),n.index+=e.length,o(e,!1))})}();var Bxt,Fxt,Rxt,_xt,jxt={};function Lxt(){if(Fxt)return Bxt;Fxt=1;var t=gbt();return Bxt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Mxt(){if(_xt)return Rxt;_xt=1;var t=Wwt();return Rxt=function(e,n,r){for(var o in n)t(e,o,n[o],r);return e}}var zxt,Hxt,$xt,Uxt,Vxt,Gxt,Wxt,qxt,Kxt,Yxt,Xxt,Jxt,Zxt,Qxt,tTt={exports:{}},eTt={};function nTt(){if(Gxt)return tTt.exports;Gxt=1;var t=XSt(),e=cEt(),n=Uwt(),r=gEt(),o=rwt(),i=wwt().f,u=mSt(),a=function(){if(zxt)return eTt;zxt=1;var t=lEt(),e=hEt(),n=mSt().f,r=fAt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return eTt.f=function(i){return o&&"Window"===t(i)?function(t){try{return n(t)}catch(t){return r(o)}}(i):n(e(i))},eTt}(),s=function(){if(Vxt)return Uxt;Vxt=1;var t=gbt(),e=gEt(),n=lEt(),r=function(){if($xt)return Hxt;$xt=1;var t=gbt();return Hxt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return Uxt=i||r?function(t){return!!e(t)&&(!r||"ArrayBuffer"!==n(t))&&(!o||o(t))}:o}(),c=owt(),l=Lxt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=tTt.exports={enable:function(){v.enable=function(){},f=!0;var n=u.f,r=e([].splice),o={};o[d]=1,n(o).length&&(u.f=function(t){for(var e=n(t),o=0,i=e.length;o<i;o++)if(e[o]===d){r(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return n[d]=!0,tTt.exports}function rTt(){if(Yxt)return Kxt;Yxt=1;var t=XSt(),e=ubt(),n=cEt(),r=YSt(),o=Wwt(),i=nTt(),u=UAt(),a=cAt(),s=vEt(),c=dEt(),l=gEt(),f=gbt(),d=VAt(),p=aAt(),h=function(){if(qxt)return Wxt;qxt=1;var t=vEt(),e=gEt(),n=uAt();return Wxt=function(r,o,i){var u,a;return n&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&n(r,a),r}}();return Kxt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=n(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(r(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(r(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),P=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var n=h(new w,t,C);return c(e)||u(e,n[E],{that:n,AS_ENTRIES:m}),n})).prototype=S,S.constructor=C),(T||P)&&(O("delete"),O("has"),m&&O("get")),(P||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}Qxt||(Qxt=1,function(){if(Zxt)return jxt;Zxt=1;var t,e=Lxt(),n=ubt(),r=cEt(),o=Mxt(),i=nTt(),u=rTt(),a=function(){if(Jxt)return Xxt;Jxt=1;var t=cEt(),e=Mxt(),n=nTt().getWeakData,r=cAt(),o=Ewt(),i=dEt(),u=gEt(),a=UAt(),s=RCt(),c=rwt(),l=Vwt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Xxt={getConstructor:function(t,s,l,p){var h=t(function(t,e){r(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,r){var i=m(t),u=n(o(e),!0);return!0===u?y(i).set(e,r):u[i.id]=r,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).delete(t):r&&c(r,e.id)&&delete r[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var r=n(t);return!0===r?y(e).has(t):r&&c(r,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var r=n(t);if(!0===r)return y(e).get(t);if(r)return r[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=gEt(),c=Vwt().enforce,l=gbt(),f=Hwt(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!n.ActiveXObject&&"ActiveXObject"in n,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=r(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=r(S.delete),O=r(S.has),A=r(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),D(this,e)||n.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)||n.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var n=c(this);return n.frozen||(n.frozen=new t),O(this,e)?A(this,e):n.frozen.get(e)}return A(this,e)},set:function(e,n){if(s(e)&&!h(e)){var r=c(this);r.frozen||(r.frozen=new t),O(this,e)?C(this,e,n):r.frozen.set(e,n)}else C(this,e,n);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var n;return p(t)&&(v(t)?n=y:g(t)&&(n=m)),C(this,t,e),n&&n(t),this}})}());var oTt,iTt={};function uTt(t){return t.getMenuConfig("uploadVideo")}!function(){if(oTt)return iTt;oTt=1;var t=ubt(),e=JDt(),n=ZDt(),r=Axt(),o=Swt(),i=aAt(),u=iwt()("iterator"),a=r.values,s=function(t,n){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,n,!0),e[n])for(var s in r)if(t[s]!==r[s])try{o(t,s,r[s])}catch(e){t[s]=r[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(n,"DOMTokenList")}();var aTt=new WeakMap;function sTt(t,e){return gDt(this,void 0,void 0,function(){var n,r;return yDt(this,function(o){switch(o.label){case 0:return n=function(t){var e=aTt.get(t);if(null!=e)return e;var n=uTt(t),r=n.onSuccess,o=n.onProgress,i=n.onFailed,u=n.customInsert,a=n.onError;return e=NB(vDt(vDt({},n),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,n){if(u)return u(n,function(e,n){return rxt(t,e,n)}),void r(e,n);var o=n.errno,a=void 0===o?1:o,s=n.data,c=void 0===s?{}:s;if(0===a){var l=c.url,f=void 0===l?"":l,d=c.poster;rxt(t,f,void 0===d?"":d),r(e,n)}else i(e,n)},onError:function(t,e,n){a(t,e,n)}})),aTt.set(t,e),e}(t),r=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),n.addFiles(r),[4,n.upload()];case 1:return o.sent(),[2]}})})}var cTt=function(){function t(){this.title=dI("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 t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){var n=this.getMenuConfig(t),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(e,n){return rxt(t,e,n)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=Rp("body"),s=Rp('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;!function(t,e){gDt(this,void 0,void 0,function(){var n,r,o,i,u,a,s,c,l,f,d,p;return yDt(this,function(h){switch(h.label){case 0:if(null==e)return[2];n=Array.prototype.slice.call(e),r=[],o=uTt(t).customUpload,h.label=1;case 1:h.trys.push([1,8,9,14]),i=!0,u=bDt(n),h.label=2;case 2:return[4,u.next()];case 3:return a=h.sent(),(l=a.done)?[3,7]:(p=a.value,i=!1,s=p,o?[4,o(s,function(e,n){return rxt(t,e,n)})]:[3,5]);case 4:return h.sent(),[3,6];case 5:r.push(s),h.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return c=h.sent(),f={error:c},[3,14];case 9:return h.trys.push([9,,12,13]),i||l||!(d=u.return)?[3,11]:[4,d.call(u)];case 10:h.sent(),h.label=11;case 11:return[3,13];case 12:if(f)throw f.error;return[7];case 13:return[7];case 14:return r.length>0?[4,sTt(t,r)]:[3,16];case 15:h.sent(),h.label=16;case 16:return[2]}})})}(t,e)})}},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!yp.Range.isCollapsed(e)||!!eP.getSelectedElems(t).some(function(e){var n=eP.getNodeType(e);return"pre"===n||"list-item"===n||!!t.isVoid(e)})},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},t}(),lTt={key:"insertVideo",factory:function(){return new Ext},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},fTt={key:"uploadVideo",factory:function(){return new cTt},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,n){console.error("'".concat(t.name," upload error"),e,n)}}},dTt={key:"editVideoSize",factory:function(){return new rOt}},pTt={key:"editVideoSrc",factory:function(){return new eAt}};function hTt(t,e,n,r,o,i){return void 0===e&&(e=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),void 0===o&&(o={}),void 0===i&&(i="center"),{type:"video",src:t,poster:e,width:n,height:r,style:o,children:[{text:""}],textAlign:i}}var vTt,gTt={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,n){var r=Rp(t),o="",i="",u="auto",a="auto",s={},c=r.find("iframe");if(c.length>0)return u=c.attr("width")||"auto",a=c.attr("height")||"auto",s=eOt(s=c.attr("style")||""),hTt(o=c[0].outerHTML,i,u,a,s,eOt(r.attr("style")||"")["text-align"]||"center");var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),u=l.attr("width")||"auto",a=l.attr("height")||"auto",hTt(o,i=l.attr("poster")||"",u,a,s=eOt(s=l.attr("style")||""),eOt(r.attr("style")||"")["text-align"]||"center")}},yTt={};!function(){if(vTt)return yTt;vTt=1;var t=XSt(),e=vSt().includes,n=gbt(),r=YCt();t({target:"Array",proto:!0,forced:n(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")}();var mTt={renderElems:[{type:"video",renderElem:function(t,e,n){var r,o=t,i=o.src,u=void 0===i?"":i,a=o.poster,s=void 0===a?"":a,c=o.key,l=void 0===c?"":c,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=eP.isNodeSelected(n,t);if(0===u.trim().indexOf("<iframe ")){r=dv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m},innerHTML:ECt(u,d,h,g)})}else{var E=dv("video",{key:l,poster:s,controls:!0,style:g},dv("source",{src:u,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=dv("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m}},E)}return Wh("div",{props:{contentEditable:!1},on:{mousedown:function(t){return t.preventDefault()}}},r)}}],elemsToHtml:[DCt],preParseHtml:[{selector:"iframe,video,p",preParseHtml:function(t){var e=Rp(t),n=e;if("p"===bCt(e)){var r=e.children();if(1===r.length){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=Rp(o))}}var u=bCt(n);if("iframe"!==u&&"video"!==u)return n[0];if("video"===n.parent().attr("data-w-e-type"))return n[0];var a=Rp('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return a.append(n),a[0]}}],parseElemsHtml:[gTt],menus:[lTt,fTt,dTt,pTt],editorPlugin:function(t){var e=t.isVoid,n=t.normalizeNode,r=t;return r.isVoid=function(t){return"video"===t.type||e(t)},r.normalizeNode=function(t){var e=mDt(t,2),o=e[0],i=e[1];return"video"===eP.getNodeType(o)&&eP.isLastNode(r,o)&&yp.Transforms.insertNodes(r,eP.genEmptyParagraph(),{at:[i[0]+1]}),n([o,i])},r}},bTt=function(){return bTt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},bTt.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var ETt=function(){function t(){throw new Error("不能实例化\nCan not construct a instance")}return t.setEditorConfig=function(t){void 0===t&&(t={}),this.editorConfig=bTt(bTt({},this.editorConfig),t)},t.setSimpleEditorConfig=function(t){void 0===t&&(t={}),this.simpleEditorConfig=bTt(bTt({},this.simpleEditorConfig),t)},t.setToolbarConfig=function(t){void 0===t&&(t={}),this.toolbarConfig=bTt(bTt({},this.toolbarConfig),t)},t.setSimpleToolbarConfig=function(t){void 0===t&&(t={}),this.simpleToolbarConfig=bTt(bTt({},this.simpleToolbarConfig),t)},t.registerPlugin=function(t){this.plugins.push(t)},t.registerMenu=function(t,e){!function(t,e){var n=t.key,r=t.factory,o=t.config,i=rC(rC({},o),e||{});if(null!=dC[n])throw new Error("Duplicated key '".concat(n,"' in menu items"));dC[n]=r,function(t,e){null!=e&&(sC[t]=e)}(n,i)}(t,e)},t.registerRenderElem=function(t){!function(t){var e=t.type,n=t.renderElem;uB[e||""]=n}(t)},t.registerRenderStyle=function(t){!function(t){iB.push(t)}(t)},t.registerElemToHtml=function(t){!function(t){var e=t.type,n=t.elemToHtml;LN[e||""]=n}(t)},t.registerStyleToHtml=function(t){!function(t){jN.push(t)}(t)},t.registerPreParseHtml=function(t){!function(t){AN.push(t)}(t)},t.registerParseElemHtml=function(t){!function(t){var e=t.selector,n=t.parseElemHtml;TN[e]=n}(t)},t.registerParseStyleHtml=function(t){!function(t){xN.push(t)}(t)},t.registerModule=function(t){wTt(t)},t.editorConfig={},t.simpleEditorConfig={},t.toolbarConfig={},t.simpleToolbarConfig={},t.plugins=[],t}();function wTt(t){var e=t.menus,n=t.renderElems,r=t.renderStyle,o=t.elemsToHtml,i=t.styleToHtml,u=t.preParseHtml,a=t.parseElemsHtml,s=t.parseStyleHtml,c=t.editorPlugin;e&&e.forEach(function(t){return ETt.registerMenu(t)}),n&&n.forEach(function(t){return ETt.registerRenderElem(t)}),r&&ETt.registerRenderStyle(r),o&&o.forEach(function(t){return ETt.registerElemToHtml(t)}),i&&ETt.registerStyleToHtml(i),u&&u.forEach(function(t){return ETt.registerPreParseHtml(t)}),a&&a.forEach(function(t){return ETt.registerParseElemHtml(t)}),s&&ETt.registerParseStyleHtml(s),c&&ETt.registerPlugin(c)}FJ.forEach(function(t){return wTt(t)}),wTt(gtt),wTt(Mlt),wTt(mTt),wTt(ebt),wTt(Q2);var STt='<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 CTt={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","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var DTt={hoverbarKeys:bTt(bTt({},CTt),{text:{menuKeys:["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};ETt.setEditorConfig(bTt(bTt({},DTt),{decorate:q1}));var OTt={hoverbarKeys:CTt};ETt.setSimpleEditorConfig(bTt(bTt({},OTt),{decorate:q1}));var ATt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:dI("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:dI("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:dI("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:dI("editor.image"),iconSvg:STt,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:dI("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","|","formatPainter","fullScreen"]};ETt.setToolbarConfig(ATt);var xTt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:dI("editor.image"),iconSvg:STt,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};ETt.setSimpleToolbarConfig(xTt);t.Boot=ETt,t.DomEditor=eP,t.SlateEditor=yp.Editor,t.SlateElement=yp.Element,t.SlateLocation=yp.Location,t.SlateNode=yp.Node,t.SlatePath=yp.Path,t.SlatePoint=yp.Point,t.SlateRange=yp.Range,t.SlateText=yp.Text,t.SlateTransforms=yp.Transforms,t.Toolbar=AB,t.createEditor=function(t){void 0===t&&(t={});var e=t.selector,n=void 0===e?"":e,r=t.content,o=void 0===r?[]:r,i=t.html,u=t.config,a=void 0===u?{}:u,s=t.mode,c="simple"===(void 0===s?"default":s)?ETt.simpleEditorConfig:ETt.editorConfig,l=bTt(bTt({},c.hoverbarKeys||{}),a.hoverbarKeys||{});return bB({selector:n,config:bTt(bTt(bTt({},c),a),{hoverbarKeys:l}),content:o,html:i,plugins:ETt.plugins})},t.createToolbar=function(t){var e=t.selector,n=t.editor,r=t.config,o=void 0===r?{}:r,i=t.mode,u=void 0===i?"default":i;if(!e)throw new Error("Cannot find 'selector' when create toolbar");var a="simple"===u?ETt.simpleToolbarConfig:ETt.toolbarConfig,s=function(t,e){if(null==t)throw new Error("Cannot create toolbar, because editor is null");var n=e.selector,r=e.config,o=void 0===r?{}:r;if(function(t,e){return FN(t,"data-w-e-toolbar",e)}(t,n))throw new Error("Repeated create toolbar by selector '".concat(n,"'"));var i=rC({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),u=new AB(n,i);return hO.set(u,t),vO.set(t,u),u}(n,{selector:e,config:bTt(bTt({},a),o)});return s},t.createUploader=NB,t.default={},t.genModalButtonElems=DI,t.genModalInputElems=CI,t.genModalTextareaElems=function(t,e,n){var r=Rp('<label class="babel-container"></label>');r.append("<span>".concat(t,"</span>"));var o=Rp('<textarea type="text" id="'.concat(e,'" placeholder="').concat(n||"",'"></textarea>'));return r.append(o),[r[0],o[0]]},t.i18nAddResources=lI,t.i18nChangeLanguage=function(t){sI.changeLanguage(t)},t.i18nGetResources=function(t){return sI.getResourceBundle(t,cI)},t.t=dI,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
34
34
|
//# sourceMappingURL=index.js.map
|