officialblock 1.0.4 → 1.0.5
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/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +2 -2
- package/dist/official-block.umd.js +13 -13
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/src/components/ArticleList/article.vue +1 -1
- package/src/components/ArticleList/contact.vue +1 -1
- package/src/styles/editor.scss +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ve,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("vue"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable"],b):(ve=typeof globalThis<"u"?globalThis:ve||self,b(ve.OfficialBlock={},ve.Vue,ve.vuedraggable))})(this,function(ve,b,Ln){"use strict";var Wbt=Object.defineProperty;var Gbt=(ve,b,Ln)=>b in ve?Wbt(ve,b,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):ve[b]=Ln;var KV=(ve,b,Ln)=>Gbt(ve,typeof b!="symbol"?b+"":b,Ln);function He(t=16){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<t;n++)r+=e.charAt(Math.floor(Math.random()*e.length));return r}const XV={class:"button-text"},$V={class:"link-text"},ZV=b.defineComponent({__name:"index",props:{type:{type:String,default:"button"},data:{type:Object,default:()=>{}}},setup(t){const e=t,r=()=>{window.open(e.data.url,"_blank")};return console.log("data=====",e.data),(n,o)=>t.type==="button"?(b.openBlock(),b.createElementBlock("div",{key:0,class:"button-primary flex-inline flex-center",onClick:r},[b.createElementVNode("span",XV,b.toDisplayString(t.data.text),1),o[0]||(o[0]=b.createElementVNode("span",{class:"button-icon"},null,-1))])):(b.openBlock(),b.createElementBlock("div",{key:1,class:"link-button flex-inline flex-center",onClick:r},[b.createElementVNode("span",$V,b.toDisplayString(t.data.text),1),o[1]||(o[1]=b.createElementVNode("span",{class:"button-icon link-icon"},null,-1))]))}}),oo=(t,e)=>{const r=t.__vccOpts||t;for(const[n,o]of e)r[n]=o;return r},Fy=oo(ZV,[["__scopeId","data-v-f9e75c11"]]),JV={class:"article-item"},QV={class:"article-item-title"},tz=["innerHTML"],ez={class:"article-item-button"},rz={class:"article-item-link"},nz=oo(b.defineComponent({__name:"article",props:{article:{type:Object,default:()=>{}}},setup(t){return(e,r)=>(b.openBlock(),b.createElementBlock("div",JV,[b.createElementVNode("h4",QV,b.toDisplayString(t.article.title),1),b.createElementVNode("div",{class:"editor-content",innerHTML:t.article.content},null,8,tz),b.createElementVNode("div",ez,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.article.buttonList,n=>(b.openBlock(),b.createBlock(Fy,{key:n.id,data:n},null,8,["data"]))),128))]),b.createElementVNode("div",rz,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.article.linkList,n=>(b.openBlock(),b.createBlock(Fy,{key:n.id,data:n,type:"link"},null,8,["data"]))),128))])]))}}),[["__scopeId","data-v-7f3f4d15"]]),oz={class:"contact-item"},iz={class:"contact-item-categories"},az={class:"contact-item-title"},uz=["innerHTML"],sz={class:"contact-item-link"},lz=oo(b.defineComponent({__name:"contact",props:{contact:{type:Object,default:()=>{}}},setup(t){return(e,r)=>(b.openBlock(),b.createElementBlock("div",oz,[b.createElementVNode("div",iz,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.contact.categories,n=>(b.openBlock(),b.createElementBlock("p",{class:"categories",key:n.id},b.toDisplayString(n.text),1))),128))]),b.createElementVNode("h4",az,b.toDisplayString(t.contact.title),1),b.createElementVNode("div",{class:"editor-content",innerHTML:t.contact.content},null,8,uz),b.createElementVNode("div",sz,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.contact.linkList,n=>(b.openBlock(),b.createBlock(Fy,{key:n.id,data:n,type:"link"},null,8,["data"]))),128))])]))}}),[["__scopeId","data-v-e9c9c007"]]),cz={key:0,class:"image-container"},fz={key:0,class:"image-desc"},dz={key:1,class:"video-container flex-inline flex-center"},pz=["src"],hz={class:"video-thumbnail flex flex-center"},gz=["src"],vz={key:2,class:"image-list-container"},mz={key:0,class:"image-preview"},yz={class:"image-list-wrapper"},bz=["src","onClick"],wz=oo(b.defineComponent({__name:"index",props:{type:{type:String,default:"Image"},data:{type:Object,default:()=>{}},preview:{type:Boolean,default:!0}},setup(t){var m,g,v;const e=t,r=b.ref(),n=b.ref(!1),o=()=>{var y;(y=r.value)==null||y.play(),n.value=!0},i=b.ref(((v=(g=(m=e.data)==null?void 0:m.imageList)==null?void 0:g[0])==null?void 0:v.src)||""),a=y=>{i.value=y},u=b.ref(null),s=b.ref(!1),l=b.ref(!1),c=()=>{const y=u.value;y&&(s.value=y.scrollLeft>0,l.value=y.scrollLeft+y.clientWidth<y.scrollWidth)},f=()=>{const y=u.value;y&&y.scrollBy({left:-y.clientWidth/1.5,behavior:"smooth"})},d=()=>{const y=u.value;y&&y.scrollBy({left:y.clientWidth/1.5,behavior:"smooth"})},p=()=>{c()};return b.watch(()=>{var y;return(y=e.data)==null?void 0:y.imageList},async()=>{await b.nextTick(),c()}),b.onMounted(()=>{window.addEventListener("resize",c),b.nextTick(c)}),b.onUnmounted(()=>{window.removeEventListener("resize",c)}),(y,h)=>{const w=b.resolveComponent("a-image"),E=b.resolveComponent("icon-caret-right");return b.openBlock(),b.createElementBlock(b.Fragment,null,[t.type==="Image"?(b.openBlock(),b.createElementBlock("div",cz,[b.createVNode(w,{class:"image",src:t.data.imgSrc,preview:t.preview,alt:t.data.alt,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview","alt"]),t.data.caption?(b.openBlock(),b.createElementBlock("p",fz,b.toDisplayString(t.data.caption),1)):b.createCommentVNode("",!0)])):b.createCommentVNode("",!0),t.type==="Video"?(b.openBlock(),b.createElementBlock("div",dz,[b.createElementVNode("video",{class:"video",ref_key:"videoElement",ref:r,src:t.data.videoSrc,controls:""},null,8,pz),n.value?b.createCommentVNode("",!0):(b.openBlock(),b.createElementBlock(b.Fragment,{key:0},[b.createElementVNode("div",hz,[b.createElementVNode("img",{src:t.data.imgSrc},null,8,gz)]),b.createElementVNode("div",{class:"play-button flex flex-center",onClick:o},[b.createVNode(E,{style:{color:"#fff"}})])],64))])):b.createCommentVNode("",!0),t.type==="ImageList"?(b.openBlock(),b.createElementBlock("div",vz,[i.value?(b.openBlock(),b.createElementBlock("div",mz,[b.createVNode(w,{class:"image",src:i.value,preview:t.preview,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview"])])):b.createCommentVNode("",!0),b.createElementVNode("div",yz,[b.withDirectives(b.createElementVNode("div",{class:"thumbnail__nav__prev",onClick:f}," ‹ ",512),[[b.vShow,s.value]]),b.createElementVNode("div",{class:"image-list",ref_key:"imageListRef",ref:u,onScroll:p},[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.data.imageList,x=>(b.openBlock(),b.createElementBlock(b.Fragment,{key:x.id},[x.src?(b.openBlock(),b.createElementBlock("img",{key:0,class:"image",src:x.src,onClick:C=>a(x.src)},null,8,bz)):b.createCommentVNode("",!0)],64))),128))],544),b.withDirectives(b.createElementVNode("div",{class:"thumbnail__nav__next",onClick:d}," › ",512),[[b.vShow,l.value]])])])):b.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-63d0f133"]]);var ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ez(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Va(t){var e={exports:{}};return t(e,e.exports),e.exports}var bi,hh,gh=function(t){return t&&t.Math==Math&&t},Ot=gh(typeof globalThis=="object"&&globalThis)||gh(typeof window=="object"&&window)||gh(typeof self=="object"&&self)||gh(typeof ae=="object"&&ae)||function(){return this}()||Function("return this")(),Ty=Function.prototype,$8=Ty.apply,Cz=Ty.bind,Z8=Ty.call,J8=typeof Reflect=="object"&&Reflect.apply||(Cz?Z8.bind($8):function(){return Z8.apply($8,arguments)}),Q8=Function.prototype,Py=Q8.bind,Ny=Q8.call,xz=Py&&Py.bind(Ny),de=Py?function(t){return t&&xz(Ny,t)}:function(t){return t&&function(){return Ny.apply(t,arguments)}},pr=function(t){return typeof t=="function"},Lr=function(t){try{return!!t()}catch{return!0}},Rr=!Lr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),wc=Function.prototype.call,Zr=wc.bind?wc.bind(wc):function(){return wc.apply(wc,arguments)},tS={}.propertyIsEnumerable,eS=Object.getOwnPropertyDescriptor,Sz=eS&&!tS.call({1:2},1)?function(t){var e=eS(this,t);return!!e&&e.enumerable}:tS,jy={f:Sz},Rn=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Dz=de({}.toString),Az=de("".slice),za=function(t){return Az(Dz(t),8,-1)},Iy=Ot.Object,Oz=de("".split),rS=Lr(function(){return!Iy("z").propertyIsEnumerable(0)})?function(t){return za(t)=="String"?Oz(t,""):Iy(t)}:Iy,kz=Ot.TypeError,Ly=function(t){if(t==null)throw kz("Can't call method on "+t);return t},io=function(t){return rS(Ly(t))},gn=function(t){return typeof t=="object"?t!==null:pr(t)},Jr={},nS=function(t){return pr(t)?t:void 0},ms=function(t,e){return arguments.length<2?nS(Jr[t])||nS(Ot[t]):Jr[t]&&Jr[t][e]||Ot[t]&&Ot[t][e]},Ec=de({}.isPrototypeOf),Ry=ms("navigator","userAgent")||"",oS=Ot.process,iS=Ot.Deno,aS=oS&&oS.versions||iS&&iS.version,uS=aS&&aS.v8;uS&&(hh=(bi=uS.split("."))[0]>0&&bi[0]<4?1:+(bi[0]+bi[1])),!hh&&Ry&&(!(bi=Ry.match(/Edge\/(\d+)/))||bi[1]>=74)&&(bi=Ry.match(/Chrome\/(\d+)/))&&(hh=+bi[1]);var vh,mh=hh,ao=!!Object.getOwnPropertySymbols&&!Lr(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&mh&&mh<41}),My=ao&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Bz=Ot.Object,ys=My?function(t){return typeof t=="symbol"}:function(t){var e=ms("Symbol");return pr(e)&&Ec(e.prototype,Bz(t))},_z=Ot.String,Vy=function(t){try{return _z(t)}catch{return"Object"}},Fz=Ot.TypeError,zy=function(t){if(pr(t))return t;throw Fz(Vy(t)+" is not a function")},yh=function(t,e){var r=t[e];return r==null?void 0:zy(r)},Tz=Ot.TypeError,Pz=Object.defineProperty,wi=Ot["__core-js_shared__"]||function(t,e){try{Pz(Ot,t,{value:e,configurable:!0,writable:!0})}catch{Ot[t]=e}return e}("__core-js_shared__",{}),Ha=Va(function(t){(t.exports=function(e,r){return wi[e]||(wi[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Nz=Ot.Object,Cc=function(t){return Nz(Ly(t))},jz=de({}.hasOwnProperty),Ht=Object.hasOwn||function(t,e){return jz(Cc(t),e)},Iz=0,Lz=Math.random(),Rz=de(1 .toString),bh=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Rz(++Iz+Lz,36)},xc=Ha("wks"),Ua=Ot.Symbol,sS=Ua&&Ua.for,Mz=My?Ua:Ua&&Ua.withoutSetter||bh,mr=function(t){if(!Ht(xc,t)||!ao&&typeof xc[t]!="string"){var e="Symbol."+t;ao&&Ht(Ua,t)?xc[t]=Ua[t]:xc[t]=My&&sS?sS(e):Mz(e)}return xc[t]},Vz=Ot.TypeError,zz=mr("toPrimitive"),Hz=function(t,e){if(!gn(t)||ys(t))return t;var r,n=yh(t,zz);if(n){if(r=Zr(n,t,e),!gn(r)||ys(r))return r;throw Vz("Can't convert object to primitive value")}return function(o,i){var a,u;if(pr(a=o.toString)&&!gn(u=Zr(a,o))||pr(a=o.valueOf)&&!gn(u=Zr(a,o)))return u;throw Tz("Can't convert object to primitive value")}(t)},bs=function(t){var e=Hz(t,"string");return ys(e)?e:e+""},Hy=Ot.document,Uz=gn(Hy)&&gn(Hy.createElement),lS=function(t){return Uz?Hy.createElement(t):{}},cS=!Rr&&!Lr(function(){return Object.defineProperty(lS("div"),"a",{get:function(){return 7}}).a!=7}),fS=Object.getOwnPropertyDescriptor,Wz=Rr?fS:function(t,e){if(t=io(t),e=bs(e),cS)try{return fS(t,e)}catch{}if(Ht(t,e))return Rn(!Zr(jy.f,t,e),t[e])},wh={f:Wz},Gz=/#|\.prototype\./,Sc=function(t,e){var r=Kz[qz(t)];return r==Xz||r!=Yz&&(pr(e)?Lr(e):!!e)},qz=Sc.normalize=function(t){return String(t).replace(Gz,".").toLowerCase()},Kz=Sc.data={},Yz=Sc.NATIVE="N",Xz=Sc.POLYFILL="P",$z=Sc,dS=de(de.bind),Uy=function(t,e){return zy(t),e===void 0?t:dS?dS(t,e):function(){return t.apply(e,arguments)}},Zz=Ot.String,Jz=Ot.TypeError,Qr=function(t){if(gn(t))return t;throw Jz(Zz(t)+" is not an object")},Qz=Ot.TypeError,pS=Object.defineProperty,tH=Rr?pS:function(t,e,r){if(Qr(t),e=bs(e),Qr(r),cS)try{return pS(t,e,r)}catch{}if("get"in r||"set"in r)throw Qz("Accessors not supported");return"value"in r&&(t[e]=r.value),t},Ei={f:tH},Fr=Rr?function(t,e,r){return Ei.f(t,e,Rn(1,r))}:function(t,e,r){return t[e]=r,t},eH=wh.f,rH=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return J8(t,this,arguments)};return e.prototype=t.prototype,e},zo=function(t,e){var r,n,o,i,a,u,s,l,c=t.target,f=t.global,d=t.stat,p=t.proto,m=f?Ot:d?Ot[c]:(Ot[c]||{}).prototype,g=f?Jr:Jr[c]||Fr(Jr,c,{})[c],v=g.prototype;for(o in e)r=!$z(f?o:c+(d?".":"#")+o,t.forced)&&m&&Ht(m,o),a=g[o],r&&(u=t.noTargetGet?(l=eH(m,o))&&l.value:m[o]),i=r&&u?u:e[o],r&&typeof a==typeof i||(s=t.bind&&r?Uy(i,Ot):t.wrap&&r?rH(i):p&&pr(i)?de(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Fr(s,"sham",!0),Fr(g,o,s),p&&(Ht(Jr,n=c+"Prototype")||Fr(Jr,n,{}),Fr(Jr[n],o,i),t.real&&v&&!v[o]&&Fr(v,o,i)))},hS=Ha("keys"),Eh=function(t){return hS[t]||(hS[t]=bh(t))},nH=!Lr(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),gS=Eh("IE_PROTO"),Wy=Ot.Object,oH=Wy.prototype,Ch=nH?Wy.getPrototypeOf:function(t){var e=Cc(t);if(Ht(e,gS))return e[gS];var r=e.constructor;return pr(r)&&e instanceof r?r.prototype:e instanceof Wy?oH:null},iH=Ot.String,aH=Ot.TypeError,xh=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=de(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(n,o){return Qr(n),function(i){if(typeof i=="object"||pr(i))return i;throw aH("Can't set "+iH(i)+" as a prototype")}(o),e?t(n,o):n.__proto__=o,n}}():void 0),uH=Math.ceil,sH=Math.floor,Gy=function(t){var e=+t;return e!=e||e===0?0:(e>0?sH:uH)(e)},lH=Math.max,cH=Math.min,qy=function(t,e){var r=Gy(t);return r<0?lH(r+e,0):cH(r,e)},fH=Math.min,Dc=function(t){return(e=t.length)>0?fH(Gy(e),9007199254740991):0;var e},dH=function(t){return function(e,r,n){var o,i=io(e),a=Dc(i),u=qy(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},pH={indexOf:dH(!1)},Ac={},hH=pH.indexOf,vS=de([].push),mS=function(t,e){var r,n=io(t),o=0,i=[];for(r in n)!Ht(Ac,r)&&Ht(n,r)&&vS(i,r);for(;e.length>o;)Ht(n,r=e[o++])&&(~hH(i,r)||vS(i,r));return i},Sh=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gH=Sh.concat("length","prototype"),vH=Object.getOwnPropertyNames||function(t){return mS(t,gH)},Ky={f:vH},Dh={f:Object.getOwnPropertySymbols},mH=de([].concat),yH=ms("Reflect","ownKeys")||function(t){var e=Ky.f(Qr(t)),r=Dh.f;return r?mH(e,r(t)):e},Yy=Object.keys||function(t){return mS(t,Sh)},bH=Rr?Object.defineProperties:function(t,e){Qr(t);for(var r,n=io(e),o=Yy(e),i=o.length,a=0;i>a;)Ei.f(t,r=o[a++],n[r]);return t},wH=ms("document","documentElement"),yS=Eh("IE_PROTO"),Xy=function(){},bS=function(t){return"<script>"+t+"<\/script>"},wS=function(t){t.write(bS("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ah=function(){try{vh=new ActiveXObject("htmlfile")}catch{}var t,e;Ah=typeof document<"u"?document.domain&&vh?wS(vh):((e=lS("iframe")).style.display="none",wH.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(bS("document.F=Object")),t.close(),t.F):wS(vh);for(var r=Sh.length;r--;)delete Ah.prototype[Sh[r]];return Ah()};Ac[yS]=!0;var Ho=Object.create||function(t,e){var r;return t!==null?(Xy.prototype=Qr(t),r=new Xy,Xy.prototype=null,r[yS]=t):r=Ah(),e===void 0?r:bH(r,e)},$y=function(t,e,r){var n=bs(e);n in t?Ei.f(t,n,Rn(0,r)):t[n]=r},EH=Ot.Array,CH=Math.max,ES=function(t,e,r){for(var n=Dc(t),o=qy(e,n),i=qy(n,n),a=EH(CH(i-o,0)),u=0;o<i;o++,u++)$y(a,u,t[o]);return a.length=u,a},xH=de("".replace),SH=de("".split),DH=de([].join),Zy=String(Error("zxcasd").stack),CS=/\n\s*at [^:]*:[^\n]*/,AH=CS.test(Zy),OH=/@[^\n]*\n/.test(Zy)&&!/zxcasd/.test(Zy),kH=function(t,e){if(typeof t!="string")return t;if(AH)for(;e--;)t=xH(t,CS,"");else if(OH)return DH(ES(SH(t,`
|
|
1
|
+
(function(ve,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("vue"),require("vuedraggable")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable"],b):(ve=typeof globalThis<"u"?globalThis:ve||self,b(ve.OfficialBlock={},ve.Vue,ve.vuedraggable))})(this,function(ve,b,Ln){"use strict";var Wbt=Object.defineProperty;var Gbt=(ve,b,Ln)=>b in ve?Wbt(ve,b,{enumerable:!0,configurable:!0,writable:!0,value:Ln}):ve[b]=Ln;var KV=(ve,b,Ln)=>Gbt(ve,typeof b!="symbol"?b+"":b,Ln);function He(t=16){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<t;n++)r+=e.charAt(Math.floor(Math.random()*e.length));return r}const XV={class:"button-text"},$V={class:"link-text"},ZV=b.defineComponent({__name:"index",props:{type:{type:String,default:"button"},data:{type:Object,default:()=>{}}},setup(t){const e=t,r=()=>{window.open(e.data.url,"_blank")};return console.log("data=====",e.data),(n,o)=>t.type==="button"?(b.openBlock(),b.createElementBlock("div",{key:0,class:"button-primary flex-inline flex-center",onClick:r},[b.createElementVNode("span",XV,b.toDisplayString(t.data.text),1),o[0]||(o[0]=b.createElementVNode("span",{class:"button-icon"},null,-1))])):(b.openBlock(),b.createElementBlock("div",{key:1,class:"link-button flex-inline flex-center",onClick:r},[b.createElementVNode("span",$V,b.toDisplayString(t.data.text),1),o[1]||(o[1]=b.createElementVNode("span",{class:"button-icon link-icon"},null,-1))]))}}),oo=(t,e)=>{const r=t.__vccOpts||t;for(const[n,o]of e)r[n]=o;return r},Fy=oo(ZV,[["__scopeId","data-v-f9e75c11"]]),JV={class:"article-item"},QV={class:"article-item-title"},tz=["innerHTML"],ez={class:"article-item-button"},rz={class:"article-item-link"},nz=oo(b.defineComponent({__name:"article",props:{article:{type:Object,default:()=>{}}},setup(t){return(e,r)=>(b.openBlock(),b.createElementBlock("div",JV,[b.createElementVNode("h4",QV,b.toDisplayString(t.article.title),1),b.createElementVNode("div",{class:"editor-content",innerHTML:t.article.content},null,8,tz),b.createElementVNode("div",ez,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.article.buttonList,n=>(b.openBlock(),b.createBlock(Fy,{key:n.id,data:n},null,8,["data"]))),128))]),b.createElementVNode("div",rz,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.article.linkList,n=>(b.openBlock(),b.createBlock(Fy,{key:n.id,data:n,type:"link"},null,8,["data"]))),128))])]))}}),[["__scopeId","data-v-4e6f7c48"]]),oz={class:"contact-item"},iz={class:"contact-item-categories"},az={class:"contact-item-title"},uz=["innerHTML"],sz={class:"contact-item-link"},lz=oo(b.defineComponent({__name:"contact",props:{contact:{type:Object,default:()=>{}}},setup(t){return(e,r)=>(b.openBlock(),b.createElementBlock("div",oz,[b.createElementVNode("div",iz,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.contact.categories,n=>(b.openBlock(),b.createElementBlock("p",{class:"categories",key:n.id},b.toDisplayString(n.text),1))),128))]),b.createElementVNode("h4",az,b.toDisplayString(t.contact.title),1),b.createElementVNode("div",{class:"editor-content",innerHTML:t.contact.content},null,8,uz),b.createElementVNode("div",sz,[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.contact.linkList,n=>(b.openBlock(),b.createBlock(Fy,{key:n.id,data:n,type:"link"},null,8,["data"]))),128))])]))}}),[["__scopeId","data-v-c8894419"]]),cz={key:0,class:"image-container"},fz={key:0,class:"image-desc"},dz={key:1,class:"video-container flex-inline flex-center"},pz=["src"],hz={class:"video-thumbnail flex flex-center"},gz=["src"],vz={key:2,class:"image-list-container"},mz={key:0,class:"image-preview"},yz={class:"image-list-wrapper"},bz=["src","onClick"],wz=oo(b.defineComponent({__name:"index",props:{type:{type:String,default:"Image"},data:{type:Object,default:()=>{}},preview:{type:Boolean,default:!0}},setup(t){var m,g,v;const e=t,r=b.ref(),n=b.ref(!1),o=()=>{var y;(y=r.value)==null||y.play(),n.value=!0},i=b.ref(((v=(g=(m=e.data)==null?void 0:m.imageList)==null?void 0:g[0])==null?void 0:v.src)||""),a=y=>{i.value=y},u=b.ref(null),s=b.ref(!1),l=b.ref(!1),c=()=>{const y=u.value;y&&(s.value=y.scrollLeft>0,l.value=y.scrollLeft+y.clientWidth<y.scrollWidth)},f=()=>{const y=u.value;y&&y.scrollBy({left:-y.clientWidth/1.5,behavior:"smooth"})},d=()=>{const y=u.value;y&&y.scrollBy({left:y.clientWidth/1.5,behavior:"smooth"})},p=()=>{c()};return b.watch(()=>{var y;return(y=e.data)==null?void 0:y.imageList},async()=>{await b.nextTick(),c()}),b.onMounted(()=>{window.addEventListener("resize",c),b.nextTick(c)}),b.onUnmounted(()=>{window.removeEventListener("resize",c)}),(y,h)=>{const w=b.resolveComponent("a-image"),E=b.resolveComponent("icon-caret-right");return b.openBlock(),b.createElementBlock(b.Fragment,null,[t.type==="Image"?(b.openBlock(),b.createElementBlock("div",cz,[b.createVNode(w,{class:"image",src:t.data.imgSrc,preview:t.preview,alt:t.data.alt,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview","alt"]),t.data.caption?(b.openBlock(),b.createElementBlock("p",fz,b.toDisplayString(t.data.caption),1)):b.createCommentVNode("",!0)])):b.createCommentVNode("",!0),t.type==="Video"?(b.openBlock(),b.createElementBlock("div",dz,[b.createElementVNode("video",{class:"video",ref_key:"videoElement",ref:r,src:t.data.videoSrc,controls:""},null,8,pz),n.value?b.createCommentVNode("",!0):(b.openBlock(),b.createElementBlock(b.Fragment,{key:0},[b.createElementVNode("div",hz,[b.createElementVNode("img",{src:t.data.imgSrc},null,8,gz)]),b.createElementVNode("div",{class:"play-button flex flex-center",onClick:o},[b.createVNode(E,{style:{color:"#fff"}})])],64))])):b.createCommentVNode("",!0),t.type==="ImageList"?(b.openBlock(),b.createElementBlock("div",vz,[i.value?(b.openBlock(),b.createElementBlock("div",mz,[b.createVNode(w,{class:"image",src:i.value,preview:t.preview,fit:"contain",width:"100%",height:"100%"},null,8,["src","preview"])])):b.createCommentVNode("",!0),b.createElementVNode("div",yz,[b.withDirectives(b.createElementVNode("div",{class:"thumbnail__nav__prev",onClick:f}," ‹ ",512),[[b.vShow,s.value]]),b.createElementVNode("div",{class:"image-list",ref_key:"imageListRef",ref:u,onScroll:p},[(b.openBlock(!0),b.createElementBlock(b.Fragment,null,b.renderList(t.data.imageList,x=>(b.openBlock(),b.createElementBlock(b.Fragment,{key:x.id},[x.src?(b.openBlock(),b.createElementBlock("img",{key:0,class:"image",src:x.src,onClick:C=>a(x.src)},null,8,bz)):b.createCommentVNode("",!0)],64))),128))],544),b.withDirectives(b.createElementVNode("div",{class:"thumbnail__nav__next",onClick:d}," › ",512),[[b.vShow,l.value]])])])):b.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-63d0f133"]]);var ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ez(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Va(t){var e={exports:{}};return t(e,e.exports),e.exports}var bi,hh,gh=function(t){return t&&t.Math==Math&&t},Ot=gh(typeof globalThis=="object"&&globalThis)||gh(typeof window=="object"&&window)||gh(typeof self=="object"&&self)||gh(typeof ae=="object"&&ae)||function(){return this}()||Function("return this")(),Ty=Function.prototype,$8=Ty.apply,Cz=Ty.bind,Z8=Ty.call,J8=typeof Reflect=="object"&&Reflect.apply||(Cz?Z8.bind($8):function(){return Z8.apply($8,arguments)}),Q8=Function.prototype,Py=Q8.bind,Ny=Q8.call,xz=Py&&Py.bind(Ny),de=Py?function(t){return t&&xz(Ny,t)}:function(t){return t&&function(){return Ny.apply(t,arguments)}},pr=function(t){return typeof t=="function"},Lr=function(t){try{return!!t()}catch{return!0}},Rr=!Lr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),wc=Function.prototype.call,Zr=wc.bind?wc.bind(wc):function(){return wc.apply(wc,arguments)},tS={}.propertyIsEnumerable,eS=Object.getOwnPropertyDescriptor,Sz=eS&&!tS.call({1:2},1)?function(t){var e=eS(this,t);return!!e&&e.enumerable}:tS,jy={f:Sz},Rn=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Dz=de({}.toString),Az=de("".slice),za=function(t){return Az(Dz(t),8,-1)},Iy=Ot.Object,Oz=de("".split),rS=Lr(function(){return!Iy("z").propertyIsEnumerable(0)})?function(t){return za(t)=="String"?Oz(t,""):Iy(t)}:Iy,kz=Ot.TypeError,Ly=function(t){if(t==null)throw kz("Can't call method on "+t);return t},io=function(t){return rS(Ly(t))},gn=function(t){return typeof t=="object"?t!==null:pr(t)},Jr={},nS=function(t){return pr(t)?t:void 0},ms=function(t,e){return arguments.length<2?nS(Jr[t])||nS(Ot[t]):Jr[t]&&Jr[t][e]||Ot[t]&&Ot[t][e]},Ec=de({}.isPrototypeOf),Ry=ms("navigator","userAgent")||"",oS=Ot.process,iS=Ot.Deno,aS=oS&&oS.versions||iS&&iS.version,uS=aS&&aS.v8;uS&&(hh=(bi=uS.split("."))[0]>0&&bi[0]<4?1:+(bi[0]+bi[1])),!hh&&Ry&&(!(bi=Ry.match(/Edge\/(\d+)/))||bi[1]>=74)&&(bi=Ry.match(/Chrome\/(\d+)/))&&(hh=+bi[1]);var vh,mh=hh,ao=!!Object.getOwnPropertySymbols&&!Lr(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&mh&&mh<41}),My=ao&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Bz=Ot.Object,ys=My?function(t){return typeof t=="symbol"}:function(t){var e=ms("Symbol");return pr(e)&&Ec(e.prototype,Bz(t))},_z=Ot.String,Vy=function(t){try{return _z(t)}catch{return"Object"}},Fz=Ot.TypeError,zy=function(t){if(pr(t))return t;throw Fz(Vy(t)+" is not a function")},yh=function(t,e){var r=t[e];return r==null?void 0:zy(r)},Tz=Ot.TypeError,Pz=Object.defineProperty,wi=Ot["__core-js_shared__"]||function(t,e){try{Pz(Ot,t,{value:e,configurable:!0,writable:!0})}catch{Ot[t]=e}return e}("__core-js_shared__",{}),Ha=Va(function(t){(t.exports=function(e,r){return wi[e]||(wi[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Nz=Ot.Object,Cc=function(t){return Nz(Ly(t))},jz=de({}.hasOwnProperty),Ht=Object.hasOwn||function(t,e){return jz(Cc(t),e)},Iz=0,Lz=Math.random(),Rz=de(1 .toString),bh=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Rz(++Iz+Lz,36)},xc=Ha("wks"),Ua=Ot.Symbol,sS=Ua&&Ua.for,Mz=My?Ua:Ua&&Ua.withoutSetter||bh,mr=function(t){if(!Ht(xc,t)||!ao&&typeof xc[t]!="string"){var e="Symbol."+t;ao&&Ht(Ua,t)?xc[t]=Ua[t]:xc[t]=My&&sS?sS(e):Mz(e)}return xc[t]},Vz=Ot.TypeError,zz=mr("toPrimitive"),Hz=function(t,e){if(!gn(t)||ys(t))return t;var r,n=yh(t,zz);if(n){if(r=Zr(n,t,e),!gn(r)||ys(r))return r;throw Vz("Can't convert object to primitive value")}return function(o,i){var a,u;if(pr(a=o.toString)&&!gn(u=Zr(a,o))||pr(a=o.valueOf)&&!gn(u=Zr(a,o)))return u;throw Tz("Can't convert object to primitive value")}(t)},bs=function(t){var e=Hz(t,"string");return ys(e)?e:e+""},Hy=Ot.document,Uz=gn(Hy)&&gn(Hy.createElement),lS=function(t){return Uz?Hy.createElement(t):{}},cS=!Rr&&!Lr(function(){return Object.defineProperty(lS("div"),"a",{get:function(){return 7}}).a!=7}),fS=Object.getOwnPropertyDescriptor,Wz=Rr?fS:function(t,e){if(t=io(t),e=bs(e),cS)try{return fS(t,e)}catch{}if(Ht(t,e))return Rn(!Zr(jy.f,t,e),t[e])},wh={f:Wz},Gz=/#|\.prototype\./,Sc=function(t,e){var r=Kz[qz(t)];return r==Xz||r!=Yz&&(pr(e)?Lr(e):!!e)},qz=Sc.normalize=function(t){return String(t).replace(Gz,".").toLowerCase()},Kz=Sc.data={},Yz=Sc.NATIVE="N",Xz=Sc.POLYFILL="P",$z=Sc,dS=de(de.bind),Uy=function(t,e){return zy(t),e===void 0?t:dS?dS(t,e):function(){return t.apply(e,arguments)}},Zz=Ot.String,Jz=Ot.TypeError,Qr=function(t){if(gn(t))return t;throw Jz(Zz(t)+" is not an object")},Qz=Ot.TypeError,pS=Object.defineProperty,tH=Rr?pS:function(t,e,r){if(Qr(t),e=bs(e),Qr(r),cS)try{return pS(t,e,r)}catch{}if("get"in r||"set"in r)throw Qz("Accessors not supported");return"value"in r&&(t[e]=r.value),t},Ei={f:tH},Fr=Rr?function(t,e,r){return Ei.f(t,e,Rn(1,r))}:function(t,e,r){return t[e]=r,t},eH=wh.f,rH=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return J8(t,this,arguments)};return e.prototype=t.prototype,e},zo=function(t,e){var r,n,o,i,a,u,s,l,c=t.target,f=t.global,d=t.stat,p=t.proto,m=f?Ot:d?Ot[c]:(Ot[c]||{}).prototype,g=f?Jr:Jr[c]||Fr(Jr,c,{})[c],v=g.prototype;for(o in e)r=!$z(f?o:c+(d?".":"#")+o,t.forced)&&m&&Ht(m,o),a=g[o],r&&(u=t.noTargetGet?(l=eH(m,o))&&l.value:m[o]),i=r&&u?u:e[o],r&&typeof a==typeof i||(s=t.bind&&r?Uy(i,Ot):t.wrap&&r?rH(i):p&&pr(i)?de(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Fr(s,"sham",!0),Fr(g,o,s),p&&(Ht(Jr,n=c+"Prototype")||Fr(Jr,n,{}),Fr(Jr[n],o,i),t.real&&v&&!v[o]&&Fr(v,o,i)))},hS=Ha("keys"),Eh=function(t){return hS[t]||(hS[t]=bh(t))},nH=!Lr(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),gS=Eh("IE_PROTO"),Wy=Ot.Object,oH=Wy.prototype,Ch=nH?Wy.getPrototypeOf:function(t){var e=Cc(t);if(Ht(e,gS))return e[gS];var r=e.constructor;return pr(r)&&e instanceof r?r.prototype:e instanceof Wy?oH:null},iH=Ot.String,aH=Ot.TypeError,xh=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=de(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(n,o){return Qr(n),function(i){if(typeof i=="object"||pr(i))return i;throw aH("Can't set "+iH(i)+" as a prototype")}(o),e?t(n,o):n.__proto__=o,n}}():void 0),uH=Math.ceil,sH=Math.floor,Gy=function(t){var e=+t;return e!=e||e===0?0:(e>0?sH:uH)(e)},lH=Math.max,cH=Math.min,qy=function(t,e){var r=Gy(t);return r<0?lH(r+e,0):cH(r,e)},fH=Math.min,Dc=function(t){return(e=t.length)>0?fH(Gy(e),9007199254740991):0;var e},dH=function(t){return function(e,r,n){var o,i=io(e),a=Dc(i),u=qy(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},pH={indexOf:dH(!1)},Ac={},hH=pH.indexOf,vS=de([].push),mS=function(t,e){var r,n=io(t),o=0,i=[];for(r in n)!Ht(Ac,r)&&Ht(n,r)&&vS(i,r);for(;e.length>o;)Ht(n,r=e[o++])&&(~hH(i,r)||vS(i,r));return i},Sh=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gH=Sh.concat("length","prototype"),vH=Object.getOwnPropertyNames||function(t){return mS(t,gH)},Ky={f:vH},Dh={f:Object.getOwnPropertySymbols},mH=de([].concat),yH=ms("Reflect","ownKeys")||function(t){var e=Ky.f(Qr(t)),r=Dh.f;return r?mH(e,r(t)):e},Yy=Object.keys||function(t){return mS(t,Sh)},bH=Rr?Object.defineProperties:function(t,e){Qr(t);for(var r,n=io(e),o=Yy(e),i=o.length,a=0;i>a;)Ei.f(t,r=o[a++],n[r]);return t},wH=ms("document","documentElement"),yS=Eh("IE_PROTO"),Xy=function(){},bS=function(t){return"<script>"+t+"<\/script>"},wS=function(t){t.write(bS("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ah=function(){try{vh=new ActiveXObject("htmlfile")}catch{}var t,e;Ah=typeof document<"u"?document.domain&&vh?wS(vh):((e=lS("iframe")).style.display="none",wH.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(bS("document.F=Object")),t.close(),t.F):wS(vh);for(var r=Sh.length;r--;)delete Ah.prototype[Sh[r]];return Ah()};Ac[yS]=!0;var Ho=Object.create||function(t,e){var r;return t!==null?(Xy.prototype=Qr(t),r=new Xy,Xy.prototype=null,r[yS]=t):r=Ah(),e===void 0?r:bH(r,e)},$y=function(t,e,r){var n=bs(e);n in t?Ei.f(t,n,Rn(0,r)):t[n]=r},EH=Ot.Array,CH=Math.max,ES=function(t,e,r){for(var n=Dc(t),o=qy(e,n),i=qy(n,n),a=EH(CH(i-o,0)),u=0;o<i;o++,u++)$y(a,u,t[o]);return a.length=u,a},xH=de("".replace),SH=de("".split),DH=de([].join),Zy=String(Error("zxcasd").stack),CS=/\n\s*at [^:]*:[^\n]*/,AH=CS.test(Zy),OH=/@[^\n]*\n/.test(Zy)&&!/zxcasd/.test(Zy),kH=function(t,e){if(typeof t!="string")return t;if(AH)for(;e--;)t=xH(t,CS,"");else if(OH)return DH(ES(SH(t,`
|
|
2
2
|
`),e),`
|
|
3
3
|
`);return t},BH=function(t,e){gn(e)&&"cause"in e&&Fr(t,"cause",e.cause)},Uo={},_H=mr("iterator"),FH=Array.prototype,xS={};xS[mr("toStringTag")]="z";var Jy=String(xS)==="[object z]",TH=mr("toStringTag"),PH=Ot.Object,NH=za(function(){return arguments}())=="Arguments",Oc=Jy?za:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=PH(t),TH))=="string"?r:NH?za(e):(n=za(e))=="Object"&&pr(e.callee)?"Arguments":n},jH=mr("iterator"),SS=function(t){if(t!=null)return yh(t,jH)||yh(t,"@@iterator")||Uo[Oc(t)]},IH=Ot.TypeError,DS=function(t,e,r){var n,o;Qr(t);try{if(!(n=yh(t,"return"))){if(e==="throw")throw r;return r}n=Zr(n,t)}catch(i){o=!0,n=i}if(e==="throw")throw r;if(o)throw n;return Qr(n),r},LH=Ot.TypeError,Oh=function(t,e){this.stopped=t,this.result=e},AS=Oh.prototype,RH=function(t,e,r){var n,o,i,a,u,s,l,c=r&&r.that,f=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),m=Uy(e,c),g=function(y){return n&&DS(n,"normal",y),new Oh(!0,y)},v=function(y){return f?(Qr(y),p?m(y[0],y[1],g):m(y[0],y[1])):p?m(y,g):m(y)};if(d)n=t;else{if(!(o=SS(t)))throw LH(Vy(t)+" is not iterable");if(function(y){return y!==void 0&&(Uo.Array===y||FH[_H]===y)}(o)){for(i=0,a=Dc(t);a>i;i++)if((u=v(t[i]))&&Ec(AS,u))return u;return new Oh(!1)}n=function(y,h){var w=arguments.length<2?SS(y):h;if(zy(w))return Qr(Zr(w,y));throw IH(Vy(y)+" is not iterable")}(t,o)}for(s=n.next;!(l=Zr(s,n)).done;){try{u=v(l.value)}catch(y){DS(n,"throw",y)}if(typeof u=="object"&&u&&Ec(AS,u))return u}return new Oh(!1)},MH=Ot.String,kc=function(t){if(Oc(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return MH(t)},VH=function(t,e){return t===void 0?arguments.length<2?"":e:kc(t)},zH=!Lr(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Rn(1,7)),t.stack!==7)}),HH=mr("toStringTag"),kh=Ot.Error,UH=[].push,Bc=function(t,e){var r,n=arguments.length>2?arguments[2]:void 0,o=Ec(Qy,this);xh?r=xh(new kh(void 0),o?Ch(this):Qy):(r=o?this:Ho(Qy),Fr(r,HH,"Error")),Fr(r,"message",VH(e,"")),zH&&Fr(r,"stack",kH(r.stack,1)),BH(r,n);var i=[];return RH(t,UH,{that:i}),Fr(r,"errors",i),r};xh?xh(Bc,kh):function(t,e){for(var r=yH(e),n=Ei.f,o=wh.f,i=0;i<r.length;i++){var a=r[i];Ht(t,a)||n(t,a,o(e,a))}}(Bc,kh);var Qy=Bc.prototype=Ho(kh.prototype,{constructor:Rn(1,Bc),message:Rn(1,""),name:Rn(1,"AggregateError")});zo({global:!0},{AggregateError:Bc});var WH=de(Function.toString);pr(wi.inspectSource)||(wi.inspectSource=function(t){return WH(t)});var Bh,_c,_h,OS=wi.inspectSource,kS=Ot.WeakMap,GH=pr(kS)&&/native code/.test(OS(kS)),t1=Ot.TypeError,qH=Ot.WeakMap;if(GH||wi.state){var Wa=wi.state||(wi.state=new qH),KH=de(Wa.get),BS=de(Wa.has),YH=de(Wa.set);Bh=function(t,e){if(BS(Wa,t))throw new t1("Object already initialized");return e.facade=t,YH(Wa,t,e),e},_c=function(t){return KH(Wa,t)||{}},_h=function(t){return BS(Wa,t)}}else{var ws=Eh("state");Ac[ws]=!0,Bh=function(t,e){if(Ht(t,ws))throw new t1("Object already initialized");return e.facade=t,Fr(t,ws,e),e},_c=function(t){return Ht(t,ws)?t[ws]:{}},_h=function(t){return Ht(t,ws)}}var Ci,_S,FS,Es={set:Bh,get:_c,has:_h,enforce:function(t){return _h(t)?_c(t):Bh(t,{})},getterFor:function(t){return function(e){var r;if(!gn(e)||(r=_c(e)).type!==t)throw t1("Incompatible receiver, "+t+" required");return r}}},TS=Function.prototype,XH=Rr&&Object.getOwnPropertyDescriptor,PS=Ht(TS,"name"),$H={PROPER:PS&&(function(){}).name==="something",CONFIGURABLE:PS&&(!Rr||Rr&&XH(TS,"name").configurable)},Fh=function(t,e,r,n){Fr(t,e,r)},e1=mr("iterator"),NS=!1;[].keys&&("next"in(FS=[].keys())?(_S=Ch(Ch(FS)))!==Object.prototype&&(Ci=_S):NS=!0);var ZH=Ci==null||Lr(function(){var t={};return Ci[e1].call(t)!==t});Ci=ZH?{}:Ho(Ci),pr(Ci[e1])||Fh(Ci,e1,function(){return this});var jS={IteratorPrototype:Ci,BUGGY_SAFARI_ITERATORS:NS},JH=Jy?{}.toString:function(){return"[object "+Oc(this)+"]"},QH=Ei.f,IS=mr("toStringTag"),Th=function(t,e,r,n){if(t){var o=r?t:t.prototype;Ht(o,IS)||QH(o,IS,{configurable:!0,value:e}),n&&!Jy&&Fr(o,"toString",JH)}},tU=jS.IteratorPrototype,eU=function(){return this},rU=$H.PROPER,r1=jS.BUGGY_SAFARI_ITERATORS,nU=mr("iterator"),oU=function(){return this},LS=function(t,e,r,n,o,i,a){(function(v,y,h,w){var E=y+" Iterator";v.prototype=Ho(tU,{next:Rn(1,h)}),Th(v,E,!1,!0),Uo[E]=eU})(r,e,n);var u,s,l=function(v){if(v===o&&m)return m;if(!r1&&v in d)return d[v];switch(v){case"keys":case"values":case"entries":return function(){return new r(this,v)}}return function(){return new r(this)}},c=e+" Iterator",f=!1,d=t.prototype,p=d[nU]||d["@@iterator"]||o&&d[o],m=!r1&&p||l(o),g=e=="Array"&&d.entries||p;return g&&(u=Ch(g.call(new t)))!==Object.prototype&&u.next&&(Th(u,c,!0,!0),Uo[c]=oU),rU&&o=="values"&&p&&p.name!=="values"&&(f=!0,m=function(){return Zr(p,this)}),o&&(s={values:l("values"),keys:l("keys"),entries:l("entries")},a||zo({target:e,proto:!0,forced:r1||f},s)),Uo[e]=m,s},iU=Es.set,aU=Es.getterFor("Array Iterator");LS(Array,"Array",function(t,e){iU(this,{type:"Array Iterator",target:io(t),index:0,kind:e})},function(){var t=aU(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values"),Uo.Arguments=Uo.Array;var uU=de("".charAt),RS=de("".charCodeAt),sU=de("".slice),lU=function(t){return function(e,r){var n,o,i=kc(Ly(e)),a=Gy(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=RS(i,a))<55296||n>56319||a+1===u||(o=RS(i,a+1))<56320||o>57343?t?uU(i,a):n:t?sU(i,a,a+2):o-56320+(n-55296<<10)+65536}},cU={charAt:lU(!0)}.charAt,fU=Es.set,dU=Es.getterFor("String Iterator");LS(String,"String",function(t){fU(this,{type:"String Iterator",string:kc(t),index:0})},function(){var t,e=dU(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=cU(r,n),e.index+=t.length,{value:t,done:!1})});var pU=Jr.AggregateError,MS=mr("toStringTag");for(var n1 in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var VS=Ot[n1],o1=VS&&VS.prototype;o1&&Oc(o1)!==MS&&Fr(o1,MS,n1),Uo[n1]=Uo.Array}var xi,Ph,hU=pU,Nh=function(t){return t&&t.Math==Math&&t},Ct=Nh(typeof globalThis=="object"&&globalThis)||Nh(typeof window=="object"&&window)||Nh(typeof self=="object"&&self)||Nh(typeof ae=="object"&&ae)||function(){return this}()||Function("return this")(),or=function(t){try{return!!t()}catch{return!0}},uo=!or(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Fc=Function.prototype.call,hr=Fc.bind?Fc.bind(Fc):function(){return Fc.apply(Fc,arguments)},zS={}.propertyIsEnumerable,HS=Object.getOwnPropertyDescriptor,gU=HS&&!zS.call({1:2},1)?function(t){var e=HS(this,t);return!!e&&e.enumerable}:zS,vU={f:gU},Si=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},US=Function.prototype,i1=US.bind,a1=US.call,mU=i1&&i1.bind(a1),ne=i1?function(t){return t&&mU(a1,t)}:function(t){return t&&function(){return a1.apply(t,arguments)}},yU=ne({}.toString),bU=ne("".slice),Ga=function(t){return bU(yU(t),8,-1)},u1=Ct.Object,wU=ne("".split),WS=or(function(){return!u1("z").propertyIsEnumerable(0)})?function(t){return Ga(t)=="String"?wU(t,""):u1(t)}:u1,EU=Ct.TypeError,jh=function(t){if(t==null)throw EU("Can't call method on "+t);return t},Cs=function(t){return WS(jh(t))},Je=function(t){return typeof t=="function"},so=function(t){return typeof t=="object"?t!==null:Je(t)},CU=function(t){return Je(t)?t:void 0},Tc=function(t,e){return arguments.length<2?CU(Ct[t]):Ct[t]&&Ct[t][e]},Ih=ne({}.isPrototypeOf),s1=Tc("navigator","userAgent")||"",GS=Ct.process,qS=Ct.Deno,KS=GS&&GS.versions||qS&&qS.version,YS=KS&&KS.v8;YS&&(Ph=(xi=YS.split("."))[0]>0&&xi[0]<4?1:+(xi[0]+xi[1])),!Ph&&s1&&(!(xi=s1.match(/Edge\/(\d+)/))||xi[1]>=74)&&(xi=s1.match(/Chrome\/(\d+)/))&&(Ph=+xi[1]);var XS=Ph,l1=!!Object.getOwnPropertySymbols&&!or(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&XS&&XS<41}),c1=l1&&!Symbol.sham&&typeof Symbol.iterator=="symbol",xU=Ct.Object,f1=c1?function(t){return typeof t=="symbol"}:function(t){var e=Tc("Symbol");return Je(e)&&Ih(e.prototype,xU(t))},SU=Ct.String,d1=function(t){try{return SU(t)}catch{return"Object"}},DU=Ct.TypeError,p1=function(t){if(Je(t))return t;throw DU(d1(t)+" is not a function")},Pc=function(t,e){var r=t[e];return r==null?void 0:p1(r)},AU=Ct.TypeError,OU=Object.defineProperty,h1=function(t,e){try{OU(Ct,t,{value:e,configurable:!0,writable:!0})}catch{Ct[t]=e}return e},Di=Ct["__core-js_shared__"]||h1("__core-js_shared__",{}),g1=Va(function(t){(t.exports=function(e,r){return Di[e]||(Di[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),kU=Ct.Object,v1=function(t){return kU(jh(t))},BU=ne({}.hasOwnProperty),Mr=Object.hasOwn||function(t,e){return BU(v1(t),e)},_U=0,FU=Math.random(),TU=ne(1 .toString),$S=function(t){return"Symbol("+(t===void 0?"":t)+")_"+TU(++_U+FU,36)},Nc=g1("wks"),qa=Ct.Symbol,ZS=qa&&qa.for,PU=c1?qa:qa&&qa.withoutSetter||$S,Tr=function(t){if(!Mr(Nc,t)||!l1&&typeof Nc[t]!="string"){var e="Symbol."+t;l1&&Mr(qa,t)?Nc[t]=qa[t]:Nc[t]=c1&&ZS?ZS(e):PU(e)}return Nc[t]},NU=Ct.TypeError,jU=Tr("toPrimitive"),IU=function(t,e){if(!so(t)||f1(t))return t;var r,n=Pc(t,jU);if(n){if(r=hr(n,t,e),!so(r)||f1(r))return r;throw NU("Can't convert object to primitive value")}return function(o,i){var a,u;if(Je(a=o.toString)&&!so(u=hr(a,o))||Je(a=o.valueOf)&&!so(u=hr(a,o)))return u;throw AU("Can't convert object to primitive value")}(t)},m1=function(t){var e=IU(t,"string");return f1(e)?e:e+""},y1=Ct.document,LU=so(y1)&&so(y1.createElement),b1=function(t){return LU?y1.createElement(t):{}},JS=!uo&&!or(function(){return Object.defineProperty(b1("div"),"a",{get:function(){return 7}}).a!=7}),QS=Object.getOwnPropertyDescriptor,RU=uo?QS:function(t,e){if(t=Cs(t),e=m1(e),JS)try{return QS(t,e)}catch{}if(Mr(t,e))return Si(!hr(vU.f,t,e),t[e])},w1={f:RU},MU=Ct.String,VU=Ct.TypeError,tn=function(t){if(so(t))return t;throw VU(MU(t)+" is not an object")},zU=Ct.TypeError,tD=Object.defineProperty,HU=uo?tD:function(t,e,r){if(tn(t),e=m1(e),tn(r),JS)try{return tD(t,e,r)}catch{}if("get"in r||"set"in r)throw zU("Accessors not supported");return"value"in r&&(t[e]=r.value),t},xs={f:HU},Vr=uo?function(t,e,r){return xs.f(t,e,Si(1,r))}:function(t,e,r){return t[e]=r,t},UU=ne(Function.toString);Je(Di.inspectSource)||(Di.inspectSource=function(t){return UU(t)});var Lh,jc,Rh,E1=Di.inspectSource,eD=Ct.WeakMap,WU=Je(eD)&&/native code/.test(E1(eD)),rD=g1("keys"),C1=function(t){return rD[t]||(rD[t]=$S(t))},x1={},S1=Ct.TypeError,GU=Ct.WeakMap;if(WU||Di.state){var Ka=Di.state||(Di.state=new GU),qU=ne(Ka.get),nD=ne(Ka.has),KU=ne(Ka.set);Lh=function(t,e){if(nD(Ka,t))throw new S1("Object already initialized");return e.facade=t,KU(Ka,t,e),e},jc=function(t){return qU(Ka,t)||{}},Rh=function(t){return nD(Ka,t)}}else{var Ss=C1("state");x1[Ss]=!0,Lh=function(t,e){if(Mr(t,Ss))throw new S1("Object already initialized");return e.facade=t,Vr(t,Ss,e),e},jc=function(t){return Mr(t,Ss)?t[Ss]:{}},Rh=function(t){return Mr(t,Ss)}}var Ya={set:Lh,get:jc,has:Rh,enforce:function(t){return Rh(t)?jc(t):Lh(t,{})},getterFor:function(t){return function(e){var r;if(!so(e)||(r=jc(e)).type!==t)throw S1("Incompatible receiver, "+t+" required");return r}}},oD=Function.prototype,YU=uo&&Object.getOwnPropertyDescriptor,iD=Mr(oD,"name"),D1={PROPER:iD&&(function(){}).name==="something",CONFIGURABLE:iD&&(!uo||uo&&YU(oD,"name").configurable)},Xa=Va(function(t){var e=D1.CONFIGURABLE,r=Ya.get,n=Ya.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;Je(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Mr(u,"name")||e&&u.name!==p)&&Vr(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==Ct?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Vr(i,a,u)):f?i[a]=u:h1(a,u)})(Function.prototype,"toString",function(){return Je(this)&&r(this).source||E1(this)})}),XU=Math.ceil,$U=Math.floor,A1=function(t){var e=+t;return e!=e||e===0?0:(e>0?$U:XU)(e)},ZU=Math.max,JU=Math.min,O1=function(t,e){var r=A1(t);return r<0?ZU(r+e,0):JU(r,e)},QU=Math.min,aD=function(t){return t>0?QU(A1(t),9007199254740991):0},Mh=function(t){return aD(t.length)},tW=function(t){return function(e,r,n){var o,i=Cs(e),a=Mh(i),u=O1(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},eW={indexOf:tW(!1)}.indexOf,uD=ne([].push),sD=function(t,e){var r,n=Cs(t),o=0,i=[];for(r in n)!Mr(x1,r)&&Mr(n,r)&&uD(i,r);for(;e.length>o;)Mr(n,r=e[o++])&&(~eW(i,r)||uD(i,r));return i},Vh=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],rW=Vh.concat("length","prototype"),nW=Object.getOwnPropertyNames||function(t){return sD(t,rW)},oW={f:nW},iW={f:Object.getOwnPropertySymbols},aW=ne([].concat),uW=Tc("Reflect","ownKeys")||function(t){var e=oW.f(tn(t)),r=iW.f;return r?aW(e,r(t)):e},lD=function(t,e){for(var r=uW(e),n=xs.f,o=w1.f,i=0;i<r.length;i++){var a=r[i];Mr(t,a)||n(t,a,o(e,a))}},sW=/#|\.prototype\./,Ic=function(t,e){var r=cW[lW(t)];return r==dW||r!=fW&&(Je(e)?or(e):!!e)},lW=Ic.normalize=function(t){return String(t).replace(sW,".").toLowerCase()},cW=Ic.data={},fW=Ic.NATIVE="N",dW=Ic.POLYFILL="P",pW=Ic,hW=w1.f,Lc=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?Ct:l?Ct[u]||h1(u,{}):(Ct[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=hW(r,n))&&a.value:r[n],!pW(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;lD(i,o)}(t.sham||o&&o.sham)&&Vr(i,"sham",!0),Xa(r,n,i,t)}},cD={};cD[Tr("toStringTag")]="z";var zh,k1=String(cD)==="[object z]",gW=Tr("toStringTag"),vW=Ct.Object,mW=Ga(function(){return arguments}())=="Arguments",Hh=k1?Ga:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=vW(t),gW))=="string"?r:mW?Ga(e):(n=Ga(e))=="Object"&&Je(e.callee)?"Arguments":n},yW=Ct.String,$a=function(t){if(Hh(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return yW(t)},bW=function(){var t=tn(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},B1=Ct.RegExp,fD=or(function(){var t=B1("a","y");return t.lastIndex=2,t.exec("abcd")!=null});fD||or(function(){return!B1("a","y").sticky});var wW=fD||or(function(){var t=B1("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),EW={BROKEN_CARET:wW},CW=Object.keys||function(t){return sD(t,Vh)},xW=uo?Object.defineProperties:function(t,e){tn(t);for(var r,n=Cs(e),o=CW(e),i=o.length,a=0;i>a;)xs.f(t,r=o[a++],n[r]);return t},SW=Tc("document","documentElement"),dD=C1("IE_PROTO"),_1=function(){},pD=function(t){return"<script>"+t+"<\/script>"},hD=function(t){t.write(pD("")),t.close();var e=t.parentWindow.Object;return t=null,e},Uh=function(){try{zh=new ActiveXObject("htmlfile")}catch{}var t,e;Uh=typeof document<"u"?document.domain&&zh?hD(zh):((e=b1("iframe")).style.display="none",SW.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(pD("document.F=Object")),t.close(),t.F):hD(zh);for(var r=Vh.length;r--;)delete Uh.prototype[Vh[r]];return Uh()};x1[dD]=!0;var gD,F1,Rc=Object.create||function(t,e){var r;return t!==null?(_1.prototype=tn(t),r=new _1,_1.prototype=null,r[dD]=t):r=Uh(),e===void 0?r:xW(r,e)},DW=Ct.RegExp,AW=or(function(){var t=DW(".","s");return!(t.dotAll&&t.exec(`
|
|
4
4
|
`)&&t.flags==="s")}),OW=Ct.RegExp,kW=or(function(){var t=OW("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),BW=Ya.get,_W=g1("native-string-replace",String.prototype.replace),Wh=RegExp.prototype.exec,T1=Wh,FW=ne("".charAt),TW=ne("".indexOf),PW=ne("".replace),P1=ne("".slice),N1=(F1=/b*/g,hr(Wh,gD=/a/,"a"),hr(Wh,F1,"a"),gD.lastIndex!==0||F1.lastIndex!==0),vD=EW.BROKEN_CARET,j1=/()??/.exec("")[1]!==void 0;(N1||j1||vD||AW||kW)&&(T1=function(t){var e,r,n,o,i,a,u,s=this,l=BW(s),c=$a(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=hr(T1,f,c),s.lastIndex=f.lastIndex,e;var d=l.groups,p=vD&&s.sticky,m=hr(bW,s),g=s.source,v=0,y=c;if(p&&(m=PW(m,"y",""),TW(m,"g")===-1&&(m+="g"),y=P1(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&FW(c,s.lastIndex-1)!==`
|
|
@@ -105,7 +105,7 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,y
|
|
|
105
105
|
`)}]}]};I.insertNodes(e,c,{mode:"highest"})},t}(),lut={key:"codeBlock",factory:function(){return new sut}};tr({target:"String",proto:!0,forced:pd("anchor")},{anchor:function(t){return dd(this,"a","name",t)}}),mE("match",function(t,e,r){return[function(n){var o=Dn(this),i=n==null?void 0:T0(n,t);return i?Le(i,n,o):new RegExp(n)[t](Ae(o))},function(n){var o=ln(this),i=Ae(n),a=r(e,o,i);if(a.done)return a.value;if(!o.global)return cd(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=cd(o,i))!==null;){var f=Ae(s[0]);l[c]=f,f===""&&(o.lastIndex=yE(i,ad(o.lastIndex),u)),c++}return c===0?null:l}]});var cut={type:"pre",renderElem:function(t,e,r){return bt("pre",null,e)}},fut={type:"code",renderElem:function(t,e,r){return bt("code",null,e)}},dut={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=_(t);return(e=e.filter(function(o){return k.getNodeType(o)==="code"})).length===0&&(e=[{type:"code",language:"",children:[{text:n[0].textContent||""}]}]),{type:"pre",children:e.filter(function(o){return k.getNodeType(o)==="code"})}}},put={menus:[lut],editorPlugin:function(t){var e=t.insertBreak,r=t.normalizeNode,n=t.insertData;t.insertNode;var o=t;return o.insertBreak=function(){var i=k.getSelectedNodeByType(o,"code");if(i!=null){var a=function(l,c){var f=c.selection;if(f==null)return"";var d=et.string(l),p=f.anchor.offset,m=d.slice(0,p).split(`
|
|
106
106
|
`),g=m.length;return g===0?"":m[g-1]}(i,o);if(a){var u=a.match(/^\s+/);if(u!=null&&u[0]!=null){var s=u[0];return void o.insertText(`
|
|
107
107
|
`+s)}}o.insertText(`
|
|
108
|
-
`)}else e()},o.normalizeNode=function(i){var a=qt(i,2),u=a[0],s=a[1],l=k.getNodeType(u);return l==="code"&&s.length<=1&&I.setNodes(o,{type:"paragraph"},{at:s}),l==="pre"&&(k.isLastNode(o,u)&&I.insertNodes(o,k.genEmptyParagraph(),{at:[s[0]+1]}),k.getNodeType(u.children[0])!=="code"&&(I.unwrapNodes(o),I.setNodes(o,{type:"paragraph"},{mode:"highest"}))),r([u,s])},o.insertData=function(i){if(k.getSelectedNodeByType(o,"code")!=null){var a=i.getData("text/plain");S.insertText(o,a)}else n(i)},o},renderElems:[cut,fut],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return"<code>"+e+"</code>"}},{type:"pre",elemToHtml:function(t,e){return"<pre>"+e+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=_(t);if(Al(e)!=="code")return t;var r=e.find("xmp");if(r.length===0)return t;var n=r.text();return r.remove(),e.text(n),e[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,r){return{type:"code",language:"",children:[{text:_(t)[0].textContent||""}]}}},dut]},hut=function(){function t(){this.title=rt("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return e.isFullScreen},t.prototype.isDisabled=function(e){return!1},t.prototype.exec=function(e,r){e.isFullScreen?e.unFullScreen():e.fullScreen()},t}(),gut={menus:[{key:"fullScreen",factory:function(){return new hut}}]},vut=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!!z.isExpanded(r)},t.prototype.exec=function(e,r){var n=e.selection;if(n!=null){var o=[n.anchor.path[0]];I.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:o}),e.select(S.start(e,o))}},t}(),mut=[Ont,iot,Vat,Wat,Xat,Zat,Bot,nut,Wot,vot,put,Hot,tot,$rt,Pot,tut,gut,{menus:[{key:"enter",factory:function(){return new vut}}]}];Ur("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Ur("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var HT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function EC(t){var e={exports:{}};return t(e,e.exports),e.exports}var aa,hv,gv=function(t){return t&&t.Math==Math&&t},wt=gv(typeof globalThis=="object"&&globalThis)||gv(typeof window=="object"&&window)||gv(typeof self=="object"&&self)||gv(typeof HT=="object"&&HT)||function(){return this}()||Function("return this")(),UT=Function.prototype,CC=UT.bind,xC=UT.call,yut=CC&&CC.bind(xC),Nt=CC?function(t){return t&&yut(xC,t)}:function(t){return t&&function(){return xC.apply(t,arguments)}},Oe=function(t){try{return!!t()}catch{return!0}},but=Nt({}.toString),wut=Nt("".slice),oi=function(t){return wut(but(t),8,-1)},SC=wt.Object,Eut=Nt("".split),WT=Oe(function(){return!SC("z").propertyIsEnumerable(0)})?function(t){return oi(t)=="String"?Eut(t,""):SC(t)}:SC,Cut=wt.TypeError,vv=function(t){if(t==null)throw Cut("Can't call method on "+t);return t},Nl=function(t){return WT(vv(t))},xut=Object.defineProperty,DC=function(t,e){try{xut(wt,t,{value:e,configurable:!0,writable:!0})}catch{wt[t]=e}return e},ua=wt["__core-js_shared__"]||DC("__core-js_shared__",{}),AC=EC(function(t){(t.exports=function(e,r){return ua[e]||(ua[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Sut=wt.Object,Bd=function(t){return Sut(vv(t))},Dut=Nt({}.hasOwnProperty),er=Object.hasOwn||function(t,e){return Dut(Bd(t),e)},Aut=0,Out=Math.random(),kut=Nt(1 .toString),OC=function(t){return"Symbol("+(t===void 0?"":t)+")_"+kut(++Aut+Out,36)},_e=function(t){return typeof t=="function"},But=function(t){return _e(t)?t:void 0},_d=function(t,e){return arguments.length<2?But(wt[t]):wt[t]&&wt[t][e]},kC=_d("navigator","userAgent")||"",GT=wt.process,qT=wt.Deno,KT=GT&>.versions||qT&&qT.version,YT=KT&&KT.v8;YT&&(hv=(aa=YT.split("."))[0]>0&&aa[0]<4?1:+(aa[0]+aa[1])),!hv&&kC&&(!(aa=kC.match(/Edge\/(\d+)/))||aa[1]>=74)&&(aa=kC.match(/Chrome\/(\d+)/))&&(hv=+aa[1]);var mv,BC=hv,_C=!!Object.getOwnPropertySymbols&&!Oe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&BC&&BC<41}),FC=_C&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Fd=AC("wks"),Hu=wt.Symbol,XT=Hu&&Hu.for,_ut=FC?Hu:Hu&&Hu.withoutSetter||OC,vr=function(t){if(!er(Fd,t)||!_C&&typeof Fd[t]!="string"){var e="Symbol."+t;_C&&er(Hu,t)?Fd[t]=Hu[t]:Fd[t]=FC&&XT?XT(e):_ut(e)}return Fd[t]},Fe=function(t){return typeof t=="object"?t!==null:_e(t)},Fut=wt.String,Tut=wt.TypeError,qr=function(t){if(Fe(t))return t;throw Tut(Fut(t)+" is not an object")},sa=!Oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),TC=wt.document,Put=Fe(TC)&&Fe(TC.createElement),PC=function(t){return Put?TC.createElement(t):{}},$T=!sa&&!Oe(function(){return Object.defineProperty(PC("div"),"a",{get:function(){return 7}}).a!=7}),Td=Function.prototype.call,ar=Td.bind?Td.bind(Td):function(){return Td.apply(Td,arguments)},yv=Nt({}.isPrototypeOf),Nut=wt.Object,NC=FC?function(t){return typeof t=="symbol"}:function(t){var e=_d("Symbol");return _e(e)&&yv(e.prototype,Nut(t))},jut=wt.String,jC=function(t){try{return jut(t)}catch{return"Object"}},Iut=wt.TypeError,IC=function(t){if(_e(t))return t;throw Iut(jC(t)+" is not a function")},Pd=function(t,e){var r=t[e];return r==null?void 0:IC(r)},Lut=wt.TypeError,Rut=wt.TypeError,Mut=vr("toPrimitive"),LC=function(t){var e=function(r,n){if(!Fe(r)||NC(r))return r;var o,i=Pd(r,Mut);if(i){if(o=ar(i,r,n),!Fe(o)||NC(o))return o;throw Rut("Can't convert object to primitive value")}return function(a,u){var s,l;if(_e(s=a.toString)&&!Fe(l=ar(s,a))||_e(s=a.valueOf)&&!Fe(l=ar(s,a)))return l;throw Lut("Can't convert object to primitive value")}(r)}(t,"string");return NC(e)?e:e+""},Vut=wt.TypeError,ZT=Object.defineProperty,Uu={f:sa?ZT:function(t,e,r){if(qr(t),e=LC(e),qr(r),$T)try{return ZT(t,e,r)}catch{}if("get"in r||"set"in r)throw Vut("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},zut=Math.ceil,Hut=Math.floor,Nd=function(t){var e=+t;return e!=e||e===0?0:(e>0?Hut:zut)(e)},Uut=Math.max,Wut=Math.min,RC=function(t,e){var r=Nd(t);return r<0?Uut(r+e,0):Wut(r,e)},Gut=Math.min,JT=function(t){return t>0?Gut(Nd(t),9007199254740991):0},jl=function(t){return JT(t.length)},QT=function(t){return function(e,r,n){var o,i=Nl(e),a=jl(i),u=RC(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},tP={includes:QT(!0),indexOf:QT(!1)},bv={},qut=tP.indexOf,eP=Nt([].push),rP=function(t,e){var r,n=Nl(t),o=0,i=[];for(r in n)!er(bv,r)&&er(n,r)&&eP(i,r);for(;e.length>o;)er(n,r=e[o++])&&(~qut(i,r)||eP(i,r));return i},wv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Kut=Object.keys||function(t){return rP(t,wv)},Yut=sa?Object.defineProperties:function(t,e){qr(t);for(var r,n=Nl(e),o=Kut(e),i=o.length,a=0;i>a;)Uu.f(t,r=o[a++],n[r]);return t},Xut=_d("document","documentElement"),nP=AC("keys"),MC=function(t){return nP[t]||(nP[t]=OC(t))},oP=MC("IE_PROTO"),VC=function(){},iP=function(t){return"<script>"+t+"<\/script>"},aP=function(t){t.write(iP("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ev=function(){try{mv=new ActiveXObject("htmlfile")}catch{}var t,e;Ev=typeof document<"u"?document.domain&&mv?aP(mv):((e=PC("iframe")).style.display="none",Xut.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(iP("document.F=Object")),t.close(),t.F):aP(mv);for(var r=wv.length;r--;)delete Ev.prototype[wv[r]];return Ev()};bv[oP]=!0;var zC=Object.create||function(t,e){var r;return t!==null?(VC.prototype=qr(t),r=new VC,VC.prototype=null,r[oP]=t):r=Ev(),e===void 0?r:Yut(r,e)},HC=vr("unscopables"),UC=Array.prototype;UC[HC]==null&&Uu.f(UC,HC,{configurable:!0,value:zC(null)});var jd=function(t){UC[HC][t]=!0},Il={},$ut=Nt(Function.toString);_e(ua.inspectSource)||(ua.inspectSource=function(t){return $ut(t)});var Cv,Id,xv,WC=ua.inspectSource,uP=wt.WeakMap,sP=_e(uP)&&/native code/.test(WC(uP)),Sv=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},la=sa?function(t,e,r){return Uu.f(t,e,Sv(1,r))}:function(t,e,r){return t[e]=r,t},GC=wt.TypeError,Zut=wt.WeakMap;if(sP||ua.state){var Wu=ua.state||(ua.state=new Zut),Jut=Nt(Wu.get),lP=Nt(Wu.has),Qut=Nt(Wu.set);Cv=function(t,e){if(lP(Wu,t))throw new GC("Object already initialized");return e.facade=t,Qut(Wu,t,e),e},Id=function(t){return Jut(Wu,t)||{}},xv=function(t){return lP(Wu,t)}}else{var Ll=MC("state");bv[Ll]=!0,Cv=function(t,e){if(er(t,Ll))throw new GC("Object already initialized");return e.facade=t,la(t,Ll,e),e},Id=function(t){return er(t,Ll)?t[Ll]:{}},xv=function(t){return er(t,Ll)}}var Gu,cP,fP,Do={set:Cv,get:Id,has:xv,enforce:function(t){return xv(t)?Id(t):Cv(t,{})},getterFor:function(t){return function(e){var r;if(!Fe(e)||(r=Id(e)).type!==t)throw GC("Incompatible receiver, "+t+" required");return r}}},dP={}.propertyIsEnumerable,pP=Object.getOwnPropertyDescriptor,tst={f:pP&&!dP.call({1:2},1)?function(t){var e=pP(this,t);return!!e&&e.enumerable}:dP},hP=Object.getOwnPropertyDescriptor,gP={f:sa?hP:function(t,e){if(t=Nl(t),e=LC(e),$T)try{return hP(t,e)}catch{}if(er(t,e))return Sv(!ar(tst.f,t,e),t[e])}},vP=Function.prototype,est=sa&&Object.getOwnPropertyDescriptor,mP=er(vP,"name"),qC={PROPER:mP&&(function(){}).name==="something",CONFIGURABLE:mP&&(!sa||sa&&est(vP,"name").configurable)},ii=EC(function(t){var e=qC.CONFIGURABLE,r=Do.get,n=Do.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;_e(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!er(u,"name")||e&&u.name!==p)&&la(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==wt?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:la(i,a,u)):f?i[a]=u:DC(a,u)})(Function.prototype,"toString",function(){return _e(this)&&r(this).source||WC(this)})}),rst=wv.concat("length","prototype"),Dv={f:Object.getOwnPropertyNames||function(t){return rP(t,rst)}},nst={f:Object.getOwnPropertySymbols},ost=Nt([].concat),ist=_d("Reflect","ownKeys")||function(t){var e=Dv.f(qr(t)),r=nst.f;return r?ost(e,r(t)):e},ast=function(t,e){for(var r=ist(e),n=Uu.f,o=gP.f,i=0;i<r.length;i++){var a=r[i];er(t,a)||n(t,a,o(e,a))}},ust=/#|\.prototype\./,Ld=function(t,e){var r=lst[sst(t)];return r==fst||r!=cst&&(_e(e)?Oe(e):!!e)},sst=Ld.normalize=function(t){return String(t).replace(ust,".").toLowerCase()},lst=Ld.data={},cst=Ld.NATIVE="N",fst=Ld.POLYFILL="P",KC=Ld,dst=gP.f,ca=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?wt:l?wt[u]||DC(u,{}):(wt[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=dst(r,n))&&a.value:r[n],!KC(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;ast(i,o)}(t.sham||o&&o.sham)&&la(i,"sham",!0),ii(r,n,i,t)}},pst=!Oe(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),yP=MC("IE_PROTO"),YC=wt.Object,hst=YC.prototype,Av=pst?YC.getPrototypeOf:function(t){var e=Bd(t);if(er(e,yP))return e[yP];var r=e.constructor;return _e(r)&&e instanceof r?r.prototype:e instanceof YC?hst:null},XC=vr("iterator"),bP=!1;[].keys&&("next"in(fP=[].keys())?(cP=Av(Av(fP)))!==Object.prototype&&(Gu=cP):bP=!0);var gst=Gu==null||Oe(function(){var t={};return Gu[XC].call(t)!==t});gst&&(Gu={}),_e(Gu[XC])||ii(Gu,XC,function(){return this});var $C={IteratorPrototype:Gu,BUGGY_SAFARI_ITERATORS:bP},vst=Uu.f,wP=vr("toStringTag"),ZC=function(t,e,r){t&&!er(t=r?t:t.prototype,wP)&&vst(t,wP,{configurable:!0,value:e})},mst=$C.IteratorPrototype,yst=function(){return this},bst=wt.String,wst=wt.TypeError,Ov=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Nt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(n,o){return qr(n),function(i){if(typeof i=="object"||_e(i))return i;throw wst("Can't set "+bst(i)+" as a prototype")}(o),e?t(n,o):n.__proto__=o,n}}():void 0),Est=qC.PROPER,Cst=qC.CONFIGURABLE,EP=$C.IteratorPrototype,JC=$C.BUGGY_SAFARI_ITERATORS,Rd=vr("iterator"),xst=function(){return this},CP=function(t,e,r,n,o,i,a){(function(v,y,h,w){var E=y+" Iterator";v.prototype=zC(mst,{next:Sv(1,h)}),ZC(v,E,!1),Il[E]=yst})(r,e,n);var u,s,l=function(v){if(v===o&&m)return m;if(!JC&&v in d)return d[v];switch(v){case"keys":case"values":case"entries":return function(){return new r(this,v)}}return function(){return new r(this)}},c=e+" Iterator",f=!1,d=t.prototype,p=d[Rd]||d["@@iterator"]||o&&d[o],m=!JC&&p||l(o),g=e=="Array"&&d.entries||p;return g&&(u=Av(g.call(new t)))!==Object.prototype&&u.next&&(Av(u)!==EP&&(Ov?Ov(u,EP):_e(u[Rd])||ii(u,Rd,xst)),ZC(u,c,!0)),Est&&o=="values"&&p&&p.name!=="values"&&(Cst?la(d,"name","values"):(f=!0,m=function(){return ar(p,this)})),o&&(s={values:l("values"),keys:l("keys"),entries:l("entries")},a||ca({target:e,proto:!0,forced:JC||f},s)),d[Rd]!==m&&ii(d,Rd,m,{name:o}),Il[e]=m,s},Sst=Do.set,Dst=Do.getterFor("Array Iterator"),Md=CP(Array,"Array",function(t,e){Sst(this,{type:"Array Iterator",target:Nl(t),index:0,kind:e})},function(){var t=Dst(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");Il.Arguments=Il.Array,jd("keys"),jd("values"),jd("entries");var xP={};xP[vr("toStringTag")]="z";var QC=String(xP)==="[object z]",Ast=vr("toStringTag"),Ost=wt.Object,kst=oi(function(){return arguments}())=="Arguments",kv=QC?oi:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=Ost(t),Ast))=="string"?r:kst?oi(e):(n=oi(e))=="Object"&&_e(e.callee)?"Arguments":n},Bst=QC?{}.toString:function(){return"[object "+kv(this)+"]"};QC||ii(Object.prototype,"toString",Bst,{unsafe:!0});var _st=wt.String,ai=function(t){if(kv(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return _st(t)},Fst=Nt("".charAt),SP=Nt("".charCodeAt),Tst=Nt("".slice),Pst=function(t){return function(e,r){var n,o,i=ai(vv(e)),a=Nd(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=SP(i,a))<55296||n>56319||a+1===u||(o=SP(i,a+1))<56320||o>57343?t?Fst(i,a):n:t?Tst(i,a,a+2):o-56320+(n-55296<<10)+65536}},DP={charAt:Pst(!0)},Nst=DP.charAt,jst=Do.set,Ist=Do.getterFor("String Iterator");CP(String,"String",function(t){jst(this,{type:"String Iterator",string:ai(t),index:0})},function(){var t,e=Ist(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Nst(r,n),e.index+=t.length,{value:t,done:!1})});var t3=function(t,e,r){for(var n in e)ii(t,n,e[n],r);return t},Lst=wt.Array,Rst=Math.max,AP=Dv.f,OP=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Mst={f:function(t){return OP&&oi(t)=="Window"?function(e){try{return AP(e)}catch{return function(n,o,i){for(var a,u,s,l,c=jl(n),f=RC(void 0,c),d=RC(c,c),p=Lst(Rst(d-f,0)),m=0;f<d;f++,m++)a=p,u=m,s=n[f],(l=LC(u))in a?Uu.f(a,l,Sv(0,s)):a[l]=s;return p.length=m,p}(OP)}}(t):AP(Nl(t))}},kP=Oe(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Bv=Object.isExtensible,qu=Oe(function(){Bv(1)})||kP?function(t){return!!Fe(t)&&(!kP||oi(t)!="ArrayBuffer")&&(!Bv||Bv(t))}:Bv,Vst=!Oe(function(){return Object.isExtensible(Object.preventExtensions({}))}),e3=EC(function(t){var e=Uu.f,r=!1,n=OC("meta"),o=0,i=function(u){e(u,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var u=Dv.f,s=Nt([].splice),l={};l[n]=1,u(l).length&&(Dv.f=function(c){for(var f=u(c),d=0,p=f.length;d<p;d++)if(f[d]===n){s(f,d,1);break}return f},ca({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Mst.f}))},fastKey:function(u,s){if(!Fe(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!er(u,n)){if(!qu(u))return"F";if(!s)return"E";i(u)}return u[n].objectID},getWeakData:function(u,s){if(!er(u,n)){if(!qu(u))return!0;if(!s)return!1;i(u)}return u[n].weakData},onFreeze:function(u){return Vst&&r&&qu(u)&&!er(u,n)&&i(u),u}};bv[n]=!0}),BP=Nt(Nt.bind),r3=function(t,e){return IC(t),e===void 0?t:BP?BP(t,e):function(){return t.apply(e,arguments)}},zst=vr("iterator"),Hst=Array.prototype,Ust=vr("iterator"),_P=function(t){if(t!=null)return Pd(t,Ust)||Pd(t,"@@iterator")||Il[kv(t)]},Wst=wt.TypeError,FP=function(t,e,r){var n,o;qr(t);try{if(!(n=Pd(t,"return"))){if(e==="throw")throw r;return r}n=ar(n,t)}catch(i){o=!0,n=i}if(e==="throw")throw r;if(o)throw n;return qr(n),r},Gst=wt.TypeError,_v=function(t,e){this.stopped=t,this.result=e},TP=_v.prototype,PP=function(t,e,r){var n,o,i,a,u,s,l,c,f=r&&r.that,d=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_ITERATOR),m=!(!r||!r.INTERRUPTED),g=r3(e,f),v=function(h){return n&&FP(n,"normal",h),new _v(!0,h)},y=function(h){return d?(qr(h),m?g(h[0],h[1],v):g(h[0],h[1])):m?g(h,v):g(h)};if(p)n=t;else{if(!(o=_P(t)))throw Gst(jC(t)+" is not iterable");if((c=o)!==void 0&&(Il.Array===c||Hst[zst]===c)){for(i=0,a=jl(t);a>i;i++)if((u=y(t[i]))&&yv(TP,u))return u;return new _v(!1)}n=function(h,w){var E=arguments.length<2?_P(h):w;if(IC(E))return qr(ar(E,h));throw Wst(jC(h)+" is not iterable")}(t,o)}for(s=n.next;!(l=ar(s,n)).done;){try{u=y(l.value)}catch(h){FP(n,"throw",h)}if(typeof u=="object"&&u&&yv(TP,u))return u}return new _v(!1)},qst=wt.TypeError,NP=function(t,e){if(yv(e,t))return t;throw qst("Incorrect invocation")},jP=vr("iterator"),IP=!1;try{var Kst=0,LP={next:function(){return{done:!!Kst++}},return:function(){IP=!0}};LP[jP]=function(){return this},Array.from(LP,function(){throw 2})}catch{}var n3=Array.isArray||function(t){return oi(t)=="Array"},RP=function(){},Yst=[],MP=_d("Reflect","construct"),o3=/^\s*(?:class|function)\b/,Xst=Nt(o3.exec),$st=!o3.exec(RP),Vd=function(t){if(!_e(t))return!1;try{return MP(RP,Yst,t),!0}catch{return!1}},Zst=!MP||Oe(function(){var t;return Vd(Vd.call)||!Vd(Object)||!Vd(function(){t=!0})||t})?function(t){if(!_e(t))return!1;switch(kv(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return $st||!!Xst(o3,WC(t))}:Vd,Jst=vr("species"),VP=wt.Array,zP=function(t,e){return new(function(r){var n;return n3(r)&&(n=r.constructor,(Zst(n)&&(n===VP||n3(n.prototype))||Fe(n)&&(n=n[Jst])===null)&&(n=void 0)),n===void 0?VP:n}(t))(e===0?0:e)},HP=Nt([].push),i3=function(t){var e=t==1,r=t==2,n=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var d,p,m=Bd(s),g=WT(m),v=r3(l,c),y=jl(g),h=0,w=f||zP,E=e?w(s,y):r||a?w(s,0):void 0;y>h;h++)if((u||h in g)&&(p=v(d=g[h],h,m),t))if(e)E[h]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return h;case 2:HP(E,d)}else switch(t){case 4:return!1;case 7:HP(E,d)}return i?-1:n||o?o:E}},a3={filter:i3(2),find:i3(5),findIndex:i3(6)},Fv=e3.getWeakData,Qst=Do.set,tlt=Do.getterFor,elt=a3.find,rlt=a3.findIndex,nlt=Nt([].splice),olt=0,Tv=function(t){return t.frozen||(t.frozen=new UP)},UP=function(){this.entries=[]},u3=function(t,e){return elt(t.entries,function(r){return r[0]===e})};UP.prototype={get:function(t){var e=u3(this,t);if(e)return e[1]},has:function(t){return!!u3(this,t)},set:function(t,e){var r=u3(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=rlt(this.entries,function(r){return r[0]===t});return~e&&nlt(this.entries,e,1),!!~e}};var zd,WP={getConstructor:function(t,e,r,n){var o=t(function(s,l){NP(s,i),Qst(s,{type:e,id:olt++,frozen:void 0}),l!=null&&PP(l,s[n],{that:s,AS_ENTRIES:r})}),i=o.prototype,a=tlt(e),u=function(s,l,c){var f=a(s),d=Fv(qr(l),!0);return d===!0?Tv(f).set(l,c):d[f.id]=c,s};return t3(i,{delete:function(s){var l=a(this);if(!Fe(s))return!1;var c=Fv(s);return c===!0?Tv(l).delete(s):c&&er(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Fe(s))return!1;var c=Fv(s);return c===!0?Tv(l).has(s):c&&er(c,l.id)}}),t3(i,r?{get:function(s){var l=a(this);if(Fe(s)){var c=Fv(s);return c===!0?Tv(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},Pv=Do.enforce,ilt=!wt.ActiveXObject&&"ActiveXObject"in wt,GP=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},alt=function(t,e,r){var n=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=n?"set":"add",a=wt[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=Nt(u[v]);ii(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Fe(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!Fe(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Fe(h))&&y(this,h===0?0:h)}:function(h,w){return y(this,h===0?0:h,w),this})};if(KC(t,!_e(a)||!(o||u.forEach&&!Oe(function(){new a().entries().next()}))))s=r.getConstructor(e,t,n,i),e3.enable();else if(KC(t,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Oe(function(){f.has(1)}),m=function(v,y){if(!IP)return!1;var h=!1;try{var w={};w[jP]=function(){return{next:function(){return{done:h=!0}}}},function(E){new a(E)}(w)}catch{}return h}(),g=!o&&Oe(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){NP(v,u);var h=function(w,E,x){var C,D;return Ov&&_e(C=E.constructor)&&C!==x&&Fe(D=C.prototype)&&D!==x.prototype&&Ov(w,D),w}(new a,v,s);return y!=null&&PP(y,h[i],{that:h,AS_ENTRIES:n}),h})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),n&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,ca({global:!0,forced:s!=a},l),ZC(s,t),o||r.setStrong(s,t,n),s}("WeakMap",GP,WP);if(sP&&ilt){zd=WP.getConstructor(GP,"WeakMap",!0),e3.enable();var Hd=alt.prototype,qP=Nt(Hd.delete),Nv=Nt(Hd.has),KP=Nt(Hd.get),YP=Nt(Hd.set);t3(Hd,{delete:function(t){if(Fe(t)&&!qu(t)){var e=Pv(this);return e.frozen||(e.frozen=new zd),qP(this,t)||e.frozen.delete(t)}return qP(this,t)},has:function(t){if(Fe(t)&&!qu(t)){var e=Pv(this);return e.frozen||(e.frozen=new zd),Nv(this,t)||e.frozen.has(t)}return Nv(this,t)},get:function(t){if(Fe(t)&&!qu(t)){var e=Pv(this);return e.frozen||(e.frozen=new zd),Nv(this,t)?KP(this,t):e.frozen.get(t)}return KP(this,t)},set:function(t,e){if(Fe(t)&&!qu(t)){var r=Pv(this);r.frozen||(r.frozen=new zd),Nv(this,t)?YP(this,t,e):r.frozen.set(t,e)}else YP(this,t,e);return this}})}var XP={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},s3=PC("span").classList,$P=s3&&s3.constructor&&s3.constructor.prototype,ult=$P===Object.prototype?void 0:$P,l3=vr("iterator"),ZP=vr("toStringTag"),c3=Md.values,JP=function(t,e){if(t){if(t[l3]!==c3)try{la(t,l3,c3)}catch{t[l3]=c3}if(t[ZP]||la(t,ZP,e),XP[e]){for(var r in Md)if(t[r]!==Md[r])try{la(t,r,Md[r])}catch{t[r]=Md[r]}}}};for(var f3 in XP)JP(wt[f3]&&wt[f3].prototype,f3);JP(ult,"DOMTokenList");var d3=new WeakMap,slt={type:"list-item",renderElem:function(t,e,r){d3.set(t,r);var n=t,o=n.level,i=o===void 0?0:o,a=n.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(a!==void 0&&a){var l=function(f,d){var p=d,m=p.type,g=p.level,v=g===void 0?0:g,y=p.ordered,h=y!==void 0&&y;if(!h)return-1;var w=1,E=d,x=k.findPath(f,E);if(x[0]===0)return 1;for(;x[0]>0;){var C=j.previous(x),D=S.node(f,C);if(D==null)break;var B=D[0],F=B.level,R=F===void 0?0:F,G=B.type,M=B.ordered;if(G!==m||R<v)break;if(R===v){if(M!==h)break;w++}E=B,x=C}return w}(r,t);s=l+"."}else s=function(f){f===void 0&&(f=0);var d="";switch(f){case 0:d="•";break;case 1:d="◦";break;default:d="▪"}return d}(i);var c=function(f){var d,p=f.children||[],m=p.length;if(m===0)return"";for(var g=0;g<m&&!d;g++){var v=p[g];at.isText(v)&&(d=v)}return d==null?"":d.color||""}(t);return bt("div",{style:u},bt("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),bt("span",null,e))}},p3=function(t,e){return p3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},p3(t,e);/*! *****************************************************************************
|
|
108
|
+
`)}else e()},o.normalizeNode=function(i){var a=qt(i,2),u=a[0],s=a[1],l=k.getNodeType(u);return l==="code"&&s.length<=1&&I.setNodes(o,{type:"paragraph"},{at:s}),l==="pre"&&(k.isLastNode(o,u)&&I.insertNodes(o,k.genEmptyParagraph(),{at:[s[0]+1]}),k.getNodeType(u.children[0])!=="code"&&(I.unwrapNodes(o),I.setNodes(o,{type:"paragraph"},{mode:"highest"}))),r([u,s])},o.insertData=function(i){if(k.getSelectedNodeByType(o,"code")!=null){var a=i.getData("text/plain");S.insertText(o,a)}else n(i)},o},renderElems:[cut,fut],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return"<code>"+e+"</code>"}},{type:"pre",elemToHtml:function(t,e){return"<pre>"+e+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=_(t);if(Al(e)!=="code")return t;var r=e.find("xmp");if(r.length===0)return t;var n=r.text();return r.remove(),e.text(n),e[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,r){return{type:"code",language:"",children:[{text:_(t)[0].textContent||""}]}}},dut]},hut=function(){function t(){this.title=rt("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return e.isFullScreen},t.prototype.isDisabled=function(e){return!1},t.prototype.exec=function(e,r){e.isFullScreen?e.unFullScreen():e.fullScreen()},t}(),gut={menus:[{key:"fullScreen",factory:function(){return new hut}}]},vut=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!!z.isExpanded(r)},t.prototype.exec=function(e,r){var n=e.selection;if(n!=null){var o=[n.anchor.path[0]];I.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:o}),e.select(S.start(e,o))}},t}(),mut=[Ont,iot,Vat,Wat,Xat,Zat,Bot,nut,Wot,vot,put,Hot,tot,$rt,Pot,tut,gut,{menus:[{key:"enter",factory:function(){return new vut}}]}];Ur("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Ur("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var HT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function EC(t){var e={exports:{}};return t(e,e.exports),e.exports}var aa,hv,gv=function(t){return t&&t.Math==Math&&t},wt=gv(typeof globalThis=="object"&&globalThis)||gv(typeof window=="object"&&window)||gv(typeof self=="object"&&self)||gv(typeof HT=="object"&&HT)||function(){return this}()||Function("return this")(),UT=Function.prototype,CC=UT.bind,xC=UT.call,yut=CC&&CC.bind(xC),Nt=CC?function(t){return t&&yut(xC,t)}:function(t){return t&&function(){return xC.apply(t,arguments)}},Oe=function(t){try{return!!t()}catch{return!0}},but=Nt({}.toString),wut=Nt("".slice),oi=function(t){return wut(but(t),8,-1)},SC=wt.Object,Eut=Nt("".split),WT=Oe(function(){return!SC("z").propertyIsEnumerable(0)})?function(t){return oi(t)=="String"?Eut(t,""):SC(t)}:SC,Cut=wt.TypeError,vv=function(t){if(t==null)throw Cut("Can't call method on "+t);return t},Nl=function(t){return WT(vv(t))},xut=Object.defineProperty,DC=function(t,e){try{xut(wt,t,{value:e,configurable:!0,writable:!0})}catch{wt[t]=e}return e},ua=wt["__core-js_shared__"]||DC("__core-js_shared__",{}),AC=EC(function(t){(t.exports=function(e,r){return ua[e]||(ua[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Sut=wt.Object,Bd=function(t){return Sut(vv(t))},Dut=Nt({}.hasOwnProperty),er=Object.hasOwn||function(t,e){return Dut(Bd(t),e)},Aut=0,Out=Math.random(),kut=Nt(1 .toString),OC=function(t){return"Symbol("+(t===void 0?"":t)+")_"+kut(++Aut+Out,36)},_e=function(t){return typeof t=="function"},But=function(t){return _e(t)?t:void 0},_d=function(t,e){return arguments.length<2?But(wt[t]):wt[t]&&wt[t][e]},kC=_d("navigator","userAgent")||"",GT=wt.process,qT=wt.Deno,KT=GT&>.versions||qT&&qT.version,YT=KT&&KT.v8;YT&&(hv=(aa=YT.split("."))[0]>0&&aa[0]<4?1:+(aa[0]+aa[1])),!hv&&kC&&(!(aa=kC.match(/Edge\/(\d+)/))||aa[1]>=74)&&(aa=kC.match(/Chrome\/(\d+)/))&&(hv=+aa[1]);var mv,BC=hv,_C=!!Object.getOwnPropertySymbols&&!Oe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&BC&&BC<41}),FC=_C&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Fd=AC("wks"),Hu=wt.Symbol,XT=Hu&&Hu.for,_ut=FC?Hu:Hu&&Hu.withoutSetter||OC,vr=function(t){if(!er(Fd,t)||!_C&&typeof Fd[t]!="string"){var e="Symbol."+t;_C&&er(Hu,t)?Fd[t]=Hu[t]:Fd[t]=FC&&XT?XT(e):_ut(e)}return Fd[t]},Fe=function(t){return typeof t=="object"?t!==null:_e(t)},Fut=wt.String,Tut=wt.TypeError,qr=function(t){if(Fe(t))return t;throw Tut(Fut(t)+" is not an object")},sa=!Oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),TC=wt.document,Put=Fe(TC)&&Fe(TC.createElement),PC=function(t){return Put?TC.createElement(t):{}},$T=!sa&&!Oe(function(){return Object.defineProperty(PC("div"),"a",{get:function(){return 7}}).a!=7}),Td=Function.prototype.call,ar=Td.bind?Td.bind(Td):function(){return Td.apply(Td,arguments)},yv=Nt({}.isPrototypeOf),Nut=wt.Object,NC=FC?function(t){return typeof t=="symbol"}:function(t){var e=_d("Symbol");return _e(e)&&yv(e.prototype,Nut(t))},jut=wt.String,jC=function(t){try{return jut(t)}catch{return"Object"}},Iut=wt.TypeError,IC=function(t){if(_e(t))return t;throw Iut(jC(t)+" is not a function")},Pd=function(t,e){var r=t[e];return r==null?void 0:IC(r)},Lut=wt.TypeError,Rut=wt.TypeError,Mut=vr("toPrimitive"),LC=function(t){var e=function(r,n){if(!Fe(r)||NC(r))return r;var o,i=Pd(r,Mut);if(i){if(o=ar(i,r,n),!Fe(o)||NC(o))return o;throw Rut("Can't convert object to primitive value")}return function(a,u){var s,l;if(_e(s=a.toString)&&!Fe(l=ar(s,a))||_e(s=a.valueOf)&&!Fe(l=ar(s,a)))return l;throw Lut("Can't convert object to primitive value")}(r)}(t,"string");return NC(e)?e:e+""},Vut=wt.TypeError,ZT=Object.defineProperty,Uu={f:sa?ZT:function(t,e,r){if(qr(t),e=LC(e),qr(r),$T)try{return ZT(t,e,r)}catch{}if("get"in r||"set"in r)throw Vut("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},zut=Math.ceil,Hut=Math.floor,Nd=function(t){var e=+t;return e!=e||e===0?0:(e>0?Hut:zut)(e)},Uut=Math.max,Wut=Math.min,RC=function(t,e){var r=Nd(t);return r<0?Uut(r+e,0):Wut(r,e)},Gut=Math.min,JT=function(t){return t>0?Gut(Nd(t),9007199254740991):0},jl=function(t){return JT(t.length)},QT=function(t){return function(e,r,n){var o,i=Nl(e),a=jl(i),u=RC(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},tP={includes:QT(!0),indexOf:QT(!1)},bv={},qut=tP.indexOf,eP=Nt([].push),rP=function(t,e){var r,n=Nl(t),o=0,i=[];for(r in n)!er(bv,r)&&er(n,r)&&eP(i,r);for(;e.length>o;)er(n,r=e[o++])&&(~qut(i,r)||eP(i,r));return i},wv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Kut=Object.keys||function(t){return rP(t,wv)},Yut=sa?Object.defineProperties:function(t,e){qr(t);for(var r,n=Nl(e),o=Kut(e),i=o.length,a=0;i>a;)Uu.f(t,r=o[a++],n[r]);return t},Xut=_d("document","documentElement"),nP=AC("keys"),MC=function(t){return nP[t]||(nP[t]=OC(t))},oP=MC("IE_PROTO"),VC=function(){},iP=function(t){return"<script>"+t+"<\/script>"},aP=function(t){t.write(iP("")),t.close();var e=t.parentWindow.Object;return t=null,e},Ev=function(){try{mv=new ActiveXObject("htmlfile")}catch{}var t,e;Ev=typeof document<"u"?document.domain&&mv?aP(mv):((e=PC("iframe")).style.display="none",Xut.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(iP("document.F=Object")),t.close(),t.F):aP(mv);for(var r=wv.length;r--;)delete Ev.prototype[wv[r]];return Ev()};bv[oP]=!0;var zC=Object.create||function(t,e){var r;return t!==null?(VC.prototype=qr(t),r=new VC,VC.prototype=null,r[oP]=t):r=Ev(),e===void 0?r:Yut(r,e)},HC=vr("unscopables"),UC=Array.prototype;UC[HC]==null&&Uu.f(UC,HC,{configurable:!0,value:zC(null)});var jd=function(t){UC[HC][t]=!0},Il={},$ut=Nt(Function.toString);_e(ua.inspectSource)||(ua.inspectSource=function(t){return $ut(t)});var Cv,Id,xv,WC=ua.inspectSource,uP=wt.WeakMap,sP=_e(uP)&&/native code/.test(WC(uP)),Sv=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},la=sa?function(t,e,r){return Uu.f(t,e,Sv(1,r))}:function(t,e,r){return t[e]=r,t},GC=wt.TypeError,Zut=wt.WeakMap;if(sP||ua.state){var Wu=ua.state||(ua.state=new Zut),Jut=Nt(Wu.get),lP=Nt(Wu.has),Qut=Nt(Wu.set);Cv=function(t,e){if(lP(Wu,t))throw new GC("Object already initialized");return e.facade=t,Qut(Wu,t,e),e},Id=function(t){return Jut(Wu,t)||{}},xv=function(t){return lP(Wu,t)}}else{var Ll=MC("state");bv[Ll]=!0,Cv=function(t,e){if(er(t,Ll))throw new GC("Object already initialized");return e.facade=t,la(t,Ll,e),e},Id=function(t){return er(t,Ll)?t[Ll]:{}},xv=function(t){return er(t,Ll)}}var Gu,cP,fP,Do={set:Cv,get:Id,has:xv,enforce:function(t){return xv(t)?Id(t):Cv(t,{})},getterFor:function(t){return function(e){var r;if(!Fe(e)||(r=Id(e)).type!==t)throw GC("Incompatible receiver, "+t+" required");return r}}},dP={}.propertyIsEnumerable,pP=Object.getOwnPropertyDescriptor,tst={f:pP&&!dP.call({1:2},1)?function(t){var e=pP(this,t);return!!e&&e.enumerable}:dP},hP=Object.getOwnPropertyDescriptor,gP={f:sa?hP:function(t,e){if(t=Nl(t),e=LC(e),$T)try{return hP(t,e)}catch{}if(er(t,e))return Sv(!ar(tst.f,t,e),t[e])}},vP=Function.prototype,est=sa&&Object.getOwnPropertyDescriptor,mP=er(vP,"name"),qC={PROPER:mP&&(function(){}).name==="something",CONFIGURABLE:mP&&(!sa||sa&&est(vP,"name").configurable)},ii=EC(function(t){var e=qC.CONFIGURABLE,r=Do.get,n=Do.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;_e(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!er(u,"name")||e&&u.name!==p)&&la(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==wt?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:la(i,a,u)):f?i[a]=u:DC(a,u)})(Function.prototype,"toString",function(){return _e(this)&&r(this).source||WC(this)})}),rst=wv.concat("length","prototype"),Dv={f:Object.getOwnPropertyNames||function(t){return rP(t,rst)}},nst={f:Object.getOwnPropertySymbols},ost=Nt([].concat),ist=_d("Reflect","ownKeys")||function(t){var e=Dv.f(qr(t)),r=nst.f;return r?ost(e,r(t)):e},ast=function(t,e){for(var r=ist(e),n=Uu.f,o=gP.f,i=0;i<r.length;i++){var a=r[i];er(t,a)||n(t,a,o(e,a))}},ust=/#|\.prototype\./,Ld=function(t,e){var r=lst[sst(t)];return r==fst||r!=cst&&(_e(e)?Oe(e):!!e)},sst=Ld.normalize=function(t){return String(t).replace(ust,".").toLowerCase()},lst=Ld.data={},cst=Ld.NATIVE="N",fst=Ld.POLYFILL="P",KC=Ld,dst=gP.f,ca=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?wt:l?wt[u]||DC(u,{}):(wt[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=dst(r,n))&&a.value:r[n],!KC(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;ast(i,o)}(t.sham||o&&o.sham)&&la(i,"sham",!0),ii(r,n,i,t)}},pst=!Oe(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),yP=MC("IE_PROTO"),YC=wt.Object,hst=YC.prototype,Av=pst?YC.getPrototypeOf:function(t){var e=Bd(t);if(er(e,yP))return e[yP];var r=e.constructor;return _e(r)&&e instanceof r?r.prototype:e instanceof YC?hst:null},XC=vr("iterator"),bP=!1;[].keys&&("next"in(fP=[].keys())?(cP=Av(Av(fP)))!==Object.prototype&&(Gu=cP):bP=!0);var gst=Gu==null||Oe(function(){var t={};return Gu[XC].call(t)!==t});gst&&(Gu={}),_e(Gu[XC])||ii(Gu,XC,function(){return this});var $C={IteratorPrototype:Gu,BUGGY_SAFARI_ITERATORS:bP},vst=Uu.f,wP=vr("toStringTag"),ZC=function(t,e,r){t&&!er(t=r?t:t.prototype,wP)&&vst(t,wP,{configurable:!0,value:e})},mst=$C.IteratorPrototype,yst=function(){return this},bst=wt.String,wst=wt.TypeError,Ov=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Nt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(n,o){return qr(n),function(i){if(typeof i=="object"||_e(i))return i;throw wst("Can't set "+bst(i)+" as a prototype")}(o),e?t(n,o):n.__proto__=o,n}}():void 0),Est=qC.PROPER,Cst=qC.CONFIGURABLE,EP=$C.IteratorPrototype,JC=$C.BUGGY_SAFARI_ITERATORS,Rd=vr("iterator"),xst=function(){return this},CP=function(t,e,r,n,o,i,a){(function(v,y,h,w){var E=y+" Iterator";v.prototype=zC(mst,{next:Sv(1,h)}),ZC(v,E,!1),Il[E]=yst})(r,e,n);var u,s,l=function(v){if(v===o&&m)return m;if(!JC&&v in d)return d[v];switch(v){case"keys":case"values":case"entries":return function(){return new r(this,v)}}return function(){return new r(this)}},c=e+" Iterator",f=!1,d=t.prototype,p=d[Rd]||d["@@iterator"]||o&&d[o],m=!JC&&p||l(o),g=e=="Array"&&d.entries||p;return g&&(u=Av(g.call(new t)))!==Object.prototype&&u.next&&(Av(u)!==EP&&(Ov?Ov(u,EP):_e(u[Rd])||ii(u,Rd,xst)),ZC(u,c,!0)),Est&&o=="values"&&p&&p.name!=="values"&&(Cst?la(d,"name","values"):(f=!0,m=function(){return ar(p,this)})),o&&(s={values:l("values"),keys:l("keys"),entries:l("entries")},a||ca({target:e,proto:!0,forced:JC||f},s)),d[Rd]!==m&&ii(d,Rd,m,{name:o}),Il[e]=m,s},Sst=Do.set,Dst=Do.getterFor("Array Iterator"),Md=CP(Array,"Array",function(t,e){Sst(this,{type:"Array Iterator",target:Nl(t),index:0,kind:e})},function(){var t=Dst(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");Il.Arguments=Il.Array,jd("keys"),jd("values"),jd("entries");var xP={};xP[vr("toStringTag")]="z";var QC=String(xP)==="[object z]",Ast=vr("toStringTag"),Ost=wt.Object,kst=oi(function(){return arguments}())=="Arguments",kv=QC?oi:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=Ost(t),Ast))=="string"?r:kst?oi(e):(n=oi(e))=="Object"&&_e(e.callee)?"Arguments":n},Bst=QC?{}.toString:function(){return"[object "+kv(this)+"]"};QC||ii(Object.prototype,"toString",Bst,{unsafe:!0});var _st=wt.String,ai=function(t){if(kv(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return _st(t)},Fst=Nt("".charAt),SP=Nt("".charCodeAt),Tst=Nt("".slice),Pst=function(t){return function(e,r){var n,o,i=ai(vv(e)),a=Nd(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=SP(i,a))<55296||n>56319||a+1===u||(o=SP(i,a+1))<56320||o>57343?t?Fst(i,a):n:t?Tst(i,a,a+2):o-56320+(n-55296<<10)+65536}},DP={charAt:Pst(!0)},Nst=DP.charAt,jst=Do.set,Ist=Do.getterFor("String Iterator");CP(String,"String",function(t){jst(this,{type:"String Iterator",string:ai(t),index:0})},function(){var t,e=Ist(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Nst(r,n),e.index+=t.length,{value:t,done:!1})});var t6=function(t,e,r){for(var n in e)ii(t,n,e[n],r);return t},Lst=wt.Array,Rst=Math.max,AP=Dv.f,OP=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Mst={f:function(t){return OP&&oi(t)=="Window"?function(e){try{return AP(e)}catch{return function(n,o,i){for(var a,u,s,l,c=jl(n),f=RC(void 0,c),d=RC(c,c),p=Lst(Rst(d-f,0)),m=0;f<d;f++,m++)a=p,u=m,s=n[f],(l=LC(u))in a?Uu.f(a,l,Sv(0,s)):a[l]=s;return p.length=m,p}(OP)}}(t):AP(Nl(t))}},kP=Oe(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Bv=Object.isExtensible,qu=Oe(function(){Bv(1)})||kP?function(t){return!!Fe(t)&&(!kP||oi(t)!="ArrayBuffer")&&(!Bv||Bv(t))}:Bv,Vst=!Oe(function(){return Object.isExtensible(Object.preventExtensions({}))}),e6=EC(function(t){var e=Uu.f,r=!1,n=OC("meta"),o=0,i=function(u){e(u,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var u=Dv.f,s=Nt([].splice),l={};l[n]=1,u(l).length&&(Dv.f=function(c){for(var f=u(c),d=0,p=f.length;d<p;d++)if(f[d]===n){s(f,d,1);break}return f},ca({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Mst.f}))},fastKey:function(u,s){if(!Fe(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!er(u,n)){if(!qu(u))return"F";if(!s)return"E";i(u)}return u[n].objectID},getWeakData:function(u,s){if(!er(u,n)){if(!qu(u))return!0;if(!s)return!1;i(u)}return u[n].weakData},onFreeze:function(u){return Vst&&r&&qu(u)&&!er(u,n)&&i(u),u}};bv[n]=!0}),BP=Nt(Nt.bind),r6=function(t,e){return IC(t),e===void 0?t:BP?BP(t,e):function(){return t.apply(e,arguments)}},zst=vr("iterator"),Hst=Array.prototype,Ust=vr("iterator"),_P=function(t){if(t!=null)return Pd(t,Ust)||Pd(t,"@@iterator")||Il[kv(t)]},Wst=wt.TypeError,FP=function(t,e,r){var n,o;qr(t);try{if(!(n=Pd(t,"return"))){if(e==="throw")throw r;return r}n=ar(n,t)}catch(i){o=!0,n=i}if(e==="throw")throw r;if(o)throw n;return qr(n),r},Gst=wt.TypeError,_v=function(t,e){this.stopped=t,this.result=e},TP=_v.prototype,PP=function(t,e,r){var n,o,i,a,u,s,l,c,f=r&&r.that,d=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_ITERATOR),m=!(!r||!r.INTERRUPTED),g=r6(e,f),v=function(h){return n&&FP(n,"normal",h),new _v(!0,h)},y=function(h){return d?(qr(h),m?g(h[0],h[1],v):g(h[0],h[1])):m?g(h,v):g(h)};if(p)n=t;else{if(!(o=_P(t)))throw Gst(jC(t)+" is not iterable");if((c=o)!==void 0&&(Il.Array===c||Hst[zst]===c)){for(i=0,a=jl(t);a>i;i++)if((u=y(t[i]))&&yv(TP,u))return u;return new _v(!1)}n=function(h,w){var E=arguments.length<2?_P(h):w;if(IC(E))return qr(ar(E,h));throw Wst(jC(h)+" is not iterable")}(t,o)}for(s=n.next;!(l=ar(s,n)).done;){try{u=y(l.value)}catch(h){FP(n,"throw",h)}if(typeof u=="object"&&u&&yv(TP,u))return u}return new _v(!1)},qst=wt.TypeError,NP=function(t,e){if(yv(e,t))return t;throw qst("Incorrect invocation")},jP=vr("iterator"),IP=!1;try{var Kst=0,LP={next:function(){return{done:!!Kst++}},return:function(){IP=!0}};LP[jP]=function(){return this},Array.from(LP,function(){throw 2})}catch{}var n6=Array.isArray||function(t){return oi(t)=="Array"},RP=function(){},Yst=[],MP=_d("Reflect","construct"),o6=/^\s*(?:class|function)\b/,Xst=Nt(o6.exec),$st=!o6.exec(RP),Vd=function(t){if(!_e(t))return!1;try{return MP(RP,Yst,t),!0}catch{return!1}},Zst=!MP||Oe(function(){var t;return Vd(Vd.call)||!Vd(Object)||!Vd(function(){t=!0})||t})?function(t){if(!_e(t))return!1;switch(kv(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return $st||!!Xst(o6,WC(t))}:Vd,Jst=vr("species"),VP=wt.Array,zP=function(t,e){return new(function(r){var n;return n6(r)&&(n=r.constructor,(Zst(n)&&(n===VP||n6(n.prototype))||Fe(n)&&(n=n[Jst])===null)&&(n=void 0)),n===void 0?VP:n}(t))(e===0?0:e)},HP=Nt([].push),i6=function(t){var e=t==1,r=t==2,n=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var d,p,m=Bd(s),g=WT(m),v=r6(l,c),y=jl(g),h=0,w=f||zP,E=e?w(s,y):r||a?w(s,0):void 0;y>h;h++)if((u||h in g)&&(p=v(d=g[h],h,m),t))if(e)E[h]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return h;case 2:HP(E,d)}else switch(t){case 4:return!1;case 7:HP(E,d)}return i?-1:n||o?o:E}},a6={filter:i6(2),find:i6(5),findIndex:i6(6)},Fv=e6.getWeakData,Qst=Do.set,tlt=Do.getterFor,elt=a6.find,rlt=a6.findIndex,nlt=Nt([].splice),olt=0,Tv=function(t){return t.frozen||(t.frozen=new UP)},UP=function(){this.entries=[]},u6=function(t,e){return elt(t.entries,function(r){return r[0]===e})};UP.prototype={get:function(t){var e=u6(this,t);if(e)return e[1]},has:function(t){return!!u6(this,t)},set:function(t,e){var r=u6(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=rlt(this.entries,function(r){return r[0]===t});return~e&&nlt(this.entries,e,1),!!~e}};var zd,WP={getConstructor:function(t,e,r,n){var o=t(function(s,l){NP(s,i),Qst(s,{type:e,id:olt++,frozen:void 0}),l!=null&&PP(l,s[n],{that:s,AS_ENTRIES:r})}),i=o.prototype,a=tlt(e),u=function(s,l,c){var f=a(s),d=Fv(qr(l),!0);return d===!0?Tv(f).set(l,c):d[f.id]=c,s};return t6(i,{delete:function(s){var l=a(this);if(!Fe(s))return!1;var c=Fv(s);return c===!0?Tv(l).delete(s):c&&er(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Fe(s))return!1;var c=Fv(s);return c===!0?Tv(l).has(s):c&&er(c,l.id)}}),t6(i,r?{get:function(s){var l=a(this);if(Fe(s)){var c=Fv(s);return c===!0?Tv(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},Pv=Do.enforce,ilt=!wt.ActiveXObject&&"ActiveXObject"in wt,GP=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},alt=function(t,e,r){var n=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=n?"set":"add",a=wt[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=Nt(u[v]);ii(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Fe(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!Fe(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Fe(h))&&y(this,h===0?0:h)}:function(h,w){return y(this,h===0?0:h,w),this})};if(KC(t,!_e(a)||!(o||u.forEach&&!Oe(function(){new a().entries().next()}))))s=r.getConstructor(e,t,n,i),e6.enable();else if(KC(t,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Oe(function(){f.has(1)}),m=function(v,y){if(!IP)return!1;var h=!1;try{var w={};w[jP]=function(){return{next:function(){return{done:h=!0}}}},function(E){new a(E)}(w)}catch{}return h}(),g=!o&&Oe(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){NP(v,u);var h=function(w,E,x){var C,D;return Ov&&_e(C=E.constructor)&&C!==x&&Fe(D=C.prototype)&&D!==x.prototype&&Ov(w,D),w}(new a,v,s);return y!=null&&PP(y,h[i],{that:h,AS_ENTRIES:n}),h})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),n&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,ca({global:!0,forced:s!=a},l),ZC(s,t),o||r.setStrong(s,t,n),s}("WeakMap",GP,WP);if(sP&&ilt){zd=WP.getConstructor(GP,"WeakMap",!0),e6.enable();var Hd=alt.prototype,qP=Nt(Hd.delete),Nv=Nt(Hd.has),KP=Nt(Hd.get),YP=Nt(Hd.set);t6(Hd,{delete:function(t){if(Fe(t)&&!qu(t)){var e=Pv(this);return e.frozen||(e.frozen=new zd),qP(this,t)||e.frozen.delete(t)}return qP(this,t)},has:function(t){if(Fe(t)&&!qu(t)){var e=Pv(this);return e.frozen||(e.frozen=new zd),Nv(this,t)||e.frozen.has(t)}return Nv(this,t)},get:function(t){if(Fe(t)&&!qu(t)){var e=Pv(this);return e.frozen||(e.frozen=new zd),Nv(this,t)?KP(this,t):e.frozen.get(t)}return KP(this,t)},set:function(t,e){if(Fe(t)&&!qu(t)){var r=Pv(this);r.frozen||(r.frozen=new zd),Nv(this,t)?YP(this,t,e):r.frozen.set(t,e)}else YP(this,t,e);return this}})}var XP={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},s6=PC("span").classList,$P=s6&&s6.constructor&&s6.constructor.prototype,ult=$P===Object.prototype?void 0:$P,l6=vr("iterator"),ZP=vr("toStringTag"),c6=Md.values,JP=function(t,e){if(t){if(t[l6]!==c6)try{la(t,l6,c6)}catch{t[l6]=c6}if(t[ZP]||la(t,ZP,e),XP[e]){for(var r in Md)if(t[r]!==Md[r])try{la(t,r,Md[r])}catch{t[r]=Md[r]}}}};for(var f6 in XP)JP(wt[f6]&&wt[f6].prototype,f6);JP(ult,"DOMTokenList");var d6=new WeakMap,slt={type:"list-item",renderElem:function(t,e,r){d6.set(t,r);var n=t,o=n.level,i=o===void 0?0:o,a=n.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(a!==void 0&&a){var l=function(f,d){var p=d,m=p.type,g=p.level,v=g===void 0?0:g,y=p.ordered,h=y!==void 0&&y;if(!h)return-1;var w=1,E=d,x=k.findPath(f,E);if(x[0]===0)return 1;for(;x[0]>0;){var C=j.previous(x),D=S.node(f,C);if(D==null)break;var B=D[0],F=B.level,R=F===void 0?0:F,G=B.type,M=B.ordered;if(G!==m||R<v)break;if(R===v){if(M!==h)break;w++}E=B,x=C}return w}(r,t);s=l+"."}else s=function(f){f===void 0&&(f=0);var d="";switch(f){case 0:d="•";break;case 1:d="◦";break;default:d="▪"}return d}(i);var c=function(f){var d,p=f.children||[],m=p.length;if(m===0)return"";for(var g=0;g<m&&!d;g++){var v=p[g];at.isText(v)&&(d=v)}return d==null?"":d.color||""}(t);return bt("div",{style:u},bt("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),bt("span",null,e))}},p6=function(t,e){return p6=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},p6(t,e);/*! *****************************************************************************
|
|
109
109
|
Copyright (c) Microsoft Corporation.
|
|
110
110
|
|
|
111
111
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -118,12 +118,12 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,y
|
|
|
118
118
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
119
119
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
120
120
|
PERFORMANCE OF THIS SOFTWARE.
|
|
121
|
-
***************************************************************************** */};function QP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}
|
|
122
|
-
`)&&t.flags==="s")}),hlt=wt.RegExp,glt=Oe(function(){var t=hlt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),vlt=Do.get,mlt=AC("native-string-replace",String.prototype.replace),jv=RegExp.prototype.exec,
|
|
123
|
-
`)&&(g="(?: "+g+")",y=" "+y,v++),r=new RegExp("^(?:"+g+")",m)),b3&&(r=new RegExp("^"+g+"$(?!\\s)",m)),y3&&(n=s.lastIndex),o=ar(jv,p?r:s,y),p?o?(o.input=m3(o.input,v),o[0]=m3(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:y3&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),b3&&o&&o.length>1&&ar(mlt,o[0],r,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&d)for(o.groups=a=zC(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Iv=v3;ca({target:"RegExp",proto:!0,forced:/./.exec!==Iv},{exec:Iv});var iN=function(){function t(){this.type="list-item",this.tag="button"}return t.prototype.getListNode=function(e){var r=this.type;return k.getSelectedNodeByType(e,r)},t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){var r=this.getListNode(e);if(r==null)return!1;var n=r.ordered;return(n!==void 0&&n)===this.ordered},t.prototype.isDisabled=function(e){return e.selection==null||!!k.getSelectedElems(e).some(function(r){if(S.isVoid(e,r)&&S.isBlock(e,r))return!0;var n=r.type;return!!["pre","code","table"].includes(n)||void 0})},t.prototype.exec=function(e,r){this.isActive(e)?I.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):I.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),Elt='<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>',Clt='<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>',xlt=function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.ordered=!1,r.title=rt("listModule.unOrderedList"),r.iconSvg=Elt,r}return QP(e,t),e}(iN),Slt=function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.ordered=!0,r.title=rt("listModule.orderedList"),r.iconSvg=Clt,r}return QP(e,t),e}(iN),Dlt={key:"bulletedList",factory:function(){return new xlt}},Alt={key:"numberedList",factory:function(){return new Slt}},aN=[],Olt={type:"list-item",elemToHtml:function(t,e){var r="",n="",o=t.ordered,i=o!==void 0&&o?"ol":"ul",a=function(l){var c=d3.get(l);if(c==null)return 0;var f=l,d=f.type,p=f.ordered,m=p!==void 0&&p,g=f.level,v=g===void 0?0:g,y=k.findPath(c,l);if(y[0]===0)return v+1;var h=j.previous(y),w=S.node(c,h);if(!w)return 0;var E=Ud(w,1)[0];if(k.getNodeType(E)!==d)return v+1;var x=E,C=x.ordered,D=C!==void 0&&C,B=x.level,F=B===void 0?0:B;return F<v?v-F:F>v?0:F===v?D===m?0:1:0}(t);if(a>0)for(var u=0;u<a;u++)r+="<"+i+">",aN.push(i);var s=function(l){var c=d3.get(l);if(c==null)return 0;var f=l,d=f.type,p=f.ordered,m=p!==void 0&&p,g=f.level,v=g===void 0?0:g,y=k.findPath(c,l);if(y[0]===c.children.length-1)return v+1;var h=j.next(y),w=S.node(c,h);if(!w)return 0;var E=Ud(w,1)[0];if(k.getNodeType(E)!==d)return v+1;var x=E,C=x.ordered,D=C!==void 0&&C,B=x.level,F=B===void 0?0:B;return F<v?v-F:F>v?0:F===v?D===m?0:1:0}(t);if(s>0)for(u=0;u<s;u++)n+="</"+aN.pop()+">";return{html:"<li>"+e+"</li>",prefix:r,suffix:n}}},klt=vr("species"),Blt=a3.filter,_lt=BC>=51||!Oe(function(){var t=[];return(t.constructor={})[klt]=function(){return{foo:1}},t.filter(Boolean).foo!==1});ca({target:"Array",proto:!0,forced:!_lt},{filter:function(t){return Blt(this,t,arguments.length>1?arguments[1]:void 0)}});var w3=Function.prototype,uN=w3.apply,Flt=w3.bind,sN=w3.call,Tlt=typeof Reflect=="object"&&Reflect.apply||(Flt?sN.bind(uN):function(){return sN.apply(uN,arguments)}),lN=(vr("species"),RegExp.prototype),Plt=DP.charAt,Nlt=function(t,e,r){return e+(r?Plt(t,e).length:1)},jlt=Math.floor,E3=Nt("".charAt),Ilt=Nt("".replace),C3=Nt("".slice),Llt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Rlt=/\$([$&'`]|\d{1,2})/g,Mlt=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Rlt;return o!==void 0&&(o=Bd(o),s=Llt),Ilt(i,s,function(l,c){var f;switch(E3(c,0)){case"$":return"$";case"&":return t;case"`":return C3(e,0,r);case"'":return C3(e,a);case"<":f=o[C3(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>u){var p=jlt(d/10);return p===0?l:p<=u?n[p-1]===void 0?E3(c,1):n[p-1]+E3(c,1):l}f=n[d-1]}return f===void 0?"":f})},Vlt=wt.TypeError,zlt=function(t,e){var r=t.exec;if(_e(r)){var n=ar(r,t,e);return n!==null&&qr(n),n}if(oi(t)==="RegExp")return ar(Iv,t,e);throw Vlt("RegExp#exec called on incompatible receiver")},x3=vr("replace"),Hlt=Math.max,Ult=Math.min,Wlt=Nt([].concat),S3=Nt([].push),cN=Nt("".indexOf),fN=Nt("".slice),Glt="a".replace(/./,"$0")==="$0",dN=!!/./[x3]&&/./[x3]("a","$0")==="";(function(t,e,r,n){var o=vr(t),i=!Oe(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Oe(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||r){var u=Nt(/./[o]),s=function(l,c,f){var d=dN?"$":"$0";return[function(p,m){var g=vv(this),v=p==null?void 0:Pd(p,x3);return v?ar(v,p,g,m):ar(c,ai(g),p,m)},function(p,m){var g=qr(this),v=ai(p);if(typeof m=="string"&&cN(m,d)===-1&&cN(m,"$<")===-1){var y=f(c,g,v,m);if(y.done)return y.value}var h=_e(m);h||(m=ai(m));var w=g.global;if(w){var E=g.unicode;g.lastIndex=0}for(var x=[];;){var C=zlt(g,v);if(C===null||(S3(x,C),!w))break;ai(C[0])===""&&(g.lastIndex=Nlt(v,JT(g.lastIndex),E))}for(var D,B="",F=0,R=0;R<x.length;R++){for(var G=ai((C=x[R])[0]),M=Hlt(Ult(Nd(C.index),v.length),0),W=[],q=1;q<C.length;q++)S3(W,(D=C[q])===void 0?D:String(D));var K=C.groups;if(h){var X=Wlt([G],W,M,v);K!==void 0&&S3(X,K);var Q=ai(Tlt(m,void 0,X))}else Q=Mlt(G,v,M,W,K,m);M>=F&&(B+=fN(v,F,M)+Q,F=M+G.length)}return B+fN(v,F)}]}(0,""[t],function(l,c,f,d,p){var m=Nt(l),g=c.exec;return g===Iv||g===lN.exec?i&&!p?{done:!0,value:u(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});ii(String.prototype,t,s[0]),ii(lN,o,s[1])}})("replace",0,!!Oe(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Glt||dN);var qlt=wt.TypeError,pN=function(t,e,r,n,o,i,a,u){for(var s,l,c=o,f=0,d=!!a&&r3(a,u);f<n;){if(f in r){if(s=d?d(r[f],f,e):r[f],i>0&&n3(s))l=jl(s),c=pN(t,e,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw qlt("Exceed the acceptable array length");t[c]=s}c++}f++}return c},Klt=pN;function D3(t){return t.length?t[0].tagName.toLowerCase():""}ca({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Bd(this),r=jl(e),n=zP(e,0);return n.length=Klt(n,e,e,r,0,t===void 0?1:Nd(t)),n}}),jd("flat"),ca({global:!0},{globalThis:wt}),mn&&(_.fn.append=mn),vn&&(_.fn.attr=vn),Is&&(_.fn.parent=Is);var Ylt={renderElems:[slt],editorPlugin:function(t){var e=t.deleteBackward,r=t.handleTab,n=t.normalizeNode,o=t;return o.deleteBackward=function(i){var a=o.selection;if(a!=null)if(z.isExpanded(a))e(i);else{var u=k.getSelectedNodeByType(o,"list-item");if(u!=null)if(a.focus.offset!==0)e(i);else{var s=u.level,l=s===void 0?0:s;l>0?I.setNodes(o,{level:l-1}):I.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else e(i)}else e(i)},o.handleTab=function(){var i,a,u,s,l=o.selection;if(l!=null){if(z.isCollapsed(l)){var c=k.getSelectedNodeByType(o,"list-item");if(c==null)return void r();if(l.focus.offset===0){var f=c.level,d=f===void 0?0:f;return void I.setNodes(o,{level:d+1})}}if(z.isExpanded(l)){var p=0,m=!1;try{for(var g=tN(eN(o)),v=g.next();!v.done;v=g.next()){var y=Ud(v.value,1)[0];k.getNodeType(y)==="list-item"?p++:m=!0}}catch(D){i={error:D}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}if(m||p<=1)return void r();try{for(var h=tN(eN(o)),w=h.next();!w.done;w=h.next()){var E=Ud(w.value,2),x=(y=E[0],E[1]),C=y.level;d=C===void 0?0:C,I.setNodes(o,{level:d+1},{at:x})}}catch(D){u={error:D}}finally{try{w&&!w.done&&(s=h.return)&&s.call(h)}finally{if(u)throw u.error}}}else r()}else r()},o.normalizeNode=function(i){var a=Ud(i,2),u=a[0],s=a[1],l=k.getNodeType(u);return l!=="bulleted-list"&&l!=="numbered-list"||I.unwrapNodes(o,{at:s}),n([u,s])},o},menus:[Dlt,Alt],elemsToHtml:[Olt],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,r){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=_(t);(e=e.filter(function(a){return!!at.isText(a)||!!r.isInline(a)})).length===0&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(a){return D3(a.parent())==="ol"}(n),i=function(a){for(var u=0,s=a.parent(),l=D3(s);l==="ul"||l==="ol";)l=D3(s=s.parent()),u++;return u-1}(n);return{type:"list-item",ordered:o,level:i,children:e}}}]},hN=Va(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,o="[object Arguments]",i="[object Array]",a="[object Boolean]",u="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",h="[object WeakMap]",w="[object ArrayBuffer]",E="[object DataView]",x=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D[o]=D[i]=D[w]=D[a]=D[E]=D[u]=D[s]=D[l]=D[c]=D[f]=D[d]=D[m]=D[g]=D[v]=D[h]=!1;var B=typeof ae=="object"&&ae&&ae.Object===Object&&ae,F=typeof self=="object"&&self&&self.Object===Object&&self,R=B||F||Function("return this")(),G=e&&!e.nodeType&&e,M=G&&t&&!t.nodeType&&t,W=M&&M.exports===G,q=W&&B.process,K=function(){try{return q&&q.binding&&q.binding("util")}catch{}}(),X=K&&K.isTypedArray;function Q(P,V){for(var tt=-1,gt=P==null?0:P.length;++tt<gt;)if(V(P[tt],tt,P))return!0;return!1}function lt(P){var V=-1,tt=Array(P.size);return P.forEach(function(gt,re){tt[++V]=[re,gt]}),tt}function st(P){var V=-1,tt=Array(P.size);return P.forEach(function(gt){tt[++V]=gt}),tt}var L=Array.prototype,A=Function.prototype,O=Object.prototype,N=R["__core-js_shared__"],U=A.toString,Z=O.hasOwnProperty,Y=function(){var P=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||"");return P?"Symbol(src)_1."+P:""}(),ut=O.toString,vt=RegExp("^"+U.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=W?R.Buffer:void 0,St=R.Symbol,$=R.Uint8Array,Rt=O.propertyIsEnumerable,kt=L.splice,ht=St?St.toStringTag:void 0,Bt=Object.getOwnPropertySymbols,Te=yt?yt.isBuffer:void 0,Wt=function(P,V){return function(tt){return P(V(tt))}}(Object.keys,Object),ee=Ia(R,"DataView"),we=Ia(R,"Map"),Ar=Ia(R,"Promise"),Vt=Ia(R,"Set"),Xr=Ia(R,"WeakMap"),Qn=Ia(Object,"create"),Io=vi(ee),gc=vi(we),ps=vi(Ar),to=vi(Vt),Lo=vi(Xr),pi=St?St.prototype:void 0,Or=pi?pi.valueOf:void 0;function kr(P){var V=-1,tt=P==null?0:P.length;for(this.clear();++V<tt;){var gt=P[V];this.set(gt[0],gt[1])}}function Br(P){var V=-1,tt=P==null?0:P.length;for(this.clear();++V<tt;){var gt=P[V];this.set(gt[0],gt[1])}}function jr(P){var V=-1,tt=P==null?0:P.length;for(this.clear();++V<tt;){var gt=P[V];this.set(gt[0],gt[1])}}function dr(P){var V=-1,tt=P==null?0:P.length;for(this.__data__=new jr;++V<tt;)this.add(P[V])}function jn(P){var V=this.__data__=new Br(P);this.size=V.size}function ch(P,V){var tt=mi(P),gt=!tt&&Cy(P),re=!tt&&!gt&&Ro(P),It=!tt&&!gt&&!re&&Vo(P),T=tt||gt||re||It,H=T?function(zt,Ee){for(var fe=-1,Yt=Array(zt);++fe<zt;)Yt[fe]=Ee(fe);return Yt}(P.length,String):[],it=H.length;for(var ct in P)!Z.call(P,ct)||T&&(ct=="length"||re&&(ct=="offset"||ct=="parent")||It&&(ct=="buffer"||ct=="byteLength"||ct=="byteOffset")||fh(ct,it))||H.push(ct);return H}function ja(P,V){for(var tt=P.length;tt--;)if(yc(P[tt][0],V))return tt;return-1}function hi(P){return P==null?P===void 0?"[object Undefined]":"[object Null]":ht&&ht in Object(P)?function(V){var tt=Z.call(V,ht),gt=V[ht];try{V[ht]=void 0;var re=!0}catch{}var It=ut.call(V);return re&&(tt?V[ht]=gt:delete V[ht]),It}(P):function(V){return ut.call(V)}(P)}function vc(P){return La(P)&&hi(P)==o}function hs(P,V,tt,gt,re){return P===V||(P==null||V==null||!La(P)&&!La(V)?P!=P&&V!=V:function(It,T,H,it,ct,zt){var Ee=mi(It),fe=mi(T),Yt=Ee?i:hn(It),nr=fe?i:hn(T),_r=(Yt=Yt==o?d:Yt)==d,gs=(nr=nr==o?d:nr)==d,yi=Yt==nr;if(yi&&Ro(It)){if(!Ro(T))return!1;Ee=!0,_r=!1}if(yi&&!_r)return zt||(zt=new jn),Ee||Vo(It)?In(It,T,H,it,ct,zt):function(Mt,Xt,$t,Pe,Ir,$r,no){switch($t){case E:if(Mt.byteLength!=Xt.byteLength||Mt.byteOffset!=Xt.byteOffset)return!1;Mt=Mt.buffer,Xt=Xt.buffer;case w:return!(Mt.byteLength!=Xt.byteLength||!$r(new $(Mt),new $(Xt)));case a:case u:case f:return yc(+Mt,+Xt);case s:return Mt.name==Xt.name&&Mt.message==Xt.message;case m:case v:return Mt==Xt+"";case c:var Ma=lt;case g:var ph=1&Pe;if(Ma||(Ma=st),Mt.size!=Xt.size&&!ph)return!1;var Dy=no.get(Mt);if(Dy)return Dy==Xt;Pe|=2,no.set(Mt,Xt);var bc=In(Ma(Mt),Ma(Xt),Pe,Ir,$r,no);return no.delete(Mt),bc;case y:if(Or)return Or.call(Mt)==Or.call(Xt)}return!1}(It,T,Yt,H,it,ct,zt);if(!(1&H)){var Ra=_r&&Z.call(It,"__wrapped__"),Et=gs&&Z.call(T,"__wrapped__");if(Ra||Et){var Jt=Ra?It.value():It,ze=Et?T.value():T;return zt||(zt=new jn),ct(Jt,ze,H,it,zt)}}return yi?(zt||(zt=new jn),function(Mt,Xt,$t,Pe,Ir,$r){var no=1&$t,Ma=gi(Mt),ph=Ma.length,Dy=gi(Xt).length;if(ph!=Dy&&!no)return!1;for(var bc=ph;bc--;){var vs=Ma[bc];if(!(no?vs in Xt:Z.call(Xt,vs)))return!1}var GV=$r.get(Mt);if(GV&&$r.get(Xt))return GV==Xt;var Ay=!0;$r.set(Mt,Xt),$r.set(Xt,Mt);for(var X8=no;++bc<ph;){var Oy=Mt[vs=Ma[bc]],ky=Xt[vs];if(Pe)var qV=no?Pe(ky,Oy,vs,Xt,Mt,$r):Pe(Oy,ky,vs,Mt,Xt,$r);if(!(qV===void 0?Oy===ky||Ir(Oy,ky,$t,Pe,$r):qV)){Ay=!1;break}X8||(X8=vs=="constructor")}if(Ay&&!X8){var By=Mt.constructor,_y=Xt.constructor;By==_y||!("constructor"in Mt)||!("constructor"in Xt)||typeof By=="function"&&By instanceof By&&typeof _y=="function"&&_y instanceof _y||(Ay=!1)}return $r.delete(Mt),$r.delete(Xt),Ay}(It,T,H,it,ct,zt)):!1}(P,V,tt,gt,hs,re))}function mc(P){return!(!xy(P)||function(V){return!!Y&&Y in V}(P))&&(dh(P)?vt:x).test(vi(P))}function eo(P){if(tt=(V=P)&&V.constructor,gt=typeof tt=="function"&&tt.prototype||O,V!==gt)return Wt(P);var V,tt,gt,re=[];for(var It in Object(P))Z.call(P,It)&&It!="constructor"&&re.push(It);return re}function In(P,V,tt,gt,re,It){var T=1&tt,H=P.length,it=V.length;if(H!=it&&!(T&&it>H))return!1;var ct=It.get(P);if(ct&&It.get(V))return ct==V;var zt=-1,Ee=!0,fe=2&tt?new dr:void 0;for(It.set(P,V),It.set(V,P);++zt<H;){var Yt=P[zt],nr=V[zt];if(gt)var _r=T?gt(nr,Yt,zt,V,P,It):gt(Yt,nr,zt,P,V,It);if(_r!==void 0){if(_r)continue;Ee=!1;break}if(fe){if(!Q(V,function(gs,yi){if(Ra=yi,!fe.has(Ra)&&(Yt===gs||re(Yt,gs,tt,gt,It)))return fe.push(yi);var Ra})){Ee=!1;break}}else if(Yt!==nr&&!re(Yt,nr,tt,gt,It)){Ee=!1;break}}return It.delete(P),It.delete(V),Ee}function gi(P){return function(V,tt,gt){var re=tt(V);return mi(V)?re:function(It,T){for(var H=-1,it=T.length,ct=It.length;++H<it;)It[ct+H]=T[H];return It}(re,gt(V))}(P,Sy,Ey)}function ro(P,V){var tt,gt,re=P.__data__;return((gt=typeof(tt=V))=="string"||gt=="number"||gt=="symbol"||gt=="boolean"?tt!=="__proto__":tt===null)?re[typeof V=="string"?"string":"hash"]:re.map}function Ia(P,V){var tt=function(gt,re){return gt==null?void 0:gt[re]}(P,V);return mc(tt)?tt:void 0}kr.prototype.clear=function(){this.__data__=Qn?Qn(null):{},this.size=0},kr.prototype.delete=function(P){var V=this.has(P)&&delete this.__data__[P];return this.size-=V?1:0,V},kr.prototype.get=function(P){var V=this.__data__;if(Qn){var tt=V[P];return tt===r?void 0:tt}return Z.call(V,P)?V[P]:void 0},kr.prototype.has=function(P){var V=this.__data__;return Qn?V[P]!==void 0:Z.call(V,P)},kr.prototype.set=function(P,V){var tt=this.__data__;return this.size+=this.has(P)?0:1,tt[P]=Qn&&V===void 0?r:V,this},Br.prototype.clear=function(){this.__data__=[],this.size=0},Br.prototype.delete=function(P){var V=this.__data__,tt=ja(V,P);return!(tt<0)&&(tt==V.length-1?V.pop():kt.call(V,tt,1),--this.size,!0)},Br.prototype.get=function(P){var V=this.__data__,tt=ja(V,P);return tt<0?void 0:V[tt][1]},Br.prototype.has=function(P){return ja(this.__data__,P)>-1},Br.prototype.set=function(P,V){var tt=this.__data__,gt=ja(tt,P);return gt<0?(++this.size,tt.push([P,V])):tt[gt][1]=V,this},jr.prototype.clear=function(){this.size=0,this.__data__={hash:new kr,map:new(we||Br),string:new kr}},jr.prototype.delete=function(P){var V=ro(this,P).delete(P);return this.size-=V?1:0,V},jr.prototype.get=function(P){return ro(this,P).get(P)},jr.prototype.has=function(P){return ro(this,P).has(P)},jr.prototype.set=function(P,V){var tt=ro(this,P),gt=tt.size;return tt.set(P,V),this.size+=tt.size==gt?0:1,this},dr.prototype.add=dr.prototype.push=function(P){return this.__data__.set(P,r),this},dr.prototype.has=function(P){return this.__data__.has(P)},jn.prototype.clear=function(){this.__data__=new Br,this.size=0},jn.prototype.delete=function(P){var V=this.__data__,tt=V.delete(P);return this.size=V.size,tt},jn.prototype.get=function(P){return this.__data__.get(P)},jn.prototype.has=function(P){return this.__data__.has(P)},jn.prototype.set=function(P,V){var tt=this.__data__;if(tt instanceof Br){var gt=tt.__data__;if(!we||gt.length<199)return gt.push([P,V]),this.size=++tt.size,this;tt=this.__data__=new jr(gt)}return tt.set(P,V),this.size=tt.size,this};var Ey=Bt?function(P){return P==null?[]:(P=Object(P),function(V,tt){for(var gt=-1,re=V==null?0:V.length,It=0,T=[];++gt<re;){var H=V[gt];tt(H,gt,V)&&(T[It++]=H)}return T}(Bt(P),function(V){return Rt.call(P,V)}))}:function(){return[]},hn=hi;function fh(P,V){return!!(V=V??n)&&(typeof P=="number"||C.test(P))&&P>-1&&P%1==0&&P<V}function vi(P){if(P!=null){try{return U.call(P)}catch{}try{return P+""}catch{}}return""}function yc(P,V){return P===V||P!=P&&V!=V}(ee&&hn(new ee(new ArrayBuffer(1)))!=E||we&&hn(new we)!=c||Ar&&hn(Ar.resolve())!=p||Vt&&hn(new Vt)!=g||Xr&&hn(new Xr)!=h)&&(hn=function(P){var V=hi(P),tt=V==d?P.constructor:void 0,gt=tt?vi(tt):"";if(gt)switch(gt){case Io:return E;case gc:return c;case ps:return p;case to:return g;case Lo:return h}return V});var Cy=vc(function(){return arguments}())?vc:function(P){return La(P)&&Z.call(P,"callee")&&!Rt.call(P,"callee")},mi=Array.isArray,Ro=Te||function(){return!1};function dh(P){if(!xy(P))return!1;var V=hi(P);return V==l||V=="[object GeneratorFunction]"||V=="[object AsyncFunction]"||V=="[object Proxy]"}function Mo(P){return typeof P=="number"&&P>-1&&P%1==0&&P<=n}function xy(P){var V=typeof P;return P!=null&&(V=="object"||V=="function")}function La(P){return P!=null&&typeof P=="object"}var Vo=X?function(P){return function(V){return P(V)}}(X):function(P){return La(P)&&Mo(P.length)&&!!D[hi(P)]};function Sy(P){return(V=P)!=null&&Mo(V.length)&&!dh(V)?ch(P):eo(P);var V}t.exports=function(P,V){return hs(P,V)}});Ur("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),Ur("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头"}});var gN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vN(t){var e={exports:{}};return t(e,e.exports),e.exports}var fa,Lv,Rv=function(t){return t&&t.Math==Math&&t},Tt=Rv(typeof globalThis=="object"&&globalThis)||Rv(typeof window=="object"&&window)||Rv(typeof self=="object"&&self)||Rv(typeof gN=="object"&&gN)||function(){return this}()||Function("return this")(),Xe=function(t){try{return!!t()}catch{return!0}},da=!Xe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Wd=Function.prototype.call,rr=Wd.bind?Wd.bind(Wd):function(){return Wd.apply(Wd,arguments)},mN={}.propertyIsEnumerable,yN=Object.getOwnPropertyDescriptor,Xlt={f:yN&&!mN.call({1:2},1)?function(t){var e=yN(this,t);return!!e&&e.enumerable}:mN},A3=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},bN=Function.prototype,O3=bN.bind,k3=bN.call,$lt=O3&&O3.bind(k3),Lt=O3?function(t){return t&&$lt(k3,t)}:function(t){return t&&function(){return k3.apply(t,arguments)}},Zlt=Lt({}.toString),Jlt=Lt("".slice),pa=function(t){return Jlt(Zlt(t),8,-1)},B3=Tt.Object,Qlt=Lt("".split),wN=Xe(function(){return!B3("z").propertyIsEnumerable(0)})?function(t){return pa(t)=="String"?Qlt(t,""):B3(t)}:B3,tct=Tt.TypeError,ha=function(t){if(t==null)throw tct("Can't call method on "+t);return t},Gd=function(t){return wN(ha(t))},Sr=function(t){return typeof t=="function"},Ao=function(t){return typeof t=="object"?t!==null:Sr(t)},ect=function(t){return Sr(t)?t:void 0},qd=function(t,e){return arguments.length<2?ect(Tt[t]):Tt[t]&&Tt[t][e]},EN=Lt({}.isPrototypeOf),_3=qd("navigator","userAgent")||"",CN=Tt.process,xN=Tt.Deno,SN=CN&&CN.versions||xN&&xN.version,DN=SN&&SN.v8;DN&&(Lv=(fa=DN.split("."))[0]>0&&fa[0]<4?1:+(fa[0]+fa[1])),!Lv&&_3&&(!(fa=_3.match(/Edge\/(\d+)/))||fa[1]>=74)&&(fa=_3.match(/Chrome\/(\d+)/))&&(Lv=+fa[1]);var F3=Lv,T3=!!Object.getOwnPropertySymbols&&!Xe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&F3&&F3<41}),P3=T3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",rct=Tt.Object,N3=P3?function(t){return typeof t=="symbol"}:function(t){var e=qd("Symbol");return Sr(e)&&EN(e.prototype,rct(t))},nct=Tt.String,AN=function(t){try{return nct(t)}catch{return"Object"}},oct=Tt.TypeError,ON=function(t){if(Sr(t))return t;throw oct(AN(t)+" is not a function")},j3=function(t,e){var r=t[e];return r==null?void 0:ON(r)},ict=Tt.TypeError,act=Object.defineProperty,I3=function(t,e){try{act(Tt,t,{value:e,configurable:!0,writable:!0})}catch{Tt[t]=e}return e},ga=Tt["__core-js_shared__"]||I3("__core-js_shared__",{}),L3=vN(function(t){(t.exports=function(e,r){return ga[e]||(ga[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),uct=Tt.Object,R3=function(t){return uct(ha(t))},sct=Lt({}.hasOwnProperty),kn=Object.hasOwn||function(t,e){return sct(R3(t),e)},lct=0,cct=Math.random(),fct=Lt(1 .toString),kN=function(t){return"Symbol("+(t===void 0?"":t)+")_"+fct(++lct+cct,36)},Kd=L3("wks"),Ku=Tt.Symbol,BN=Ku&&Ku.for,dct=P3?Ku:Ku&&Ku.withoutSetter||kN,Bn=function(t){if(!kn(Kd,t)||!T3&&typeof Kd[t]!="string"){var e="Symbol."+t;T3&&kn(Ku,t)?Kd[t]=Ku[t]:Kd[t]=P3&&BN?BN(e):dct(e)}return Kd[t]},pct=Tt.TypeError,hct=Bn("toPrimitive"),M3=function(t){var e=function(r,n){if(!Ao(r)||N3(r))return r;var o,i=j3(r,hct);if(i){if(o=rr(i,r,n),!Ao(o)||N3(o))return o;throw pct("Can't convert object to primitive value")}return function(a,u){var s,l;if(Sr(s=a.toString)&&!Ao(l=rr(s,a))||Sr(s=a.valueOf)&&!Ao(l=rr(s,a)))return l;throw ict("Can't convert object to primitive value")}(r)}(t,"string");return N3(e)?e:e+""},V3=Tt.document,gct=Ao(V3)&&Ao(V3.createElement),z3=function(t){return gct?V3.createElement(t):{}},_N=!da&&!Xe(function(){return Object.defineProperty(z3("div"),"a",{get:function(){return 7}}).a!=7}),FN=Object.getOwnPropertyDescriptor,TN={f:da?FN:function(t,e){if(t=Gd(t),e=M3(e),_N)try{return FN(t,e)}catch{}if(kn(t,e))return A3(!rr(Xlt.f,t,e),t[e])}},vct=Tt.String,mct=Tt.TypeError,_n=function(t){if(Ao(t))return t;throw mct(vct(t)+" is not an object")},yct=Tt.TypeError,PN=Object.defineProperty,Yd={f:da?PN:function(t,e,r){if(_n(t),e=M3(e),_n(r),_N)try{return PN(t,e,r)}catch{}if("get"in r||"set"in r)throw yct("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Rl=da?function(t,e,r){return Yd.f(t,e,A3(1,r))}:function(t,e,r){return t[e]=r,t},bct=Lt(Function.toString);Sr(ga.inspectSource)||(ga.inspectSource=function(t){return bct(t)});var H3,Mv,U3,W3=ga.inspectSource,NN=Tt.WeakMap,wct=Sr(NN)&&/native code/.test(W3(NN)),jN=L3("keys"),IN=function(t){return jN[t]||(jN[t]=kN(t))},G3={},LN=Tt.TypeError,Ect=Tt.WeakMap;if(wct||ga.state){var Yu=ga.state||(ga.state=new Ect),Cct=Lt(Yu.get),RN=Lt(Yu.has),xct=Lt(Yu.set);H3=function(t,e){if(RN(Yu,t))throw new LN("Object already initialized");return e.facade=t,xct(Yu,t,e),e},Mv=function(t){return Cct(Yu,t)||{}},U3=function(t){return RN(Yu,t)}}else{var Ml=IN("state");G3[Ml]=!0,H3=function(t,e){if(kn(t,Ml))throw new LN("Object already initialized");return e.facade=t,Rl(t,Ml,e),e},Mv=function(t){return kn(t,Ml)?t[Ml]:{}},U3=function(t){return kn(t,Ml)}}var q3={get:Mv,enforce:function(t){return U3(t)?Mv(t):H3(t,{})}},MN=Function.prototype,Sct=da&&Object.getOwnPropertyDescriptor,VN=kn(MN,"name"),K3={PROPER:VN&&(function(){}).name==="something",CONFIGURABLE:VN&&(!da||da&&Sct(MN,"name").configurable)},Xd=vN(function(t){var e=K3.CONFIGURABLE,r=q3.get,n=q3.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;Sr(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!kn(u,"name")||e&&u.name!==p)&&Rl(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==Tt?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Rl(i,a,u)):f?i[a]=u:I3(a,u)})(Function.prototype,"toString",function(){return Sr(this)&&r(this).source||W3(this)})}),Dct=Math.ceil,Act=Math.floor,Vv=function(t){var e=+t;return e!=e||e===0?0:(e>0?Act:Dct)(e)},Oct=Math.max,kct=Math.min,$d=function(t,e){var r=Vv(t);return r<0?Oct(r+e,0):kct(r,e)},Bct=Math.min,Y3=function(t){return t>0?Bct(Vv(t),9007199254740991):0},zv=function(t){return Y3(t.length)},_ct=function(t){return function(e,r,n){var o,i=Gd(e),a=zv(i),u=$d(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Fct=_ct(!1),zN=Lt([].push),HN=function(t,e){var r,n=Gd(t),o=0,i=[];for(r in n)!kn(G3,r)&&kn(n,r)&&zN(i,r);for(;e.length>o;)kn(n,r=e[o++])&&(~Fct(i,r)||zN(i,r));return i},Hv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tct=Hv.concat("length","prototype"),Pct={f:Object.getOwnPropertyNames||function(t){return HN(t,Tct)}},Nct={f:Object.getOwnPropertySymbols},jct=Lt([].concat),Ict=qd("Reflect","ownKeys")||function(t){var e=Pct.f(_n(t)),r=Nct.f;return r?jct(e,r(t)):e},Lct=function(t,e){for(var r=Ict(e),n=Yd.f,o=TN.f,i=0;i<r.length;i++){var a=r[i];kn(t,a)||n(t,a,o(e,a))}},Rct=/#|\.prototype\./,Zd=function(t,e){var r=Vct[Mct(t)];return r==Hct||r!=zct&&(Sr(e)?Xe(e):!!e)},Mct=Zd.normalize=function(t){return String(t).replace(Rct,".").toLowerCase()},Vct=Zd.data={},zct=Zd.NATIVE="N",Hct=Zd.POLYFILL="P",Uct=Zd,Wct=TN.f,va=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?Tt:l?Tt[u]||I3(u,{}):(Tt[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=Wct(r,n))&&a.value:r[n],!Uct(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;Lct(i,o)}(t.sham||o&&o.sham)&&Rl(i,"sham",!0),Xd(r,n,i,t)}},UN={};UN[Bn("toStringTag")]="z";var X3=String(UN)==="[object z]",Gct=Bn("toStringTag"),qct=Tt.Object,Kct=pa(function(){return arguments}())=="Arguments",$3=X3?pa:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=qct(t),Gct))=="string"?r:Kct?pa(e):(n=pa(e))=="Object"&&Sr(e.callee)?"Arguments":n},Yct=Tt.String,Dr=function(t){if($3(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Yct(t)},Xct=/"/g,$ct=Lt("".replace);va({target:"String",proto:!0,forced:Xe(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,r=Dr(ha(this)),n="<a",(n+=' name="'+$ct(Dr(e),Xct,""")+'"')+">"+r+"</a>";var e,r,n}});var Uv,WN=function(){var t=_n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Z3=Tt.RegExp,J3=Xe(function(){var t=Z3("a","y");return t.lastIndex=2,t.exec("abcd")!=null});J3||Xe(function(){return!Z3("a","y").sticky});var GN={BROKEN_CARET:J3||Xe(function(){var t=Z3("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),UNSUPPORTED_Y:J3},Zct=Object.keys||function(t){return HN(t,Hv)},Jct=da?Object.defineProperties:function(t,e){_n(t);for(var r,n=Gd(e),o=Zct(e),i=o.length,a=0;i>a;)Yd.f(t,r=o[a++],n[r]);return t},Qct=qd("document","documentElement"),qN=IN("IE_PROTO"),Q3=function(){},KN=function(t){return"<script>"+t+"<\/script>"},YN=function(t){t.write(KN("")),t.close();var e=t.parentWindow.Object;return t=null,e},Wv=function(){try{Uv=new ActiveXObject("htmlfile")}catch{}var t,e;Wv=typeof document<"u"?document.domain&&Uv?YN(Uv):((e=z3("iframe")).style.display="none",Qct.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(KN("document.F=Object")),t.close(),t.F):YN(Uv);for(var r=Hv.length;r--;)delete Wv.prototype[Hv[r]];return Wv()};G3[qN]=!0;var XN,t6,$N=Object.create||function(t,e){var r;return t!==null?(Q3.prototype=_n(t),r=new Q3,Q3.prototype=null,r[qN]=t):r=Wv(),e===void 0?r:Jct(r,e)},tft=Tt.RegExp,eft=Xe(function(){var t=tft(".","s");return!(t.dotAll&&t.exec(`
|
|
124
|
-
`)&&t.flags==="s")}),rft=Tt.RegExp,nft=Xe(function(){var t=rft("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),oft=
|
|
125
|
-
`)&&(g="(?: "+g+")",y=" "+y,v++),r=new RegExp("^(?:"+g+")",m)),
|
|
126
|
-
\v\f\r \u2028\u2029\uFEFF`,mj=Lt("".replace),$v="["+g6+"]",Vft=RegExp("^"+$v+$v+"*"),zft=RegExp($v+$v+"*$"),Hft=function(t){return function(e){var r=Dr(ha(e));return 1&t&&(r=mj(r,Vft,"")),2&t&&(r=mj(r,zft,"")),r}},Uft={trim:Hft(3)},Wft=K3.PROPER,Gft=Uft.trim;function yj(t){return t.length?t[0].tagName.toLowerCase():""}va({target:"String",proto:!0,forced:function(t){return Xe(function(){return!!g6[t]()||"
"[t]()!=="
"||Wft&&g6[t].name!==t})}("trim")},{trim:function(){return Gft(this)}}),va({global:!0},{globalThis:Tt}),mn&&(_.fn.append=mn),fo&&(_.fn.on=fo),Ti&&(_.fn.focus=Ti),vn&&(_.fn.attr=vn),co&&(_.fn.val=co),Fi&&(_.fn.html=Fi),Ns&&(_.fn.dataset=Ns),Fs&&(_.fn.addClass=Fs),Ts&&(_.fn.removeClass=Ts),Rs&&(_.fn.children=Rs),mg&&(_.fn.each=mg),Ls&&(_.fn.find=Ls);var ep=!1,bj=0,wj=0,rp=null,np=null,op=_("body");function Ej(t){ep=!1,np=null,rp=null,op.off("mousemove",Cj),op.off("mouseup",Ej)}op.on("mousedown",function(t){var e=t.target;if((e.tagName==="TH"||e.tagName==="TD")&&e.style.cursor==="col-resize"){e.style.cursor="auto",t.preventDefault(),ep=!0;var r=t.clientX;bj=r;var n=e.getBoundingClientRect().width;wj=n,op.on("mousemove",Cj),op.on("mouseup",Ej)}});var Cj=iu(function(t){if(ep&&np!=null&&rp!=null){t.preventDefault();var e=t.clientX,r=wj+(e-bj);(r=Math.floor(100*r)/100)<30&&(r=30),I.setNodes(np,{width:r.toString()},{at:rp})}},100),qft={type:"table",renderElem:function(t,e,r){var n=function(u,s){if(u.isDisabled())return!1;var l=u.selection;if(l==null||z.isCollapsed(l))return!0;var c=l.anchor,f=l.focus,d=k.findPath(u,s),p=S.start(u,d),m=S.end(u,d),g=_t.compare(c,m)<=0&&_t.compare(c,p)>=0,v=_t.compare(f,m)<=0&&_t.compare(f,p)>=0;return!!(g&&v&&j.equals(c.path.slice(0,3),f.path.slice(0,3)))}(r,t),o=t.width,i=o===void 0?"auto":o,a=bt("div",{className:"table-container","data-selected":k.isNodeSelected(r,t),on:{mousedown:function(u){if(u.target.tagName==="DIV"&&u.preventDefault(),!r.isDisabled()){var s=k.findPath(r,t),l=S.start(r,s),c=r.selection;c!=null?c.anchor.path[0]!==s[0]&&r.select(l):r.select(l)}}}},bt("table",{width:i,contentEditable:n},bt("colgroup",null,Xv(t).map(function(u){var s=u.width;return bt("col",{width:s===void 0?"auto":s})})),bt("tbody",null,e)));return a}},Kft={type:"table-row",renderElem:function(t,e,r){return bt("tr",null,e)}},Yft={type:"table-cell",renderElem:function(t,e,r){var n=function(d,p){var m=k.getParentNode(d,p);if(m==null)return!1;var g=k.getParentNode(d,m);return g!=null&&Xv(g).some(function(v){return v===p})}(r,t),o=t,i=o.colSpan,a=i===void 0?1:i,u=o.rowSpan,s=u===void 0?1:u,l=o.isHeader,c=l!==void 0&&l;if(!n)return bt("td",{colSpan:a,rowSpan:s},e);var f=bt(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:iu(function(d){var p=this.elm;if(p!=null){var m=p.getBoundingClientRect(),g=m.left,v=m.width,y=m.top,h=m.height,w=d.clientX,E=d.clientY;ep||(w>g+v-5&&w<g+v&&E>y&&E<y+h?(p.style.cursor="col-resize",np=r,rp=k.findPath(r,t)):ep||(p.style.cursor="auto",np=null,rp=null))}},100)}},e);return f}},Xft={selector:"table",preParseHtml:function(t){var e=_(t);if(yj(e)!=="table")return t;var r=e.find("tbody");if(r.length===0)return t;var n=e.find("tr");return e.append(n),r.remove(),e[0]}},$ft=Yv.filter;va({target:"Array",proto:!0,forced:!u6("filter")},{filter:function(t){return $ft(this,t,arguments.length>1?arguments[1]:void 0)}});var Zft=Math.floor,v6=Lt("".charAt),Jft=Lt("".replace),m6=Lt("".slice),Qft=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tdt=/\$([$&'`]|\d{1,2})/g,edt=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=tdt;return o!==void 0&&(o=R3(o),s=Qft),Jft(i,s,function(l,c){var f;switch(v6(c,0)){case"$":return"$";case"&":return t;case"`":return m6(e,0,r);case"'":return m6(e,a);case"<":f=o[m6(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>u){var p=Zft(d/10);return p===0?l:p<=u?n[p-1]===void 0?v6(c,1):n[p-1]+v6(c,1):l}f=n[d-1]}return f===void 0?"":f})},y6=Bn("replace"),rdt=Math.max,ndt=Math.min,odt=Lt([].concat),b6=Lt([].push),xj=Lt("".indexOf),Sj=Lt("".slice),idt="a".replace(/./,"$0")==="$0",Dj=!!/./[y6]&&/./[y6]("a","$0")==="";dj("replace",function(t,e,r){var n=Dj?"$":"$0";return[function(o,i){var a=ha(this),u=o==null?void 0:j3(o,y6);return u?rr(u,o,a,i):rr(e,Dr(a),o,i)},function(o,i){var a=_n(this),u=Dr(o);if(typeof i=="string"&&xj(i,n)===-1&&xj(i,"$<")===-1){var s=r(e,a,u,i);if(s.done)return s.value}var l=Sr(i);l||(i=Dr(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var d=[];;){var p=h6(a,u);if(p===null||(b6(d,p),!c))break;Dr(p[0])===""&&(a.lastIndex=hj(u,Y3(a.lastIndex),f))}for(var m,g="",v=0,y=0;y<d.length;y++){for(var h=Dr((p=d[y])[0]),w=rdt(ndt(Vv(p.index),u.length),0),E=[],x=1;x<p.length;x++)b6(E,(m=p[x])===void 0?m:String(m));var C=p.groups;if(l){var D=odt([h],E,w,u);C!==void 0&&b6(D,C);var B=Dr(fj(i,void 0,D))}else B=edt(h,u,w,E,C,i);w>=v&&(g+=Sj(u,v,w)+B,v=w+h.length)}return g+Sj(u,v)}]},!!Xe(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!idt||Dj);var adt={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=_(t);(e=e.filter(function(u){return!!at.isText(u)||!!r.isInline(u)})).length===0&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=parseInt(n.attr("colSpan")||"1"),i=parseInt(n.attr("rowSpan")||"1"),a=n.attr("width")||"auto";return{type:"table-cell",isHeader:yj(n)==="th",colSpan:o,rowSpan:i,width:a,children:e}}},udt={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,r){return{type:"table-row",children:e.filter(function(n){return k.getNodeType(n)==="table-cell"})}}},sdt={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=_(t),o="auto";return function(i,a){for(var u="",s=(i.attr("style")||"").split(";"),l=s.length,c=0;c<l;c++){var f=s[c];if(f){var d=f.split(":");d[0].trim()==="width"&&(u=d[1].trim())}}return u}(n)==="100%"&&(o="100%"),n.attr("width")==="100%"&&(o="100%"),{type:"table",width:o,children:e.filter(function(i){return k.getNodeType(i)==="table-row"})}}},ldt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||!!k.getSelectedElems(e).some(function(n){var o=k.getNodeType(n);return o==="pre"||o==="table"||o==="list-item"||!!e.isVoid(n)})},t.prototype.getPanelContentElem=function(e){var r=this;if(this.$content)return this.$content[0];for(var n=_('<div class="w-e-panel-content-table"></div>'),o=_("<span>0 × 0</span>"),i=_("<table></table>"),a=0;a<10;a++){for(var u=_("<tr></tr>"),s=0;s<10;s++){var l=_("<td></td>");l.attr("data-x",s.toString()),l.attr("data-y",a.toString()),u.append(l),l.on("mouseenter",function(c){var f=c.target;if(f!=null){var d=_(f).dataset(),p=d.x,m=d.y;o[0].innerHTML=p+1+" × "+(m+1),i.children().each(function(g){_(g).children().each(function(v){var y=_(v),h=y.dataset(),w=h.x,E=h.y;w<=p&&E<=m?y.addClass("active"):y.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var d=_(f).dataset(),p=d.x,m=d.y;r.insertTable(e,m+1,p+1)}})}i.append(u)}return n.append(i),n.append(o),this.$content=n,n[0]},t.prototype.insertTable=function(e,r,n){var o=parseInt(r,10),i=parseInt(n,10);if(o&&i&&!(o<=0||i<=0)){k.isSelectedEmptyParagraph(e)&&I.removeNodes(e,{mode:"highest"});var a=function(u,s){for(var l=[],c=0;c<u;c++){for(var f=[],d=0;d<s;d++){var p={type:"table-cell",children:[{text:""}]};c===0&&(p.isHeader=!0),f.push(p)}l.push({type:"table-row",children:f})}return{type:"table",width:"auto",children:l}}(o,i);I.insertNodes(e,a,{mode:"highest"})}},t}(),cdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){this.isDisabled(e)||I.removeNodes(e,{mode:"highest"})},t}(),fdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(p){return k.checkNodeType(p,"table-cell")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(s!==0){for(var l={type:"table-row",children:[]},c=0;c<s;c++)l.children.push({type:"table-cell",children:[{text:""}]});var f=j.parent(a),d=j.next(f);I.insertNodes(e,l,{at:d})}}},t}(),ddt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table-row")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(s){return k.checkNodeType(s,"table-row")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i);((u==null?void 0:u.children.length)||0)<=1?I.removeNodes(e,{mode:"highest"}):I.removeNodes(e,{at:a})}},t}(),Aj={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},w6=z3("span").classList,Oj=w6&&w6.constructor&&w6.constructor.prototype,pdt=Oj===Object.prototype?void 0:Oj,hdt=Yv.forEach,gdt=function(t,e){var r=[].forEach;return!!r&&Xe(function(){r.call(null,function(){throw 1},1)})}(),E6=gdt?[].forEach:function(t){return hdt(this,t,arguments.length>1?arguments[1]:void 0)},kj=function(t){if(t&&t.forEach!==E6)try{Rl(t,"forEach",E6)}catch{t.forEach=E6}};for(var C6 in Aj)Aj[C6]&&kj(Tt[C6]&&Tt[C6].prototype);kj(pdt);var vdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(l){return k.checkNodeType(l,"table-cell")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i);if(u!=null){var s=k.getParentNode(e,u);s!=null&&(s.children||[]).forEach(function(l,c){ft.isElement(l)&&(l.children||[]).forEach(function(f){var d=k.findPath(e,f);if(d.length===a.length&&hN(d.slice(-1),a.slice(-1))){var p={type:"table-cell",children:[{text:""}]};c===0&&aj(s)&&(p.isHeader=!0),I.insertNodes(e,p,{at:d})}})})}}},t}(),mdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table-cell")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(c){return k.checkNodeType(c,"table-cell")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(!u||s<=1)I.removeNodes(e,{mode:"highest"});else{var l=k.getParentNode(e,u);l!=null&&(l.children||[]).forEach(function(c){ft.isElement(c)&&(c.children||[]).forEach(function(f){var d=k.findPath(e,f);d.length===a.length&&hN(d.slice(-1),a.slice(-1))&&I.removeNodes(e,{at:d})})})}}},t}(),ydt=function(){function t(){this.title=rt("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(e){var r=k.getSelectedNodeByType(e,"table");return r!=null&&aj(r)},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=!r,o=k.getSelectedNodeByType(e,"table");o!=null&&Xv(o).forEach(function(i){return I.setNodes(e,{isHeader:n},{at:k.findPath(e,i)})})}},t}(),bdt=function(){function t(){this.title=rt("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(e){var r=k.getSelectedNodeByType(e,"table");return r!=null&&r.width==="100%"},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n={width:r?"auto":"100%"};I.setNodes(e,n,{mode:"highest"})}},t}(),wdt={renderElems:[qft,Kft,Yft],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var r=t.width;return'<table style="width: '+(r===void 0?"auto":r)+';"><tbody>'+e+"</tbody></table>"}},{type:"table-row",elemToHtml:function(t,e){return"<tr>"+e+"</tr>"}},{type:"table-cell",elemToHtml:function(t,e){var r=t,n=r.colSpan,o=n===void 0?1:n,i=r.rowSpan,a=i===void 0?1:i,u=r.isHeader,s=u!==void 0&&u,l=r.width,c=s?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+e+"</"+c+">"}}],preParseHtml:[Xft],parseElemsHtml:[adt,udt,sdt],menus:[{key:"insertTable",factory:function(){return new ldt}},{key:"deleteTable",factory:function(){return new cdt}},{key:"insertTableRow",factory:function(){return new fdt}},{key:"deleteTableRow",factory:function(){return new ddt}},{key:"insertTableCol",factory:function(){return new vdt}},{key:"deleteTableCol",factory:function(){return new mdt}},{key:"tableHeader",factory:function(){return new ydt}},{key:"tableFullWidth",factory:function(){return new bdt}}],editorPlugin:function(t){var e=t.insertBreak,r=t.deleteBackward,n=t.deleteForward,o=t.normalizeNode,i=t.insertData,a=t.handleTab,u=t.selectAll,s=t;return s.insertBreak=function(){k.getSelectedNodeByType(s,"table")==null?e():s.insertText(`
|
|
121
|
+
***************************************************************************** */};function QP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}p6(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function tN(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ud(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function eN(t){return S.nodes(t,{at:t.selection||void 0,match:function(e){return k.findPath(t,e).length===1}})}var llt=tP.includes;ca({target:"Array",proto:!0},{includes:function(t){return llt(this,t,arguments.length>1?arguments[1]:void 0)}}),jd("includes");var rN,h6,clt=function(){var t=qr(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},g6=wt.RegExp,nN=Oe(function(){var t=g6("a","y");return t.lastIndex=2,t.exec("abcd")!=null});nN||Oe(function(){return!g6("a","y").sticky});var flt={BROKEN_CARET:nN||Oe(function(){var t=g6("^r","gy");return t.lastIndex=2,t.exec("str")!=null})},dlt=wt.RegExp,plt=Oe(function(){var t=dlt(".","s");return!(t.dotAll&&t.exec(`
|
|
122
|
+
`)&&t.flags==="s")}),hlt=wt.RegExp,glt=Oe(function(){var t=hlt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),vlt=Do.get,mlt=AC("native-string-replace",String.prototype.replace),jv=RegExp.prototype.exec,v6=jv,ylt=Nt("".charAt),blt=Nt("".indexOf),wlt=Nt("".replace),m6=Nt("".slice),y6=(h6=/b*/g,ar(jv,rN=/a/,"a"),ar(jv,h6,"a"),rN.lastIndex!==0||h6.lastIndex!==0),oN=flt.BROKEN_CARET,b6=/()??/.exec("")[1]!==void 0;(y6||b6||oN||plt||glt)&&(v6=function(t){var e,r,n,o,i,a,u,s=this,l=vlt(s),c=ai(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=ar(v6,f,c),s.lastIndex=f.lastIndex,e;var d=l.groups,p=oN&&s.sticky,m=ar(clt,s),g=s.source,v=0,y=c;if(p&&(m=wlt(m,"y",""),blt(m,"g")===-1&&(m+="g"),y=m6(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&ylt(c,s.lastIndex-1)!==`
|
|
123
|
+
`)&&(g="(?: "+g+")",y=" "+y,v++),r=new RegExp("^(?:"+g+")",m)),b6&&(r=new RegExp("^"+g+"$(?!\\s)",m)),y6&&(n=s.lastIndex),o=ar(jv,p?r:s,y),p?o?(o.input=m6(o.input,v),o[0]=m6(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:y6&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),b6&&o&&o.length>1&&ar(mlt,o[0],r,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&d)for(o.groups=a=zC(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Iv=v6;ca({target:"RegExp",proto:!0,forced:/./.exec!==Iv},{exec:Iv});var iN=function(){function t(){this.type="list-item",this.tag="button"}return t.prototype.getListNode=function(e){var r=this.type;return k.getSelectedNodeByType(e,r)},t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){var r=this.getListNode(e);if(r==null)return!1;var n=r.ordered;return(n!==void 0&&n)===this.ordered},t.prototype.isDisabled=function(e){return e.selection==null||!!k.getSelectedElems(e).some(function(r){if(S.isVoid(e,r)&&S.isBlock(e,r))return!0;var n=r.type;return!!["pre","code","table"].includes(n)||void 0})},t.prototype.exec=function(e,r){this.isActive(e)?I.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):I.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),Elt='<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>',Clt='<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>',xlt=function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.ordered=!1,r.title=rt("listModule.unOrderedList"),r.iconSvg=Elt,r}return QP(e,t),e}(iN),Slt=function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.ordered=!0,r.title=rt("listModule.orderedList"),r.iconSvg=Clt,r}return QP(e,t),e}(iN),Dlt={key:"bulletedList",factory:function(){return new xlt}},Alt={key:"numberedList",factory:function(){return new Slt}},aN=[],Olt={type:"list-item",elemToHtml:function(t,e){var r="",n="",o=t.ordered,i=o!==void 0&&o?"ol":"ul",a=function(l){var c=d6.get(l);if(c==null)return 0;var f=l,d=f.type,p=f.ordered,m=p!==void 0&&p,g=f.level,v=g===void 0?0:g,y=k.findPath(c,l);if(y[0]===0)return v+1;var h=j.previous(y),w=S.node(c,h);if(!w)return 0;var E=Ud(w,1)[0];if(k.getNodeType(E)!==d)return v+1;var x=E,C=x.ordered,D=C!==void 0&&C,B=x.level,F=B===void 0?0:B;return F<v?v-F:F>v?0:F===v?D===m?0:1:0}(t);if(a>0)for(var u=0;u<a;u++)r+="<"+i+">",aN.push(i);var s=function(l){var c=d6.get(l);if(c==null)return 0;var f=l,d=f.type,p=f.ordered,m=p!==void 0&&p,g=f.level,v=g===void 0?0:g,y=k.findPath(c,l);if(y[0]===c.children.length-1)return v+1;var h=j.next(y),w=S.node(c,h);if(!w)return 0;var E=Ud(w,1)[0];if(k.getNodeType(E)!==d)return v+1;var x=E,C=x.ordered,D=C!==void 0&&C,B=x.level,F=B===void 0?0:B;return F<v?v-F:F>v?0:F===v?D===m?0:1:0}(t);if(s>0)for(u=0;u<s;u++)n+="</"+aN.pop()+">";return{html:"<li>"+e+"</li>",prefix:r,suffix:n}}},klt=vr("species"),Blt=a6.filter,_lt=BC>=51||!Oe(function(){var t=[];return(t.constructor={})[klt]=function(){return{foo:1}},t.filter(Boolean).foo!==1});ca({target:"Array",proto:!0,forced:!_lt},{filter:function(t){return Blt(this,t,arguments.length>1?arguments[1]:void 0)}});var w6=Function.prototype,uN=w6.apply,Flt=w6.bind,sN=w6.call,Tlt=typeof Reflect=="object"&&Reflect.apply||(Flt?sN.bind(uN):function(){return sN.apply(uN,arguments)}),lN=(vr("species"),RegExp.prototype),Plt=DP.charAt,Nlt=function(t,e,r){return e+(r?Plt(t,e).length:1)},jlt=Math.floor,E6=Nt("".charAt),Ilt=Nt("".replace),C6=Nt("".slice),Llt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Rlt=/\$([$&'`]|\d{1,2})/g,Mlt=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=Rlt;return o!==void 0&&(o=Bd(o),s=Llt),Ilt(i,s,function(l,c){var f;switch(E6(c,0)){case"$":return"$";case"&":return t;case"`":return C6(e,0,r);case"'":return C6(e,a);case"<":f=o[C6(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>u){var p=jlt(d/10);return p===0?l:p<=u?n[p-1]===void 0?E6(c,1):n[p-1]+E6(c,1):l}f=n[d-1]}return f===void 0?"":f})},Vlt=wt.TypeError,zlt=function(t,e){var r=t.exec;if(_e(r)){var n=ar(r,t,e);return n!==null&&qr(n),n}if(oi(t)==="RegExp")return ar(Iv,t,e);throw Vlt("RegExp#exec called on incompatible receiver")},x6=vr("replace"),Hlt=Math.max,Ult=Math.min,Wlt=Nt([].concat),S6=Nt([].push),cN=Nt("".indexOf),fN=Nt("".slice),Glt="a".replace(/./,"$0")==="$0",dN=!!/./[x6]&&/./[x6]("a","$0")==="";(function(t,e,r,n){var o=vr(t),i=!Oe(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Oe(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||r){var u=Nt(/./[o]),s=function(l,c,f){var d=dN?"$":"$0";return[function(p,m){var g=vv(this),v=p==null?void 0:Pd(p,x6);return v?ar(v,p,g,m):ar(c,ai(g),p,m)},function(p,m){var g=qr(this),v=ai(p);if(typeof m=="string"&&cN(m,d)===-1&&cN(m,"$<")===-1){var y=f(c,g,v,m);if(y.done)return y.value}var h=_e(m);h||(m=ai(m));var w=g.global;if(w){var E=g.unicode;g.lastIndex=0}for(var x=[];;){var C=zlt(g,v);if(C===null||(S6(x,C),!w))break;ai(C[0])===""&&(g.lastIndex=Nlt(v,JT(g.lastIndex),E))}for(var D,B="",F=0,R=0;R<x.length;R++){for(var G=ai((C=x[R])[0]),M=Hlt(Ult(Nd(C.index),v.length),0),W=[],q=1;q<C.length;q++)S6(W,(D=C[q])===void 0?D:String(D));var K=C.groups;if(h){var X=Wlt([G],W,M,v);K!==void 0&&S6(X,K);var Q=ai(Tlt(m,void 0,X))}else Q=Mlt(G,v,M,W,K,m);M>=F&&(B+=fN(v,F,M)+Q,F=M+G.length)}return B+fN(v,F)}]}(0,""[t],function(l,c,f,d,p){var m=Nt(l),g=c.exec;return g===Iv||g===lN.exec?i&&!p?{done:!0,value:u(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});ii(String.prototype,t,s[0]),ii(lN,o,s[1])}})("replace",0,!!Oe(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Glt||dN);var qlt=wt.TypeError,pN=function(t,e,r,n,o,i,a,u){for(var s,l,c=o,f=0,d=!!a&&r6(a,u);f<n;){if(f in r){if(s=d?d(r[f],f,e):r[f],i>0&&n6(s))l=jl(s),c=pN(t,e,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw qlt("Exceed the acceptable array length");t[c]=s}c++}f++}return c},Klt=pN;function D6(t){return t.length?t[0].tagName.toLowerCase():""}ca({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Bd(this),r=jl(e),n=zP(e,0);return n.length=Klt(n,e,e,r,0,t===void 0?1:Nd(t)),n}}),jd("flat"),ca({global:!0},{globalThis:wt}),mn&&(_.fn.append=mn),vn&&(_.fn.attr=vn),Is&&(_.fn.parent=Is);var Ylt={renderElems:[slt],editorPlugin:function(t){var e=t.deleteBackward,r=t.handleTab,n=t.normalizeNode,o=t;return o.deleteBackward=function(i){var a=o.selection;if(a!=null)if(z.isExpanded(a))e(i);else{var u=k.getSelectedNodeByType(o,"list-item");if(u!=null)if(a.focus.offset!==0)e(i);else{var s=u.level,l=s===void 0?0:s;l>0?I.setNodes(o,{level:l-1}):I.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else e(i)}else e(i)},o.handleTab=function(){var i,a,u,s,l=o.selection;if(l!=null){if(z.isCollapsed(l)){var c=k.getSelectedNodeByType(o,"list-item");if(c==null)return void r();if(l.focus.offset===0){var f=c.level,d=f===void 0?0:f;return void I.setNodes(o,{level:d+1})}}if(z.isExpanded(l)){var p=0,m=!1;try{for(var g=tN(eN(o)),v=g.next();!v.done;v=g.next()){var y=Ud(v.value,1)[0];k.getNodeType(y)==="list-item"?p++:m=!0}}catch(D){i={error:D}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}if(m||p<=1)return void r();try{for(var h=tN(eN(o)),w=h.next();!w.done;w=h.next()){var E=Ud(w.value,2),x=(y=E[0],E[1]),C=y.level;d=C===void 0?0:C,I.setNodes(o,{level:d+1},{at:x})}}catch(D){u={error:D}}finally{try{w&&!w.done&&(s=h.return)&&s.call(h)}finally{if(u)throw u.error}}}else r()}else r()},o.normalizeNode=function(i){var a=Ud(i,2),u=a[0],s=a[1],l=k.getNodeType(u);return l!=="bulleted-list"&&l!=="numbered-list"||I.unwrapNodes(o,{at:s}),n([u,s])},o},menus:[Dlt,Alt],elemsToHtml:[Olt],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,r){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=_(t);(e=e.filter(function(a){return!!at.isText(a)||!!r.isInline(a)})).length===0&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(a){return D6(a.parent())==="ol"}(n),i=function(a){for(var u=0,s=a.parent(),l=D6(s);l==="ul"||l==="ol";)l=D6(s=s.parent()),u++;return u-1}(n);return{type:"list-item",ordered:o,level:i,children:e}}}]},hN=Va(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,o="[object Arguments]",i="[object Array]",a="[object Boolean]",u="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",h="[object WeakMap]",w="[object ArrayBuffer]",E="[object DataView]",x=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,D={};D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D[o]=D[i]=D[w]=D[a]=D[E]=D[u]=D[s]=D[l]=D[c]=D[f]=D[d]=D[m]=D[g]=D[v]=D[h]=!1;var B=typeof ae=="object"&&ae&&ae.Object===Object&&ae,F=typeof self=="object"&&self&&self.Object===Object&&self,R=B||F||Function("return this")(),G=e&&!e.nodeType&&e,M=G&&t&&!t.nodeType&&t,W=M&&M.exports===G,q=W&&B.process,K=function(){try{return q&&q.binding&&q.binding("util")}catch{}}(),X=K&&K.isTypedArray;function Q(P,V){for(var tt=-1,gt=P==null?0:P.length;++tt<gt;)if(V(P[tt],tt,P))return!0;return!1}function lt(P){var V=-1,tt=Array(P.size);return P.forEach(function(gt,re){tt[++V]=[re,gt]}),tt}function st(P){var V=-1,tt=Array(P.size);return P.forEach(function(gt){tt[++V]=gt}),tt}var L=Array.prototype,A=Function.prototype,O=Object.prototype,N=R["__core-js_shared__"],U=A.toString,Z=O.hasOwnProperty,Y=function(){var P=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||"");return P?"Symbol(src)_1."+P:""}(),ut=O.toString,vt=RegExp("^"+U.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=W?R.Buffer:void 0,St=R.Symbol,$=R.Uint8Array,Rt=O.propertyIsEnumerable,kt=L.splice,ht=St?St.toStringTag:void 0,Bt=Object.getOwnPropertySymbols,Te=yt?yt.isBuffer:void 0,Wt=function(P,V){return function(tt){return P(V(tt))}}(Object.keys,Object),ee=Ia(R,"DataView"),we=Ia(R,"Map"),Ar=Ia(R,"Promise"),Vt=Ia(R,"Set"),Xr=Ia(R,"WeakMap"),Qn=Ia(Object,"create"),Io=vi(ee),gc=vi(we),ps=vi(Ar),to=vi(Vt),Lo=vi(Xr),pi=St?St.prototype:void 0,Or=pi?pi.valueOf:void 0;function kr(P){var V=-1,tt=P==null?0:P.length;for(this.clear();++V<tt;){var gt=P[V];this.set(gt[0],gt[1])}}function Br(P){var V=-1,tt=P==null?0:P.length;for(this.clear();++V<tt;){var gt=P[V];this.set(gt[0],gt[1])}}function jr(P){var V=-1,tt=P==null?0:P.length;for(this.clear();++V<tt;){var gt=P[V];this.set(gt[0],gt[1])}}function dr(P){var V=-1,tt=P==null?0:P.length;for(this.__data__=new jr;++V<tt;)this.add(P[V])}function jn(P){var V=this.__data__=new Br(P);this.size=V.size}function ch(P,V){var tt=mi(P),gt=!tt&&Cy(P),re=!tt&&!gt&&Ro(P),It=!tt&&!gt&&!re&&Vo(P),T=tt||gt||re||It,H=T?function(zt,Ee){for(var fe=-1,Yt=Array(zt);++fe<zt;)Yt[fe]=Ee(fe);return Yt}(P.length,String):[],it=H.length;for(var ct in P)!Z.call(P,ct)||T&&(ct=="length"||re&&(ct=="offset"||ct=="parent")||It&&(ct=="buffer"||ct=="byteLength"||ct=="byteOffset")||fh(ct,it))||H.push(ct);return H}function ja(P,V){for(var tt=P.length;tt--;)if(yc(P[tt][0],V))return tt;return-1}function hi(P){return P==null?P===void 0?"[object Undefined]":"[object Null]":ht&&ht in Object(P)?function(V){var tt=Z.call(V,ht),gt=V[ht];try{V[ht]=void 0;var re=!0}catch{}var It=ut.call(V);return re&&(tt?V[ht]=gt:delete V[ht]),It}(P):function(V){return ut.call(V)}(P)}function vc(P){return La(P)&&hi(P)==o}function hs(P,V,tt,gt,re){return P===V||(P==null||V==null||!La(P)&&!La(V)?P!=P&&V!=V:function(It,T,H,it,ct,zt){var Ee=mi(It),fe=mi(T),Yt=Ee?i:hn(It),nr=fe?i:hn(T),_r=(Yt=Yt==o?d:Yt)==d,gs=(nr=nr==o?d:nr)==d,yi=Yt==nr;if(yi&&Ro(It)){if(!Ro(T))return!1;Ee=!0,_r=!1}if(yi&&!_r)return zt||(zt=new jn),Ee||Vo(It)?In(It,T,H,it,ct,zt):function(Mt,Xt,$t,Pe,Ir,$r,no){switch($t){case E:if(Mt.byteLength!=Xt.byteLength||Mt.byteOffset!=Xt.byteOffset)return!1;Mt=Mt.buffer,Xt=Xt.buffer;case w:return!(Mt.byteLength!=Xt.byteLength||!$r(new $(Mt),new $(Xt)));case a:case u:case f:return yc(+Mt,+Xt);case s:return Mt.name==Xt.name&&Mt.message==Xt.message;case m:case v:return Mt==Xt+"";case c:var Ma=lt;case g:var ph=1&Pe;if(Ma||(Ma=st),Mt.size!=Xt.size&&!ph)return!1;var Dy=no.get(Mt);if(Dy)return Dy==Xt;Pe|=2,no.set(Mt,Xt);var bc=In(Ma(Mt),Ma(Xt),Pe,Ir,$r,no);return no.delete(Mt),bc;case y:if(Or)return Or.call(Mt)==Or.call(Xt)}return!1}(It,T,Yt,H,it,ct,zt);if(!(1&H)){var Ra=_r&&Z.call(It,"__wrapped__"),Et=gs&&Z.call(T,"__wrapped__");if(Ra||Et){var Jt=Ra?It.value():It,ze=Et?T.value():T;return zt||(zt=new jn),ct(Jt,ze,H,it,zt)}}return yi?(zt||(zt=new jn),function(Mt,Xt,$t,Pe,Ir,$r){var no=1&$t,Ma=gi(Mt),ph=Ma.length,Dy=gi(Xt).length;if(ph!=Dy&&!no)return!1;for(var bc=ph;bc--;){var vs=Ma[bc];if(!(no?vs in Xt:Z.call(Xt,vs)))return!1}var GV=$r.get(Mt);if(GV&&$r.get(Xt))return GV==Xt;var Ay=!0;$r.set(Mt,Xt),$r.set(Xt,Mt);for(var X8=no;++bc<ph;){var Oy=Mt[vs=Ma[bc]],ky=Xt[vs];if(Pe)var qV=no?Pe(ky,Oy,vs,Xt,Mt,$r):Pe(Oy,ky,vs,Mt,Xt,$r);if(!(qV===void 0?Oy===ky||Ir(Oy,ky,$t,Pe,$r):qV)){Ay=!1;break}X8||(X8=vs=="constructor")}if(Ay&&!X8){var By=Mt.constructor,_y=Xt.constructor;By==_y||!("constructor"in Mt)||!("constructor"in Xt)||typeof By=="function"&&By instanceof By&&typeof _y=="function"&&_y instanceof _y||(Ay=!1)}return $r.delete(Mt),$r.delete(Xt),Ay}(It,T,H,it,ct,zt)):!1}(P,V,tt,gt,hs,re))}function mc(P){return!(!xy(P)||function(V){return!!Y&&Y in V}(P))&&(dh(P)?vt:x).test(vi(P))}function eo(P){if(tt=(V=P)&&V.constructor,gt=typeof tt=="function"&&tt.prototype||O,V!==gt)return Wt(P);var V,tt,gt,re=[];for(var It in Object(P))Z.call(P,It)&&It!="constructor"&&re.push(It);return re}function In(P,V,tt,gt,re,It){var T=1&tt,H=P.length,it=V.length;if(H!=it&&!(T&&it>H))return!1;var ct=It.get(P);if(ct&&It.get(V))return ct==V;var zt=-1,Ee=!0,fe=2&tt?new dr:void 0;for(It.set(P,V),It.set(V,P);++zt<H;){var Yt=P[zt],nr=V[zt];if(gt)var _r=T?gt(nr,Yt,zt,V,P,It):gt(Yt,nr,zt,P,V,It);if(_r!==void 0){if(_r)continue;Ee=!1;break}if(fe){if(!Q(V,function(gs,yi){if(Ra=yi,!fe.has(Ra)&&(Yt===gs||re(Yt,gs,tt,gt,It)))return fe.push(yi);var Ra})){Ee=!1;break}}else if(Yt!==nr&&!re(Yt,nr,tt,gt,It)){Ee=!1;break}}return It.delete(P),It.delete(V),Ee}function gi(P){return function(V,tt,gt){var re=tt(V);return mi(V)?re:function(It,T){for(var H=-1,it=T.length,ct=It.length;++H<it;)It[ct+H]=T[H];return It}(re,gt(V))}(P,Sy,Ey)}function ro(P,V){var tt,gt,re=P.__data__;return((gt=typeof(tt=V))=="string"||gt=="number"||gt=="symbol"||gt=="boolean"?tt!=="__proto__":tt===null)?re[typeof V=="string"?"string":"hash"]:re.map}function Ia(P,V){var tt=function(gt,re){return gt==null?void 0:gt[re]}(P,V);return mc(tt)?tt:void 0}kr.prototype.clear=function(){this.__data__=Qn?Qn(null):{},this.size=0},kr.prototype.delete=function(P){var V=this.has(P)&&delete this.__data__[P];return this.size-=V?1:0,V},kr.prototype.get=function(P){var V=this.__data__;if(Qn){var tt=V[P];return tt===r?void 0:tt}return Z.call(V,P)?V[P]:void 0},kr.prototype.has=function(P){var V=this.__data__;return Qn?V[P]!==void 0:Z.call(V,P)},kr.prototype.set=function(P,V){var tt=this.__data__;return this.size+=this.has(P)?0:1,tt[P]=Qn&&V===void 0?r:V,this},Br.prototype.clear=function(){this.__data__=[],this.size=0},Br.prototype.delete=function(P){var V=this.__data__,tt=ja(V,P);return!(tt<0)&&(tt==V.length-1?V.pop():kt.call(V,tt,1),--this.size,!0)},Br.prototype.get=function(P){var V=this.__data__,tt=ja(V,P);return tt<0?void 0:V[tt][1]},Br.prototype.has=function(P){return ja(this.__data__,P)>-1},Br.prototype.set=function(P,V){var tt=this.__data__,gt=ja(tt,P);return gt<0?(++this.size,tt.push([P,V])):tt[gt][1]=V,this},jr.prototype.clear=function(){this.size=0,this.__data__={hash:new kr,map:new(we||Br),string:new kr}},jr.prototype.delete=function(P){var V=ro(this,P).delete(P);return this.size-=V?1:0,V},jr.prototype.get=function(P){return ro(this,P).get(P)},jr.prototype.has=function(P){return ro(this,P).has(P)},jr.prototype.set=function(P,V){var tt=ro(this,P),gt=tt.size;return tt.set(P,V),this.size+=tt.size==gt?0:1,this},dr.prototype.add=dr.prototype.push=function(P){return this.__data__.set(P,r),this},dr.prototype.has=function(P){return this.__data__.has(P)},jn.prototype.clear=function(){this.__data__=new Br,this.size=0},jn.prototype.delete=function(P){var V=this.__data__,tt=V.delete(P);return this.size=V.size,tt},jn.prototype.get=function(P){return this.__data__.get(P)},jn.prototype.has=function(P){return this.__data__.has(P)},jn.prototype.set=function(P,V){var tt=this.__data__;if(tt instanceof Br){var gt=tt.__data__;if(!we||gt.length<199)return gt.push([P,V]),this.size=++tt.size,this;tt=this.__data__=new jr(gt)}return tt.set(P,V),this.size=tt.size,this};var Ey=Bt?function(P){return P==null?[]:(P=Object(P),function(V,tt){for(var gt=-1,re=V==null?0:V.length,It=0,T=[];++gt<re;){var H=V[gt];tt(H,gt,V)&&(T[It++]=H)}return T}(Bt(P),function(V){return Rt.call(P,V)}))}:function(){return[]},hn=hi;function fh(P,V){return!!(V=V??n)&&(typeof P=="number"||C.test(P))&&P>-1&&P%1==0&&P<V}function vi(P){if(P!=null){try{return U.call(P)}catch{}try{return P+""}catch{}}return""}function yc(P,V){return P===V||P!=P&&V!=V}(ee&&hn(new ee(new ArrayBuffer(1)))!=E||we&&hn(new we)!=c||Ar&&hn(Ar.resolve())!=p||Vt&&hn(new Vt)!=g||Xr&&hn(new Xr)!=h)&&(hn=function(P){var V=hi(P),tt=V==d?P.constructor:void 0,gt=tt?vi(tt):"";if(gt)switch(gt){case Io:return E;case gc:return c;case ps:return p;case to:return g;case Lo:return h}return V});var Cy=vc(function(){return arguments}())?vc:function(P){return La(P)&&Z.call(P,"callee")&&!Rt.call(P,"callee")},mi=Array.isArray,Ro=Te||function(){return!1};function dh(P){if(!xy(P))return!1;var V=hi(P);return V==l||V=="[object GeneratorFunction]"||V=="[object AsyncFunction]"||V=="[object Proxy]"}function Mo(P){return typeof P=="number"&&P>-1&&P%1==0&&P<=n}function xy(P){var V=typeof P;return P!=null&&(V=="object"||V=="function")}function La(P){return P!=null&&typeof P=="object"}var Vo=X?function(P){return function(V){return P(V)}}(X):function(P){return La(P)&&Mo(P.length)&&!!D[hi(P)]};function Sy(P){return(V=P)!=null&&Mo(V.length)&&!dh(V)?ch(P):eo(P);var V}t.exports=function(P,V){return hs(P,V)}});Ur("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),Ur("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头"}});var gN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vN(t){var e={exports:{}};return t(e,e.exports),e.exports}var fa,Lv,Rv=function(t){return t&&t.Math==Math&&t},Tt=Rv(typeof globalThis=="object"&&globalThis)||Rv(typeof window=="object"&&window)||Rv(typeof self=="object"&&self)||Rv(typeof gN=="object"&&gN)||function(){return this}()||Function("return this")(),Xe=function(t){try{return!!t()}catch{return!0}},da=!Xe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Wd=Function.prototype.call,rr=Wd.bind?Wd.bind(Wd):function(){return Wd.apply(Wd,arguments)},mN={}.propertyIsEnumerable,yN=Object.getOwnPropertyDescriptor,Xlt={f:yN&&!mN.call({1:2},1)?function(t){var e=yN(this,t);return!!e&&e.enumerable}:mN},A6=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},bN=Function.prototype,O6=bN.bind,k6=bN.call,$lt=O6&&O6.bind(k6),Lt=O6?function(t){return t&&$lt(k6,t)}:function(t){return t&&function(){return k6.apply(t,arguments)}},Zlt=Lt({}.toString),Jlt=Lt("".slice),pa=function(t){return Jlt(Zlt(t),8,-1)},B6=Tt.Object,Qlt=Lt("".split),wN=Xe(function(){return!B6("z").propertyIsEnumerable(0)})?function(t){return pa(t)=="String"?Qlt(t,""):B6(t)}:B6,tct=Tt.TypeError,ha=function(t){if(t==null)throw tct("Can't call method on "+t);return t},Gd=function(t){return wN(ha(t))},Sr=function(t){return typeof t=="function"},Ao=function(t){return typeof t=="object"?t!==null:Sr(t)},ect=function(t){return Sr(t)?t:void 0},qd=function(t,e){return arguments.length<2?ect(Tt[t]):Tt[t]&&Tt[t][e]},EN=Lt({}.isPrototypeOf),_6=qd("navigator","userAgent")||"",CN=Tt.process,xN=Tt.Deno,SN=CN&&CN.versions||xN&&xN.version,DN=SN&&SN.v8;DN&&(Lv=(fa=DN.split("."))[0]>0&&fa[0]<4?1:+(fa[0]+fa[1])),!Lv&&_6&&(!(fa=_6.match(/Edge\/(\d+)/))||fa[1]>=74)&&(fa=_6.match(/Chrome\/(\d+)/))&&(Lv=+fa[1]);var F6=Lv,T6=!!Object.getOwnPropertySymbols&&!Xe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&F6&&F6<41}),P6=T6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",rct=Tt.Object,N6=P6?function(t){return typeof t=="symbol"}:function(t){var e=qd("Symbol");return Sr(e)&&EN(e.prototype,rct(t))},nct=Tt.String,AN=function(t){try{return nct(t)}catch{return"Object"}},oct=Tt.TypeError,ON=function(t){if(Sr(t))return t;throw oct(AN(t)+" is not a function")},j6=function(t,e){var r=t[e];return r==null?void 0:ON(r)},ict=Tt.TypeError,act=Object.defineProperty,I6=function(t,e){try{act(Tt,t,{value:e,configurable:!0,writable:!0})}catch{Tt[t]=e}return e},ga=Tt["__core-js_shared__"]||I6("__core-js_shared__",{}),L6=vN(function(t){(t.exports=function(e,r){return ga[e]||(ga[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),uct=Tt.Object,R6=function(t){return uct(ha(t))},sct=Lt({}.hasOwnProperty),kn=Object.hasOwn||function(t,e){return sct(R6(t),e)},lct=0,cct=Math.random(),fct=Lt(1 .toString),kN=function(t){return"Symbol("+(t===void 0?"":t)+")_"+fct(++lct+cct,36)},Kd=L6("wks"),Ku=Tt.Symbol,BN=Ku&&Ku.for,dct=P6?Ku:Ku&&Ku.withoutSetter||kN,Bn=function(t){if(!kn(Kd,t)||!T6&&typeof Kd[t]!="string"){var e="Symbol."+t;T6&&kn(Ku,t)?Kd[t]=Ku[t]:Kd[t]=P6&&BN?BN(e):dct(e)}return Kd[t]},pct=Tt.TypeError,hct=Bn("toPrimitive"),M6=function(t){var e=function(r,n){if(!Ao(r)||N6(r))return r;var o,i=j6(r,hct);if(i){if(o=rr(i,r,n),!Ao(o)||N6(o))return o;throw pct("Can't convert object to primitive value")}return function(a,u){var s,l;if(Sr(s=a.toString)&&!Ao(l=rr(s,a))||Sr(s=a.valueOf)&&!Ao(l=rr(s,a)))return l;throw ict("Can't convert object to primitive value")}(r)}(t,"string");return N6(e)?e:e+""},V6=Tt.document,gct=Ao(V6)&&Ao(V6.createElement),z6=function(t){return gct?V6.createElement(t):{}},_N=!da&&!Xe(function(){return Object.defineProperty(z6("div"),"a",{get:function(){return 7}}).a!=7}),FN=Object.getOwnPropertyDescriptor,TN={f:da?FN:function(t,e){if(t=Gd(t),e=M6(e),_N)try{return FN(t,e)}catch{}if(kn(t,e))return A6(!rr(Xlt.f,t,e),t[e])}},vct=Tt.String,mct=Tt.TypeError,_n=function(t){if(Ao(t))return t;throw mct(vct(t)+" is not an object")},yct=Tt.TypeError,PN=Object.defineProperty,Yd={f:da?PN:function(t,e,r){if(_n(t),e=M6(e),_n(r),_N)try{return PN(t,e,r)}catch{}if("get"in r||"set"in r)throw yct("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Rl=da?function(t,e,r){return Yd.f(t,e,A6(1,r))}:function(t,e,r){return t[e]=r,t},bct=Lt(Function.toString);Sr(ga.inspectSource)||(ga.inspectSource=function(t){return bct(t)});var H6,Mv,U6,W6=ga.inspectSource,NN=Tt.WeakMap,wct=Sr(NN)&&/native code/.test(W6(NN)),jN=L6("keys"),IN=function(t){return jN[t]||(jN[t]=kN(t))},G6={},LN=Tt.TypeError,Ect=Tt.WeakMap;if(wct||ga.state){var Yu=ga.state||(ga.state=new Ect),Cct=Lt(Yu.get),RN=Lt(Yu.has),xct=Lt(Yu.set);H6=function(t,e){if(RN(Yu,t))throw new LN("Object already initialized");return e.facade=t,xct(Yu,t,e),e},Mv=function(t){return Cct(Yu,t)||{}},U6=function(t){return RN(Yu,t)}}else{var Ml=IN("state");G6[Ml]=!0,H6=function(t,e){if(kn(t,Ml))throw new LN("Object already initialized");return e.facade=t,Rl(t,Ml,e),e},Mv=function(t){return kn(t,Ml)?t[Ml]:{}},U6=function(t){return kn(t,Ml)}}var q6={get:Mv,enforce:function(t){return U6(t)?Mv(t):H6(t,{})}},MN=Function.prototype,Sct=da&&Object.getOwnPropertyDescriptor,VN=kn(MN,"name"),K6={PROPER:VN&&(function(){}).name==="something",CONFIGURABLE:VN&&(!da||da&&Sct(MN,"name").configurable)},Xd=vN(function(t){var e=K6.CONFIGURABLE,r=q6.get,n=q6.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;Sr(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!kn(u,"name")||e&&u.name!==p)&&Rl(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==Tt?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Rl(i,a,u)):f?i[a]=u:I6(a,u)})(Function.prototype,"toString",function(){return Sr(this)&&r(this).source||W6(this)})}),Dct=Math.ceil,Act=Math.floor,Vv=function(t){var e=+t;return e!=e||e===0?0:(e>0?Act:Dct)(e)},Oct=Math.max,kct=Math.min,$d=function(t,e){var r=Vv(t);return r<0?Oct(r+e,0):kct(r,e)},Bct=Math.min,Y6=function(t){return t>0?Bct(Vv(t),9007199254740991):0},zv=function(t){return Y6(t.length)},_ct=function(t){return function(e,r,n){var o,i=Gd(e),a=zv(i),u=$d(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Fct=_ct(!1),zN=Lt([].push),HN=function(t,e){var r,n=Gd(t),o=0,i=[];for(r in n)!kn(G6,r)&&kn(n,r)&&zN(i,r);for(;e.length>o;)kn(n,r=e[o++])&&(~Fct(i,r)||zN(i,r));return i},Hv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tct=Hv.concat("length","prototype"),Pct={f:Object.getOwnPropertyNames||function(t){return HN(t,Tct)}},Nct={f:Object.getOwnPropertySymbols},jct=Lt([].concat),Ict=qd("Reflect","ownKeys")||function(t){var e=Pct.f(_n(t)),r=Nct.f;return r?jct(e,r(t)):e},Lct=function(t,e){for(var r=Ict(e),n=Yd.f,o=TN.f,i=0;i<r.length;i++){var a=r[i];kn(t,a)||n(t,a,o(e,a))}},Rct=/#|\.prototype\./,Zd=function(t,e){var r=Vct[Mct(t)];return r==Hct||r!=zct&&(Sr(e)?Xe(e):!!e)},Mct=Zd.normalize=function(t){return String(t).replace(Rct,".").toLowerCase()},Vct=Zd.data={},zct=Zd.NATIVE="N",Hct=Zd.POLYFILL="P",Uct=Zd,Wct=TN.f,va=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?Tt:l?Tt[u]||I6(u,{}):(Tt[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=Wct(r,n))&&a.value:r[n],!Uct(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;Lct(i,o)}(t.sham||o&&o.sham)&&Rl(i,"sham",!0),Xd(r,n,i,t)}},UN={};UN[Bn("toStringTag")]="z";var X6=String(UN)==="[object z]",Gct=Bn("toStringTag"),qct=Tt.Object,Kct=pa(function(){return arguments}())=="Arguments",$6=X6?pa:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=qct(t),Gct))=="string"?r:Kct?pa(e):(n=pa(e))=="Object"&&Sr(e.callee)?"Arguments":n},Yct=Tt.String,Dr=function(t){if($6(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Yct(t)},Xct=/"/g,$ct=Lt("".replace);va({target:"String",proto:!0,forced:Xe(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,r=Dr(ha(this)),n="<a",(n+=' name="'+$ct(Dr(e),Xct,""")+'"')+">"+r+"</a>";var e,r,n}});var Uv,WN=function(){var t=_n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Z6=Tt.RegExp,J6=Xe(function(){var t=Z6("a","y");return t.lastIndex=2,t.exec("abcd")!=null});J6||Xe(function(){return!Z6("a","y").sticky});var GN={BROKEN_CARET:J6||Xe(function(){var t=Z6("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),UNSUPPORTED_Y:J6},Zct=Object.keys||function(t){return HN(t,Hv)},Jct=da?Object.defineProperties:function(t,e){_n(t);for(var r,n=Gd(e),o=Zct(e),i=o.length,a=0;i>a;)Yd.f(t,r=o[a++],n[r]);return t},Qct=qd("document","documentElement"),qN=IN("IE_PROTO"),Q6=function(){},KN=function(t){return"<script>"+t+"<\/script>"},YN=function(t){t.write(KN("")),t.close();var e=t.parentWindow.Object;return t=null,e},Wv=function(){try{Uv=new ActiveXObject("htmlfile")}catch{}var t,e;Wv=typeof document<"u"?document.domain&&Uv?YN(Uv):((e=z6("iframe")).style.display="none",Qct.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(KN("document.F=Object")),t.close(),t.F):YN(Uv);for(var r=Hv.length;r--;)delete Wv.prototype[Hv[r]];return Wv()};G6[qN]=!0;var XN,t3,$N=Object.create||function(t,e){var r;return t!==null?(Q6.prototype=_n(t),r=new Q6,Q6.prototype=null,r[qN]=t):r=Wv(),e===void 0?r:Jct(r,e)},tft=Tt.RegExp,eft=Xe(function(){var t=tft(".","s");return!(t.dotAll&&t.exec(`
|
|
124
|
+
`)&&t.flags==="s")}),rft=Tt.RegExp,nft=Xe(function(){var t=rft("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),oft=q6.get,ift=L6("native-string-replace",String.prototype.replace),Gv=RegExp.prototype.exec,e3=Gv,aft=Lt("".charAt),uft=Lt("".indexOf),sft=Lt("".replace),r3=Lt("".slice),n3=(t3=/b*/g,rr(Gv,XN=/a/,"a"),rr(Gv,t3,"a"),XN.lastIndex!==0||t3.lastIndex!==0),ZN=GN.BROKEN_CARET,o3=/()??/.exec("")[1]!==void 0;(n3||o3||ZN||eft||nft)&&(e3=function(t){var e,r,n,o,i,a,u,s=this,l=oft(s),c=Dr(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=rr(e3,f,c),s.lastIndex=f.lastIndex,e;var d=l.groups,p=ZN&&s.sticky,m=rr(WN,s),g=s.source,v=0,y=c;if(p&&(m=sft(m,"y",""),uft(m,"g")===-1&&(m+="g"),y=r3(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&aft(c,s.lastIndex-1)!==`
|
|
125
|
+
`)&&(g="(?: "+g+")",y=" "+y,v++),r=new RegExp("^(?:"+g+")",m)),o3&&(r=new RegExp("^"+g+"$(?!\\s)",m)),n3&&(n=s.lastIndex),o=rr(Gv,p?r:s,y),p?o?(o.input=r3(o.input,v),o[0]=r3(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:n3&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),o3&&o&&o.length>1&&rr(ift,o[0],r,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&d)for(o.groups=a=$N(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Jd=e3;va({target:"RegExp",proto:!0,forced:/./.exec!==Jd},{exec:Jd});var qv=Array.isArray||function(t){return pa(t)=="Array"},JN=function(){},lft=[],QN=qd("Reflect","construct"),i3=/^\s*(?:class|function)\b/,cft=Lt(i3.exec),fft=!i3.exec(JN),Qd=function(t){if(!Sr(t))return!1;try{return QN(JN,lft,t),!0}catch{return!1}},a3=!QN||Xe(function(){var t;return Qd(Qd.call)||!Qd(Object)||!Qd(function(){t=!0})||t})?function(t){if(!Sr(t))return!1;switch($6(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return fft||!!cft(i3,W6(t))}:Qd,tj=function(t,e,r){var n=M6(e);n in t?Yd.f(t,n,A6(0,r)):t[n]=r},dft=Bn("species"),u3=function(t){return F6>=51||!Xe(function(){var e=[];return(e.constructor={})[dft]=function(){return{foo:1}},e[t](Boolean).foo!==1})},pft=Lt([].slice),hft=u3("slice"),gft=Bn("species"),s3=Tt.Array,vft=Math.max;function $n(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function ej(t){var e=t.selection;if(e==null)return!1;var r=$n(S.nodes(t,{match:function(i){return k.checkNodeType(i,"table-cell")}}),1)[0];if(r){var n=$n(r,2)[1],o=S.start(t,n);if(_t.equals(e.anchor,o))return!0}return!1}function rj(t,e){var r,n,o=S.nodes(t,{at:e,match:function(s){return k.getNodeType(s)==="table"}}),i=!1;try{for(var a=function(s){var l=typeof Symbol=="function"&&Symbol.iterator,c=l&&s[l],f=0;if(c)return c.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&f>=s.length&&(s=void 0),{value:s&&s[f++],done:!s}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(s){r={error:s}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i}va({target:"Array",proto:!0,forced:!hft},{slice:function(t,e){var r,n,o,i=Gd(this),a=zv(i),u=$d(t,a),s=$d(e===void 0?a:e,a);if(qv(i)&&(r=i.constructor,(a3(r)&&(r===s3||qv(r.prototype))||Ao(r)&&(r=r[gft])===null)&&(r=void 0),r===s3||r===void 0))return pft(i,u,s);for(n=new(r===void 0?s3:r)(vft(s-u,0)),o=0;u<s;u++,o++)u in i&&tj(n,o,i[u]);return n.length=o,n}});var nj=Lt(Lt.bind),mft=Bn("species"),oj=Tt.Array,yft=function(t,e){return new(function(r){var n;return qv(r)&&(n=r.constructor,(a3(n)&&(n===oj||qv(n.prototype))||Ao(n)&&(n=n[mft])===null)&&(n=void 0)),n===void 0?oj:n}(t))(e===0?0:e)},ij=Lt([].push),Kv=function(t){var e=t==1,r=t==2,n=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var d,p,m=R6(s),g=wN(m),v=function(x,C){return ON(x),C===void 0?x:nj?nj(x,C):function(){return x.apply(C,arguments)}}(l,c),y=zv(g),h=0,w=f||yft,E=e?w(s,y):r||a?w(s,0):void 0;y>h;h++)if((u||h in g)&&(p=v(d=g[h],h,m),t))if(e)E[h]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return h;case 2:ij(E,d)}else switch(t){case 4:return!1;case 7:ij(E,d)}return i?-1:n||o?o:E}},Yv={forEach:Kv(0),map:Kv(1),filter:Kv(2),find:Kv(5)},bft=Yv.map;va({target:"Array",proto:!0,forced:!u3("map")},{map:function(t){return bft(this,t,arguments.length>1?arguments[1]:void 0)}});var wft=X6?{}.toString:function(){return"[object "+$6(this)+"]"};function Xv(t){var e=t.children||[];return e.length===0?[]:(e[0]||{}).children||[]}function aj(t){return Xv(t).every(function(e){return!!e.isHeader})}X6||Xd(Object.prototype,"toString",wft,{unsafe:!0});var Eft=K6.PROPER,l3=RegExp.prototype,uj=l3.toString,Cft=Lt(WN),xft=Xe(function(){return uj.call({source:"a",flags:"b"})!="/a/b"}),Sft=Eft&&uj.name!="toString";(xft||Sft)&&Xd(RegExp.prototype,"toString",function(){var t=_n(this),e=Dr(t.source),r=t.flags;return"/"+e+"/"+Dr(r===void 0&&EN(l3,t)&&!("flags"in l3)?Cft(t):r)},{unsafe:!0});var c3=Bn("unscopables"),f3=Array.prototype;f3[c3]==null&&Yd.f(f3,c3,{configurable:!0,value:$N(null)});var Dft=Yv.find,sj=!0;"find"in[]&&Array(1).find(function(){sj=!1}),va({target:"Array",proto:!0,forced:sj},{find:function(t){return Dft(this,t,arguments.length>1?arguments[1]:void 0)}}),f3[c3].find=!0;var d3=Function.prototype,lj=d3.apply,Aft=d3.bind,cj=d3.call,fj=typeof Reflect=="object"&&Reflect.apply||(Aft?cj.bind(lj):function(){return cj.apply(lj,arguments)}),Oft=Bn("species"),p3=RegExp.prototype,dj=function(t,e,r,n){var o=Bn(t),i=!Xe(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Xe(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[Oft]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||r){var u=Lt(/./[o]),s=e(o,""[t],function(l,c,f,d,p){var m=Lt(l),g=c.exec;return g===Jd||g===p3.exec?i&&!p?{done:!0,value:u(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Xd(String.prototype,t,s[0]),Xd(p3,o,s[1])}n&&Rl(p3[o],"sham",!0)},kft=Bn("match"),Bft=Tt.TypeError,_ft=Bn("species"),Fft=Lt("".charAt),pj=Lt("".charCodeAt),Tft=Lt("".slice),Pft=function(t){return function(e,r){var n,o,i=Dr(ha(e)),a=Vv(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=pj(i,a))<55296||n>56319||a+1===u||(o=pj(i,a+1))<56320||o>57343?t?Fft(i,a):n:t?Tft(i,a,a+2):o-56320+(n-55296<<10)+65536}},Nft=Pft(!0),hj=function(t,e,r){return e+(r?Nft(t,e).length:1)},jft=Tt.Array,Ift=Math.max,gj=function(t,e,r){for(var n=zv(t),o=$d(e,n),i=$d(r===void 0?n:r,n),a=jft(Ift(i-o,0)),u=0;o<i;o++,u++)tj(a,u,t[o]);return a.length=u,a},Lft=Tt.TypeError,h3=function(t,e){var r=t.exec;if(Sr(r)){var n=rr(r,t,e);return n!==null&&_n(n),n}if(pa(t)==="RegExp")return rr(Jd,t,e);throw Lft("RegExp#exec called on incompatible receiver")},Vl=GN.UNSUPPORTED_Y,Rft=Math.min,vj=[].push,Mft=Lt(/./.exec),zl=Lt(vj),tp=Lt("".slice);dj("split",function(t,e,r){var n;return n="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var a,u,s=Dr(ha(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(o===void 0)return[s];if(!Ao(a=o)||!((u=a[kft])!==void 0?u:pa(a)=="RegExp"))return rr(e,s,o,l);for(var c,f,d,p=[],m=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,v=new RegExp(o.source,m+"g");(c=rr(Jd,v,s))&&!((f=v.lastIndex)>g&&(zl(p,tp(s,g,c.index)),c.length>1&&c.index<s.length&&fj(vj,p,gj(c,1)),d=c[0].length,g=f,p.length>=l));)v.lastIndex===c.index&&v.lastIndex++;return g===s.length?!d&&Mft(v,"")||zl(p,""):zl(p,tp(s,g)),p.length>l?gj(p,0,l):p}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:rr(e,this,o,i)}:e,[function(o,i){var a=ha(this),u=o==null?void 0:j6(o,t);return u?rr(u,o,a,i):rr(n,Dr(a),o,i)},function(o,i){var a=_n(this),u=Dr(o),s=r(n,a,u,i,n!==e);if(s.done)return s.value;var l=function(E,x){var C,D=_n(E).constructor;return D===void 0||(C=_n(D)[_ft])==null?x:function(B){if(a3(B))return B;throw Bft(AN(B)+" is not a constructor")}(C)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Vl?"g":"y"),d=new l(Vl?"^(?:"+a.source+")":a,f),p=i===void 0?4294967295:i>>>0;if(p===0)return[];if(u.length===0)return h3(d,u)===null?[u]:[];for(var m=0,g=0,v=[];g<u.length;){d.lastIndex=Vl?0:g;var y,h=h3(d,Vl?tp(u,g):u);if(h===null||(y=Rft(Y6(d.lastIndex+(Vl?g:0)),u.length))===m)g=hj(u,g,c);else{if(zl(v,tp(u,m,g)),v.length===p)return v;for(var w=1;w<=h.length-1;w++)if(zl(v,h[w]),v.length===p)return v;g=m=y}}return zl(v,tp(u,m)),v}]},!!Xe(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),Vl);var g3=`
|
|
126
|
+
\v\f\r \u2028\u2029\uFEFF`,mj=Lt("".replace),$v="["+g3+"]",Vft=RegExp("^"+$v+$v+"*"),zft=RegExp($v+$v+"*$"),Hft=function(t){return function(e){var r=Dr(ha(e));return 1&t&&(r=mj(r,Vft,"")),2&t&&(r=mj(r,zft,"")),r}},Uft={trim:Hft(3)},Wft=K6.PROPER,Gft=Uft.trim;function yj(t){return t.length?t[0].tagName.toLowerCase():""}va({target:"String",proto:!0,forced:function(t){return Xe(function(){return!!g3[t]()||"
"[t]()!=="
"||Wft&&g3[t].name!==t})}("trim")},{trim:function(){return Gft(this)}}),va({global:!0},{globalThis:Tt}),mn&&(_.fn.append=mn),fo&&(_.fn.on=fo),Ti&&(_.fn.focus=Ti),vn&&(_.fn.attr=vn),co&&(_.fn.val=co),Fi&&(_.fn.html=Fi),Ns&&(_.fn.dataset=Ns),Fs&&(_.fn.addClass=Fs),Ts&&(_.fn.removeClass=Ts),Rs&&(_.fn.children=Rs),mg&&(_.fn.each=mg),Ls&&(_.fn.find=Ls);var ep=!1,bj=0,wj=0,rp=null,np=null,op=_("body");function Ej(t){ep=!1,np=null,rp=null,op.off("mousemove",Cj),op.off("mouseup",Ej)}op.on("mousedown",function(t){var e=t.target;if((e.tagName==="TH"||e.tagName==="TD")&&e.style.cursor==="col-resize"){e.style.cursor="auto",t.preventDefault(),ep=!0;var r=t.clientX;bj=r;var n=e.getBoundingClientRect().width;wj=n,op.on("mousemove",Cj),op.on("mouseup",Ej)}});var Cj=iu(function(t){if(ep&&np!=null&&rp!=null){t.preventDefault();var e=t.clientX,r=wj+(e-bj);(r=Math.floor(100*r)/100)<30&&(r=30),I.setNodes(np,{width:r.toString()},{at:rp})}},100),qft={type:"table",renderElem:function(t,e,r){var n=function(u,s){if(u.isDisabled())return!1;var l=u.selection;if(l==null||z.isCollapsed(l))return!0;var c=l.anchor,f=l.focus,d=k.findPath(u,s),p=S.start(u,d),m=S.end(u,d),g=_t.compare(c,m)<=0&&_t.compare(c,p)>=0,v=_t.compare(f,m)<=0&&_t.compare(f,p)>=0;return!!(g&&v&&j.equals(c.path.slice(0,3),f.path.slice(0,3)))}(r,t),o=t.width,i=o===void 0?"auto":o,a=bt("div",{className:"table-container","data-selected":k.isNodeSelected(r,t),on:{mousedown:function(u){if(u.target.tagName==="DIV"&&u.preventDefault(),!r.isDisabled()){var s=k.findPath(r,t),l=S.start(r,s),c=r.selection;c!=null?c.anchor.path[0]!==s[0]&&r.select(l):r.select(l)}}}},bt("table",{width:i,contentEditable:n},bt("colgroup",null,Xv(t).map(function(u){var s=u.width;return bt("col",{width:s===void 0?"auto":s})})),bt("tbody",null,e)));return a}},Kft={type:"table-row",renderElem:function(t,e,r){return bt("tr",null,e)}},Yft={type:"table-cell",renderElem:function(t,e,r){var n=function(d,p){var m=k.getParentNode(d,p);if(m==null)return!1;var g=k.getParentNode(d,m);return g!=null&&Xv(g).some(function(v){return v===p})}(r,t),o=t,i=o.colSpan,a=i===void 0?1:i,u=o.rowSpan,s=u===void 0?1:u,l=o.isHeader,c=l!==void 0&&l;if(!n)return bt("td",{colSpan:a,rowSpan:s},e);var f=bt(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:iu(function(d){var p=this.elm;if(p!=null){var m=p.getBoundingClientRect(),g=m.left,v=m.width,y=m.top,h=m.height,w=d.clientX,E=d.clientY;ep||(w>g+v-5&&w<g+v&&E>y&&E<y+h?(p.style.cursor="col-resize",np=r,rp=k.findPath(r,t)):ep||(p.style.cursor="auto",np=null,rp=null))}},100)}},e);return f}},Xft={selector:"table",preParseHtml:function(t){var e=_(t);if(yj(e)!=="table")return t;var r=e.find("tbody");if(r.length===0)return t;var n=e.find("tr");return e.append(n),r.remove(),e[0]}},$ft=Yv.filter;va({target:"Array",proto:!0,forced:!u3("filter")},{filter:function(t){return $ft(this,t,arguments.length>1?arguments[1]:void 0)}});var Zft=Math.floor,v3=Lt("".charAt),Jft=Lt("".replace),m3=Lt("".slice),Qft=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tdt=/\$([$&'`]|\d{1,2})/g,edt=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=tdt;return o!==void 0&&(o=R6(o),s=Qft),Jft(i,s,function(l,c){var f;switch(v3(c,0)){case"$":return"$";case"&":return t;case"`":return m3(e,0,r);case"'":return m3(e,a);case"<":f=o[m3(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>u){var p=Zft(d/10);return p===0?l:p<=u?n[p-1]===void 0?v3(c,1):n[p-1]+v3(c,1):l}f=n[d-1]}return f===void 0?"":f})},y3=Bn("replace"),rdt=Math.max,ndt=Math.min,odt=Lt([].concat),b3=Lt([].push),xj=Lt("".indexOf),Sj=Lt("".slice),idt="a".replace(/./,"$0")==="$0",Dj=!!/./[y3]&&/./[y3]("a","$0")==="";dj("replace",function(t,e,r){var n=Dj?"$":"$0";return[function(o,i){var a=ha(this),u=o==null?void 0:j6(o,y3);return u?rr(u,o,a,i):rr(e,Dr(a),o,i)},function(o,i){var a=_n(this),u=Dr(o);if(typeof i=="string"&&xj(i,n)===-1&&xj(i,"$<")===-1){var s=r(e,a,u,i);if(s.done)return s.value}var l=Sr(i);l||(i=Dr(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var d=[];;){var p=h3(a,u);if(p===null||(b3(d,p),!c))break;Dr(p[0])===""&&(a.lastIndex=hj(u,Y6(a.lastIndex),f))}for(var m,g="",v=0,y=0;y<d.length;y++){for(var h=Dr((p=d[y])[0]),w=rdt(ndt(Vv(p.index),u.length),0),E=[],x=1;x<p.length;x++)b3(E,(m=p[x])===void 0?m:String(m));var C=p.groups;if(l){var D=odt([h],E,w,u);C!==void 0&&b3(D,C);var B=Dr(fj(i,void 0,D))}else B=edt(h,u,w,E,C,i);w>=v&&(g+=Sj(u,v,w)+B,v=w+h.length)}return g+Sj(u,v)}]},!!Xe(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!idt||Dj);var adt={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=_(t);(e=e.filter(function(u){return!!at.isText(u)||!!r.isInline(u)})).length===0&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=parseInt(n.attr("colSpan")||"1"),i=parseInt(n.attr("rowSpan")||"1"),a=n.attr("width")||"auto";return{type:"table-cell",isHeader:yj(n)==="th",colSpan:o,rowSpan:i,width:a,children:e}}},udt={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,r){return{type:"table-row",children:e.filter(function(n){return k.getNodeType(n)==="table-cell"})}}},sdt={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=_(t),o="auto";return function(i,a){for(var u="",s=(i.attr("style")||"").split(";"),l=s.length,c=0;c<l;c++){var f=s[c];if(f){var d=f.split(":");d[0].trim()==="width"&&(u=d[1].trim())}}return u}(n)==="100%"&&(o="100%"),n.attr("width")==="100%"&&(o="100%"),{type:"table",width:o,children:e.filter(function(i){return k.getNodeType(i)==="table-row"})}}},ldt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||!!k.getSelectedElems(e).some(function(n){var o=k.getNodeType(n);return o==="pre"||o==="table"||o==="list-item"||!!e.isVoid(n)})},t.prototype.getPanelContentElem=function(e){var r=this;if(this.$content)return this.$content[0];for(var n=_('<div class="w-e-panel-content-table"></div>'),o=_("<span>0 × 0</span>"),i=_("<table></table>"),a=0;a<10;a++){for(var u=_("<tr></tr>"),s=0;s<10;s++){var l=_("<td></td>");l.attr("data-x",s.toString()),l.attr("data-y",a.toString()),u.append(l),l.on("mouseenter",function(c){var f=c.target;if(f!=null){var d=_(f).dataset(),p=d.x,m=d.y;o[0].innerHTML=p+1+" × "+(m+1),i.children().each(function(g){_(g).children().each(function(v){var y=_(v),h=y.dataset(),w=h.x,E=h.y;w<=p&&E<=m?y.addClass("active"):y.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var d=_(f).dataset(),p=d.x,m=d.y;r.insertTable(e,m+1,p+1)}})}i.append(u)}return n.append(i),n.append(o),this.$content=n,n[0]},t.prototype.insertTable=function(e,r,n){var o=parseInt(r,10),i=parseInt(n,10);if(o&&i&&!(o<=0||i<=0)){k.isSelectedEmptyParagraph(e)&&I.removeNodes(e,{mode:"highest"});var a=function(u,s){for(var l=[],c=0;c<u;c++){for(var f=[],d=0;d<s;d++){var p={type:"table-cell",children:[{text:""}]};c===0&&(p.isHeader=!0),f.push(p)}l.push({type:"table-row",children:f})}return{type:"table",width:"auto",children:l}}(o,i);I.insertNodes(e,a,{mode:"highest"})}},t}(),cdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){this.isDisabled(e)||I.removeNodes(e,{mode:"highest"})},t}(),fdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(p){return k.checkNodeType(p,"table-cell")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(s!==0){for(var l={type:"table-row",children:[]},c=0;c<s;c++)l.children.push({type:"table-cell",children:[{text:""}]});var f=j.parent(a),d=j.next(f);I.insertNodes(e,l,{at:d})}}},t}(),ddt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table-row")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(s){return k.checkNodeType(s,"table-row")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i);((u==null?void 0:u.children.length)||0)<=1?I.removeNodes(e,{mode:"highest"}):I.removeNodes(e,{at:a})}},t}(),Aj={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},w3=z6("span").classList,Oj=w3&&w3.constructor&&w3.constructor.prototype,pdt=Oj===Object.prototype?void 0:Oj,hdt=Yv.forEach,gdt=function(t,e){var r=[].forEach;return!!r&&Xe(function(){r.call(null,function(){throw 1},1)})}(),E3=gdt?[].forEach:function(t){return hdt(this,t,arguments.length>1?arguments[1]:void 0)},kj=function(t){if(t&&t.forEach!==E3)try{Rl(t,"forEach",E3)}catch{t.forEach=E3}};for(var C3 in Aj)Aj[C3]&&kj(Tt[C3]&&Tt[C3].prototype);kj(pdt);var vdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(l){return k.checkNodeType(l,"table-cell")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i);if(u!=null){var s=k.getParentNode(e,u);s!=null&&(s.children||[]).forEach(function(l,c){ft.isElement(l)&&(l.children||[]).forEach(function(f){var d=k.findPath(e,f);if(d.length===a.length&&hN(d.slice(-1),a.slice(-1))){var p={type:"table-cell",children:[{text:""}]};c===0&&aj(s)&&(p.isHeader=!0),I.insertNodes(e,p,{at:d})}})})}}},t}(),mdt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table-cell")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=$n(S.nodes(e,{match:function(c){return k.checkNodeType(c,"table-cell")},universal:!0}),1),o=$n(n[0],2),i=o[0],a=o[1],u=k.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(!u||s<=1)I.removeNodes(e,{mode:"highest"});else{var l=k.getParentNode(e,u);l!=null&&(l.children||[]).forEach(function(c){ft.isElement(c)&&(c.children||[]).forEach(function(f){var d=k.findPath(e,f);d.length===a.length&&hN(d.slice(-1),a.slice(-1))&&I.removeNodes(e,{at:d})})})}}},t}(),ydt=function(){function t(){this.title=rt("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(e){var r=k.getSelectedNodeByType(e,"table");return r!=null&&aj(r)},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n=!r,o=k.getSelectedNodeByType(e,"table");o!=null&&Xv(o).forEach(function(i){return I.setNodes(e,{isHeader:n},{at:k.findPath(e,i)})})}},t}(),bdt=function(){function t(){this.title=rt("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(e){var r=k.getSelectedNodeByType(e,"table");return r!=null&&r.width==="100%"},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||k.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,r){if(!this.isDisabled(e)){var n={width:r?"auto":"100%"};I.setNodes(e,n,{mode:"highest"})}},t}(),wdt={renderElems:[qft,Kft,Yft],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var r=t.width;return'<table style="width: '+(r===void 0?"auto":r)+';"><tbody>'+e+"</tbody></table>"}},{type:"table-row",elemToHtml:function(t,e){return"<tr>"+e+"</tr>"}},{type:"table-cell",elemToHtml:function(t,e){var r=t,n=r.colSpan,o=n===void 0?1:n,i=r.rowSpan,a=i===void 0?1:i,u=r.isHeader,s=u!==void 0&&u,l=r.width,c=s?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+e+"</"+c+">"}}],preParseHtml:[Xft],parseElemsHtml:[adt,udt,sdt],menus:[{key:"insertTable",factory:function(){return new ldt}},{key:"deleteTable",factory:function(){return new cdt}},{key:"insertTableRow",factory:function(){return new fdt}},{key:"deleteTableRow",factory:function(){return new ddt}},{key:"insertTableCol",factory:function(){return new vdt}},{key:"deleteTableCol",factory:function(){return new mdt}},{key:"tableHeader",factory:function(){return new ydt}},{key:"tableFullWidth",factory:function(){return new bdt}}],editorPlugin:function(t){var e=t.insertBreak,r=t.deleteBackward,n=t.deleteForward,o=t.normalizeNode,i=t.insertData,a=t.handleTab,u=t.selectAll,s=t;return s.insertBreak=function(){k.getSelectedNodeByType(s,"table")==null?e():s.insertText(`
|
|
127
127
|
`)},s.deleteBackward=function(l){if(!ej(s)){var c=s.selection;if(c){var f=S.before(s,c);if(f){var d=rj(s,f),p=rj(s,c);if(d&&!p)return}}r(l)}},s.handleTab=function(){var l;if(k.getSelectedNodeByType(s,"table")){var c=S.above(t);k.checkNodeType(c[0],"table-cell")&&I.select(t,c[1]);var f=S.next(t);if(f)f[0]&&f[0].text&&(f=(l=S.above(t,{at:f[1]}))!==null&&l!==void 0?l:f),I.select(t,f[1]);else{var d=s.children||[],p=d.length;if(k.checkNodeType(d[p-1],"table")){var m=k.genEmptyParagraph();I.insertNodes(s,m,{at:[p]}),s.handleTab()}}}else a()},s.deleteForward=function(l){ej(s)||n(l)},s.normalizeNode=function(l){var c=$n(l,2),f=c[0],d=c[1];if(k.getNodeType(f)!=="table")return o([f,d]);if(k.isLastNode(s,f)){var p=k.genEmptyParagraph();I.insertNodes(s,p,{at:[d[0]+1]})}},s.insertData=function(l){if(k.getSelectedNodeByType(s,"table")!=null){var c=l.getData("text/plain");c===`
|
|
128
128
|
`||/<img[^>]+>/.test(l.getData("text/html"))?i(l):S.insertText(s,c)}else i(l)},s.selectAll=function(){var l=s.selection;if(l!=null){var c=k.getSelectedNodeByType(s,"table-cell");if(c!=null){var f=l.anchor,d=l.focus;if(j.equals(f.path.slice(0,3),d.path.slice(0,3)))if(et.string(c).length!==0){var p=k.findPath(s,c),m={anchor:S.start(s,p),focus:S.end(s,p)};s.select(m)}else u();else u()}else u()}else u()},s}};Ur("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",width:"Width",height:"Height"}}),Ur("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",width:"宽度",height:"高度"}});/*! *****************************************************************************
|
|
129
129
|
Copyright (c) Microsoft Corporation.
|
|
@@ -138,13 +138,13 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,y
|
|
|
138
138
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
139
139
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
140
140
|
PERFORMANCE OF THIS SOFTWARE.
|
|
141
|
-
***************************************************************************** */var Zv=function(){return Zv=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Zv.apply(this,arguments)};function Jv(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(l){try{s(n.next(l))}catch(c){i(c)}}function u(l){try{s(n.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof r?c:new r(function(f){f(c)})).then(a,u)}s((n=n.apply(t,[])).next())})}function Qv(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,n=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function Xu(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function Edt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=function(o){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&o[i],u=0;if(a)return a.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(i){return new Promise(function(a,u){(function(s,l,c,f){Promise.resolve(f).then(function(d){s({value:d,done:c})},l)})(a,u,(i=t[o](i)).done,i.value)})}}}var Bj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x6(t){var e={exports:{}};return t(e,e.exports),e.exports}var ma,tm,em=function(t){return t&&t.Math==Math&&t},ot=em(typeof globalThis=="object"&&globalThis)||em(typeof window=="object"&&window)||em(typeof self=="object"&&self)||em(typeof Bj=="object"&&Bj)||function(){return this}()||Function("return this")(),le=function(t){try{return!!t()}catch{return!0}},Oo=!le(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ip=Function.prototype.call,ce=ip.bind?ip.bind(ip):function(){return ip.apply(ip,arguments)},_j={}.propertyIsEnumerable,Fj=Object.getOwnPropertyDescriptor,Cdt={f:Fj&&!_j.call({1:2},1)?function(t){var e=Fj(this,t);return!!e&&e.enumerable}:_j},rm=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Tj=Function.prototype,S6=Tj.bind,D6=Tj.call,xdt=S6&&S6.bind(D6),xt=S6?function(t){return t&&xdt(D6,t)}:function(t){return t&&function(){return D6.apply(t,arguments)}},Sdt=xt({}.toString),Ddt=xt("".slice),ko=function(t){return Ddt(Sdt(t),8,-1)},A6=ot.Object,Adt=xt("".split),O6=le(function(){return!A6("z").propertyIsEnumerable(0)})?function(t){return ko(t)=="String"?Adt(t,""):A6(t)}:A6,Odt=ot.TypeError,ap=function(t){if(t==null)throw Odt("Can't call method on "+t);return t},ya=function(t){return O6(ap(t))},ie=function(t){return typeof t=="function"},be=function(t){return typeof t=="object"?t!==null:ie(t)},kdt=function(t){return ie(t)?t:void 0},$u=function(t,e){return arguments.length<2?kdt(ot[t]):ot[t]&&ot[t][e]},up=xt({}.isPrototypeOf),Hl=$u("navigator","userAgent")||"",Pj=ot.process,Nj=ot.Deno,jj=Pj&&Pj.versions||Nj&&Nj.version,Ij=jj&&jj.v8;Ij&&(tm=(ma=Ij.split("."))[0]>0&&ma[0]<4?1:+(ma[0]+ma[1])),!tm&&Hl&&(!(ma=Hl.match(/Edge\/(\d+)/))||ma[1]>=74)&&(ma=Hl.match(/Chrome\/(\d+)/))&&(tm=+ma[1]);var sp=tm,k6=!!Object.getOwnPropertySymbols&&!le(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&sp&&sp<41}),B6=k6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Bdt=ot.Object,_6=B6?function(t){return typeof t=="symbol"}:function(t){var e=$u("Symbol");return ie(e)&&up(e.prototype,Bdt(t))},_dt=ot.String,nm=function(t){try{return _dt(t)}catch{return"Object"}},Fdt=ot.TypeError,ba=function(t){if(ie(t))return t;throw Fdt(nm(t)+" is not a function")},lp=function(t,e){var r=t[e];return r==null?void 0:ba(r)},Tdt=ot.TypeError,Pdt=Object.defineProperty,F6=function(t,e){try{Pdt(ot,t,{value:e,configurable:!0,writable:!0})}catch{ot[t]=e}return e},wa=ot["__core-js_shared__"]||F6("__core-js_shared__",{}),T6=x6(function(t){(t.exports=function(e,r){return wa[e]||(wa[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Ndt=ot.Object,om=function(t){return Ndt(ap(t))},jdt=xt({}.hasOwnProperty),$e=Object.hasOwn||function(t,e){return jdt(om(t),e)},Idt=0,Ldt=Math.random(),Rdt=xt(1 .toString),P6=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Rdt(++Idt+Ldt,36)},cp=T6("wks"),Zu=ot.Symbol,Lj=Zu&&Zu.for,Mdt=B6?Zu:Zu&&Zu.withoutSetter||P6,Me=function(t){if(!$e(cp,t)||!k6&&typeof cp[t]!="string"){var e="Symbol."+t;k6&&$e(Zu,t)?cp[t]=Zu[t]:cp[t]=B6&&Lj?Lj(e):Mdt(e)}return cp[t]},Vdt=ot.TypeError,zdt=Me("toPrimitive"),N6=function(t){var e=function(r,n){if(!be(r)||_6(r))return r;var o,i=lp(r,zdt);if(i){if(o=ce(i,r,n),!be(o)||_6(o))return o;throw Vdt("Can't convert object to primitive value")}return function(a,u){var s,l;if(ie(s=a.toString)&&!be(l=ce(s,a))||ie(s=a.valueOf)&&!be(l=ce(s,a)))return l;throw Tdt("Can't convert object to primitive value")}(r)}(t,"string");return _6(e)?e:e+""},j6=ot.document,Hdt=be(j6)&&be(j6.createElement),fp=function(t){return Hdt?j6.createElement(t):{}},Rj=!Oo&&!le(function(){return Object.defineProperty(fp("div"),"a",{get:function(){return 7}}).a!=7}),Mj=Object.getOwnPropertyDescriptor,I6={f:Oo?Mj:function(t,e){if(t=ya(t),e=N6(e),Rj)try{return Mj(t,e)}catch{}if($e(t,e))return rm(!ce(Cdt.f,t,e),t[e])}},Udt=ot.String,Wdt=ot.TypeError,ur=function(t){if(be(t))return t;throw Wdt(Udt(t)+" is not an object")},Gdt=ot.TypeError,Vj=Object.defineProperty,ui={f:Oo?Vj:function(t,e,r){if(ur(t),e=N6(e),ur(r),Rj)try{return Vj(t,e,r)}catch{}if("get"in r||"set"in r)throw Gdt("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Ea=Oo?function(t,e,r){return ui.f(t,e,rm(1,r))}:function(t,e,r){return t[e]=r,t},qdt=xt(Function.toString);ie(wa.inspectSource)||(wa.inspectSource=function(t){return qdt(t)});var im,dp,am,um=wa.inspectSource,zj=ot.WeakMap,Hj=ie(zj)&&/native code/.test(um(zj)),Uj=T6("keys"),L6=function(t){return Uj[t]||(Uj[t]=P6(t))},sm={},R6=ot.TypeError,Kdt=ot.WeakMap;if(Hj||wa.state){var Ju=wa.state||(wa.state=new Kdt),Ydt=xt(Ju.get),Wj=xt(Ju.has),Xdt=xt(Ju.set);im=function(t,e){if(Wj(Ju,t))throw new R6("Object already initialized");return e.facade=t,Xdt(Ju,t,e),e},dp=function(t){return Ydt(Ju,t)||{}},am=function(t){return Wj(Ju,t)}}else{var Ul=L6("state");sm[Ul]=!0,im=function(t,e){if($e(t,Ul))throw new R6("Object already initialized");return e.facade=t,Ea(t,Ul,e),e},dp=function(t){return $e(t,Ul)?t[Ul]:{}},am=function(t){return $e(t,Ul)}}var dn={set:im,get:dp,has:am,enforce:function(t){return am(t)?dp(t):im(t,{})},getterFor:function(t){return function(e){var r;if(!be(e)||(r=dp(e)).type!==t)throw R6("Incompatible receiver, "+t+" required");return r}}},Gj=Function.prototype,$dt=Oo&&Object.getOwnPropertyDescriptor,M6=$e(Gj,"name"),Wl={EXISTS:M6,PROPER:M6&&(function(){}).name==="something",CONFIGURABLE:M6&&(!Oo||Oo&&$dt(Gj,"name").configurable)},Fn=x6(function(t){var e=Wl.CONFIGURABLE,r=dn.get,n=dn.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;ie(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!$e(u,"name")||e&&u.name!==p)&&Ea(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==ot?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Ea(i,a,u)):f?i[a]=u:F6(a,u)})(Function.prototype,"toString",function(){return ie(this)&&r(this).source||um(this)})}),Zdt=Math.ceil,Jdt=Math.floor,lm=function(t){var e=+t;return e!=e||e===0?0:(e>0?Jdt:Zdt)(e)},Qdt=Math.max,tpt=Math.min,pp=function(t,e){var r=lm(t);return r<0?Qdt(r+e,0):tpt(r,e)},ept=Math.min,qj=function(t){return t>0?ept(lm(t),9007199254740991):0},hp=function(t){return qj(t.length)},Kj=function(t){return function(e,r,n){var o,i=ya(e),a=hp(i),u=pp(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Yj={includes:Kj(!0),indexOf:Kj(!1)},rpt=Yj.indexOf,Xj=xt([].push),$j=function(t,e){var r,n=ya(t),o=0,i=[];for(r in n)!$e(sm,r)&&$e(n,r)&&Xj(i,r);for(;e.length>o;)$e(n,r=e[o++])&&(~rpt(i,r)||Xj(i,r));return i},cm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],npt=cm.concat("length","prototype"),fm={f:Object.getOwnPropertyNames||function(t){return $j(t,npt)}},opt={f:Object.getOwnPropertySymbols},ipt=xt([].concat),apt=$u("Reflect","ownKeys")||function(t){var e=fm.f(ur(t)),r=opt.f;return r?ipt(e,r(t)):e},upt=function(t,e){for(var r=apt(e),n=ui.f,o=I6.f,i=0;i<r.length;i++){var a=r[i];$e(t,a)||n(t,a,o(e,a))}},spt=/#|\.prototype\./,gp=function(t,e){var r=cpt[lpt(t)];return r==dpt||r!=fpt&&(ie(e)?le(e):!!e)},lpt=gp.normalize=function(t){return String(t).replace(spt,".").toLowerCase()},cpt=gp.data={},fpt=gp.NATIVE="N",dpt=gp.POLYFILL="P",dm=gp,ppt=I6.f,Kr=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?ot:l?ot[u]||F6(u,{}):(ot[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=ppt(r,n))&&a.value:r[n],!dm(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;upt(i,o)}(t.sham||o&&o.sham)&&Ea(i,"sham",!0),Fn(r,n,i,t)}},Zj={};Zj[Me("toStringTag")]="z";var V6=String(Zj)==="[object z]",hpt=Me("toStringTag"),gpt=ot.Object,vpt=ko(function(){return arguments}())=="Arguments",pm=V6?ko:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=gpt(t),hpt))=="string"?r:vpt?ko(e):(n=ko(e))=="Object"&&ie(e.callee)?"Arguments":n},mpt=ot.String,Tn=function(t){if(pm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return mpt(t)},z6=`
|
|
142
|
-
\v\f\r \u2028\u2029\uFEFF`,Jj=xt("".replace),hm="["+
|
|
141
|
+
***************************************************************************** */var Zv=function(){return Zv=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Zv.apply(this,arguments)};function Jv(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(l){try{s(n.next(l))}catch(c){i(c)}}function u(l){try{s(n.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof r?c:new r(function(f){f(c)})).then(a,u)}s((n=n.apply(t,[])).next())})}function Qv(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,n=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function Xu(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function Edt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=function(o){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&o[i],u=0;if(a)return a.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(i){return new Promise(function(a,u){(function(s,l,c,f){Promise.resolve(f).then(function(d){s({value:d,done:c})},l)})(a,u,(i=t[o](i)).done,i.value)})}}}var Bj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x3(t){var e={exports:{}};return t(e,e.exports),e.exports}var ma,tm,em=function(t){return t&&t.Math==Math&&t},ot=em(typeof globalThis=="object"&&globalThis)||em(typeof window=="object"&&window)||em(typeof self=="object"&&self)||em(typeof Bj=="object"&&Bj)||function(){return this}()||Function("return this")(),le=function(t){try{return!!t()}catch{return!0}},Oo=!le(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ip=Function.prototype.call,ce=ip.bind?ip.bind(ip):function(){return ip.apply(ip,arguments)},_j={}.propertyIsEnumerable,Fj=Object.getOwnPropertyDescriptor,Cdt={f:Fj&&!_j.call({1:2},1)?function(t){var e=Fj(this,t);return!!e&&e.enumerable}:_j},rm=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Tj=Function.prototype,S3=Tj.bind,D3=Tj.call,xdt=S3&&S3.bind(D3),xt=S3?function(t){return t&&xdt(D3,t)}:function(t){return t&&function(){return D3.apply(t,arguments)}},Sdt=xt({}.toString),Ddt=xt("".slice),ko=function(t){return Ddt(Sdt(t),8,-1)},A3=ot.Object,Adt=xt("".split),O3=le(function(){return!A3("z").propertyIsEnumerable(0)})?function(t){return ko(t)=="String"?Adt(t,""):A3(t)}:A3,Odt=ot.TypeError,ap=function(t){if(t==null)throw Odt("Can't call method on "+t);return t},ya=function(t){return O3(ap(t))},ie=function(t){return typeof t=="function"},be=function(t){return typeof t=="object"?t!==null:ie(t)},kdt=function(t){return ie(t)?t:void 0},$u=function(t,e){return arguments.length<2?kdt(ot[t]):ot[t]&&ot[t][e]},up=xt({}.isPrototypeOf),Hl=$u("navigator","userAgent")||"",Pj=ot.process,Nj=ot.Deno,jj=Pj&&Pj.versions||Nj&&Nj.version,Ij=jj&&jj.v8;Ij&&(tm=(ma=Ij.split("."))[0]>0&&ma[0]<4?1:+(ma[0]+ma[1])),!tm&&Hl&&(!(ma=Hl.match(/Edge\/(\d+)/))||ma[1]>=74)&&(ma=Hl.match(/Chrome\/(\d+)/))&&(tm=+ma[1]);var sp=tm,k3=!!Object.getOwnPropertySymbols&&!le(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&sp&&sp<41}),B3=k3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Bdt=ot.Object,_3=B3?function(t){return typeof t=="symbol"}:function(t){var e=$u("Symbol");return ie(e)&&up(e.prototype,Bdt(t))},_dt=ot.String,nm=function(t){try{return _dt(t)}catch{return"Object"}},Fdt=ot.TypeError,ba=function(t){if(ie(t))return t;throw Fdt(nm(t)+" is not a function")},lp=function(t,e){var r=t[e];return r==null?void 0:ba(r)},Tdt=ot.TypeError,Pdt=Object.defineProperty,F3=function(t,e){try{Pdt(ot,t,{value:e,configurable:!0,writable:!0})}catch{ot[t]=e}return e},wa=ot["__core-js_shared__"]||F3("__core-js_shared__",{}),T3=x3(function(t){(t.exports=function(e,r){return wa[e]||(wa[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Ndt=ot.Object,om=function(t){return Ndt(ap(t))},jdt=xt({}.hasOwnProperty),$e=Object.hasOwn||function(t,e){return jdt(om(t),e)},Idt=0,Ldt=Math.random(),Rdt=xt(1 .toString),P3=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Rdt(++Idt+Ldt,36)},cp=T3("wks"),Zu=ot.Symbol,Lj=Zu&&Zu.for,Mdt=B3?Zu:Zu&&Zu.withoutSetter||P3,Me=function(t){if(!$e(cp,t)||!k3&&typeof cp[t]!="string"){var e="Symbol."+t;k3&&$e(Zu,t)?cp[t]=Zu[t]:cp[t]=B3&&Lj?Lj(e):Mdt(e)}return cp[t]},Vdt=ot.TypeError,zdt=Me("toPrimitive"),N3=function(t){var e=function(r,n){if(!be(r)||_3(r))return r;var o,i=lp(r,zdt);if(i){if(o=ce(i,r,n),!be(o)||_3(o))return o;throw Vdt("Can't convert object to primitive value")}return function(a,u){var s,l;if(ie(s=a.toString)&&!be(l=ce(s,a))||ie(s=a.valueOf)&&!be(l=ce(s,a)))return l;throw Tdt("Can't convert object to primitive value")}(r)}(t,"string");return _3(e)?e:e+""},j3=ot.document,Hdt=be(j3)&&be(j3.createElement),fp=function(t){return Hdt?j3.createElement(t):{}},Rj=!Oo&&!le(function(){return Object.defineProperty(fp("div"),"a",{get:function(){return 7}}).a!=7}),Mj=Object.getOwnPropertyDescriptor,I3={f:Oo?Mj:function(t,e){if(t=ya(t),e=N3(e),Rj)try{return Mj(t,e)}catch{}if($e(t,e))return rm(!ce(Cdt.f,t,e),t[e])}},Udt=ot.String,Wdt=ot.TypeError,ur=function(t){if(be(t))return t;throw Wdt(Udt(t)+" is not an object")},Gdt=ot.TypeError,Vj=Object.defineProperty,ui={f:Oo?Vj:function(t,e,r){if(ur(t),e=N3(e),ur(r),Rj)try{return Vj(t,e,r)}catch{}if("get"in r||"set"in r)throw Gdt("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Ea=Oo?function(t,e,r){return ui.f(t,e,rm(1,r))}:function(t,e,r){return t[e]=r,t},qdt=xt(Function.toString);ie(wa.inspectSource)||(wa.inspectSource=function(t){return qdt(t)});var im,dp,am,um=wa.inspectSource,zj=ot.WeakMap,Hj=ie(zj)&&/native code/.test(um(zj)),Uj=T3("keys"),L3=function(t){return Uj[t]||(Uj[t]=P3(t))},sm={},R3=ot.TypeError,Kdt=ot.WeakMap;if(Hj||wa.state){var Ju=wa.state||(wa.state=new Kdt),Ydt=xt(Ju.get),Wj=xt(Ju.has),Xdt=xt(Ju.set);im=function(t,e){if(Wj(Ju,t))throw new R3("Object already initialized");return e.facade=t,Xdt(Ju,t,e),e},dp=function(t){return Ydt(Ju,t)||{}},am=function(t){return Wj(Ju,t)}}else{var Ul=L3("state");sm[Ul]=!0,im=function(t,e){if($e(t,Ul))throw new R3("Object already initialized");return e.facade=t,Ea(t,Ul,e),e},dp=function(t){return $e(t,Ul)?t[Ul]:{}},am=function(t){return $e(t,Ul)}}var dn={set:im,get:dp,has:am,enforce:function(t){return am(t)?dp(t):im(t,{})},getterFor:function(t){return function(e){var r;if(!be(e)||(r=dp(e)).type!==t)throw R3("Incompatible receiver, "+t+" required");return r}}},Gj=Function.prototype,$dt=Oo&&Object.getOwnPropertyDescriptor,M3=$e(Gj,"name"),Wl={EXISTS:M3,PROPER:M3&&(function(){}).name==="something",CONFIGURABLE:M3&&(!Oo||Oo&&$dt(Gj,"name").configurable)},Fn=x3(function(t){var e=Wl.CONFIGURABLE,r=dn.get,n=dn.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;ie(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!$e(u,"name")||e&&u.name!==p)&&Ea(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==ot?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Ea(i,a,u)):f?i[a]=u:F3(a,u)})(Function.prototype,"toString",function(){return ie(this)&&r(this).source||um(this)})}),Zdt=Math.ceil,Jdt=Math.floor,lm=function(t){var e=+t;return e!=e||e===0?0:(e>0?Jdt:Zdt)(e)},Qdt=Math.max,tpt=Math.min,pp=function(t,e){var r=lm(t);return r<0?Qdt(r+e,0):tpt(r,e)},ept=Math.min,qj=function(t){return t>0?ept(lm(t),9007199254740991):0},hp=function(t){return qj(t.length)},Kj=function(t){return function(e,r,n){var o,i=ya(e),a=hp(i),u=pp(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Yj={includes:Kj(!0),indexOf:Kj(!1)},rpt=Yj.indexOf,Xj=xt([].push),$j=function(t,e){var r,n=ya(t),o=0,i=[];for(r in n)!$e(sm,r)&&$e(n,r)&&Xj(i,r);for(;e.length>o;)$e(n,r=e[o++])&&(~rpt(i,r)||Xj(i,r));return i},cm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],npt=cm.concat("length","prototype"),fm={f:Object.getOwnPropertyNames||function(t){return $j(t,npt)}},opt={f:Object.getOwnPropertySymbols},ipt=xt([].concat),apt=$u("Reflect","ownKeys")||function(t){var e=fm.f(ur(t)),r=opt.f;return r?ipt(e,r(t)):e},upt=function(t,e){for(var r=apt(e),n=ui.f,o=I3.f,i=0;i<r.length;i++){var a=r[i];$e(t,a)||n(t,a,o(e,a))}},spt=/#|\.prototype\./,gp=function(t,e){var r=cpt[lpt(t)];return r==dpt||r!=fpt&&(ie(e)?le(e):!!e)},lpt=gp.normalize=function(t){return String(t).replace(spt,".").toLowerCase()},cpt=gp.data={},fpt=gp.NATIVE="N",dpt=gp.POLYFILL="P",dm=gp,ppt=I3.f,Kr=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?ot:l?ot[u]||F3(u,{}):(ot[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=ppt(r,n))&&a.value:r[n],!dm(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;upt(i,o)}(t.sham||o&&o.sham)&&Ea(i,"sham",!0),Fn(r,n,i,t)}},Zj={};Zj[Me("toStringTag")]="z";var V3=String(Zj)==="[object z]",hpt=Me("toStringTag"),gpt=ot.Object,vpt=ko(function(){return arguments}())=="Arguments",pm=V3?ko:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=gpt(t),hpt))=="string"?r:vpt?ko(e):(n=ko(e))=="Object"&&ie(e.callee)?"Arguments":n},mpt=ot.String,Tn=function(t){if(pm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return mpt(t)},z3=`
|
|
142
|
+
\v\f\r \u2028\u2029\uFEFF`,Jj=xt("".replace),hm="["+z3+"]",ypt=RegExp("^"+hm+hm+"*"),bpt=RegExp(hm+hm+"*$"),wpt=function(t){return function(e){var r=Tn(ap(e));return 1&t&&(r=Jj(r,ypt,"")),2&t&&(r=Jj(r,bpt,"")),r}},Ept={trim:wpt(3)},Cpt=Wl.PROPER,xpt=Ept.trim;function Qj(t){return t.length?t[0].tagName.toLowerCase():""}function tI(t,e,r){e===void 0&&(e="auto"),r===void 0&&(r="auto");var n=_(t);return n.attr("width",e),n.attr("height",r),n[0].outerHTML}Kr({target:"String",proto:!0,forced:le(function(){return!!z3.trim()||"
".trim()!=="
"||Cpt&&z3.trim.name!=="trim"})},{trim:function(){return xpt(this)}}),Kr({global:!0},{globalThis:ot}),mn&&(_.fn.append=mn),fo&&(_.fn.on=fo),Ti&&(_.fn.focus=Ti),vn&&(_.fn.attr=vn),co&&(_.fn.val=co),Fi&&(_.fn.html=Fi),Is&&(_.fn.parent=Is),Ps&&(_.fn.hasClass=Ps),Vs&&(_.fn.empty=Vs);var gm,Spt={type:"video",renderElem:function(t,e,r){var n,o=t,i=o.src,a=i===void 0?"":i,u=o.poster,s=u===void 0?"":u,l=o.width,c=l===void 0?"auto":l,f=o.height,d=f===void 0?"auto":f,p=k.isNodeSelected(r,t);if(a.trim().indexOf("<iframe ")===0)n=bt("div",{className:"w-e-textarea-video-container","data-selected":p?"true":"",innerHTML:tI(a,c,d)});else{var m=bt("video",{poster:s,controls:!0},bt("source",{src:a,type:"video/mp4"}),`Sorry, your browser doesn't support embedded videos.
|
|
143
143
|
抱歉,浏览器不支持 video 视频`);c!=="auto"&&(m.data.width=c),d!=="auto"&&(m.data.height=d),n=bt("div",{className:"w-e-textarea-video-container","data-selected":p?"true":""},m)}return zs("div",{props:{contentEditable:!1},on:{mousedown:function(g){return g.preventDefault()}}},n)}},Dpt={type:"video",elemToHtml:function(t,e){var r=t,n=r.src,o=n===void 0?"":n,i=r.poster,a=i===void 0?"":i,u=r.width,s=u===void 0?"auto":u,l=r.height,c=l===void 0?"auto":l,f=`<div data-w-e-type="video" data-w-e-is-void>
|
|
144
144
|
`;return o.trim().indexOf("<iframe ")===0?f+=tI(o,s,c):f+='<video poster="'+a+'" controls="true" width="'+s+'" height="'+c+'"><source src="'+o+'" type="video/mp4"/></video>',f+`
|
|
145
|
-
</div>`}},Apt=Object.keys||function(t){return $j(t,cm)},Opt=Oo?Object.defineProperties:function(t,e){ur(t);for(var r,n=ya(e),o=Apt(e),i=o.length,a=0;i>a;)ui.f(t,r=o[a++],n[r]);return t},
|
|
146
|
-
`)&&t.flags==="s")}),zpt=ot.RegExp,Hpt=le(function(){var t=zpt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Upt=dn.get,Wpt=
|
|
147
|
-
`)&&(g="(?: "+g+")",y=" "+y,v++),r=new RegExp("^(?:"+g+")",m)),ex&&(r=new RegExp("^"+g+"$(?!\\s)",m)),tx&&(n=s.lastIndex),o=ce(ym,p?r:s,y),p?o?(o.input=Q6(o.input,v),o[0]=Q6(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:tx&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),ex&&o&&o.length>1&&ce(Wpt,o[0],r,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&d)for(o.groups=a=W6(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var bm=J6;Kr({target:"RegExp",proto:!0,forced:/./.exec!==bm},{exec:bm});var rx=Function.prototype,vI=rx.apply,Ypt=rx.bind,mI=rx.call,yI=typeof Reflect=="object"&&Reflect.apply||(Ypt?mI.bind(vI):function(){return mI.apply(vI,arguments)}),bI=(Me("species"),RegExp.prototype),Xpt=xt("".charAt),wI=xt("".charCodeAt),$pt=xt("".slice),Zpt=function(t){return function(e,r){var n,o,i=Tn(ap(e)),a=lm(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=wI(i,a))<55296||n>56319||a+1===u||(o=wI(i,a+1))<56320||o>57343?t?Xpt(i,a):n:t?$pt(i,a,a+2):o-56320+(n-55296<<10)+65536}},EI={charAt:Zpt(!0)},Jpt=EI.charAt,Qpt=function(t,e,r){return e+(r?Jpt(t,e).length:1)},tht=Math.floor,nx=xt("".charAt),eht=xt("".replace),ox=xt("".slice),rht=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,nht=/\$([$&'`]|\d{1,2})/g,oht=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=nht;return o!==void 0&&(o=om(o),s=rht),eht(i,s,function(l,c){var f;switch(nx(c,0)){case"$":return"$";case"&":return t;case"`":return ox(e,0,r);case"'":return ox(e,a);case"<":f=o[ox(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>u){var p=tht(d/10);return p===0?l:p<=u?n[p-1]===void 0?nx(c,1):n[p-1]+nx(c,1):l}f=n[d-1]}return f===void 0?"":f})},iht=ot.TypeError,aht=function(t,e){var r=t.exec;if(ie(r)){var n=ce(r,t,e);return n!==null&&ur(n),n}if(ko(t)==="RegExp")return ce(bm,t,e);throw iht("RegExp#exec called on incompatible receiver")},ix=Me("replace"),uht=Math.max,sht=Math.min,lht=xt([].concat),ax=xt([].push),CI=xt("".indexOf),xI=xt("".slice),cht="a".replace(/./,"$0")==="$0",SI=!!/./[ix]&&/./[ix]("a","$0")==="";function DI(t){return t+"-"+m7()}(function(t,e,r,n){var o=Me(t),i=!le(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!le(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||r){var u=xt(/./[o]),s=function(l,c,f){var d=SI?"$":"$0";return[function(p,m){var g=ap(this),v=p==null?void 0:lp(p,ix);return v?ce(v,p,g,m):ce(c,Tn(g),p,m)},function(p,m){var g=ur(this),v=Tn(p);if(typeof m=="string"&&CI(m,d)===-1&&CI(m,"$<")===-1){var y=f(c,g,v,m);if(y.done)return y.value}var h=ie(m);h||(m=Tn(m));var w=g.global;if(w){var E=g.unicode;g.lastIndex=0}for(var x=[];;){var C=aht(g,v);if(C===null||(ax(x,C),!w))break;Tn(C[0])===""&&(g.lastIndex=Qpt(v,qj(g.lastIndex),E))}for(var D,B="",F=0,R=0;R<x.length;R++){for(var G=Tn((C=x[R])[0]),M=uht(sht(lm(C.index),v.length),0),W=[],q=1;q<C.length;q++)ax(W,(D=C[q])===void 0?D:String(D));var K=C.groups;if(h){var X=lht([G],W,M,v);K!==void 0&&ax(X,K);var Q=Tn(yI(m,void 0,X))}else Q=oht(G,v,M,W,K,m);M>=F&&(B+=xI(v,F,M)+Q,F=M+G.length)}return B+xI(v,F)}]}(0,""[t],function(l,c,f,d,p){var m=xt(l),g=c.exec;return g===bm||g===bI.exec?i&&!p?{done:!0,value:u(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Fn(String.prototype,t,s[0]),Fn(bI,o,s[1])}})("replace",0,!!le(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!cht||SI);var wm=ot.Promise,Em=function(t,e,r){for(var n in e)Fn(t,n,e[n],r);return t},fht=ot.String,dht=ot.TypeError,Gl=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=xt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(n,o){return ur(n),function(i){if(typeof i=="object"||ie(i))return i;throw dht("Can't set "+fht(i)+" as a prototype")}(o),e?t(n,o):n.__proto__=o,n}}():void 0),pht=ui.f,AI=Me("toStringTag"),Cm=function(t,e,r){t&&!$e(t=r?t:t.prototype,AI)&&pht(t,AI,{configurable:!0,value:e})},OI=Me("species"),hht=ot.TypeError,ux=function(t,e){if(up(e,t))return t;throw hht("Incorrect invocation")},ql={},ght=Me("iterator"),vht=Array.prototype,mht=Me("iterator"),kI=function(t){if(t!=null)return lp(t,mht)||lp(t,"@@iterator")||ql[pm(t)]},yht=ot.TypeError,BI=function(t,e,r){var n,o;ur(t);try{if(!(n=lp(t,"return"))){if(e==="throw")throw r;return r}n=ce(n,t)}catch(i){o=!0,n=i}if(e==="throw")throw r;if(o)throw n;return ur(n),r},bht=ot.TypeError,xm=function(t,e){this.stopped=t,this.result=e},_I=xm.prototype,Sm=function(t,e,r){var n,o,i,a,u,s,l,c,f=r&&r.that,d=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_ITERATOR),m=!(!r||!r.INTERRUPTED),g=mp(e,f),v=function(h){return n&&BI(n,"normal",h),new xm(!0,h)},y=function(h){return d?(ur(h),m?g(h[0],h[1],v):g(h[0],h[1])):m?g(h,v):g(h)};if(p)n=t;else{if(!(o=kI(t)))throw bht(nm(t)+" is not iterable");if((c=o)!==void 0&&(ql.Array===c||vht[ght]===c)){for(i=0,a=hp(t);a>i;i++)if((u=y(t[i]))&&up(_I,u))return u;return new xm(!1)}n=function(h,w){var E=arguments.length<2?kI(h):w;if(ba(E))return ur(ce(E,h));throw yht(nm(h)+" is not iterable")}(t,o)}for(s=n.next;!(l=ce(s,n)).done;){try{u=y(l.value)}catch(h){BI(n,"throw",h)}if(typeof u=="object"&&u&&up(_I,u))return u}return new xm(!1)},FI=Me("iterator"),TI=!1;try{var wht=0,PI={next:function(){return{done:!!wht++}},return:function(){TI=!0}};PI[FI]=function(){return this},Array.from(PI,function(){throw 2})}catch{}var bp,Kl,NI,sx,jI=function(t,e){if(!TI)return!1;var r=!1;try{var n={};n[FI]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch{}return r},Eht=ot.TypeError,Cht=Me("species"),II=xt([].slice),LI=/(?:ipad|iphone|ipod).*applewebkit/i.test(Hl),Ca=ko(ot.process)=="process",lx=ot.setImmediate,RI=ot.clearImmediate,xht=ot.process,cx=ot.Dispatch,Sht=ot.Function,MI=ot.MessageChannel,Dht=ot.String,fx=0,wp={};try{bp=ot.location}catch{}var dx=function(t){if($e(wp,t)){var e=wp[t];delete wp[t],e()}},px=function(t){return function(){dx(t)}},VI=function(t){dx(t.data)},zI=function(t){ot.postMessage(Dht(t),bp.protocol+"//"+bp.host)};lx&&RI||(lx=function(t){var e=II(arguments,1);return wp[++fx]=function(){yI(ie(t)?t:Sht(t),void 0,e)},Kl(fx),fx},RI=function(t){delete wp[t]},Ca?Kl=function(t){xht.nextTick(px(t))}:cx&&cx.now?Kl=function(t){cx.now(px(t))}:MI&&!LI?(sx=(NI=new MI).port2,NI.port1.onmessage=VI,Kl=mp(sx.postMessage,sx)):ot.addEventListener&&ie(ot.postMessage)&&!ot.importScripts&&bp&&bp.protocol!=="file:"&&!le(zI)?(Kl=zI,ot.addEventListener("message",VI,!1)):Kl="onreadystatechange"in fp("script")?function(t){H6.appendChild(fp("script")).onreadystatechange=function(){H6.removeChild(this),dx(t)}}:function(t){setTimeout(px(t),0)});var Ep,Qu,Cp,Yl,hx,gx,vx,HI,UI={set:lx},Aht=/ipad|iphone|ipod/i.test(Hl)&&ot.Pebble!==void 0,Oht=/web0s(?!.*chrome)/i.test(Hl),kht=I6.f,mx=UI.set,WI=ot.MutationObserver||ot.WebKitMutationObserver,GI=ot.document,qI=ot.process,Dm=ot.Promise,KI=kht(ot,"queueMicrotask"),YI=KI&&KI.value;YI||(Ep=function(){var t,e;for(Ca&&(t=qI.domain)&&t.exit();Qu;){e=Qu.fn,Qu=Qu.next;try{e()}catch(r){throw Qu?Yl():Cp=void 0,r}}Cp=void 0,t&&t.enter()},LI||Ca||Oht||!WI||!GI?!Aht&&Dm&&Dm.resolve?((vx=Dm.resolve(void 0)).constructor=Dm,HI=mp(vx.then,vx),Yl=function(){HI(Ep)}):Ca?Yl=function(){qI.nextTick(Ep)}:(mx=mp(mx,ot),Yl=function(){mx(Ep)}):(hx=!0,gx=GI.createTextNode(""),new WI(Ep).observe(gx,{characterData:!0}),Yl=function(){gx.data=hx=!hx}));var yx,XI,$I,ZI,JI=YI||function(t){var e={fn:t,next:void 0};Cp&&(Cp.next=e),Qu||(Qu=e,Yl()),Cp=e},Bht=function(t){var e,r;this.promise=new t(function(n,o){if(e!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");e=n,r=o}),this.resolve=ba(e),this.reject=ba(r)},bx={f:function(t){return new Bht(t)}},wx=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},_ht=typeof window=="object",QI=UI.set,Fht=Me("species"),si="Promise",tL=dn.getterFor(si),Tht=dn.set,Pht=dn.getterFor(si),ts=wm&&wm.prototype,Bo=wm,xp=ts,eL=ot.TypeError,Ex=ot.document,Cx=ot.process,Xl=bx.f,Nht=Xl,jht=!!(Ex&&Ex.createEvent&&ot.dispatchEvent),rL=ie(ot.PromiseRejectionEvent),nL=!1,Sp=dm(si,function(){var t=um(Bo),e=t!==String(Bo);if(!e&&sp===66)return!0;if(sp>=51&&/native code/.test(t))return!1;var r=new Bo(function(o){o(1)}),n=function(o){o(function(){},function(){})};return(r.constructor={})[Fht]=n,!(nL=r.then(function(){})instanceof n)||!e&&_ht&&!rL}),Iht=Sp||!jI(function(t){Bo.all(t).catch(function(){})}),oL=function(t){var e;return!(!be(t)||!ie(e=t.then))&&e},xx=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;JI(function(){for(var n=t.value,o=t.state==1,i=0;r.length>i;){var a,u,s,l=r[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(t.rejection===2&&Rht(t),t.rejection=1),c===!0?a=n:(p&&p.enter(),a=c(n),p&&(p.exit(),s=!0)),a===l.promise?d(eL("Promise-chain cycle")):(u=oL(a))?ce(u,a,f,d):f(a)):d(n)}catch(m){p&&!s&&p.exit(),d(m)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Lht(t)})}},iL=function(t,e,r){var n,o;jht?((n=Ex.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),ot.dispatchEvent(n)):n={promise:e,reason:r},!rL&&(o=ot["on"+t])?o(n):t==="unhandledrejection"&&function(i,a){var u=ot.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",r)},Lht=function(t){ce(QI,ot,function(){var e,r=t.facade,n=t.value;if(aL(t)&&(e=wx(function(){Ca?Cx.emit("unhandledRejection",n,r):iL("unhandledrejection",r,n)}),t.rejection=Ca||aL(t)?2:1,e.error))throw e.value})},aL=function(t){return t.rejection!==1&&!t.parent},Rht=function(t){ce(QI,ot,function(){var e=t.facade;Ca?Cx.emit("rejectionHandled",e):iL("rejectionhandled",e,t.value)})},$l=function(t,e,r){return function(n){t(e,n,r)}},Zl=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,xx(t,!0))},Sx=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw eL("Promise can't be resolved itself");var n=oL(e);n?JI(function(){var o={done:!1};try{ce(n,e,$l(Sx,o,t),$l(Zl,o,t))}catch(i){Zl(o,i,t)}}):(t.value=e,t.state=1,xx(t,!1))}catch(o){Zl({done:!1},o,t)}}};if(Sp&&(xp=(Bo=function(t){ux(this,xp),ba(t),ce(yx,this);var e=tL(this);try{t($l(Sx,e),$l(Zl,e))}catch(r){Zl(e,r)}}).prototype,(yx=function(t){Tht(this,{type:si,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Em(xp,{then:function(t,e){var r=Pht(this),n=r.reactions,o=Xl(function(i,a){var u,s=ur(i).constructor;return s===void 0||(u=ur(s)[Cht])==null?a:function(l){if(Y6(l))return l;throw Eht(nm(l)+" is not a constructor")}(u)}(this,Bo));return o.ok=!ie(t)||t,o.fail=ie(e)&&e,o.domain=Ca?Cx.domain:void 0,r.parent=!0,n[n.length]=o,r.state!=0&&xx(r,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),XI=function(){var t=new yx,e=tL(t);this.promise=t,this.resolve=$l(Sx,e),this.reject=$l(Zl,e)},bx.f=Xl=function(t){return t===Bo||t===$I?new XI(t):Nht(t)},ie(wm)&&ts!==Object.prototype)){ZI=ts.then,nL||(Fn(ts,"then",function(t,e){var r=this;return new Bo(function(n,o){ce(ZI,r,n,o)}).then(t,e)},{unsafe:!0}),Fn(ts,"catch",xp.catch,{unsafe:!0}));try{delete ts.constructor}catch{}Gl&&Gl(ts,xp)}function Dp(t,e,r){return r===void 0&&(r=""),Jv(this,void 0,void 0,function(){var n,o,i,a,u,s,l;return Qv(this,function(c){switch(c.label){case 0:return e?(t.restoreSelection(),n=t.getMenuConfig("insertVideo"),o=n.onInsertedVideo,i=n.checkVideo,a=n.parseVideoSrc,[4,i(e,r)]):[2];case 1:return typeof(u=c.sent())=="string"?(t.alert(u,"error"),[2]):u==null?[2]:[4,a(e)];case 2:return(s=c.sent()).trim().indexOf("<iframe ")!==0&&(s=s.replace(/</g,"<").replace(/>/g,">")),l={type:"video",src:s,poster:r,children:[{text:""}]},Promise.resolve().then(function(){I.insertNodes(t,l)}),o(l),[2]}})})}function Dx(){return DI("w-e-insert-video")}Kr({global:!0,wrap:!0,forced:Sp},{Promise:Bo}),Cm(Bo,si,!1),function(t){var e=$u("Promise"),r=ui.f;Oo&&e&&!e[OI]&&r(e,OI,{configurable:!0,get:function(){return this}})}(),$I=$u(si),Kr({target:si,stat:!0,forced:Sp},{reject:function(t){var e=Xl(this);return ce(e.reject,void 0,t),e.promise}}),Kr({target:si,stat:!0,forced:Sp},{resolve:function(t){return function(e,r){if(ur(e),be(r)&&r.constructor===e)return r;var n=bx.f(e);return(0,n.resolve)(r),n.promise}(this,t)}}),Kr({target:si,stat:!0,forced:Iht},{all:function(t){var e=this,r=Xl(e),n=r.resolve,o=r.reject,i=wx(function(){var a=ba(e.resolve),u=[],s=0,l=1;Sm(t,function(c){var f=s++,d=!1;l++,ce(a,e,c).then(function(p){d||(d=!0,u[f]=p,--l||n(u))},o)}),--l||n(u)});return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Xl(e),n=r.reject,o=wx(function(){var i=ba(e.resolve);Sm(t,function(a){ce(i,e,a).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}});var Mht=function(){function t(){this.title=rt("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=Dx(),this.posterInputId=Dx(),this.buttonId=Dx()}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||!!k.getSelectedElems(e).some(function(n){var o=k.getNodeType(n);return o==="pre"||o==="list-item"||!!e.isVoid(n)})},t.prototype.getModalPositionNode=function(e){return null},t.prototype.getModalContentElem=function(e){var r=this,n=this,o=n.srcInputId,i=n.posterInputId,a=n.buttonId,u=Xu(an(rt("videoModule.videoSrc"),o,rt("videoModule.videoSrcPlaceHolder")),2),s=u[0],l=u[1],c=Xu(an(rt("videoModule.videoPoster"),i,rt("videoModule.videoPosterPlaceHolder")),2),f=c[0],d=c[1],p=_(l),m=_(d),g=Xu(hl(a,rt("videoModule.ok")),1)[0];if(this.$content==null){var v=_("<div></div>");v.on("click","#"+a,function(h){return Jv(r,void 0,void 0,function(){var w,E;return Qv(this,function(x){switch(x.label){case 0:return h.preventDefault(),w=v.find("#"+o).val().trim(),E=v.find("#"+i).val().trim(),[4,Dp(e,w,E)];case 1:return x.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=v}var y=this.$content;return y.empty(),y.append(s),y.append(f),y.append(g),p.val(""),m.val(""),setTimeout(function(){p.focus()}),y[0]},t}(),Vht=xt([].join),zht=O6!=Object,Hht=function(t,e){var r=[].join;return!!r&&le(function(){r.call(null,",",1)})}();Kr({target:"Array",proto:!0,forced:zht||!Hht},{join:function(t){return Vht(ya(this),t===void 0?",":t)}});var es,uL,sL,Uht=!le(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),lL=L6("IE_PROTO"),Ax=ot.Object,Wht=Ax.prototype,Am=Uht?Ax.getPrototypeOf:function(t){var e=om(t);if($e(e,lL))return e[lL];var r=e.constructor;return ie(r)&&e instanceof r?r.prototype:e instanceof Ax?Wht:null},Ox=Me("iterator"),cL=!1;[].keys&&("next"in(sL=[].keys())?(uL=Am(Am(sL)))!==Object.prototype&&(es=uL):cL=!0);var Ght=es==null||le(function(){var t={};return es[Ox].call(t)!==t});Ght&&(es={}),ie(es[Ox])||Fn(es,Ox,function(){return this});var kx={IteratorPrototype:es,BUGGY_SAFARI_ITERATORS:cL},qht=kx.IteratorPrototype,Kht=function(){return this},Yht=Wl.PROPER,Xht=Wl.CONFIGURABLE,fL=kx.IteratorPrototype,Bx=kx.BUGGY_SAFARI_ITERATORS,Ap=Me("iterator"),$ht=function(){return this},dL=function(t,e,r,n,o,i,a){(function(v,y,h,w){var E=y+" Iterator";v.prototype=W6(qht,{next:rm(1,h)}),Cm(v,E,!1),ql[E]=Kht})(r,e,n);var u,s,l=function(v){if(v===o&&m)return m;if(!Bx&&v in d)return d[v];switch(v){case"keys":case"values":case"entries":return function(){return new r(this,v)}}return function(){return new r(this)}},c=e+" Iterator",f=!1,d=t.prototype,p=d[Ap]||d["@@iterator"]||o&&d[o],m=!Bx&&p||l(o),g=e=="Array"&&d.entries||p;return g&&(u=Am(g.call(new t)))!==Object.prototype&&u.next&&(Am(u)!==fL&&(Gl?Gl(u,fL):ie(u[Ap])||Fn(u,Ap,$ht)),Cm(u,c,!0)),Yht&&o=="values"&&p&&p.name!=="values"&&(Xht?Ea(d,"name","values"):(f=!0,m=function(){return ce(p,this)})),o&&(s={values:l("values"),keys:l("keys"),entries:l("entries")},a||Kr({target:e,proto:!0,forced:Bx||f},s)),d[Ap]!==m&&Fn(d,Ap,m,{name:o}),ql[e]=m,s},Zht=dn.set,Jht=dn.getterFor("Array Iterator"),Op=dL(Array,"Array",function(t,e){Zht(this,{type:"Array Iterator",target:ya(t),index:0,kind:e})},function(){var t=Jht(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");ql.Arguments=ql.Array,vp("keys"),vp("values"),vp("entries");var Qht=EI.charAt,tgt=dn.set,egt=dn.getterFor("String Iterator");dL(String,"String",function(t){tgt(this,{type:"String Iterator",string:Tn(t),index:0})},function(){var t,e=egt(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Qht(r,n),e.index+=t.length,{value:t,done:!1})});var pL=function(t,e,r){var n=N6(e);n in t?ui.f(t,n,rm(0,r)):t[n]=r},rgt=ot.Array,ngt=Math.max,hL=fm.f,gL=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ogt={f:function(t){return gL&&ko(t)=="Window"?function(e){try{return hL(e)}catch{return function(n,o,i){for(var a=hp(n),u=pp(void 0,a),s=pp(a,a),l=rgt(ngt(s-u,0)),c=0;u<s;u++,c++)pL(l,c,n[u]);return l.length=c,l}(gL)}}(t):hL(ya(t))}},vL=le(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Om=Object.isExtensible,rs=le(function(){Om(1)})||vL?function(t){return!!be(t)&&(!vL||ko(t)!="ArrayBuffer")&&(!Om||Om(t))}:Om,igt=!le(function(){return Object.isExtensible(Object.preventExtensions({}))}),_x=x6(function(t){var e=ui.f,r=!1,n=P6("meta"),o=0,i=function(u){e(u,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var u=fm.f,s=xt([].splice),l={};l[n]=1,u(l).length&&(fm.f=function(c){for(var f=u(c),d=0,p=f.length;d<p;d++)if(f[d]===n){s(f,d,1);break}return f},Kr({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:ogt.f}))},fastKey:function(u,s){if(!be(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!$e(u,n)){if(!rs(u))return"F";if(!s)return"E";i(u)}return u[n].objectID},getWeakData:function(u,s){if(!$e(u,n)){if(!rs(u))return!0;if(!s)return!1;i(u)}return u[n].weakData},onFreeze:function(u){return igt&&r&&rs(u)&&!$e(u,n)&&i(u),u}};sm[n]=!0}),km=_x.getWeakData,agt=dn.set,ugt=dn.getterFor,sgt=X6.find,lgt=X6.findIndex,cgt=xt([].splice),fgt=0,Bm=function(t){return t.frozen||(t.frozen=new mL)},mL=function(){this.entries=[]},Fx=function(t,e){return sgt(t.entries,function(r){return r[0]===e})};mL.prototype={get:function(t){var e=Fx(this,t);if(e)return e[1]},has:function(t){return!!Fx(this,t)},set:function(t,e){var r=Fx(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=lgt(this.entries,function(r){return r[0]===t});return~e&&cgt(this.entries,e,1),!!~e}};var kp,yL={getConstructor:function(t,e,r,n){var o=t(function(s,l){ux(s,i),agt(s,{type:e,id:fgt++,frozen:void 0}),l!=null&&Sm(l,s[n],{that:s,AS_ENTRIES:r})}),i=o.prototype,a=ugt(e),u=function(s,l,c){var f=a(s),d=km(ur(l),!0);return d===!0?Bm(f).set(l,c):d[f.id]=c,s};return Em(i,{delete:function(s){var l=a(this);if(!be(s))return!1;var c=km(s);return c===!0?Bm(l).delete(s):c&&$e(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!be(s))return!1;var c=km(s);return c===!0?Bm(l).has(s):c&&$e(c,l.id)}}),Em(i,r?{get:function(s){var l=a(this);if(be(s)){var c=km(s);return c===!0?Bm(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},_m=dn.enforce,dgt=!ot.ActiveXObject&&"ActiveXObject"in ot,bL=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},pgt=function(t,e,r){var n=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=n?"set":"add",a=ot[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=xt(u[v]);Fn(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!be(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!be(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!be(h))&&y(this,h===0?0:h)}:function(h,w){return y(this,h===0?0:h,w),this})};if(dm(t,!ie(a)||!(o||u.forEach&&!le(function(){new a().entries().next()}))))s=r.getConstructor(e,t,n,i),_x.enable();else if(dm(t,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=le(function(){f.has(1)}),m=jI(function(v){new a(v)}),g=!o&&le(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){ux(v,u);var h=function(w,E,x){var C,D;return Gl&&ie(C=E.constructor)&&C!==x&&be(D=C.prototype)&&D!==x.prototype&&Gl(w,D),w}(new a,v,s);return y!=null&&Sm(y,h[i],{that:h,AS_ENTRIES:n}),h})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),n&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,Kr({global:!0,forced:s!=a},l),Cm(s,t),o||r.setStrong(s,t,n),s}("WeakMap",bL,yL);if(Hj&&dgt){kp=yL.getConstructor(bL,"WeakMap",!0),_x.enable();var Bp=pgt.prototype,wL=xt(Bp.delete),Fm=xt(Bp.has),EL=xt(Bp.get),CL=xt(Bp.set);Em(Bp,{delete:function(t){if(be(t)&&!rs(t)){var e=_m(this);return e.frozen||(e.frozen=new kp),wL(this,t)||e.frozen.delete(t)}return wL(this,t)},has:function(t){if(be(t)&&!rs(t)){var e=_m(this);return e.frozen||(e.frozen=new kp),Fm(this,t)||e.frozen.has(t)}return Fm(this,t)},get:function(t){if(be(t)&&!rs(t)){var e=_m(this);return e.frozen||(e.frozen=new kp),Fm(this,t)?EL(this,t):e.frozen.get(t)}return EL(this,t)},set:function(t,e){if(be(t)&&!rs(t)){var r=_m(this);r.frozen||(r.frozen=new kp),Fm(this,t)?CL(this,t,e):r.frozen.set(t,e)}else CL(this,t,e);return this}})}var xL={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},Tx=fp("span").classList,SL=Tx&&Tx.constructor&&Tx.constructor.prototype,hgt=SL===Object.prototype?void 0:SL,Px=Me("iterator"),DL=Me("toStringTag"),Nx=Op.values,AL=function(t,e){if(t){if(t[Px]!==Nx)try{Ea(t,Px,Nx)}catch{t[Px]=Nx}if(t[DL]||Ea(t,DL,e),xL[e]){for(var r in Op)if(t[r]!==Op[r])try{Ea(t,r,Op[r])}catch{t[r]=Op[r]}}}};for(var jx in xL)AL(ot[jx]&&ot[jx].prototype,jx);AL(hgt,"DOMTokenList");var ggt=Wl.EXISTS,vgt=ui.f,OL=Function.prototype,mgt=xt(OL.toString),kL=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ygt=xt(kL.exec);Oo&&!ggt&&vgt(OL,"name",{configurable:!0,get:function(){try{return ygt(kL,mgt(this))[1]}catch{return""}}});var bgt=Me("species"),wgt=sp>=51||!le(function(){var t=[];return(t.constructor={})[bgt]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),Egt=Me("species"),Ix=ot.Array,Cgt=Math.max;function BL(t){return t.getMenuConfig("uploadVideo")}Kr({target:"Array",proto:!0,forced:!wgt},{slice:function(t,e){var r,n,o,i=ya(this),a=hp(i),u=pp(t,a),s=pp(e===void 0?a:e,a);if(mm(i)&&(r=i.constructor,(Y6(r)&&(r===Ix||mm(r.prototype))||be(r)&&(r=r[Egt])===null)&&(r=void 0),r===Ix||r===void 0))return II(i,u,s);for(n=new(r===void 0?Ix:r)(Cgt(s-u,0)),o=0;u<s;u++,o++)u in i&&pL(n,o,i[u]);return n.length=o,n}});var _L=new WeakMap;function xgt(t,e){return Jv(this,void 0,void 0,function(){var r,n,o,i;return Qv(this,function(a){switch(a.label){case 0:return r=function(u){var s=_L.get(u);if(s!=null)return s;var l=BL(u),c=l.onSuccess,f=l.onProgress,d=l.onFailed,p=l.customInsert,m=l.onError;return s=BB(Zv(Zv({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(p)return p(v,function(B,F){return Dp(u,B,F)}),void c(g,v);var y=v.errno,h=y===void 0?1:y,w=v.data,E=w===void 0?{}:w;if(h===0){var x=E.url,C=x===void 0?"":x,D=E.poster;Dp(u,C,D===void 0?"":D),c(g,v)}else d(g,v)},onError:function(g,v,y){m(g,v,y)}})),_L.set(u,s),s}(t),n=e.name,o=e.type,i=e.size,r.addFile({name:n,type:o,size:i,data:e}),[4,r.upload()];case 1:return a.sent(),[2]}})})}var Sgt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){var n=this.getMenuConfig(e),o=n.allowedFileTypes,i=o===void 0?[]:o,a=n.customBrowseAndUpload;if(a)a(function(c,f){return Dp(e,c,f)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=_("body"),l=_('<input type="file" '+u+" multiple/>");l.hide(),s.append(l),l.click(),l.on("change",function(){var c=l[0].files;(function(f,d){var p,m;Jv(this,void 0,void 0,function(){var g,v,y,h,w,E;return Qv(this,function(x){switch(x.label){case 0:if(d==null)return[2];g=Array.prototype.slice.call(d),v=BL(f).customUpload,x.label=1;case 1:x.trys.push([1,9,10,15]),y=Edt(g),x.label=2;case 2:return[4,y.next()];case 3:return(h=x.sent()).done?[3,8]:(w=h.value,v?[4,v(w,function(C,D){return Dp(f,C,D)})]:[3,5]);case 4:return x.sent(),[3,7];case 5:return[4,xgt(f,w)];case 6:x.sent(),x.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return E=x.sent(),p={error:E},[3,15];case 10:return x.trys.push([10,,13,14]),h&&!h.done&&(m=y.return)?[4,m.call(y)]:[3,12];case 11:x.sent(),x.label=12;case 12:return[3,14];case 13:if(p)throw p.error;return[7];case 14:return[7];case 15:return[2]}})})})(e,c)})}},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||!!k.getSelectedElems(e).some(function(n){var o=k.getNodeType(n);return o==="pre"||o==="list-item"||!!e.isVoid(n)})},t.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},t}(),Dgt=Wl.PROPER,Lx=RegExp.prototype,FL=Lx.toString,Agt=xt(pI),Ogt=le(function(){return FL.call({source:"a",flags:"b"})!="/a/b"}),kgt=Dgt&&FL.name!="toString";function Rx(){return DI("w-e-insert-video")}(Ogt||kgt)&&Fn(RegExp.prototype,"toString",function(){var t=ur(this),e=Tn(t.source),r=t.flags;return"/"+e+"/"+Tn(r===void 0&&up(Lx,t)&&!("flags"in Lx)?Agt(t):r)},{unsafe:!0});var Bgt=function(){function t(){this.title=rt("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Rx(),this.heightInputId=Rx(),this.buttonId=Rx()}return t.prototype.getSelectedVideoNode=function(e){return k.getSelectedNodeByType(e,"video")},t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){},t.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedVideoNode(e)==null},t.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},t.prototype.getModalContentElem=function(e){var r=this,n=r.widthInputId,o=r.heightInputId,i=r.buttonId,a=Xu(an(rt("videoModule.width"),n,"auto"),2),u=a[0],s=_(a[1]),l=Xu(an(rt("videoModule.height"),o,"auto"),2),c=l[0],f=_(l[1]),d=Xu(hl(i,rt("videoModule.ok")),1)[0];if(this.$content==null){var p=_("<div></div>");p.on("click","#"+i,function(E){E.preventDefault();var x=p.find("#"+n).val().trim(),C=p.find("#"+o).val().trim(),D=parseInt(x),B=parseInt(C),F=D?D.toString():"auto",R=B?B.toString():"auto";e.restoreSelection(),I.setNodes(e,{width:F,height:R},{match:function(G){return k.checkNodeType(G,"video")}}),e.hidePanelOrModal()}),this.$content=p}var m=this.$content;m.empty(),m.append(u),m.append(c),m.append(d);var g=this.getSelectedVideoNode(e);if(g==null)return m[0];var v=g.width,y=v===void 0?"auto":v,h=g.height,w=h===void 0?"auto":h;return s.val(y),f.val(w),setTimeout(function(){s.focus()}),m[0]},t}(),_gt={renderElems:[Spt],elemsToHtml:[Dpt],preParseHtml:[Bpt],parseElemsHtml:[Lpt],menus:[{key:"insertVideo",factory:function(){return new Mht},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},{key:"uploadVideo",factory:function(){return new Sgt},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("'"+t.name+"' upload failed",e)},onError:function(t,e,r){console.error("'"+t.name+" upload error",e,r)}}},{key:"editVideoSize",factory:function(){return new Bgt}}],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,n=t;return n.isVoid=function(o){return o.type==="video"||e(o)},n.normalizeNode=function(o){var i=Xu(o,2),a=i[0],u=i[1];return k.getNodeType(a)==="video"&&k.isLastNode(n,a)&&I.insertNodes(n,k.genEmptyParagraph(),{at:[u[0]+1]}),r([a,u])},n}};Ur("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Ur("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var TL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mx(t){var e={exports:{}};return t(e,e.exports),e.exports}var xa,Tm,Pm=function(t){return t&&t.Math==Math&&t},nt=Pm(typeof globalThis=="object"&&globalThis)||Pm(typeof window=="object"&&window)||Pm(typeof self=="object"&&self)||Pm(typeof TL=="object"&&TL)||function(){return this}()||Function("return this")(),he=function(t){try{return!!t()}catch{return!0}},_o=!he(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),_p=Function.prototype.call,te=_p.bind?_p.bind(_p):function(){return _p.apply(_p,arguments)},PL={}.propertyIsEnumerable,NL=Object.getOwnPropertyDescriptor,Fgt={f:NL&&!PL.call({1:2},1)?function(t){var e=NL(this,t);return!!e&&e.enumerable}:PL},Nm=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},jL=Function.prototype,Vx=jL.bind,zx=jL.call,Tgt=Vx&&Vx.bind(zx),Pt=Vx?function(t){return t&&Tgt(zx,t)}:function(t){return t&&function(){return zx.apply(t,arguments)}},Pgt=Pt({}.toString),Ngt=Pt("".slice),Zn=function(t){return Ngt(Pgt(t),8,-1)},Hx=nt.Object,jgt=Pt("".split),Ux=he(function(){return!Hx("z").propertyIsEnumerable(0)})?function(t){return Zn(t)=="String"?jgt(t,""):Hx(t)}:Hx,Igt=nt.TypeError,Fp=function(t){if(t==null)throw Igt("Can't call method on "+t);return t},Sa=function(t){return Ux(Fp(t))},se=function(t){return typeof t=="function"},ge=function(t){return typeof t=="object"?t!==null:se(t)},Lgt=function(t){return se(t)?t:void 0},ns=function(t,e){return arguments.length<2?Lgt(nt[t]):nt[t]&&nt[t][e]},Tp=Pt({}.isPrototypeOf),Jl=ns("navigator","userAgent")||"",IL=nt.process,LL=nt.Deno,RL=IL&&IL.versions||LL&&LL.version,ML=RL&&RL.v8;ML&&(Tm=(xa=ML.split("."))[0]>0&&xa[0]<4?1:+(xa[0]+xa[1])),!Tm&&Jl&&(!(xa=Jl.match(/Edge\/(\d+)/))||xa[1]>=74)&&(xa=Jl.match(/Chrome\/(\d+)/))&&(Tm=+xa[1]);var Pp=Tm,Wx=!!Object.getOwnPropertySymbols&&!he(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Pp&&Pp<41}),Gx=Wx&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Rgt=nt.Object,qx=Gx?function(t){return typeof t=="symbol"}:function(t){var e=ns("Symbol");return se(e)&&Tp(e.prototype,Rgt(t))},Mgt=nt.String,jm=function(t){try{return Mgt(t)}catch{return"Object"}},Vgt=nt.TypeError,Da=function(t){if(se(t))return t;throw Vgt(jm(t)+" is not a function")},Np=function(t,e){var r=t[e];return r==null?void 0:Da(r)},zgt=nt.TypeError,Hgt=Object.defineProperty,Kx=function(t,e){try{Hgt(nt,t,{value:e,configurable:!0,writable:!0})}catch{nt[t]=e}return e},Aa=nt["__core-js_shared__"]||Kx("__core-js_shared__",{}),Yx=Mx(function(t){(t.exports=function(e,r){return Aa[e]||(Aa[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Ugt=nt.Object,Xx=function(t){return Ugt(Fp(t))},Wgt=Pt({}.hasOwnProperty),Ze=Object.hasOwn||function(t,e){return Wgt(Xx(t),e)},Ggt=0,qgt=Math.random(),Kgt=Pt(1 .toString),$x=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Kgt(++Ggt+qgt,36)},jp=Yx("wks"),os=nt.Symbol,VL=os&&os.for,Ygt=Gx?os:os&&os.withoutSetter||$x,Ve=function(t){if(!Ze(jp,t)||!Wx&&typeof jp[t]!="string"){var e="Symbol."+t;Wx&&Ze(os,t)?jp[t]=os[t]:jp[t]=Gx&&VL?VL(e):Ygt(e)}return jp[t]},Xgt=nt.TypeError,$gt=Ve("toPrimitive"),Zx=function(t){var e=function(r,n){if(!ge(r)||qx(r))return r;var o,i=Np(r,$gt);if(i){if(o=te(i,r,n),!ge(o)||qx(o))return o;throw Xgt("Can't convert object to primitive value")}return function(a,u){var s,l;if(se(s=a.toString)&&!ge(l=te(s,a))||se(s=a.valueOf)&&!ge(l=te(s,a)))return l;throw zgt("Can't convert object to primitive value")}(r)}(t,"string");return qx(e)?e:e+""},Jx=nt.document,Zgt=ge(Jx)&&ge(Jx.createElement),Ip=function(t){return Zgt?Jx.createElement(t):{}},zL=!_o&&!he(function(){return Object.defineProperty(Ip("div"),"a",{get:function(){return 7}}).a!=7}),HL=Object.getOwnPropertyDescriptor,Qx={f:_o?HL:function(t,e){if(t=Sa(t),e=Zx(e),zL)try{return HL(t,e)}catch{}if(Ze(t,e))return Nm(!te(Fgt.f,t,e),t[e])}},Jgt=nt.String,Qgt=nt.TypeError,sr=function(t){if(ge(t))return t;throw Qgt(Jgt(t)+" is not an object")},t0t=nt.TypeError,UL=Object.defineProperty,li={f:_o?UL:function(t,e,r){if(sr(t),e=Zx(e),sr(r),zL)try{return UL(t,e,r)}catch{}if("get"in r||"set"in r)throw t0t("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Fo=_o?function(t,e,r){return li.f(t,e,Nm(1,r))}:function(t,e,r){return t[e]=r,t},e0t=Pt(Function.toString);se(Aa.inspectSource)||(Aa.inspectSource=function(t){return e0t(t)});var Im,Lp,Lm,Rm=Aa.inspectSource,WL=nt.WeakMap,GL=se(WL)&&/native code/.test(Rm(WL)),qL=Yx("keys"),t5=function(t){return qL[t]||(qL[t]=$x(t))},Mm={},e5=nt.TypeError,r0t=nt.WeakMap;if(GL||Aa.state){var is=Aa.state||(Aa.state=new r0t),n0t=Pt(is.get),KL=Pt(is.has),o0t=Pt(is.set);Im=function(t,e){if(KL(is,t))throw new e5("Object already initialized");return e.facade=t,o0t(is,t,e),e},Lp=function(t){return n0t(is,t)||{}},Lm=function(t){return KL(is,t)}}else{var Ql=t5("state");Mm[Ql]=!0,Im=function(t,e){if(Ze(t,Ql))throw new e5("Object already initialized");return e.facade=t,Fo(t,Ql,e),e},Lp=function(t){return Ze(t,Ql)?t[Ql]:{}},Lm=function(t){return Ze(t,Ql)}}var pn={set:Im,get:Lp,has:Lm,enforce:function(t){return Lm(t)?Lp(t):Im(t,{})},getterFor:function(t){return function(e){var r;if(!ge(e)||(r=Lp(e)).type!==t)throw e5("Incompatible receiver, "+t+" required");return r}}},YL=Function.prototype,i0t=_o&&Object.getOwnPropertyDescriptor,r5=Ze(YL,"name"),Rp={EXISTS:r5,PROPER:r5&&(function(){}).name==="something",CONFIGURABLE:r5&&(!_o||_o&&i0t(YL,"name").configurable)},Pn=Mx(function(t){var e=Rp.CONFIGURABLE,r=pn.get,n=pn.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;se(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ze(u,"name")||e&&u.name!==p)&&Fo(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==nt?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Fo(i,a,u)):f?i[a]=u:Kx(a,u)})(Function.prototype,"toString",function(){return se(this)&&r(this).source||Rm(this)})}),a0t=Math.ceil,u0t=Math.floor,n5=function(t){var e=+t;return e!=e||e===0?0:(e>0?u0t:a0t)(e)},s0t=Math.max,l0t=Math.min,Mp=function(t,e){var r=n5(t);return r<0?s0t(r+e,0):l0t(r,e)},c0t=Math.min,XL=function(t){return t>0?c0t(n5(t),9007199254740991):0},Vp=function(t){return XL(t.length)},f0t=function(t){return function(e,r,n){var o,i=Sa(e),a=Vp(i),u=Mp(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},d0t=f0t(!1),$L=Pt([].push),ZL=function(t,e){var r,n=Sa(t),o=0,i=[];for(r in n)!Ze(Mm,r)&&Ze(n,r)&&$L(i,r);for(;e.length>o;)Ze(n,r=e[o++])&&(~d0t(i,r)||$L(i,r));return i},Vm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],p0t=Vm.concat("length","prototype"),zm={f:Object.getOwnPropertyNames||function(t){return ZL(t,p0t)}},h0t={f:Object.getOwnPropertySymbols},g0t=Pt([].concat),v0t=ns("Reflect","ownKeys")||function(t){var e=zm.f(sr(t)),r=h0t.f;return r?g0t(e,r(t)):e},m0t=function(t,e){for(var r=v0t(e),n=li.f,o=Qx.f,i=0;i<r.length;i++){var a=r[i];Ze(t,a)||n(t,a,o(e,a))}},y0t=/#|\.prototype\./,zp=function(t,e){var r=w0t[b0t(t)];return r==C0t||r!=E0t&&(se(e)?he(e):!!e)},b0t=zp.normalize=function(t){return String(t).replace(y0t,".").toLowerCase()},w0t=zp.data={},E0t=zp.NATIVE="N",C0t=zp.POLYFILL="P",Hm=zp,x0t=Qx.f,To=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?nt:l?nt[u]||Kx(u,{}):(nt[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=x0t(r,n))&&a.value:r[n],!Hm(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;m0t(i,o)}(t.sham||o&&o.sham)&&Fo(i,"sham",!0),Pn(r,n,i,t)}},Um=Array.isArray||function(t){return Zn(t)=="Array"},JL={};JL[Ve("toStringTag")]="z";var o5=String(JL)==="[object z]",S0t=Ve("toStringTag"),D0t=nt.Object,A0t=Zn(function(){return arguments}())=="Arguments",Wm=o5?Zn:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=D0t(t),S0t))=="string"?r:A0t?Zn(e):(n=Zn(e))=="Object"&&se(e.callee)?"Arguments":n},QL=function(){},O0t=[],tR=ns("Reflect","construct"),i5=/^\s*(?:class|function)\b/,k0t=Pt(i5.exec),B0t=!i5.exec(QL),Hp=function(t){if(!se(t))return!1;try{return tR(QL,O0t,t),!0}catch{return!1}},a5=!tR||he(function(){var t;return Hp(Hp.call)||!Hp(Object)||!Hp(function(){t=!0})||t})?function(t){if(!se(t))return!1;switch(Wm(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return B0t||!!k0t(i5,Rm(t))}:Hp,eR=function(t,e,r){var n=Zx(e);n in t?li.f(t,n,Nm(0,r)):t[n]=r},_0t=Ve("species"),rR=Pt([].slice),F0t=Pp>=51||!he(function(){var t=[];return(t.constructor={})[_0t]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),T0t=Ve("species"),u5=nt.Array,P0t=Math.max;To({target:"Array",proto:!0,forced:!F0t},{slice:function(t,e){var r,n,o,i=Sa(this),a=Vp(i),u=Mp(t,a),s=Mp(e===void 0?a:e,a);if(Um(i)&&(r=i.constructor,(a5(r)&&(r===u5||Um(r.prototype))||ge(r)&&(r=r[T0t])===null)&&(r=void 0),r===u5||r===void 0))return rR(i,u,s);for(n=new(r===void 0?u5:r)(P0t(s-u,0)),o=0;u<s;u++,o++)u in i&&eR(n,o,i[u]);return n.length=o,n}});var N0t=o5?{}.toString:function(){return"[object "+Wm(this)+"]"};o5||Pn(Object.prototype,"toString",N0t,{unsafe:!0});var Gm,j0t=nt.String,Oa=function(t){if(Wm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return j0t(t)},nR=function(){var t=sr(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},s5=nt.RegExp,l5=he(function(){var t=s5("a","y");return t.lastIndex=2,t.exec("abcd")!=null});l5||he(function(){return!s5("a","y").sticky});var oR={BROKEN_CARET:l5||he(function(){var t=s5("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),UNSUPPORTED_Y:l5},I0t=Object.keys||function(t){return ZL(t,Vm)},L0t=_o?Object.defineProperties:function(t,e){sr(t);for(var r,n=Sa(e),o=I0t(e),i=o.length,a=0;i>a;)li.f(t,r=o[a++],n[r]);return t},c5=ns("document","documentElement"),iR=t5("IE_PROTO"),f5=function(){},aR=function(t){return"<script>"+t+"<\/script>"},uR=function(t){t.write(aR("")),t.close();var e=t.parentWindow.Object;return t=null,e},qm=function(){try{Gm=new ActiveXObject("htmlfile")}catch{}var t,e;qm=typeof document<"u"?document.domain&&Gm?uR(Gm):((e=Ip("iframe")).style.display="none",c5.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(aR("document.F=Object")),t.close(),t.F):uR(Gm);for(var r=Vm.length;r--;)delete qm.prototype[Vm[r]];return qm()};Mm[iR]=!0;var sR,d5,p5=Object.create||function(t,e){var r;return t!==null?(f5.prototype=sr(t),r=new f5,f5.prototype=null,r[iR]=t):r=qm(),e===void 0?r:L0t(r,e)},R0t=nt.RegExp,M0t=he(function(){var t=R0t(".","s");return!(t.dotAll&&t.exec(`
|
|
145
|
+
</div>`}},Apt=Object.keys||function(t){return $j(t,cm)},Opt=Oo?Object.defineProperties:function(t,e){ur(t);for(var r,n=ya(e),o=Apt(e),i=o.length,a=0;i>a;)ui.f(t,r=o[a++],n[r]);return t},H3=$u("document","documentElement"),eI=L3("IE_PROTO"),U3=function(){},rI=function(t){return"<script>"+t+"<\/script>"},nI=function(t){t.write(rI("")),t.close();var e=t.parentWindow.Object;return t=null,e},vm=function(){try{gm=new ActiveXObject("htmlfile")}catch{}var t,e;vm=typeof document<"u"?document.domain&&gm?nI(gm):((e=fp("iframe")).style.display="none",H3.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(rI("document.F=Object")),t.close(),t.F):nI(gm);for(var r=cm.length;r--;)delete vm.prototype[cm[r]];return vm()};sm[eI]=!0;var W3=Object.create||function(t,e){var r;return t!==null?(U3.prototype=ur(t),r=new U3,U3.prototype=null,r[eI]=t):r=vm(),e===void 0?r:Opt(r,e)},G3=Me("unscopables"),q3=Array.prototype;q3[G3]==null&&ui.f(q3,G3,{configurable:!0,value:W3(null)});var vp=function(t){q3[G3][t]=!0},kpt=Yj.includes;Kr({target:"Array",proto:!0},{includes:function(t){return kpt(this,t,arguments.length>1?arguments[1]:void 0)}}),vp("includes");var Bpt={selector:"iframe,video,p",preParseHtml:function(t){var e=_(t),r=e;if(Qj(e)==="p"){var n=e.children();if(n.length===1){var o=n[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(r=_(o))}}var a=Qj(r);if(a!=="iframe"&&a!=="video"||r.parent().attr("data-w-e-type")==="video")return r[0];var u=_('<div data-w-e-type="video" data-w-e-is-void></div>');return u.append(r),u[0]}},oI=xt(xt.bind),mp=function(t,e){return ba(t),e===void 0?t:oI?oI(t,e):function(){return t.apply(e,arguments)}},mm=Array.isArray||function(t){return ko(t)=="Array"},iI=function(){},_pt=[],aI=$u("Reflect","construct"),K3=/^\s*(?:class|function)\b/,Fpt=xt(K3.exec),Tpt=!K3.exec(iI),yp=function(t){if(!ie(t))return!1;try{return aI(iI,_pt,t),!0}catch{return!1}},Y3=!aI||le(function(){var t;return yp(yp.call)||!yp(Object)||!yp(function(){t=!0})||t})?function(t){if(!ie(t))return!1;switch(pm(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Tpt||!!Fpt(K3,um(t))}:yp,Ppt=Me("species"),uI=ot.Array,Npt=function(t,e){return new(function(r){var n;return mm(r)&&(n=r.constructor,(Y3(n)&&(n===uI||mm(n.prototype))||be(n)&&(n=n[Ppt])===null)&&(n=void 0)),n===void 0?uI:n}(t))(e===0?0:e)},sI=xt([].push),lI=function(t){var e=t==1,r=t==2,n=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var d,p,m=om(s),g=O3(m),v=mp(l,c),y=hp(g),h=0,w=f||Npt,E=e?w(s,y):r||a?w(s,0):void 0;y>h;h++)if((u||h in g)&&(p=v(d=g[h],h,m),t))if(e)E[h]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return h;case 2:sI(E,d)}else switch(t){case 4:return!1;case 7:sI(E,d)}return i?-1:n||o?o:E}},X3={find:lI(5),findIndex:lI(6)},jpt=X3.find,cI=!0;"find"in[]&&Array(1).find(function(){cI=!1}),Kr({target:"Array",proto:!0,forced:cI},{find:function(t){return jpt(this,t,arguments.length>1?arguments[1]:void 0)}}),vp("find");var Ipt=V3?{}.toString:function(){return"[object "+pm(this)+"]"};function fI(t,e,r,n){return e===void 0&&(e=""),r===void 0&&(r="auto"),n===void 0&&(n="auto"),{type:"video",src:t,poster:e,width:r,height:n,children:[{text:""}]}}V3||Fn(Object.prototype,"toString",Ipt,{unsafe:!0});var dI,$3,Lpt={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,r){var n=_(t),o="",i="",a="auto",u="auto",s=n.find("iframe");if(s.length>0)return a=s.attr("width")||"auto",u=s.attr("height")||"auto",fI(o=s[0].outerHTML,i,a,u);var l=n.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),a=l.attr("width")||"auto",u=l.attr("height")||"auto",fI(o,i=l.attr("poster")||"",a,u)}},pI=function(){var t=ur(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Z3=ot.RegExp,hI=le(function(){var t=Z3("a","y");return t.lastIndex=2,t.exec("abcd")!=null});hI||le(function(){return!Z3("a","y").sticky});var Rpt={BROKEN_CARET:hI||le(function(){var t=Z3("^r","gy");return t.lastIndex=2,t.exec("str")!=null})},Mpt=ot.RegExp,Vpt=le(function(){var t=Mpt(".","s");return!(t.dotAll&&t.exec(`
|
|
146
|
+
`)&&t.flags==="s")}),zpt=ot.RegExp,Hpt=le(function(){var t=zpt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Upt=dn.get,Wpt=T3("native-string-replace",String.prototype.replace),ym=RegExp.prototype.exec,J3=ym,Gpt=xt("".charAt),qpt=xt("".indexOf),Kpt=xt("".replace),Q3=xt("".slice),tx=($3=/b*/g,ce(ym,dI=/a/,"a"),ce(ym,$3,"a"),dI.lastIndex!==0||$3.lastIndex!==0),gI=Rpt.BROKEN_CARET,ex=/()??/.exec("")[1]!==void 0;(tx||ex||gI||Vpt||Hpt)&&(J3=function(t){var e,r,n,o,i,a,u,s=this,l=Upt(s),c=Tn(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=ce(J3,f,c),s.lastIndex=f.lastIndex,e;var d=l.groups,p=gI&&s.sticky,m=ce(pI,s),g=s.source,v=0,y=c;if(p&&(m=Kpt(m,"y",""),qpt(m,"g")===-1&&(m+="g"),y=Q3(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Gpt(c,s.lastIndex-1)!==`
|
|
147
|
+
`)&&(g="(?: "+g+")",y=" "+y,v++),r=new RegExp("^(?:"+g+")",m)),ex&&(r=new RegExp("^"+g+"$(?!\\s)",m)),tx&&(n=s.lastIndex),o=ce(ym,p?r:s,y),p?o?(o.input=Q3(o.input,v),o[0]=Q3(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:tx&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),ex&&o&&o.length>1&&ce(Wpt,o[0],r,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&d)for(o.groups=a=W3(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var bm=J3;Kr({target:"RegExp",proto:!0,forced:/./.exec!==bm},{exec:bm});var rx=Function.prototype,vI=rx.apply,Ypt=rx.bind,mI=rx.call,yI=typeof Reflect=="object"&&Reflect.apply||(Ypt?mI.bind(vI):function(){return mI.apply(vI,arguments)}),bI=(Me("species"),RegExp.prototype),Xpt=xt("".charAt),wI=xt("".charCodeAt),$pt=xt("".slice),Zpt=function(t){return function(e,r){var n,o,i=Tn(ap(e)),a=lm(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=wI(i,a))<55296||n>56319||a+1===u||(o=wI(i,a+1))<56320||o>57343?t?Xpt(i,a):n:t?$pt(i,a,a+2):o-56320+(n-55296<<10)+65536}},EI={charAt:Zpt(!0)},Jpt=EI.charAt,Qpt=function(t,e,r){return e+(r?Jpt(t,e).length:1)},tht=Math.floor,nx=xt("".charAt),eht=xt("".replace),ox=xt("".slice),rht=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,nht=/\$([$&'`]|\d{1,2})/g,oht=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,s=nht;return o!==void 0&&(o=om(o),s=rht),eht(i,s,function(l,c){var f;switch(nx(c,0)){case"$":return"$";case"&":return t;case"`":return ox(e,0,r);case"'":return ox(e,a);case"<":f=o[ox(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>u){var p=tht(d/10);return p===0?l:p<=u?n[p-1]===void 0?nx(c,1):n[p-1]+nx(c,1):l}f=n[d-1]}return f===void 0?"":f})},iht=ot.TypeError,aht=function(t,e){var r=t.exec;if(ie(r)){var n=ce(r,t,e);return n!==null&&ur(n),n}if(ko(t)==="RegExp")return ce(bm,t,e);throw iht("RegExp#exec called on incompatible receiver")},ix=Me("replace"),uht=Math.max,sht=Math.min,lht=xt([].concat),ax=xt([].push),CI=xt("".indexOf),xI=xt("".slice),cht="a".replace(/./,"$0")==="$0",SI=!!/./[ix]&&/./[ix]("a","$0")==="";function DI(t){return t+"-"+m7()}(function(t,e,r,n){var o=Me(t),i=!le(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!le(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||r){var u=xt(/./[o]),s=function(l,c,f){var d=SI?"$":"$0";return[function(p,m){var g=ap(this),v=p==null?void 0:lp(p,ix);return v?ce(v,p,g,m):ce(c,Tn(g),p,m)},function(p,m){var g=ur(this),v=Tn(p);if(typeof m=="string"&&CI(m,d)===-1&&CI(m,"$<")===-1){var y=f(c,g,v,m);if(y.done)return y.value}var h=ie(m);h||(m=Tn(m));var w=g.global;if(w){var E=g.unicode;g.lastIndex=0}for(var x=[];;){var C=aht(g,v);if(C===null||(ax(x,C),!w))break;Tn(C[0])===""&&(g.lastIndex=Qpt(v,qj(g.lastIndex),E))}for(var D,B="",F=0,R=0;R<x.length;R++){for(var G=Tn((C=x[R])[0]),M=uht(sht(lm(C.index),v.length),0),W=[],q=1;q<C.length;q++)ax(W,(D=C[q])===void 0?D:String(D));var K=C.groups;if(h){var X=lht([G],W,M,v);K!==void 0&&ax(X,K);var Q=Tn(yI(m,void 0,X))}else Q=oht(G,v,M,W,K,m);M>=F&&(B+=xI(v,F,M)+Q,F=M+G.length)}return B+xI(v,F)}]}(0,""[t],function(l,c,f,d,p){var m=xt(l),g=c.exec;return g===bm||g===bI.exec?i&&!p?{done:!0,value:u(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Fn(String.prototype,t,s[0]),Fn(bI,o,s[1])}})("replace",0,!!le(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!cht||SI);var wm=ot.Promise,Em=function(t,e,r){for(var n in e)Fn(t,n,e[n],r);return t},fht=ot.String,dht=ot.TypeError,Gl=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=xt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch{}return function(n,o){return ur(n),function(i){if(typeof i=="object"||ie(i))return i;throw dht("Can't set "+fht(i)+" as a prototype")}(o),e?t(n,o):n.__proto__=o,n}}():void 0),pht=ui.f,AI=Me("toStringTag"),Cm=function(t,e,r){t&&!$e(t=r?t:t.prototype,AI)&&pht(t,AI,{configurable:!0,value:e})},OI=Me("species"),hht=ot.TypeError,ux=function(t,e){if(up(e,t))return t;throw hht("Incorrect invocation")},ql={},ght=Me("iterator"),vht=Array.prototype,mht=Me("iterator"),kI=function(t){if(t!=null)return lp(t,mht)||lp(t,"@@iterator")||ql[pm(t)]},yht=ot.TypeError,BI=function(t,e,r){var n,o;ur(t);try{if(!(n=lp(t,"return"))){if(e==="throw")throw r;return r}n=ce(n,t)}catch(i){o=!0,n=i}if(e==="throw")throw r;if(o)throw n;return ur(n),r},bht=ot.TypeError,xm=function(t,e){this.stopped=t,this.result=e},_I=xm.prototype,Sm=function(t,e,r){var n,o,i,a,u,s,l,c,f=r&&r.that,d=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_ITERATOR),m=!(!r||!r.INTERRUPTED),g=mp(e,f),v=function(h){return n&&BI(n,"normal",h),new xm(!0,h)},y=function(h){return d?(ur(h),m?g(h[0],h[1],v):g(h[0],h[1])):m?g(h,v):g(h)};if(p)n=t;else{if(!(o=kI(t)))throw bht(nm(t)+" is not iterable");if((c=o)!==void 0&&(ql.Array===c||vht[ght]===c)){for(i=0,a=hp(t);a>i;i++)if((u=y(t[i]))&&up(_I,u))return u;return new xm(!1)}n=function(h,w){var E=arguments.length<2?kI(h):w;if(ba(E))return ur(ce(E,h));throw yht(nm(h)+" is not iterable")}(t,o)}for(s=n.next;!(l=ce(s,n)).done;){try{u=y(l.value)}catch(h){BI(n,"throw",h)}if(typeof u=="object"&&u&&up(_I,u))return u}return new xm(!1)},FI=Me("iterator"),TI=!1;try{var wht=0,PI={next:function(){return{done:!!wht++}},return:function(){TI=!0}};PI[FI]=function(){return this},Array.from(PI,function(){throw 2})}catch{}var bp,Kl,NI,sx,jI=function(t,e){if(!TI)return!1;var r=!1;try{var n={};n[FI]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch{}return r},Eht=ot.TypeError,Cht=Me("species"),II=xt([].slice),LI=/(?:ipad|iphone|ipod).*applewebkit/i.test(Hl),Ca=ko(ot.process)=="process",lx=ot.setImmediate,RI=ot.clearImmediate,xht=ot.process,cx=ot.Dispatch,Sht=ot.Function,MI=ot.MessageChannel,Dht=ot.String,fx=0,wp={};try{bp=ot.location}catch{}var dx=function(t){if($e(wp,t)){var e=wp[t];delete wp[t],e()}},px=function(t){return function(){dx(t)}},VI=function(t){dx(t.data)},zI=function(t){ot.postMessage(Dht(t),bp.protocol+"//"+bp.host)};lx&&RI||(lx=function(t){var e=II(arguments,1);return wp[++fx]=function(){yI(ie(t)?t:Sht(t),void 0,e)},Kl(fx),fx},RI=function(t){delete wp[t]},Ca?Kl=function(t){xht.nextTick(px(t))}:cx&&cx.now?Kl=function(t){cx.now(px(t))}:MI&&!LI?(sx=(NI=new MI).port2,NI.port1.onmessage=VI,Kl=mp(sx.postMessage,sx)):ot.addEventListener&&ie(ot.postMessage)&&!ot.importScripts&&bp&&bp.protocol!=="file:"&&!le(zI)?(Kl=zI,ot.addEventListener("message",VI,!1)):Kl="onreadystatechange"in fp("script")?function(t){H3.appendChild(fp("script")).onreadystatechange=function(){H3.removeChild(this),dx(t)}}:function(t){setTimeout(px(t),0)});var Ep,Qu,Cp,Yl,hx,gx,vx,HI,UI={set:lx},Aht=/ipad|iphone|ipod/i.test(Hl)&&ot.Pebble!==void 0,Oht=/web0s(?!.*chrome)/i.test(Hl),kht=I3.f,mx=UI.set,WI=ot.MutationObserver||ot.WebKitMutationObserver,GI=ot.document,qI=ot.process,Dm=ot.Promise,KI=kht(ot,"queueMicrotask"),YI=KI&&KI.value;YI||(Ep=function(){var t,e;for(Ca&&(t=qI.domain)&&t.exit();Qu;){e=Qu.fn,Qu=Qu.next;try{e()}catch(r){throw Qu?Yl():Cp=void 0,r}}Cp=void 0,t&&t.enter()},LI||Ca||Oht||!WI||!GI?!Aht&&Dm&&Dm.resolve?((vx=Dm.resolve(void 0)).constructor=Dm,HI=mp(vx.then,vx),Yl=function(){HI(Ep)}):Ca?Yl=function(){qI.nextTick(Ep)}:(mx=mp(mx,ot),Yl=function(){mx(Ep)}):(hx=!0,gx=GI.createTextNode(""),new WI(Ep).observe(gx,{characterData:!0}),Yl=function(){gx.data=hx=!hx}));var yx,XI,$I,ZI,JI=YI||function(t){var e={fn:t,next:void 0};Cp&&(Cp.next=e),Qu||(Qu=e,Yl()),Cp=e},Bht=function(t){var e,r;this.promise=new t(function(n,o){if(e!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");e=n,r=o}),this.resolve=ba(e),this.reject=ba(r)},bx={f:function(t){return new Bht(t)}},wx=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},_ht=typeof window=="object",QI=UI.set,Fht=Me("species"),si="Promise",tL=dn.getterFor(si),Tht=dn.set,Pht=dn.getterFor(si),ts=wm&&wm.prototype,Bo=wm,xp=ts,eL=ot.TypeError,Ex=ot.document,Cx=ot.process,Xl=bx.f,Nht=Xl,jht=!!(Ex&&Ex.createEvent&&ot.dispatchEvent),rL=ie(ot.PromiseRejectionEvent),nL=!1,Sp=dm(si,function(){var t=um(Bo),e=t!==String(Bo);if(!e&&sp===66)return!0;if(sp>=51&&/native code/.test(t))return!1;var r=new Bo(function(o){o(1)}),n=function(o){o(function(){},function(){})};return(r.constructor={})[Fht]=n,!(nL=r.then(function(){})instanceof n)||!e&&_ht&&!rL}),Iht=Sp||!jI(function(t){Bo.all(t).catch(function(){})}),oL=function(t){var e;return!(!be(t)||!ie(e=t.then))&&e},xx=function(t,e){if(!t.notified){t.notified=!0;var r=t.reactions;JI(function(){for(var n=t.value,o=t.state==1,i=0;r.length>i;){var a,u,s,l=r[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(t.rejection===2&&Rht(t),t.rejection=1),c===!0?a=n:(p&&p.enter(),a=c(n),p&&(p.exit(),s=!0)),a===l.promise?d(eL("Promise-chain cycle")):(u=oL(a))?ce(u,a,f,d):f(a)):d(n)}catch(m){p&&!s&&p.exit(),d(m)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Lht(t)})}},iL=function(t,e,r){var n,o;jht?((n=Ex.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),ot.dispatchEvent(n)):n={promise:e,reason:r},!rL&&(o=ot["on"+t])?o(n):t==="unhandledrejection"&&function(i,a){var u=ot.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",r)},Lht=function(t){ce(QI,ot,function(){var e,r=t.facade,n=t.value;if(aL(t)&&(e=wx(function(){Ca?Cx.emit("unhandledRejection",n,r):iL("unhandledrejection",r,n)}),t.rejection=Ca||aL(t)?2:1,e.error))throw e.value})},aL=function(t){return t.rejection!==1&&!t.parent},Rht=function(t){ce(QI,ot,function(){var e=t.facade;Ca?Cx.emit("rejectionHandled",e):iL("rejectionhandled",e,t.value)})},$l=function(t,e,r){return function(n){t(e,n,r)}},Zl=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,xx(t,!0))},Sx=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw eL("Promise can't be resolved itself");var n=oL(e);n?JI(function(){var o={done:!1};try{ce(n,e,$l(Sx,o,t),$l(Zl,o,t))}catch(i){Zl(o,i,t)}}):(t.value=e,t.state=1,xx(t,!1))}catch(o){Zl({done:!1},o,t)}}};if(Sp&&(xp=(Bo=function(t){ux(this,xp),ba(t),ce(yx,this);var e=tL(this);try{t($l(Sx,e),$l(Zl,e))}catch(r){Zl(e,r)}}).prototype,(yx=function(t){Tht(this,{type:si,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Em(xp,{then:function(t,e){var r=Pht(this),n=r.reactions,o=Xl(function(i,a){var u,s=ur(i).constructor;return s===void 0||(u=ur(s)[Cht])==null?a:function(l){if(Y3(l))return l;throw Eht(nm(l)+" is not a constructor")}(u)}(this,Bo));return o.ok=!ie(t)||t,o.fail=ie(e)&&e,o.domain=Ca?Cx.domain:void 0,r.parent=!0,n[n.length]=o,r.state!=0&&xx(r,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),XI=function(){var t=new yx,e=tL(t);this.promise=t,this.resolve=$l(Sx,e),this.reject=$l(Zl,e)},bx.f=Xl=function(t){return t===Bo||t===$I?new XI(t):Nht(t)},ie(wm)&&ts!==Object.prototype)){ZI=ts.then,nL||(Fn(ts,"then",function(t,e){var r=this;return new Bo(function(n,o){ce(ZI,r,n,o)}).then(t,e)},{unsafe:!0}),Fn(ts,"catch",xp.catch,{unsafe:!0}));try{delete ts.constructor}catch{}Gl&&Gl(ts,xp)}function Dp(t,e,r){return r===void 0&&(r=""),Jv(this,void 0,void 0,function(){var n,o,i,a,u,s,l;return Qv(this,function(c){switch(c.label){case 0:return e?(t.restoreSelection(),n=t.getMenuConfig("insertVideo"),o=n.onInsertedVideo,i=n.checkVideo,a=n.parseVideoSrc,[4,i(e,r)]):[2];case 1:return typeof(u=c.sent())=="string"?(t.alert(u,"error"),[2]):u==null?[2]:[4,a(e)];case 2:return(s=c.sent()).trim().indexOf("<iframe ")!==0&&(s=s.replace(/</g,"<").replace(/>/g,">")),l={type:"video",src:s,poster:r,children:[{text:""}]},Promise.resolve().then(function(){I.insertNodes(t,l)}),o(l),[2]}})})}function Dx(){return DI("w-e-insert-video")}Kr({global:!0,wrap:!0,forced:Sp},{Promise:Bo}),Cm(Bo,si,!1),function(t){var e=$u("Promise"),r=ui.f;Oo&&e&&!e[OI]&&r(e,OI,{configurable:!0,get:function(){return this}})}(),$I=$u(si),Kr({target:si,stat:!0,forced:Sp},{reject:function(t){var e=Xl(this);return ce(e.reject,void 0,t),e.promise}}),Kr({target:si,stat:!0,forced:Sp},{resolve:function(t){return function(e,r){if(ur(e),be(r)&&r.constructor===e)return r;var n=bx.f(e);return(0,n.resolve)(r),n.promise}(this,t)}}),Kr({target:si,stat:!0,forced:Iht},{all:function(t){var e=this,r=Xl(e),n=r.resolve,o=r.reject,i=wx(function(){var a=ba(e.resolve),u=[],s=0,l=1;Sm(t,function(c){var f=s++,d=!1;l++,ce(a,e,c).then(function(p){d||(d=!0,u[f]=p,--l||n(u))},o)}),--l||n(u)});return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Xl(e),n=r.reject,o=wx(function(){var i=ba(e.resolve);Sm(t,function(a){ce(i,e,a).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}});var Mht=function(){function t(){this.title=rt("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=Dx(),this.posterInputId=Dx(),this.buttonId=Dx()}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||!!k.getSelectedElems(e).some(function(n){var o=k.getNodeType(n);return o==="pre"||o==="list-item"||!!e.isVoid(n)})},t.prototype.getModalPositionNode=function(e){return null},t.prototype.getModalContentElem=function(e){var r=this,n=this,o=n.srcInputId,i=n.posterInputId,a=n.buttonId,u=Xu(an(rt("videoModule.videoSrc"),o,rt("videoModule.videoSrcPlaceHolder")),2),s=u[0],l=u[1],c=Xu(an(rt("videoModule.videoPoster"),i,rt("videoModule.videoPosterPlaceHolder")),2),f=c[0],d=c[1],p=_(l),m=_(d),g=Xu(hl(a,rt("videoModule.ok")),1)[0];if(this.$content==null){var v=_("<div></div>");v.on("click","#"+a,function(h){return Jv(r,void 0,void 0,function(){var w,E;return Qv(this,function(x){switch(x.label){case 0:return h.preventDefault(),w=v.find("#"+o).val().trim(),E=v.find("#"+i).val().trim(),[4,Dp(e,w,E)];case 1:return x.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=v}var y=this.$content;return y.empty(),y.append(s),y.append(f),y.append(g),p.val(""),m.val(""),setTimeout(function(){p.focus()}),y[0]},t}(),Vht=xt([].join),zht=O3!=Object,Hht=function(t,e){var r=[].join;return!!r&&le(function(){r.call(null,",",1)})}();Kr({target:"Array",proto:!0,forced:zht||!Hht},{join:function(t){return Vht(ya(this),t===void 0?",":t)}});var es,uL,sL,Uht=!le(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),lL=L3("IE_PROTO"),Ax=ot.Object,Wht=Ax.prototype,Am=Uht?Ax.getPrototypeOf:function(t){var e=om(t);if($e(e,lL))return e[lL];var r=e.constructor;return ie(r)&&e instanceof r?r.prototype:e instanceof Ax?Wht:null},Ox=Me("iterator"),cL=!1;[].keys&&("next"in(sL=[].keys())?(uL=Am(Am(sL)))!==Object.prototype&&(es=uL):cL=!0);var Ght=es==null||le(function(){var t={};return es[Ox].call(t)!==t});Ght&&(es={}),ie(es[Ox])||Fn(es,Ox,function(){return this});var kx={IteratorPrototype:es,BUGGY_SAFARI_ITERATORS:cL},qht=kx.IteratorPrototype,Kht=function(){return this},Yht=Wl.PROPER,Xht=Wl.CONFIGURABLE,fL=kx.IteratorPrototype,Bx=kx.BUGGY_SAFARI_ITERATORS,Ap=Me("iterator"),$ht=function(){return this},dL=function(t,e,r,n,o,i,a){(function(v,y,h,w){var E=y+" Iterator";v.prototype=W3(qht,{next:rm(1,h)}),Cm(v,E,!1),ql[E]=Kht})(r,e,n);var u,s,l=function(v){if(v===o&&m)return m;if(!Bx&&v in d)return d[v];switch(v){case"keys":case"values":case"entries":return function(){return new r(this,v)}}return function(){return new r(this)}},c=e+" Iterator",f=!1,d=t.prototype,p=d[Ap]||d["@@iterator"]||o&&d[o],m=!Bx&&p||l(o),g=e=="Array"&&d.entries||p;return g&&(u=Am(g.call(new t)))!==Object.prototype&&u.next&&(Am(u)!==fL&&(Gl?Gl(u,fL):ie(u[Ap])||Fn(u,Ap,$ht)),Cm(u,c,!0)),Yht&&o=="values"&&p&&p.name!=="values"&&(Xht?Ea(d,"name","values"):(f=!0,m=function(){return ce(p,this)})),o&&(s={values:l("values"),keys:l("keys"),entries:l("entries")},a||Kr({target:e,proto:!0,forced:Bx||f},s)),d[Ap]!==m&&Fn(d,Ap,m,{name:o}),ql[e]=m,s},Zht=dn.set,Jht=dn.getterFor("Array Iterator"),Op=dL(Array,"Array",function(t,e){Zht(this,{type:"Array Iterator",target:ya(t),index:0,kind:e})},function(){var t=Jht(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");ql.Arguments=ql.Array,vp("keys"),vp("values"),vp("entries");var Qht=EI.charAt,tgt=dn.set,egt=dn.getterFor("String Iterator");dL(String,"String",function(t){tgt(this,{type:"String Iterator",string:Tn(t),index:0})},function(){var t,e=egt(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Qht(r,n),e.index+=t.length,{value:t,done:!1})});var pL=function(t,e,r){var n=N3(e);n in t?ui.f(t,n,rm(0,r)):t[n]=r},rgt=ot.Array,ngt=Math.max,hL=fm.f,gL=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ogt={f:function(t){return gL&&ko(t)=="Window"?function(e){try{return hL(e)}catch{return function(n,o,i){for(var a=hp(n),u=pp(void 0,a),s=pp(a,a),l=rgt(ngt(s-u,0)),c=0;u<s;u++,c++)pL(l,c,n[u]);return l.length=c,l}(gL)}}(t):hL(ya(t))}},vL=le(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Om=Object.isExtensible,rs=le(function(){Om(1)})||vL?function(t){return!!be(t)&&(!vL||ko(t)!="ArrayBuffer")&&(!Om||Om(t))}:Om,igt=!le(function(){return Object.isExtensible(Object.preventExtensions({}))}),_x=x3(function(t){var e=ui.f,r=!1,n=P3("meta"),o=0,i=function(u){e(u,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var u=fm.f,s=xt([].splice),l={};l[n]=1,u(l).length&&(fm.f=function(c){for(var f=u(c),d=0,p=f.length;d<p;d++)if(f[d]===n){s(f,d,1);break}return f},Kr({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:ogt.f}))},fastKey:function(u,s){if(!be(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!$e(u,n)){if(!rs(u))return"F";if(!s)return"E";i(u)}return u[n].objectID},getWeakData:function(u,s){if(!$e(u,n)){if(!rs(u))return!0;if(!s)return!1;i(u)}return u[n].weakData},onFreeze:function(u){return igt&&r&&rs(u)&&!$e(u,n)&&i(u),u}};sm[n]=!0}),km=_x.getWeakData,agt=dn.set,ugt=dn.getterFor,sgt=X3.find,lgt=X3.findIndex,cgt=xt([].splice),fgt=0,Bm=function(t){return t.frozen||(t.frozen=new mL)},mL=function(){this.entries=[]},Fx=function(t,e){return sgt(t.entries,function(r){return r[0]===e})};mL.prototype={get:function(t){var e=Fx(this,t);if(e)return e[1]},has:function(t){return!!Fx(this,t)},set:function(t,e){var r=Fx(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=lgt(this.entries,function(r){return r[0]===t});return~e&&cgt(this.entries,e,1),!!~e}};var kp,yL={getConstructor:function(t,e,r,n){var o=t(function(s,l){ux(s,i),agt(s,{type:e,id:fgt++,frozen:void 0}),l!=null&&Sm(l,s[n],{that:s,AS_ENTRIES:r})}),i=o.prototype,a=ugt(e),u=function(s,l,c){var f=a(s),d=km(ur(l),!0);return d===!0?Bm(f).set(l,c):d[f.id]=c,s};return Em(i,{delete:function(s){var l=a(this);if(!be(s))return!1;var c=km(s);return c===!0?Bm(l).delete(s):c&&$e(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!be(s))return!1;var c=km(s);return c===!0?Bm(l).has(s):c&&$e(c,l.id)}}),Em(i,r?{get:function(s){var l=a(this);if(be(s)){var c=km(s);return c===!0?Bm(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},_m=dn.enforce,dgt=!ot.ActiveXObject&&"ActiveXObject"in ot,bL=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},pgt=function(t,e,r){var n=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=n?"set":"add",a=ot[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=xt(u[v]);Fn(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!be(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!be(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!be(h))&&y(this,h===0?0:h)}:function(h,w){return y(this,h===0?0:h,w),this})};if(dm(t,!ie(a)||!(o||u.forEach&&!le(function(){new a().entries().next()}))))s=r.getConstructor(e,t,n,i),_x.enable();else if(dm(t,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=le(function(){f.has(1)}),m=jI(function(v){new a(v)}),g=!o&&le(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){ux(v,u);var h=function(w,E,x){var C,D;return Gl&&ie(C=E.constructor)&&C!==x&&be(D=C.prototype)&&D!==x.prototype&&Gl(w,D),w}(new a,v,s);return y!=null&&Sm(y,h[i],{that:h,AS_ENTRIES:n}),h})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),n&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,Kr({global:!0,forced:s!=a},l),Cm(s,t),o||r.setStrong(s,t,n),s}("WeakMap",bL,yL);if(Hj&&dgt){kp=yL.getConstructor(bL,"WeakMap",!0),_x.enable();var Bp=pgt.prototype,wL=xt(Bp.delete),Fm=xt(Bp.has),EL=xt(Bp.get),CL=xt(Bp.set);Em(Bp,{delete:function(t){if(be(t)&&!rs(t)){var e=_m(this);return e.frozen||(e.frozen=new kp),wL(this,t)||e.frozen.delete(t)}return wL(this,t)},has:function(t){if(be(t)&&!rs(t)){var e=_m(this);return e.frozen||(e.frozen=new kp),Fm(this,t)||e.frozen.has(t)}return Fm(this,t)},get:function(t){if(be(t)&&!rs(t)){var e=_m(this);return e.frozen||(e.frozen=new kp),Fm(this,t)?EL(this,t):e.frozen.get(t)}return EL(this,t)},set:function(t,e){if(be(t)&&!rs(t)){var r=_m(this);r.frozen||(r.frozen=new kp),Fm(this,t)?CL(this,t,e):r.frozen.set(t,e)}else CL(this,t,e);return this}})}var xL={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},Tx=fp("span").classList,SL=Tx&&Tx.constructor&&Tx.constructor.prototype,hgt=SL===Object.prototype?void 0:SL,Px=Me("iterator"),DL=Me("toStringTag"),Nx=Op.values,AL=function(t,e){if(t){if(t[Px]!==Nx)try{Ea(t,Px,Nx)}catch{t[Px]=Nx}if(t[DL]||Ea(t,DL,e),xL[e]){for(var r in Op)if(t[r]!==Op[r])try{Ea(t,r,Op[r])}catch{t[r]=Op[r]}}}};for(var jx in xL)AL(ot[jx]&&ot[jx].prototype,jx);AL(hgt,"DOMTokenList");var ggt=Wl.EXISTS,vgt=ui.f,OL=Function.prototype,mgt=xt(OL.toString),kL=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ygt=xt(kL.exec);Oo&&!ggt&&vgt(OL,"name",{configurable:!0,get:function(){try{return ygt(kL,mgt(this))[1]}catch{return""}}});var bgt=Me("species"),wgt=sp>=51||!le(function(){var t=[];return(t.constructor={})[bgt]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),Egt=Me("species"),Ix=ot.Array,Cgt=Math.max;function BL(t){return t.getMenuConfig("uploadVideo")}Kr({target:"Array",proto:!0,forced:!wgt},{slice:function(t,e){var r,n,o,i=ya(this),a=hp(i),u=pp(t,a),s=pp(e===void 0?a:e,a);if(mm(i)&&(r=i.constructor,(Y3(r)&&(r===Ix||mm(r.prototype))||be(r)&&(r=r[Egt])===null)&&(r=void 0),r===Ix||r===void 0))return II(i,u,s);for(n=new(r===void 0?Ix:r)(Cgt(s-u,0)),o=0;u<s;u++,o++)u in i&&pL(n,o,i[u]);return n.length=o,n}});var _L=new WeakMap;function xgt(t,e){return Jv(this,void 0,void 0,function(){var r,n,o,i;return Qv(this,function(a){switch(a.label){case 0:return r=function(u){var s=_L.get(u);if(s!=null)return s;var l=BL(u),c=l.onSuccess,f=l.onProgress,d=l.onFailed,p=l.customInsert,m=l.onError;return s=BB(Zv(Zv({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(p)return p(v,function(B,F){return Dp(u,B,F)}),void c(g,v);var y=v.errno,h=y===void 0?1:y,w=v.data,E=w===void 0?{}:w;if(h===0){var x=E.url,C=x===void 0?"":x,D=E.poster;Dp(u,C,D===void 0?"":D),c(g,v)}else d(g,v)},onError:function(g,v,y){m(g,v,y)}})),_L.set(u,s),s}(t),n=e.name,o=e.type,i=e.size,r.addFile({name:n,type:o,size:i,data:e}),[4,r.upload()];case 1:return a.sent(),[2]}})})}var Sgt=function(){function t(){this.title=rt("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(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){var n=this.getMenuConfig(e),o=n.allowedFileTypes,i=o===void 0?[]:o,a=n.customBrowseAndUpload;if(a)a(function(c,f){return Dp(e,c,f)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=_("body"),l=_('<input type="file" '+u+" multiple/>");l.hide(),s.append(l),l.click(),l.on("change",function(){var c=l[0].files;(function(f,d){var p,m;Jv(this,void 0,void 0,function(){var g,v,y,h,w,E;return Qv(this,function(x){switch(x.label){case 0:if(d==null)return[2];g=Array.prototype.slice.call(d),v=BL(f).customUpload,x.label=1;case 1:x.trys.push([1,9,10,15]),y=Edt(g),x.label=2;case 2:return[4,y.next()];case 3:return(h=x.sent()).done?[3,8]:(w=h.value,v?[4,v(w,function(C,D){return Dp(f,C,D)})]:[3,5]);case 4:return x.sent(),[3,7];case 5:return[4,xgt(f,w)];case 6:x.sent(),x.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return E=x.sent(),p={error:E},[3,15];case 10:return x.trys.push([10,,13,14]),h&&!h.done&&(m=y.return)?[4,m.call(y)]:[3,12];case 11:x.sent(),x.label=12;case 12:return[3,14];case 13:if(p)throw p.error;return[7];case 14:return[7];case 15:return[2]}})})})(e,c)})}},t.prototype.isDisabled=function(e){var r=e.selection;return r==null||!z.isCollapsed(r)||!!k.getSelectedElems(e).some(function(n){var o=k.getNodeType(n);return o==="pre"||o==="list-item"||!!e.isVoid(n)})},t.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},t}(),Dgt=Wl.PROPER,Lx=RegExp.prototype,FL=Lx.toString,Agt=xt(pI),Ogt=le(function(){return FL.call({source:"a",flags:"b"})!="/a/b"}),kgt=Dgt&&FL.name!="toString";function Rx(){return DI("w-e-insert-video")}(Ogt||kgt)&&Fn(RegExp.prototype,"toString",function(){var t=ur(this),e=Tn(t.source),r=t.flags;return"/"+e+"/"+Tn(r===void 0&&up(Lx,t)&&!("flags"in Lx)?Agt(t):r)},{unsafe:!0});var Bgt=function(){function t(){this.title=rt("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Rx(),this.heightInputId=Rx(),this.buttonId=Rx()}return t.prototype.getSelectedVideoNode=function(e){return k.getSelectedNodeByType(e,"video")},t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,r){},t.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedVideoNode(e)==null},t.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},t.prototype.getModalContentElem=function(e){var r=this,n=r.widthInputId,o=r.heightInputId,i=r.buttonId,a=Xu(an(rt("videoModule.width"),n,"auto"),2),u=a[0],s=_(a[1]),l=Xu(an(rt("videoModule.height"),o,"auto"),2),c=l[0],f=_(l[1]),d=Xu(hl(i,rt("videoModule.ok")),1)[0];if(this.$content==null){var p=_("<div></div>");p.on("click","#"+i,function(E){E.preventDefault();var x=p.find("#"+n).val().trim(),C=p.find("#"+o).val().trim(),D=parseInt(x),B=parseInt(C),F=D?D.toString():"auto",R=B?B.toString():"auto";e.restoreSelection(),I.setNodes(e,{width:F,height:R},{match:function(G){return k.checkNodeType(G,"video")}}),e.hidePanelOrModal()}),this.$content=p}var m=this.$content;m.empty(),m.append(u),m.append(c),m.append(d);var g=this.getSelectedVideoNode(e);if(g==null)return m[0];var v=g.width,y=v===void 0?"auto":v,h=g.height,w=h===void 0?"auto":h;return s.val(y),f.val(w),setTimeout(function(){s.focus()}),m[0]},t}(),_gt={renderElems:[Spt],elemsToHtml:[Dpt],preParseHtml:[Bpt],parseElemsHtml:[Lpt],menus:[{key:"insertVideo",factory:function(){return new Mht},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},{key:"uploadVideo",factory:function(){return new Sgt},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("'"+t.name+"' upload failed",e)},onError:function(t,e,r){console.error("'"+t.name+" upload error",e,r)}}},{key:"editVideoSize",factory:function(){return new Bgt}}],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,n=t;return n.isVoid=function(o){return o.type==="video"||e(o)},n.normalizeNode=function(o){var i=Xu(o,2),a=i[0],u=i[1];return k.getNodeType(a)==="video"&&k.isLastNode(n,a)&&I.insertNodes(n,k.genEmptyParagraph(),{at:[u[0]+1]}),r([a,u])},n}};Ur("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Ur("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var TL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mx(t){var e={exports:{}};return t(e,e.exports),e.exports}var xa,Tm,Pm=function(t){return t&&t.Math==Math&&t},nt=Pm(typeof globalThis=="object"&&globalThis)||Pm(typeof window=="object"&&window)||Pm(typeof self=="object"&&self)||Pm(typeof TL=="object"&&TL)||function(){return this}()||Function("return this")(),he=function(t){try{return!!t()}catch{return!0}},_o=!he(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),_p=Function.prototype.call,te=_p.bind?_p.bind(_p):function(){return _p.apply(_p,arguments)},PL={}.propertyIsEnumerable,NL=Object.getOwnPropertyDescriptor,Fgt={f:NL&&!PL.call({1:2},1)?function(t){var e=NL(this,t);return!!e&&e.enumerable}:PL},Nm=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},jL=Function.prototype,Vx=jL.bind,zx=jL.call,Tgt=Vx&&Vx.bind(zx),Pt=Vx?function(t){return t&&Tgt(zx,t)}:function(t){return t&&function(){return zx.apply(t,arguments)}},Pgt=Pt({}.toString),Ngt=Pt("".slice),Zn=function(t){return Ngt(Pgt(t),8,-1)},Hx=nt.Object,jgt=Pt("".split),Ux=he(function(){return!Hx("z").propertyIsEnumerable(0)})?function(t){return Zn(t)=="String"?jgt(t,""):Hx(t)}:Hx,Igt=nt.TypeError,Fp=function(t){if(t==null)throw Igt("Can't call method on "+t);return t},Sa=function(t){return Ux(Fp(t))},se=function(t){return typeof t=="function"},ge=function(t){return typeof t=="object"?t!==null:se(t)},Lgt=function(t){return se(t)?t:void 0},ns=function(t,e){return arguments.length<2?Lgt(nt[t]):nt[t]&&nt[t][e]},Tp=Pt({}.isPrototypeOf),Jl=ns("navigator","userAgent")||"",IL=nt.process,LL=nt.Deno,RL=IL&&IL.versions||LL&&LL.version,ML=RL&&RL.v8;ML&&(Tm=(xa=ML.split("."))[0]>0&&xa[0]<4?1:+(xa[0]+xa[1])),!Tm&&Jl&&(!(xa=Jl.match(/Edge\/(\d+)/))||xa[1]>=74)&&(xa=Jl.match(/Chrome\/(\d+)/))&&(Tm=+xa[1]);var Pp=Tm,Wx=!!Object.getOwnPropertySymbols&&!he(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Pp&&Pp<41}),Gx=Wx&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Rgt=nt.Object,qx=Gx?function(t){return typeof t=="symbol"}:function(t){var e=ns("Symbol");return se(e)&&Tp(e.prototype,Rgt(t))},Mgt=nt.String,jm=function(t){try{return Mgt(t)}catch{return"Object"}},Vgt=nt.TypeError,Da=function(t){if(se(t))return t;throw Vgt(jm(t)+" is not a function")},Np=function(t,e){var r=t[e];return r==null?void 0:Da(r)},zgt=nt.TypeError,Hgt=Object.defineProperty,Kx=function(t,e){try{Hgt(nt,t,{value:e,configurable:!0,writable:!0})}catch{nt[t]=e}return e},Aa=nt["__core-js_shared__"]||Kx("__core-js_shared__",{}),Yx=Mx(function(t){(t.exports=function(e,r){return Aa[e]||(Aa[e]=r!==void 0?r:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Ugt=nt.Object,Xx=function(t){return Ugt(Fp(t))},Wgt=Pt({}.hasOwnProperty),Ze=Object.hasOwn||function(t,e){return Wgt(Xx(t),e)},Ggt=0,qgt=Math.random(),Kgt=Pt(1 .toString),$x=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Kgt(++Ggt+qgt,36)},jp=Yx("wks"),os=nt.Symbol,VL=os&&os.for,Ygt=Gx?os:os&&os.withoutSetter||$x,Ve=function(t){if(!Ze(jp,t)||!Wx&&typeof jp[t]!="string"){var e="Symbol."+t;Wx&&Ze(os,t)?jp[t]=os[t]:jp[t]=Gx&&VL?VL(e):Ygt(e)}return jp[t]},Xgt=nt.TypeError,$gt=Ve("toPrimitive"),Zx=function(t){var e=function(r,n){if(!ge(r)||qx(r))return r;var o,i=Np(r,$gt);if(i){if(o=te(i,r,n),!ge(o)||qx(o))return o;throw Xgt("Can't convert object to primitive value")}return function(a,u){var s,l;if(se(s=a.toString)&&!ge(l=te(s,a))||se(s=a.valueOf)&&!ge(l=te(s,a)))return l;throw zgt("Can't convert object to primitive value")}(r)}(t,"string");return qx(e)?e:e+""},Jx=nt.document,Zgt=ge(Jx)&&ge(Jx.createElement),Ip=function(t){return Zgt?Jx.createElement(t):{}},zL=!_o&&!he(function(){return Object.defineProperty(Ip("div"),"a",{get:function(){return 7}}).a!=7}),HL=Object.getOwnPropertyDescriptor,Qx={f:_o?HL:function(t,e){if(t=Sa(t),e=Zx(e),zL)try{return HL(t,e)}catch{}if(Ze(t,e))return Nm(!te(Fgt.f,t,e),t[e])}},Jgt=nt.String,Qgt=nt.TypeError,sr=function(t){if(ge(t))return t;throw Qgt(Jgt(t)+" is not an object")},t0t=nt.TypeError,UL=Object.defineProperty,li={f:_o?UL:function(t,e,r){if(sr(t),e=Zx(e),sr(r),zL)try{return UL(t,e,r)}catch{}if("get"in r||"set"in r)throw t0t("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Fo=_o?function(t,e,r){return li.f(t,e,Nm(1,r))}:function(t,e,r){return t[e]=r,t},e0t=Pt(Function.toString);se(Aa.inspectSource)||(Aa.inspectSource=function(t){return e0t(t)});var Im,Lp,Lm,Rm=Aa.inspectSource,WL=nt.WeakMap,GL=se(WL)&&/native code/.test(Rm(WL)),qL=Yx("keys"),t5=function(t){return qL[t]||(qL[t]=$x(t))},Mm={},e5=nt.TypeError,r0t=nt.WeakMap;if(GL||Aa.state){var is=Aa.state||(Aa.state=new r0t),n0t=Pt(is.get),KL=Pt(is.has),o0t=Pt(is.set);Im=function(t,e){if(KL(is,t))throw new e5("Object already initialized");return e.facade=t,o0t(is,t,e),e},Lp=function(t){return n0t(is,t)||{}},Lm=function(t){return KL(is,t)}}else{var Ql=t5("state");Mm[Ql]=!0,Im=function(t,e){if(Ze(t,Ql))throw new e5("Object already initialized");return e.facade=t,Fo(t,Ql,e),e},Lp=function(t){return Ze(t,Ql)?t[Ql]:{}},Lm=function(t){return Ze(t,Ql)}}var pn={set:Im,get:Lp,has:Lm,enforce:function(t){return Lm(t)?Lp(t):Im(t,{})},getterFor:function(t){return function(e){var r;if(!ge(e)||(r=Lp(e)).type!==t)throw e5("Incompatible receiver, "+t+" required");return r}}},YL=Function.prototype,i0t=_o&&Object.getOwnPropertyDescriptor,r5=Ze(YL,"name"),Rp={EXISTS:r5,PROPER:r5&&(function(){}).name==="something",CONFIGURABLE:r5&&(!_o||_o&&i0t(YL,"name").configurable)},Pn=Mx(function(t){var e=Rp.CONFIGURABLE,r=pn.get,n=pn.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet,p=s&&s.name!==void 0?s.name:a;se(u)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ze(u,"name")||e&&u.name!==p)&&Fo(u,"name",p),(l=n(u)).source||(l.source=o.join(typeof p=="string"?p:""))),i!==nt?(c?!d&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Fo(i,a,u)):f?i[a]=u:Kx(a,u)})(Function.prototype,"toString",function(){return se(this)&&r(this).source||Rm(this)})}),a0t=Math.ceil,u0t=Math.floor,n5=function(t){var e=+t;return e!=e||e===0?0:(e>0?u0t:a0t)(e)},s0t=Math.max,l0t=Math.min,Mp=function(t,e){var r=n5(t);return r<0?s0t(r+e,0):l0t(r,e)},c0t=Math.min,XL=function(t){return t>0?c0t(n5(t),9007199254740991):0},Vp=function(t){return XL(t.length)},f0t=function(t){return function(e,r,n){var o,i=Sa(e),a=Vp(i),u=Mp(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},d0t=f0t(!1),$L=Pt([].push),ZL=function(t,e){var r,n=Sa(t),o=0,i=[];for(r in n)!Ze(Mm,r)&&Ze(n,r)&&$L(i,r);for(;e.length>o;)Ze(n,r=e[o++])&&(~d0t(i,r)||$L(i,r));return i},Vm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],p0t=Vm.concat("length","prototype"),zm={f:Object.getOwnPropertyNames||function(t){return ZL(t,p0t)}},h0t={f:Object.getOwnPropertySymbols},g0t=Pt([].concat),v0t=ns("Reflect","ownKeys")||function(t){var e=zm.f(sr(t)),r=h0t.f;return r?g0t(e,r(t)):e},m0t=function(t,e){for(var r=v0t(e),n=li.f,o=Qx.f,i=0;i<r.length;i++){var a=r[i];Ze(t,a)||n(t,a,o(e,a))}},y0t=/#|\.prototype\./,zp=function(t,e){var r=w0t[b0t(t)];return r==C0t||r!=E0t&&(se(e)?he(e):!!e)},b0t=zp.normalize=function(t){return String(t).replace(y0t,".").toLowerCase()},w0t=zp.data={},E0t=zp.NATIVE="N",C0t=zp.POLYFILL="P",Hm=zp,x0t=Qx.f,To=function(t,e){var r,n,o,i,a,u=t.target,s=t.global,l=t.stat;if(r=s?nt:l?nt[u]||Kx(u,{}):(nt[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=x0t(r,n))&&a.value:r[n],!Hm(s?n:u+(l?".":"#")+n,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;m0t(i,o)}(t.sham||o&&o.sham)&&Fo(i,"sham",!0),Pn(r,n,i,t)}},Um=Array.isArray||function(t){return Zn(t)=="Array"},JL={};JL[Ve("toStringTag")]="z";var o5=String(JL)==="[object z]",S0t=Ve("toStringTag"),D0t=nt.Object,A0t=Zn(function(){return arguments}())=="Arguments",Wm=o5?Zn:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=function(o,i){try{return o[i]}catch{}}(e=D0t(t),S0t))=="string"?r:A0t?Zn(e):(n=Zn(e))=="Object"&&se(e.callee)?"Arguments":n},QL=function(){},O0t=[],tR=ns("Reflect","construct"),i5=/^\s*(?:class|function)\b/,k0t=Pt(i5.exec),B0t=!i5.exec(QL),Hp=function(t){if(!se(t))return!1;try{return tR(QL,O0t,t),!0}catch{return!1}},a5=!tR||he(function(){var t;return Hp(Hp.call)||!Hp(Object)||!Hp(function(){t=!0})||t})?function(t){if(!se(t))return!1;switch(Wm(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return B0t||!!k0t(i5,Rm(t))}:Hp,eR=function(t,e,r){var n=Zx(e);n in t?li.f(t,n,Nm(0,r)):t[n]=r},_0t=Ve("species"),rR=Pt([].slice),F0t=Pp>=51||!he(function(){var t=[];return(t.constructor={})[_0t]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),T0t=Ve("species"),u5=nt.Array,P0t=Math.max;To({target:"Array",proto:!0,forced:!F0t},{slice:function(t,e){var r,n,o,i=Sa(this),a=Vp(i),u=Mp(t,a),s=Mp(e===void 0?a:e,a);if(Um(i)&&(r=i.constructor,(a5(r)&&(r===u5||Um(r.prototype))||ge(r)&&(r=r[T0t])===null)&&(r=void 0),r===u5||r===void 0))return rR(i,u,s);for(n=new(r===void 0?u5:r)(P0t(s-u,0)),o=0;u<s;u++,o++)u in i&&eR(n,o,i[u]);return n.length=o,n}});var N0t=o5?{}.toString:function(){return"[object "+Wm(this)+"]"};o5||Pn(Object.prototype,"toString",N0t,{unsafe:!0});var Gm,j0t=nt.String,Oa=function(t){if(Wm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return j0t(t)},nR=function(){var t=sr(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},s5=nt.RegExp,l5=he(function(){var t=s5("a","y");return t.lastIndex=2,t.exec("abcd")!=null});l5||he(function(){return!s5("a","y").sticky});var oR={BROKEN_CARET:l5||he(function(){var t=s5("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),UNSUPPORTED_Y:l5},I0t=Object.keys||function(t){return ZL(t,Vm)},L0t=_o?Object.defineProperties:function(t,e){sr(t);for(var r,n=Sa(e),o=I0t(e),i=o.length,a=0;i>a;)li.f(t,r=o[a++],n[r]);return t},c5=ns("document","documentElement"),iR=t5("IE_PROTO"),f5=function(){},aR=function(t){return"<script>"+t+"<\/script>"},uR=function(t){t.write(aR("")),t.close();var e=t.parentWindow.Object;return t=null,e},qm=function(){try{Gm=new ActiveXObject("htmlfile")}catch{}var t,e;qm=typeof document<"u"?document.domain&&Gm?uR(Gm):((e=Ip("iframe")).style.display="none",c5.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(aR("document.F=Object")),t.close(),t.F):uR(Gm);for(var r=Vm.length;r--;)delete qm.prototype[Vm[r]];return qm()};Mm[iR]=!0;var sR,d5,p5=Object.create||function(t,e){var r;return t!==null?(f5.prototype=sr(t),r=new f5,f5.prototype=null,r[iR]=t):r=qm(),e===void 0?r:L0t(r,e)},R0t=nt.RegExp,M0t=he(function(){var t=R0t(".","s");return!(t.dotAll&&t.exec(`
|
|
148
148
|
`)&&t.flags==="s")}),V0t=nt.RegExp,z0t=he(function(){var t=V0t("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),H0t=pn.get,U0t=Yx("native-string-replace",String.prototype.replace),Km=RegExp.prototype.exec,h5=Km,W0t=Pt("".charAt),G0t=Pt("".indexOf),q0t=Pt("".replace),g5=Pt("".slice),v5=(d5=/b*/g,te(Km,sR=/a/,"a"),te(Km,d5,"a"),sR.lastIndex!==0||d5.lastIndex!==0),lR=oR.BROKEN_CARET,m5=/()??/.exec("")[1]!==void 0;(v5||m5||lR||M0t||z0t)&&(h5=function(t){var e,r,n,o,i,a,u,s=this,l=H0t(s),c=Oa(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=te(h5,f,c),s.lastIndex=f.lastIndex,e;var d=l.groups,p=lR&&s.sticky,m=te(nR,s),g=s.source,v=0,y=c;if(p&&(m=q0t(m,"y",""),G0t(m,"g")===-1&&(m+="g"),y=g5(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&W0t(c,s.lastIndex-1)!==`
|
|
149
149
|
`)&&(g="(?: "+g+")",y=" "+y,v++),r=new RegExp("^(?:"+g+")",m)),m5&&(r=new RegExp("^"+g+"$(?!\\s)",m)),v5&&(n=s.lastIndex),o=te(Km,p?r:s,y),p?o?(o.input=g5(o.input,v),o[0]=g5(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:v5&&o&&(s.lastIndex=s.global?o.index+o[0].length:n),m5&&o&&o.length>1&&te(U0t,o[0],r,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&d)for(o.groups=a=p5(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Up=h5;To({target:"RegExp",proto:!0,forced:/./.exec!==Up},{exec:Up});var y5=Function.prototype,cR=y5.apply,K0t=y5.bind,fR=y5.call,dR=typeof Reflect=="object"&&Reflect.apply||(K0t?fR.bind(cR):function(){return fR.apply(cR,arguments)}),Y0t=Ve("species"),b5=RegExp.prototype,X0t=Ve("match"),$0t=nt.TypeError,Z0t=Ve("species"),pR=function(t,e){var r,n=sr(t).constructor;return n===void 0||(r=sr(n)[Z0t])==null?e:function(o){if(a5(o))return o;throw $0t(jm(o)+" is not a constructor")}(r)},J0t=Pt("".charAt),hR=Pt("".charCodeAt),Q0t=Pt("".slice),tvt=function(t){return function(e,r){var n,o,i=Oa(Fp(e)),a=n5(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=hR(i,a))<55296||n>56319||a+1===u||(o=hR(i,a+1))<56320||o>57343?t?J0t(i,a):n:t?Q0t(i,a,a+2):o-56320+(n-55296<<10)+65536}},gR={charAt:tvt(!0)},evt=gR.charAt,rvt=function(t,e,r){return e+(r?evt(t,e).length:1)},nvt=nt.Array,ovt=Math.max,w5=function(t,e,r){for(var n=Vp(t),o=Mp(e,n),i=Mp(r===void 0?n:r,n),a=nvt(ovt(i-o,0)),u=0;o<i;o++,u++)eR(a,u,t[o]);return a.length=u,a},ivt=nt.TypeError,vR=function(t,e){var r=t.exec;if(se(r)){var n=te(r,t,e);return n!==null&&sr(n),n}if(Zn(t)==="RegExp")return te(Up,t,e);throw ivt("RegExp#exec called on incompatible receiver")},tc=oR.UNSUPPORTED_Y,avt=Math.min,mR=[].push,uvt=Pt(/./.exec),ec=Pt(mR),Wp=Pt("".slice);(function(t,e,r,n){var o=Ve(t),i=!he(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!he(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[Y0t]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||r){var u=Pt(/./[o]),s=function(l,c,f){var d;return d="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(p,m){var g,v,y=Oa(Fp(this)),h=m===void 0?4294967295:m>>>0;if(h===0)return[];if(p===void 0)return[y];if(!ge(g=p)||!((v=g[X0t])!==void 0?v:Zn(g)=="RegExp"))return te(c,y,p,h);for(var w,E,x,C=[],D=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(p.sticky?"y":""),B=0,F=new RegExp(p.source,D+"g");(w=te(Up,F,y))&&!((E=F.lastIndex)>B&&(ec(C,Wp(y,B,w.index)),w.length>1&&w.index<y.length&&dR(mR,C,w5(w,1)),x=w[0].length,B=E,C.length>=h));)F.lastIndex===w.index&&F.lastIndex++;return B===y.length?!x&&uvt(F,"")||ec(C,""):ec(C,Wp(y,B)),C.length>h?w5(C,0,h):C}:"0".split(void 0,0).length?function(p,m){return p===void 0&&m===0?[]:te(c,this,p,m)}:c,[function(p,m){var g=Fp(this),v=p==null?void 0:Np(p,l);return v?te(v,p,g,m):te(d,Oa(g),p,m)},function(p,m){var g=sr(this),v=Oa(p),y=f(d,g,v,m,d!==c);if(y.done)return y.value;var h=pR(g,RegExp),w=g.unicode,E=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(tc?"g":"y"),x=new h(tc?"^(?:"+g.source+")":g,E),C=m===void 0?4294967295:m>>>0;if(C===0)return[];if(v.length===0)return vR(x,v)===null?[v]:[];for(var D=0,B=0,F=[];B<v.length;){x.lastIndex=tc?0:B;var R,G=vR(x,tc?Wp(v,B):v);if(G===null||(R=avt(XL(x.lastIndex+(tc?B:0)),v.length))===D)B=rvt(v,B,w);else{if(ec(F,Wp(v,D,B)),F.length===C)return F;for(var M=1;M<=G.length-1;M++)if(ec(F,G[M]),F.length===C)return F;B=D=R}}return ec(F,Wp(v,D)),F}]}(o,""[t],function(l,c,f,d,p){var m=Pt(l),g=c.exec;return g===Up||g===b5.exec?i&&!p?{done:!0,value:u(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Pn(String.prototype,t,s[0]),Pn(b5,o,s[1])}n&&Fo(b5[o],"sham",!0)})("split",0,!!he(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),tc);/*! *****************************************************************************
|
|
150
150
|
Copyright (c) Microsoft Corporation.
|