jwt-ui 1.10.7-21 → 1.10.7-23

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/lib/jwt-ui.umd.js CHANGED
@@ -1,38 +1,38 @@
1
- (function(qi,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue"),require("dayjs"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","dayjs","element-plus"],g):(qi=typeof globalThis<"u"?globalThis:qi||self,g(qi["jwt-ui"]={},qi.Vue,qi.dayjs,qi.elementPlus))})(this,function(qi,g,CV,Mn){"use strict";const eu=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(CV),sSe="",jn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},EV=g.defineComponent({name:"JwtCascaderServer",components:{},props:{modelValue:{type:[String,Number,Array],default:""},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null}},emits:["update:modelValue","change","select"],setup(e,{emit:t}){const n=g.useAttrs();console.log("attrs",n);const r=g.reactive({listData:[]}),o=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),i=()=>{console.log("attrs",n);const{listApi:s,options:l}=n;if(!s){r.listData=l||[];return}const f={sort:"id",order:"desc",per_page:1e3,...e.exParams};e.request({url:s,method:"get",params:f}).then(d=>{console.log("listData",d),r.listData=d||[]})},a=s=>{t("change",s)};return g.onMounted(()=>{setTimeout(()=>{i()},50)}),{attrs:n,selectModel:o,...g.toRefs(r),handleSelectChange:a,getDataList:i}}});function SV(e,t,n,r,o,i){const a=g.resolveComponent("el-cascader");return g.openBlock(),g.createBlock(a,g.mergeProps({modelValue:e.selectModel,"onUpdate:modelValue":t[0]||(t[0]=s=>e.selectModel=s)},e.attrs,{options:e.listData,onChange:e.handleSelectChange}),null,16,["modelValue","options","onChange"])}const DV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(EV,[["render",SV]])},Symbol.toStringTag,{value:"Module"})),lSe="",xV=g.defineComponent({name:"JwtCascaderServer",components:{},props:{modelValue:{type:[String,Number,Array],default:""},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null}},emits:["update:modelValue","change","select"],setup(e,{emit:t}){const n=g.useAttrs(),r=g.reactive({listData:[]}),o=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),i=()=>{const{listApi:s,options:l}=n;if(!s){r.listData=l||[];return}const f={sort:"id",order:"desc",per_page:100,...e.exParams};e.request({url:s,method:"get",params:f}).then(d=>{r.listData=d||[]})},a=s=>{t("change",s)};return g.onMounted(()=>{setTimeout(()=>{i()},50)}),{attrs:n,selectModel:o,...g.toRefs(r),handleSelectChange:a,getDataList:i}}});function AV(e,t,n,r,o,i){const a=g.resolveComponent("el-cascader");return g.openBlock(),g.createBlock(a,g.mergeProps({modelValue:e.selectModel,"onUpdate:modelValue":t[0]||(t[0]=s=>e.selectModel=s)},e.attrs,{options:e.listData,onChange:e.handleSelectChange}),null,16,["modelValue","options","onChange"])}const kV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(xV,[["render",AV]])},Symbol.toStringTag,{value:"Module"})),Ht={isObject(e){return{}.toString.call(e)==="[object Object]"},hasObject(e){return this.isObject(e)&&Object.keys(e).length>0},isFunction(e){return{}.toString.call(e)==="[object Function]"},isArray(e){return{}.toString.call(e)==="[object Array]"},hasArray(e){return this.isArray(e)&&e.length>0},isString(e){return{}.toString.call(e)==="[object String]"},isNumber(e){return{}.toString.call(e)==="[object Number]"},isValid(e){return e!==void 0&&e!==""&&e!==null||e===0||e===!1},sleep(e){return new Promise(t=>setTimeout(t,e))},isData(e){return this.hasArray(e)||this.hasObject(e)||this.isValid(e)},$local(e,t){const n=e||"userInfo";if(this.isValid(t))yb.set(n,t);else return yb.get(n)||!1},$localRemove(e){const t=e||"userInfo";yb.remove(t),_V.remove(t)},copy(e){return JSON.parse(JSON.stringify(e))},$getName(e,t){let n="";return Ht.hasArray(e)&&(e.map(r=>{n+=r[t]+"\u3001"}),n=n.substring(0,n.length-1)),n},delArrValue(e,t){return e.forEach((n,r)=>{n===t&&e.splice(r,1)}),e},setEmpty(e){if(this.hasObject(e))for(const t in e)(e[t]==null||e[t]===void 0)&&(e[t]="");return e},getBody(e){for(var t in e){const n=e[t];this.isValid(n)||delete e[t]}return e}},yb={set(e,t){let n=t;(Ht.isObject(t)||Ht.isArray(n))&&(n=JSON.stringify(n)),localStorage.setItem(e,n)},get(e){const t=localStorage.getItem(e);return Ht.isValid(t)?JSON.parse(t):!1},output(){console.log(localStorage)},remove(e){Ht.hasArray(e)?e.map(t=>{localStorage.removeItem(t)}):localStorage.removeItem(e)},clear(){localStorage.clear()}},_V={set(e,t){let n=t;(Ht.isObject(n)||Ht.isArray(n))&&(n=JSON.stringify(n)),sessionStorage.setItem(e,n)},get(e){const t=sessionStorage.getItem(e);return Ht.isValid(t)?JSON.parse(t):!1},output(){console.log(sessionStorage)},remove(e){Ht.hasArray(e)?e.map(t=>{sessionStorage.removeItem(t)}):sessionStorage.removeItem(e)},clear(){sessionStorage.clear()}};function OV(e=[]){const t=[];for(const n of e)if(t.indexOf(n)===-1){t.push(n);for(let r=0;r<t.length;r++)if(t[r].length>n.length&&t[r].includes(n)){t.pop();break}else if(t[r].length<n.length&&n.includes(t[r])){t.splice(r,1);break}}return t}function bb(e,t){return e.split(".").reduce((n,r)=>n&&n[r],t)}function rd(e,t="",n={},r={}){var o;if(r!=null&&r.valFun){if(Ht.isFunction(r.valFun))return r==null?void 0:r.valFun(n);throw new Error("valFun\u662F\u4E00\u4E2A\u51FD\u6570")}else return(o=r==null?void 0:r.prop)!=null&&o.includes(".")?bb(r==null?void 0:r.prop,n)||"-":r!=null&&r.options?r==null?void 0:r.options[e]:t?eu.default(e).format(t):e===null||e===""||e===void 0?"-":e}const fSe="",BV=g.defineComponent({name:"JwtColumnItem",props:{item:{type:Object,default:()=>{}},row:{type:Object,default:()=>{}},fillUrl:{type:Function,default:null},uploadUrl:{type:String,default:""},index:{type:Number,default:0}},emits:["emit","change","click-cell"],setup(e,{emit:t}){const n=g.computed({get:()=>e.row,set:s=>{console.log("value",s)}});return{appModel:n,filterVal:rd,handleEditRowProp:()=>{t("change",n.value,e.item)},handleFillUrl:(s,l)=>{var d;let f="";return(d=l==null?void 0:l.prop)!=null&&d.includes(".")?f=bb(l==null?void 0:l.prop,s):f=s[l.prop],e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(f):f},handleEditRow:(s,l,f=!0)=>{s[`isEdit${l.prop}`]=f},handleClickRow:()=>{t("click-cell",n.value,e.item)}}}}),TV={key:0,class:"fxm"},FV={key:0,class:"mr4"},PV={key:1,class:"ml4"},IV={key:1,class:"fxm"},NV={key:0,class:"mr4"},LV={key:1,class:"ml4"},RV={class:"image-slot wh fxmc"};function MV(e,t,n,r,o,i){var h,m,C,$,b;const a=g.resolveComponent("el-input"),s=g.resolveComponent("el-input-number"),l=g.resolveComponent("jwt-upload-image"),f=g.resolveComponent("el-switch"),d=g.resolveComponent("jwt-icon"),p=g.resolveComponent("el-image");return e.item.dateTimeFormat?(g.openBlock(),g.createElementBlock(g.Fragment,{key:0},[g.createTextVNode(g.toDisplayString(e.filterVal(e.appModel[e.item.prop],e.item.dateTimeFormat,e.row,e.item)),1)],64)):e.item.editType?(g.openBlock(),g.createElementBlock(g.Fragment,{key:1},[e.item.editType==="input"?(g.openBlock(),g.createElementBlock("div",TV,[e.item.preUnit?(g.openBlock(),g.createElementBlock("span",FV,g.toDisplayString(e.item.preUnit),1)):g.createCommentVNode("",!0),g.createVNode(a,g.mergeProps({modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[0]||(t[0]=w=>e.appModel[e.item.prop]=w),type:"text"},((h=e.item)==null?void 0:h.attrs)||{},{onKeydown:g.withKeys(e.handleEditRowProp,["enter"])}),null,16,["modelValue","onKeydown"]),e.item.sufUnit?(g.openBlock(),g.createElementBlock("span",PV,g.toDisplayString(e.item.sufUnit),1)):g.createCommentVNode("",!0)])):e.item.editType==="inputNumber"?(g.openBlock(),g.createElementBlock("div",IV,[e.item.preUnit?(g.openBlock(),g.createElementBlock("span",NV,g.toDisplayString(e.item.preUnit),1)):g.createCommentVNode("",!0),g.createVNode(s,g.mergeProps({modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[1]||(t[1]=w=>e.appModel[e.item.prop]=w),"controls-position":"right",min:0},((m=e.item)==null?void 0:m.attrs)||{},{onBlur:e.handleEditRowProp}),null,16,["modelValue","onBlur"]),e.item.sufUnit?(g.openBlock(),g.createElementBlock("span",LV,g.toDisplayString(e.item.sufUnit),1)):g.createCommentVNode("",!0)])):e.item.editType==="uploadImg"?(g.openBlock(),g.createBlock(l,{key:2,modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[2]||(t[2]=w=>e.appModel[e.item.prop]=w),"fill-url":e.fillUrl,"upload-url":e.uploadUrl,onOnChange:e.handleEditRowProp},null,8,["modelValue","fill-url","upload-url","onOnChange"])):e.item.editType==="switch"?(g.openBlock(),g.createBlock(f,g.mergeProps({key:3,modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[3]||(t[3]=w=>e.appModel[e.item.prop]=w),"active-value":1,"inactive-value":0},((C=e.item)==null?void 0:C.attrs)||{},{onChange:e.handleEditRowProp}),null,16,["modelValue","onChange"])):g.createCommentVNode("",!0)],64)):e.item.editInput?(g.openBlock(),g.createElementBlock(g.Fragment,{key:2},[g.withDirectives(g.createElementVNode("div",{onDblclick:t[4]||(t[4]=w=>e.handleEditRow(e.row,e.item))},g.toDisplayString(e.filterVal(e.row[e.item.prop],"",e.row,e.item)),545),[[g.vShow,!e.appModel[`isEdit${e.item.prop}`]]]),g.withDirectives(g.createVNode(a,g.mergeProps({modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[5]||(t[5]=w=>e.appModel[e.item.prop]=w),type:"text"},(($=e.item)==null?void 0:$.attrs)||{},{onBlur:e.handleEditRowProp,onKeyup:g.withKeys(e.handleEditRowProp,["enter"])}),null,16,["modelValue","onBlur","onKeyup"]),[[g.vShow,e.appModel[`isEdit${e.item.prop}`]]])],64)):e.item.isImg?(g.openBlock(),g.createBlock(p,g.mergeProps({key:3,"preview-src-list":[e.handleFillUrl(e.row,e.item)],"preview-teleported":"",size:80,src:e.handleFillUrl(e.row,e.item),teleported:""},((b=e.item)==null?void 0:b.attrs)||{}),{error:g.withCtx(()=>[g.createElementVNode("div",RV,[g.createVNode(d,{class:"g9",icon:"image-line",style:{"font-size":"40px"}})])]),_:1},16,["preview-src-list","src"])):g.renderSlot(e.$slots,e.item.prop,{key:4,scope:e.row},()=>[g.createElementVNode("div",{class:"dl",onClick:t[6]||(t[6]=(...w)=>e.handleClickRow&&e.handleClickRow(...w))},[e.item.preUnit?(g.openBlock(),g.createElementBlock("span",{key:0,class:g.normalizeClass(e.item.preUnitCls)},g.toDisplayString(e.item.preUnit),3)):g.createCommentVNode("",!0),g.createElementVNode("span",{class:g.normalizeClass(e.item.class)},g.toDisplayString(e.filterVal(e.row[e.item.prop],"",e.row,e.item)),3),e.item.sufUnit?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(e.item.sufUnitCls)},g.toDisplayString(e.item.sufUnit),3)):g.createCommentVNode("",!0)])],!0)}const jV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(BV,[["render",MV],["__scopeId","data-v-9b24e1a1"]])},Symbol.toStringTag,{value:"Module"}));var od=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zV(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function VV(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var go={exports:{}};/**
1
+ (function(qi,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue"),require("dayjs"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","dayjs","element-plus"],g):(qi=typeof globalThis<"u"?globalThis:qi||self,g(qi["jwt-ui"]={},qi.Vue,qi.dayjs,qi.elementPlus))})(this,function(qi,g,CV,Mn){"use strict";const eu=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(CV),sSe="",jn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},EV=g.defineComponent({name:"JwtCascaderServer",components:{},props:{modelValue:{type:[String,Number,Array],default:""},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null}},emits:["update:modelValue","change","select"],setup(e,{emit:t}){const n=g.useAttrs();console.log("attrs",n);const r=g.reactive({listData:[]}),o=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),i=()=>{console.log("attrs",n);const{listApi:s,options:l}=n;if(!s){r.listData=l||[];return}const f={sort:"id",order:"desc",per_page:1e3,...e.exParams};e.request({url:s,method:"get",params:f}).then(d=>{console.log("listData",d),r.listData=d||[]})},a=s=>{t("change",s)};return g.onMounted(()=>{setTimeout(()=>{i()},50)}),{attrs:n,selectModel:o,...g.toRefs(r),handleSelectChange:a,getDataList:i}}});function SV(e,t,n,r,o,i){const a=g.resolveComponent("el-cascader");return g.openBlock(),g.createBlock(a,g.mergeProps({modelValue:e.selectModel,"onUpdate:modelValue":t[0]||(t[0]=s=>e.selectModel=s)},e.attrs,{options:e.listData,onChange:e.handleSelectChange}),null,16,["modelValue","options","onChange"])}const DV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(EV,[["render",SV]])},Symbol.toStringTag,{value:"Module"})),lSe="",xV=g.defineComponent({name:"JwtCascaderServer",components:{},props:{modelValue:{type:[String,Number,Array],default:""},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null}},emits:["update:modelValue","change","select"],setup(e,{emit:t}){const n=g.useAttrs(),r=g.reactive({listData:[]}),o=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),i=()=>{const{listApi:s,options:l}=n;if(!s){r.listData=l||[];return}const f={sort:"id",order:"desc",per_page:100,...e.exParams};e.request({url:s,method:"get",params:f}).then(d=>{r.listData=d||[]})},a=s=>{t("change",s)};return g.onMounted(()=>{setTimeout(()=>{i()},50)}),{attrs:n,selectModel:o,...g.toRefs(r),handleSelectChange:a,getDataList:i}}});function AV(e,t,n,r,o,i){const a=g.resolveComponent("el-cascader");return g.openBlock(),g.createBlock(a,g.mergeProps({modelValue:e.selectModel,"onUpdate:modelValue":t[0]||(t[0]=s=>e.selectModel=s)},e.attrs,{options:e.listData,onChange:e.handleSelectChange}),null,16,["modelValue","options","onChange"])}const kV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(xV,[["render",AV]])},Symbol.toStringTag,{value:"Module"})),Ht={isObject(e){return{}.toString.call(e)==="[object Object]"},hasObject(e){return this.isObject(e)&&Object.keys(e).length>0},isFunction(e){return{}.toString.call(e)==="[object Function]"},isArray(e){return{}.toString.call(e)==="[object Array]"},hasArray(e){return this.isArray(e)&&e.length>0},isString(e){return{}.toString.call(e)==="[object String]"},isNumber(e){return{}.toString.call(e)==="[object Number]"},isValid(e){return e!==void 0&&e!==""&&e!==null||e===0||e===!1},sleep(e){return new Promise(t=>setTimeout(t,e))},isData(e){return this.hasArray(e)||this.hasObject(e)||this.isValid(e)},$local(e,t){const n=e||"userInfo";if(this.isValid(t))yb.set(n,t);else return yb.get(n)||!1},$localRemove(e){const t=e||"userInfo";yb.remove(t),_V.remove(t)},copy(e){return JSON.parse(JSON.stringify(e))},$getName(e,t){let n="";return Ht.hasArray(e)&&(e.map(r=>{n+=r[t]+"\u3001"}),n=n.substring(0,n.length-1)),n},delArrValue(e,t){return e.forEach((n,r)=>{n===t&&e.splice(r,1)}),e},setEmpty(e){if(this.hasObject(e))for(const t in e)(e[t]==null||e[t]===void 0)&&(e[t]="");return e},getBody(e){for(var t in e){const n=e[t];this.isValid(n)||delete e[t]}return e}},yb={set(e,t){let n=t;(Ht.isObject(t)||Ht.isArray(n))&&(n=JSON.stringify(n)),localStorage.setItem(e,n)},get(e){const t=localStorage.getItem(e);return Ht.isValid(t)?JSON.parse(t):!1},output(){console.log(localStorage)},remove(e){Ht.hasArray(e)?e.map(t=>{localStorage.removeItem(t)}):localStorage.removeItem(e)},clear(){localStorage.clear()}},_V={set(e,t){let n=t;(Ht.isObject(n)||Ht.isArray(n))&&(n=JSON.stringify(n)),sessionStorage.setItem(e,n)},get(e){const t=sessionStorage.getItem(e);return Ht.isValid(t)?JSON.parse(t):!1},output(){console.log(sessionStorage)},remove(e){Ht.hasArray(e)?e.map(t=>{sessionStorage.removeItem(t)}):sessionStorage.removeItem(e)},clear(){sessionStorage.clear()}};function OV(e=[]){const t=[];for(const n of e)if(t.indexOf(n)===-1){t.push(n);for(let r=0;r<t.length;r++)if(t[r].length>n.length&&t[r].includes(n)){t.pop();break}else if(t[r].length<n.length&&n.includes(t[r])){t.splice(r,1);break}}return t}function bb(e,t){return e.split(".").reduce((n,r)=>n&&n[r],t)}function rd(e,t="",n={},r={}){var o;if(r!=null&&r.valFun){if(Ht.isFunction(r.valFun))return r==null?void 0:r.valFun(n);throw new Error("valFun\u662F\u4E00\u4E2A\u51FD\u6570")}else return(o=r==null?void 0:r.prop)!=null&&o.includes(".")?bb(r==null?void 0:r.prop,n)||"-":r!=null&&r.options?r==null?void 0:r.options[e]:t?eu.default(e).format(t):e===null||e===""||e===void 0?"-":e}const fSe="",BV=g.defineComponent({name:"JwtColumnItem",props:{item:{type:Object,default:()=>{}},row:{type:Object,default:()=>{}},fillUrl:{type:Function,default:null},uploadUrl:{type:String,default:""},index:{type:Number,default:0}},emits:["emit","change","click-cell"],setup(e,{emit:t}){const n=g.computed({get:()=>e.row,set:s=>{console.log("value",s)}});return{appModel:n,filterVal:rd,handleEditRowProp:()=>{t("change",n.value,e.item)},handleFillUrl:(s,l)=>{var d;let f="";return(d=l==null?void 0:l.prop)!=null&&d.includes(".")?f=bb(l==null?void 0:l.prop,s):f=s[l.prop],e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(f):f},handleEditRow:(s,l,f=!0)=>{s[`isEdit${l.prop}`]=f},handleClickRow:()=>{t("click-cell",n.value,e.item)}}}}),TV={key:0,class:"fxm"},FV={key:0,class:"mr4"},PV={key:1,class:"ml4"},IV={key:1,class:"fxm"},NV={key:0,class:"mr4"},LV={key:1,class:"ml4"},RV={class:"image-slot wh fxmc"};function MV(e,t,n,r,o,i){var h,m,C,$,b;const a=g.resolveComponent("el-input"),s=g.resolveComponent("el-input-number"),l=g.resolveComponent("jwt-upload-image"),f=g.resolveComponent("el-switch"),d=g.resolveComponent("jwt-icon"),p=g.resolveComponent("el-image");return e.item.dateTimeFormat?(g.openBlock(),g.createElementBlock(g.Fragment,{key:0},[g.createTextVNode(g.toDisplayString(e.filterVal(e.appModel[e.item.prop],e.item.dateTimeFormat,e.row,e.item)),1)],64)):e.item.editType?(g.openBlock(),g.createElementBlock(g.Fragment,{key:1},[e.item.editType==="input"?(g.openBlock(),g.createElementBlock("div",TV,[e.item.preUnit?(g.openBlock(),g.createElementBlock("span",FV,g.toDisplayString(e.item.preUnit),1)):g.createCommentVNode("",!0),g.createVNode(a,g.mergeProps({modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[0]||(t[0]=w=>e.appModel[e.item.prop]=w),type:"text"},((h=e.item)==null?void 0:h.attrs)||{},{onKeydown:g.withKeys(e.handleEditRowProp,["enter"])}),null,16,["modelValue","onKeydown"]),e.item.sufUnit?(g.openBlock(),g.createElementBlock("span",PV,g.toDisplayString(e.item.sufUnit),1)):g.createCommentVNode("",!0)])):e.item.editType==="inputNumber"?(g.openBlock(),g.createElementBlock("div",IV,[e.item.preUnit?(g.openBlock(),g.createElementBlock("span",NV,g.toDisplayString(e.item.preUnit),1)):g.createCommentVNode("",!0),g.createVNode(s,g.mergeProps({modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[1]||(t[1]=w=>e.appModel[e.item.prop]=w),"controls-position":"right",min:0},((m=e.item)==null?void 0:m.attrs)||{},{onBlur:e.handleEditRowProp}),null,16,["modelValue","onBlur"]),e.item.sufUnit?(g.openBlock(),g.createElementBlock("span",LV,g.toDisplayString(e.item.sufUnit),1)):g.createCommentVNode("",!0)])):e.item.editType==="uploadImg"?(g.openBlock(),g.createBlock(l,{key:2,modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[2]||(t[2]=w=>e.appModel[e.item.prop]=w),"fill-url":e.fillUrl,"upload-url":e.uploadUrl,onOnChange:e.handleEditRowProp},null,8,["modelValue","fill-url","upload-url","onOnChange"])):e.item.editType==="switch"?(g.openBlock(),g.createBlock(f,g.mergeProps({key:3,modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[3]||(t[3]=w=>e.appModel[e.item.prop]=w),"active-value":1,"inactive-value":0},((C=e.item)==null?void 0:C.attrs)||{},{onChange:e.handleEditRowProp}),null,16,["modelValue","onChange"])):g.createCommentVNode("",!0)],64)):e.item.editInput?(g.openBlock(),g.createElementBlock(g.Fragment,{key:2},[g.withDirectives(g.createElementVNode("div",{onDblclick:t[4]||(t[4]=w=>e.handleEditRow(e.row,e.item))},g.toDisplayString(e.filterVal(e.row[e.item.prop],"",e.row,e.item)),545),[[g.vShow,!e.appModel[`isEdit${e.item.prop}`]]]),g.withDirectives(g.createVNode(a,g.mergeProps({modelValue:e.appModel[e.item.prop],"onUpdate:modelValue":t[5]||(t[5]=w=>e.appModel[e.item.prop]=w),type:"text"},(($=e.item)==null?void 0:$.attrs)||{},{onBlur:e.handleEditRowProp,onKeyup:g.withKeys(e.handleEditRowProp,["enter"])}),null,16,["modelValue","onBlur","onKeyup"]),[[g.vShow,e.appModel[`isEdit${e.item.prop}`]]])],64)):e.item.isImg?(g.openBlock(),g.createBlock(p,g.mergeProps({key:3,"preview-src-list":[e.handleFillUrl(e.row,e.item)],"preview-teleported":"",size:80,src:e.handleFillUrl(e.row,e.item),teleported:""},((b=e.item)==null?void 0:b.attrs)||{}),{error:g.withCtx(()=>[g.createElementVNode("div",RV,[g.createVNode(d,{class:"g9",icon:"image-line",style:{"font-size":"40px"}})])]),_:1},16,["preview-src-list","src"])):g.renderSlot(e.$slots,e.item.prop,{key:4,scope:e.row},()=>[g.createElementVNode("div",{class:"dl",onClick:t[6]||(t[6]=(...w)=>e.handleClickRow&&e.handleClickRow(...w))},[e.item.preUnit?(g.openBlock(),g.createElementBlock("span",{key:0,class:g.normalizeClass(e.item.preUnitCls)},g.toDisplayString(e.item.preUnit),3)):g.createCommentVNode("",!0),g.createElementVNode("span",{class:g.normalizeClass(e.item.class)},g.toDisplayString(e.filterVal(e.row[e.item.prop],"",e.row,e.item)),3),e.item.sufUnit?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(e.item.sufUnitCls)},g.toDisplayString(e.item.sufUnit),3)):g.createCommentVNode("",!0)])],!0)}const jV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(BV,[["render",MV],["__scopeId","data-v-9b24e1a1"]])},Symbol.toStringTag,{value:"Module"}));var od=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zV(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function VV(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Wr={exports:{}};/**
2
2
  * @license
3
3
  * Lodash <https://lodash.com/>
4
4
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
5
5
  * Released under MIT license <https://lodash.com/license>
6
6
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7
7
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
8
- */(function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",p=1,h=2,m=4,C=1,$=2,b=1,w=2,y=4,S=8,x=16,A=32,O=64,T=128,z=256,V=512,ue=30,oe="...",de=800,me=16,_e=1,Ee=2,Be=3,Fe=1/0,je=9007199254740991,Ue=17976931348623157e292,Oe=0/0,Je=4294967295,G=Je-1,H=Je>>>1,I=[["ary",T],["bind",b],["bindKey",w],["curry",S],["curryRight",x],["flip",V],["partial",A],["partialRight",O],["rearg",z]],L="[object Arguments]",Y="[object Array]",q="[object AsyncFunction]",B="[object Boolean]",ce="[object Date]",ge="[object DOMException]",Ae="[object Error]",j="[object Function]",ve="[object GeneratorFunction]",ae="[object Map]",X="[object Number]",te="[object Null]",pe="[object Object]",ye="[object Promise]",De="[object Proxy]",Le="[object RegExp]",Ve="[object Set]",ze="[object String]",ft="[object Symbol]",It="[object Undefined]",Ze="[object WeakMap]",At="[object WeakSet]",Dt="[object ArrayBuffer]",Bt="[object DataView]",hn="[object Float32Array]",Xt="[object Float64Array]",gn="[object Int8Array]",Ar="[object Int16Array]",Mr="[object Int32Array]",er="[object Uint8Array]",cr="[object Uint8ClampedArray]",kr="[object Uint16Array]",fr="[object Uint32Array]",wr=/\b__p \+= '';/g,tr=/\b(__p \+=) '' \+/g,oo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ui=/&(?:amp|lt|gt|quot|#39);/g,io=/[&<>"']/g,zi=RegExp(ui.source),No=RegExp(io.source),ao=/<%-([\s\S]+?)%>/g,jr=/<%([\s\S]+?)%>/g,li=/<%=([\s\S]+?)%>/g,Lo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rs=/^\w*$/,so=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vl=/[\\^$.*+?()[\]{}|]/g,Sg=RegExp(vl.source),yl=/^\s+/,kf=/\s/,bl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qn=/\{\n\/\* \[wrapped with (.+)\] \*/,Dg=/,? & /,xg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ag=/[()=,{}\[\]\/\s]/,kg=/\\(\\)?/g,_g=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gn=/\w*$/,Og=/^[-+]0x[0-9a-f]+$/i,Bg=/^0b[01]+$/i,Tg=/^\[object .+?Constructor\]$/,Fg=/^0o[0-7]+$/i,Pg=/^(?:0|[1-9]\d*)$/,$r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ms=/($^)/,Ig=/['\n\r\u2028\u2029\\]/g,js="\\ud800-\\udfff",Ng="\\u0300-\\u036f",Lg="\\ufe20-\\ufe2f",zs="\\u20d0-\\u20ff",wl=Ng+Lg+zs,pa="\\u2700-\\u27bf",uo="a-z\\xdf-\\xf6\\xf8-\\xff",$l="\\xac\\xb1\\xd7\\xf7",Rg="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Mg="\\u2000-\\u206f",jg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",_f="A-Z\\xc0-\\xd6\\xd8-\\xde",Of="\\ufe0e\\ufe0f",ha=$l+Rg+Mg+jg,ga="['\u2019]",ma="["+js+"]",Cl="["+ha+"]",va="["+wl+"]",Bf="\\d+",zg="["+pa+"]",Tf="["+uo+"]",Ff="[^"+js+ha+Bf+pa+uo+_f+"]",ya="\\ud83c[\\udffb-\\udfff]",Vg="(?:"+va+"|"+ya+")",Pf="[^"+js+"]",ci="(?:\\ud83c[\\udde6-\\uddff]){2}",_r="[\\ud800-\\udbff][\\udc00-\\udfff]",Cr="["+_f+"]",Ro="\\u200d",If="(?:"+Tf+"|"+Ff+")",Mo="(?:"+Cr+"|"+Ff+")",Nf="(?:"+ga+"(?:d|ll|m|re|s|t|ve))?",Lf="(?:"+ga+"(?:D|LL|M|RE|S|T|VE))?",Rf=Vg+"?",Mf="["+Of+"]?",jf="(?:"+Ro+"(?:"+[Pf,ci,_r].join("|")+")"+Mf+Rf+")*",dr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",El=Mf+Rf+jf,Vs="(?:"+[zg,ci,_r].join("|")+")"+El,Sl="(?:"+[Pf+va+"?",va,ci,_r,ma].join("|")+")",Us=RegExp(ga,"g"),Ug=RegExp(va,"g"),Hs=RegExp(ya+"(?="+ya+")|"+Sl+El,"g"),Dl=RegExp([Cr+"?"+Tf+"+"+Nf+"(?="+[Cl,Cr,"$"].join("|")+")",Mo+"+"+Lf+"(?="+[Cl,Cr+If,"$"].join("|")+")",Cr+"?"+If+"+"+Nf,Cr+"+"+Lf,zf,dr,Bf,Vs].join("|"),"g"),Vf=RegExp("["+Ro+js+wl+Of+"]"),jo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Uf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xl=-1,Mt={};Mt[hn]=Mt[Xt]=Mt[gn]=Mt[Ar]=Mt[Mr]=Mt[er]=Mt[cr]=Mt[kr]=Mt[fr]=!0,Mt[L]=Mt[Y]=Mt[Dt]=Mt[B]=Mt[Bt]=Mt[ce]=Mt[Ae]=Mt[j]=Mt[ae]=Mt[X]=Mt[pe]=Mt[Le]=Mt[Ve]=Mt[ze]=Mt[Ze]=!1;var Nt={};Nt[L]=Nt[Y]=Nt[Dt]=Nt[Bt]=Nt[B]=Nt[ce]=Nt[hn]=Nt[Xt]=Nt[gn]=Nt[Ar]=Nt[Mr]=Nt[ae]=Nt[X]=Nt[pe]=Nt[Le]=Nt[Ve]=Nt[ze]=Nt[ft]=Nt[er]=Nt[cr]=Nt[kr]=Nt[fr]=!0,Nt[Ae]=Nt[j]=Nt[Ze]=!1;var D={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},P={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},W={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ie={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qe=parseFloat,Me=parseInt,gt=typeof od=="object"&&od&&od.Object===Object&&od,Et=typeof self=="object"&&self&&self.Object===Object&&self,mt=gt||Et||Function("return this")(),xt=t&&!t.nodeType&&t,un=xt&&!0&&e&&!e.nodeType&&e,pr=un&&un.exports===xt,mn=pr&&gt.process,jt=function(){try{var Z=un&&un.require&&un.require("util").types;return Z||mn&&mn.binding&&mn.binding("util")}catch{}}(),Rn=jt&&jt.isArrayBuffer,fi=jt&&jt.isDate,zo=jt&&jt.isMap,Vi=jt&&jt.isRegExp,Hg=jt&&jt.isSet,Al=jt&&jt.isTypedArray;function nr(Z,se,ne){switch(ne.length){case 0:return Z.call(se);case 1:return Z.call(se,ne[0]);case 2:return Z.call(se,ne[0],ne[1]);case 3:return Z.call(se,ne[0],ne[1],ne[2])}return Z.apply(se,ne)}function _2e(Z,se,ne,Te){for(var rt=-1,Tt=Z==null?0:Z.length;++rt<Tt;){var Kn=Z[rt];se(Te,Kn,ne(Kn),Z)}return Te}function Vo(Z,se){for(var ne=-1,Te=Z==null?0:Z.length;++ne<Te&&se(Z[ne],ne,Z)!==!1;);return Z}function O2e(Z,se){for(var ne=Z==null?0:Z.length;ne--&&se(Z[ne],ne,Z)!==!1;);return Z}function Cj(Z,se){for(var ne=-1,Te=Z==null?0:Z.length;++ne<Te;)if(!se(Z[ne],ne,Z))return!1;return!0}function Ws(Z,se){for(var ne=-1,Te=Z==null?0:Z.length,rt=0,Tt=[];++ne<Te;){var Kn=Z[ne];se(Kn,ne,Z)&&(Tt[rt++]=Kn)}return Tt}function Fy(Z,se){var ne=Z==null?0:Z.length;return!!ne&&Hf(Z,se,0)>-1}function gD(Z,se,ne){for(var Te=-1,rt=Z==null?0:Z.length;++Te<rt;)if(ne(se,Z[Te]))return!0;return!1}function ln(Z,se){for(var ne=-1,Te=Z==null?0:Z.length,rt=Array(Te);++ne<Te;)rt[ne]=se(Z[ne],ne,Z);return rt}function qs(Z,se){for(var ne=-1,Te=se.length,rt=Z.length;++ne<Te;)Z[rt+ne]=se[ne];return Z}function mD(Z,se,ne,Te){var rt=-1,Tt=Z==null?0:Z.length;for(Te&&Tt&&(ne=Z[++rt]);++rt<Tt;)ne=se(ne,Z[rt],rt,Z);return ne}function B2e(Z,se,ne,Te){var rt=Z==null?0:Z.length;for(Te&&rt&&(ne=Z[--rt]);rt--;)ne=se(ne,Z[rt],rt,Z);return ne}function vD(Z,se){for(var ne=-1,Te=Z==null?0:Z.length;++ne<Te;)if(se(Z[ne],ne,Z))return!0;return!1}var T2e=yD("length");function F2e(Z){return Z.split("")}function P2e(Z){return Z.match(xg)||[]}function Ej(Z,se,ne){var Te;return ne(Z,function(rt,Tt,Kn){if(se(rt,Tt,Kn))return Te=Tt,!1}),Te}function Py(Z,se,ne,Te){for(var rt=Z.length,Tt=ne+(Te?1:-1);Te?Tt--:++Tt<rt;)if(se(Z[Tt],Tt,Z))return Tt;return-1}function Hf(Z,se,ne){return se===se?q2e(Z,se,ne):Py(Z,Sj,ne)}function I2e(Z,se,ne,Te){for(var rt=ne-1,Tt=Z.length;++rt<Tt;)if(Te(Z[rt],se))return rt;return-1}function Sj(Z){return Z!==Z}function Dj(Z,se){var ne=Z==null?0:Z.length;return ne?wD(Z,se)/ne:Oe}function yD(Z){return function(se){return se==null?n:se[Z]}}function bD(Z){return function(se){return Z==null?n:Z[se]}}function xj(Z,se,ne,Te,rt){return rt(Z,function(Tt,Kn,Kt){ne=Te?(Te=!1,Tt):se(ne,Tt,Kn,Kt)}),ne}function N2e(Z,se){var ne=Z.length;for(Z.sort(se);ne--;)Z[ne]=Z[ne].value;return Z}function wD(Z,se){for(var ne,Te=-1,rt=Z.length;++Te<rt;){var Tt=se(Z[Te]);Tt!==n&&(ne=ne===n?Tt:ne+Tt)}return ne}function $D(Z,se){for(var ne=-1,Te=Array(Z);++ne<Z;)Te[ne]=se(ne);return Te}function L2e(Z,se){return ln(se,function(ne){return[ne,Z[ne]]})}function Aj(Z){return Z&&Z.slice(0,Bj(Z)+1).replace(yl,"")}function lo(Z){return function(se){return Z(se)}}function CD(Z,se){return ln(se,function(ne){return Z[ne]})}function Wg(Z,se){return Z.has(se)}function kj(Z,se){for(var ne=-1,Te=Z.length;++ne<Te&&Hf(se,Z[ne],0)>-1;);return ne}function _j(Z,se){for(var ne=Z.length;ne--&&Hf(se,Z[ne],0)>-1;);return ne}function R2e(Z,se){for(var ne=Z.length,Te=0;ne--;)Z[ne]===se&&++Te;return Te}var M2e=bD(D),j2e=bD(P);function z2e(Z){return"\\"+ie[Z]}function V2e(Z,se){return Z==null?n:Z[se]}function Wf(Z){return Vf.test(Z)}function U2e(Z){return jo.test(Z)}function H2e(Z){for(var se,ne=[];!(se=Z.next()).done;)ne.push(se.value);return ne}function ED(Z){var se=-1,ne=Array(Z.size);return Z.forEach(function(Te,rt){ne[++se]=[rt,Te]}),ne}function Oj(Z,se){return function(ne){return Z(se(ne))}}function Gs(Z,se){for(var ne=-1,Te=Z.length,rt=0,Tt=[];++ne<Te;){var Kn=Z[ne];(Kn===se||Kn===d)&&(Z[ne]=d,Tt[rt++]=ne)}return Tt}function Iy(Z){var se=-1,ne=Array(Z.size);return Z.forEach(function(Te){ne[++se]=Te}),ne}function W2e(Z){var se=-1,ne=Array(Z.size);return Z.forEach(function(Te){ne[++se]=[Te,Te]}),ne}function q2e(Z,se,ne){for(var Te=ne-1,rt=Z.length;++Te<rt;)if(Z[Te]===se)return Te;return-1}function G2e(Z,se,ne){for(var Te=ne+1;Te--;)if(Z[Te]===se)return Te;return Te}function qf(Z){return Wf(Z)?Y2e(Z):T2e(Z)}function di(Z){return Wf(Z)?J2e(Z):F2e(Z)}function Bj(Z){for(var se=Z.length;se--&&kf.test(Z.charAt(se)););return se}var K2e=bD(W);function Y2e(Z){for(var se=Hs.lastIndex=0;Hs.test(Z);)++se;return se}function J2e(Z){return Z.match(Hs)||[]}function X2e(Z){return Z.match(Dl)||[]}var Z2e=function Z(se){se=se==null?mt:Gf.defaults(mt.Object(),se,Gf.pick(mt,Uf));var ne=se.Array,Te=se.Date,rt=se.Error,Tt=se.Function,Kn=se.Math,Kt=se.Object,SD=se.RegExp,Q2e=se.String,Uo=se.TypeError,Ny=ne.prototype,ewe=Tt.prototype,Kf=Kt.prototype,Ly=se["__core-js_shared__"],Ry=ewe.toString,zt=Kf.hasOwnProperty,twe=0,Tj=function(){var u=/[^.]+$/.exec(Ly&&Ly.keys&&Ly.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}(),My=Kf.toString,nwe=Ry.call(Kt),rwe=mt._,owe=SD("^"+Ry.call(zt).replace(vl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jy=pr?se.Buffer:n,Ks=se.Symbol,zy=se.Uint8Array,Fj=jy?jy.allocUnsafe:n,Vy=Oj(Kt.getPrototypeOf,Kt),Pj=Kt.create,Ij=Kf.propertyIsEnumerable,Uy=Ny.splice,Nj=Ks?Ks.isConcatSpreadable:n,qg=Ks?Ks.iterator:n,kl=Ks?Ks.toStringTag:n,Hy=function(){try{var u=Fl(Kt,"defineProperty");return u({},"",{}),u}catch{}}(),iwe=se.clearTimeout!==mt.clearTimeout&&se.clearTimeout,awe=Te&&Te.now!==mt.Date.now&&Te.now,swe=se.setTimeout!==mt.setTimeout&&se.setTimeout,Wy=Kn.ceil,qy=Kn.floor,DD=Kt.getOwnPropertySymbols,uwe=jy?jy.isBuffer:n,Lj=se.isFinite,lwe=Ny.join,cwe=Oj(Kt.keys,Kt),Yn=Kn.max,Er=Kn.min,fwe=Te.now,dwe=se.parseInt,Rj=Kn.random,pwe=Ny.reverse,xD=Fl(se,"DataView"),Gg=Fl(se,"Map"),AD=Fl(se,"Promise"),Yf=Fl(se,"Set"),Kg=Fl(se,"WeakMap"),Yg=Fl(Kt,"create"),Gy=Kg&&new Kg,Jf={},hwe=Pl(xD),gwe=Pl(Gg),mwe=Pl(AD),vwe=Pl(Yf),ywe=Pl(Kg),Ky=Ks?Ks.prototype:n,Jg=Ky?Ky.valueOf:n,Mj=Ky?Ky.toString:n;function F(u){if(wn(u)&&!ot(u)&&!(u instanceof wt)){if(u instanceof Ho)return u;if(zt.call(u,"__wrapped__"))return jz(u)}return new Ho(u)}var Xf=function(){function u(){}return function(c){if(!vn(c))return{};if(Pj)return Pj(c);u.prototype=c;var v=new u;return u.prototype=n,v}}();function Yy(){}function Ho(u,c){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!c,this.__index__=0,this.__values__=n}F.templateSettings={escape:ao,evaluate:jr,interpolate:li,variable:"",imports:{_:F}},F.prototype=Yy.prototype,F.prototype.constructor=F,Ho.prototype=Xf(Yy.prototype),Ho.prototype.constructor=Ho;function wt(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Je,this.__views__=[]}function bwe(){var u=new wt(this.__wrapped__);return u.__actions__=zr(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=zr(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=zr(this.__views__),u}function wwe(){if(this.__filtered__){var u=new wt(this);u.__dir__=-1,u.__filtered__=!0}else u=this.clone(),u.__dir__*=-1;return u}function $we(){var u=this.__wrapped__.value(),c=this.__dir__,v=ot(u),E=c<0,k=v?u.length:0,N=F4e(0,k,this.__views__),M=N.start,K=N.end,Q=K-M,le=E?K:M-1,fe=this.__iteratees__,he=fe.length,ke=0,Re=Er(Q,this.__takeCount__);if(!v||!E&&k==Q&&Re==Q)return lz(u,this.__actions__);var qe=[];e:for(;Q--&&ke<Re;){le+=c;for(var dt=-1,Ge=u[le];++dt<he;){var vt=fe[dt],St=vt.iteratee,po=vt.type,Tr=St(Ge);if(po==Ee)Ge=Tr;else if(!Tr){if(po==_e)continue e;break e}}qe[ke++]=Ge}return qe}wt.prototype=Xf(Yy.prototype),wt.prototype.constructor=wt;function _l(u){var c=-1,v=u==null?0:u.length;for(this.clear();++c<v;){var E=u[c];this.set(E[0],E[1])}}function Cwe(){this.__data__=Yg?Yg(null):{},this.size=0}function Ewe(u){var c=this.has(u)&&delete this.__data__[u];return this.size-=c?1:0,c}function Swe(u){var c=this.__data__;if(Yg){var v=c[u];return v===l?n:v}return zt.call(c,u)?c[u]:n}function Dwe(u){var c=this.__data__;return Yg?c[u]!==n:zt.call(c,u)}function xwe(u,c){var v=this.__data__;return this.size+=this.has(u)?0:1,v[u]=Yg&&c===n?l:c,this}_l.prototype.clear=Cwe,_l.prototype.delete=Ewe,_l.prototype.get=Swe,_l.prototype.has=Dwe,_l.prototype.set=xwe;function ba(u){var c=-1,v=u==null?0:u.length;for(this.clear();++c<v;){var E=u[c];this.set(E[0],E[1])}}function Awe(){this.__data__=[],this.size=0}function kwe(u){var c=this.__data__,v=Jy(c,u);if(v<0)return!1;var E=c.length-1;return v==E?c.pop():Uy.call(c,v,1),--this.size,!0}function _we(u){var c=this.__data__,v=Jy(c,u);return v<0?n:c[v][1]}function Owe(u){return Jy(this.__data__,u)>-1}function Bwe(u,c){var v=this.__data__,E=Jy(v,u);return E<0?(++this.size,v.push([u,c])):v[E][1]=c,this}ba.prototype.clear=Awe,ba.prototype.delete=kwe,ba.prototype.get=_we,ba.prototype.has=Owe,ba.prototype.set=Bwe;function wa(u){var c=-1,v=u==null?0:u.length;for(this.clear();++c<v;){var E=u[c];this.set(E[0],E[1])}}function Twe(){this.size=0,this.__data__={hash:new _l,map:new(Gg||ba),string:new _l}}function Fwe(u){var c=ub(this,u).delete(u);return this.size-=c?1:0,c}function Pwe(u){return ub(this,u).get(u)}function Iwe(u){return ub(this,u).has(u)}function Nwe(u,c){var v=ub(this,u),E=v.size;return v.set(u,c),this.size+=v.size==E?0:1,this}wa.prototype.clear=Twe,wa.prototype.delete=Fwe,wa.prototype.get=Pwe,wa.prototype.has=Iwe,wa.prototype.set=Nwe;function Ol(u){var c=-1,v=u==null?0:u.length;for(this.__data__=new wa;++c<v;)this.add(u[c])}function Lwe(u){return this.__data__.set(u,l),this}function Rwe(u){return this.__data__.has(u)}Ol.prototype.add=Ol.prototype.push=Lwe,Ol.prototype.has=Rwe;function pi(u){var c=this.__data__=new ba(u);this.size=c.size}function Mwe(){this.__data__=new ba,this.size=0}function jwe(u){var c=this.__data__,v=c.delete(u);return this.size=c.size,v}function zwe(u){return this.__data__.get(u)}function Vwe(u){return this.__data__.has(u)}function Uwe(u,c){var v=this.__data__;if(v instanceof ba){var E=v.__data__;if(!Gg||E.length<o-1)return E.push([u,c]),this.size=++v.size,this;v=this.__data__=new wa(E)}return v.set(u,c),this.size=v.size,this}pi.prototype.clear=Mwe,pi.prototype.delete=jwe,pi.prototype.get=zwe,pi.prototype.has=Vwe,pi.prototype.set=Uwe;function jj(u,c){var v=ot(u),E=!v&&Il(u),k=!v&&!E&&Qs(u),N=!v&&!E&&!k&&td(u),M=v||E||k||N,K=M?$D(u.length,Q2e):[],Q=K.length;for(var le in u)(c||zt.call(u,le))&&!(M&&(le=="length"||k&&(le=="offset"||le=="parent")||N&&(le=="buffer"||le=="byteLength"||le=="byteOffset")||Sa(le,Q)))&&K.push(le);return K}function zj(u){var c=u.length;return c?u[RD(0,c-1)]:n}function Hwe(u,c){return lb(zr(u),Bl(c,0,u.length))}function Wwe(u){return lb(zr(u))}function kD(u,c,v){(v!==n&&!hi(u[c],v)||v===n&&!(c in u))&&$a(u,c,v)}function Xg(u,c,v){var E=u[c];(!(zt.call(u,c)&&hi(E,v))||v===n&&!(c in u))&&$a(u,c,v)}function Jy(u,c){for(var v=u.length;v--;)if(hi(u[v][0],c))return v;return-1}function qwe(u,c,v,E){return Ys(u,function(k,N,M){c(E,k,v(k),M)}),E}function Vj(u,c){return u&&Hi(c,rr(c),u)}function Gwe(u,c){return u&&Hi(c,Ur(c),u)}function $a(u,c,v){c=="__proto__"&&Hy?Hy(u,c,{configurable:!0,enumerable:!0,value:v,writable:!0}):u[c]=v}function _D(u,c){for(var v=-1,E=c.length,k=ne(E),N=u==null;++v<E;)k[v]=N?n:lx(u,c[v]);return k}function Bl(u,c,v){return u===u&&(v!==n&&(u=u<=v?u:v),c!==n&&(u=u>=c?u:c)),u}function Wo(u,c,v,E,k,N){var M,K=c&p,Q=c&h,le=c&m;if(v&&(M=k?v(u,E,k,N):v(u)),M!==n)return M;if(!vn(u))return u;var fe=ot(u);if(fe){if(M=I4e(u),!K)return zr(u,M)}else{var he=Sr(u),ke=he==j||he==ve;if(Qs(u))return dz(u,K);if(he==pe||he==L||ke&&!k){if(M=Q||ke?{}:Bz(u),!K)return Q?S4e(u,Gwe(M,u)):E4e(u,Vj(M,u))}else{if(!Nt[he])return k?u:{};M=N4e(u,he,K)}}N||(N=new pi);var Re=N.get(u);if(Re)return Re;N.set(u,M),aV(u)?u.forEach(function(Ge){M.add(Wo(Ge,c,v,Ge,u,N))}):oV(u)&&u.forEach(function(Ge,vt){M.set(vt,Wo(Ge,c,v,vt,u,N))});var qe=le?Q?YD:KD:Q?Ur:rr,dt=fe?n:qe(u);return Vo(dt||u,function(Ge,vt){dt&&(vt=Ge,Ge=u[vt]),Xg(M,vt,Wo(Ge,c,v,vt,u,N))}),M}function Kwe(u){var c=rr(u);return function(v){return Uj(v,u,c)}}function Uj(u,c,v){var E=v.length;if(u==null)return!E;for(u=Kt(u);E--;){var k=v[E],N=c[k],M=u[k];if(M===n&&!(k in u)||!N(M))return!1}return!0}function Hj(u,c,v){if(typeof u!="function")throw new Uo(a);return o0(function(){u.apply(n,v)},c)}function Zg(u,c,v,E){var k=-1,N=Fy,M=!0,K=u.length,Q=[],le=c.length;if(!K)return Q;v&&(c=ln(c,lo(v))),E?(N=gD,M=!1):c.length>=o&&(N=Wg,M=!1,c=new Ol(c));e:for(;++k<K;){var fe=u[k],he=v==null?fe:v(fe);if(fe=E||fe!==0?fe:0,M&&he===he){for(var ke=le;ke--;)if(c[ke]===he)continue e;Q.push(fe)}else N(c,he,E)||Q.push(fe)}return Q}var Ys=vz(Ui),Wj=vz(BD,!0);function Ywe(u,c){var v=!0;return Ys(u,function(E,k,N){return v=!!c(E,k,N),v}),v}function Xy(u,c,v){for(var E=-1,k=u.length;++E<k;){var N=u[E],M=c(N);if(M!=null&&(K===n?M===M&&!fo(M):v(M,K)))var K=M,Q=N}return Q}function Jwe(u,c,v,E){var k=u.length;for(v=ut(v),v<0&&(v=-v>k?0:k+v),E=E===n||E>k?k:ut(E),E<0&&(E+=k),E=v>E?0:uV(E);v<E;)u[v++]=c;return u}function qj(u,c){var v=[];return Ys(u,function(E,k,N){c(E,k,N)&&v.push(E)}),v}function hr(u,c,v,E,k){var N=-1,M=u.length;for(v||(v=R4e),k||(k=[]);++N<M;){var K=u[N];c>0&&v(K)?c>1?hr(K,c-1,v,E,k):qs(k,K):E||(k[k.length]=K)}return k}var OD=yz(),Gj=yz(!0);function Ui(u,c){return u&&OD(u,c,rr)}function BD(u,c){return u&&Gj(u,c,rr)}function Zy(u,c){return Ws(c,function(v){return Da(u[v])})}function Tl(u,c){c=Xs(c,u);for(var v=0,E=c.length;u!=null&&v<E;)u=u[Wi(c[v++])];return v&&v==E?u:n}function Kj(u,c,v){var E=c(u);return ot(u)?E:qs(E,v(u))}function Or(u){return u==null?u===n?It:te:kl&&kl in Kt(u)?T4e(u):W4e(u)}function TD(u,c){return u>c}function Xwe(u,c){return u!=null&&zt.call(u,c)}function Zwe(u,c){return u!=null&&c in Kt(u)}function Qwe(u,c,v){return u>=Er(c,v)&&u<Yn(c,v)}function FD(u,c,v){for(var E=v?gD:Fy,k=u[0].length,N=u.length,M=N,K=ne(N),Q=1/0,le=[];M--;){var fe=u[M];M&&c&&(fe=ln(fe,lo(c))),Q=Er(fe.length,Q),K[M]=!v&&(c||k>=120&&fe.length>=120)?new Ol(M&&fe):n}fe=u[0];var he=-1,ke=K[0];e:for(;++he<k&&le.length<Q;){var Re=fe[he],qe=c?c(Re):Re;if(Re=v||Re!==0?Re:0,!(ke?Wg(ke,qe):E(le,qe,v))){for(M=N;--M;){var dt=K[M];if(!(dt?Wg(dt,qe):E(u[M],qe,v)))continue e}ke&&ke.push(qe),le.push(Re)}}return le}function e4e(u,c,v,E){return Ui(u,function(k,N,M){c(E,v(k),N,M)}),E}function Qg(u,c,v){c=Xs(c,u),u=Iz(u,c);var E=u==null?u:u[Wi(Go(c))];return E==null?n:nr(E,u,v)}function Yj(u){return wn(u)&&Or(u)==L}function t4e(u){return wn(u)&&Or(u)==Dt}function n4e(u){return wn(u)&&Or(u)==ce}function e0(u,c,v,E,k){return u===c?!0:u==null||c==null||!wn(u)&&!wn(c)?u!==u&&c!==c:r4e(u,c,v,E,e0,k)}function r4e(u,c,v,E,k,N){var M=ot(u),K=ot(c),Q=M?Y:Sr(u),le=K?Y:Sr(c);Q=Q==L?pe:Q,le=le==L?pe:le;var fe=Q==pe,he=le==pe,ke=Q==le;if(ke&&Qs(u)){if(!Qs(c))return!1;M=!0,fe=!1}if(ke&&!fe)return N||(N=new pi),M||td(u)?kz(u,c,v,E,k,N):O4e(u,c,Q,v,E,k,N);if(!(v&C)){var Re=fe&&zt.call(u,"__wrapped__"),qe=he&&zt.call(c,"__wrapped__");if(Re||qe){var dt=Re?u.value():u,Ge=qe?c.value():c;return N||(N=new pi),k(dt,Ge,v,E,N)}}return ke?(N||(N=new pi),B4e(u,c,v,E,k,N)):!1}function o4e(u){return wn(u)&&Sr(u)==ae}function PD(u,c,v,E){var k=v.length,N=k,M=!E;if(u==null)return!N;for(u=Kt(u);k--;){var K=v[k];if(M&&K[2]?K[1]!==u[K[0]]:!(K[0]in u))return!1}for(;++k<N;){K=v[k];var Q=K[0],le=u[Q],fe=K[1];if(M&&K[2]){if(le===n&&!(Q in u))return!1}else{var he=new pi;if(E)var ke=E(le,fe,Q,u,c,he);if(!(ke===n?e0(fe,le,C|$,E,he):ke))return!1}}return!0}function Jj(u){if(!vn(u)||j4e(u))return!1;var c=Da(u)?owe:Tg;return c.test(Pl(u))}function i4e(u){return wn(u)&&Or(u)==Le}function a4e(u){return wn(u)&&Sr(u)==Ve}function s4e(u){return wn(u)&&gb(u.length)&&!!Mt[Or(u)]}function Xj(u){return typeof u=="function"?u:u==null?Hr:typeof u=="object"?ot(u)?ez(u[0],u[1]):Qj(u):bV(u)}function ID(u){if(!r0(u))return cwe(u);var c=[];for(var v in Kt(u))zt.call(u,v)&&v!="constructor"&&c.push(v);return c}function u4e(u){if(!vn(u))return H4e(u);var c=r0(u),v=[];for(var E in u)E=="constructor"&&(c||!zt.call(u,E))||v.push(E);return v}function ND(u,c){return u<c}function Zj(u,c){var v=-1,E=Vr(u)?ne(u.length):[];return Ys(u,function(k,N,M){E[++v]=c(k,N,M)}),E}function Qj(u){var c=XD(u);return c.length==1&&c[0][2]?Fz(c[0][0],c[0][1]):function(v){return v===u||PD(v,u,c)}}function ez(u,c){return QD(u)&&Tz(c)?Fz(Wi(u),c):function(v){var E=lx(v,u);return E===n&&E===c?cx(v,u):e0(c,E,C|$)}}function Qy(u,c,v,E,k){u!==c&&OD(c,function(N,M){if(k||(k=new pi),vn(N))l4e(u,c,M,v,Qy,E,k);else{var K=E?E(tx(u,M),N,M+"",u,c,k):n;K===n&&(K=N),kD(u,M,K)}},Ur)}function l4e(u,c,v,E,k,N,M){var K=tx(u,v),Q=tx(c,v),le=M.get(Q);if(le){kD(u,v,le);return}var fe=N?N(K,Q,v+"",u,c,M):n,he=fe===n;if(he){var ke=ot(Q),Re=!ke&&Qs(Q),qe=!ke&&!Re&&td(Q);fe=Q,ke||Re||qe?ot(K)?fe=K:xn(K)?fe=zr(K):Re?(he=!1,fe=dz(Q,!0)):qe?(he=!1,fe=pz(Q,!0)):fe=[]:i0(Q)||Il(Q)?(fe=K,Il(K)?fe=lV(K):(!vn(K)||Da(K))&&(fe=Bz(Q))):he=!1}he&&(M.set(Q,fe),k(fe,Q,E,N,M),M.delete(Q)),kD(u,v,fe)}function tz(u,c){var v=u.length;if(!!v)return c+=c<0?v:0,Sa(c,v)?u[c]:n}function nz(u,c,v){c.length?c=ln(c,function(N){return ot(N)?function(M){return Tl(M,N.length===1?N[0]:N)}:N}):c=[Hr];var E=-1;c=ln(c,lo(He()));var k=Zj(u,function(N,M,K){var Q=ln(c,function(le){return le(N)});return{criteria:Q,index:++E,value:N}});return N2e(k,function(N,M){return C4e(N,M,v)})}function c4e(u,c){return rz(u,c,function(v,E){return cx(u,E)})}function rz(u,c,v){for(var E=-1,k=c.length,N={};++E<k;){var M=c[E],K=Tl(u,M);v(K,M)&&t0(N,Xs(M,u),K)}return N}function f4e(u){return function(c){return Tl(c,u)}}function LD(u,c,v,E){var k=E?I2e:Hf,N=-1,M=c.length,K=u;for(u===c&&(c=zr(c)),v&&(K=ln(u,lo(v)));++N<M;)for(var Q=0,le=c[N],fe=v?v(le):le;(Q=k(K,fe,Q,E))>-1;)K!==u&&Uy.call(K,Q,1),Uy.call(u,Q,1);return u}function oz(u,c){for(var v=u?c.length:0,E=v-1;v--;){var k=c[v];if(v==E||k!==N){var N=k;Sa(k)?Uy.call(u,k,1):zD(u,k)}}return u}function RD(u,c){return u+qy(Rj()*(c-u+1))}function d4e(u,c,v,E){for(var k=-1,N=Yn(Wy((c-u)/(v||1)),0),M=ne(N);N--;)M[E?N:++k]=u,u+=v;return M}function MD(u,c){var v="";if(!u||c<1||c>je)return v;do c%2&&(v+=u),c=qy(c/2),c&&(u+=u);while(c);return v}function ht(u,c){return nx(Pz(u,c,Hr),u+"")}function p4e(u){return zj(nd(u))}function h4e(u,c){var v=nd(u);return lb(v,Bl(c,0,v.length))}function t0(u,c,v,E){if(!vn(u))return u;c=Xs(c,u);for(var k=-1,N=c.length,M=N-1,K=u;K!=null&&++k<N;){var Q=Wi(c[k]),le=v;if(Q==="__proto__"||Q==="constructor"||Q==="prototype")return u;if(k!=M){var fe=K[Q];le=E?E(fe,Q,K):n,le===n&&(le=vn(fe)?fe:Sa(c[k+1])?[]:{})}Xg(K,Q,le),K=K[Q]}return u}var iz=Gy?function(u,c){return Gy.set(u,c),u}:Hr,g4e=Hy?function(u,c){return Hy(u,"toString",{configurable:!0,enumerable:!1,value:dx(c),writable:!0})}:Hr;function m4e(u){return lb(nd(u))}function qo(u,c,v){var E=-1,k=u.length;c<0&&(c=-c>k?0:k+c),v=v>k?k:v,v<0&&(v+=k),k=c>v?0:v-c>>>0,c>>>=0;for(var N=ne(k);++E<k;)N[E]=u[E+c];return N}function v4e(u,c){var v;return Ys(u,function(E,k,N){return v=c(E,k,N),!v}),!!v}function eb(u,c,v){var E=0,k=u==null?E:u.length;if(typeof c=="number"&&c===c&&k<=H){for(;E<k;){var N=E+k>>>1,M=u[N];M!==null&&!fo(M)&&(v?M<=c:M<c)?E=N+1:k=N}return k}return jD(u,c,Hr,v)}function jD(u,c,v,E){var k=0,N=u==null?0:u.length;if(N===0)return 0;c=v(c);for(var M=c!==c,K=c===null,Q=fo(c),le=c===n;k<N;){var fe=qy((k+N)/2),he=v(u[fe]),ke=he!==n,Re=he===null,qe=he===he,dt=fo(he);if(M)var Ge=E||qe;else le?Ge=qe&&(E||ke):K?Ge=qe&&ke&&(E||!Re):Q?Ge=qe&&ke&&!Re&&(E||!dt):Re||dt?Ge=!1:Ge=E?he<=c:he<c;Ge?k=fe+1:N=fe}return Er(N,G)}function az(u,c){for(var v=-1,E=u.length,k=0,N=[];++v<E;){var M=u[v],K=c?c(M):M;if(!v||!hi(K,Q)){var Q=K;N[k++]=M===0?0:M}}return N}function sz(u){return typeof u=="number"?u:fo(u)?Oe:+u}function co(u){if(typeof u=="string")return u;if(ot(u))return ln(u,co)+"";if(fo(u))return Mj?Mj.call(u):"";var c=u+"";return c=="0"&&1/u==-Fe?"-0":c}function Js(u,c,v){var E=-1,k=Fy,N=u.length,M=!0,K=[],Q=K;if(v)M=!1,k=gD;else if(N>=o){var le=c?null:k4e(u);if(le)return Iy(le);M=!1,k=Wg,Q=new Ol}else Q=c?[]:K;e:for(;++E<N;){var fe=u[E],he=c?c(fe):fe;if(fe=v||fe!==0?fe:0,M&&he===he){for(var ke=Q.length;ke--;)if(Q[ke]===he)continue e;c&&Q.push(he),K.push(fe)}else k(Q,he,v)||(Q!==K&&Q.push(he),K.push(fe))}return K}function zD(u,c){return c=Xs(c,u),u=Iz(u,c),u==null||delete u[Wi(Go(c))]}function uz(u,c,v,E){return t0(u,c,v(Tl(u,c)),E)}function tb(u,c,v,E){for(var k=u.length,N=E?k:-1;(E?N--:++N<k)&&c(u[N],N,u););return v?qo(u,E?0:N,E?N+1:k):qo(u,E?N+1:0,E?k:N)}function lz(u,c){var v=u;return v instanceof wt&&(v=v.value()),mD(c,function(E,k){return k.func.apply(k.thisArg,qs([E],k.args))},v)}function VD(u,c,v){var E=u.length;if(E<2)return E?Js(u[0]):[];for(var k=-1,N=ne(E);++k<E;)for(var M=u[k],K=-1;++K<E;)K!=k&&(N[k]=Zg(N[k]||M,u[K],c,v));return Js(hr(N,1),c,v)}function cz(u,c,v){for(var E=-1,k=u.length,N=c.length,M={};++E<k;){var K=E<N?c[E]:n;v(M,u[E],K)}return M}function UD(u){return xn(u)?u:[]}function HD(u){return typeof u=="function"?u:Hr}function Xs(u,c){return ot(u)?u:QD(u,c)?[u]:Mz(Lt(u))}var y4e=ht;function Zs(u,c,v){var E=u.length;return v=v===n?E:v,!c&&v>=E?u:qo(u,c,v)}var fz=iwe||function(u){return mt.clearTimeout(u)};function dz(u,c){if(c)return u.slice();var v=u.length,E=Fj?Fj(v):new u.constructor(v);return u.copy(E),E}function WD(u){var c=new u.constructor(u.byteLength);return new zy(c).set(new zy(u)),c}function b4e(u,c){var v=c?WD(u.buffer):u.buffer;return new u.constructor(v,u.byteOffset,u.byteLength)}function w4e(u){var c=new u.constructor(u.source,Gn.exec(u));return c.lastIndex=u.lastIndex,c}function $4e(u){return Jg?Kt(Jg.call(u)):{}}function pz(u,c){var v=c?WD(u.buffer):u.buffer;return new u.constructor(v,u.byteOffset,u.length)}function hz(u,c){if(u!==c){var v=u!==n,E=u===null,k=u===u,N=fo(u),M=c!==n,K=c===null,Q=c===c,le=fo(c);if(!K&&!le&&!N&&u>c||N&&M&&Q&&!K&&!le||E&&M&&Q||!v&&Q||!k)return 1;if(!E&&!N&&!le&&u<c||le&&v&&k&&!E&&!N||K&&v&&k||!M&&k||!Q)return-1}return 0}function C4e(u,c,v){for(var E=-1,k=u.criteria,N=c.criteria,M=k.length,K=v.length;++E<M;){var Q=hz(k[E],N[E]);if(Q){if(E>=K)return Q;var le=v[E];return Q*(le=="desc"?-1:1)}}return u.index-c.index}function gz(u,c,v,E){for(var k=-1,N=u.length,M=v.length,K=-1,Q=c.length,le=Yn(N-M,0),fe=ne(Q+le),he=!E;++K<Q;)fe[K]=c[K];for(;++k<M;)(he||k<N)&&(fe[v[k]]=u[k]);for(;le--;)fe[K++]=u[k++];return fe}function mz(u,c,v,E){for(var k=-1,N=u.length,M=-1,K=v.length,Q=-1,le=c.length,fe=Yn(N-K,0),he=ne(fe+le),ke=!E;++k<fe;)he[k]=u[k];for(var Re=k;++Q<le;)he[Re+Q]=c[Q];for(;++M<K;)(ke||k<N)&&(he[Re+v[M]]=u[k++]);return he}function zr(u,c){var v=-1,E=u.length;for(c||(c=ne(E));++v<E;)c[v]=u[v];return c}function Hi(u,c,v,E){var k=!v;v||(v={});for(var N=-1,M=c.length;++N<M;){var K=c[N],Q=E?E(v[K],u[K],K,v,u):n;Q===n&&(Q=u[K]),k?$a(v,K,Q):Xg(v,K,Q)}return v}function E4e(u,c){return Hi(u,ZD(u),c)}function S4e(u,c){return Hi(u,_z(u),c)}function nb(u,c){return function(v,E){var k=ot(v)?_2e:qwe,N=c?c():{};return k(v,u,He(E,2),N)}}function Zf(u){return ht(function(c,v){var E=-1,k=v.length,N=k>1?v[k-1]:n,M=k>2?v[2]:n;for(N=u.length>3&&typeof N=="function"?(k--,N):n,M&&Br(v[0],v[1],M)&&(N=k<3?n:N,k=1),c=Kt(c);++E<k;){var K=v[E];K&&u(c,K,E,N)}return c})}function vz(u,c){return function(v,E){if(v==null)return v;if(!Vr(v))return u(v,E);for(var k=v.length,N=c?k:-1,M=Kt(v);(c?N--:++N<k)&&E(M[N],N,M)!==!1;);return v}}function yz(u){return function(c,v,E){for(var k=-1,N=Kt(c),M=E(c),K=M.length;K--;){var Q=M[u?K:++k];if(v(N[Q],Q,N)===!1)break}return c}}function D4e(u,c,v){var E=c&b,k=n0(u);function N(){var M=this&&this!==mt&&this instanceof N?k:u;return M.apply(E?v:this,arguments)}return N}function bz(u){return function(c){c=Lt(c);var v=Wf(c)?di(c):n,E=v?v[0]:c.charAt(0),k=v?Zs(v,1).join(""):c.slice(1);return E[u]()+k}}function Qf(u){return function(c){return mD(vV(mV(c).replace(Us,"")),u,"")}}function n0(u){return function(){var c=arguments;switch(c.length){case 0:return new u;case 1:return new u(c[0]);case 2:return new u(c[0],c[1]);case 3:return new u(c[0],c[1],c[2]);case 4:return new u(c[0],c[1],c[2],c[3]);case 5:return new u(c[0],c[1],c[2],c[3],c[4]);case 6:return new u(c[0],c[1],c[2],c[3],c[4],c[5]);case 7:return new u(c[0],c[1],c[2],c[3],c[4],c[5],c[6])}var v=Xf(u.prototype),E=u.apply(v,c);return vn(E)?E:v}}function x4e(u,c,v){var E=n0(u);function k(){for(var N=arguments.length,M=ne(N),K=N,Q=ed(k);K--;)M[K]=arguments[K];var le=N<3&&M[0]!==Q&&M[N-1]!==Q?[]:Gs(M,Q);if(N-=le.length,N<v)return Sz(u,c,rb,k.placeholder,n,M,le,n,n,v-N);var fe=this&&this!==mt&&this instanceof k?E:u;return nr(fe,this,M)}return k}function wz(u){return function(c,v,E){var k=Kt(c);if(!Vr(c)){var N=He(v,3);c=rr(c),v=function(K){return N(k[K],K,k)}}var M=u(c,v,E);return M>-1?k[N?c[M]:M]:n}}function $z(u){return Ea(function(c){var v=c.length,E=v,k=Ho.prototype.thru;for(u&&c.reverse();E--;){var N=c[E];if(typeof N!="function")throw new Uo(a);if(k&&!M&&sb(N)=="wrapper")var M=new Ho([],!0)}for(E=M?E:v;++E<v;){N=c[E];var K=sb(N),Q=K=="wrapper"?JD(N):n;Q&&ex(Q[0])&&Q[1]==(T|S|A|z)&&!Q[4].length&&Q[9]==1?M=M[sb(Q[0])].apply(M,Q[3]):M=N.length==1&&ex(N)?M[K]():M.thru(N)}return function(){var le=arguments,fe=le[0];if(M&&le.length==1&&ot(fe))return M.plant(fe).value();for(var he=0,ke=v?c[he].apply(this,le):fe;++he<v;)ke=c[he].call(this,ke);return ke}})}function rb(u,c,v,E,k,N,M,K,Q,le){var fe=c&T,he=c&b,ke=c&w,Re=c&(S|x),qe=c&V,dt=ke?n:n0(u);function Ge(){for(var vt=arguments.length,St=ne(vt),po=vt;po--;)St[po]=arguments[po];if(Re)var Tr=ed(Ge),ho=R2e(St,Tr);if(E&&(St=gz(St,E,k,Re)),N&&(St=mz(St,N,M,Re)),vt-=ho,Re&&vt<le){var An=Gs(St,Tr);return Sz(u,c,rb,Ge.placeholder,v,St,An,K,Q,le-vt)}var gi=he?v:this,Aa=ke?gi[u]:u;return vt=St.length,K?St=q4e(St,K):qe&&vt>1&&St.reverse(),fe&&Q<vt&&(St.length=Q),this&&this!==mt&&this instanceof Ge&&(Aa=dt||n0(Aa)),Aa.apply(gi,St)}return Ge}function Cz(u,c){return function(v,E){return e4e(v,u,c(E),{})}}function ob(u,c){return function(v,E){var k;if(v===n&&E===n)return c;if(v!==n&&(k=v),E!==n){if(k===n)return E;typeof v=="string"||typeof E=="string"?(v=co(v),E=co(E)):(v=sz(v),E=sz(E)),k=u(v,E)}return k}}function qD(u){return Ea(function(c){return c=ln(c,lo(He())),ht(function(v){var E=this;return u(c,function(k){return nr(k,E,v)})})})}function ib(u,c){c=c===n?" ":co(c);var v=c.length;if(v<2)return v?MD(c,u):c;var E=MD(c,Wy(u/qf(c)));return Wf(c)?Zs(di(E),0,u).join(""):E.slice(0,u)}function A4e(u,c,v,E){var k=c&b,N=n0(u);function M(){for(var K=-1,Q=arguments.length,le=-1,fe=E.length,he=ne(fe+Q),ke=this&&this!==mt&&this instanceof M?N:u;++le<fe;)he[le]=E[le];for(;Q--;)he[le++]=arguments[++K];return nr(ke,k?v:this,he)}return M}function Ez(u){return function(c,v,E){return E&&typeof E!="number"&&Br(c,v,E)&&(v=E=n),c=xa(c),v===n?(v=c,c=0):v=xa(v),E=E===n?c<v?1:-1:xa(E),d4e(c,v,E,u)}}function ab(u){return function(c,v){return typeof c=="string"&&typeof v=="string"||(c=Ko(c),v=Ko(v)),u(c,v)}}function Sz(u,c,v,E,k,N,M,K,Q,le){var fe=c&S,he=fe?M:n,ke=fe?n:M,Re=fe?N:n,qe=fe?n:N;c|=fe?A:O,c&=~(fe?O:A),c&y||(c&=~(b|w));var dt=[u,c,k,Re,he,qe,ke,K,Q,le],Ge=v.apply(n,dt);return ex(u)&&Nz(Ge,dt),Ge.placeholder=E,Lz(Ge,u,c)}function GD(u){var c=Kn[u];return function(v,E){if(v=Ko(v),E=E==null?0:Er(ut(E),292),E&&Lj(v)){var k=(Lt(v)+"e").split("e"),N=c(k[0]+"e"+(+k[1]+E));return k=(Lt(N)+"e").split("e"),+(k[0]+"e"+(+k[1]-E))}return c(v)}}var k4e=Yf&&1/Iy(new Yf([,-0]))[1]==Fe?function(u){return new Yf(u)}:gx;function Dz(u){return function(c){var v=Sr(c);return v==ae?ED(c):v==Ve?W2e(c):L2e(c,u(c))}}function Ca(u,c,v,E,k,N,M,K){var Q=c&w;if(!Q&&typeof u!="function")throw new Uo(a);var le=E?E.length:0;if(le||(c&=~(A|O),E=k=n),M=M===n?M:Yn(ut(M),0),K=K===n?K:ut(K),le-=k?k.length:0,c&O){var fe=E,he=k;E=k=n}var ke=Q?n:JD(u),Re=[u,c,v,E,k,fe,he,N,M,K];if(ke&&U4e(Re,ke),u=Re[0],c=Re[1],v=Re[2],E=Re[3],k=Re[4],K=Re[9]=Re[9]===n?Q?0:u.length:Yn(Re[9]-le,0),!K&&c&(S|x)&&(c&=~(S|x)),!c||c==b)var qe=D4e(u,c,v);else c==S||c==x?qe=x4e(u,c,K):(c==A||c==(b|A))&&!k.length?qe=A4e(u,c,v,E):qe=rb.apply(n,Re);var dt=ke?iz:Nz;return Lz(dt(qe,Re),u,c)}function xz(u,c,v,E){return u===n||hi(u,Kf[v])&&!zt.call(E,v)?c:u}function Az(u,c,v,E,k,N){return vn(u)&&vn(c)&&(N.set(c,u),Qy(u,c,n,Az,N),N.delete(c)),u}function _4e(u){return i0(u)?n:u}function kz(u,c,v,E,k,N){var M=v&C,K=u.length,Q=c.length;if(K!=Q&&!(M&&Q>K))return!1;var le=N.get(u),fe=N.get(c);if(le&&fe)return le==c&&fe==u;var he=-1,ke=!0,Re=v&$?new Ol:n;for(N.set(u,c),N.set(c,u);++he<K;){var qe=u[he],dt=c[he];if(E)var Ge=M?E(dt,qe,he,c,u,N):E(qe,dt,he,u,c,N);if(Ge!==n){if(Ge)continue;ke=!1;break}if(Re){if(!vD(c,function(vt,St){if(!Wg(Re,St)&&(qe===vt||k(qe,vt,v,E,N)))return Re.push(St)})){ke=!1;break}}else if(!(qe===dt||k(qe,dt,v,E,N))){ke=!1;break}}return N.delete(u),N.delete(c),ke}function O4e(u,c,v,E,k,N,M){switch(v){case Bt:if(u.byteLength!=c.byteLength||u.byteOffset!=c.byteOffset)return!1;u=u.buffer,c=c.buffer;case Dt:return!(u.byteLength!=c.byteLength||!N(new zy(u),new zy(c)));case B:case ce:case X:return hi(+u,+c);case Ae:return u.name==c.name&&u.message==c.message;case Le:case ze:return u==c+"";case ae:var K=ED;case Ve:var Q=E&C;if(K||(K=Iy),u.size!=c.size&&!Q)return!1;var le=M.get(u);if(le)return le==c;E|=$,M.set(u,c);var fe=kz(K(u),K(c),E,k,N,M);return M.delete(u),fe;case ft:if(Jg)return Jg.call(u)==Jg.call(c)}return!1}function B4e(u,c,v,E,k,N){var M=v&C,K=KD(u),Q=K.length,le=KD(c),fe=le.length;if(Q!=fe&&!M)return!1;for(var he=Q;he--;){var ke=K[he];if(!(M?ke in c:zt.call(c,ke)))return!1}var Re=N.get(u),qe=N.get(c);if(Re&&qe)return Re==c&&qe==u;var dt=!0;N.set(u,c),N.set(c,u);for(var Ge=M;++he<Q;){ke=K[he];var vt=u[ke],St=c[ke];if(E)var po=M?E(St,vt,ke,c,u,N):E(vt,St,ke,u,c,N);if(!(po===n?vt===St||k(vt,St,v,E,N):po)){dt=!1;break}Ge||(Ge=ke=="constructor")}if(dt&&!Ge){var Tr=u.constructor,ho=c.constructor;Tr!=ho&&"constructor"in u&&"constructor"in c&&!(typeof Tr=="function"&&Tr instanceof Tr&&typeof ho=="function"&&ho instanceof ho)&&(dt=!1)}return N.delete(u),N.delete(c),dt}function Ea(u){return nx(Pz(u,n,Uz),u+"")}function KD(u){return Kj(u,rr,ZD)}function YD(u){return Kj(u,Ur,_z)}var JD=Gy?function(u){return Gy.get(u)}:gx;function sb(u){for(var c=u.name+"",v=Jf[c],E=zt.call(Jf,c)?v.length:0;E--;){var k=v[E],N=k.func;if(N==null||N==u)return k.name}return c}function ed(u){var c=zt.call(F,"placeholder")?F:u;return c.placeholder}function He(){var u=F.iteratee||px;return u=u===px?Xj:u,arguments.length?u(arguments[0],arguments[1]):u}function ub(u,c){var v=u.__data__;return M4e(c)?v[typeof c=="string"?"string":"hash"]:v.map}function XD(u){for(var c=rr(u),v=c.length;v--;){var E=c[v],k=u[E];c[v]=[E,k,Tz(k)]}return c}function Fl(u,c){var v=V2e(u,c);return Jj(v)?v:n}function T4e(u){var c=zt.call(u,kl),v=u[kl];try{u[kl]=n;var E=!0}catch{}var k=My.call(u);return E&&(c?u[kl]=v:delete u[kl]),k}var ZD=DD?function(u){return u==null?[]:(u=Kt(u),Ws(DD(u),function(c){return Ij.call(u,c)}))}:mx,_z=DD?function(u){for(var c=[];u;)qs(c,ZD(u)),u=Vy(u);return c}:mx,Sr=Or;(xD&&Sr(new xD(new ArrayBuffer(1)))!=Bt||Gg&&Sr(new Gg)!=ae||AD&&Sr(AD.resolve())!=ye||Yf&&Sr(new Yf)!=Ve||Kg&&Sr(new Kg)!=Ze)&&(Sr=function(u){var c=Or(u),v=c==pe?u.constructor:n,E=v?Pl(v):"";if(E)switch(E){case hwe:return Bt;case gwe:return ae;case mwe:return ye;case vwe:return Ve;case ywe:return Ze}return c});function F4e(u,c,v){for(var E=-1,k=v.length;++E<k;){var N=v[E],M=N.size;switch(N.type){case"drop":u+=M;break;case"dropRight":c-=M;break;case"take":c=Er(c,u+M);break;case"takeRight":u=Yn(u,c-M);break}}return{start:u,end:c}}function P4e(u){var c=u.match(qn);return c?c[1].split(Dg):[]}function Oz(u,c,v){c=Xs(c,u);for(var E=-1,k=c.length,N=!1;++E<k;){var M=Wi(c[E]);if(!(N=u!=null&&v(u,M)))break;u=u[M]}return N||++E!=k?N:(k=u==null?0:u.length,!!k&&gb(k)&&Sa(M,k)&&(ot(u)||Il(u)))}function I4e(u){var c=u.length,v=new u.constructor(c);return c&&typeof u[0]=="string"&&zt.call(u,"index")&&(v.index=u.index,v.input=u.input),v}function Bz(u){return typeof u.constructor=="function"&&!r0(u)?Xf(Vy(u)):{}}function N4e(u,c,v){var E=u.constructor;switch(c){case Dt:return WD(u);case B:case ce:return new E(+u);case Bt:return b4e(u,v);case hn:case Xt:case gn:case Ar:case Mr:case er:case cr:case kr:case fr:return pz(u,v);case ae:return new E;case X:case ze:return new E(u);case Le:return w4e(u);case Ve:return new E;case ft:return $4e(u)}}function L4e(u,c){var v=c.length;if(!v)return u;var E=v-1;return c[E]=(v>1?"& ":"")+c[E],c=c.join(v>2?", ":" "),u.replace(bl,`{
8
+ */(function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",p=1,h=2,m=4,C=1,$=2,b=1,w=2,y=4,S=8,x=16,A=32,O=64,T=128,z=256,V=512,ue=30,oe="...",de=800,me=16,_e=1,Ee=2,Be=3,Fe=1/0,je=9007199254740991,Ue=17976931348623157e292,Oe=0/0,Je=4294967295,G=Je-1,H=Je>>>1,I=[["ary",T],["bind",b],["bindKey",w],["curry",S],["curryRight",x],["flip",V],["partial",A],["partialRight",O],["rearg",z]],L="[object Arguments]",Y="[object Array]",q="[object AsyncFunction]",B="[object Boolean]",ce="[object Date]",ge="[object DOMException]",Ae="[object Error]",j="[object Function]",ve="[object GeneratorFunction]",ae="[object Map]",X="[object Number]",te="[object Null]",pe="[object Object]",ye="[object Promise]",De="[object Proxy]",Le="[object RegExp]",Ve="[object Set]",ze="[object String]",ft="[object Symbol]",It="[object Undefined]",Ze="[object WeakMap]",At="[object WeakSet]",Dt="[object ArrayBuffer]",Bt="[object DataView]",hn="[object Float32Array]",Xt="[object Float64Array]",gn="[object Int8Array]",Ar="[object Int16Array]",Mr="[object Int32Array]",er="[object Uint8Array]",cr="[object Uint8ClampedArray]",kr="[object Uint16Array]",fr="[object Uint32Array]",wr=/\b__p \+= '';/g,tr=/\b(__p \+=) '' \+/g,io=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ui=/&(?:amp|lt|gt|quot|#39);/g,ao=/[&<>"']/g,zi=RegExp(ui.source),No=RegExp(ao.source),so=/<%-([\s\S]+?)%>/g,jr=/<%([\s\S]+?)%>/g,li=/<%=([\s\S]+?)%>/g,Lo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rs=/^\w*$/,uo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vl=/[\\^$.*+?()[\]{}|]/g,Sg=RegExp(vl.source),yl=/^\s+/,kf=/\s/,bl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qn=/\{\n\/\* \[wrapped with (.+)\] \*/,Dg=/,? & /,xg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ag=/[()=,{}\[\]\/\s]/,kg=/\\(\\)?/g,_g=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gn=/\w*$/,Og=/^[-+]0x[0-9a-f]+$/i,Bg=/^0b[01]+$/i,Tg=/^\[object .+?Constructor\]$/,Fg=/^0o[0-7]+$/i,Pg=/^(?:0|[1-9]\d*)$/,$r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ms=/($^)/,Ig=/['\n\r\u2028\u2029\\]/g,js="\\ud800-\\udfff",Ng="\\u0300-\\u036f",Lg="\\ufe20-\\ufe2f",zs="\\u20d0-\\u20ff",wl=Ng+Lg+zs,pa="\\u2700-\\u27bf",lo="a-z\\xdf-\\xf6\\xf8-\\xff",$l="\\xac\\xb1\\xd7\\xf7",Rg="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Mg="\\u2000-\\u206f",jg=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",_f="A-Z\\xc0-\\xd6\\xd8-\\xde",Of="\\ufe0e\\ufe0f",ha=$l+Rg+Mg+jg,ga="['\u2019]",ma="["+js+"]",Cl="["+ha+"]",va="["+wl+"]",Bf="\\d+",zg="["+pa+"]",Tf="["+lo+"]",Ff="[^"+js+ha+Bf+pa+lo+_f+"]",ya="\\ud83c[\\udffb-\\udfff]",Vg="(?:"+va+"|"+ya+")",Pf="[^"+js+"]",ci="(?:\\ud83c[\\udde6-\\uddff]){2}",_r="[\\ud800-\\udbff][\\udc00-\\udfff]",Cr="["+_f+"]",Ro="\\u200d",If="(?:"+Tf+"|"+Ff+")",Mo="(?:"+Cr+"|"+Ff+")",Nf="(?:"+ga+"(?:d|ll|m|re|s|t|ve))?",Lf="(?:"+ga+"(?:D|LL|M|RE|S|T|VE))?",Rf=Vg+"?",Mf="["+Of+"]?",jf="(?:"+Ro+"(?:"+[Pf,ci,_r].join("|")+")"+Mf+Rf+")*",dr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",El=Mf+Rf+jf,Vs="(?:"+[zg,ci,_r].join("|")+")"+El,Sl="(?:"+[Pf+va+"?",va,ci,_r,ma].join("|")+")",Us=RegExp(ga,"g"),Ug=RegExp(va,"g"),Hs=RegExp(ya+"(?="+ya+")|"+Sl+El,"g"),Dl=RegExp([Cr+"?"+Tf+"+"+Nf+"(?="+[Cl,Cr,"$"].join("|")+")",Mo+"+"+Lf+"(?="+[Cl,Cr+If,"$"].join("|")+")",Cr+"?"+If+"+"+Nf,Cr+"+"+Lf,zf,dr,Bf,Vs].join("|"),"g"),Vf=RegExp("["+Ro+js+wl+Of+"]"),jo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Uf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xl=-1,Mt={};Mt[hn]=Mt[Xt]=Mt[gn]=Mt[Ar]=Mt[Mr]=Mt[er]=Mt[cr]=Mt[kr]=Mt[fr]=!0,Mt[L]=Mt[Y]=Mt[Dt]=Mt[B]=Mt[Bt]=Mt[ce]=Mt[Ae]=Mt[j]=Mt[ae]=Mt[X]=Mt[pe]=Mt[Le]=Mt[Ve]=Mt[ze]=Mt[Ze]=!1;var Nt={};Nt[L]=Nt[Y]=Nt[Dt]=Nt[Bt]=Nt[B]=Nt[ce]=Nt[hn]=Nt[Xt]=Nt[gn]=Nt[Ar]=Nt[Mr]=Nt[ae]=Nt[X]=Nt[pe]=Nt[Le]=Nt[Ve]=Nt[ze]=Nt[ft]=Nt[er]=Nt[cr]=Nt[kr]=Nt[fr]=!0,Nt[Ae]=Nt[j]=Nt[Ze]=!1;var D={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},P={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},W={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ie={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qe=parseFloat,Me=parseInt,gt=typeof od=="object"&&od&&od.Object===Object&&od,Et=typeof self=="object"&&self&&self.Object===Object&&self,mt=gt||Et||Function("return this")(),xt=t&&!t.nodeType&&t,un=xt&&!0&&e&&!e.nodeType&&e,pr=un&&un.exports===xt,mn=pr&&gt.process,jt=function(){try{var Z=un&&un.require&&un.require("util").types;return Z||mn&&mn.binding&&mn.binding("util")}catch{}}(),Rn=jt&&jt.isArrayBuffer,fi=jt&&jt.isDate,zo=jt&&jt.isMap,Vi=jt&&jt.isRegExp,Hg=jt&&jt.isSet,Al=jt&&jt.isTypedArray;function nr(Z,se,ne){switch(ne.length){case 0:return Z.call(se);case 1:return Z.call(se,ne[0]);case 2:return Z.call(se,ne[0],ne[1]);case 3:return Z.call(se,ne[0],ne[1],ne[2])}return Z.apply(se,ne)}function _2e(Z,se,ne,Te){for(var rt=-1,Tt=Z==null?0:Z.length;++rt<Tt;){var Kn=Z[rt];se(Te,Kn,ne(Kn),Z)}return Te}function Vo(Z,se){for(var ne=-1,Te=Z==null?0:Z.length;++ne<Te&&se(Z[ne],ne,Z)!==!1;);return Z}function O2e(Z,se){for(var ne=Z==null?0:Z.length;ne--&&se(Z[ne],ne,Z)!==!1;);return Z}function Cj(Z,se){for(var ne=-1,Te=Z==null?0:Z.length;++ne<Te;)if(!se(Z[ne],ne,Z))return!1;return!0}function Ws(Z,se){for(var ne=-1,Te=Z==null?0:Z.length,rt=0,Tt=[];++ne<Te;){var Kn=Z[ne];se(Kn,ne,Z)&&(Tt[rt++]=Kn)}return Tt}function Fy(Z,se){var ne=Z==null?0:Z.length;return!!ne&&Hf(Z,se,0)>-1}function gD(Z,se,ne){for(var Te=-1,rt=Z==null?0:Z.length;++Te<rt;)if(ne(se,Z[Te]))return!0;return!1}function ln(Z,se){for(var ne=-1,Te=Z==null?0:Z.length,rt=Array(Te);++ne<Te;)rt[ne]=se(Z[ne],ne,Z);return rt}function qs(Z,se){for(var ne=-1,Te=se.length,rt=Z.length;++ne<Te;)Z[rt+ne]=se[ne];return Z}function mD(Z,se,ne,Te){var rt=-1,Tt=Z==null?0:Z.length;for(Te&&Tt&&(ne=Z[++rt]);++rt<Tt;)ne=se(ne,Z[rt],rt,Z);return ne}function B2e(Z,se,ne,Te){var rt=Z==null?0:Z.length;for(Te&&rt&&(ne=Z[--rt]);rt--;)ne=se(ne,Z[rt],rt,Z);return ne}function vD(Z,se){for(var ne=-1,Te=Z==null?0:Z.length;++ne<Te;)if(se(Z[ne],ne,Z))return!0;return!1}var T2e=yD("length");function F2e(Z){return Z.split("")}function P2e(Z){return Z.match(xg)||[]}function Ej(Z,se,ne){var Te;return ne(Z,function(rt,Tt,Kn){if(se(rt,Tt,Kn))return Te=Tt,!1}),Te}function Py(Z,se,ne,Te){for(var rt=Z.length,Tt=ne+(Te?1:-1);Te?Tt--:++Tt<rt;)if(se(Z[Tt],Tt,Z))return Tt;return-1}function Hf(Z,se,ne){return se===se?q2e(Z,se,ne):Py(Z,Sj,ne)}function I2e(Z,se,ne,Te){for(var rt=ne-1,Tt=Z.length;++rt<Tt;)if(Te(Z[rt],se))return rt;return-1}function Sj(Z){return Z!==Z}function Dj(Z,se){var ne=Z==null?0:Z.length;return ne?wD(Z,se)/ne:Oe}function yD(Z){return function(se){return se==null?n:se[Z]}}function bD(Z){return function(se){return Z==null?n:Z[se]}}function xj(Z,se,ne,Te,rt){return rt(Z,function(Tt,Kn,Kt){ne=Te?(Te=!1,Tt):se(ne,Tt,Kn,Kt)}),ne}function N2e(Z,se){var ne=Z.length;for(Z.sort(se);ne--;)Z[ne]=Z[ne].value;return Z}function wD(Z,se){for(var ne,Te=-1,rt=Z.length;++Te<rt;){var Tt=se(Z[Te]);Tt!==n&&(ne=ne===n?Tt:ne+Tt)}return ne}function $D(Z,se){for(var ne=-1,Te=Array(Z);++ne<Z;)Te[ne]=se(ne);return Te}function L2e(Z,se){return ln(se,function(ne){return[ne,Z[ne]]})}function Aj(Z){return Z&&Z.slice(0,Bj(Z)+1).replace(yl,"")}function co(Z){return function(se){return Z(se)}}function CD(Z,se){return ln(se,function(ne){return Z[ne]})}function Wg(Z,se){return Z.has(se)}function kj(Z,se){for(var ne=-1,Te=Z.length;++ne<Te&&Hf(se,Z[ne],0)>-1;);return ne}function _j(Z,se){for(var ne=Z.length;ne--&&Hf(se,Z[ne],0)>-1;);return ne}function R2e(Z,se){for(var ne=Z.length,Te=0;ne--;)Z[ne]===se&&++Te;return Te}var M2e=bD(D),j2e=bD(P);function z2e(Z){return"\\"+ie[Z]}function V2e(Z,se){return Z==null?n:Z[se]}function Wf(Z){return Vf.test(Z)}function U2e(Z){return jo.test(Z)}function H2e(Z){for(var se,ne=[];!(se=Z.next()).done;)ne.push(se.value);return ne}function ED(Z){var se=-1,ne=Array(Z.size);return Z.forEach(function(Te,rt){ne[++se]=[rt,Te]}),ne}function Oj(Z,se){return function(ne){return Z(se(ne))}}function Gs(Z,se){for(var ne=-1,Te=Z.length,rt=0,Tt=[];++ne<Te;){var Kn=Z[ne];(Kn===se||Kn===d)&&(Z[ne]=d,Tt[rt++]=ne)}return Tt}function Iy(Z){var se=-1,ne=Array(Z.size);return Z.forEach(function(Te){ne[++se]=Te}),ne}function W2e(Z){var se=-1,ne=Array(Z.size);return Z.forEach(function(Te){ne[++se]=[Te,Te]}),ne}function q2e(Z,se,ne){for(var Te=ne-1,rt=Z.length;++Te<rt;)if(Z[Te]===se)return Te;return-1}function G2e(Z,se,ne){for(var Te=ne+1;Te--;)if(Z[Te]===se)return Te;return Te}function qf(Z){return Wf(Z)?Y2e(Z):T2e(Z)}function di(Z){return Wf(Z)?J2e(Z):F2e(Z)}function Bj(Z){for(var se=Z.length;se--&&kf.test(Z.charAt(se)););return se}var K2e=bD(W);function Y2e(Z){for(var se=Hs.lastIndex=0;Hs.test(Z);)++se;return se}function J2e(Z){return Z.match(Hs)||[]}function X2e(Z){return Z.match(Dl)||[]}var Z2e=function Z(se){se=se==null?mt:Gf.defaults(mt.Object(),se,Gf.pick(mt,Uf));var ne=se.Array,Te=se.Date,rt=se.Error,Tt=se.Function,Kn=se.Math,Kt=se.Object,SD=se.RegExp,Q2e=se.String,Uo=se.TypeError,Ny=ne.prototype,ewe=Tt.prototype,Kf=Kt.prototype,Ly=se["__core-js_shared__"],Ry=ewe.toString,zt=Kf.hasOwnProperty,twe=0,Tj=function(){var u=/[^.]+$/.exec(Ly&&Ly.keys&&Ly.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}(),My=Kf.toString,nwe=Ry.call(Kt),rwe=mt._,owe=SD("^"+Ry.call(zt).replace(vl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jy=pr?se.Buffer:n,Ks=se.Symbol,zy=se.Uint8Array,Fj=jy?jy.allocUnsafe:n,Vy=Oj(Kt.getPrototypeOf,Kt),Pj=Kt.create,Ij=Kf.propertyIsEnumerable,Uy=Ny.splice,Nj=Ks?Ks.isConcatSpreadable:n,qg=Ks?Ks.iterator:n,kl=Ks?Ks.toStringTag:n,Hy=function(){try{var u=Fl(Kt,"defineProperty");return u({},"",{}),u}catch{}}(),iwe=se.clearTimeout!==mt.clearTimeout&&se.clearTimeout,awe=Te&&Te.now!==mt.Date.now&&Te.now,swe=se.setTimeout!==mt.setTimeout&&se.setTimeout,Wy=Kn.ceil,qy=Kn.floor,DD=Kt.getOwnPropertySymbols,uwe=jy?jy.isBuffer:n,Lj=se.isFinite,lwe=Ny.join,cwe=Oj(Kt.keys,Kt),Yn=Kn.max,Er=Kn.min,fwe=Te.now,dwe=se.parseInt,Rj=Kn.random,pwe=Ny.reverse,xD=Fl(se,"DataView"),Gg=Fl(se,"Map"),AD=Fl(se,"Promise"),Yf=Fl(se,"Set"),Kg=Fl(se,"WeakMap"),Yg=Fl(Kt,"create"),Gy=Kg&&new Kg,Jf={},hwe=Pl(xD),gwe=Pl(Gg),mwe=Pl(AD),vwe=Pl(Yf),ywe=Pl(Kg),Ky=Ks?Ks.prototype:n,Jg=Ky?Ky.valueOf:n,Mj=Ky?Ky.toString:n;function F(u){if(wn(u)&&!ot(u)&&!(u instanceof wt)){if(u instanceof Ho)return u;if(zt.call(u,"__wrapped__"))return jz(u)}return new Ho(u)}var Xf=function(){function u(){}return function(c){if(!vn(c))return{};if(Pj)return Pj(c);u.prototype=c;var v=new u;return u.prototype=n,v}}();function Yy(){}function Ho(u,c){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!c,this.__index__=0,this.__values__=n}F.templateSettings={escape:so,evaluate:jr,interpolate:li,variable:"",imports:{_:F}},F.prototype=Yy.prototype,F.prototype.constructor=F,Ho.prototype=Xf(Yy.prototype),Ho.prototype.constructor=Ho;function wt(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Je,this.__views__=[]}function bwe(){var u=new wt(this.__wrapped__);return u.__actions__=zr(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=zr(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=zr(this.__views__),u}function wwe(){if(this.__filtered__){var u=new wt(this);u.__dir__=-1,u.__filtered__=!0}else u=this.clone(),u.__dir__*=-1;return u}function $we(){var u=this.__wrapped__.value(),c=this.__dir__,v=ot(u),E=c<0,k=v?u.length:0,N=F4e(0,k,this.__views__),M=N.start,K=N.end,Q=K-M,le=E?K:M-1,fe=this.__iteratees__,he=fe.length,ke=0,Re=Er(Q,this.__takeCount__);if(!v||!E&&k==Q&&Re==Q)return lz(u,this.__actions__);var qe=[];e:for(;Q--&&ke<Re;){le+=c;for(var dt=-1,Ge=u[le];++dt<he;){var vt=fe[dt],St=vt.iteratee,ho=vt.type,Tr=St(Ge);if(ho==Ee)Ge=Tr;else if(!Tr){if(ho==_e)continue e;break e}}qe[ke++]=Ge}return qe}wt.prototype=Xf(Yy.prototype),wt.prototype.constructor=wt;function _l(u){var c=-1,v=u==null?0:u.length;for(this.clear();++c<v;){var E=u[c];this.set(E[0],E[1])}}function Cwe(){this.__data__=Yg?Yg(null):{},this.size=0}function Ewe(u){var c=this.has(u)&&delete this.__data__[u];return this.size-=c?1:0,c}function Swe(u){var c=this.__data__;if(Yg){var v=c[u];return v===l?n:v}return zt.call(c,u)?c[u]:n}function Dwe(u){var c=this.__data__;return Yg?c[u]!==n:zt.call(c,u)}function xwe(u,c){var v=this.__data__;return this.size+=this.has(u)?0:1,v[u]=Yg&&c===n?l:c,this}_l.prototype.clear=Cwe,_l.prototype.delete=Ewe,_l.prototype.get=Swe,_l.prototype.has=Dwe,_l.prototype.set=xwe;function ba(u){var c=-1,v=u==null?0:u.length;for(this.clear();++c<v;){var E=u[c];this.set(E[0],E[1])}}function Awe(){this.__data__=[],this.size=0}function kwe(u){var c=this.__data__,v=Jy(c,u);if(v<0)return!1;var E=c.length-1;return v==E?c.pop():Uy.call(c,v,1),--this.size,!0}function _we(u){var c=this.__data__,v=Jy(c,u);return v<0?n:c[v][1]}function Owe(u){return Jy(this.__data__,u)>-1}function Bwe(u,c){var v=this.__data__,E=Jy(v,u);return E<0?(++this.size,v.push([u,c])):v[E][1]=c,this}ba.prototype.clear=Awe,ba.prototype.delete=kwe,ba.prototype.get=_we,ba.prototype.has=Owe,ba.prototype.set=Bwe;function wa(u){var c=-1,v=u==null?0:u.length;for(this.clear();++c<v;){var E=u[c];this.set(E[0],E[1])}}function Twe(){this.size=0,this.__data__={hash:new _l,map:new(Gg||ba),string:new _l}}function Fwe(u){var c=ub(this,u).delete(u);return this.size-=c?1:0,c}function Pwe(u){return ub(this,u).get(u)}function Iwe(u){return ub(this,u).has(u)}function Nwe(u,c){var v=ub(this,u),E=v.size;return v.set(u,c),this.size+=v.size==E?0:1,this}wa.prototype.clear=Twe,wa.prototype.delete=Fwe,wa.prototype.get=Pwe,wa.prototype.has=Iwe,wa.prototype.set=Nwe;function Ol(u){var c=-1,v=u==null?0:u.length;for(this.__data__=new wa;++c<v;)this.add(u[c])}function Lwe(u){return this.__data__.set(u,l),this}function Rwe(u){return this.__data__.has(u)}Ol.prototype.add=Ol.prototype.push=Lwe,Ol.prototype.has=Rwe;function pi(u){var c=this.__data__=new ba(u);this.size=c.size}function Mwe(){this.__data__=new ba,this.size=0}function jwe(u){var c=this.__data__,v=c.delete(u);return this.size=c.size,v}function zwe(u){return this.__data__.get(u)}function Vwe(u){return this.__data__.has(u)}function Uwe(u,c){var v=this.__data__;if(v instanceof ba){var E=v.__data__;if(!Gg||E.length<o-1)return E.push([u,c]),this.size=++v.size,this;v=this.__data__=new wa(E)}return v.set(u,c),this.size=v.size,this}pi.prototype.clear=Mwe,pi.prototype.delete=jwe,pi.prototype.get=zwe,pi.prototype.has=Vwe,pi.prototype.set=Uwe;function jj(u,c){var v=ot(u),E=!v&&Il(u),k=!v&&!E&&Qs(u),N=!v&&!E&&!k&&td(u),M=v||E||k||N,K=M?$D(u.length,Q2e):[],Q=K.length;for(var le in u)(c||zt.call(u,le))&&!(M&&(le=="length"||k&&(le=="offset"||le=="parent")||N&&(le=="buffer"||le=="byteLength"||le=="byteOffset")||Sa(le,Q)))&&K.push(le);return K}function zj(u){var c=u.length;return c?u[RD(0,c-1)]:n}function Hwe(u,c){return lb(zr(u),Bl(c,0,u.length))}function Wwe(u){return lb(zr(u))}function kD(u,c,v){(v!==n&&!hi(u[c],v)||v===n&&!(c in u))&&$a(u,c,v)}function Xg(u,c,v){var E=u[c];(!(zt.call(u,c)&&hi(E,v))||v===n&&!(c in u))&&$a(u,c,v)}function Jy(u,c){for(var v=u.length;v--;)if(hi(u[v][0],c))return v;return-1}function qwe(u,c,v,E){return Ys(u,function(k,N,M){c(E,k,v(k),M)}),E}function Vj(u,c){return u&&Hi(c,rr(c),u)}function Gwe(u,c){return u&&Hi(c,Ur(c),u)}function $a(u,c,v){c=="__proto__"&&Hy?Hy(u,c,{configurable:!0,enumerable:!0,value:v,writable:!0}):u[c]=v}function _D(u,c){for(var v=-1,E=c.length,k=ne(E),N=u==null;++v<E;)k[v]=N?n:lx(u,c[v]);return k}function Bl(u,c,v){return u===u&&(v!==n&&(u=u<=v?u:v),c!==n&&(u=u>=c?u:c)),u}function Wo(u,c,v,E,k,N){var M,K=c&p,Q=c&h,le=c&m;if(v&&(M=k?v(u,E,k,N):v(u)),M!==n)return M;if(!vn(u))return u;var fe=ot(u);if(fe){if(M=I4e(u),!K)return zr(u,M)}else{var he=Sr(u),ke=he==j||he==ve;if(Qs(u))return dz(u,K);if(he==pe||he==L||ke&&!k){if(M=Q||ke?{}:Bz(u),!K)return Q?S4e(u,Gwe(M,u)):E4e(u,Vj(M,u))}else{if(!Nt[he])return k?u:{};M=N4e(u,he,K)}}N||(N=new pi);var Re=N.get(u);if(Re)return Re;N.set(u,M),aV(u)?u.forEach(function(Ge){M.add(Wo(Ge,c,v,Ge,u,N))}):oV(u)&&u.forEach(function(Ge,vt){M.set(vt,Wo(Ge,c,v,vt,u,N))});var qe=le?Q?YD:KD:Q?Ur:rr,dt=fe?n:qe(u);return Vo(dt||u,function(Ge,vt){dt&&(vt=Ge,Ge=u[vt]),Xg(M,vt,Wo(Ge,c,v,vt,u,N))}),M}function Kwe(u){var c=rr(u);return function(v){return Uj(v,u,c)}}function Uj(u,c,v){var E=v.length;if(u==null)return!E;for(u=Kt(u);E--;){var k=v[E],N=c[k],M=u[k];if(M===n&&!(k in u)||!N(M))return!1}return!0}function Hj(u,c,v){if(typeof u!="function")throw new Uo(a);return o0(function(){u.apply(n,v)},c)}function Zg(u,c,v,E){var k=-1,N=Fy,M=!0,K=u.length,Q=[],le=c.length;if(!K)return Q;v&&(c=ln(c,co(v))),E?(N=gD,M=!1):c.length>=o&&(N=Wg,M=!1,c=new Ol(c));e:for(;++k<K;){var fe=u[k],he=v==null?fe:v(fe);if(fe=E||fe!==0?fe:0,M&&he===he){for(var ke=le;ke--;)if(c[ke]===he)continue e;Q.push(fe)}else N(c,he,E)||Q.push(fe)}return Q}var Ys=vz(Ui),Wj=vz(BD,!0);function Ywe(u,c){var v=!0;return Ys(u,function(E,k,N){return v=!!c(E,k,N),v}),v}function Xy(u,c,v){for(var E=-1,k=u.length;++E<k;){var N=u[E],M=c(N);if(M!=null&&(K===n?M===M&&!po(M):v(M,K)))var K=M,Q=N}return Q}function Jwe(u,c,v,E){var k=u.length;for(v=ut(v),v<0&&(v=-v>k?0:k+v),E=E===n||E>k?k:ut(E),E<0&&(E+=k),E=v>E?0:uV(E);v<E;)u[v++]=c;return u}function qj(u,c){var v=[];return Ys(u,function(E,k,N){c(E,k,N)&&v.push(E)}),v}function hr(u,c,v,E,k){var N=-1,M=u.length;for(v||(v=R4e),k||(k=[]);++N<M;){var K=u[N];c>0&&v(K)?c>1?hr(K,c-1,v,E,k):qs(k,K):E||(k[k.length]=K)}return k}var OD=yz(),Gj=yz(!0);function Ui(u,c){return u&&OD(u,c,rr)}function BD(u,c){return u&&Gj(u,c,rr)}function Zy(u,c){return Ws(c,function(v){return Da(u[v])})}function Tl(u,c){c=Xs(c,u);for(var v=0,E=c.length;u!=null&&v<E;)u=u[Wi(c[v++])];return v&&v==E?u:n}function Kj(u,c,v){var E=c(u);return ot(u)?E:qs(E,v(u))}function Or(u){return u==null?u===n?It:te:kl&&kl in Kt(u)?T4e(u):W4e(u)}function TD(u,c){return u>c}function Xwe(u,c){return u!=null&&zt.call(u,c)}function Zwe(u,c){return u!=null&&c in Kt(u)}function Qwe(u,c,v){return u>=Er(c,v)&&u<Yn(c,v)}function FD(u,c,v){for(var E=v?gD:Fy,k=u[0].length,N=u.length,M=N,K=ne(N),Q=1/0,le=[];M--;){var fe=u[M];M&&c&&(fe=ln(fe,co(c))),Q=Er(fe.length,Q),K[M]=!v&&(c||k>=120&&fe.length>=120)?new Ol(M&&fe):n}fe=u[0];var he=-1,ke=K[0];e:for(;++he<k&&le.length<Q;){var Re=fe[he],qe=c?c(Re):Re;if(Re=v||Re!==0?Re:0,!(ke?Wg(ke,qe):E(le,qe,v))){for(M=N;--M;){var dt=K[M];if(!(dt?Wg(dt,qe):E(u[M],qe,v)))continue e}ke&&ke.push(qe),le.push(Re)}}return le}function e4e(u,c,v,E){return Ui(u,function(k,N,M){c(E,v(k),N,M)}),E}function Qg(u,c,v){c=Xs(c,u),u=Iz(u,c);var E=u==null?u:u[Wi(Go(c))];return E==null?n:nr(E,u,v)}function Yj(u){return wn(u)&&Or(u)==L}function t4e(u){return wn(u)&&Or(u)==Dt}function n4e(u){return wn(u)&&Or(u)==ce}function e0(u,c,v,E,k){return u===c?!0:u==null||c==null||!wn(u)&&!wn(c)?u!==u&&c!==c:r4e(u,c,v,E,e0,k)}function r4e(u,c,v,E,k,N){var M=ot(u),K=ot(c),Q=M?Y:Sr(u),le=K?Y:Sr(c);Q=Q==L?pe:Q,le=le==L?pe:le;var fe=Q==pe,he=le==pe,ke=Q==le;if(ke&&Qs(u)){if(!Qs(c))return!1;M=!0,fe=!1}if(ke&&!fe)return N||(N=new pi),M||td(u)?kz(u,c,v,E,k,N):O4e(u,c,Q,v,E,k,N);if(!(v&C)){var Re=fe&&zt.call(u,"__wrapped__"),qe=he&&zt.call(c,"__wrapped__");if(Re||qe){var dt=Re?u.value():u,Ge=qe?c.value():c;return N||(N=new pi),k(dt,Ge,v,E,N)}}return ke?(N||(N=new pi),B4e(u,c,v,E,k,N)):!1}function o4e(u){return wn(u)&&Sr(u)==ae}function PD(u,c,v,E){var k=v.length,N=k,M=!E;if(u==null)return!N;for(u=Kt(u);k--;){var K=v[k];if(M&&K[2]?K[1]!==u[K[0]]:!(K[0]in u))return!1}for(;++k<N;){K=v[k];var Q=K[0],le=u[Q],fe=K[1];if(M&&K[2]){if(le===n&&!(Q in u))return!1}else{var he=new pi;if(E)var ke=E(le,fe,Q,u,c,he);if(!(ke===n?e0(fe,le,C|$,E,he):ke))return!1}}return!0}function Jj(u){if(!vn(u)||j4e(u))return!1;var c=Da(u)?owe:Tg;return c.test(Pl(u))}function i4e(u){return wn(u)&&Or(u)==Le}function a4e(u){return wn(u)&&Sr(u)==Ve}function s4e(u){return wn(u)&&gb(u.length)&&!!Mt[Or(u)]}function Xj(u){return typeof u=="function"?u:u==null?Hr:typeof u=="object"?ot(u)?ez(u[0],u[1]):Qj(u):bV(u)}function ID(u){if(!r0(u))return cwe(u);var c=[];for(var v in Kt(u))zt.call(u,v)&&v!="constructor"&&c.push(v);return c}function u4e(u){if(!vn(u))return H4e(u);var c=r0(u),v=[];for(var E in u)E=="constructor"&&(c||!zt.call(u,E))||v.push(E);return v}function ND(u,c){return u<c}function Zj(u,c){var v=-1,E=Vr(u)?ne(u.length):[];return Ys(u,function(k,N,M){E[++v]=c(k,N,M)}),E}function Qj(u){var c=XD(u);return c.length==1&&c[0][2]?Fz(c[0][0],c[0][1]):function(v){return v===u||PD(v,u,c)}}function ez(u,c){return QD(u)&&Tz(c)?Fz(Wi(u),c):function(v){var E=lx(v,u);return E===n&&E===c?cx(v,u):e0(c,E,C|$)}}function Qy(u,c,v,E,k){u!==c&&OD(c,function(N,M){if(k||(k=new pi),vn(N))l4e(u,c,M,v,Qy,E,k);else{var K=E?E(tx(u,M),N,M+"",u,c,k):n;K===n&&(K=N),kD(u,M,K)}},Ur)}function l4e(u,c,v,E,k,N,M){var K=tx(u,v),Q=tx(c,v),le=M.get(Q);if(le){kD(u,v,le);return}var fe=N?N(K,Q,v+"",u,c,M):n,he=fe===n;if(he){var ke=ot(Q),Re=!ke&&Qs(Q),qe=!ke&&!Re&&td(Q);fe=Q,ke||Re||qe?ot(K)?fe=K:xn(K)?fe=zr(K):Re?(he=!1,fe=dz(Q,!0)):qe?(he=!1,fe=pz(Q,!0)):fe=[]:i0(Q)||Il(Q)?(fe=K,Il(K)?fe=lV(K):(!vn(K)||Da(K))&&(fe=Bz(Q))):he=!1}he&&(M.set(Q,fe),k(fe,Q,E,N,M),M.delete(Q)),kD(u,v,fe)}function tz(u,c){var v=u.length;if(!!v)return c+=c<0?v:0,Sa(c,v)?u[c]:n}function nz(u,c,v){c.length?c=ln(c,function(N){return ot(N)?function(M){return Tl(M,N.length===1?N[0]:N)}:N}):c=[Hr];var E=-1;c=ln(c,co(He()));var k=Zj(u,function(N,M,K){var Q=ln(c,function(le){return le(N)});return{criteria:Q,index:++E,value:N}});return N2e(k,function(N,M){return C4e(N,M,v)})}function c4e(u,c){return rz(u,c,function(v,E){return cx(u,E)})}function rz(u,c,v){for(var E=-1,k=c.length,N={};++E<k;){var M=c[E],K=Tl(u,M);v(K,M)&&t0(N,Xs(M,u),K)}return N}function f4e(u){return function(c){return Tl(c,u)}}function LD(u,c,v,E){var k=E?I2e:Hf,N=-1,M=c.length,K=u;for(u===c&&(c=zr(c)),v&&(K=ln(u,co(v)));++N<M;)for(var Q=0,le=c[N],fe=v?v(le):le;(Q=k(K,fe,Q,E))>-1;)K!==u&&Uy.call(K,Q,1),Uy.call(u,Q,1);return u}function oz(u,c){for(var v=u?c.length:0,E=v-1;v--;){var k=c[v];if(v==E||k!==N){var N=k;Sa(k)?Uy.call(u,k,1):zD(u,k)}}return u}function RD(u,c){return u+qy(Rj()*(c-u+1))}function d4e(u,c,v,E){for(var k=-1,N=Yn(Wy((c-u)/(v||1)),0),M=ne(N);N--;)M[E?N:++k]=u,u+=v;return M}function MD(u,c){var v="";if(!u||c<1||c>je)return v;do c%2&&(v+=u),c=qy(c/2),c&&(u+=u);while(c);return v}function ht(u,c){return nx(Pz(u,c,Hr),u+"")}function p4e(u){return zj(nd(u))}function h4e(u,c){var v=nd(u);return lb(v,Bl(c,0,v.length))}function t0(u,c,v,E){if(!vn(u))return u;c=Xs(c,u);for(var k=-1,N=c.length,M=N-1,K=u;K!=null&&++k<N;){var Q=Wi(c[k]),le=v;if(Q==="__proto__"||Q==="constructor"||Q==="prototype")return u;if(k!=M){var fe=K[Q];le=E?E(fe,Q,K):n,le===n&&(le=vn(fe)?fe:Sa(c[k+1])?[]:{})}Xg(K,Q,le),K=K[Q]}return u}var iz=Gy?function(u,c){return Gy.set(u,c),u}:Hr,g4e=Hy?function(u,c){return Hy(u,"toString",{configurable:!0,enumerable:!1,value:dx(c),writable:!0})}:Hr;function m4e(u){return lb(nd(u))}function qo(u,c,v){var E=-1,k=u.length;c<0&&(c=-c>k?0:k+c),v=v>k?k:v,v<0&&(v+=k),k=c>v?0:v-c>>>0,c>>>=0;for(var N=ne(k);++E<k;)N[E]=u[E+c];return N}function v4e(u,c){var v;return Ys(u,function(E,k,N){return v=c(E,k,N),!v}),!!v}function eb(u,c,v){var E=0,k=u==null?E:u.length;if(typeof c=="number"&&c===c&&k<=H){for(;E<k;){var N=E+k>>>1,M=u[N];M!==null&&!po(M)&&(v?M<=c:M<c)?E=N+1:k=N}return k}return jD(u,c,Hr,v)}function jD(u,c,v,E){var k=0,N=u==null?0:u.length;if(N===0)return 0;c=v(c);for(var M=c!==c,K=c===null,Q=po(c),le=c===n;k<N;){var fe=qy((k+N)/2),he=v(u[fe]),ke=he!==n,Re=he===null,qe=he===he,dt=po(he);if(M)var Ge=E||qe;else le?Ge=qe&&(E||ke):K?Ge=qe&&ke&&(E||!Re):Q?Ge=qe&&ke&&!Re&&(E||!dt):Re||dt?Ge=!1:Ge=E?he<=c:he<c;Ge?k=fe+1:N=fe}return Er(N,G)}function az(u,c){for(var v=-1,E=u.length,k=0,N=[];++v<E;){var M=u[v],K=c?c(M):M;if(!v||!hi(K,Q)){var Q=K;N[k++]=M===0?0:M}}return N}function sz(u){return typeof u=="number"?u:po(u)?Oe:+u}function fo(u){if(typeof u=="string")return u;if(ot(u))return ln(u,fo)+"";if(po(u))return Mj?Mj.call(u):"";var c=u+"";return c=="0"&&1/u==-Fe?"-0":c}function Js(u,c,v){var E=-1,k=Fy,N=u.length,M=!0,K=[],Q=K;if(v)M=!1,k=gD;else if(N>=o){var le=c?null:k4e(u);if(le)return Iy(le);M=!1,k=Wg,Q=new Ol}else Q=c?[]:K;e:for(;++E<N;){var fe=u[E],he=c?c(fe):fe;if(fe=v||fe!==0?fe:0,M&&he===he){for(var ke=Q.length;ke--;)if(Q[ke]===he)continue e;c&&Q.push(he),K.push(fe)}else k(Q,he,v)||(Q!==K&&Q.push(he),K.push(fe))}return K}function zD(u,c){return c=Xs(c,u),u=Iz(u,c),u==null||delete u[Wi(Go(c))]}function uz(u,c,v,E){return t0(u,c,v(Tl(u,c)),E)}function tb(u,c,v,E){for(var k=u.length,N=E?k:-1;(E?N--:++N<k)&&c(u[N],N,u););return v?qo(u,E?0:N,E?N+1:k):qo(u,E?N+1:0,E?k:N)}function lz(u,c){var v=u;return v instanceof wt&&(v=v.value()),mD(c,function(E,k){return k.func.apply(k.thisArg,qs([E],k.args))},v)}function VD(u,c,v){var E=u.length;if(E<2)return E?Js(u[0]):[];for(var k=-1,N=ne(E);++k<E;)for(var M=u[k],K=-1;++K<E;)K!=k&&(N[k]=Zg(N[k]||M,u[K],c,v));return Js(hr(N,1),c,v)}function cz(u,c,v){for(var E=-1,k=u.length,N=c.length,M={};++E<k;){var K=E<N?c[E]:n;v(M,u[E],K)}return M}function UD(u){return xn(u)?u:[]}function HD(u){return typeof u=="function"?u:Hr}function Xs(u,c){return ot(u)?u:QD(u,c)?[u]:Mz(Lt(u))}var y4e=ht;function Zs(u,c,v){var E=u.length;return v=v===n?E:v,!c&&v>=E?u:qo(u,c,v)}var fz=iwe||function(u){return mt.clearTimeout(u)};function dz(u,c){if(c)return u.slice();var v=u.length,E=Fj?Fj(v):new u.constructor(v);return u.copy(E),E}function WD(u){var c=new u.constructor(u.byteLength);return new zy(c).set(new zy(u)),c}function b4e(u,c){var v=c?WD(u.buffer):u.buffer;return new u.constructor(v,u.byteOffset,u.byteLength)}function w4e(u){var c=new u.constructor(u.source,Gn.exec(u));return c.lastIndex=u.lastIndex,c}function $4e(u){return Jg?Kt(Jg.call(u)):{}}function pz(u,c){var v=c?WD(u.buffer):u.buffer;return new u.constructor(v,u.byteOffset,u.length)}function hz(u,c){if(u!==c){var v=u!==n,E=u===null,k=u===u,N=po(u),M=c!==n,K=c===null,Q=c===c,le=po(c);if(!K&&!le&&!N&&u>c||N&&M&&Q&&!K&&!le||E&&M&&Q||!v&&Q||!k)return 1;if(!E&&!N&&!le&&u<c||le&&v&&k&&!E&&!N||K&&v&&k||!M&&k||!Q)return-1}return 0}function C4e(u,c,v){for(var E=-1,k=u.criteria,N=c.criteria,M=k.length,K=v.length;++E<M;){var Q=hz(k[E],N[E]);if(Q){if(E>=K)return Q;var le=v[E];return Q*(le=="desc"?-1:1)}}return u.index-c.index}function gz(u,c,v,E){for(var k=-1,N=u.length,M=v.length,K=-1,Q=c.length,le=Yn(N-M,0),fe=ne(Q+le),he=!E;++K<Q;)fe[K]=c[K];for(;++k<M;)(he||k<N)&&(fe[v[k]]=u[k]);for(;le--;)fe[K++]=u[k++];return fe}function mz(u,c,v,E){for(var k=-1,N=u.length,M=-1,K=v.length,Q=-1,le=c.length,fe=Yn(N-K,0),he=ne(fe+le),ke=!E;++k<fe;)he[k]=u[k];for(var Re=k;++Q<le;)he[Re+Q]=c[Q];for(;++M<K;)(ke||k<N)&&(he[Re+v[M]]=u[k++]);return he}function zr(u,c){var v=-1,E=u.length;for(c||(c=ne(E));++v<E;)c[v]=u[v];return c}function Hi(u,c,v,E){var k=!v;v||(v={});for(var N=-1,M=c.length;++N<M;){var K=c[N],Q=E?E(v[K],u[K],K,v,u):n;Q===n&&(Q=u[K]),k?$a(v,K,Q):Xg(v,K,Q)}return v}function E4e(u,c){return Hi(u,ZD(u),c)}function S4e(u,c){return Hi(u,_z(u),c)}function nb(u,c){return function(v,E){var k=ot(v)?_2e:qwe,N=c?c():{};return k(v,u,He(E,2),N)}}function Zf(u){return ht(function(c,v){var E=-1,k=v.length,N=k>1?v[k-1]:n,M=k>2?v[2]:n;for(N=u.length>3&&typeof N=="function"?(k--,N):n,M&&Br(v[0],v[1],M)&&(N=k<3?n:N,k=1),c=Kt(c);++E<k;){var K=v[E];K&&u(c,K,E,N)}return c})}function vz(u,c){return function(v,E){if(v==null)return v;if(!Vr(v))return u(v,E);for(var k=v.length,N=c?k:-1,M=Kt(v);(c?N--:++N<k)&&E(M[N],N,M)!==!1;);return v}}function yz(u){return function(c,v,E){for(var k=-1,N=Kt(c),M=E(c),K=M.length;K--;){var Q=M[u?K:++k];if(v(N[Q],Q,N)===!1)break}return c}}function D4e(u,c,v){var E=c&b,k=n0(u);function N(){var M=this&&this!==mt&&this instanceof N?k:u;return M.apply(E?v:this,arguments)}return N}function bz(u){return function(c){c=Lt(c);var v=Wf(c)?di(c):n,E=v?v[0]:c.charAt(0),k=v?Zs(v,1).join(""):c.slice(1);return E[u]()+k}}function Qf(u){return function(c){return mD(vV(mV(c).replace(Us,"")),u,"")}}function n0(u){return function(){var c=arguments;switch(c.length){case 0:return new u;case 1:return new u(c[0]);case 2:return new u(c[0],c[1]);case 3:return new u(c[0],c[1],c[2]);case 4:return new u(c[0],c[1],c[2],c[3]);case 5:return new u(c[0],c[1],c[2],c[3],c[4]);case 6:return new u(c[0],c[1],c[2],c[3],c[4],c[5]);case 7:return new u(c[0],c[1],c[2],c[3],c[4],c[5],c[6])}var v=Xf(u.prototype),E=u.apply(v,c);return vn(E)?E:v}}function x4e(u,c,v){var E=n0(u);function k(){for(var N=arguments.length,M=ne(N),K=N,Q=ed(k);K--;)M[K]=arguments[K];var le=N<3&&M[0]!==Q&&M[N-1]!==Q?[]:Gs(M,Q);if(N-=le.length,N<v)return Sz(u,c,rb,k.placeholder,n,M,le,n,n,v-N);var fe=this&&this!==mt&&this instanceof k?E:u;return nr(fe,this,M)}return k}function wz(u){return function(c,v,E){var k=Kt(c);if(!Vr(c)){var N=He(v,3);c=rr(c),v=function(K){return N(k[K],K,k)}}var M=u(c,v,E);return M>-1?k[N?c[M]:M]:n}}function $z(u){return Ea(function(c){var v=c.length,E=v,k=Ho.prototype.thru;for(u&&c.reverse();E--;){var N=c[E];if(typeof N!="function")throw new Uo(a);if(k&&!M&&sb(N)=="wrapper")var M=new Ho([],!0)}for(E=M?E:v;++E<v;){N=c[E];var K=sb(N),Q=K=="wrapper"?JD(N):n;Q&&ex(Q[0])&&Q[1]==(T|S|A|z)&&!Q[4].length&&Q[9]==1?M=M[sb(Q[0])].apply(M,Q[3]):M=N.length==1&&ex(N)?M[K]():M.thru(N)}return function(){var le=arguments,fe=le[0];if(M&&le.length==1&&ot(fe))return M.plant(fe).value();for(var he=0,ke=v?c[he].apply(this,le):fe;++he<v;)ke=c[he].call(this,ke);return ke}})}function rb(u,c,v,E,k,N,M,K,Q,le){var fe=c&T,he=c&b,ke=c&w,Re=c&(S|x),qe=c&V,dt=ke?n:n0(u);function Ge(){for(var vt=arguments.length,St=ne(vt),ho=vt;ho--;)St[ho]=arguments[ho];if(Re)var Tr=ed(Ge),go=R2e(St,Tr);if(E&&(St=gz(St,E,k,Re)),N&&(St=mz(St,N,M,Re)),vt-=go,Re&&vt<le){var An=Gs(St,Tr);return Sz(u,c,rb,Ge.placeholder,v,St,An,K,Q,le-vt)}var gi=he?v:this,Aa=ke?gi[u]:u;return vt=St.length,K?St=q4e(St,K):qe&&vt>1&&St.reverse(),fe&&Q<vt&&(St.length=Q),this&&this!==mt&&this instanceof Ge&&(Aa=dt||n0(Aa)),Aa.apply(gi,St)}return Ge}function Cz(u,c){return function(v,E){return e4e(v,u,c(E),{})}}function ob(u,c){return function(v,E){var k;if(v===n&&E===n)return c;if(v!==n&&(k=v),E!==n){if(k===n)return E;typeof v=="string"||typeof E=="string"?(v=fo(v),E=fo(E)):(v=sz(v),E=sz(E)),k=u(v,E)}return k}}function qD(u){return Ea(function(c){return c=ln(c,co(He())),ht(function(v){var E=this;return u(c,function(k){return nr(k,E,v)})})})}function ib(u,c){c=c===n?" ":fo(c);var v=c.length;if(v<2)return v?MD(c,u):c;var E=MD(c,Wy(u/qf(c)));return Wf(c)?Zs(di(E),0,u).join(""):E.slice(0,u)}function A4e(u,c,v,E){var k=c&b,N=n0(u);function M(){for(var K=-1,Q=arguments.length,le=-1,fe=E.length,he=ne(fe+Q),ke=this&&this!==mt&&this instanceof M?N:u;++le<fe;)he[le]=E[le];for(;Q--;)he[le++]=arguments[++K];return nr(ke,k?v:this,he)}return M}function Ez(u){return function(c,v,E){return E&&typeof E!="number"&&Br(c,v,E)&&(v=E=n),c=xa(c),v===n?(v=c,c=0):v=xa(v),E=E===n?c<v?1:-1:xa(E),d4e(c,v,E,u)}}function ab(u){return function(c,v){return typeof c=="string"&&typeof v=="string"||(c=Ko(c),v=Ko(v)),u(c,v)}}function Sz(u,c,v,E,k,N,M,K,Q,le){var fe=c&S,he=fe?M:n,ke=fe?n:M,Re=fe?N:n,qe=fe?n:N;c|=fe?A:O,c&=~(fe?O:A),c&y||(c&=~(b|w));var dt=[u,c,k,Re,he,qe,ke,K,Q,le],Ge=v.apply(n,dt);return ex(u)&&Nz(Ge,dt),Ge.placeholder=E,Lz(Ge,u,c)}function GD(u){var c=Kn[u];return function(v,E){if(v=Ko(v),E=E==null?0:Er(ut(E),292),E&&Lj(v)){var k=(Lt(v)+"e").split("e"),N=c(k[0]+"e"+(+k[1]+E));return k=(Lt(N)+"e").split("e"),+(k[0]+"e"+(+k[1]-E))}return c(v)}}var k4e=Yf&&1/Iy(new Yf([,-0]))[1]==Fe?function(u){return new Yf(u)}:gx;function Dz(u){return function(c){var v=Sr(c);return v==ae?ED(c):v==Ve?W2e(c):L2e(c,u(c))}}function Ca(u,c,v,E,k,N,M,K){var Q=c&w;if(!Q&&typeof u!="function")throw new Uo(a);var le=E?E.length:0;if(le||(c&=~(A|O),E=k=n),M=M===n?M:Yn(ut(M),0),K=K===n?K:ut(K),le-=k?k.length:0,c&O){var fe=E,he=k;E=k=n}var ke=Q?n:JD(u),Re=[u,c,v,E,k,fe,he,N,M,K];if(ke&&U4e(Re,ke),u=Re[0],c=Re[1],v=Re[2],E=Re[3],k=Re[4],K=Re[9]=Re[9]===n?Q?0:u.length:Yn(Re[9]-le,0),!K&&c&(S|x)&&(c&=~(S|x)),!c||c==b)var qe=D4e(u,c,v);else c==S||c==x?qe=x4e(u,c,K):(c==A||c==(b|A))&&!k.length?qe=A4e(u,c,v,E):qe=rb.apply(n,Re);var dt=ke?iz:Nz;return Lz(dt(qe,Re),u,c)}function xz(u,c,v,E){return u===n||hi(u,Kf[v])&&!zt.call(E,v)?c:u}function Az(u,c,v,E,k,N){return vn(u)&&vn(c)&&(N.set(c,u),Qy(u,c,n,Az,N),N.delete(c)),u}function _4e(u){return i0(u)?n:u}function kz(u,c,v,E,k,N){var M=v&C,K=u.length,Q=c.length;if(K!=Q&&!(M&&Q>K))return!1;var le=N.get(u),fe=N.get(c);if(le&&fe)return le==c&&fe==u;var he=-1,ke=!0,Re=v&$?new Ol:n;for(N.set(u,c),N.set(c,u);++he<K;){var qe=u[he],dt=c[he];if(E)var Ge=M?E(dt,qe,he,c,u,N):E(qe,dt,he,u,c,N);if(Ge!==n){if(Ge)continue;ke=!1;break}if(Re){if(!vD(c,function(vt,St){if(!Wg(Re,St)&&(qe===vt||k(qe,vt,v,E,N)))return Re.push(St)})){ke=!1;break}}else if(!(qe===dt||k(qe,dt,v,E,N))){ke=!1;break}}return N.delete(u),N.delete(c),ke}function O4e(u,c,v,E,k,N,M){switch(v){case Bt:if(u.byteLength!=c.byteLength||u.byteOffset!=c.byteOffset)return!1;u=u.buffer,c=c.buffer;case Dt:return!(u.byteLength!=c.byteLength||!N(new zy(u),new zy(c)));case B:case ce:case X:return hi(+u,+c);case Ae:return u.name==c.name&&u.message==c.message;case Le:case ze:return u==c+"";case ae:var K=ED;case Ve:var Q=E&C;if(K||(K=Iy),u.size!=c.size&&!Q)return!1;var le=M.get(u);if(le)return le==c;E|=$,M.set(u,c);var fe=kz(K(u),K(c),E,k,N,M);return M.delete(u),fe;case ft:if(Jg)return Jg.call(u)==Jg.call(c)}return!1}function B4e(u,c,v,E,k,N){var M=v&C,K=KD(u),Q=K.length,le=KD(c),fe=le.length;if(Q!=fe&&!M)return!1;for(var he=Q;he--;){var ke=K[he];if(!(M?ke in c:zt.call(c,ke)))return!1}var Re=N.get(u),qe=N.get(c);if(Re&&qe)return Re==c&&qe==u;var dt=!0;N.set(u,c),N.set(c,u);for(var Ge=M;++he<Q;){ke=K[he];var vt=u[ke],St=c[ke];if(E)var ho=M?E(St,vt,ke,c,u,N):E(vt,St,ke,u,c,N);if(!(ho===n?vt===St||k(vt,St,v,E,N):ho)){dt=!1;break}Ge||(Ge=ke=="constructor")}if(dt&&!Ge){var Tr=u.constructor,go=c.constructor;Tr!=go&&"constructor"in u&&"constructor"in c&&!(typeof Tr=="function"&&Tr instanceof Tr&&typeof go=="function"&&go instanceof go)&&(dt=!1)}return N.delete(u),N.delete(c),dt}function Ea(u){return nx(Pz(u,n,Uz),u+"")}function KD(u){return Kj(u,rr,ZD)}function YD(u){return Kj(u,Ur,_z)}var JD=Gy?function(u){return Gy.get(u)}:gx;function sb(u){for(var c=u.name+"",v=Jf[c],E=zt.call(Jf,c)?v.length:0;E--;){var k=v[E],N=k.func;if(N==null||N==u)return k.name}return c}function ed(u){var c=zt.call(F,"placeholder")?F:u;return c.placeholder}function He(){var u=F.iteratee||px;return u=u===px?Xj:u,arguments.length?u(arguments[0],arguments[1]):u}function ub(u,c){var v=u.__data__;return M4e(c)?v[typeof c=="string"?"string":"hash"]:v.map}function XD(u){for(var c=rr(u),v=c.length;v--;){var E=c[v],k=u[E];c[v]=[E,k,Tz(k)]}return c}function Fl(u,c){var v=V2e(u,c);return Jj(v)?v:n}function T4e(u){var c=zt.call(u,kl),v=u[kl];try{u[kl]=n;var E=!0}catch{}var k=My.call(u);return E&&(c?u[kl]=v:delete u[kl]),k}var ZD=DD?function(u){return u==null?[]:(u=Kt(u),Ws(DD(u),function(c){return Ij.call(u,c)}))}:mx,_z=DD?function(u){for(var c=[];u;)qs(c,ZD(u)),u=Vy(u);return c}:mx,Sr=Or;(xD&&Sr(new xD(new ArrayBuffer(1)))!=Bt||Gg&&Sr(new Gg)!=ae||AD&&Sr(AD.resolve())!=ye||Yf&&Sr(new Yf)!=Ve||Kg&&Sr(new Kg)!=Ze)&&(Sr=function(u){var c=Or(u),v=c==pe?u.constructor:n,E=v?Pl(v):"";if(E)switch(E){case hwe:return Bt;case gwe:return ae;case mwe:return ye;case vwe:return Ve;case ywe:return Ze}return c});function F4e(u,c,v){for(var E=-1,k=v.length;++E<k;){var N=v[E],M=N.size;switch(N.type){case"drop":u+=M;break;case"dropRight":c-=M;break;case"take":c=Er(c,u+M);break;case"takeRight":u=Yn(u,c-M);break}}return{start:u,end:c}}function P4e(u){var c=u.match(qn);return c?c[1].split(Dg):[]}function Oz(u,c,v){c=Xs(c,u);for(var E=-1,k=c.length,N=!1;++E<k;){var M=Wi(c[E]);if(!(N=u!=null&&v(u,M)))break;u=u[M]}return N||++E!=k?N:(k=u==null?0:u.length,!!k&&gb(k)&&Sa(M,k)&&(ot(u)||Il(u)))}function I4e(u){var c=u.length,v=new u.constructor(c);return c&&typeof u[0]=="string"&&zt.call(u,"index")&&(v.index=u.index,v.input=u.input),v}function Bz(u){return typeof u.constructor=="function"&&!r0(u)?Xf(Vy(u)):{}}function N4e(u,c,v){var E=u.constructor;switch(c){case Dt:return WD(u);case B:case ce:return new E(+u);case Bt:return b4e(u,v);case hn:case Xt:case gn:case Ar:case Mr:case er:case cr:case kr:case fr:return pz(u,v);case ae:return new E;case X:case ze:return new E(u);case Le:return w4e(u);case Ve:return new E;case ft:return $4e(u)}}function L4e(u,c){var v=c.length;if(!v)return u;var E=v-1;return c[E]=(v>1?"& ":"")+c[E],c=c.join(v>2?", ":" "),u.replace(bl,`{
9
9
  /* [wrapped with `+c+`] */
10
- `)}function R4e(u){return ot(u)||Il(u)||!!(Nj&&u&&u[Nj])}function Sa(u,c){var v=typeof u;return c=c==null?je:c,!!c&&(v=="number"||v!="symbol"&&Pg.test(u))&&u>-1&&u%1==0&&u<c}function Br(u,c,v){if(!vn(v))return!1;var E=typeof c;return(E=="number"?Vr(v)&&Sa(c,v.length):E=="string"&&c in v)?hi(v[c],u):!1}function QD(u,c){if(ot(u))return!1;var v=typeof u;return v=="number"||v=="symbol"||v=="boolean"||u==null||fo(u)?!0:Rs.test(u)||!Lo.test(u)||c!=null&&u in Kt(c)}function M4e(u){var c=typeof u;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?u!=="__proto__":u===null}function ex(u){var c=sb(u),v=F[c];if(typeof v!="function"||!(c in wt.prototype))return!1;if(u===v)return!0;var E=JD(v);return!!E&&u===E[0]}function j4e(u){return!!Tj&&Tj in u}var z4e=Ly?Da:vx;function r0(u){var c=u&&u.constructor,v=typeof c=="function"&&c.prototype||Kf;return u===v}function Tz(u){return u===u&&!vn(u)}function Fz(u,c){return function(v){return v==null?!1:v[u]===c&&(c!==n||u in Kt(v))}}function V4e(u){var c=pb(u,function(E){return v.size===f&&v.clear(),E}),v=c.cache;return c}function U4e(u,c){var v=u[1],E=c[1],k=v|E,N=k<(b|w|T),M=E==T&&v==S||E==T&&v==z&&u[7].length<=c[8]||E==(T|z)&&c[7].length<=c[8]&&v==S;if(!(N||M))return u;E&b&&(u[2]=c[2],k|=v&b?0:y);var K=c[3];if(K){var Q=u[3];u[3]=Q?gz(Q,K,c[4]):K,u[4]=Q?Gs(u[3],d):c[4]}return K=c[5],K&&(Q=u[5],u[5]=Q?mz(Q,K,c[6]):K,u[6]=Q?Gs(u[5],d):c[6]),K=c[7],K&&(u[7]=K),E&T&&(u[8]=u[8]==null?c[8]:Er(u[8],c[8])),u[9]==null&&(u[9]=c[9]),u[0]=c[0],u[1]=k,u}function H4e(u){var c=[];if(u!=null)for(var v in Kt(u))c.push(v);return c}function W4e(u){return My.call(u)}function Pz(u,c,v){return c=Yn(c===n?u.length-1:c,0),function(){for(var E=arguments,k=-1,N=Yn(E.length-c,0),M=ne(N);++k<N;)M[k]=E[c+k];k=-1;for(var K=ne(c+1);++k<c;)K[k]=E[k];return K[c]=v(M),nr(u,this,K)}}function Iz(u,c){return c.length<2?u:Tl(u,qo(c,0,-1))}function q4e(u,c){for(var v=u.length,E=Er(c.length,v),k=zr(u);E--;){var N=c[E];u[E]=Sa(N,v)?k[N]:n}return u}function tx(u,c){if(!(c==="constructor"&&typeof u[c]=="function")&&c!="__proto__")return u[c]}var Nz=Rz(iz),o0=swe||function(u,c){return mt.setTimeout(u,c)},nx=Rz(g4e);function Lz(u,c,v){var E=c+"";return nx(u,L4e(E,G4e(P4e(E),v)))}function Rz(u){var c=0,v=0;return function(){var E=fwe(),k=me-(E-v);if(v=E,k>0){if(++c>=de)return arguments[0]}else c=0;return u.apply(n,arguments)}}function lb(u,c){var v=-1,E=u.length,k=E-1;for(c=c===n?E:c;++v<c;){var N=RD(v,k),M=u[N];u[N]=u[v],u[v]=M}return u.length=c,u}var Mz=V4e(function(u){var c=[];return u.charCodeAt(0)===46&&c.push(""),u.replace(so,function(v,E,k,N){c.push(k?N.replace(kg,"$1"):E||v)}),c});function Wi(u){if(typeof u=="string"||fo(u))return u;var c=u+"";return c=="0"&&1/u==-Fe?"-0":c}function Pl(u){if(u!=null){try{return Ry.call(u)}catch{}try{return u+""}catch{}}return""}function G4e(u,c){return Vo(I,function(v){var E="_."+v[0];c&v[1]&&!Fy(u,E)&&u.push(E)}),u.sort()}function jz(u){if(u instanceof wt)return u.clone();var c=new Ho(u.__wrapped__,u.__chain__);return c.__actions__=zr(u.__actions__),c.__index__=u.__index__,c.__values__=u.__values__,c}function K4e(u,c,v){(v?Br(u,c,v):c===n)?c=1:c=Yn(ut(c),0);var E=u==null?0:u.length;if(!E||c<1)return[];for(var k=0,N=0,M=ne(Wy(E/c));k<E;)M[N++]=qo(u,k,k+=c);return M}function Y4e(u){for(var c=-1,v=u==null?0:u.length,E=0,k=[];++c<v;){var N=u[c];N&&(k[E++]=N)}return k}function J4e(){var u=arguments.length;if(!u)return[];for(var c=ne(u-1),v=arguments[0],E=u;E--;)c[E-1]=arguments[E];return qs(ot(v)?zr(v):[v],hr(c,1))}var X4e=ht(function(u,c){return xn(u)?Zg(u,hr(c,1,xn,!0)):[]}),Z4e=ht(function(u,c){var v=Go(c);return xn(v)&&(v=n),xn(u)?Zg(u,hr(c,1,xn,!0),He(v,2)):[]}),Q4e=ht(function(u,c){var v=Go(c);return xn(v)&&(v=n),xn(u)?Zg(u,hr(c,1,xn,!0),n,v):[]});function e$e(u,c,v){var E=u==null?0:u.length;return E?(c=v||c===n?1:ut(c),qo(u,c<0?0:c,E)):[]}function t$e(u,c,v){var E=u==null?0:u.length;return E?(c=v||c===n?1:ut(c),c=E-c,qo(u,0,c<0?0:c)):[]}function n$e(u,c){return u&&u.length?tb(u,He(c,3),!0,!0):[]}function r$e(u,c){return u&&u.length?tb(u,He(c,3),!0):[]}function o$e(u,c,v,E){var k=u==null?0:u.length;return k?(v&&typeof v!="number"&&Br(u,c,v)&&(v=0,E=k),Jwe(u,c,v,E)):[]}function zz(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=v==null?0:ut(v);return k<0&&(k=Yn(E+k,0)),Py(u,He(c,3),k)}function Vz(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=E-1;return v!==n&&(k=ut(v),k=v<0?Yn(E+k,0):Er(k,E-1)),Py(u,He(c,3),k,!0)}function Uz(u){var c=u==null?0:u.length;return c?hr(u,1):[]}function i$e(u){var c=u==null?0:u.length;return c?hr(u,Fe):[]}function a$e(u,c){var v=u==null?0:u.length;return v?(c=c===n?1:ut(c),hr(u,c)):[]}function s$e(u){for(var c=-1,v=u==null?0:u.length,E={};++c<v;){var k=u[c];E[k[0]]=k[1]}return E}function Hz(u){return u&&u.length?u[0]:n}function u$e(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=v==null?0:ut(v);return k<0&&(k=Yn(E+k,0)),Hf(u,c,k)}function l$e(u){var c=u==null?0:u.length;return c?qo(u,0,-1):[]}var c$e=ht(function(u){var c=ln(u,UD);return c.length&&c[0]===u[0]?FD(c):[]}),f$e=ht(function(u){var c=Go(u),v=ln(u,UD);return c===Go(v)?c=n:v.pop(),v.length&&v[0]===u[0]?FD(v,He(c,2)):[]}),d$e=ht(function(u){var c=Go(u),v=ln(u,UD);return c=typeof c=="function"?c:n,c&&v.pop(),v.length&&v[0]===u[0]?FD(v,n,c):[]});function p$e(u,c){return u==null?"":lwe.call(u,c)}function Go(u){var c=u==null?0:u.length;return c?u[c-1]:n}function h$e(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=E;return v!==n&&(k=ut(v),k=k<0?Yn(E+k,0):Er(k,E-1)),c===c?G2e(u,c,k):Py(u,Sj,k,!0)}function g$e(u,c){return u&&u.length?tz(u,ut(c)):n}var m$e=ht(Wz);function Wz(u,c){return u&&u.length&&c&&c.length?LD(u,c):u}function v$e(u,c,v){return u&&u.length&&c&&c.length?LD(u,c,He(v,2)):u}function y$e(u,c,v){return u&&u.length&&c&&c.length?LD(u,c,n,v):u}var b$e=Ea(function(u,c){var v=u==null?0:u.length,E=_D(u,c);return oz(u,ln(c,function(k){return Sa(k,v)?+k:k}).sort(hz)),E});function w$e(u,c){var v=[];if(!(u&&u.length))return v;var E=-1,k=[],N=u.length;for(c=He(c,3);++E<N;){var M=u[E];c(M,E,u)&&(v.push(M),k.push(E))}return oz(u,k),v}function rx(u){return u==null?u:pwe.call(u)}function $$e(u,c,v){var E=u==null?0:u.length;return E?(v&&typeof v!="number"&&Br(u,c,v)?(c=0,v=E):(c=c==null?0:ut(c),v=v===n?E:ut(v)),qo(u,c,v)):[]}function C$e(u,c){return eb(u,c)}function E$e(u,c,v){return jD(u,c,He(v,2))}function S$e(u,c){var v=u==null?0:u.length;if(v){var E=eb(u,c);if(E<v&&hi(u[E],c))return E}return-1}function D$e(u,c){return eb(u,c,!0)}function x$e(u,c,v){return jD(u,c,He(v,2),!0)}function A$e(u,c){var v=u==null?0:u.length;if(v){var E=eb(u,c,!0)-1;if(hi(u[E],c))return E}return-1}function k$e(u){return u&&u.length?az(u):[]}function _$e(u,c){return u&&u.length?az(u,He(c,2)):[]}function O$e(u){var c=u==null?0:u.length;return c?qo(u,1,c):[]}function B$e(u,c,v){return u&&u.length?(c=v||c===n?1:ut(c),qo(u,0,c<0?0:c)):[]}function T$e(u,c,v){var E=u==null?0:u.length;return E?(c=v||c===n?1:ut(c),c=E-c,qo(u,c<0?0:c,E)):[]}function F$e(u,c){return u&&u.length?tb(u,He(c,3),!1,!0):[]}function P$e(u,c){return u&&u.length?tb(u,He(c,3)):[]}var I$e=ht(function(u){return Js(hr(u,1,xn,!0))}),N$e=ht(function(u){var c=Go(u);return xn(c)&&(c=n),Js(hr(u,1,xn,!0),He(c,2))}),L$e=ht(function(u){var c=Go(u);return c=typeof c=="function"?c:n,Js(hr(u,1,xn,!0),n,c)});function R$e(u){return u&&u.length?Js(u):[]}function M$e(u,c){return u&&u.length?Js(u,He(c,2)):[]}function j$e(u,c){return c=typeof c=="function"?c:n,u&&u.length?Js(u,n,c):[]}function ox(u){if(!(u&&u.length))return[];var c=0;return u=Ws(u,function(v){if(xn(v))return c=Yn(v.length,c),!0}),$D(c,function(v){return ln(u,yD(v))})}function qz(u,c){if(!(u&&u.length))return[];var v=ox(u);return c==null?v:ln(v,function(E){return nr(c,n,E)})}var z$e=ht(function(u,c){return xn(u)?Zg(u,c):[]}),V$e=ht(function(u){return VD(Ws(u,xn))}),U$e=ht(function(u){var c=Go(u);return xn(c)&&(c=n),VD(Ws(u,xn),He(c,2))}),H$e=ht(function(u){var c=Go(u);return c=typeof c=="function"?c:n,VD(Ws(u,xn),n,c)}),W$e=ht(ox);function q$e(u,c){return cz(u||[],c||[],Xg)}function G$e(u,c){return cz(u||[],c||[],t0)}var K$e=ht(function(u){var c=u.length,v=c>1?u[c-1]:n;return v=typeof v=="function"?(u.pop(),v):n,qz(u,v)});function Gz(u){var c=F(u);return c.__chain__=!0,c}function Y$e(u,c){return c(u),u}function cb(u,c){return c(u)}var J$e=Ea(function(u){var c=u.length,v=c?u[0]:0,E=this.__wrapped__,k=function(N){return _D(N,u)};return c>1||this.__actions__.length||!(E instanceof wt)||!Sa(v)?this.thru(k):(E=E.slice(v,+v+(c?1:0)),E.__actions__.push({func:cb,args:[k],thisArg:n}),new Ho(E,this.__chain__).thru(function(N){return c&&!N.length&&N.push(n),N}))});function X$e(){return Gz(this)}function Z$e(){return new Ho(this.value(),this.__chain__)}function Q$e(){this.__values__===n&&(this.__values__=sV(this.value()));var u=this.__index__>=this.__values__.length,c=u?n:this.__values__[this.__index__++];return{done:u,value:c}}function e3e(){return this}function t3e(u){for(var c,v=this;v instanceof Yy;){var E=jz(v);E.__index__=0,E.__values__=n,c?k.__wrapped__=E:c=E;var k=E;v=v.__wrapped__}return k.__wrapped__=u,c}function n3e(){var u=this.__wrapped__;if(u instanceof wt){var c=u;return this.__actions__.length&&(c=new wt(this)),c=c.reverse(),c.__actions__.push({func:cb,args:[rx],thisArg:n}),new Ho(c,this.__chain__)}return this.thru(rx)}function r3e(){return lz(this.__wrapped__,this.__actions__)}var o3e=nb(function(u,c,v){zt.call(u,v)?++u[v]:$a(u,v,1)});function i3e(u,c,v){var E=ot(u)?Cj:Ywe;return v&&Br(u,c,v)&&(c=n),E(u,He(c,3))}function a3e(u,c){var v=ot(u)?Ws:qj;return v(u,He(c,3))}var s3e=wz(zz),u3e=wz(Vz);function l3e(u,c){return hr(fb(u,c),1)}function c3e(u,c){return hr(fb(u,c),Fe)}function f3e(u,c,v){return v=v===n?1:ut(v),hr(fb(u,c),v)}function Kz(u,c){var v=ot(u)?Vo:Ys;return v(u,He(c,3))}function Yz(u,c){var v=ot(u)?O2e:Wj;return v(u,He(c,3))}var d3e=nb(function(u,c,v){zt.call(u,v)?u[v].push(c):$a(u,v,[c])});function p3e(u,c,v,E){u=Vr(u)?u:nd(u),v=v&&!E?ut(v):0;var k=u.length;return v<0&&(v=Yn(k+v,0)),mb(u)?v<=k&&u.indexOf(c,v)>-1:!!k&&Hf(u,c,v)>-1}var h3e=ht(function(u,c,v){var E=-1,k=typeof c=="function",N=Vr(u)?ne(u.length):[];return Ys(u,function(M){N[++E]=k?nr(c,M,v):Qg(M,c,v)}),N}),g3e=nb(function(u,c,v){$a(u,v,c)});function fb(u,c){var v=ot(u)?ln:Zj;return v(u,He(c,3))}function m3e(u,c,v,E){return u==null?[]:(ot(c)||(c=c==null?[]:[c]),v=E?n:v,ot(v)||(v=v==null?[]:[v]),nz(u,c,v))}var v3e=nb(function(u,c,v){u[v?0:1].push(c)},function(){return[[],[]]});function y3e(u,c,v){var E=ot(u)?mD:xj,k=arguments.length<3;return E(u,He(c,4),v,k,Ys)}function b3e(u,c,v){var E=ot(u)?B2e:xj,k=arguments.length<3;return E(u,He(c,4),v,k,Wj)}function w3e(u,c){var v=ot(u)?Ws:qj;return v(u,hb(He(c,3)))}function $3e(u){var c=ot(u)?zj:p4e;return c(u)}function C3e(u,c,v){(v?Br(u,c,v):c===n)?c=1:c=ut(c);var E=ot(u)?Hwe:h4e;return E(u,c)}function E3e(u){var c=ot(u)?Wwe:m4e;return c(u)}function S3e(u){if(u==null)return 0;if(Vr(u))return mb(u)?qf(u):u.length;var c=Sr(u);return c==ae||c==Ve?u.size:ID(u).length}function D3e(u,c,v){var E=ot(u)?vD:v4e;return v&&Br(u,c,v)&&(c=n),E(u,He(c,3))}var x3e=ht(function(u,c){if(u==null)return[];var v=c.length;return v>1&&Br(u,c[0],c[1])?c=[]:v>2&&Br(c[0],c[1],c[2])&&(c=[c[0]]),nz(u,hr(c,1),[])}),db=awe||function(){return mt.Date.now()};function A3e(u,c){if(typeof c!="function")throw new Uo(a);return u=ut(u),function(){if(--u<1)return c.apply(this,arguments)}}function Jz(u,c,v){return c=v?n:c,c=u&&c==null?u.length:c,Ca(u,T,n,n,n,n,c)}function Xz(u,c){var v;if(typeof c!="function")throw new Uo(a);return u=ut(u),function(){return--u>0&&(v=c.apply(this,arguments)),u<=1&&(c=n),v}}var ix=ht(function(u,c,v){var E=b;if(v.length){var k=Gs(v,ed(ix));E|=A}return Ca(u,E,c,v,k)}),Zz=ht(function(u,c,v){var E=b|w;if(v.length){var k=Gs(v,ed(Zz));E|=A}return Ca(c,E,u,v,k)});function Qz(u,c,v){c=v?n:c;var E=Ca(u,S,n,n,n,n,n,c);return E.placeholder=Qz.placeholder,E}function eV(u,c,v){c=v?n:c;var E=Ca(u,x,n,n,n,n,n,c);return E.placeholder=eV.placeholder,E}function tV(u,c,v){var E,k,N,M,K,Q,le=0,fe=!1,he=!1,ke=!0;if(typeof u!="function")throw new Uo(a);c=Ko(c)||0,vn(v)&&(fe=!!v.leading,he="maxWait"in v,N=he?Yn(Ko(v.maxWait)||0,c):N,ke="trailing"in v?!!v.trailing:ke);function Re(An){var gi=E,Aa=k;return E=k=n,le=An,M=u.apply(Aa,gi),M}function qe(An){return le=An,K=o0(vt,c),fe?Re(An):M}function dt(An){var gi=An-Q,Aa=An-le,wV=c-gi;return he?Er(wV,N-Aa):wV}function Ge(An){var gi=An-Q,Aa=An-le;return Q===n||gi>=c||gi<0||he&&Aa>=N}function vt(){var An=db();if(Ge(An))return St(An);K=o0(vt,dt(An))}function St(An){return K=n,ke&&E?Re(An):(E=k=n,M)}function po(){K!==n&&fz(K),le=0,E=Q=k=K=n}function Tr(){return K===n?M:St(db())}function ho(){var An=db(),gi=Ge(An);if(E=arguments,k=this,Q=An,gi){if(K===n)return qe(Q);if(he)return fz(K),K=o0(vt,c),Re(Q)}return K===n&&(K=o0(vt,c)),M}return ho.cancel=po,ho.flush=Tr,ho}var k3e=ht(function(u,c){return Hj(u,1,c)}),_3e=ht(function(u,c,v){return Hj(u,Ko(c)||0,v)});function O3e(u){return Ca(u,V)}function pb(u,c){if(typeof u!="function"||c!=null&&typeof c!="function")throw new Uo(a);var v=function(){var E=arguments,k=c?c.apply(this,E):E[0],N=v.cache;if(N.has(k))return N.get(k);var M=u.apply(this,E);return v.cache=N.set(k,M)||N,M};return v.cache=new(pb.Cache||wa),v}pb.Cache=wa;function hb(u){if(typeof u!="function")throw new Uo(a);return function(){var c=arguments;switch(c.length){case 0:return!u.call(this);case 1:return!u.call(this,c[0]);case 2:return!u.call(this,c[0],c[1]);case 3:return!u.call(this,c[0],c[1],c[2])}return!u.apply(this,c)}}function B3e(u){return Xz(2,u)}var T3e=y4e(function(u,c){c=c.length==1&&ot(c[0])?ln(c[0],lo(He())):ln(hr(c,1),lo(He()));var v=c.length;return ht(function(E){for(var k=-1,N=Er(E.length,v);++k<N;)E[k]=c[k].call(this,E[k]);return nr(u,this,E)})}),ax=ht(function(u,c){var v=Gs(c,ed(ax));return Ca(u,A,n,c,v)}),nV=ht(function(u,c){var v=Gs(c,ed(nV));return Ca(u,O,n,c,v)}),F3e=Ea(function(u,c){return Ca(u,z,n,n,n,c)});function P3e(u,c){if(typeof u!="function")throw new Uo(a);return c=c===n?c:ut(c),ht(u,c)}function I3e(u,c){if(typeof u!="function")throw new Uo(a);return c=c==null?0:Yn(ut(c),0),ht(function(v){var E=v[c],k=Zs(v,0,c);return E&&qs(k,E),nr(u,this,k)})}function N3e(u,c,v){var E=!0,k=!0;if(typeof u!="function")throw new Uo(a);return vn(v)&&(E="leading"in v?!!v.leading:E,k="trailing"in v?!!v.trailing:k),tV(u,c,{leading:E,maxWait:c,trailing:k})}function L3e(u){return Jz(u,1)}function R3e(u,c){return ax(HD(c),u)}function M3e(){if(!arguments.length)return[];var u=arguments[0];return ot(u)?u:[u]}function j3e(u){return Wo(u,m)}function z3e(u,c){return c=typeof c=="function"?c:n,Wo(u,m,c)}function V3e(u){return Wo(u,p|m)}function U3e(u,c){return c=typeof c=="function"?c:n,Wo(u,p|m,c)}function H3e(u,c){return c==null||Uj(u,c,rr(c))}function hi(u,c){return u===c||u!==u&&c!==c}var W3e=ab(TD),q3e=ab(function(u,c){return u>=c}),Il=Yj(function(){return arguments}())?Yj:function(u){return wn(u)&&zt.call(u,"callee")&&!Ij.call(u,"callee")},ot=ne.isArray,G3e=Rn?lo(Rn):t4e;function Vr(u){return u!=null&&gb(u.length)&&!Da(u)}function xn(u){return wn(u)&&Vr(u)}function K3e(u){return u===!0||u===!1||wn(u)&&Or(u)==B}var Qs=uwe||vx,Y3e=fi?lo(fi):n4e;function J3e(u){return wn(u)&&u.nodeType===1&&!i0(u)}function X3e(u){if(u==null)return!0;if(Vr(u)&&(ot(u)||typeof u=="string"||typeof u.splice=="function"||Qs(u)||td(u)||Il(u)))return!u.length;var c=Sr(u);if(c==ae||c==Ve)return!u.size;if(r0(u))return!ID(u).length;for(var v in u)if(zt.call(u,v))return!1;return!0}function Z3e(u,c){return e0(u,c)}function Q3e(u,c,v){v=typeof v=="function"?v:n;var E=v?v(u,c):n;return E===n?e0(u,c,n,v):!!E}function sx(u){if(!wn(u))return!1;var c=Or(u);return c==Ae||c==ge||typeof u.message=="string"&&typeof u.name=="string"&&!i0(u)}function eCe(u){return typeof u=="number"&&Lj(u)}function Da(u){if(!vn(u))return!1;var c=Or(u);return c==j||c==ve||c==q||c==De}function rV(u){return typeof u=="number"&&u==ut(u)}function gb(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=je}function vn(u){var c=typeof u;return u!=null&&(c=="object"||c=="function")}function wn(u){return u!=null&&typeof u=="object"}var oV=zo?lo(zo):o4e;function tCe(u,c){return u===c||PD(u,c,XD(c))}function nCe(u,c,v){return v=typeof v=="function"?v:n,PD(u,c,XD(c),v)}function rCe(u){return iV(u)&&u!=+u}function oCe(u){if(z4e(u))throw new rt(i);return Jj(u)}function iCe(u){return u===null}function aCe(u){return u==null}function iV(u){return typeof u=="number"||wn(u)&&Or(u)==X}function i0(u){if(!wn(u)||Or(u)!=pe)return!1;var c=Vy(u);if(c===null)return!0;var v=zt.call(c,"constructor")&&c.constructor;return typeof v=="function"&&v instanceof v&&Ry.call(v)==nwe}var ux=Vi?lo(Vi):i4e;function sCe(u){return rV(u)&&u>=-je&&u<=je}var aV=Hg?lo(Hg):a4e;function mb(u){return typeof u=="string"||!ot(u)&&wn(u)&&Or(u)==ze}function fo(u){return typeof u=="symbol"||wn(u)&&Or(u)==ft}var td=Al?lo(Al):s4e;function uCe(u){return u===n}function lCe(u){return wn(u)&&Sr(u)==Ze}function cCe(u){return wn(u)&&Or(u)==At}var fCe=ab(ND),dCe=ab(function(u,c){return u<=c});function sV(u){if(!u)return[];if(Vr(u))return mb(u)?di(u):zr(u);if(qg&&u[qg])return H2e(u[qg]());var c=Sr(u),v=c==ae?ED:c==Ve?Iy:nd;return v(u)}function xa(u){if(!u)return u===0?u:0;if(u=Ko(u),u===Fe||u===-Fe){var c=u<0?-1:1;return c*Ue}return u===u?u:0}function ut(u){var c=xa(u),v=c%1;return c===c?v?c-v:c:0}function uV(u){return u?Bl(ut(u),0,Je):0}function Ko(u){if(typeof u=="number")return u;if(fo(u))return Oe;if(vn(u)){var c=typeof u.valueOf=="function"?u.valueOf():u;u=vn(c)?c+"":c}if(typeof u!="string")return u===0?u:+u;u=Aj(u);var v=Bg.test(u);return v||Fg.test(u)?Me(u.slice(2),v?2:8):Og.test(u)?Oe:+u}function lV(u){return Hi(u,Ur(u))}function pCe(u){return u?Bl(ut(u),-je,je):u===0?u:0}function Lt(u){return u==null?"":co(u)}var hCe=Zf(function(u,c){if(r0(c)||Vr(c)){Hi(c,rr(c),u);return}for(var v in c)zt.call(c,v)&&Xg(u,v,c[v])}),cV=Zf(function(u,c){Hi(c,Ur(c),u)}),vb=Zf(function(u,c,v,E){Hi(c,Ur(c),u,E)}),gCe=Zf(function(u,c,v,E){Hi(c,rr(c),u,E)}),mCe=Ea(_D);function vCe(u,c){var v=Xf(u);return c==null?v:Vj(v,c)}var yCe=ht(function(u,c){u=Kt(u);var v=-1,E=c.length,k=E>2?c[2]:n;for(k&&Br(c[0],c[1],k)&&(E=1);++v<E;)for(var N=c[v],M=Ur(N),K=-1,Q=M.length;++K<Q;){var le=M[K],fe=u[le];(fe===n||hi(fe,Kf[le])&&!zt.call(u,le))&&(u[le]=N[le])}return u}),bCe=ht(function(u){return u.push(n,Az),nr(fV,n,u)});function wCe(u,c){return Ej(u,He(c,3),Ui)}function $Ce(u,c){return Ej(u,He(c,3),BD)}function CCe(u,c){return u==null?u:OD(u,He(c,3),Ur)}function ECe(u,c){return u==null?u:Gj(u,He(c,3),Ur)}function SCe(u,c){return u&&Ui(u,He(c,3))}function DCe(u,c){return u&&BD(u,He(c,3))}function xCe(u){return u==null?[]:Zy(u,rr(u))}function ACe(u){return u==null?[]:Zy(u,Ur(u))}function lx(u,c,v){var E=u==null?n:Tl(u,c);return E===n?v:E}function kCe(u,c){return u!=null&&Oz(u,c,Xwe)}function cx(u,c){return u!=null&&Oz(u,c,Zwe)}var _Ce=Cz(function(u,c,v){c!=null&&typeof c.toString!="function"&&(c=My.call(c)),u[c]=v},dx(Hr)),OCe=Cz(function(u,c,v){c!=null&&typeof c.toString!="function"&&(c=My.call(c)),zt.call(u,c)?u[c].push(v):u[c]=[v]},He),BCe=ht(Qg);function rr(u){return Vr(u)?jj(u):ID(u)}function Ur(u){return Vr(u)?jj(u,!0):u4e(u)}function TCe(u,c){var v={};return c=He(c,3),Ui(u,function(E,k,N){$a(v,c(E,k,N),E)}),v}function FCe(u,c){var v={};return c=He(c,3),Ui(u,function(E,k,N){$a(v,k,c(E,k,N))}),v}var PCe=Zf(function(u,c,v){Qy(u,c,v)}),fV=Zf(function(u,c,v,E){Qy(u,c,v,E)}),ICe=Ea(function(u,c){var v={};if(u==null)return v;var E=!1;c=ln(c,function(N){return N=Xs(N,u),E||(E=N.length>1),N}),Hi(u,YD(u),v),E&&(v=Wo(v,p|h|m,_4e));for(var k=c.length;k--;)zD(v,c[k]);return v});function NCe(u,c){return dV(u,hb(He(c)))}var LCe=Ea(function(u,c){return u==null?{}:c4e(u,c)});function dV(u,c){if(u==null)return{};var v=ln(YD(u),function(E){return[E]});return c=He(c),rz(u,v,function(E,k){return c(E,k[0])})}function RCe(u,c,v){c=Xs(c,u);var E=-1,k=c.length;for(k||(k=1,u=n);++E<k;){var N=u==null?n:u[Wi(c[E])];N===n&&(E=k,N=v),u=Da(N)?N.call(u):N}return u}function MCe(u,c,v){return u==null?u:t0(u,c,v)}function jCe(u,c,v,E){return E=typeof E=="function"?E:n,u==null?u:t0(u,c,v,E)}var pV=Dz(rr),hV=Dz(Ur);function zCe(u,c,v){var E=ot(u),k=E||Qs(u)||td(u);if(c=He(c,4),v==null){var N=u&&u.constructor;k?v=E?new N:[]:vn(u)?v=Da(N)?Xf(Vy(u)):{}:v={}}return(k?Vo:Ui)(u,function(M,K,Q){return c(v,M,K,Q)}),v}function VCe(u,c){return u==null?!0:zD(u,c)}function UCe(u,c,v){return u==null?u:uz(u,c,HD(v))}function HCe(u,c,v,E){return E=typeof E=="function"?E:n,u==null?u:uz(u,c,HD(v),E)}function nd(u){return u==null?[]:CD(u,rr(u))}function WCe(u){return u==null?[]:CD(u,Ur(u))}function qCe(u,c,v){return v===n&&(v=c,c=n),v!==n&&(v=Ko(v),v=v===v?v:0),c!==n&&(c=Ko(c),c=c===c?c:0),Bl(Ko(u),c,v)}function GCe(u,c,v){return c=xa(c),v===n?(v=c,c=0):v=xa(v),u=Ko(u),Qwe(u,c,v)}function KCe(u,c,v){if(v&&typeof v!="boolean"&&Br(u,c,v)&&(c=v=n),v===n&&(typeof c=="boolean"?(v=c,c=n):typeof u=="boolean"&&(v=u,u=n)),u===n&&c===n?(u=0,c=1):(u=xa(u),c===n?(c=u,u=0):c=xa(c)),u>c){var E=u;u=c,c=E}if(v||u%1||c%1){var k=Rj();return Er(u+k*(c-u+Qe("1e-"+((k+"").length-1))),c)}return RD(u,c)}var YCe=Qf(function(u,c,v){return c=c.toLowerCase(),u+(v?gV(c):c)});function gV(u){return fx(Lt(u).toLowerCase())}function mV(u){return u=Lt(u),u&&u.replace($r,M2e).replace(Ug,"")}function JCe(u,c,v){u=Lt(u),c=co(c);var E=u.length;v=v===n?E:Bl(ut(v),0,E);var k=v;return v-=c.length,v>=0&&u.slice(v,k)==c}function XCe(u){return u=Lt(u),u&&No.test(u)?u.replace(io,j2e):u}function ZCe(u){return u=Lt(u),u&&Sg.test(u)?u.replace(vl,"\\$&"):u}var QCe=Qf(function(u,c,v){return u+(v?"-":"")+c.toLowerCase()}),eEe=Qf(function(u,c,v){return u+(v?" ":"")+c.toLowerCase()}),tEe=bz("toLowerCase");function nEe(u,c,v){u=Lt(u),c=ut(c);var E=c?qf(u):0;if(!c||E>=c)return u;var k=(c-E)/2;return ib(qy(k),v)+u+ib(Wy(k),v)}function rEe(u,c,v){u=Lt(u),c=ut(c);var E=c?qf(u):0;return c&&E<c?u+ib(c-E,v):u}function oEe(u,c,v){u=Lt(u),c=ut(c);var E=c?qf(u):0;return c&&E<c?ib(c-E,v)+u:u}function iEe(u,c,v){return v||c==null?c=0:c&&(c=+c),dwe(Lt(u).replace(yl,""),c||0)}function aEe(u,c,v){return(v?Br(u,c,v):c===n)?c=1:c=ut(c),MD(Lt(u),c)}function sEe(){var u=arguments,c=Lt(u[0]);return u.length<3?c:c.replace(u[1],u[2])}var uEe=Qf(function(u,c,v){return u+(v?"_":"")+c.toLowerCase()});function lEe(u,c,v){return v&&typeof v!="number"&&Br(u,c,v)&&(c=v=n),v=v===n?Je:v>>>0,v?(u=Lt(u),u&&(typeof c=="string"||c!=null&&!ux(c))&&(c=co(c),!c&&Wf(u))?Zs(di(u),0,v):u.split(c,v)):[]}var cEe=Qf(function(u,c,v){return u+(v?" ":"")+fx(c)});function fEe(u,c,v){return u=Lt(u),v=v==null?0:Bl(ut(v),0,u.length),c=co(c),u.slice(v,v+c.length)==c}function dEe(u,c,v){var E=F.templateSettings;v&&Br(u,c,v)&&(c=n),u=Lt(u),c=vb({},c,E,xz);var k=vb({},c.imports,E.imports,xz),N=rr(k),M=CD(k,N),K,Q,le=0,fe=c.interpolate||Ms,he="__p += '",ke=SD((c.escape||Ms).source+"|"+fe.source+"|"+(fe===li?_g:Ms).source+"|"+(c.evaluate||Ms).source+"|$","g"),Re="//# sourceURL="+(zt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xl+"]")+`
11
- `;u.replace(ke,function(Ge,vt,St,po,Tr,ho){return St||(St=po),he+=u.slice(le,ho).replace(Ig,z2e),vt&&(K=!0,he+=`' +
10
+ `)}function R4e(u){return ot(u)||Il(u)||!!(Nj&&u&&u[Nj])}function Sa(u,c){var v=typeof u;return c=c==null?je:c,!!c&&(v=="number"||v!="symbol"&&Pg.test(u))&&u>-1&&u%1==0&&u<c}function Br(u,c,v){if(!vn(v))return!1;var E=typeof c;return(E=="number"?Vr(v)&&Sa(c,v.length):E=="string"&&c in v)?hi(v[c],u):!1}function QD(u,c){if(ot(u))return!1;var v=typeof u;return v=="number"||v=="symbol"||v=="boolean"||u==null||po(u)?!0:Rs.test(u)||!Lo.test(u)||c!=null&&u in Kt(c)}function M4e(u){var c=typeof u;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?u!=="__proto__":u===null}function ex(u){var c=sb(u),v=F[c];if(typeof v!="function"||!(c in wt.prototype))return!1;if(u===v)return!0;var E=JD(v);return!!E&&u===E[0]}function j4e(u){return!!Tj&&Tj in u}var z4e=Ly?Da:vx;function r0(u){var c=u&&u.constructor,v=typeof c=="function"&&c.prototype||Kf;return u===v}function Tz(u){return u===u&&!vn(u)}function Fz(u,c){return function(v){return v==null?!1:v[u]===c&&(c!==n||u in Kt(v))}}function V4e(u){var c=pb(u,function(E){return v.size===f&&v.clear(),E}),v=c.cache;return c}function U4e(u,c){var v=u[1],E=c[1],k=v|E,N=k<(b|w|T),M=E==T&&v==S||E==T&&v==z&&u[7].length<=c[8]||E==(T|z)&&c[7].length<=c[8]&&v==S;if(!(N||M))return u;E&b&&(u[2]=c[2],k|=v&b?0:y);var K=c[3];if(K){var Q=u[3];u[3]=Q?gz(Q,K,c[4]):K,u[4]=Q?Gs(u[3],d):c[4]}return K=c[5],K&&(Q=u[5],u[5]=Q?mz(Q,K,c[6]):K,u[6]=Q?Gs(u[5],d):c[6]),K=c[7],K&&(u[7]=K),E&T&&(u[8]=u[8]==null?c[8]:Er(u[8],c[8])),u[9]==null&&(u[9]=c[9]),u[0]=c[0],u[1]=k,u}function H4e(u){var c=[];if(u!=null)for(var v in Kt(u))c.push(v);return c}function W4e(u){return My.call(u)}function Pz(u,c,v){return c=Yn(c===n?u.length-1:c,0),function(){for(var E=arguments,k=-1,N=Yn(E.length-c,0),M=ne(N);++k<N;)M[k]=E[c+k];k=-1;for(var K=ne(c+1);++k<c;)K[k]=E[k];return K[c]=v(M),nr(u,this,K)}}function Iz(u,c){return c.length<2?u:Tl(u,qo(c,0,-1))}function q4e(u,c){for(var v=u.length,E=Er(c.length,v),k=zr(u);E--;){var N=c[E];u[E]=Sa(N,v)?k[N]:n}return u}function tx(u,c){if(!(c==="constructor"&&typeof u[c]=="function")&&c!="__proto__")return u[c]}var Nz=Rz(iz),o0=swe||function(u,c){return mt.setTimeout(u,c)},nx=Rz(g4e);function Lz(u,c,v){var E=c+"";return nx(u,L4e(E,G4e(P4e(E),v)))}function Rz(u){var c=0,v=0;return function(){var E=fwe(),k=me-(E-v);if(v=E,k>0){if(++c>=de)return arguments[0]}else c=0;return u.apply(n,arguments)}}function lb(u,c){var v=-1,E=u.length,k=E-1;for(c=c===n?E:c;++v<c;){var N=RD(v,k),M=u[N];u[N]=u[v],u[v]=M}return u.length=c,u}var Mz=V4e(function(u){var c=[];return u.charCodeAt(0)===46&&c.push(""),u.replace(uo,function(v,E,k,N){c.push(k?N.replace(kg,"$1"):E||v)}),c});function Wi(u){if(typeof u=="string"||po(u))return u;var c=u+"";return c=="0"&&1/u==-Fe?"-0":c}function Pl(u){if(u!=null){try{return Ry.call(u)}catch{}try{return u+""}catch{}}return""}function G4e(u,c){return Vo(I,function(v){var E="_."+v[0];c&v[1]&&!Fy(u,E)&&u.push(E)}),u.sort()}function jz(u){if(u instanceof wt)return u.clone();var c=new Ho(u.__wrapped__,u.__chain__);return c.__actions__=zr(u.__actions__),c.__index__=u.__index__,c.__values__=u.__values__,c}function K4e(u,c,v){(v?Br(u,c,v):c===n)?c=1:c=Yn(ut(c),0);var E=u==null?0:u.length;if(!E||c<1)return[];for(var k=0,N=0,M=ne(Wy(E/c));k<E;)M[N++]=qo(u,k,k+=c);return M}function Y4e(u){for(var c=-1,v=u==null?0:u.length,E=0,k=[];++c<v;){var N=u[c];N&&(k[E++]=N)}return k}function J4e(){var u=arguments.length;if(!u)return[];for(var c=ne(u-1),v=arguments[0],E=u;E--;)c[E-1]=arguments[E];return qs(ot(v)?zr(v):[v],hr(c,1))}var X4e=ht(function(u,c){return xn(u)?Zg(u,hr(c,1,xn,!0)):[]}),Z4e=ht(function(u,c){var v=Go(c);return xn(v)&&(v=n),xn(u)?Zg(u,hr(c,1,xn,!0),He(v,2)):[]}),Q4e=ht(function(u,c){var v=Go(c);return xn(v)&&(v=n),xn(u)?Zg(u,hr(c,1,xn,!0),n,v):[]});function e$e(u,c,v){var E=u==null?0:u.length;return E?(c=v||c===n?1:ut(c),qo(u,c<0?0:c,E)):[]}function t$e(u,c,v){var E=u==null?0:u.length;return E?(c=v||c===n?1:ut(c),c=E-c,qo(u,0,c<0?0:c)):[]}function n$e(u,c){return u&&u.length?tb(u,He(c,3),!0,!0):[]}function r$e(u,c){return u&&u.length?tb(u,He(c,3),!0):[]}function o$e(u,c,v,E){var k=u==null?0:u.length;return k?(v&&typeof v!="number"&&Br(u,c,v)&&(v=0,E=k),Jwe(u,c,v,E)):[]}function zz(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=v==null?0:ut(v);return k<0&&(k=Yn(E+k,0)),Py(u,He(c,3),k)}function Vz(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=E-1;return v!==n&&(k=ut(v),k=v<0?Yn(E+k,0):Er(k,E-1)),Py(u,He(c,3),k,!0)}function Uz(u){var c=u==null?0:u.length;return c?hr(u,1):[]}function i$e(u){var c=u==null?0:u.length;return c?hr(u,Fe):[]}function a$e(u,c){var v=u==null?0:u.length;return v?(c=c===n?1:ut(c),hr(u,c)):[]}function s$e(u){for(var c=-1,v=u==null?0:u.length,E={};++c<v;){var k=u[c];E[k[0]]=k[1]}return E}function Hz(u){return u&&u.length?u[0]:n}function u$e(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=v==null?0:ut(v);return k<0&&(k=Yn(E+k,0)),Hf(u,c,k)}function l$e(u){var c=u==null?0:u.length;return c?qo(u,0,-1):[]}var c$e=ht(function(u){var c=ln(u,UD);return c.length&&c[0]===u[0]?FD(c):[]}),f$e=ht(function(u){var c=Go(u),v=ln(u,UD);return c===Go(v)?c=n:v.pop(),v.length&&v[0]===u[0]?FD(v,He(c,2)):[]}),d$e=ht(function(u){var c=Go(u),v=ln(u,UD);return c=typeof c=="function"?c:n,c&&v.pop(),v.length&&v[0]===u[0]?FD(v,n,c):[]});function p$e(u,c){return u==null?"":lwe.call(u,c)}function Go(u){var c=u==null?0:u.length;return c?u[c-1]:n}function h$e(u,c,v){var E=u==null?0:u.length;if(!E)return-1;var k=E;return v!==n&&(k=ut(v),k=k<0?Yn(E+k,0):Er(k,E-1)),c===c?G2e(u,c,k):Py(u,Sj,k,!0)}function g$e(u,c){return u&&u.length?tz(u,ut(c)):n}var m$e=ht(Wz);function Wz(u,c){return u&&u.length&&c&&c.length?LD(u,c):u}function v$e(u,c,v){return u&&u.length&&c&&c.length?LD(u,c,He(v,2)):u}function y$e(u,c,v){return u&&u.length&&c&&c.length?LD(u,c,n,v):u}var b$e=Ea(function(u,c){var v=u==null?0:u.length,E=_D(u,c);return oz(u,ln(c,function(k){return Sa(k,v)?+k:k}).sort(hz)),E});function w$e(u,c){var v=[];if(!(u&&u.length))return v;var E=-1,k=[],N=u.length;for(c=He(c,3);++E<N;){var M=u[E];c(M,E,u)&&(v.push(M),k.push(E))}return oz(u,k),v}function rx(u){return u==null?u:pwe.call(u)}function $$e(u,c,v){var E=u==null?0:u.length;return E?(v&&typeof v!="number"&&Br(u,c,v)?(c=0,v=E):(c=c==null?0:ut(c),v=v===n?E:ut(v)),qo(u,c,v)):[]}function C$e(u,c){return eb(u,c)}function E$e(u,c,v){return jD(u,c,He(v,2))}function S$e(u,c){var v=u==null?0:u.length;if(v){var E=eb(u,c);if(E<v&&hi(u[E],c))return E}return-1}function D$e(u,c){return eb(u,c,!0)}function x$e(u,c,v){return jD(u,c,He(v,2),!0)}function A$e(u,c){var v=u==null?0:u.length;if(v){var E=eb(u,c,!0)-1;if(hi(u[E],c))return E}return-1}function k$e(u){return u&&u.length?az(u):[]}function _$e(u,c){return u&&u.length?az(u,He(c,2)):[]}function O$e(u){var c=u==null?0:u.length;return c?qo(u,1,c):[]}function B$e(u,c,v){return u&&u.length?(c=v||c===n?1:ut(c),qo(u,0,c<0?0:c)):[]}function T$e(u,c,v){var E=u==null?0:u.length;return E?(c=v||c===n?1:ut(c),c=E-c,qo(u,c<0?0:c,E)):[]}function F$e(u,c){return u&&u.length?tb(u,He(c,3),!1,!0):[]}function P$e(u,c){return u&&u.length?tb(u,He(c,3)):[]}var I$e=ht(function(u){return Js(hr(u,1,xn,!0))}),N$e=ht(function(u){var c=Go(u);return xn(c)&&(c=n),Js(hr(u,1,xn,!0),He(c,2))}),L$e=ht(function(u){var c=Go(u);return c=typeof c=="function"?c:n,Js(hr(u,1,xn,!0),n,c)});function R$e(u){return u&&u.length?Js(u):[]}function M$e(u,c){return u&&u.length?Js(u,He(c,2)):[]}function j$e(u,c){return c=typeof c=="function"?c:n,u&&u.length?Js(u,n,c):[]}function ox(u){if(!(u&&u.length))return[];var c=0;return u=Ws(u,function(v){if(xn(v))return c=Yn(v.length,c),!0}),$D(c,function(v){return ln(u,yD(v))})}function qz(u,c){if(!(u&&u.length))return[];var v=ox(u);return c==null?v:ln(v,function(E){return nr(c,n,E)})}var z$e=ht(function(u,c){return xn(u)?Zg(u,c):[]}),V$e=ht(function(u){return VD(Ws(u,xn))}),U$e=ht(function(u){var c=Go(u);return xn(c)&&(c=n),VD(Ws(u,xn),He(c,2))}),H$e=ht(function(u){var c=Go(u);return c=typeof c=="function"?c:n,VD(Ws(u,xn),n,c)}),W$e=ht(ox);function q$e(u,c){return cz(u||[],c||[],Xg)}function G$e(u,c){return cz(u||[],c||[],t0)}var K$e=ht(function(u){var c=u.length,v=c>1?u[c-1]:n;return v=typeof v=="function"?(u.pop(),v):n,qz(u,v)});function Gz(u){var c=F(u);return c.__chain__=!0,c}function Y$e(u,c){return c(u),u}function cb(u,c){return c(u)}var J$e=Ea(function(u){var c=u.length,v=c?u[0]:0,E=this.__wrapped__,k=function(N){return _D(N,u)};return c>1||this.__actions__.length||!(E instanceof wt)||!Sa(v)?this.thru(k):(E=E.slice(v,+v+(c?1:0)),E.__actions__.push({func:cb,args:[k],thisArg:n}),new Ho(E,this.__chain__).thru(function(N){return c&&!N.length&&N.push(n),N}))});function X$e(){return Gz(this)}function Z$e(){return new Ho(this.value(),this.__chain__)}function Q$e(){this.__values__===n&&(this.__values__=sV(this.value()));var u=this.__index__>=this.__values__.length,c=u?n:this.__values__[this.__index__++];return{done:u,value:c}}function e3e(){return this}function t3e(u){for(var c,v=this;v instanceof Yy;){var E=jz(v);E.__index__=0,E.__values__=n,c?k.__wrapped__=E:c=E;var k=E;v=v.__wrapped__}return k.__wrapped__=u,c}function n3e(){var u=this.__wrapped__;if(u instanceof wt){var c=u;return this.__actions__.length&&(c=new wt(this)),c=c.reverse(),c.__actions__.push({func:cb,args:[rx],thisArg:n}),new Ho(c,this.__chain__)}return this.thru(rx)}function r3e(){return lz(this.__wrapped__,this.__actions__)}var o3e=nb(function(u,c,v){zt.call(u,v)?++u[v]:$a(u,v,1)});function i3e(u,c,v){var E=ot(u)?Cj:Ywe;return v&&Br(u,c,v)&&(c=n),E(u,He(c,3))}function a3e(u,c){var v=ot(u)?Ws:qj;return v(u,He(c,3))}var s3e=wz(zz),u3e=wz(Vz);function l3e(u,c){return hr(fb(u,c),1)}function c3e(u,c){return hr(fb(u,c),Fe)}function f3e(u,c,v){return v=v===n?1:ut(v),hr(fb(u,c),v)}function Kz(u,c){var v=ot(u)?Vo:Ys;return v(u,He(c,3))}function Yz(u,c){var v=ot(u)?O2e:Wj;return v(u,He(c,3))}var d3e=nb(function(u,c,v){zt.call(u,v)?u[v].push(c):$a(u,v,[c])});function p3e(u,c,v,E){u=Vr(u)?u:nd(u),v=v&&!E?ut(v):0;var k=u.length;return v<0&&(v=Yn(k+v,0)),mb(u)?v<=k&&u.indexOf(c,v)>-1:!!k&&Hf(u,c,v)>-1}var h3e=ht(function(u,c,v){var E=-1,k=typeof c=="function",N=Vr(u)?ne(u.length):[];return Ys(u,function(M){N[++E]=k?nr(c,M,v):Qg(M,c,v)}),N}),g3e=nb(function(u,c,v){$a(u,v,c)});function fb(u,c){var v=ot(u)?ln:Zj;return v(u,He(c,3))}function m3e(u,c,v,E){return u==null?[]:(ot(c)||(c=c==null?[]:[c]),v=E?n:v,ot(v)||(v=v==null?[]:[v]),nz(u,c,v))}var v3e=nb(function(u,c,v){u[v?0:1].push(c)},function(){return[[],[]]});function y3e(u,c,v){var E=ot(u)?mD:xj,k=arguments.length<3;return E(u,He(c,4),v,k,Ys)}function b3e(u,c,v){var E=ot(u)?B2e:xj,k=arguments.length<3;return E(u,He(c,4),v,k,Wj)}function w3e(u,c){var v=ot(u)?Ws:qj;return v(u,hb(He(c,3)))}function $3e(u){var c=ot(u)?zj:p4e;return c(u)}function C3e(u,c,v){(v?Br(u,c,v):c===n)?c=1:c=ut(c);var E=ot(u)?Hwe:h4e;return E(u,c)}function E3e(u){var c=ot(u)?Wwe:m4e;return c(u)}function S3e(u){if(u==null)return 0;if(Vr(u))return mb(u)?qf(u):u.length;var c=Sr(u);return c==ae||c==Ve?u.size:ID(u).length}function D3e(u,c,v){var E=ot(u)?vD:v4e;return v&&Br(u,c,v)&&(c=n),E(u,He(c,3))}var x3e=ht(function(u,c){if(u==null)return[];var v=c.length;return v>1&&Br(u,c[0],c[1])?c=[]:v>2&&Br(c[0],c[1],c[2])&&(c=[c[0]]),nz(u,hr(c,1),[])}),db=awe||function(){return mt.Date.now()};function A3e(u,c){if(typeof c!="function")throw new Uo(a);return u=ut(u),function(){if(--u<1)return c.apply(this,arguments)}}function Jz(u,c,v){return c=v?n:c,c=u&&c==null?u.length:c,Ca(u,T,n,n,n,n,c)}function Xz(u,c){var v;if(typeof c!="function")throw new Uo(a);return u=ut(u),function(){return--u>0&&(v=c.apply(this,arguments)),u<=1&&(c=n),v}}var ix=ht(function(u,c,v){var E=b;if(v.length){var k=Gs(v,ed(ix));E|=A}return Ca(u,E,c,v,k)}),Zz=ht(function(u,c,v){var E=b|w;if(v.length){var k=Gs(v,ed(Zz));E|=A}return Ca(c,E,u,v,k)});function Qz(u,c,v){c=v?n:c;var E=Ca(u,S,n,n,n,n,n,c);return E.placeholder=Qz.placeholder,E}function eV(u,c,v){c=v?n:c;var E=Ca(u,x,n,n,n,n,n,c);return E.placeholder=eV.placeholder,E}function tV(u,c,v){var E,k,N,M,K,Q,le=0,fe=!1,he=!1,ke=!0;if(typeof u!="function")throw new Uo(a);c=Ko(c)||0,vn(v)&&(fe=!!v.leading,he="maxWait"in v,N=he?Yn(Ko(v.maxWait)||0,c):N,ke="trailing"in v?!!v.trailing:ke);function Re(An){var gi=E,Aa=k;return E=k=n,le=An,M=u.apply(Aa,gi),M}function qe(An){return le=An,K=o0(vt,c),fe?Re(An):M}function dt(An){var gi=An-Q,Aa=An-le,wV=c-gi;return he?Er(wV,N-Aa):wV}function Ge(An){var gi=An-Q,Aa=An-le;return Q===n||gi>=c||gi<0||he&&Aa>=N}function vt(){var An=db();if(Ge(An))return St(An);K=o0(vt,dt(An))}function St(An){return K=n,ke&&E?Re(An):(E=k=n,M)}function ho(){K!==n&&fz(K),le=0,E=Q=k=K=n}function Tr(){return K===n?M:St(db())}function go(){var An=db(),gi=Ge(An);if(E=arguments,k=this,Q=An,gi){if(K===n)return qe(Q);if(he)return fz(K),K=o0(vt,c),Re(Q)}return K===n&&(K=o0(vt,c)),M}return go.cancel=ho,go.flush=Tr,go}var k3e=ht(function(u,c){return Hj(u,1,c)}),_3e=ht(function(u,c,v){return Hj(u,Ko(c)||0,v)});function O3e(u){return Ca(u,V)}function pb(u,c){if(typeof u!="function"||c!=null&&typeof c!="function")throw new Uo(a);var v=function(){var E=arguments,k=c?c.apply(this,E):E[0],N=v.cache;if(N.has(k))return N.get(k);var M=u.apply(this,E);return v.cache=N.set(k,M)||N,M};return v.cache=new(pb.Cache||wa),v}pb.Cache=wa;function hb(u){if(typeof u!="function")throw new Uo(a);return function(){var c=arguments;switch(c.length){case 0:return!u.call(this);case 1:return!u.call(this,c[0]);case 2:return!u.call(this,c[0],c[1]);case 3:return!u.call(this,c[0],c[1],c[2])}return!u.apply(this,c)}}function B3e(u){return Xz(2,u)}var T3e=y4e(function(u,c){c=c.length==1&&ot(c[0])?ln(c[0],co(He())):ln(hr(c,1),co(He()));var v=c.length;return ht(function(E){for(var k=-1,N=Er(E.length,v);++k<N;)E[k]=c[k].call(this,E[k]);return nr(u,this,E)})}),ax=ht(function(u,c){var v=Gs(c,ed(ax));return Ca(u,A,n,c,v)}),nV=ht(function(u,c){var v=Gs(c,ed(nV));return Ca(u,O,n,c,v)}),F3e=Ea(function(u,c){return Ca(u,z,n,n,n,c)});function P3e(u,c){if(typeof u!="function")throw new Uo(a);return c=c===n?c:ut(c),ht(u,c)}function I3e(u,c){if(typeof u!="function")throw new Uo(a);return c=c==null?0:Yn(ut(c),0),ht(function(v){var E=v[c],k=Zs(v,0,c);return E&&qs(k,E),nr(u,this,k)})}function N3e(u,c,v){var E=!0,k=!0;if(typeof u!="function")throw new Uo(a);return vn(v)&&(E="leading"in v?!!v.leading:E,k="trailing"in v?!!v.trailing:k),tV(u,c,{leading:E,maxWait:c,trailing:k})}function L3e(u){return Jz(u,1)}function R3e(u,c){return ax(HD(c),u)}function M3e(){if(!arguments.length)return[];var u=arguments[0];return ot(u)?u:[u]}function j3e(u){return Wo(u,m)}function z3e(u,c){return c=typeof c=="function"?c:n,Wo(u,m,c)}function V3e(u){return Wo(u,p|m)}function U3e(u,c){return c=typeof c=="function"?c:n,Wo(u,p|m,c)}function H3e(u,c){return c==null||Uj(u,c,rr(c))}function hi(u,c){return u===c||u!==u&&c!==c}var W3e=ab(TD),q3e=ab(function(u,c){return u>=c}),Il=Yj(function(){return arguments}())?Yj:function(u){return wn(u)&&zt.call(u,"callee")&&!Ij.call(u,"callee")},ot=ne.isArray,G3e=Rn?co(Rn):t4e;function Vr(u){return u!=null&&gb(u.length)&&!Da(u)}function xn(u){return wn(u)&&Vr(u)}function K3e(u){return u===!0||u===!1||wn(u)&&Or(u)==B}var Qs=uwe||vx,Y3e=fi?co(fi):n4e;function J3e(u){return wn(u)&&u.nodeType===1&&!i0(u)}function X3e(u){if(u==null)return!0;if(Vr(u)&&(ot(u)||typeof u=="string"||typeof u.splice=="function"||Qs(u)||td(u)||Il(u)))return!u.length;var c=Sr(u);if(c==ae||c==Ve)return!u.size;if(r0(u))return!ID(u).length;for(var v in u)if(zt.call(u,v))return!1;return!0}function Z3e(u,c){return e0(u,c)}function Q3e(u,c,v){v=typeof v=="function"?v:n;var E=v?v(u,c):n;return E===n?e0(u,c,n,v):!!E}function sx(u){if(!wn(u))return!1;var c=Or(u);return c==Ae||c==ge||typeof u.message=="string"&&typeof u.name=="string"&&!i0(u)}function eCe(u){return typeof u=="number"&&Lj(u)}function Da(u){if(!vn(u))return!1;var c=Or(u);return c==j||c==ve||c==q||c==De}function rV(u){return typeof u=="number"&&u==ut(u)}function gb(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=je}function vn(u){var c=typeof u;return u!=null&&(c=="object"||c=="function")}function wn(u){return u!=null&&typeof u=="object"}var oV=zo?co(zo):o4e;function tCe(u,c){return u===c||PD(u,c,XD(c))}function nCe(u,c,v){return v=typeof v=="function"?v:n,PD(u,c,XD(c),v)}function rCe(u){return iV(u)&&u!=+u}function oCe(u){if(z4e(u))throw new rt(i);return Jj(u)}function iCe(u){return u===null}function aCe(u){return u==null}function iV(u){return typeof u=="number"||wn(u)&&Or(u)==X}function i0(u){if(!wn(u)||Or(u)!=pe)return!1;var c=Vy(u);if(c===null)return!0;var v=zt.call(c,"constructor")&&c.constructor;return typeof v=="function"&&v instanceof v&&Ry.call(v)==nwe}var ux=Vi?co(Vi):i4e;function sCe(u){return rV(u)&&u>=-je&&u<=je}var aV=Hg?co(Hg):a4e;function mb(u){return typeof u=="string"||!ot(u)&&wn(u)&&Or(u)==ze}function po(u){return typeof u=="symbol"||wn(u)&&Or(u)==ft}var td=Al?co(Al):s4e;function uCe(u){return u===n}function lCe(u){return wn(u)&&Sr(u)==Ze}function cCe(u){return wn(u)&&Or(u)==At}var fCe=ab(ND),dCe=ab(function(u,c){return u<=c});function sV(u){if(!u)return[];if(Vr(u))return mb(u)?di(u):zr(u);if(qg&&u[qg])return H2e(u[qg]());var c=Sr(u),v=c==ae?ED:c==Ve?Iy:nd;return v(u)}function xa(u){if(!u)return u===0?u:0;if(u=Ko(u),u===Fe||u===-Fe){var c=u<0?-1:1;return c*Ue}return u===u?u:0}function ut(u){var c=xa(u),v=c%1;return c===c?v?c-v:c:0}function uV(u){return u?Bl(ut(u),0,Je):0}function Ko(u){if(typeof u=="number")return u;if(po(u))return Oe;if(vn(u)){var c=typeof u.valueOf=="function"?u.valueOf():u;u=vn(c)?c+"":c}if(typeof u!="string")return u===0?u:+u;u=Aj(u);var v=Bg.test(u);return v||Fg.test(u)?Me(u.slice(2),v?2:8):Og.test(u)?Oe:+u}function lV(u){return Hi(u,Ur(u))}function pCe(u){return u?Bl(ut(u),-je,je):u===0?u:0}function Lt(u){return u==null?"":fo(u)}var hCe=Zf(function(u,c){if(r0(c)||Vr(c)){Hi(c,rr(c),u);return}for(var v in c)zt.call(c,v)&&Xg(u,v,c[v])}),cV=Zf(function(u,c){Hi(c,Ur(c),u)}),vb=Zf(function(u,c,v,E){Hi(c,Ur(c),u,E)}),gCe=Zf(function(u,c,v,E){Hi(c,rr(c),u,E)}),mCe=Ea(_D);function vCe(u,c){var v=Xf(u);return c==null?v:Vj(v,c)}var yCe=ht(function(u,c){u=Kt(u);var v=-1,E=c.length,k=E>2?c[2]:n;for(k&&Br(c[0],c[1],k)&&(E=1);++v<E;)for(var N=c[v],M=Ur(N),K=-1,Q=M.length;++K<Q;){var le=M[K],fe=u[le];(fe===n||hi(fe,Kf[le])&&!zt.call(u,le))&&(u[le]=N[le])}return u}),bCe=ht(function(u){return u.push(n,Az),nr(fV,n,u)});function wCe(u,c){return Ej(u,He(c,3),Ui)}function $Ce(u,c){return Ej(u,He(c,3),BD)}function CCe(u,c){return u==null?u:OD(u,He(c,3),Ur)}function ECe(u,c){return u==null?u:Gj(u,He(c,3),Ur)}function SCe(u,c){return u&&Ui(u,He(c,3))}function DCe(u,c){return u&&BD(u,He(c,3))}function xCe(u){return u==null?[]:Zy(u,rr(u))}function ACe(u){return u==null?[]:Zy(u,Ur(u))}function lx(u,c,v){var E=u==null?n:Tl(u,c);return E===n?v:E}function kCe(u,c){return u!=null&&Oz(u,c,Xwe)}function cx(u,c){return u!=null&&Oz(u,c,Zwe)}var _Ce=Cz(function(u,c,v){c!=null&&typeof c.toString!="function"&&(c=My.call(c)),u[c]=v},dx(Hr)),OCe=Cz(function(u,c,v){c!=null&&typeof c.toString!="function"&&(c=My.call(c)),zt.call(u,c)?u[c].push(v):u[c]=[v]},He),BCe=ht(Qg);function rr(u){return Vr(u)?jj(u):ID(u)}function Ur(u){return Vr(u)?jj(u,!0):u4e(u)}function TCe(u,c){var v={};return c=He(c,3),Ui(u,function(E,k,N){$a(v,c(E,k,N),E)}),v}function FCe(u,c){var v={};return c=He(c,3),Ui(u,function(E,k,N){$a(v,k,c(E,k,N))}),v}var PCe=Zf(function(u,c,v){Qy(u,c,v)}),fV=Zf(function(u,c,v,E){Qy(u,c,v,E)}),ICe=Ea(function(u,c){var v={};if(u==null)return v;var E=!1;c=ln(c,function(N){return N=Xs(N,u),E||(E=N.length>1),N}),Hi(u,YD(u),v),E&&(v=Wo(v,p|h|m,_4e));for(var k=c.length;k--;)zD(v,c[k]);return v});function NCe(u,c){return dV(u,hb(He(c)))}var LCe=Ea(function(u,c){return u==null?{}:c4e(u,c)});function dV(u,c){if(u==null)return{};var v=ln(YD(u),function(E){return[E]});return c=He(c),rz(u,v,function(E,k){return c(E,k[0])})}function RCe(u,c,v){c=Xs(c,u);var E=-1,k=c.length;for(k||(k=1,u=n);++E<k;){var N=u==null?n:u[Wi(c[E])];N===n&&(E=k,N=v),u=Da(N)?N.call(u):N}return u}function MCe(u,c,v){return u==null?u:t0(u,c,v)}function jCe(u,c,v,E){return E=typeof E=="function"?E:n,u==null?u:t0(u,c,v,E)}var pV=Dz(rr),hV=Dz(Ur);function zCe(u,c,v){var E=ot(u),k=E||Qs(u)||td(u);if(c=He(c,4),v==null){var N=u&&u.constructor;k?v=E?new N:[]:vn(u)?v=Da(N)?Xf(Vy(u)):{}:v={}}return(k?Vo:Ui)(u,function(M,K,Q){return c(v,M,K,Q)}),v}function VCe(u,c){return u==null?!0:zD(u,c)}function UCe(u,c,v){return u==null?u:uz(u,c,HD(v))}function HCe(u,c,v,E){return E=typeof E=="function"?E:n,u==null?u:uz(u,c,HD(v),E)}function nd(u){return u==null?[]:CD(u,rr(u))}function WCe(u){return u==null?[]:CD(u,Ur(u))}function qCe(u,c,v){return v===n&&(v=c,c=n),v!==n&&(v=Ko(v),v=v===v?v:0),c!==n&&(c=Ko(c),c=c===c?c:0),Bl(Ko(u),c,v)}function GCe(u,c,v){return c=xa(c),v===n?(v=c,c=0):v=xa(v),u=Ko(u),Qwe(u,c,v)}function KCe(u,c,v){if(v&&typeof v!="boolean"&&Br(u,c,v)&&(c=v=n),v===n&&(typeof c=="boolean"?(v=c,c=n):typeof u=="boolean"&&(v=u,u=n)),u===n&&c===n?(u=0,c=1):(u=xa(u),c===n?(c=u,u=0):c=xa(c)),u>c){var E=u;u=c,c=E}if(v||u%1||c%1){var k=Rj();return Er(u+k*(c-u+Qe("1e-"+((k+"").length-1))),c)}return RD(u,c)}var YCe=Qf(function(u,c,v){return c=c.toLowerCase(),u+(v?gV(c):c)});function gV(u){return fx(Lt(u).toLowerCase())}function mV(u){return u=Lt(u),u&&u.replace($r,M2e).replace(Ug,"")}function JCe(u,c,v){u=Lt(u),c=fo(c);var E=u.length;v=v===n?E:Bl(ut(v),0,E);var k=v;return v-=c.length,v>=0&&u.slice(v,k)==c}function XCe(u){return u=Lt(u),u&&No.test(u)?u.replace(ao,j2e):u}function ZCe(u){return u=Lt(u),u&&Sg.test(u)?u.replace(vl,"\\$&"):u}var QCe=Qf(function(u,c,v){return u+(v?"-":"")+c.toLowerCase()}),eEe=Qf(function(u,c,v){return u+(v?" ":"")+c.toLowerCase()}),tEe=bz("toLowerCase");function nEe(u,c,v){u=Lt(u),c=ut(c);var E=c?qf(u):0;if(!c||E>=c)return u;var k=(c-E)/2;return ib(qy(k),v)+u+ib(Wy(k),v)}function rEe(u,c,v){u=Lt(u),c=ut(c);var E=c?qf(u):0;return c&&E<c?u+ib(c-E,v):u}function oEe(u,c,v){u=Lt(u),c=ut(c);var E=c?qf(u):0;return c&&E<c?ib(c-E,v)+u:u}function iEe(u,c,v){return v||c==null?c=0:c&&(c=+c),dwe(Lt(u).replace(yl,""),c||0)}function aEe(u,c,v){return(v?Br(u,c,v):c===n)?c=1:c=ut(c),MD(Lt(u),c)}function sEe(){var u=arguments,c=Lt(u[0]);return u.length<3?c:c.replace(u[1],u[2])}var uEe=Qf(function(u,c,v){return u+(v?"_":"")+c.toLowerCase()});function lEe(u,c,v){return v&&typeof v!="number"&&Br(u,c,v)&&(c=v=n),v=v===n?Je:v>>>0,v?(u=Lt(u),u&&(typeof c=="string"||c!=null&&!ux(c))&&(c=fo(c),!c&&Wf(u))?Zs(di(u),0,v):u.split(c,v)):[]}var cEe=Qf(function(u,c,v){return u+(v?" ":"")+fx(c)});function fEe(u,c,v){return u=Lt(u),v=v==null?0:Bl(ut(v),0,u.length),c=fo(c),u.slice(v,v+c.length)==c}function dEe(u,c,v){var E=F.templateSettings;v&&Br(u,c,v)&&(c=n),u=Lt(u),c=vb({},c,E,xz);var k=vb({},c.imports,E.imports,xz),N=rr(k),M=CD(k,N),K,Q,le=0,fe=c.interpolate||Ms,he="__p += '",ke=SD((c.escape||Ms).source+"|"+fe.source+"|"+(fe===li?_g:Ms).source+"|"+(c.evaluate||Ms).source+"|$","g"),Re="//# sourceURL="+(zt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++xl+"]")+`
11
+ `;u.replace(ke,function(Ge,vt,St,ho,Tr,go){return St||(St=ho),he+=u.slice(le,go).replace(Ig,z2e),vt&&(K=!0,he+=`' +
12
12
  __e(`+vt+`) +
13
13
  '`),Tr&&(Q=!0,he+=`';
14
14
  `+Tr+`;
15
15
  __p += '`),St&&(he+=`' +
16
16
  ((__t = (`+St+`)) == null ? '' : __t) +
17
- '`),le=ho+Ge.length,Ge}),he+=`';
17
+ '`),le=go+Ge.length,Ge}),he+=`';
18
18
  `;var qe=zt.call(c,"variable")&&c.variable;if(!qe)he=`with (obj) {
19
19
  `+he+`
20
20
  }
21
- `;else if(Ag.test(qe))throw new rt(s);he=(Q?he.replace(wr,""):he).replace(tr,"$1").replace(oo,"$1;"),he="function("+(qe||"obj")+`) {
21
+ `;else if(Ag.test(qe))throw new rt(s);he=(Q?he.replace(wr,""):he).replace(tr,"$1").replace(io,"$1;"),he="function("+(qe||"obj")+`) {
22
22
  `+(qe?"":`obj || (obj = {});
23
23
  `)+"var __t, __p = ''"+(K?", __e = _.escape":"")+(Q?`, __j = Array.prototype.join;
24
24
  function print() { __p += __j.call(arguments, '') }
25
25
  `:`;
26
26
  `)+he+`return __p
27
- }`;var dt=yV(function(){return Tt(N,Re+"return "+he).apply(n,M)});if(dt.source=he,sx(dt))throw dt;return dt}function pEe(u){return Lt(u).toLowerCase()}function hEe(u){return Lt(u).toUpperCase()}function gEe(u,c,v){if(u=Lt(u),u&&(v||c===n))return Aj(u);if(!u||!(c=co(c)))return u;var E=di(u),k=di(c),N=kj(E,k),M=_j(E,k)+1;return Zs(E,N,M).join("")}function mEe(u,c,v){if(u=Lt(u),u&&(v||c===n))return u.slice(0,Bj(u)+1);if(!u||!(c=co(c)))return u;var E=di(u),k=_j(E,di(c))+1;return Zs(E,0,k).join("")}function vEe(u,c,v){if(u=Lt(u),u&&(v||c===n))return u.replace(yl,"");if(!u||!(c=co(c)))return u;var E=di(u),k=kj(E,di(c));return Zs(E,k).join("")}function yEe(u,c){var v=ue,E=oe;if(vn(c)){var k="separator"in c?c.separator:k;v="length"in c?ut(c.length):v,E="omission"in c?co(c.omission):E}u=Lt(u);var N=u.length;if(Wf(u)){var M=di(u);N=M.length}if(v>=N)return u;var K=v-qf(E);if(K<1)return E;var Q=M?Zs(M,0,K).join(""):u.slice(0,K);if(k===n)return Q+E;if(M&&(K+=Q.length-K),ux(k)){if(u.slice(K).search(k)){var le,fe=Q;for(k.global||(k=SD(k.source,Lt(Gn.exec(k))+"g")),k.lastIndex=0;le=k.exec(fe);)var he=le.index;Q=Q.slice(0,he===n?K:he)}}else if(u.indexOf(co(k),K)!=K){var ke=Q.lastIndexOf(k);ke>-1&&(Q=Q.slice(0,ke))}return Q+E}function bEe(u){return u=Lt(u),u&&zi.test(u)?u.replace(ui,K2e):u}var wEe=Qf(function(u,c,v){return u+(v?" ":"")+c.toUpperCase()}),fx=bz("toUpperCase");function vV(u,c,v){return u=Lt(u),c=v?n:c,c===n?U2e(u)?X2e(u):P2e(u):u.match(c)||[]}var yV=ht(function(u,c){try{return nr(u,n,c)}catch(v){return sx(v)?v:new rt(v)}}),$Ee=Ea(function(u,c){return Vo(c,function(v){v=Wi(v),$a(u,v,ix(u[v],u))}),u});function CEe(u){var c=u==null?0:u.length,v=He();return u=c?ln(u,function(E){if(typeof E[1]!="function")throw new Uo(a);return[v(E[0]),E[1]]}):[],ht(function(E){for(var k=-1;++k<c;){var N=u[k];if(nr(N[0],this,E))return nr(N[1],this,E)}})}function EEe(u){return Kwe(Wo(u,p))}function dx(u){return function(){return u}}function SEe(u,c){return u==null||u!==u?c:u}var DEe=$z(),xEe=$z(!0);function Hr(u){return u}function px(u){return Xj(typeof u=="function"?u:Wo(u,p))}function AEe(u){return Qj(Wo(u,p))}function kEe(u,c){return ez(u,Wo(c,p))}var _Ee=ht(function(u,c){return function(v){return Qg(v,u,c)}}),OEe=ht(function(u,c){return function(v){return Qg(u,v,c)}});function hx(u,c,v){var E=rr(c),k=Zy(c,E);v==null&&!(vn(c)&&(k.length||!E.length))&&(v=c,c=u,u=this,k=Zy(c,rr(c)));var N=!(vn(v)&&"chain"in v)||!!v.chain,M=Da(u);return Vo(k,function(K){var Q=c[K];u[K]=Q,M&&(u.prototype[K]=function(){var le=this.__chain__;if(N||le){var fe=u(this.__wrapped__),he=fe.__actions__=zr(this.__actions__);return he.push({func:Q,args:arguments,thisArg:u}),fe.__chain__=le,fe}return Q.apply(u,qs([this.value()],arguments))})}),u}function BEe(){return mt._===this&&(mt._=rwe),this}function gx(){}function TEe(u){return u=ut(u),ht(function(c){return tz(c,u)})}var FEe=qD(ln),PEe=qD(Cj),IEe=qD(vD);function bV(u){return QD(u)?yD(Wi(u)):f4e(u)}function NEe(u){return function(c){return u==null?n:Tl(u,c)}}var LEe=Ez(),REe=Ez(!0);function mx(){return[]}function vx(){return!1}function MEe(){return{}}function jEe(){return""}function zEe(){return!0}function VEe(u,c){if(u=ut(u),u<1||u>je)return[];var v=Je,E=Er(u,Je);c=He(c),u-=Je;for(var k=$D(E,c);++v<u;)c(v);return k}function UEe(u){return ot(u)?ln(u,Wi):fo(u)?[u]:zr(Mz(Lt(u)))}function HEe(u){var c=++twe;return Lt(u)+c}var WEe=ob(function(u,c){return u+c},0),qEe=GD("ceil"),GEe=ob(function(u,c){return u/c},1),KEe=GD("floor");function YEe(u){return u&&u.length?Xy(u,Hr,TD):n}function JEe(u,c){return u&&u.length?Xy(u,He(c,2),TD):n}function XEe(u){return Dj(u,Hr)}function ZEe(u,c){return Dj(u,He(c,2))}function QEe(u){return u&&u.length?Xy(u,Hr,ND):n}function eSe(u,c){return u&&u.length?Xy(u,He(c,2),ND):n}var tSe=ob(function(u,c){return u*c},1),nSe=GD("round"),rSe=ob(function(u,c){return u-c},0);function oSe(u){return u&&u.length?wD(u,Hr):0}function iSe(u,c){return u&&u.length?wD(u,He(c,2)):0}return F.after=A3e,F.ary=Jz,F.assign=hCe,F.assignIn=cV,F.assignInWith=vb,F.assignWith=gCe,F.at=mCe,F.before=Xz,F.bind=ix,F.bindAll=$Ee,F.bindKey=Zz,F.castArray=M3e,F.chain=Gz,F.chunk=K4e,F.compact=Y4e,F.concat=J4e,F.cond=CEe,F.conforms=EEe,F.constant=dx,F.countBy=o3e,F.create=vCe,F.curry=Qz,F.curryRight=eV,F.debounce=tV,F.defaults=yCe,F.defaultsDeep=bCe,F.defer=k3e,F.delay=_3e,F.difference=X4e,F.differenceBy=Z4e,F.differenceWith=Q4e,F.drop=e$e,F.dropRight=t$e,F.dropRightWhile=n$e,F.dropWhile=r$e,F.fill=o$e,F.filter=a3e,F.flatMap=l3e,F.flatMapDeep=c3e,F.flatMapDepth=f3e,F.flatten=Uz,F.flattenDeep=i$e,F.flattenDepth=a$e,F.flip=O3e,F.flow=DEe,F.flowRight=xEe,F.fromPairs=s$e,F.functions=xCe,F.functionsIn=ACe,F.groupBy=d3e,F.initial=l$e,F.intersection=c$e,F.intersectionBy=f$e,F.intersectionWith=d$e,F.invert=_Ce,F.invertBy=OCe,F.invokeMap=h3e,F.iteratee=px,F.keyBy=g3e,F.keys=rr,F.keysIn=Ur,F.map=fb,F.mapKeys=TCe,F.mapValues=FCe,F.matches=AEe,F.matchesProperty=kEe,F.memoize=pb,F.merge=PCe,F.mergeWith=fV,F.method=_Ee,F.methodOf=OEe,F.mixin=hx,F.negate=hb,F.nthArg=TEe,F.omit=ICe,F.omitBy=NCe,F.once=B3e,F.orderBy=m3e,F.over=FEe,F.overArgs=T3e,F.overEvery=PEe,F.overSome=IEe,F.partial=ax,F.partialRight=nV,F.partition=v3e,F.pick=LCe,F.pickBy=dV,F.property=bV,F.propertyOf=NEe,F.pull=m$e,F.pullAll=Wz,F.pullAllBy=v$e,F.pullAllWith=y$e,F.pullAt=b$e,F.range=LEe,F.rangeRight=REe,F.rearg=F3e,F.reject=w3e,F.remove=w$e,F.rest=P3e,F.reverse=rx,F.sampleSize=C3e,F.set=MCe,F.setWith=jCe,F.shuffle=E3e,F.slice=$$e,F.sortBy=x3e,F.sortedUniq=k$e,F.sortedUniqBy=_$e,F.split=lEe,F.spread=I3e,F.tail=O$e,F.take=B$e,F.takeRight=T$e,F.takeRightWhile=F$e,F.takeWhile=P$e,F.tap=Y$e,F.throttle=N3e,F.thru=cb,F.toArray=sV,F.toPairs=pV,F.toPairsIn=hV,F.toPath=UEe,F.toPlainObject=lV,F.transform=zCe,F.unary=L3e,F.union=I$e,F.unionBy=N$e,F.unionWith=L$e,F.uniq=R$e,F.uniqBy=M$e,F.uniqWith=j$e,F.unset=VCe,F.unzip=ox,F.unzipWith=qz,F.update=UCe,F.updateWith=HCe,F.values=nd,F.valuesIn=WCe,F.without=z$e,F.words=vV,F.wrap=R3e,F.xor=V$e,F.xorBy=U$e,F.xorWith=H$e,F.zip=W$e,F.zipObject=q$e,F.zipObjectDeep=G$e,F.zipWith=K$e,F.entries=pV,F.entriesIn=hV,F.extend=cV,F.extendWith=vb,hx(F,F),F.add=WEe,F.attempt=yV,F.camelCase=YCe,F.capitalize=gV,F.ceil=qEe,F.clamp=qCe,F.clone=j3e,F.cloneDeep=V3e,F.cloneDeepWith=U3e,F.cloneWith=z3e,F.conformsTo=H3e,F.deburr=mV,F.defaultTo=SEe,F.divide=GEe,F.endsWith=JCe,F.eq=hi,F.escape=XCe,F.escapeRegExp=ZCe,F.every=i3e,F.find=s3e,F.findIndex=zz,F.findKey=wCe,F.findLast=u3e,F.findLastIndex=Vz,F.findLastKey=$Ce,F.floor=KEe,F.forEach=Kz,F.forEachRight=Yz,F.forIn=CCe,F.forInRight=ECe,F.forOwn=SCe,F.forOwnRight=DCe,F.get=lx,F.gt=W3e,F.gte=q3e,F.has=kCe,F.hasIn=cx,F.head=Hz,F.identity=Hr,F.includes=p3e,F.indexOf=u$e,F.inRange=GCe,F.invoke=BCe,F.isArguments=Il,F.isArray=ot,F.isArrayBuffer=G3e,F.isArrayLike=Vr,F.isArrayLikeObject=xn,F.isBoolean=K3e,F.isBuffer=Qs,F.isDate=Y3e,F.isElement=J3e,F.isEmpty=X3e,F.isEqual=Z3e,F.isEqualWith=Q3e,F.isError=sx,F.isFinite=eCe,F.isFunction=Da,F.isInteger=rV,F.isLength=gb,F.isMap=oV,F.isMatch=tCe,F.isMatchWith=nCe,F.isNaN=rCe,F.isNative=oCe,F.isNil=aCe,F.isNull=iCe,F.isNumber=iV,F.isObject=vn,F.isObjectLike=wn,F.isPlainObject=i0,F.isRegExp=ux,F.isSafeInteger=sCe,F.isSet=aV,F.isString=mb,F.isSymbol=fo,F.isTypedArray=td,F.isUndefined=uCe,F.isWeakMap=lCe,F.isWeakSet=cCe,F.join=p$e,F.kebabCase=QCe,F.last=Go,F.lastIndexOf=h$e,F.lowerCase=eEe,F.lowerFirst=tEe,F.lt=fCe,F.lte=dCe,F.max=YEe,F.maxBy=JEe,F.mean=XEe,F.meanBy=ZEe,F.min=QEe,F.minBy=eSe,F.stubArray=mx,F.stubFalse=vx,F.stubObject=MEe,F.stubString=jEe,F.stubTrue=zEe,F.multiply=tSe,F.nth=g$e,F.noConflict=BEe,F.noop=gx,F.now=db,F.pad=nEe,F.padEnd=rEe,F.padStart=oEe,F.parseInt=iEe,F.random=KCe,F.reduce=y3e,F.reduceRight=b3e,F.repeat=aEe,F.replace=sEe,F.result=RCe,F.round=nSe,F.runInContext=Z,F.sample=$3e,F.size=S3e,F.snakeCase=uEe,F.some=D3e,F.sortedIndex=C$e,F.sortedIndexBy=E$e,F.sortedIndexOf=S$e,F.sortedLastIndex=D$e,F.sortedLastIndexBy=x$e,F.sortedLastIndexOf=A$e,F.startCase=cEe,F.startsWith=fEe,F.subtract=rSe,F.sum=oSe,F.sumBy=iSe,F.template=dEe,F.times=VEe,F.toFinite=xa,F.toInteger=ut,F.toLength=uV,F.toLower=pEe,F.toNumber=Ko,F.toSafeInteger=pCe,F.toString=Lt,F.toUpper=hEe,F.trim=gEe,F.trimEnd=mEe,F.trimStart=vEe,F.truncate=yEe,F.unescape=bEe,F.uniqueId=HEe,F.upperCase=wEe,F.upperFirst=fx,F.each=Kz,F.eachRight=Yz,F.first=Hz,hx(F,function(){var u={};return Ui(F,function(c,v){zt.call(F.prototype,v)||(u[v]=c)}),u}(),{chain:!1}),F.VERSION=r,Vo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){F[u].placeholder=F}),Vo(["drop","take"],function(u,c){wt.prototype[u]=function(v){v=v===n?1:Yn(ut(v),0);var E=this.__filtered__&&!c?new wt(this):this.clone();return E.__filtered__?E.__takeCount__=Er(v,E.__takeCount__):E.__views__.push({size:Er(v,Je),type:u+(E.__dir__<0?"Right":"")}),E},wt.prototype[u+"Right"]=function(v){return this.reverse()[u](v).reverse()}}),Vo(["filter","map","takeWhile"],function(u,c){var v=c+1,E=v==_e||v==Be;wt.prototype[u]=function(k){var N=this.clone();return N.__iteratees__.push({iteratee:He(k,3),type:v}),N.__filtered__=N.__filtered__||E,N}}),Vo(["head","last"],function(u,c){var v="take"+(c?"Right":"");wt.prototype[u]=function(){return this[v](1).value()[0]}}),Vo(["initial","tail"],function(u,c){var v="drop"+(c?"":"Right");wt.prototype[u]=function(){return this.__filtered__?new wt(this):this[v](1)}}),wt.prototype.compact=function(){return this.filter(Hr)},wt.prototype.find=function(u){return this.filter(u).head()},wt.prototype.findLast=function(u){return this.reverse().find(u)},wt.prototype.invokeMap=ht(function(u,c){return typeof u=="function"?new wt(this):this.map(function(v){return Qg(v,u,c)})}),wt.prototype.reject=function(u){return this.filter(hb(He(u)))},wt.prototype.slice=function(u,c){u=ut(u);var v=this;return v.__filtered__&&(u>0||c<0)?new wt(v):(u<0?v=v.takeRight(-u):u&&(v=v.drop(u)),c!==n&&(c=ut(c),v=c<0?v.dropRight(-c):v.take(c-u)),v)},wt.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},wt.prototype.toArray=function(){return this.take(Je)},Ui(wt.prototype,function(u,c){var v=/^(?:filter|find|map|reject)|While$/.test(c),E=/^(?:head|last)$/.test(c),k=F[E?"take"+(c=="last"?"Right":""):c],N=E||/^find/.test(c);!k||(F.prototype[c]=function(){var M=this.__wrapped__,K=E?[1]:arguments,Q=M instanceof wt,le=K[0],fe=Q||ot(M),he=function(vt){var St=k.apply(F,qs([vt],K));return E&&ke?St[0]:St};fe&&v&&typeof le=="function"&&le.length!=1&&(Q=fe=!1);var ke=this.__chain__,Re=!!this.__actions__.length,qe=N&&!ke,dt=Q&&!Re;if(!N&&fe){M=dt?M:new wt(this);var Ge=u.apply(M,K);return Ge.__actions__.push({func:cb,args:[he],thisArg:n}),new Ho(Ge,ke)}return qe&&dt?u.apply(this,K):(Ge=this.thru(he),qe?E?Ge.value()[0]:Ge.value():Ge)})}),Vo(["pop","push","shift","sort","splice","unshift"],function(u){var c=Ny[u],v=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",E=/^(?:pop|shift)$/.test(u);F.prototype[u]=function(){var k=arguments;if(E&&!this.__chain__){var N=this.value();return c.apply(ot(N)?N:[],k)}return this[v](function(M){return c.apply(ot(M)?M:[],k)})}}),Ui(wt.prototype,function(u,c){var v=F[c];if(v){var E=v.name+"";zt.call(Jf,E)||(Jf[E]=[]),Jf[E].push({name:c,func:v})}}),Jf[rb(n,w).name]=[{name:"wrapper",func:n}],wt.prototype.clone=bwe,wt.prototype.reverse=wwe,wt.prototype.value=$we,F.prototype.at=J$e,F.prototype.chain=X$e,F.prototype.commit=Z$e,F.prototype.next=Q$e,F.prototype.plant=t3e,F.prototype.reverse=n3e,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=r3e,F.prototype.first=F.prototype.head,qg&&(F.prototype[qg]=e3e),F},Gf=Z2e();un?((un.exports=Gf)._=Gf,xt._=Gf):mt._=Gf}).call(od)})(go,go.exports);const UV=g.defineComponent({name:"JwtDesTable",props:{config:{require:!0,type:Object,default:()=>{}},detailInfo:{require:!0,type:Object,default:()=>{}},userMenusAuth:{require:!0,type:Object,default:()=>{}},currentPagePath:{type:String,default:""},fillUrl:{type:Function,default:null},uploadUrl:{type:String,default:""},request:{type:Function,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}}},emits:["header-action","change","click-cell","des-edit-success"],setup(e,{emit:t}){const n=g.reactive({ajaxLoading:!1}),r=g.computed({get:()=>go.exports.merge({attrs:{}},e.config),set:l=>{console.log("value",l)}}),o=g.computed(()=>{var l,f;return((f=(l=r.value)==null?void 0:l.desColumns)==null?void 0:f.map(d=>{const p=e.detailInfo[d.prop];return d.value=rd(p,d.formatType,e.detailInfo,d),d}))||[]}),i=(l,f)=>{var h,m;console.log("row",l),console.log("item",f),t("change",l,f,"drawDes");const d=(m=(h=r.value)==null?void 0:h.api)==null?void 0:m.update;if(d){const{id:C}=l,{prop:$}=f;if(!C)return;var p={id:C};p[$]=l[$],e.request({url:d,method:"post",data:p}).then(()=>{l[`isEdit${$}`]=!1,t("des-edit-success",f)})}},a=l=>{t("header-action",l)},s=(l,f)=>{console.log("row",l),console.log("item",f),t("click-cell",l,f)};return{...g.toRefs(n),desConfig:r,desColumns:o,filterVal:rd,handleHeaderAction:a,handleEditRowProp:i,handleClickRow:s}}});function HV(e,t,n,r,o,i){const a=g.resolveComponent("jwt-header-button"),s=g.resolveComponent("jwt-column-item"),l=g.resolveComponent("el-descriptions-item"),f=g.resolveComponent("el-descriptions");return g.openBlock(),g.createBlock(f,g.normalizeProps(g.guardReactiveProps(e.desConfig.attrs)),{title:g.withCtx(()=>{var d;return[g.renderSlot(e.$slots,((d=e.desConfig)==null?void 0:d.titleSlotName)||"",{scope:e.detailInfo})]}),extra:g.withCtx(()=>{var d;return[g.renderSlot(e.$slots,((d=e.desConfig)==null?void 0:d.extraSlotName)||"",{scope:e.detailInfo},()=>{var p,h,m,C,$,b;return[(h=(p=e.desConfig)==null?void 0:p.headerActions)!=null&&h.list.length?(g.openBlock(),g.createBlock(a,{key:0,"action-list":(C=(m=e.desConfig)==null?void 0:m.headerActions)==null?void 0:C.list,"current-path":e.currentPagePath,"file-import-api":(b=($=e.desConfig)==null?void 0:$.api)==null?void 0:b.tableFileImportApi,loading:e.ajaxLoading,"menus-obj":e.userMenusAuth,onHeaderAction:e.handleHeaderAction},null,8,["action-list","current-path","file-import-api","loading","menus-obj","onHeaderAction"])):g.createCommentVNode("",!0)]})]}),default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.desColumns,(d,p)=>(g.openBlock(),g.createBlock(l,g.mergeProps({key:p},d,{label:e.translateTitle(d.label)}),{default:g.withCtx(()=>[g.renderSlot(e.$slots,d.prop,{index:p,scope:e.detailInfo},()=>[g.createVNode(s,{"fill-url":e.fillUrl,index:p,item:d,row:e.detailInfo,"upload-url":e.uploadUrl,onChange:h=>e.handleEditRowProp(e.detailInfo,d),onClickCell:e.handleClickRow},null,8,["fill-url","index","item","row","upload-url","onChange","onClickCell"])])]),_:2},1040,["label"]))),128))]),_:3},16)}const WV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(UV,[["render",HV]])},Symbol.toStringTag,{value:"Module"})),hSe="";var wb;if(typeof global>"u"){if("ActiveXObject"in window){var yx="\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668";yx+=`
27
+ }`;var dt=yV(function(){return Tt(N,Re+"return "+he).apply(n,M)});if(dt.source=he,sx(dt))throw dt;return dt}function pEe(u){return Lt(u).toLowerCase()}function hEe(u){return Lt(u).toUpperCase()}function gEe(u,c,v){if(u=Lt(u),u&&(v||c===n))return Aj(u);if(!u||!(c=fo(c)))return u;var E=di(u),k=di(c),N=kj(E,k),M=_j(E,k)+1;return Zs(E,N,M).join("")}function mEe(u,c,v){if(u=Lt(u),u&&(v||c===n))return u.slice(0,Bj(u)+1);if(!u||!(c=fo(c)))return u;var E=di(u),k=_j(E,di(c))+1;return Zs(E,0,k).join("")}function vEe(u,c,v){if(u=Lt(u),u&&(v||c===n))return u.replace(yl,"");if(!u||!(c=fo(c)))return u;var E=di(u),k=kj(E,di(c));return Zs(E,k).join("")}function yEe(u,c){var v=ue,E=oe;if(vn(c)){var k="separator"in c?c.separator:k;v="length"in c?ut(c.length):v,E="omission"in c?fo(c.omission):E}u=Lt(u);var N=u.length;if(Wf(u)){var M=di(u);N=M.length}if(v>=N)return u;var K=v-qf(E);if(K<1)return E;var Q=M?Zs(M,0,K).join(""):u.slice(0,K);if(k===n)return Q+E;if(M&&(K+=Q.length-K),ux(k)){if(u.slice(K).search(k)){var le,fe=Q;for(k.global||(k=SD(k.source,Lt(Gn.exec(k))+"g")),k.lastIndex=0;le=k.exec(fe);)var he=le.index;Q=Q.slice(0,he===n?K:he)}}else if(u.indexOf(fo(k),K)!=K){var ke=Q.lastIndexOf(k);ke>-1&&(Q=Q.slice(0,ke))}return Q+E}function bEe(u){return u=Lt(u),u&&zi.test(u)?u.replace(ui,K2e):u}var wEe=Qf(function(u,c,v){return u+(v?" ":"")+c.toUpperCase()}),fx=bz("toUpperCase");function vV(u,c,v){return u=Lt(u),c=v?n:c,c===n?U2e(u)?X2e(u):P2e(u):u.match(c)||[]}var yV=ht(function(u,c){try{return nr(u,n,c)}catch(v){return sx(v)?v:new rt(v)}}),$Ee=Ea(function(u,c){return Vo(c,function(v){v=Wi(v),$a(u,v,ix(u[v],u))}),u});function CEe(u){var c=u==null?0:u.length,v=He();return u=c?ln(u,function(E){if(typeof E[1]!="function")throw new Uo(a);return[v(E[0]),E[1]]}):[],ht(function(E){for(var k=-1;++k<c;){var N=u[k];if(nr(N[0],this,E))return nr(N[1],this,E)}})}function EEe(u){return Kwe(Wo(u,p))}function dx(u){return function(){return u}}function SEe(u,c){return u==null||u!==u?c:u}var DEe=$z(),xEe=$z(!0);function Hr(u){return u}function px(u){return Xj(typeof u=="function"?u:Wo(u,p))}function AEe(u){return Qj(Wo(u,p))}function kEe(u,c){return ez(u,Wo(c,p))}var _Ee=ht(function(u,c){return function(v){return Qg(v,u,c)}}),OEe=ht(function(u,c){return function(v){return Qg(u,v,c)}});function hx(u,c,v){var E=rr(c),k=Zy(c,E);v==null&&!(vn(c)&&(k.length||!E.length))&&(v=c,c=u,u=this,k=Zy(c,rr(c)));var N=!(vn(v)&&"chain"in v)||!!v.chain,M=Da(u);return Vo(k,function(K){var Q=c[K];u[K]=Q,M&&(u.prototype[K]=function(){var le=this.__chain__;if(N||le){var fe=u(this.__wrapped__),he=fe.__actions__=zr(this.__actions__);return he.push({func:Q,args:arguments,thisArg:u}),fe.__chain__=le,fe}return Q.apply(u,qs([this.value()],arguments))})}),u}function BEe(){return mt._===this&&(mt._=rwe),this}function gx(){}function TEe(u){return u=ut(u),ht(function(c){return tz(c,u)})}var FEe=qD(ln),PEe=qD(Cj),IEe=qD(vD);function bV(u){return QD(u)?yD(Wi(u)):f4e(u)}function NEe(u){return function(c){return u==null?n:Tl(u,c)}}var LEe=Ez(),REe=Ez(!0);function mx(){return[]}function vx(){return!1}function MEe(){return{}}function jEe(){return""}function zEe(){return!0}function VEe(u,c){if(u=ut(u),u<1||u>je)return[];var v=Je,E=Er(u,Je);c=He(c),u-=Je;for(var k=$D(E,c);++v<u;)c(v);return k}function UEe(u){return ot(u)?ln(u,Wi):po(u)?[u]:zr(Mz(Lt(u)))}function HEe(u){var c=++twe;return Lt(u)+c}var WEe=ob(function(u,c){return u+c},0),qEe=GD("ceil"),GEe=ob(function(u,c){return u/c},1),KEe=GD("floor");function YEe(u){return u&&u.length?Xy(u,Hr,TD):n}function JEe(u,c){return u&&u.length?Xy(u,He(c,2),TD):n}function XEe(u){return Dj(u,Hr)}function ZEe(u,c){return Dj(u,He(c,2))}function QEe(u){return u&&u.length?Xy(u,Hr,ND):n}function eSe(u,c){return u&&u.length?Xy(u,He(c,2),ND):n}var tSe=ob(function(u,c){return u*c},1),nSe=GD("round"),rSe=ob(function(u,c){return u-c},0);function oSe(u){return u&&u.length?wD(u,Hr):0}function iSe(u,c){return u&&u.length?wD(u,He(c,2)):0}return F.after=A3e,F.ary=Jz,F.assign=hCe,F.assignIn=cV,F.assignInWith=vb,F.assignWith=gCe,F.at=mCe,F.before=Xz,F.bind=ix,F.bindAll=$Ee,F.bindKey=Zz,F.castArray=M3e,F.chain=Gz,F.chunk=K4e,F.compact=Y4e,F.concat=J4e,F.cond=CEe,F.conforms=EEe,F.constant=dx,F.countBy=o3e,F.create=vCe,F.curry=Qz,F.curryRight=eV,F.debounce=tV,F.defaults=yCe,F.defaultsDeep=bCe,F.defer=k3e,F.delay=_3e,F.difference=X4e,F.differenceBy=Z4e,F.differenceWith=Q4e,F.drop=e$e,F.dropRight=t$e,F.dropRightWhile=n$e,F.dropWhile=r$e,F.fill=o$e,F.filter=a3e,F.flatMap=l3e,F.flatMapDeep=c3e,F.flatMapDepth=f3e,F.flatten=Uz,F.flattenDeep=i$e,F.flattenDepth=a$e,F.flip=O3e,F.flow=DEe,F.flowRight=xEe,F.fromPairs=s$e,F.functions=xCe,F.functionsIn=ACe,F.groupBy=d3e,F.initial=l$e,F.intersection=c$e,F.intersectionBy=f$e,F.intersectionWith=d$e,F.invert=_Ce,F.invertBy=OCe,F.invokeMap=h3e,F.iteratee=px,F.keyBy=g3e,F.keys=rr,F.keysIn=Ur,F.map=fb,F.mapKeys=TCe,F.mapValues=FCe,F.matches=AEe,F.matchesProperty=kEe,F.memoize=pb,F.merge=PCe,F.mergeWith=fV,F.method=_Ee,F.methodOf=OEe,F.mixin=hx,F.negate=hb,F.nthArg=TEe,F.omit=ICe,F.omitBy=NCe,F.once=B3e,F.orderBy=m3e,F.over=FEe,F.overArgs=T3e,F.overEvery=PEe,F.overSome=IEe,F.partial=ax,F.partialRight=nV,F.partition=v3e,F.pick=LCe,F.pickBy=dV,F.property=bV,F.propertyOf=NEe,F.pull=m$e,F.pullAll=Wz,F.pullAllBy=v$e,F.pullAllWith=y$e,F.pullAt=b$e,F.range=LEe,F.rangeRight=REe,F.rearg=F3e,F.reject=w3e,F.remove=w$e,F.rest=P3e,F.reverse=rx,F.sampleSize=C3e,F.set=MCe,F.setWith=jCe,F.shuffle=E3e,F.slice=$$e,F.sortBy=x3e,F.sortedUniq=k$e,F.sortedUniqBy=_$e,F.split=lEe,F.spread=I3e,F.tail=O$e,F.take=B$e,F.takeRight=T$e,F.takeRightWhile=F$e,F.takeWhile=P$e,F.tap=Y$e,F.throttle=N3e,F.thru=cb,F.toArray=sV,F.toPairs=pV,F.toPairsIn=hV,F.toPath=UEe,F.toPlainObject=lV,F.transform=zCe,F.unary=L3e,F.union=I$e,F.unionBy=N$e,F.unionWith=L$e,F.uniq=R$e,F.uniqBy=M$e,F.uniqWith=j$e,F.unset=VCe,F.unzip=ox,F.unzipWith=qz,F.update=UCe,F.updateWith=HCe,F.values=nd,F.valuesIn=WCe,F.without=z$e,F.words=vV,F.wrap=R3e,F.xor=V$e,F.xorBy=U$e,F.xorWith=H$e,F.zip=W$e,F.zipObject=q$e,F.zipObjectDeep=G$e,F.zipWith=K$e,F.entries=pV,F.entriesIn=hV,F.extend=cV,F.extendWith=vb,hx(F,F),F.add=WEe,F.attempt=yV,F.camelCase=YCe,F.capitalize=gV,F.ceil=qEe,F.clamp=qCe,F.clone=j3e,F.cloneDeep=V3e,F.cloneDeepWith=U3e,F.cloneWith=z3e,F.conformsTo=H3e,F.deburr=mV,F.defaultTo=SEe,F.divide=GEe,F.endsWith=JCe,F.eq=hi,F.escape=XCe,F.escapeRegExp=ZCe,F.every=i3e,F.find=s3e,F.findIndex=zz,F.findKey=wCe,F.findLast=u3e,F.findLastIndex=Vz,F.findLastKey=$Ce,F.floor=KEe,F.forEach=Kz,F.forEachRight=Yz,F.forIn=CCe,F.forInRight=ECe,F.forOwn=SCe,F.forOwnRight=DCe,F.get=lx,F.gt=W3e,F.gte=q3e,F.has=kCe,F.hasIn=cx,F.head=Hz,F.identity=Hr,F.includes=p3e,F.indexOf=u$e,F.inRange=GCe,F.invoke=BCe,F.isArguments=Il,F.isArray=ot,F.isArrayBuffer=G3e,F.isArrayLike=Vr,F.isArrayLikeObject=xn,F.isBoolean=K3e,F.isBuffer=Qs,F.isDate=Y3e,F.isElement=J3e,F.isEmpty=X3e,F.isEqual=Z3e,F.isEqualWith=Q3e,F.isError=sx,F.isFinite=eCe,F.isFunction=Da,F.isInteger=rV,F.isLength=gb,F.isMap=oV,F.isMatch=tCe,F.isMatchWith=nCe,F.isNaN=rCe,F.isNative=oCe,F.isNil=aCe,F.isNull=iCe,F.isNumber=iV,F.isObject=vn,F.isObjectLike=wn,F.isPlainObject=i0,F.isRegExp=ux,F.isSafeInteger=sCe,F.isSet=aV,F.isString=mb,F.isSymbol=po,F.isTypedArray=td,F.isUndefined=uCe,F.isWeakMap=lCe,F.isWeakSet=cCe,F.join=p$e,F.kebabCase=QCe,F.last=Go,F.lastIndexOf=h$e,F.lowerCase=eEe,F.lowerFirst=tEe,F.lt=fCe,F.lte=dCe,F.max=YEe,F.maxBy=JEe,F.mean=XEe,F.meanBy=ZEe,F.min=QEe,F.minBy=eSe,F.stubArray=mx,F.stubFalse=vx,F.stubObject=MEe,F.stubString=jEe,F.stubTrue=zEe,F.multiply=tSe,F.nth=g$e,F.noConflict=BEe,F.noop=gx,F.now=db,F.pad=nEe,F.padEnd=rEe,F.padStart=oEe,F.parseInt=iEe,F.random=KCe,F.reduce=y3e,F.reduceRight=b3e,F.repeat=aEe,F.replace=sEe,F.result=RCe,F.round=nSe,F.runInContext=Z,F.sample=$3e,F.size=S3e,F.snakeCase=uEe,F.some=D3e,F.sortedIndex=C$e,F.sortedIndexBy=E$e,F.sortedIndexOf=S$e,F.sortedLastIndex=D$e,F.sortedLastIndexBy=x$e,F.sortedLastIndexOf=A$e,F.startCase=cEe,F.startsWith=fEe,F.subtract=rSe,F.sum=oSe,F.sumBy=iSe,F.template=dEe,F.times=VEe,F.toFinite=xa,F.toInteger=ut,F.toLength=uV,F.toLower=pEe,F.toNumber=Ko,F.toSafeInteger=pCe,F.toString=Lt,F.toUpper=hEe,F.trim=gEe,F.trimEnd=mEe,F.trimStart=vEe,F.truncate=yEe,F.unescape=bEe,F.uniqueId=HEe,F.upperCase=wEe,F.upperFirst=fx,F.each=Kz,F.eachRight=Yz,F.first=Hz,hx(F,function(){var u={};return Ui(F,function(c,v){zt.call(F.prototype,v)||(u[v]=c)}),u}(),{chain:!1}),F.VERSION=r,Vo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){F[u].placeholder=F}),Vo(["drop","take"],function(u,c){wt.prototype[u]=function(v){v=v===n?1:Yn(ut(v),0);var E=this.__filtered__&&!c?new wt(this):this.clone();return E.__filtered__?E.__takeCount__=Er(v,E.__takeCount__):E.__views__.push({size:Er(v,Je),type:u+(E.__dir__<0?"Right":"")}),E},wt.prototype[u+"Right"]=function(v){return this.reverse()[u](v).reverse()}}),Vo(["filter","map","takeWhile"],function(u,c){var v=c+1,E=v==_e||v==Be;wt.prototype[u]=function(k){var N=this.clone();return N.__iteratees__.push({iteratee:He(k,3),type:v}),N.__filtered__=N.__filtered__||E,N}}),Vo(["head","last"],function(u,c){var v="take"+(c?"Right":"");wt.prototype[u]=function(){return this[v](1).value()[0]}}),Vo(["initial","tail"],function(u,c){var v="drop"+(c?"":"Right");wt.prototype[u]=function(){return this.__filtered__?new wt(this):this[v](1)}}),wt.prototype.compact=function(){return this.filter(Hr)},wt.prototype.find=function(u){return this.filter(u).head()},wt.prototype.findLast=function(u){return this.reverse().find(u)},wt.prototype.invokeMap=ht(function(u,c){return typeof u=="function"?new wt(this):this.map(function(v){return Qg(v,u,c)})}),wt.prototype.reject=function(u){return this.filter(hb(He(u)))},wt.prototype.slice=function(u,c){u=ut(u);var v=this;return v.__filtered__&&(u>0||c<0)?new wt(v):(u<0?v=v.takeRight(-u):u&&(v=v.drop(u)),c!==n&&(c=ut(c),v=c<0?v.dropRight(-c):v.take(c-u)),v)},wt.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},wt.prototype.toArray=function(){return this.take(Je)},Ui(wt.prototype,function(u,c){var v=/^(?:filter|find|map|reject)|While$/.test(c),E=/^(?:head|last)$/.test(c),k=F[E?"take"+(c=="last"?"Right":""):c],N=E||/^find/.test(c);!k||(F.prototype[c]=function(){var M=this.__wrapped__,K=E?[1]:arguments,Q=M instanceof wt,le=K[0],fe=Q||ot(M),he=function(vt){var St=k.apply(F,qs([vt],K));return E&&ke?St[0]:St};fe&&v&&typeof le=="function"&&le.length!=1&&(Q=fe=!1);var ke=this.__chain__,Re=!!this.__actions__.length,qe=N&&!ke,dt=Q&&!Re;if(!N&&fe){M=dt?M:new wt(this);var Ge=u.apply(M,K);return Ge.__actions__.push({func:cb,args:[he],thisArg:n}),new Ho(Ge,ke)}return qe&&dt?u.apply(this,K):(Ge=this.thru(he),qe?E?Ge.value()[0]:Ge.value():Ge)})}),Vo(["pop","push","shift","sort","splice","unshift"],function(u){var c=Ny[u],v=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",E=/^(?:pop|shift)$/.test(u);F.prototype[u]=function(){var k=arguments;if(E&&!this.__chain__){var N=this.value();return c.apply(ot(N)?N:[],k)}return this[v](function(M){return c.apply(ot(M)?M:[],k)})}}),Ui(wt.prototype,function(u,c){var v=F[c];if(v){var E=v.name+"";zt.call(Jf,E)||(Jf[E]=[]),Jf[E].push({name:c,func:v})}}),Jf[rb(n,w).name]=[{name:"wrapper",func:n}],wt.prototype.clone=bwe,wt.prototype.reverse=wwe,wt.prototype.value=$we,F.prototype.at=J$e,F.prototype.chain=X$e,F.prototype.commit=Z$e,F.prototype.next=Q$e,F.prototype.plant=t3e,F.prototype.reverse=n3e,F.prototype.toJSON=F.prototype.valueOf=F.prototype.value=r3e,F.prototype.first=F.prototype.head,qg&&(F.prototype[qg]=e3e),F},Gf=Z2e();un?((un.exports=Gf)._=Gf,xt._=Gf):mt._=Gf}).call(od)})(Wr,Wr.exports);const UV=g.defineComponent({name:"JwtDesTable",props:{config:{require:!0,type:Object,default:()=>{}},detailInfo:{require:!0,type:Object,default:()=>{}},userMenusAuth:{require:!0,type:Object,default:()=>{}},currentPagePath:{type:String,default:""},fillUrl:{type:Function,default:null},uploadUrl:{type:String,default:""},request:{type:Function,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}}},emits:["header-action","change","click-cell","des-edit-success"],setup(e,{emit:t}){const n=g.reactive({ajaxLoading:!1}),r=g.computed({get:()=>Wr.exports.merge({attrs:{}},e.config),set:l=>{console.log("value",l)}}),o=g.computed(()=>{var l,f;return((f=(l=r.value)==null?void 0:l.desColumns)==null?void 0:f.map(d=>{const p=e.detailInfo[d.prop];return d.value=rd(p,d.formatType,e.detailInfo,d),d}))||[]}),i=(l,f)=>{var h,m;console.log("row",l),console.log("item",f),t("change",l,f,"drawDes");const d=(m=(h=r.value)==null?void 0:h.api)==null?void 0:m.update;if(d){const{id:C}=l,{prop:$}=f;if(!C)return;var p={id:C};p[$]=l[$],e.request({url:d,method:"post",data:p}).then(()=>{l[`isEdit${$}`]=!1,t("des-edit-success",f)})}},a=l=>{t("header-action",l)},s=(l,f)=>{console.log("row",l),console.log("item",f),t("click-cell",l,f)};return{...g.toRefs(n),desConfig:r,desColumns:o,filterVal:rd,handleHeaderAction:a,handleEditRowProp:i,handleClickRow:s}}});function HV(e,t,n,r,o,i){const a=g.resolveComponent("jwt-header-button"),s=g.resolveComponent("jwt-column-item"),l=g.resolveComponent("el-descriptions-item"),f=g.resolveComponent("el-descriptions");return g.openBlock(),g.createBlock(f,g.normalizeProps(g.guardReactiveProps(e.desConfig.attrs)),{title:g.withCtx(()=>{var d;return[g.renderSlot(e.$slots,((d=e.desConfig)==null?void 0:d.titleSlotName)||"",{scope:e.detailInfo})]}),extra:g.withCtx(()=>{var d;return[g.renderSlot(e.$slots,((d=e.desConfig)==null?void 0:d.extraSlotName)||"",{scope:e.detailInfo},()=>{var p,h,m,C,$,b;return[(h=(p=e.desConfig)==null?void 0:p.headerActions)!=null&&h.list.length?(g.openBlock(),g.createBlock(a,{key:0,"action-list":(C=(m=e.desConfig)==null?void 0:m.headerActions)==null?void 0:C.list,"current-path":e.currentPagePath,"file-import-api":(b=($=e.desConfig)==null?void 0:$.api)==null?void 0:b.tableFileImportApi,loading:e.ajaxLoading,"menus-obj":e.userMenusAuth,onHeaderAction:e.handleHeaderAction},null,8,["action-list","current-path","file-import-api","loading","menus-obj","onHeaderAction"])):g.createCommentVNode("",!0)]})]}),default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.desColumns,(d,p)=>(g.openBlock(),g.createBlock(l,g.mergeProps({key:p},d,{label:e.translateTitle(d.label)}),{default:g.withCtx(()=>[g.renderSlot(e.$slots,d.prop,{index:p,scope:e.detailInfo},()=>[g.createVNode(s,{"fill-url":e.fillUrl,index:p,item:d,row:e.detailInfo,"upload-url":e.uploadUrl,onChange:h=>e.handleEditRowProp(e.detailInfo,d),onClickCell:e.handleClickRow},null,8,["fill-url","index","item","row","upload-url","onChange","onClickCell"])])]),_:2},1040,["label"]))),128))]),_:3},16)}const WV=Object.freeze(Object.defineProperty({__proto__:null,default:jn(UV,[["render",HV]])},Symbol.toStringTag,{value:"Module"})),hSe="";var wb;if(typeof global>"u"){if("ActiveXObject"in window){var yx="\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668";yx+=`
28
28
  Sorry, wangEditor V5+ versions do not support IE browser.`,console.error(yx)}bx(),wx()}else global&&((wb=global.navigator)===null||wb===void 0?void 0:wb.userAgent.match("QQBrowser"))&&(bx(),wx());function bx(){typeof globalThis>"u"&&(window.globalThis=window)}function wx(){typeof AggregateError>"u"&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}if(typeof global=="object"){var qV=Object.getOwnPropertyDescriptor(global,"window");(!global.window||qV.set)&&(global.window=global,global.requestAnimationFrame=function(){},global.navigator={userAgent:""},global.location={hostname:"0.0.0.0",port:0,protocol:"http:"},global.btoa=function(){},global.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),global.document!=null&&global.document.getElementsByTagName==null&&(global.document.getElementsByTagName=function(){return[]})}/*!
29
29
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
30
30
  *
31
31
  * Copyright (c) 2014-2017, Jon Schlinkert.
32
32
  * Released under the MIT License.
33
- */function $x(e){return Object.prototype.toString.call(e)==="[object Object]"}function gr(e){var t,n;return $x(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!($x(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}function or(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];{var o=eU[e],i=o?typeof o=="function"?o.apply(null,n):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}}function tu(e){return!!e&&!!e[Wr]}function nu(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===tU}(e)||Array.isArray(e)||!!e[Bx]||!!e.constructor[Bx]||Cb(e)||Eb(e))}function id(e,t,n){n===void 0&&(n=!1),Nl(e)===0?(n?Object.keys:Ib)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,o){return t(o,r,e)})}function Nl(e){var t=e[Wr];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Cb(e)?2:Eb(e)?3:0}function $b(e,t){return Nl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function GV(e,t){return Nl(e)===2?e.get(t):e[t]}function Cx(e,t,n){var r=Nl(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function KV(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Cb(e){return ZV&&e instanceof Map}function Eb(e){return QV&&e instanceof Set}function ru(e){return e.o||e.t}function Sb(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=nU(e);delete t[Wr];for(var n=Ib(t),r=0;r<n.length;r++){var o=n[r],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Db(e,t){return t===void 0&&(t=!1),xb(e)||tu(e)||!nu(e)||(Nl(e)>1&&(e.set=e.add=e.clear=e.delete=YV),Object.freeze(e),t&&id(e,function(n,r){return Db(r,!0)},!0)),e}function YV(){or(2)}function xb(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Gi(e){var t=rU[e];return t||or(18,e),t}function Ex(){return Ll||or(0),Ll}function Ab(e,t){t&&(Gi("Patches"),e.u=[],e.s=[],e.v=t)}function a0(e){kb(e),e.p.forEach(JV),e.p=null}function kb(e){e===Ll&&(Ll=e.l)}function Sx(e){return Ll={p:[],l:Ll,h:e,m:!0,_:0}}function JV(e){var t=e[Wr];t.i===0||t.i===1?t.j():t.O=!0}function _b(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Gi("ES5").S(t,e,r),r?(n[Wr].P&&(a0(t),or(4)),nu(e)&&(e=s0(t,e),t.l||u0(t,e)),t.u&&Gi("Patches").M(n[Wr],e,t.u,t.s)):e=s0(t,n,[]),a0(t),t.u&&t.v(t.u,t.s),e!==Ox?e:void 0}function s0(e,t,n){if(xb(t))return t;var r=t[Wr];if(!r)return id(t,function(i,a){return Dx(e,r,t,i,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return u0(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=Sb(r.k):r.o;id(r.i===3?new Set(o):o,function(i,a){return Dx(e,r,o,i,a,n)}),u0(e,o,!1),n&&e.u&&Gi("Patches").R(r,n,e.u,e.s)}return r.o}function Dx(e,t,n,r,o,i){if(o===n&&or(5),tu(o)){var a=s0(e,o,i&&t&&t.i!==3&&!$b(t.D,r)?i.concat(r):void 0);if(Cx(n,r,a),!tu(a))return;e.m=!1}if(nu(o)&&!xb(o)){if(!e.h.F&&e._<1)return;s0(e,o),t&&t.A.l||u0(e,o)}}function u0(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&Db(t,n)}function Ob(e,t){var n=e[Wr];return(n?ru(n):e)[t]}function xx(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Bb(e){e.P||(e.P=!0,e.l&&Bb(e.l))}function Tb(e){e.o||(e.o=Sb(e.t))}function Fb(e,t,n){var r=Cb(t)?Gi("MapSet").N(t,n):Eb(t)?Gi("MapSet").T(t,n):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:Ex(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,f=l0;a&&(l=[s],f=c0);var d=Proxy.revocable(l,f),p=d.revoke,h=d.proxy;return s.k=h,s.j=p,h}(t,n):Gi("ES5").J(t,n);return(n?n.A:Ex()).p.push(r),r}function XV(e){return tu(e)||or(22,e),function t(n){if(!nu(n))return n;var r,o=n[Wr],i=Nl(n);if(o){if(!o.P&&(o.i<4||!Gi("ES5").K(o)))return o.t;o.I=!0,r=Ax(n,i),o.I=!1}else r=Ax(n,i);return id(r,function(a,s){o&&GV(o.t,a)===s||Cx(r,a,t(s))}),i===3?new Set(r):r}(e)}function Ax(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Sb(e)}var kx,Ll,Pb=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ZV=typeof Map<"u",QV=typeof Set<"u",_x=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ox=Pb?Symbol.for("immer-nothing"):((kx={})["immer-nothing"]=!0,kx),Bx=Pb?Symbol.for("immer-draftable"):"__$immer_draftable",Wr=Pb?Symbol.for("immer-state"):"__$immer_state",eU={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},tU=""+Object.prototype.constructor,Ib=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,nU=Object.getOwnPropertyDescriptors||function(e){var t={};return Ib(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},rU={},l0={get:function(e,t){if(t===Wr)return e;var n=ru(e);if(!$b(n,t))return function(o,i,a){var s,l=xx(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!nu(r)?r:r===Ob(e.t,t)?(Tb(e),e.o[t]=Fb(e.A.h,r,e)):r},has:function(e,t){return t in ru(e)},ownKeys:function(e){return Reflect.ownKeys(ru(e))},set:function(e,t,n){var r=xx(ru(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Ob(ru(e),t),i=o==null?void 0:o[Wr];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(KV(n,o)&&(n!==void 0||$b(e.t,t)))return!0;Tb(e),Bb(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Ob(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Tb(e),Bb(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ru(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){or(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){or(12)}},c0={};id(l0,function(e,t){c0[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),c0.deleteProperty=function(e,t){return isNaN(parseInt(t))&&or(13),l0.deleteProperty.call(this,e[0],t)},c0.set=function(e,t,n){return t!=="length"&&isNaN(parseInt(t))&&or(14),l0.set.call(this,e[0],t,n,e[0])};var oU=function(){function e(n){var r=this;this.g=_x,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=r;return function(m){var C=this;m===void 0&&(m=s);for(var $=arguments.length,b=Array($>1?$-1:0),w=1;w<$;w++)b[w-1]=arguments[w];return l.produce(m,function(y){var S;return(S=i).call.apply(S,[C,y].concat(b))})}}var f;if(typeof i!="function"&&or(6),a!==void 0&&typeof a!="function"&&or(7),nu(o)){var d=Sx(r),p=Fb(r,o,void 0),h=!0;try{f=i(p),h=!1}finally{h?a0(d):kb(d)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(m){return Ab(d,a),_b(m,d)},function(m){throw a0(d),m}):(Ab(d,a),_b(f,d))}if(!o||typeof o!="object")return(f=i(o))===Ox?void 0:(f===void 0&&(f=o),r.F&&Db(f,!0),f);or(21,o)},this.produceWithPatches=function(o,i){return typeof o=="function"?function(l){for(var f=arguments.length,d=Array(f>1?f-1:0),p=1;p<f;p++)d[p-1]=arguments[p];return r.produceWithPatches(l,function(h){return o.apply(void 0,[h].concat(d))})}:[r.produce(o,i,function(l,f){a=l,s=f}),a,s];var a,s},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){nu(n)||or(8),tu(n)&&(n=XV(n));var r=Sx(this),o=Fb(this,n,void 0);return o[Wr].C=!0,kb(r),o},t.finishDraft=function(n,r){var o=n&&n[Wr];o&&o.C||or(9),o.I&&or(10);var i=o.A;return Ab(i,r),_b(void 0,i)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!_x&&or(20),this.g=n},t.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var a=Gi("Patches").$;return tu(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),qr=new oU,f0=qr.produce;qr.produceWithPatches.bind(qr),qr.setAutoFreeze.bind(qr),qr.setUseProxies.bind(qr),qr.applyPatches.bind(qr);var Tx=qr.createDraft.bind(qr),Fx=qr.finishDraft.bind(qr);function mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d0=new WeakMap,ad=new WeakMap,Px=new WeakMap,Ix=new WeakMap,Nx=new WeakMap,Lx=new WeakMap;function Rx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function p0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var iU=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of _.pathRefs(e))LU.transform(n,t);for(var r of _.pointRefs(e))RU.transform(r,t);for(var o of _.rangeRefs(e))zU.transform(o,t);var i=new Set,a=[],s=m=>{if(m){var C=m.join(",");i.has(C)||(i.add(C),a.push(m))}},l=d0.get(e)||[],f=aU(t);for(var d of l){var p=J.transform(d,t);s(p)}for(var h of f)s(h);d0.set(e,a),ee.transform(e,t),e.operations.push(t),_.normalize(e),t.type==="set_selection"&&(e.marks=null),ad.get(e)||(ad.set(e,!0),Promise.resolve().then(()=>{ad.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(re.isExpanded(r))ee.setNodes(e,{[t]:n},{match:xe.isText,split:!0});else{var o=p0(p0({},_.marks(e)||{}),{},{[t]:n});e.marks=o,ad.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&re.isCollapsed(n)&&ee.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&re.isCollapsed(n)&&ee.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&re.isExpanded(n)&&ee.delete(e,{reverse:t==="backward"})},getFragment:()=>{var{selection:t}=e;return t?we.fragment(e,t):[]},insertBreak:()=>{ee.splitNodes(e,{always:!0})},insertFragment:t=>{ee.insertFragment(e,t)},insertNode:t=>{ee.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=p0({text:t},r);ee.insertNodes(e,o)}else ee.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!xe.isText(n)){if(Pe.isElement(n)&&n.children.length===0){var o={text:""};ee.insertNodes(e,o,{at:r.concat(0),voids:!0});return}for(var i=_.isEditor(n)?!1:Pe.isElement(n)&&(e.isInline(n)||n.children.length===0||xe.isText(n.children[0])||e.isInline(n.children[0])),a=0,s=0;s<n.children.length;s++,a++){var l=we.get(e,r);if(!xe.isText(l)){var f=n.children[s],d=l.children[a-1],p=s===n.children.length-1,h=xe.isText(f)||Pe.isElement(f)&&e.isInline(f);if(h!==i)ee.removeNodes(e,{at:r.concat(a),voids:!0}),a--;else if(Pe.isElement(f)){if(e.isInline(f)){if(d==null||!xe.isText(d)){var m={text:""};ee.insertNodes(e,m,{at:r.concat(a),voids:!0}),a++}else if(p){var C={text:""};ee.insertNodes(e,C,{at:r.concat(a+1),voids:!0}),a++}}}else d!=null&&xe.isText(d)&&(xe.equals(f,d,{loose:!0})?(ee.mergeNodes(e,{at:r.concat(a),voids:!0}),a--):d.text===""?(ee.removeNodes(e,{at:r.concat(a-1),voids:!0}),a--):f.text===""&&(ee.removeNodes(e,{at:r.concat(a),voids:!0}),a--))}}}},removeMark:t=>{var{selection:n}=e;if(n)if(re.isExpanded(n))ee.unsetNodes(e,t,{match:xe.isText,split:!0});else{var r=p0({},_.marks(e)||{});delete r[t],e.marks=r,ad.get(e)||e.onChange()}}};return e},aU=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":{var{path:t}=e;return J.levels(t)}case"insert_node":{var{node:n,path:r}=e,o=J.levels(r),i=xe.isText(n)?[]:Array.from(we.nodes(n),V=>{var[,ue]=V;return r.concat(ue)});return[...o,...i]}case"merge_node":{var{path:a}=e,s=J.ancestors(a),l=J.previous(a);return[...s,l]}case"move_node":{var{path:f,newPath:d}=e;if(J.equals(f,d))return[];var p=[],h=[];for(var m of J.ancestors(f)){var C=J.transform(m,e);p.push(C)}for(var $ of J.ancestors(d)){var b=J.transform($,e);h.push(b)}var w=h[h.length-1],y=d[d.length-1],S=w.concat(y);return[...p,...h,S]}case"remove_node":{var{path:x}=e,A=J.ancestors(x);return[...A]}case"split_node":{var{path:O}=e,T=J.levels(O),z=J.next(O);return[...T,z]}default:return[]}};function sU(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Ki(e,t){if(e==null)return{};var n=sU(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var Nb=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=!n,o=n?pU(t):t,i=et.None,a=et.None,s=0,l=null,f=null;for(var d of o){var p=d.codePointAt(0);if(!p)break;var h=DU(d,p);if([i,a]=r?[a,h]:[h,i],Rl(i,et.ZWJ)&&Rl(a,et.ExtPict)&&(r?l=Mx(t.substring(0,s)):l=Mx(t.substring(0,t.length-s)),!l)||Rl(i,et.RI)&&Rl(a,et.RI)&&(f!==null?f=!f:r?f=!0:f=OU(t.substring(0,t.length-s)),!f)||i!==et.None&&a!==et.None&&AU(i,a))break;s+=d.length}return s||1},uU=/\s/,lU=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,cU=/['\u2018\u2019]/,fU=function(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=0,o=!1;t.length>0;){var i=Nb(t,n),[a,s]=Lb(t,i,n);if(dU(a,s,n))o=!0,r+=i;else if(!o)r+=i;else break;t=s}return r},Lb=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},dU=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(uU.test(t))return!1;if(cU.test(t)){var o=Nb(n,r),[i,a]=Lb(n,o,r);if(e(i,a,r))return!0}return!lU.test(t)},pU=function*(t){for(var n=t.length-1,r=0;r<t.length;r++){var o=t.charAt(n-r);if(gU(o.charCodeAt(0))){var i=t.charAt(n-r-1);if(hU(i.charCodeAt(0))){yield i+o,r++;continue}}yield o}},hU=e=>e>=55296&&e<=56319,gU=e=>e>=56320&&e<=57343,et;(function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"})(et||(et={}));var mU=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,vU=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,yU=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,bU=/^[\u1100-\u115F\uA960-\uA97C]$/,wU=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,$U=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,CU=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,EU=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,SU=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,DU=(e,t)=>{var n=et.Any;return e.search(mU)!==-1&&(n|=et.Extend),t===8205&&(n|=et.ZWJ),t>=127462&&t<=127487&&(n|=et.RI),e.search(vU)!==-1&&(n|=et.Prepend),e.search(yU)!==-1&&(n|=et.SpacingMark),e.search(bU)!==-1&&(n|=et.L),e.search(wU)!==-1&&(n|=et.V),e.search($U)!==-1&&(n|=et.T),e.search(CU)!==-1&&(n|=et.LV),e.search(EU)!==-1&&(n|=et.LVT),e.search(SU)!==-1&&(n|=et.ExtPict),n};function Rl(e,t){return(e&t)!==0}var xU=[[et.L,et.L|et.V|et.LV|et.LVT],[et.LV|et.V,et.V|et.T],[et.LVT|et.T,et.T],[et.Any,et.Extend|et.ZWJ],[et.Any,et.SpacingMark],[et.Prepend,et.Any],[et.ZWJ,et.ExtPict],[et.RI,et.RI]];function AU(e,t){return xU.findIndex(n=>Rl(e,n[0])&&Rl(t,n[1]))===-1}var kU=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,Mx=e=>e.search(kU)!==-1,_U=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,OU=e=>{var t=e.match(_U);if(t===null)return!1;var n=t[0].length/2;return n%2===1},jx=e=>gr(e)&&we.isNodeList(e.children)&&!_.isEditor(e),Pe={isAncestor(e){return gr(e)&&we.isNodeList(e.children)},isElement:jx,isElementList(e){return Array.isArray(e)&&e.every(t=>Pe.isElement(t))},isElementProps(e){return e.children!==void 0},isElementType:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return jx(t)&&t[r]===n},matches(e,t){for(var n in t)if(n!=="children"&&e[n]!==t[n])return!1;return!0}},BU=["text"],TU=["text"];function zx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Vx=new WeakMap,_={above(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(!!o){var a=_.path(e,o),s=r==="lowest";for(var[l,f]of _.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!xe.isText(l)&&!J.equals(a,f))return[l,f]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.point(e,t,{edge:"end"}),o=_.end(e,[]),i={anchor:r,focus:o},{distance:a=1}=n,s=0,l;for(var f of _.positions(e,Ml(Ml({},n),{},{at:i}))){if(s>a)break;s!==0&&(l=f),s++}return l},before(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.start(e,[]),o=_.point(e,t,{edge:"start"}),i={anchor:r,focus:o},{distance:a=1}=n,s=0,l;for(var f of _.positions(e,Ml(Ml({},n),{},{at:i,reverse:!0}))){if(s>a)break;s!==0&&(l=f),s++}return l},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges(e,t){return[_.start(e,t),_.end(e,t)]},end(e,t){return _.point(e,t,{edge:"end"})},first(e,t){var n=_.path(e,t,{edge:"start"});return _.node(e,n)},fragment(e,t){var n=_.range(e,t),r=we.fragment(e,n);return r},hasBlocks(e,t){return t.children.some(n=>_.isBlock(e,n))},hasInlines(e,t){return t.children.some(n=>xe.isText(n)||_.isInline(e,n))},hasTexts(e,t){return t.children.every(n=>xe.isText(n))},insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock(e,t){return Pe.isElement(t)&&!e.isInline(t)},isEditor(e){if(!gr(e))return!1;var t=Vx.get(e);if(t!==void 0)return t;var n=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteBackward=="function"&&typeof e.deleteForward=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isInline=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&(e.marks===null||gr(e.marks))&&(e.selection===null||re.isRange(e.selection))&&we.isNodeList(e.children)&&ka.isOperationList(e.operations);return Vx.set(e,n),n},isEnd(e,t,n){var r=_.end(e,n);return nt.equals(t,r)},isEdge(e,t,n){return _.isStart(e,t,n)||_.isEnd(e,t,n)},isEmpty(e,t){var{children:n}=t,[r]=n;return n.length===0||n.length===1&&xe.isText(r)&&r.text===""&&!e.isVoid(t)},isInline(e,t){return Pe.isElement(t)&&e.isInline(t)},isNormalizing(e){var t=Px.get(e);return t===void 0?!0:t},isStart(e,t,n){if(t.offset!==0)return!1;var r=_.start(e,n);return nt.equals(t,r)},isVoid(e,t){return Pe.isElement(t)&&e.isVoid(t)},last(e,t){var n=_.path(e,t,{edge:"end"});return _.node(e,n)},leaf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.path(e,t,n),o=we.leaf(e,r);return[o,r]},*levels(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(i==null&&(i=()=>!0),!!n){var a=[],s=_.path(e,n);for(var[l,f]of we.levels(e,s))if(!!i(l,f)&&(a.push([l,f]),!o&&_.isVoid(e,l)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(re.isExpanded(n)){var[r]=_.nodes(e,{match:xe.isText});if(r){var[o]=r,i=Ki(o,BU);return i}else return{}}var{anchor:a}=n,{path:s}=a,[l]=_.leaf(e,s);if(a.offset===0){var f=_.previous(e,{at:s,match:xe.isText}),d=_.above(e,{match:$=>_.isBlock(e,$)});if(f&&d){var[p,h]=f,[,m]=d;J.isAncestor(m,h)&&(l=p)}}var C=Ki(l,TU);return C},next(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(!!i){var a=_.after(e,i,{voids:r});if(!!a){var[,s]=_.last(e,[]),l=[a.path,s];if(J.isPath(i)&&i.length===0)throw new Error("Cannot get the next node from the root node!");if(o==null)if(J.isPath(i)){var[f]=_.parent(e,i);o=p=>f.children.includes(p)}else o=()=>!0;var[d]=_.nodes(e,{at:l,match:o,mode:n,voids:r});return d}}},node(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.path(e,t,n),o=we.get(e,r);return[o,r]},*nodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:s}=t;if(s||(s=()=>!0),!!n){var l,f;if(PU.isSpan(n))l=n[0],f=n[1];else{var d=_.path(e,n,{edge:"start"}),p=_.path(e,n,{edge:"end"});l=i?p:d,f=i?d:p}var h=we.nodes(e,{reverse:i,from:l,to:f,pass:S=>{var[x]=S;return a?!1:_.isVoid(e,x)}}),m=[],C;for(var[$,b]of h){var w=C&&J.compare(b,C[1])===0;if(!(r==="highest"&&w)){if(!s($,b)){if(o&&!w&&xe.isText($))return;continue}if(r==="lowest"&&w){C=[$,b];continue}var y=r==="lowest"?C:[$,b];y&&(o?m.push(y):yield y),C=[$,b]}}r==="lowest"&&C&&(o?m.push(C):yield C),o&&(yield*m)}},normalize(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=t,r=i=>d0.get(i)||[];if(!!_.isNormalizing(e)){if(n){var o=Array.from(we.nodes(e),i=>{var[,a]=i;return a});d0.set(e,o)}r(e).length!==0&&_.withoutNormalizing(e,()=>{for(var i of r(e))if(we.has(e,i)){var a=_.node(e,i),[s,l]=a;Pe.isElement(s)&&s.children.length===0&&e.normalizeNode(a)}for(var f=r(e).length*42,d=0;r(e).length!==0;){if(d>f)throw new Error(`
33
+ */function $x(e){return Object.prototype.toString.call(e)==="[object Object]"}function gr(e){var t,n;return $x(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!($x(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}function or(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];{var o=eU[e],i=o?typeof o=="function"?o.apply(null,n):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}}function tu(e){return!!e&&!!e[qr]}function nu(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===tU}(e)||Array.isArray(e)||!!e[Bx]||!!e.constructor[Bx]||Cb(e)||Eb(e))}function id(e,t,n){n===void 0&&(n=!1),Nl(e)===0?(n?Object.keys:Ib)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,o){return t(o,r,e)})}function Nl(e){var t=e[qr];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Cb(e)?2:Eb(e)?3:0}function $b(e,t){return Nl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function GV(e,t){return Nl(e)===2?e.get(t):e[t]}function Cx(e,t,n){var r=Nl(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function KV(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Cb(e){return ZV&&e instanceof Map}function Eb(e){return QV&&e instanceof Set}function ru(e){return e.o||e.t}function Sb(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=nU(e);delete t[qr];for(var n=Ib(t),r=0;r<n.length;r++){var o=n[r],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Db(e,t){return t===void 0&&(t=!1),xb(e)||tu(e)||!nu(e)||(Nl(e)>1&&(e.set=e.add=e.clear=e.delete=YV),Object.freeze(e),t&&id(e,function(n,r){return Db(r,!0)},!0)),e}function YV(){or(2)}function xb(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Gi(e){var t=rU[e];return t||or(18,e),t}function Ex(){return Ll||or(0),Ll}function Ab(e,t){t&&(Gi("Patches"),e.u=[],e.s=[],e.v=t)}function a0(e){kb(e),e.p.forEach(JV),e.p=null}function kb(e){e===Ll&&(Ll=e.l)}function Sx(e){return Ll={p:[],l:Ll,h:e,m:!0,_:0}}function JV(e){var t=e[qr];t.i===0||t.i===1?t.j():t.O=!0}function _b(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Gi("ES5").S(t,e,r),r?(n[qr].P&&(a0(t),or(4)),nu(e)&&(e=s0(t,e),t.l||u0(t,e)),t.u&&Gi("Patches").M(n[qr],e,t.u,t.s)):e=s0(t,n,[]),a0(t),t.u&&t.v(t.u,t.s),e!==Ox?e:void 0}function s0(e,t,n){if(xb(t))return t;var r=t[qr];if(!r)return id(t,function(i,a){return Dx(e,r,t,i,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return u0(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=Sb(r.k):r.o;id(r.i===3?new Set(o):o,function(i,a){return Dx(e,r,o,i,a,n)}),u0(e,o,!1),n&&e.u&&Gi("Patches").R(r,n,e.u,e.s)}return r.o}function Dx(e,t,n,r,o,i){if(o===n&&or(5),tu(o)){var a=s0(e,o,i&&t&&t.i!==3&&!$b(t.D,r)?i.concat(r):void 0);if(Cx(n,r,a),!tu(a))return;e.m=!1}if(nu(o)&&!xb(o)){if(!e.h.F&&e._<1)return;s0(e,o),t&&t.A.l||u0(e,o)}}function u0(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&Db(t,n)}function Ob(e,t){var n=e[qr];return(n?ru(n):e)[t]}function xx(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Bb(e){e.P||(e.P=!0,e.l&&Bb(e.l))}function Tb(e){e.o||(e.o=Sb(e.t))}function Fb(e,t,n){var r=Cb(t)?Gi("MapSet").N(t,n):Eb(t)?Gi("MapSet").T(t,n):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:Ex(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,f=l0;a&&(l=[s],f=c0);var d=Proxy.revocable(l,f),p=d.revoke,h=d.proxy;return s.k=h,s.j=p,h}(t,n):Gi("ES5").J(t,n);return(n?n.A:Ex()).p.push(r),r}function XV(e){return tu(e)||or(22,e),function t(n){if(!nu(n))return n;var r,o=n[qr],i=Nl(n);if(o){if(!o.P&&(o.i<4||!Gi("ES5").K(o)))return o.t;o.I=!0,r=Ax(n,i),o.I=!1}else r=Ax(n,i);return id(r,function(a,s){o&&GV(o.t,a)===s||Cx(r,a,t(s))}),i===3?new Set(r):r}(e)}function Ax(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Sb(e)}var kx,Ll,Pb=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ZV=typeof Map<"u",QV=typeof Set<"u",_x=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ox=Pb?Symbol.for("immer-nothing"):((kx={})["immer-nothing"]=!0,kx),Bx=Pb?Symbol.for("immer-draftable"):"__$immer_draftable",qr=Pb?Symbol.for("immer-state"):"__$immer_state",eU={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},tU=""+Object.prototype.constructor,Ib=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,nU=Object.getOwnPropertyDescriptors||function(e){var t={};return Ib(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},rU={},l0={get:function(e,t){if(t===qr)return e;var n=ru(e);if(!$b(n,t))return function(o,i,a){var s,l=xx(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!nu(r)?r:r===Ob(e.t,t)?(Tb(e),e.o[t]=Fb(e.A.h,r,e)):r},has:function(e,t){return t in ru(e)},ownKeys:function(e){return Reflect.ownKeys(ru(e))},set:function(e,t,n){var r=xx(ru(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Ob(ru(e),t),i=o==null?void 0:o[qr];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(KV(n,o)&&(n!==void 0||$b(e.t,t)))return!0;Tb(e),Bb(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Ob(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Tb(e),Bb(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ru(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){or(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){or(12)}},c0={};id(l0,function(e,t){c0[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),c0.deleteProperty=function(e,t){return isNaN(parseInt(t))&&or(13),l0.deleteProperty.call(this,e[0],t)},c0.set=function(e,t,n){return t!=="length"&&isNaN(parseInt(t))&&or(14),l0.set.call(this,e[0],t,n,e[0])};var oU=function(){function e(n){var r=this;this.g=_x,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=r;return function(m){var C=this;m===void 0&&(m=s);for(var $=arguments.length,b=Array($>1?$-1:0),w=1;w<$;w++)b[w-1]=arguments[w];return l.produce(m,function(y){var S;return(S=i).call.apply(S,[C,y].concat(b))})}}var f;if(typeof i!="function"&&or(6),a!==void 0&&typeof a!="function"&&or(7),nu(o)){var d=Sx(r),p=Fb(r,o,void 0),h=!0;try{f=i(p),h=!1}finally{h?a0(d):kb(d)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(m){return Ab(d,a),_b(m,d)},function(m){throw a0(d),m}):(Ab(d,a),_b(f,d))}if(!o||typeof o!="object")return(f=i(o))===Ox?void 0:(f===void 0&&(f=o),r.F&&Db(f,!0),f);or(21,o)},this.produceWithPatches=function(o,i){return typeof o=="function"?function(l){for(var f=arguments.length,d=Array(f>1?f-1:0),p=1;p<f;p++)d[p-1]=arguments[p];return r.produceWithPatches(l,function(h){return o.apply(void 0,[h].concat(d))})}:[r.produce(o,i,function(l,f){a=l,s=f}),a,s];var a,s},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){nu(n)||or(8),tu(n)&&(n=XV(n));var r=Sx(this),o=Fb(this,n,void 0);return o[qr].C=!0,kb(r),o},t.finishDraft=function(n,r){var o=n&&n[qr];o&&o.C||or(9),o.I&&or(10);var i=o.A;return Ab(i,r),_b(void 0,i)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!_x&&or(20),this.g=n},t.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var a=Gi("Patches").$;return tu(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Gr=new oU,f0=Gr.produce;Gr.produceWithPatches.bind(Gr),Gr.setAutoFreeze.bind(Gr),Gr.setUseProxies.bind(Gr),Gr.applyPatches.bind(Gr);var Tx=Gr.createDraft.bind(Gr),Fx=Gr.finishDraft.bind(Gr);function mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d0=new WeakMap,ad=new WeakMap,Px=new WeakMap,Ix=new WeakMap,Nx=new WeakMap,Lx=new WeakMap;function Rx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function p0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var iU=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of _.pathRefs(e))LU.transform(n,t);for(var r of _.pointRefs(e))RU.transform(r,t);for(var o of _.rangeRefs(e))zU.transform(o,t);var i=new Set,a=[],s=m=>{if(m){var C=m.join(",");i.has(C)||(i.add(C),a.push(m))}},l=d0.get(e)||[],f=aU(t);for(var d of l){var p=J.transform(d,t);s(p)}for(var h of f)s(h);d0.set(e,a),ee.transform(e,t),e.operations.push(t),_.normalize(e),t.type==="set_selection"&&(e.marks=null),ad.get(e)||(ad.set(e,!0),Promise.resolve().then(()=>{ad.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(re.isExpanded(r))ee.setNodes(e,{[t]:n},{match:xe.isText,split:!0});else{var o=p0(p0({},_.marks(e)||{}),{},{[t]:n});e.marks=o,ad.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&re.isCollapsed(n)&&ee.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&re.isCollapsed(n)&&ee.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&re.isExpanded(n)&&ee.delete(e,{reverse:t==="backward"})},getFragment:()=>{var{selection:t}=e;return t?we.fragment(e,t):[]},insertBreak:()=>{ee.splitNodes(e,{always:!0})},insertFragment:t=>{ee.insertFragment(e,t)},insertNode:t=>{ee.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=p0({text:t},r);ee.insertNodes(e,o)}else ee.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!xe.isText(n)){if(Pe.isElement(n)&&n.children.length===0){var o={text:""};ee.insertNodes(e,o,{at:r.concat(0),voids:!0});return}for(var i=_.isEditor(n)?!1:Pe.isElement(n)&&(e.isInline(n)||n.children.length===0||xe.isText(n.children[0])||e.isInline(n.children[0])),a=0,s=0;s<n.children.length;s++,a++){var l=we.get(e,r);if(!xe.isText(l)){var f=n.children[s],d=l.children[a-1],p=s===n.children.length-1,h=xe.isText(f)||Pe.isElement(f)&&e.isInline(f);if(h!==i)ee.removeNodes(e,{at:r.concat(a),voids:!0}),a--;else if(Pe.isElement(f)){if(e.isInline(f)){if(d==null||!xe.isText(d)){var m={text:""};ee.insertNodes(e,m,{at:r.concat(a),voids:!0}),a++}else if(p){var C={text:""};ee.insertNodes(e,C,{at:r.concat(a+1),voids:!0}),a++}}}else d!=null&&xe.isText(d)&&(xe.equals(f,d,{loose:!0})?(ee.mergeNodes(e,{at:r.concat(a),voids:!0}),a--):d.text===""?(ee.removeNodes(e,{at:r.concat(a-1),voids:!0}),a--):f.text===""&&(ee.removeNodes(e,{at:r.concat(a),voids:!0}),a--))}}}},removeMark:t=>{var{selection:n}=e;if(n)if(re.isExpanded(n))ee.unsetNodes(e,t,{match:xe.isText,split:!0});else{var r=p0({},_.marks(e)||{});delete r[t],e.marks=r,ad.get(e)||e.onChange()}}};return e},aU=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":{var{path:t}=e;return J.levels(t)}case"insert_node":{var{node:n,path:r}=e,o=J.levels(r),i=xe.isText(n)?[]:Array.from(we.nodes(n),V=>{var[,ue]=V;return r.concat(ue)});return[...o,...i]}case"merge_node":{var{path:a}=e,s=J.ancestors(a),l=J.previous(a);return[...s,l]}case"move_node":{var{path:f,newPath:d}=e;if(J.equals(f,d))return[];var p=[],h=[];for(var m of J.ancestors(f)){var C=J.transform(m,e);p.push(C)}for(var $ of J.ancestors(d)){var b=J.transform($,e);h.push(b)}var w=h[h.length-1],y=d[d.length-1],S=w.concat(y);return[...p,...h,S]}case"remove_node":{var{path:x}=e,A=J.ancestors(x);return[...A]}case"split_node":{var{path:O}=e,T=J.levels(O),z=J.next(O);return[...T,z]}default:return[]}};function sU(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Ki(e,t){if(e==null)return{};var n=sU(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var Nb=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=!n,o=n?pU(t):t,i=et.None,a=et.None,s=0,l=null,f=null;for(var d of o){var p=d.codePointAt(0);if(!p)break;var h=DU(d,p);if([i,a]=r?[a,h]:[h,i],Rl(i,et.ZWJ)&&Rl(a,et.ExtPict)&&(r?l=Mx(t.substring(0,s)):l=Mx(t.substring(0,t.length-s)),!l)||Rl(i,et.RI)&&Rl(a,et.RI)&&(f!==null?f=!f:r?f=!0:f=OU(t.substring(0,t.length-s)),!f)||i!==et.None&&a!==et.None&&AU(i,a))break;s+=d.length}return s||1},uU=/\s/,lU=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,cU=/['\u2018\u2019]/,fU=function(t){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=0,o=!1;t.length>0;){var i=Nb(t,n),[a,s]=Lb(t,i,n);if(dU(a,s,n))o=!0,r+=i;else if(!o)r+=i;else break;t=s}return r},Lb=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},dU=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(uU.test(t))return!1;if(cU.test(t)){var o=Nb(n,r),[i,a]=Lb(n,o,r);if(e(i,a,r))return!0}return!lU.test(t)},pU=function*(t){for(var n=t.length-1,r=0;r<t.length;r++){var o=t.charAt(n-r);if(gU(o.charCodeAt(0))){var i=t.charAt(n-r-1);if(hU(i.charCodeAt(0))){yield i+o,r++;continue}}yield o}},hU=e=>e>=55296&&e<=56319,gU=e=>e>=56320&&e<=57343,et;(function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"})(et||(et={}));var mU=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,vU=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,yU=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,bU=/^[\u1100-\u115F\uA960-\uA97C]$/,wU=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,$U=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,CU=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,EU=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,SU=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,DU=(e,t)=>{var n=et.Any;return e.search(mU)!==-1&&(n|=et.Extend),t===8205&&(n|=et.ZWJ),t>=127462&&t<=127487&&(n|=et.RI),e.search(vU)!==-1&&(n|=et.Prepend),e.search(yU)!==-1&&(n|=et.SpacingMark),e.search(bU)!==-1&&(n|=et.L),e.search(wU)!==-1&&(n|=et.V),e.search($U)!==-1&&(n|=et.T),e.search(CU)!==-1&&(n|=et.LV),e.search(EU)!==-1&&(n|=et.LVT),e.search(SU)!==-1&&(n|=et.ExtPict),n};function Rl(e,t){return(e&t)!==0}var xU=[[et.L,et.L|et.V|et.LV|et.LVT],[et.LV|et.V,et.V|et.T],[et.LVT|et.T,et.T],[et.Any,et.Extend|et.ZWJ],[et.Any,et.SpacingMark],[et.Prepend,et.Any],[et.ZWJ,et.ExtPict],[et.RI,et.RI]];function AU(e,t){return xU.findIndex(n=>Rl(e,n[0])&&Rl(t,n[1]))===-1}var kU=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,Mx=e=>e.search(kU)!==-1,_U=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,OU=e=>{var t=e.match(_U);if(t===null)return!1;var n=t[0].length/2;return n%2===1},jx=e=>gr(e)&&we.isNodeList(e.children)&&!_.isEditor(e),Pe={isAncestor(e){return gr(e)&&we.isNodeList(e.children)},isElement:jx,isElementList(e){return Array.isArray(e)&&e.every(t=>Pe.isElement(t))},isElementProps(e){return e.children!==void 0},isElementType:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return jx(t)&&t[r]===n},matches(e,t){for(var n in t)if(n!=="children"&&e[n]!==t[n])return!1;return!0}},BU=["text"],TU=["text"];function zx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Vx=new WeakMap,_={above(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(!!o){var a=_.path(e,o),s=r==="lowest";for(var[l,f]of _.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!xe.isText(l)&&!J.equals(a,f))return[l,f]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.point(e,t,{edge:"end"}),o=_.end(e,[]),i={anchor:r,focus:o},{distance:a=1}=n,s=0,l;for(var f of _.positions(e,Ml(Ml({},n),{},{at:i}))){if(s>a)break;s!==0&&(l=f),s++}return l},before(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.start(e,[]),o=_.point(e,t,{edge:"start"}),i={anchor:r,focus:o},{distance:a=1}=n,s=0,l;for(var f of _.positions(e,Ml(Ml({},n),{},{at:i,reverse:!0}))){if(s>a)break;s!==0&&(l=f),s++}return l},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges(e,t){return[_.start(e,t),_.end(e,t)]},end(e,t){return _.point(e,t,{edge:"end"})},first(e,t){var n=_.path(e,t,{edge:"start"});return _.node(e,n)},fragment(e,t){var n=_.range(e,t),r=we.fragment(e,n);return r},hasBlocks(e,t){return t.children.some(n=>_.isBlock(e,n))},hasInlines(e,t){return t.children.some(n=>xe.isText(n)||_.isInline(e,n))},hasTexts(e,t){return t.children.every(n=>xe.isText(n))},insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock(e,t){return Pe.isElement(t)&&!e.isInline(t)},isEditor(e){if(!gr(e))return!1;var t=Vx.get(e);if(t!==void 0)return t;var n=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteBackward=="function"&&typeof e.deleteForward=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isInline=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&(e.marks===null||gr(e.marks))&&(e.selection===null||re.isRange(e.selection))&&we.isNodeList(e.children)&&ka.isOperationList(e.operations);return Vx.set(e,n),n},isEnd(e,t,n){var r=_.end(e,n);return nt.equals(t,r)},isEdge(e,t,n){return _.isStart(e,t,n)||_.isEnd(e,t,n)},isEmpty(e,t){var{children:n}=t,[r]=n;return n.length===0||n.length===1&&xe.isText(r)&&r.text===""&&!e.isVoid(t)},isInline(e,t){return Pe.isElement(t)&&e.isInline(t)},isNormalizing(e){var t=Px.get(e);return t===void 0?!0:t},isStart(e,t,n){if(t.offset!==0)return!1;var r=_.start(e,n);return nt.equals(t,r)},isVoid(e,t){return Pe.isElement(t)&&e.isVoid(t)},last(e,t){var n=_.path(e,t,{edge:"end"});return _.node(e,n)},leaf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.path(e,t,n),o=we.leaf(e,r);return[o,r]},*levels(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(i==null&&(i=()=>!0),!!n){var a=[],s=_.path(e,n);for(var[l,f]of we.levels(e,s))if(!!i(l,f)&&(a.push([l,f]),!o&&_.isVoid(e,l)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(re.isExpanded(n)){var[r]=_.nodes(e,{match:xe.isText});if(r){var[o]=r,i=Ki(o,BU);return i}else return{}}var{anchor:a}=n,{path:s}=a,[l]=_.leaf(e,s);if(a.offset===0){var f=_.previous(e,{at:s,match:xe.isText}),d=_.above(e,{match:$=>_.isBlock(e,$)});if(f&&d){var[p,h]=f,[,m]=d;J.isAncestor(m,h)&&(l=p)}}var C=Ki(l,TU);return C},next(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(!!i){var a=_.after(e,i,{voids:r});if(!!a){var[,s]=_.last(e,[]),l=[a.path,s];if(J.isPath(i)&&i.length===0)throw new Error("Cannot get the next node from the root node!");if(o==null)if(J.isPath(i)){var[f]=_.parent(e,i);o=p=>f.children.includes(p)}else o=()=>!0;var[d]=_.nodes(e,{at:l,match:o,mode:n,voids:r});return d}}},node(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.path(e,t,n),o=we.get(e,r);return[o,r]},*nodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:s}=t;if(s||(s=()=>!0),!!n){var l,f;if(PU.isSpan(n))l=n[0],f=n[1];else{var d=_.path(e,n,{edge:"start"}),p=_.path(e,n,{edge:"end"});l=i?p:d,f=i?d:p}var h=we.nodes(e,{reverse:i,from:l,to:f,pass:S=>{var[x]=S;return a?!1:_.isVoid(e,x)}}),m=[],C;for(var[$,b]of h){var w=C&&J.compare(b,C[1])===0;if(!(r==="highest"&&w)){if(!s($,b)){if(o&&!w&&xe.isText($))return;continue}if(r==="lowest"&&w){C=[$,b];continue}var y=r==="lowest"?C:[$,b];y&&(o?m.push(y):yield y),C=[$,b]}}r==="lowest"&&C&&(o?m.push(C):yield C),o&&(yield*m)}},normalize(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=t,r=i=>d0.get(i)||[];if(!!_.isNormalizing(e)){if(n){var o=Array.from(we.nodes(e),i=>{var[,a]=i;return a});d0.set(e,o)}r(e).length!==0&&_.withoutNormalizing(e,()=>{for(var i of r(e))if(we.has(e,i)){var a=_.node(e,i),[s,l]=a;Pe.isElement(s)&&s.children.length===0&&e.normalizeNode(a)}for(var f=r(e).length*42,d=0;r(e).length!==0;){if(d>f)throw new Error(`
34
34
  Could not completely normalize the editor after `.concat(f,` iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.
35
- `));var p=r(e).pop();if(we.has(e,p)){var h=_.node(e,p);e.normalizeNode(h)}d++}})}},parent(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.path(e,t,n),o=J.parent(r),i=_.node(e,o);return i},path(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:o}=n;if(J.isPath(t)){if(o==="start"){var[,i]=we.first(e,t);t=i}else if(o==="end"){var[,a]=we.last(e,t);t=a}}return re.isRange(t)&&(o==="start"?t=re.start(t):o==="end"?t=re.end(t):t=J.common(t.anchor.path,t.focus.path)),nt.isPoint(t)&&(t=t.path),r!=null&&(t=t.slice(0,r)),t},hasPath(e,t){return we.has(e,t)},pathRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:a}=o,s=_.pathRefs(e);return s.delete(o),o.current=null,a}},i=_.pathRefs(e);return i.add(o),o},pathRefs(e){var t=Ix.get(e);return t||(t=new Set,Ix.set(e,t)),t},point(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(J.isPath(t)){var o;if(r==="end"){var[,i]=we.last(e,t);o=i}else{var[,a]=we.first(e,t);o=a}var s=we.get(e,o);if(!xe.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:r==="end"?s.text.length:0}}if(re.isRange(t)){var[l,f]=re.edges(t);return r==="start"?l:f}return t},pointRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:a}=o,s=_.pointRefs(e);return s.delete(o),o.current=null,a}},i=_.pointRefs(e);return i.add(o),o},pointRefs(e){var t=Nx.get(e);return t||(t=new Set,Nx.set(e,t)),t},*positions(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(!n)return;var a=_.range(e,n),[s,l]=re.edges(a),f=o?l:s,d=!1,p="",h=0,m=0,C=0;for(var[$,b]of _.nodes(e,{at:n,reverse:o,voids:i})){if(Pe.isElement($)){if(!i&&e.isVoid($)){yield _.start(e,b);continue}if(e.isInline($))continue;if(_.hasInlines(e,$)){var w=J.isAncestor(b,l.path)?l:_.end(e,b),y=J.isAncestor(b,s.path)?s:_.start(e,b);p=_.string(e,{anchor:y,focus:w},{voids:i}),d=!0}}if(xe.isText($)){var S=J.equals(b,f.path);for(S?(m=o?f.offset:$.text.length-f.offset,C=f.offset):(m=$.text.length,C=o?m:0),(S||d||r==="offset")&&(yield{path:b,offset:C},d=!1);;){if(h===0){if(p==="")break;h=x(p,r,o),p=Lb(p,h,o)[1]}if(C=o?C-h:C+h,m=m-h,m<0){h=-m;break}h=0,yield{path:b,offset:C}}}}function x(A,O,T){return O==="character"?Nb(A,T):O==="word"?fU(A,T):O==="line"||O==="block"?A.length:1}},previous(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(!!i){var a=_.before(e,i,{voids:r});if(!!a){var[,s]=_.first(e,[]),l=[a.path,s];if(J.isPath(i)&&i.length===0)throw new Error("Cannot get the previous node from the root node!");if(o==null)if(J.isPath(i)){var[f]=_.parent(e,i);o=p=>f.children.includes(p)}else o=()=>!0;var[d]=_.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return d}}},range(e,t,n){if(re.isRange(t)&&!n)return t;var r=_.start(e,t),o=_.end(e,n||t);return{anchor:r,focus:o}},rangeRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:a}=o,s=_.rangeRefs(e);return s.delete(o),o.current=null,a}},i=_.rangeRefs(e);return i.add(o),o},rangeRefs(e){var t=Lx.get(e);return t||(t=new Set,Lx.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){Px.set(e,t)},start(e,t){return _.point(e,t,{edge:"start"})},string(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,o=_.range(e,t),[i,a]=re.edges(o),s="";for(var[l,f]of _.nodes(e,{at:o,match:xe.isText,voids:r})){var d=l.text;J.equals(f,a.path)&&(d=d.slice(0,a.offset)),J.equals(f,i.path)&&(d=d.slice(i.offset)),s+=d}return s},unhangRange(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,[o,i]=re.edges(t);if(o.offset!==0||i.offset!==0||re.isCollapsed(t))return t;var a=_.above(e,{at:i,match:m=>_.isBlock(e,m)}),s=a?a[1]:[],l=_.start(e,[]),f={anchor:l,focus:i},d=!0;for(var[p,h]of _.nodes(e,{at:f,match:xe.isText,reverse:!0,voids:r})){if(d){d=!1;continue}if(p.text!==""||J.isBefore(h,s)){i={path:h,offset:p.text.length};break}}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _.above(e,Ml(Ml({},t),{},{match:n=>_.isVoid(e,n)}))},withoutNormalizing(e,t){var n=_.isNormalizing(e);_.setNormalizing(e,!1);try{t()}finally{_.setNormalizing(e,n)}_.normalize(e)}},FU={isLocation(e){return J.isPath(e)||nt.isPoint(e)||re.isRange(e)}},PU={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(J.isPath)}},IU=["children"],NU=["text"],Ux=new WeakMap,we={ancestor(e,t){var n=we.get(e,t);if(xe.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of J.ancestors(t,n)){var o=we.ancestor(e,r),i=[o,r];yield i}},child(e,t){if(xe.isText(e))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(n==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:r=!1}=n,o=we.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var s=we.child(o,a),l=t.concat(a);yield[s,l],a=r?a-1:a+1}},common(e,t,n){var r=J.common(t,n),o=we.get(e,r);return[o,r]},descendant(e,t){var n=we.get(e,t);if(_.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of we.nodes(e,t))r.length!==0&&(yield[n,r])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of we.nodes(e,t))Pe.isElement(n)&&(yield[n,r])},extractProps(e){if(Pe.isAncestor(e)){var t=Ki(e,IU);return t}else{var t=Ki(e,NU);return t}},first(e,t){for(var n=t.slice(),r=we.get(e,n);r&&!(xe.isText(r)||r.children.length===0);)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(xe.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));var n=f0({children:e.children},r=>{var[o,i]=re.edges(t),a=we.nodes(r,{reverse:!0,pass:h=>{var[,m]=h;return!re.includes(t,m)}});for(var[,s]of a){if(!re.includes(t,s)){var l=we.parent(r,s),f=s[s.length-1];l.children.splice(f,1)}if(J.equals(s,i.path)){var d=we.leaf(r,s);d.text=d.text.slice(0,i.offset)}if(J.equals(s,o.path)){var p=we.leaf(r,s);p.text=p.text.slice(o.offset)}}_.isEditor(r)&&(r.selection=null)});return n.children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(xe.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(xe.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode(e){return xe.isText(e)||Pe.isElement(e)||_.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=Ux.get(e);if(t!==void 0)return t;var n=e.every(r=>we.isNode(r));return Ux.set(e,n),n},last(e,t){for(var n=t.slice(),r=we.get(e,n);r&&!(xe.isText(r)||r.children.length===0);){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=we.get(e,t);if(!xe.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of J.levels(t,n)){var o=we.get(e,r);yield[o,r]}},matches(e,t){return Pe.isElement(e)&&Pe.isElementProps(t)&&Pe.matches(e,t)||xe.isText(e)&&xe.isTextProps(t)&&xe.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!(i&&(r?J.isBefore(s,i):J.isAfter(s,i)));){if(a.has(l)||(yield[l,s]),!a.has(l)&&!xe.isText(l)&&l.children.length!==0&&(n==null||n([l,s])===!1)){a.add(l);var f=r?l.children.length-1:0;J.isAncestor(s,o)&&(f=o[s.length]),s=s.concat(f),l=we.get(e,s);continue}if(s.length===0)break;if(!r){var d=J.next(s);if(we.has(e,d)){s=d,l=we.get(e,s);continue}}if(r&&s[s.length-1]!==0){var p=J.previous(s);s=p,l=we.get(e,s);continue}s=J.parent(s),l=we.get(e,s),a.add(l)}},parent(e,t){var n=J.parent(t),r=we.get(e,n);if(xe.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string(e){return xe.isText(e)?e.text:e.children.map(we.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of we.nodes(e,t))xe.isText(n)&&(yield[n,r])}};function Hx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ka={isNodeOperation(e){return ka.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!gr(e))return!1;switch(e.type){case"insert_node":return J.isPath(e.path)&&we.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&J.isPath(e.path);case"merge_node":return typeof e.position=="number"&&J.isPath(e.path)&&gr(e.properties);case"move_node":return J.isPath(e.path)&&J.isPath(e.newPath);case"remove_node":return J.isPath(e.path)&&we.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&J.isPath(e.path);case"set_node":return J.isPath(e.path)&&gr(e.properties)&&gr(e.newProperties);case"set_selection":return e.properties===null&&re.isRange(e.newProperties)||e.newProperties===null&&re.isRange(e.properties)||gr(e.properties)&&gr(e.newProperties);case"split_node":return J.isPath(e.path)&&typeof e.position=="number"&&gr(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>ka.isOperation(t))},isSelectionOperation(e){return ka.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return ka.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return en(en({},e),{},{type:"remove_node"});case"insert_text":return en(en({},e),{},{type:"remove_text"});case"merge_node":return en(en({},e),{},{type:"split_node",path:J.previous(e.path)});case"move_node":{var{newPath:t,path:n}=e;if(J.equals(t,n))return e;if(J.isSibling(n,t))return en(en({},e),{},{path:t,newPath:n});var r=J.transform(n,e),o=J.transform(J.next(n),e);return en(en({},e),{},{path:r,newPath:o})}case"remove_node":return en(en({},e),{},{type:"insert_node"});case"remove_text":return en(en({},e),{},{type:"insert_text"});case"set_node":{var{properties:i,newProperties:a}=e;return en(en({},e),{},{properties:a,newProperties:i})}case"set_selection":{var{properties:s,newProperties:l}=e;return s==null?en(en({},e),{},{properties:l,newProperties:null}):l==null?en(en({},e),{},{properties:null,newProperties:s}):en(en({},e),{},{properties:l,newProperties:s})}case"split_node":return en(en({},e),{},{type:"merge_node",path:J.next(e.path)})}}},J={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=J.levels(e,t);return n?r=r.slice(1):r=r.slice(0,-1),r},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r],i=t[r];if(o!==i)break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return J.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return J.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return J.equals(r,o)&&i<a},equals(e,t){return e.length===t.length&&e.every((n,r)=>n===t[r])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return J.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&J.compare(e,t)===0},isBefore(e,t){return J.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&J.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&J.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&J.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&J.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="number")},isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1),o=e[e.length-1],i=t[t.length-1];return o!==i&&J.equals(n,r)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!J.isAncestor(t,e)&&!J.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return f0(e,r=>{var{affinity:o="forward"}=n;if(!(!e||(e==null?void 0:e.length)===0)){if(r===null)return null;switch(t.type){case"insert_node":{var{path:i}=t;(J.equals(i,r)||J.endsBefore(i,r)||J.isAncestor(i,r))&&(r[i.length-1]+=1);break}case"remove_node":{var{path:a}=t;if(J.equals(a,r)||J.isAncestor(a,r))return null;J.endsBefore(a,r)&&(r[a.length-1]-=1);break}case"merge_node":{var{path:s,position:l}=t;J.equals(s,r)||J.endsBefore(s,r)?r[s.length-1]-=1:J.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break}case"split_node":{var{path:f,position:d}=t;if(J.equals(f,r)){if(o==="forward")r[r.length-1]+=1;else if(o!=="backward")return null}else J.endsBefore(f,r)?r[f.length-1]+=1:J.isAncestor(f,r)&&e[f.length]>=d&&(r[f.length-1]+=1,r[f.length]-=d);break}case"move_node":{var{path:p,newPath:h}=t;if(J.equals(p,h))return;if(J.isAncestor(p,r)||J.equals(p,r)){var m=h.slice();return J.endsBefore(p,h)&&p.length<h.length&&(m[p.length-1]-=1),m.concat(r.slice(p.length))}else J.isSibling(p,h)&&(J.isAncestor(h,r)||J.equals(h,r))?J.endsBefore(p,r)?r[p.length-1]-=1:r[p.length-1]+=1:J.endsBefore(h,r)||J.equals(h,r)||J.isAncestor(h,r)?(J.endsBefore(p,r)&&(r[p.length-1]-=1),r[h.length-1]+=1):J.endsBefore(p,r)&&(J.equals(h,r)&&(r[h.length-1]+=1),r[p.length-1]-=1);break}}}})}},LU={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=J.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}};function Wx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function qx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var nt={compare(e,t){var n=J.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter(e,t){return nt.compare(e,t)===1},isBefore(e,t){return nt.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&J.equals(e.path,t.path)},isPoint(e){return gr(e)&&typeof e.offset=="number"&&J.isPath(e.path)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return f0(e,r=>{if(r===null)return null;var{affinity:o="forward"}=n,{path:i,offset:a}=r;switch(t.type){case"insert_node":case"move_node":{r.path=J.transform(i,t,n);break}case"insert_text":{J.equals(t.path,i)&&t.offset<=a&&(r.offset+=t.text.length);break}case"merge_node":{J.equals(t.path,i)&&(r.offset+=t.position),r.path=J.transform(i,t,n);break}case"remove_text":{J.equals(t.path,i)&&t.offset<=a&&(r.offset-=Math.min(a-t.offset,t.text.length));break}case"remove_node":{if(J.equals(t.path,i)||J.isAncestor(t.path,i))return null;r.path=J.transform(i,t,n);break}case"split_node":{if(J.equals(t.path,i)){if(t.position===a&&o==null)return null;(t.position<a||t.position===a&&o==="forward")&&(r.offset-=t.position,r.path=J.transform(i,t,qx(qx({},n),{},{affinity:"forward"})))}else r.path=J.transform(i,t,n);break}}})}},RU={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=nt.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},MU=["anchor","focus"];function Gx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function jU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var re={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return re.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=re.edges(e);return t},equals(e,t){return nt.equals(e.anchor,t.anchor)&&nt.equals(e.focus,t.focus)},includes(e,t){if(re.isRange(t)){if(re.includes(e,t.anchor)||re.includes(e,t.focus))return!0;var[n,r]=re.edges(e),[o,i]=re.edges(t);return nt.isBefore(n,o)&&nt.isAfter(r,i)}var[a,s]=re.edges(e),l=!1,f=!1;return nt.isPoint(t)?(l=nt.compare(t,a)>=0,f=nt.compare(t,s)<=0):(l=J.compare(t,a.path)>=0,f=J.compare(t,s.path)<=0),l&&f},intersection(e,t){var n=Ki(e,MU),[r,o]=re.edges(e),[i,a]=re.edges(t),s=nt.isBefore(r,i)?i:r,l=nt.isBefore(o,a)?o:a;return nt.isBefore(l,s)?null:jU({anchor:s,focus:l},n)},isBackward(e){var{anchor:t,focus:n}=e;return nt.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return nt.equals(t,n)},isExpanded(e){return!re.isCollapsed(e)},isForward(e){return!re.isBackward(e)},isRange(e){return gr(e)&&nt.isPoint(e.anchor)&&nt.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=re.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return f0(e,r=>{if(r===null)return null;var{affinity:o="inward"}=n,i,a;if(o==="inward"){var s=re.isCollapsed(r);re.isForward(r)?(i="forward",a=s?i:"backward"):(i="backward",a=s?i:"forward")}else o==="outward"?re.isForward(r)?(i="backward",a="forward"):(i="forward",a="backward"):(i=o,a=o);var l=nt.transform(r.anchor,t,{affinity:i}),f=nt.transform(r.focus,t,{affinity:a});if(!l||!f)return null;r.anchor=l,r.focus=f})}},zU={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=re.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},Kx=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(gr(r)&&gr(o)){if(!Kx(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1}else if(r!==o)return!1}for(var a in t)if(e[a]===void 0&&t[a]!==void 0)return!1;return!0},VU=["text"],UU=["anchor","focus"];function Yx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Yi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var xe={equals(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function o(i){var a=Ki(i,VU);return a}return Kx(r?o(e):e,r?o(t):t)},isText(e){return gr(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>xe.isText(t))},isTextProps(e){return e.text!==void 0},matches(e,t){for(var n in t)if(n!=="text"&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Yi({},e)];for(var r of t){var o=Ki(r,UU),[i,a]=re.edges(r),s=[],l=0;for(var f of n){var{length:d}=f.text,p=l;if(l+=d,i.offset<=p&&a.offset>=l){Object.assign(f,o),s.push(f);continue}if(i.offset!==a.offset&&(i.offset===l||a.offset===p)||i.offset>l||a.offset<p||a.offset===p&&p!==0){s.push(f);continue}var h=f,m=void 0,C=void 0;if(a.offset<l){var $=a.offset-p;C=Yi(Yi({},h),{},{text:h.text.slice($)}),h=Yi(Yi({},h),{},{text:h.text.slice(0,$)})}if(i.offset>p){var b=i.offset-p;m=Yi(Yi({},h),{},{text:h.text.slice(0,b)}),h=Yi(Yi({},h),{},{text:h.text.slice(b)})}Object.assign(h,o),m&&s.push(m),s.push(h),C&&s.push(C)}n=s}return n}};function Jx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function sd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var HU=(e,t,n)=>{switch(n.type){case"insert_node":{var{path:r,node:o}=n,i=we.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[s,l]of re.points(t))t[l]=nt.transform(s,n);break}case"insert_text":{var{path:f,offset:d,text:p}=n;if(p.length===0)break;var h=we.leaf(e,f),m=h.text.slice(0,d),C=h.text.slice(d);if(h.text=m+p+C,t)for(var[$,b]of re.points(t))t[b]=nt.transform($,n);break}case"merge_node":{var{path:w}=n,y=we.get(e,w),S=J.previous(w),x=we.get(e,S),A=we.parent(e,w),O=w[w.length-1];if(xe.isText(y)&&xe.isText(x))x.text+=y.text;else if(!xe.isText(y)&&!xe.isText(x))x.children.push(...y.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(w,"] to nodes of different interfaces: ").concat(y," ").concat(x));if(A.children.splice(O,1),t)for(var[T,z]of re.points(t))t[z]=nt.transform(T,n);break}case"move_node":{var{path:V,newPath:ue}=n;if(J.isAncestor(V,ue))throw new Error("Cannot move a path [".concat(V,"] to new path [").concat(ue,"] because the destination is inside itself."));var oe=we.get(e,V),de=we.parent(e,V),me=V[V.length-1];de.children.splice(me,1);var _e=J.transform(V,n),Ee=we.get(e,J.parent(_e)),Be=_e[_e.length-1];if(Ee.children.splice(Be,0,oe),t)for(var[Fe,je]of re.points(t))t[je]=nt.transform(Fe,n);break}case"remove_node":{var{path:Ue}=n,Oe=Ue[Ue.length-1],Je=we.parent(e,Ue);if(Je.children.splice(Oe,1),t)for(var[G,H]of re.points(t)){var I=nt.transform(G,n);if(t!=null&&I!=null)t[H]=I;else{var L=void 0,Y=void 0;for(var[q,B]of we.texts(e))if(J.compare(B,Ue)===-1)L=[q,B];else{Y=[q,B];break}var ce=!1;L&&Y&&(J.equals(Y[1],Ue)?ce=!J.hasPrevious(Y[1]):ce=J.common(L[1],Ue).length<J.common(Y[1],Ue).length),L&&!ce?(G.path=L[1],G.offset=L[0].text.length):Y?(G.path=Y[1],G.offset=0):t=null}}break}case"remove_text":{var{path:ge,offset:Ae,text:j}=n;if(j.length===0)break;var ve=we.leaf(e,ge),ae=ve.text.slice(0,Ae),X=ve.text.slice(Ae+j.length);if(ve.text=ae+X,t)for(var[te,pe]of re.points(t))t[pe]=nt.transform(te,n);break}case"set_node":{var{path:ye,properties:De,newProperties:Le}=n;if(ye.length===0)throw new Error("Cannot set properties on the root node!");var Ve=we.get(e,ye);for(var ze in Le){if(ze==="children"||ze==="text")throw new Error('Cannot set the "'.concat(ze,'" property of nodes!'));var ft=Le[ze];ft==null?delete Ve[ze]:Ve[ze]=ft}for(var It in De)Le.hasOwnProperty(It)||delete Ve[It];break}case"set_selection":{var{newProperties:Ze}=n;if(Ze==null)t=Ze;else{if(t==null){if(!re.isRange(Ze))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(Ze)," when there is no current selection."));t=sd({},Ze)}for(var At in Ze){var Dt=Ze[At];if(Dt==null){if(At==="anchor"||At==="focus")throw new Error('Cannot remove the "'.concat(At,'" selection property'));delete t[At]}else t[At]=Dt}}break}case"split_node":{var{path:Bt,position:hn,properties:Xt}=n;if(Bt.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Bt,"] because the root node cannot be split."));var gn=we.get(e,Bt),Ar=we.parent(e,Bt),Mr=Bt[Bt.length-1],er;if(xe.isText(gn)){var cr=gn.text.slice(0,hn),kr=gn.text.slice(hn);gn.text=cr,er=sd(sd({},Xt),{},{text:kr})}else{var fr=gn.children.slice(0,hn),wr=gn.children.slice(hn);gn.children=fr,er=sd(sd({},Xt),{},{children:wr})}if(Ar.children.splice(Mr+1,0,er),t)for(var[tr,oo]of re.points(t))t[oo]=nt.transform(tr,n);break}}return t},WU={transform(e,t){e.children=Tx(e.children);var n=e.selection&&Tx(e.selection);try{n=HU(e,n,t)}finally{e.children=Fx(e.children),n?e.selection=tu(n)?Fx(n):n:e.selection=null}}},qU=["text"],GU=["children"];function Xx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Zx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var KU={insertNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:s,select:l}=n;if(we.isNode(t)&&(t=[t]),t.length!==0){var[f]=t;if(a||(e.selection?a=e.selection:e.children.length>0?a=_.end(e,[]):a=[0],l=!0),l==null&&(l=!1),re.isRange(a))if(r||(a=_.unhangRange(e,a)),re.isCollapsed(a))a=a.anchor;else{var[,d]=re.edges(a),p=_.pointRef(e,d);ee.delete(e,{at:a}),a=p.unref()}if(nt.isPoint(a)){s==null&&(xe.isText(f)?s=O=>xe.isText(O):e.isInline(f)?s=O=>xe.isText(O)||_.isInline(e,O):s=O=>_.isBlock(e,O));var[h]=_.nodes(e,{at:a.path,match:s,mode:i,voids:o});if(h){var[,m]=h,C=_.pathRef(e,m),$=_.isEnd(e,a,m);ee.splitNodes(e,{at:a,match:s,mode:i,voids:o});var b=C.unref();a=$?J.next(b):b}else return}var w=J.parent(a),y=a[a.length-1];if(!(!o&&_.void(e,{at:w}))){for(var S of t){var x=w.concat(y);y++,e.apply({type:"insert_node",path:x,node:S}),a=J.next(a)}if(a=J.previous(a),l){var A=_.end(e,a);A&&ee.select(e,A)}}}})},liftNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(i==null&&(i=J.isPath(n)?jl(e,n):S=>_.isBlock(e,S)),!!n){var a=_.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,S=>{var[,x]=S;return _.pathRef(e,x)});for(var l of s){var f=l.unref();if(f.length<2)throw new Error("Cannot lift node at a path [".concat(f,"] because it has a depth of less than `2`."));var d=_.node(e,J.parent(f)),[p,h]=d,m=f[f.length-1],{length:C}=p.children;if(C===1){var $=J.next(h);ee.moveNodes(e,{at:f,to:$,voids:o}),ee.removeNodes(e,{at:h,voids:o})}else if(m===0)ee.moveNodes(e,{at:f,to:h,voids:o});else if(m===C-1){var b=J.next(h);ee.moveNodes(e,{at:f,to:b,voids:o})}else{var w=J.next(f),y=J.next(h);ee.splitNodes(e,{at:w,voids:o}),ee.moveNodes(e,{at:f,to:y,voids:o})}}}})},mergeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(!!r){if(n==null)if(J.isPath(r)){var[s]=_.parent(e,r);n=V=>s.children.includes(V)}else n=V=>_.isBlock(e,V);if(!o&&re.isRange(r)&&(r=_.unhangRange(e,r)),re.isRange(r))if(re.isCollapsed(r))r=r.anchor;else{var[,l]=re.edges(r),f=_.pointRef(e,l);ee.delete(e,{at:r}),r=f.unref(),t.at==null&&ee.select(e,r)}var[d]=_.nodes(e,{at:r,match:n,voids:i,mode:a}),p=_.previous(e,{at:r,match:n,voids:i,mode:a});if(!(!d||!p)){var[h,m]=d,[C,$]=p;if(!(m.length===0||$.length===0)){var b=J.next($),w=J.common(m,$),y=J.isSibling(m,$),S=Array.from(_.levels(e,{at:m}),V=>{var[ue]=V;return ue}).slice(w.length).slice(0,-1),x=_.above(e,{at:m,mode:"highest",match:V=>S.includes(V)&&Qx(e,V)}),A=x&&_.pathRef(e,x[1]),O,T;if(xe.isText(h)&&xe.isText(C)){var z=Ki(h,qU);T=C.text.length,O=z}else if(Pe.isElement(h)&&Pe.isElement(C)){var z=Ki(h,GU);T=C.children.length,O=z}else throw new Error("Cannot merge the node at path [".concat(m,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(h)," ").concat(JSON.stringify(C)));y||ee.moveNodes(e,{at:m,to:b,voids:i}),A&&ee.removeNodes(e,{at:A.current,voids:i}),Pe.isElement(C)&&_.isEmpty(e,C)||xe.isText(C)&&C.text===""&&$[$.length-1]!==0?ee.removeNodes(e,{at:$,voids:i}):e.apply({type:"merge_node",path:b,position:T,properties:O}),A&&A.unref()}}}})},moveNodes(e,t){_.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(!!r){a==null&&(a=J.isPath(r)?jl(e,r):m=>_.isBlock(e,m));var s=_.pathRef(e,n),l=_.nodes(e,{at:r,match:a,mode:o,voids:i}),f=Array.from(l,m=>{var[,C]=m;return _.pathRef(e,C)});for(var d of f){var p=d.unref(),h=s.current;p.length!==0&&e.apply({type:"move_node",path:p,newPath:h}),s.current&&J.isSibling(h,p)&&J.isAfter(h,p)&&(s.current=J.next(s.current))}s.unref()}})},removeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(!!i){a==null&&(a=J.isPath(i)?jl(e,i):h=>_.isBlock(e,h)),!n&&re.isRange(i)&&(i=_.unhangRange(e,i));var s=_.nodes(e,{at:i,match:a,mode:o,voids:r}),l=Array.from(s,h=>{var[,m]=h;return _.pathRef(e,m)});for(var f of l){var d=f.unref();if(d){var[p]=_.node(e,d);e.apply({type:"remove_node",path:d,node:p})}}}})},setNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:s=!1,voids:l=!1}=n;if(!!o){if(r==null&&(r=J.isPath(o)?jl(e,o):A=>_.isBlock(e,A)),!i&&re.isRange(o)&&(o=_.unhangRange(e,o)),s&&re.isRange(o)){if(re.isCollapsed(o)&&_.leaf(e,o.anchor)[0].text.length>0)return;var f=_.rangeRef(e,o,{affinity:"inward"}),[d,p]=re.edges(o),h=a==="lowest"?"lowest":"highest",m=_.isEnd(e,p,p.path);ee.splitNodes(e,{at:p,match:r,mode:h,voids:l,always:!m});var C=_.isStart(e,d,d.path);ee.splitNodes(e,{at:d,match:r,mode:h,voids:l,always:!C}),o=f.unref(),n.at==null&&ee.select(e,o)}for(var[$,b]of _.nodes(e,{at:o,match:r,mode:a,voids:l})){var w={},y={};if(b.length!==0){var S=!1;for(var x in t)x==="children"||x==="text"||t[x]!==$[x]&&(S=!0,$.hasOwnProperty(x)&&(w[x]=$[x]),t[x]!=null&&(y[x]=t[x]));S&&e.apply({type:"set_node",path:b,properties:w,newProperties:y})}}}})},splitNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(o==null&&(o=Fe=>_.isBlock(e,Fe)),re.isRange(i)&&(i=YU(e,i)),J.isPath(i)){var l=i,f=_.point(e,l),[d]=_.parent(e,l);o=Fe=>Fe===d,a=f.path.length-l.length+1,i=f,s=!0}if(!!i){var p=_.pointRef(e,i,{affinity:"backward"}),[h]=_.nodes(e,{at:i,match:o,mode:n,voids:r});if(!!h){var m=_.void(e,{at:i,mode:"highest"}),C=0;if(!r&&m){var[$,b]=m;if(Pe.isElement($)&&e.isInline($)){var w=_.after(e,b);if(!w){var y={text:""},S=J.next(b);ee.insertNodes(e,y,{at:S,voids:r}),w=_.point(e,S)}i=w,s=!0}var x=i.path.length-b.length;a=x+1,s=!0}var A=_.pointRef(e,i),O=i.path.length-a,[,T]=h,z=i.path.slice(0,O),V=a===0?i.offset:i.path[O]+C;for(var[ue,oe]of _.levels(e,{at:z,reverse:!0,voids:r})){var de=!1;if(oe.length<T.length||oe.length===0||!r&&_.isVoid(e,ue))break;var me=p.current,_e=_.isEnd(e,me,oe);if(s||!p||!_.isEdge(e,me,oe)){de=!0;var Ee=we.extractProps(ue);e.apply({type:"split_node",path:oe,position:V,properties:Ee})}V=oe[oe.length-1]+(de||_e?1:0)}if(t.at==null){var Be=A.current||_.end(e,[]);ee.select(e,Be)}p.unref(),A.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;ee.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(!!i){a==null&&(a=J.isPath(i)?jl(e,i):h=>_.isBlock(e,h)),J.isPath(i)&&(i=_.range(e,i));var s=re.isRange(i)?_.rangeRef(e,i):null,l=_.nodes(e,{at:i,match:a,mode:n,voids:o}),f=Array.from(l,h=>{var[,m]=h;return _.pathRef(e,m)}).reverse(),d=function(m){var C=m.unref(),[$]=_.node(e,C),b=_.range(e,C);r&&s&&(b=re.intersection(s.current,b)),ee.liftNodes(e,{at:b,match:w=>Pe.isAncestor($)&&$.children.includes(w),voids:o})};for(var p of f)d(p);s&&s.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(!!s){if(a==null&&(J.isPath(s)?a=jl(e,s):e.isInline(t)?a=b=>_.isInline(e,b)||xe.isText(b):a=b=>_.isBlock(e,b)),o&&re.isRange(s)){var[l,f]=re.edges(s),d=_.rangeRef(e,s,{affinity:"inward"});ee.splitNodes(e,{at:f,match:a,voids:i}),ee.splitNodes(e,{at:l,match:a,voids:i}),s=d.unref(),n.at==null&&ee.select(e,s)}var p=Array.from(_.nodes(e,{at:s,match:e.isInline(t)?b=>_.isBlock(e,b):b=>_.isEditor(b),mode:"lowest",voids:i}));for(var[,h]of p){var m=re.isRange(s)?re.intersection(s,_.range(e,h)):s;if(!!m){var C=Array.from(_.nodes(e,{at:m,match:a,mode:r,voids:i}));if(C.length>0){var $=function(){var[b]=C,w=C[C.length-1],[,y]=b,[,S]=w;if(y.length===0&&S.length===0)return"continue";var x=J.equals(y,S)?J.parent(y):J.common(y,S),A=_.range(e,y,S),O=_.node(e,x),[T]=O,z=x.length+1,V=J.next(S.slice(0,z)),ue=Zx(Zx({},t),{},{children:[]});ee.insertNodes(e,ue,{at:V,voids:i}),ee.moveNodes(e,{at:A,match:oe=>Pe.isAncestor(T)&&T.children.includes(oe),to:V.concat(0),voids:i})}();if($==="continue")continue}}}}})}},Qx=(e,t)=>{if(Pe.isElement(t)){var n=t;return _.isVoid(e,t)?!0:n.children.length===1?Qx(e,n.children[0]):!1}else return!_.isEditor(t)},YU=(e,t)=>{if(re.isCollapsed(t))return t.anchor;var[,n]=re.edges(t),r=_.pointRef(e,n);return ee.delete(e,{at:t}),r.unref()},jl=(e,t)=>{var[n]=_.node(e,t);return r=>r===n};function eA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function tA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?eA(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var JU={collapse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if(n==="anchor")ee.select(e,r.anchor);else if(n==="focus")ee.select(e,r.focus);else if(n==="start"){var[o]=re.edges(r);ee.select(e,o)}else if(n==="end"){var[,i]=re.edges(r);ee.select(e,i)}}else return},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(!!n){a==="start"&&(a=re.isBackward(n)?"focus":"anchor"),a==="end"&&(a=re.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,f={distance:r,unit:o},d={};if(a==null||a==="anchor"){var p=i?_.before(e,s,f):_.after(e,s,f);p&&(d.anchor=p)}if(a==null||a==="focus"){var h=i?_.before(e,l,f):_.after(e,l,f);h&&(d.focus=h)}ee.setSelection(e,d)}},select(e,t){var{selection:n}=e;if(t=_.range(e,t),n){ee.setSelection(e,t);return}if(!re.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})},setPoint(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(!!r){o==="start"&&(o=re.isBackward(r)?"focus":"anchor"),o==="end"&&(o=re.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s=o==="anchor"?i:a;ee.setSelection(e,{[o==="anchor"?"anchor":"focus"]:tA(tA({},s),t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(!!n){for(var i in t)(i==="anchor"&&t.anchor!=null&&!nt.equals(t.anchor,n.anchor)||i==="focus"&&t.focus!=null&&!nt.equals(t.focus,n.focus)||i!=="anchor"&&i!=="focus"&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}},XU={delete(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:s=!1}=t;if(!!a){if(re.isRange(a)&&re.isCollapsed(a)&&(a=a.anchor),nt.isPoint(a)){var l=_.void(e,{at:a,mode:"highest"});if(!i&&l){var[,f]=l;a=f}else{var d={unit:r,distance:o},p=n?_.before(e,a,d)||_.start(e,[]):_.after(e,a,d)||_.end(e,[]);a={anchor:a,focus:p},s=!0}}if(J.isPath(a)){ee.removeNodes(e,{at:a,voids:i});return}if(!re.isCollapsed(a)){if(!s){var[,h]=re.edges(a),m=_.end(e,[]);nt.equals(h,m)||(a=_.unhangRange(e,a,{voids:i}))}var[C,$]=re.edges(a),b=_.above(e,{match:ce=>_.isBlock(e,ce),at:C,voids:i}),w=_.above(e,{match:ce=>_.isBlock(e,ce),at:$,voids:i}),y=b&&w&&!J.equals(b[1],w[1]),S=J.equals(C.path,$.path),x=i?null:_.void(e,{at:C,mode:"highest"}),A=i?null:_.void(e,{at:$,mode:"highest"});if(x){var O=_.before(e,C);O&&b&&J.isAncestor(b[1],O.path)&&(C=O)}if(A){var T=_.after(e,$);T&&w&&J.isAncestor(w[1],T.path)&&($=T)}var z=[],V;for(var ue of _.nodes(e,{at:a,voids:i})){var[oe,de]=ue;V&&J.compare(de,V)===0||(!i&&_.isVoid(e,oe)||!J.isCommon(de,C.path)&&!J.isCommon(de,$.path))&&(z.push(ue),V=de)}var me=Array.from(z,ce=>{var[,ge]=ce;return _.pathRef(e,ge)}),_e=_.pointRef(e,C),Ee=_.pointRef(e,$);if(!S&&!x){var Be=_e.current,[Fe]=_.leaf(e,Be),{path:je}=Be,{offset:Ue}=C,Oe=Fe.text.slice(Ue);Oe.length>0&&e.apply({type:"remove_text",path:je,offset:Ue,text:Oe})}for(var Je of me){var G=Je.unref();ee.removeNodes(e,{at:G,voids:i})}if(!A){var H=Ee.current,[I]=_.leaf(e,H),{path:L}=H,Y=S?C.offset:0,q=I.text.slice(Y,$.offset);q.length>0&&e.apply({type:"remove_text",path:L,offset:Y,text:q})}!S&&y&&Ee.current&&_e.current&&ee.mergeNodes(e,{at:Ee.current,hanging:!0,voids:i});var B=n?_e.unref()||Ee.unref():Ee.unref()||_e.unref();t.at==null&&B&&ee.select(e,B)}}})},insertFragment(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(!!t.length){if(i)if(re.isRange(i))if(r||(i=_.unhangRange(e,i)),re.isCollapsed(i))i=i.anchor;else{var[,a]=re.edges(i);if(!o&&_.void(e,{at:a}))return;var s=_.pointRef(e,a);ee.delete(e,{at:i}),i=s.unref()}else J.isPath(i)&&(i=_.start(e,i));else return;if(!(!o&&_.void(e,{at:i}))){var l=_.above(e,{at:i,match:I=>_.isInline(e,I),mode:"highest",voids:o});if(l){var[,f]=l;if(_.isEnd(e,i,f)){var d=_.after(e,f);i=d}else if(_.isStart(e,i,f)){var p=_.before(e,f);i=p}}var h=_.above(e,{match:I=>_.isBlock(e,I),at:i,voids:o}),[,m]=h,C=_.isStart(e,i,m),$=_.isEnd(e,i,m),b=C&&$,w=!C||C&&$,y=!$,[,S]=we.first({children:t},[]),[,x]=we.last({children:t},[]),A=[],O=I=>{var[L,Y]=I,q=Y.length===0;return q?!1:b?!0:!(w&&J.isAncestor(Y,S)&&Pe.isElement(L)&&!e.isVoid(L)&&!e.isInline(L)||y&&J.isAncestor(Y,x)&&Pe.isElement(L)&&!e.isVoid(L)&&!e.isInline(L))};for(var T of we.nodes({children:t},{pass:O}))O(T)&&A.push(T);var z=[],V=[],ue=[],oe=!0,de=!1;for(var[me]of A)Pe.isElement(me)&&!e.isInline(me)?(oe=!1,de=!0,V.push(me)):oe?z.push(me):ue.push(me);var[_e]=_.nodes(e,{at:i,match:I=>xe.isText(I)||_.isInline(e,I),mode:"highest",voids:o}),[,Ee]=_e,Be=_.isStart(e,i,Ee),Fe=_.isEnd(e,i,Ee),je=_.pathRef(e,$?J.next(m):m),Ue=_.pathRef(e,Fe?J.next(Ee):Ee),Oe=_.pathRef(e,m);ee.splitNodes(e,{at:i,match:I=>de?_.isBlock(e,I):xe.isText(I)||_.isInline(e,I),mode:de?"lowest":"highest",voids:o});var Je=_.pathRef(e,!Be||Be&&Fe?J.next(Ee):Ee);if(ee.insertNodes(e,z,{at:Je.current,match:I=>xe.isText(I)||_.isInline(e,I),mode:"highest",voids:o}),b&&V.length&&ee.delete(e,{at:Oe.unref(),voids:o}),ee.insertNodes(e,V,{at:je.current,match:I=>_.isBlock(e,I),mode:"lowest",voids:o}),ee.insertNodes(e,ue,{at:Ue.current,match:I=>xe.isText(I)||_.isInline(e,I),mode:"highest",voids:o}),!n.at){var G;ue.length>0?G=J.previous(Ue.current):V.length>0?G=J.previous(je.current):G=J.previous(Je.current);var H=_.end(e,G);ee.select(e,H)}Je.unref(),je.unref(),Ue.unref()}}})},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(!!o){if(J.isPath(o)&&(o=_.range(e,o)),re.isRange(o))if(re.isCollapsed(o))o=o.anchor;else{var i=re.end(o);if(!r&&_.void(e,{at:i}))return;var a=_.pointRef(e,i);ee.delete(e,{at:o,voids:r}),o=a.unref(),ee.setSelection(e,{anchor:o,focus:o})}if(!(!r&&_.void(e,{at:o}))){var{path:s,offset:l}=o;t.length>0&&e.apply({type:"insert_text",path:s,offset:l,text:t})}}})}};function nA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function h0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nA(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ee=h0(h0(h0(h0({},WU),KU),JU),XU),tn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rb(e){var t={exports:{}};return e(t,t.exports),t.exports}var rA=9007199254740991,ZU="[object Arguments]",QU="[object Function]",eH="[object GeneratorFunction]",Mb="[object Map]",tH="[object Object]",oA="[object Promise]",jb="[object Set]",nH="[object String]",iA="[object WeakMap]",aA="[object DataView]",rH=/[\\^$.*+?()[\]{}|]/g,oH=/^\[object .+?Constructor\]$/,iH=/^(?:0|[1-9]\d*)$/,zb="\\ud800-\\udfff",sA="\\u0300-\\u036f\\ufe20-\\ufe23",uA="\\u20d0-\\u20f0",lA="\\ufe0e\\ufe0f",aH="["+zb+"]",Vb="["+sA+uA+"]",Ub="\\ud83c[\\udffb-\\udfff]",sH="(?:"+Vb+"|"+Ub+")",cA="[^"+zb+"]",fA="(?:\\ud83c[\\udde6-\\uddff]){2}",dA="[\\ud800-\\udbff][\\udc00-\\udfff]",pA="\\u200d",hA=sH+"?",gA="["+lA+"]?",uH="(?:"+pA+"(?:"+[cA,fA,dA].join("|")+")"+gA+hA+")*",lH=gA+hA+uH,cH="(?:"+[cA+Vb+"?",Vb,fA,dA,aH].join("|")+")",fH=RegExp(Ub+"(?="+Ub+")|"+cH+lH,"g"),dH=RegExp("["+pA+zb+sA+uA+lA+"]"),pH=typeof tn=="object"&&tn&&tn.Object===Object&&tn,hH=typeof self=="object"&&self&&self.Object===Object&&self,ou=pH||hH||Function("return this")();function gH(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function mH(e){return e.split("")}function vH(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function yH(e,t){return gH(t,function(n){return e[n]})}function bH(e,t){return e==null?void 0:e[t]}function wH(e){return dH.test(e)}function $H(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function CH(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function EH(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function SH(e,t){return function(n){return e(t(n))}}function DH(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}function xH(e){return wH(e)?AH(e):mH(e)}function AH(e){return e.match(fH)||[]}var kH=Function.prototype,g0=Object.prototype,Hb=ou["__core-js_shared__"],mA=function(){var e=/[^.]+$/.exec(Hb&&Hb.keys&&Hb.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),vA=kH.toString,m0=g0.hasOwnProperty,ud=g0.toString,_H=RegExp("^"+vA.call(m0).replace(rH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yA=ou.Symbol,Wb=yA?yA.iterator:void 0,OH=g0.propertyIsEnumerable,BH=SH(Object.keys,Object),qb=ld(ou,"DataView"),Gb=ld(ou,"Map"),Kb=ld(ou,"Promise"),Yb=ld(ou,"Set"),Jb=ld(ou,"WeakMap"),TH=au(qb),FH=au(Gb),PH=au(Kb),IH=au(Yb),NH=au(Jb);function LH(e,t){var n=bA(e)||WH(e)?vH(e.length,String):[],r=n.length,o=!!r;for(var i in e)(t||m0.call(e,i))&&!(o&&(i=="length"||VH(i,r)))&&n.push(i);return n}function RH(e){return ud.call(e)}function MH(e){if(!$A(e)||UH(e))return!1;var t=wA(e)||$H(e)?_H:oH;return t.test(au(e))}function jH(e){if(!HH(e))return BH(e);var t=[];for(var n in Object(e))m0.call(e,n)&&n!="constructor"&&t.push(n);return t}function zH(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function ld(e,t){var n=bH(e,t);return MH(n)?n:void 0}var iu=RH;(qb&&iu(new qb(new ArrayBuffer(1)))!=aA||Gb&&iu(new Gb)!=Mb||Kb&&iu(Kb.resolve())!=oA||Yb&&iu(new Yb)!=jb||Jb&&iu(new Jb)!=iA)&&(iu=function(e){var t=ud.call(e),n=t==tH?e.constructor:void 0,r=n?au(n):void 0;if(r)switch(r){case TH:return aA;case FH:return Mb;case PH:return oA;case IH:return jb;case NH:return iA}return t});function VH(e,t){return t=t==null?rA:t,!!t&&(typeof e=="number"||iH.test(e))&&e>-1&&e%1==0&&e<t}function UH(e){return!!mA&&mA in e}function HH(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||g0;return e===n}function au(e){if(e!=null){try{return vA.call(e)}catch{}try{return e+""}catch{}}return""}function WH(e){return qH(e)&&m0.call(e,"callee")&&(!OH.call(e,"callee")||ud.call(e)==ZU)}var bA=Array.isArray;function Xb(e){return e!=null&&GH(e.length)&&!wA(e)}function qH(e){return CA(e)&&Xb(e)}function wA(e){var t=$A(e)?ud.call(e):"";return t==QU||t==eH}function GH(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=rA}function $A(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function CA(e){return!!e&&typeof e=="object"}function KH(e){return typeof e=="string"||!bA(e)&&CA(e)&&ud.call(e)==nH}function YH(e){if(!e)return[];if(Xb(e))return KH(e)?xH(e):zH(e);if(Wb&&e[Wb])return CH(e[Wb]());var t=iu(e),n=t==Mb?EH:t==jb?DH:XH;return n(e)}function JH(e){return Xb(e)?LH(e):jH(e)}function XH(e){return e?yH(e,JH(e)):[]}var EA=YH;function SA(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Zb(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(n){typeof e[n]>"u"?e[n]=t[n]:SA(t[n])&&SA(e[n])&&Object.keys(t[n]).length>0&&Zb(e[n],t[n])})}var DA={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function cd(){var e=typeof document<"u"?document:{};return Zb(e,DA),e}var ZH={document:DA,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout>"u"||clearTimeout(e)}};function su(){var e=typeof window<"u"?window:{};return Zb(e,ZH),e}function QH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Qb(e){return Qb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qb(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},v0(e,t)}function eW(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y0(e,t,n){return eW()?y0=Reflect.construct:y0=function(o,i,a){var s=[null];s.push.apply(s,i);var l=Function.bind.apply(o,s),f=new l;return a&&v0(f,a.prototype),f},y0.apply(null,arguments)}function tW(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function e2(e){var t=typeof Map=="function"?new Map:void 0;return e2=function(r){if(r===null||!tW(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return y0(r,arguments,Qb(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),v0(o,r)},e2(e)}function nW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(r){t.__proto__=r}})}var _a=function(e){QH(t,e);function t(n){var r;return r=e.call.apply(e,[this].concat(n))||this,rW(nW(r)),r}return t}(e2(Array));function b0(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(n){Array.isArray(n)?t.push.apply(t,b0(n)):t.push(n)}),t}function xA(e,t){return Array.prototype.filter.call(e,t)}function oW(e){for(var t=[],n=0;n<e.length;n+=1)t.indexOf(e[n])===-1&&t.push(e[n]);return t}function iW(e){return e.toLowerCase().replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function aW(e,t){if(typeof e!="string")return[e];for(var n=[],r=t.querySelectorAll(e),o=0;o<r.length;o+=1)n.push(r[o]);return n}function U(e,t){var n=su(),r=cd(),o=[];if(!t&&e instanceof _a)return e;if(!e)return new _a(o);if(typeof e=="string"){var i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";i.indexOf("<li")===0&&(a="ul"),i.indexOf("<tr")===0&&(a="tbody"),(i.indexOf("<td")===0||i.indexOf("<th")===0)&&(a="tr"),i.indexOf("<tbody")===0&&(a="table"),i.indexOf("<option")===0&&(a="select");var s=r.createElement(a);s.innerHTML=i;for(var l=0;l<s.childNodes.length;l+=1)o.push(s.childNodes[l])}else o=aW(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof _a)return e;o=e}return new _a(oW(o))}U.fn=_a.prototype;function zl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=b0(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).add.apply(i,r)}),this}function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=b0(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).remove.apply(i,r)}),this}function Ul(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=b0(t.map(function(o){return o.split(" ")}));return xA(this,function(o){return r.filter(function(i){return o.classList.contains(i)}).length>0}).length>0}function mo(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function w0(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function Hl(){var e=this[0];if(!!e){var t={};if(e.dataset)for(var n in e.dataset)t[n]=e.dataset[n];else for(var r=0;r<e.attributes.length;r+=1){var o=e.attributes[r];o.name.indexOf("data-")>=0&&(t[iW(o.name.split("data-")[1])]=o.value)}for(var i in t)t[i]==="false"?t[i]=!1:t[i]==="true"?t[i]=!0:parseFloat(t[i])===t[i]*1&&(t[i]*=1);return t}}function vi(e){if(typeof e>"u"){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()==="select"){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var o=0;o<this.length;o+=1){var i=this[o];if(Array.isArray(e)&&i.multiple&&i.nodeName.toLowerCase()==="select")for(var a=0;a<i.options.length;a+=1)i.options[a].selected=e.indexOf(i.options[a].value)>=0;else i.value=e}return this}function yi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];typeof t[1]=="function"&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);function s($){var b=$.target;if(!!b){var w=$.target.dom7EventData||[];if(w.indexOf($)<0&&w.unshift($),U(b).is(o))i.apply(b,w);else for(var y=U(b).parents(),S=0;S<y.length;S+=1)U(y[S]).is(o)&&i.apply(y[S],w)}}function l($){var b=$&&$.target?$.target.dom7EventData||[]:[];b.indexOf($)<0&&b.unshift($),i.apply(this,b)}for(var f=r.split(" "),d,p=0;p<this.length;p+=1){var h=this[p];if(o)for(d=0;d<f.length;d+=1){var C=f[d];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[C]||(h.dom7LiveListeners[C]=[]),h.dom7LiveListeners[C].push({listener:i,proxyListener:s}),h.addEventListener(C,s,a)}else for(d=0;d<f.length;d+=1){var m=f[d];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[m]||(h.dom7Listeners[m]=[]),h.dom7Listeners[m].push({listener:i,proxyListener:l}),h.addEventListener(m,l,a)}}return this}function AA(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];typeof t[1]=="function"&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var s=r.split(" "),l=0;l<s.length;l+=1)for(var f=s[l],d=0;d<this.length;d+=1){var p=this[d],h=void 0;if(!o&&p.dom7Listeners?h=p.dom7Listeners[f]:o&&p.dom7LiveListeners&&(h=p.dom7LiveListeners[f]),h&&h.length)for(var m=h.length-1;m>=0;m-=1){var C=h[m];i&&C.listener===i||i&&C.listener&&C.listener.dom7proxy&&C.listener.dom7proxy===i?(p.removeEventListener(f,C.proxyListener,a),h.splice(m,1)):i||(p.removeEventListener(f,C.proxyListener,a),h.splice(m,1))}}return this}function $0(){var e=su();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function C0(){var e=su();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function kA(){if(this.length>0){var e=su(),t=cd(),n=this[0],r=n.getBoundingClientRect(),o=t.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-i,left:r.left+l-a}}return null}function Wl(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function E0(){for(var e=su(),t=0;t<this.length;t+=1){var n=this[t];n.style.display==="none"&&(n.style.display=""),e.getComputedStyle(n,null).getPropertyValue("display")==="none"&&(n.style.display="block")}return this}function S0(e,t){var n=su(),r;if(arguments.length===1)if(typeof e=="string"){if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(r=0;r<this.length;r+=1)for(var o in e)this[r].style[o]=e[o];return this}if(arguments.length===2&&typeof e=="string"){for(r=0;r<this.length;r+=1)this[r].style[e]=t;return this}return this}function D0(e){return e?(this.forEach(function(t,n){e.apply(t,[t,n])}),this):this}function _A(e){var t=xA(this,e);return U(t)}function Oa(e){if(typeof e>"u")return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function x0(e){if(typeof e>"u")return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function OA(e){var t=su(),n=cd(),r=this[0],o,i;if(!r||typeof e>"u")return!1;if(typeof e=="string"){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(o=U(e),i=0;i<o.length;i+=1)if(o[i]===r)return!0;return!1}if(e===n)return r===n;if(e===t)return r===t;if(e.nodeType||e instanceof _a){for(o=e.nodeType?[e]:e,i=0;i<o.length;i+=1)if(o[i]===r)return!0;return!1}return!1}function vo(){for(var e,t=cd(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof e=="string"){var o=t.createElement("div");for(o.innerHTML=e;o.firstChild;)this[r].appendChild(o.firstChild)}else if(e instanceof _a)for(var i=0;i<e.length;i+=1)this[r].appendChild(e[i]);else this[r].appendChild(e)}return this}function BA(e){var t=cd(),n,r;for(n=0;n<this.length;n+=1)if(typeof e=="string"){var o=t.createElement("div");for(o.innerHTML=e,r=o.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(o.childNodes[r],this[n].childNodes[0])}else if(e instanceof _a)for(r=0;r<e.length;r+=1)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this}function ql(e){for(var t=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(e?U(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return U(t)}function A0(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?U(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return U(t)}function Gl(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return U(t)}function Kl(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)(!e||U(r[o]).is(e))&&t.push(r[o]);return U(t)}function Yl(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function Jl(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this}var sW="resize scroll".split(" ");function TA(e){function t(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];if(typeof r[0]>"u"){for(var i=0;i<this.length;i+=1)sW.indexOf(e)<0&&(e in this[i]?this[i][e]():U(this[i]).trigger(e));return this}return this.on.apply(this,[e].concat(r))}return t}var FA=TA("click"),Ba=TA("focus"),PA=9007199254740991,uW="[object Arguments]",lW="[object Function]",cW="[object GeneratorFunction]",fW=/^(?:0|[1-9]\d*)$/;function dW(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function pW(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function hW(e,t){return function(n){return e(t(n))}}var k0=Object.prototype,t2=k0.hasOwnProperty,IA=k0.toString,gW=k0.propertyIsEnumerable,mW=hW(Object.keys,Object);function vW(e,t){var n=NA(e)||AW(e)?pW(e.length,String):[],r=n.length,o=!!r;for(var i in e)(t||t2.call(e,i))&&!(o&&(i=="length"||SW(i,r)))&&n.push(i);return n}var yW=CW(wW),bW=EW();function wW(e,t){return e&&bW(e,t,FW)}function $W(e){if(!DW(e))return mW(e);var t=[];for(var n in Object(e))t2.call(e,n)&&n!="constructor"&&t.push(n);return t}function CW(e,t){return function(n,r){if(n==null)return n;if(!n2(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function EW(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(n(i[l],l,i)===!1)break}return t}}function SW(e,t){return t=t==null?PA:t,!!t&&(typeof e=="number"||fW.test(e))&&e>-1&&e%1==0&&e<t}function DW(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||k0;return e===n}function xW(e,t){var n=NA(e)?dW:yW;return n(e,typeof t=="function"?t:PW)}function AW(e){return kW(e)&&t2.call(e,"callee")&&(!gW.call(e,"callee")||IA.call(e)==uW)}var NA=Array.isArray;function n2(e){return e!=null&&OW(e.length)&&!_W(e)}function kW(e){return TW(e)&&n2(e)}function _W(e){var t=BW(e)?IA.call(e):"";return t==lW||t==cW}function OW(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=PA}function BW(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function TW(e){return!!e&&typeof e=="object"}function FW(e){return n2(e)?vW(e):$W(e)}function PW(e){return e}var r2=xW;{if(typeof navigator<"u"&&navigator.product==="ReactNative"&&typeof crypto>"u")throw new Error("React Native does not have a built-in secure random generator. If you don\u2019t need unpredictable IDs use `nanoid/non-secure`. For secure IDs, import `react-native-get-random-values` before Nano ID.");if(typeof msCrypto<"u"&&typeof crypto>"u")throw new Error("Import file with `if (!window.crypto) window.crypto = window.msCrypto` before importing Nano ID to fix IE 11 support");if(typeof crypto>"u")throw new Error("Your browser does not have secure random generator. If you don\u2019t need unpredictable IDs, you can use nanoid/non-secure.")}let LA=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=n[e]&63;r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r<63?t+="_":t+="-"}return t};var RA="Expected a function",MA=0/0,IW="[object Symbol]",NW=/^\s+|\s+$/g,LW=/^[-+]0x[0-9a-f]+$/i,RW=/^0b[01]+$/i,MW=/^0o[0-7]+$/i,jW=parseInt,zW=typeof tn=="object"&&tn&&tn.Object===Object&&tn,VW=typeof self=="object"&&self&&self.Object===Object&&self,UW=zW||VW||Function("return this")(),HW=Object.prototype,WW=HW.toString,qW=Math.max,GW=Math.min,o2=function(){return UW.Date.now()};function KW(e,t,n){var r,o,i,a,s,l,f=0,d=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError(RA);t=jA(t)||0,_0(n)&&(d=!!n.leading,p="maxWait"in n,i=p?qW(jA(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h);function m(O){var T=r,z=o;return r=o=void 0,f=O,a=e.apply(z,T),a}function C(O){return f=O,s=setTimeout(w,t),d?m(O):a}function $(O){var T=O-l,z=O-f,V=t-T;return p?GW(V,i-z):V}function b(O){var T=O-l,z=O-f;return l===void 0||T>=t||T<0||p&&z>=i}function w(){var O=o2();if(b(O))return y(O);s=setTimeout(w,$(O))}function y(O){return s=void 0,h&&r?m(O):(r=o=void 0,a)}function S(){s!==void 0&&clearTimeout(s),f=0,r=l=o=s=void 0}function x(){return s===void 0?a:y(o2())}function A(){var O=o2(),T=b(O);if(r=arguments,o=this,l=O,T){if(s===void 0)return C(l);if(p)return s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),a}return A.cancel=S,A.flush=x,A}function YW(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(RA);return _0(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),KW(e,t,{leading:r,maxWait:t,trailing:o})}function _0(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function JW(e){return!!e&&typeof e=="object"}function XW(e){return typeof e=="symbol"||JW(e)&&WW.call(e)==IW}function jA(e){if(typeof e=="number")return e;if(XW(e))return MA;if(_0(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_0(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(NW,"");var n=RW.test(e);return n||MW.test(e)?jW(e.slice(2),n?2:8):LW.test(e)?MA:+e}var uu=YW;function ZW(e,t){return document.createElement(e,t)}function QW(e,t,n){return document.createElementNS(e,t,n)}function eq(e){return document.createTextNode(e)}function tq(e){return document.createComment(e)}function nq(e,t,n){e.insertBefore(t,n)}function rq(e,t){e.removeChild(t)}function oq(e,t){e.appendChild(t)}function iq(e){return e.parentNode}function aq(e){return e.nextSibling}function sq(e){return e.tagName}function uq(e,t){e.textContent=t}function lq(e){return e.textContent}function cq(e){return e.nodeType===1}function fq(e){return e.nodeType===3}function dq(e){return e.nodeType===8}const pq={createElement:ZW,createElementNS:QW,createTextNode:eq,createComment:tq,insertBefore:nq,removeChild:rq,appendChild:oq,parentNode:iq,nextSibling:aq,tagName:sq,setTextContent:uq,getTextContent:lq,isElement:cq,isText:fq,isComment:dq};function fd(e,t,n,r,o){const i=t===void 0?void 0:t.key;return{sel:e,data:t,children:n,text:r,elm:o,key:i}}const i2=Array.isArray;function O0(e){return typeof e=="string"||typeof e=="number"||e instanceof String||e instanceof Number}function a2(e){return e===void 0}function Gr(e){return e!==void 0}const zA=fd("",{},[],void 0,void 0);function dd(e,t){var n,r;const o=e.key===t.key,i=((n=e.data)===null||n===void 0?void 0:n.is)===((r=t.data)===null||r===void 0?void 0:r.is);return e.sel===t.sel&&o&&i}function hq(e){return e.sel!==void 0}function gq(e,t,n){var r;const o={};for(let i=t;i<=n;++i){const a=(r=e[i])===null||r===void 0?void 0:r.key;a!==void 0&&(o[a]=i)}return o}const mq=["create","update","remove","destroy","pre","post"];function vq(e,t){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=t!==void 0?t:pq;for(const h of mq)for(const m of e){const C=m[h];C!==void 0&&n[h].push(C)}function o(h){const m=h.id?"#"+h.id:"",C=h.getAttribute("class"),$=C?"."+C.split(" ").join("."):"";return fd(r.tagName(h).toLowerCase()+m+$,{},[],void 0,h)}function i(h,m){return function(){if(--m===0){const $=r.parentNode(h);r.removeChild($,h)}}}function a(h,m){var C,$;let b,w=h.data;if(w!==void 0){const x=(C=w.hook)===null||C===void 0?void 0:C.init;Gr(x)&&(x(h),w=h.data)}const y=h.children,S=h.sel;if(S==="!")a2(h.text)&&(h.text=""),h.elm=r.createComment(h.text);else if(S!==void 0){const x=S.indexOf("#"),A=S.indexOf(".",x),O=x>0?x:S.length,T=A>0?A:S.length,z=x!==-1||A!==-1?S.slice(0,Math.min(O,T)):S,V=h.elm=Gr(w)&&Gr(b=w.ns)?r.createElementNS(b,z,w):r.createElement(z,w);for(O<T&&V.setAttribute("id",S.slice(O+1,T)),A>0&&V.setAttribute("class",S.slice(T+1).replace(/\./g," ")),b=0;b<n.create.length;++b)n.create[b](zA,h);if(i2(y))for(b=0;b<y.length;++b){const oe=y[b];oe!=null&&r.appendChild(V,a(oe,m))}else O0(h.text)&&r.appendChild(V,r.createTextNode(h.text));const ue=h.data.hook;Gr(ue)&&(($=ue.create)===null||$===void 0||$.call(ue,zA,h),ue.insert&&m.push(h))}else h.elm=r.createTextNode(h.text);return h.elm}function s(h,m,C,$,b,w){for(;$<=b;++$){const y=C[$];y!=null&&r.insertBefore(h,a(y,w),m)}}function l(h){var m,C;const $=h.data;if($!==void 0){(C=(m=$==null?void 0:$.hook)===null||m===void 0?void 0:m.destroy)===null||C===void 0||C.call(m,h);for(let b=0;b<n.destroy.length;++b)n.destroy[b](h);if(h.children!==void 0)for(let b=0;b<h.children.length;++b){const w=h.children[b];w!=null&&typeof w!="string"&&l(w)}}}function f(h,m,C,$){for(var b,w;C<=$;++C){let y,S;const x=m[C];if(x!=null)if(Gr(x.sel)){l(x),y=n.remove.length+1,S=i(x.elm,y);for(let O=0;O<n.remove.length;++O)n.remove[O](x,S);const A=(w=(b=x==null?void 0:x.data)===null||b===void 0?void 0:b.hook)===null||w===void 0?void 0:w.remove;Gr(A)?A(x,S):S()}else r.removeChild(h,x.elm)}}function d(h,m,C,$){let b=0,w=0,y=m.length-1,S=m[0],x=m[y],A=C.length-1,O=C[0],T=C[A],z,V,ue,oe;for(;b<=y&&w<=A;)S==null?S=m[++b]:x==null?x=m[--y]:O==null?O=C[++w]:T==null?T=C[--A]:dd(S,O)?(p(S,O,$),S=m[++b],O=C[++w]):dd(x,T)?(p(x,T,$),x=m[--y],T=C[--A]):dd(S,T)?(p(S,T,$),r.insertBefore(h,S.elm,r.nextSibling(x.elm)),S=m[++b],T=C[--A]):dd(x,O)?(p(x,O,$),r.insertBefore(h,x.elm,S.elm),x=m[--y],O=C[++w]):(z===void 0&&(z=gq(m,b,y)),V=z[O.key],a2(V)?r.insertBefore(h,a(O,$),S.elm):(ue=m[V],ue.sel!==O.sel?r.insertBefore(h,a(O,$),S.elm):(p(ue,O,$),m[V]=void 0,r.insertBefore(h,ue.elm,S.elm))),O=C[++w]);(b<=y||w<=A)&&(b>y?(oe=C[A+1]==null?null:C[A+1].elm,s(h,oe,C,w,A,$)):f(h,m,b,y))}function p(h,m,C){var $,b,w,y,S;const x=($=m.data)===null||$===void 0?void 0:$.hook;(b=x==null?void 0:x.prepatch)===null||b===void 0||b.call(x,h,m);const A=m.elm=h.elm,O=h.children,T=m.children;if(h!==m){if(m.data!==void 0){for(let z=0;z<n.update.length;++z)n.update[z](h,m);(y=(w=m.data.hook)===null||w===void 0?void 0:w.update)===null||y===void 0||y.call(w,h,m)}a2(m.text)?Gr(O)&&Gr(T)?O!==T&&d(A,O,T,C):Gr(T)?(Gr(h.text)&&r.setTextContent(A,""),s(A,null,T,0,T.length-1,C)):Gr(O)?f(A,O,0,O.length-1):Gr(h.text)&&r.setTextContent(A,""):h.text!==m.text&&(Gr(O)&&f(A,O,0,O.length-1),r.setTextContent(A,m.text)),(S=x==null?void 0:x.postpatch)===null||S===void 0||S.call(x,h,m)}}return function(m,C){let $,b,w;const y=[];for($=0;$<n.pre.length;++$)n.pre[$]();for(hq(m)||(m=o(m)),dd(m,C)?p(m,C,y):(b=m.elm,w=r.parentNode(b),a(C,y),w!==null&&(r.insertBefore(w,C.elm,r.nextSibling(b)),f(w,[m],0,0))),$=0;$<y.length;++$)y[$].data.hook.insert(y[$]);for($=0;$<n.post.length;++$)n.post[$]();return C}}function VA(e,t,n){if(e.ns="http://www.w3.org/2000/svg",n!=="foreignObject"&&t!==void 0)for(let r=0;r<t.length;++r){const o=t[r].data;o!==void 0&&VA(o,t[r].children,t[r].sel)}}function Xl(e,t,n){let r={},o,i,a;if(n!==void 0?(t!==null&&(r=t),i2(n)?o=n:O0(n)?i=n.toString():n&&n.sel&&(o=[n])):t!=null&&(i2(t)?o=t:O0(t)?i=t.toString():t&&t.sel?o=[t]:r=t),o!==void 0)for(a=0;a<o.length;++a)O0(o[a])&&(o[a]=fd(void 0,void 0,void 0,o[a],void 0));return e[0]==="s"&&e[1]==="v"&&e[2]==="g"&&(e.length===3||e[3]==="."||e[3]==="#")&&VA(r,o,e),fd(e,r,o,i,void 0)}const yq="http://www.w3.org/1999/xlink",bq="http://www.w3.org/XML/1998/namespace",UA=58,wq=120;function HA(e,t){let n;const r=t.elm;let o=e.data.attrs,i=t.data.attrs;if(!(!o&&!i)&&o!==i){o=o||{},i=i||{};for(n in i){const a=i[n];o[n]!==a&&(a===!0?r.setAttribute(n,""):a===!1?r.removeAttribute(n):n.charCodeAt(0)!==wq?r.setAttribute(n,a):n.charCodeAt(3)===UA?r.setAttributeNS(bq,n,a):n.charCodeAt(5)===UA?r.setAttributeNS(yq,n,a):r.setAttribute(n,a))}for(n in o)n in i||r.removeAttribute(n)}}const $q={create:HA,update:HA};function WA(e,t){let n,r;const o=t.elm;let i=e.data.class,a=t.data.class;if(!(!i&&!a)&&i!==a){i=i||{},a=a||{};for(r in i)i[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&o.classList.remove(r);for(r in a)n=a[r],n!==i[r]&&o.classList[n?"add":"remove"](r)}}const Cq={create:WA,update:WA},qA=/[A-Z]/g;function GA(e,t){const n=t.elm;let r=e.data.dataset,o=t.data.dataset,i;if(!r&&!o||r===o)return;r=r||{},o=o||{};const a=n.dataset;for(i in r)o[i]||(a?i in a&&delete a[i]:n.removeAttribute("data-"+i.replace(qA,"-$&").toLowerCase()));for(i in o)r[i]!==o[i]&&(a?a[i]=o[i]:n.setAttribute("data-"+i.replace(qA,"-$&").toLowerCase(),o[i]))}const Eq={create:GA,update:GA};function KA(e,t,n){if(typeof e=="function")e.call(t,n,t);else if(typeof e=="object")for(let r=0;r<e.length;r++)KA(e[r],t,n)}function Sq(e,t){const n=e.type,r=t.data.on;r&&r[n]&&KA(r[n],t,e)}function Dq(){return function e(t){Sq(t,e.vnode)}}function s2(e,t){const n=e.data.on,r=e.listener,o=e.elm,i=t&&t.data.on,a=t&&t.elm;let s;if(n!==i){if(n&&r)if(i)for(s in n)i[s]||o.removeEventListener(s,r,!1);else for(s in n)o.removeEventListener(s,r,!1);if(i){const l=t.listener=e.listener||Dq();if(l.vnode=t,n)for(s in i)n[s]||a.addEventListener(s,l,!1);else for(s in i)a.addEventListener(s,l,!1)}}}const xq={create:s2,update:s2,destroy:s2};function YA(e,t){let n,r,o;const i=t.elm;let a=e.data.props,s=t.data.props;if(!(!a&&!s)&&a!==s){a=a||{},s=s||{};for(n in s)r=s[n],o=a[n],o!==r&&(n!=="value"||i[n]!==r)&&(i[n]=r)}}const Aq={create:YA,update:YA},JA=typeof window<"u"&&window.requestAnimationFrame.bind(window)||setTimeout,kq=function(e){JA(function(){JA(e)})};let u2=!1;function _q(e,t,n){kq(function(){e[t]=n})}function XA(e,t){let n,r;const o=t.elm;let i=e.data.style,a=t.data.style;if(!i&&!a||i===a)return;i=i||{},a=a||{};const s="delayed"in i;for(r in i)a[r]||(r[0]==="-"&&r[1]==="-"?o.style.removeProperty(r):o.style[r]="");for(r in a)if(n=a[r],r==="delayed"&&a.delayed)for(const l in a.delayed)n=a.delayed[l],(!s||n!==i.delayed[l])&&_q(o.style,l,n);else r!=="remove"&&n!==i[r]&&(r[0]==="-"&&r[1]==="-"?o.style.setProperty(r,n):o.style[r]=n)}function Oq(e){let t,n;const r=e.elm,o=e.data.style;if(!(!o||!(t=o.destroy)))for(n in t)r.style[n]=t[n]}function Bq(e,t){const n=e.data.style;if(!n||!n.remove){t();return}u2||(e.elm.offsetLeft,u2=!0);let r;const o=e.elm;let i=0;const a=n.remove;let s=0;const l=[];for(r in a)l.push(r),o.style[r]=a[r];const d=getComputedStyle(o)["transition-property"].split(", ");for(;i<d.length;++i)l.indexOf(d[i])!==-1&&s++;o.addEventListener("transitionend",function(p){p.target===o&&--s,s===0&&t()})}function Tq(){u2=!1}const Fq={pre:Tq,create:XA,update:XA,destroy:Oq,remove:Bq};function ZA(e,t){for(const n of e)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?ZA(n,t):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?t.push(fd(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function Ke(e,t,...n){const r=ZA(n,[]);return typeof e=="function"?e(t,r):r.length===1&&!r[0].sel&&r[0].text?Xl(e,t,r[0].text):Xl(e,t,r)}(function(e){})(Ke||(Ke={}));var Pq=1/0,Iq="[object Symbol]",Nq=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Lq=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,B0="\\ud800-\\udfff",QA="\\u0300-\\u036f\\ufe20-\\ufe23",e8="\\u20d0-\\u20f0",t8="\\u2700-\\u27bf",n8="a-z\\xdf-\\xf6\\xf8-\\xff",Rq="\\xac\\xb1\\xd7\\xf7",Mq="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",jq="\\u2000-\\u206f",zq=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r8="A-Z\\xc0-\\xd6\\xd8-\\xde",o8="\\ufe0e\\ufe0f",i8=Rq+Mq+jq+zq,l2="['\u2019]",Vq="["+B0+"]",a8="["+i8+"]",T0="["+QA+e8+"]",s8="\\d+",Uq="["+t8+"]",u8="["+n8+"]",l8="[^"+B0+i8+s8+t8+n8+r8+"]",c2="\\ud83c[\\udffb-\\udfff]",Hq="(?:"+T0+"|"+c2+")",c8="[^"+B0+"]",f2="(?:\\ud83c[\\udde6-\\uddff]){2}",d2="[\\ud800-\\udbff][\\udc00-\\udfff]",Zl="["+r8+"]",f8="\\u200d",d8="(?:"+u8+"|"+l8+")",Wq="(?:"+Zl+"|"+l8+")",p8="(?:"+l2+"(?:d|ll|m|re|s|t|ve))?",h8="(?:"+l2+"(?:D|LL|M|RE|S|T|VE))?",g8=Hq+"?",m8="["+o8+"]?",qq="(?:"+f8+"(?:"+[c8,f2,d2].join("|")+")"+m8+g8+")*",v8=m8+g8+qq,Gq="(?:"+[Uq,f2,d2].join("|")+")"+v8,Kq="(?:"+[c8+T0+"?",T0,f2,d2,Vq].join("|")+")",Yq=RegExp(l2,"g"),Jq=RegExp(T0,"g"),Xq=RegExp(c2+"(?="+c2+")|"+Kq+v8,"g"),Zq=RegExp([Zl+"?"+u8+"+"+p8+"(?="+[a8,Zl,"$"].join("|")+")",Wq+"+"+h8+"(?="+[a8,Zl+d8,"$"].join("|")+")",Zl+"?"+d8+"+"+p8,Zl+"+"+h8,s8,Gq].join("|"),"g"),Qq=RegExp("["+f8+B0+QA+e8+o8+"]"),eG=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tG={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},nG=typeof tn=="object"&&tn&&tn.Object===Object&&tn,rG=typeof self=="object"&&self&&self.Object===Object&&self,oG=nG||rG||Function("return this")();function iG(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function aG(e){return e.split("")}function sG(e){return e.match(Nq)||[]}function uG(e){return function(t){return e==null?void 0:e[t]}}var lG=uG(tG);function y8(e){return Qq.test(e)}function cG(e){return eG.test(e)}function fG(e){return y8(e)?dG(e):aG(e)}function dG(e){return e.match(Xq)||[]}function pG(e){return e.match(Zq)||[]}var hG=Object.prototype,gG=hG.toString,b8=oG.Symbol,w8=b8?b8.prototype:void 0,$8=w8?w8.toString:void 0;function mG(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function vG(e){if(typeof e=="string")return e;if(CG(e))return $8?$8.call(e):"";var t=e+"";return t=="0"&&1/e==-Pq?"-0":t}function yG(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:mG(e,t,n)}function bG(e){return function(t){t=F0(t);var n=y8(t)?fG(t):void 0,r=n?n[0]:t.charAt(0),o=n?yG(n,1).join(""):t.slice(1);return r[e]()+o}}function wG(e){return function(t){return iG(AG(DG(t).replace(Yq,"")),e,"")}}function $G(e){return!!e&&typeof e=="object"}function CG(e){return typeof e=="symbol"||$G(e)&&gG.call(e)==Iq}function F0(e){return e==null?"":vG(e)}var EG=wG(function(e,t,n){return t=t.toLowerCase(),e+(n?SG(t):t)});function SG(e){return xG(F0(e).toLowerCase())}function DG(e){return e=F0(e),e&&e.replace(Lq,lG).replace(Jq,"")}var xG=bG("toUpperCase");function AG(e,t,n){return e=F0(e),t=n?void 0:t,t===void 0?cG(e)?pG(e):sG(e):e.match(t)||[]}for(var kG=EG,_G=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),p2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},C8={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:_G?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},h2={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},P0=1;P0<20;P0++)h2["f"+P0]=111+P0;function E8(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(a){return BG(a,t)}),o=function(s){return r.some(function(l){return TG(l,s)})},i=n==null?o:o(n);return i}function OG(e,t){return E8(e,{byKey:!0},t)}function BG(e,t){var n=t&&t.byKey,r={};e=e.replace("++","+add");var o=e.split("+"),i=o.length;for(var a in p2)r[p2[a]]=!1;var s=!0,l=!1,f=void 0;try{for(var d=o[Symbol.iterator](),p;!(s=(p=d.next()).done);s=!0){var h=p.value,m=h.endsWith("?")&&h.length>1;m&&(h=h.slice(0,-1));var C=S8(h),$=p2[C];if(h.length>1&&!$&&!C8[h]&&!h2[C])throw new TypeError('Unknown modifier: "'+h+'"');(i===1||!$)&&(n?r.key=C:r.which=FG(h)),$&&(r[$]=m?null:!0)}}catch(b){l=!0,f=b}finally{try{!s&&d.return&&d.return()}finally{if(l)throw f}}return r}function TG(e,t){for(var n in e){var r=e[n],o=void 0;if(r!=null&&(n==="key"&&t.key!=null?o=t.key.toLowerCase():n==="which"?o=r===91&&t.which===93?91:t.which:o=t[n],!(o==null&&r===!1)&&o!==r))return!1}return!0}function FG(e){e=S8(e);var t=h2[e]||e.toUpperCase().charCodeAt(0);return t}function S8(e){return e=e.toLowerCase(),e=C8[e]||e,e}var PG=E8,g2=OG,IG="Expected a function",D8=0/0,NG="[object Symbol]",LG=/^\s+|\s+$/g,RG=/^[-+]0x[0-9a-f]+$/i,MG=/^0b[01]+$/i,jG=/^0o[0-7]+$/i,zG=parseInt,VG=typeof tn=="object"&&tn&&tn.Object===Object&&tn,UG=typeof self=="object"&&self&&self.Object===Object&&self,HG=VG||UG||Function("return this")(),WG=Object.prototype,qG=WG.toString,GG=Math.max,KG=Math.min,m2=function(){return HG.Date.now()};function YG(e,t,n){var r,o,i,a,s,l,f=0,d=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError(IG);t=x8(t)||0,v2(n)&&(d=!!n.leading,p="maxWait"in n,i=p?GG(x8(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h);function m(O){var T=r,z=o;return r=o=void 0,f=O,a=e.apply(z,T),a}function C(O){return f=O,s=setTimeout(w,t),d?m(O):a}function $(O){var T=O-l,z=O-f,V=t-T;return p?KG(V,i-z):V}function b(O){var T=O-l,z=O-f;return l===void 0||T>=t||T<0||p&&z>=i}function w(){var O=m2();if(b(O))return y(O);s=setTimeout(w,$(O))}function y(O){return s=void 0,h&&r?m(O):(r=o=void 0,a)}function S(){s!==void 0&&clearTimeout(s),f=0,r=l=o=s=void 0}function x(){return s===void 0?a:y(m2())}function A(){var O=m2(),T=b(O);if(r=arguments,o=this,l=O,T){if(s===void 0)return C(l);if(p)return s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),a}return A.cancel=S,A.flush=x,A}function v2(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function JG(e){return!!e&&typeof e=="object"}function XG(e){return typeof e=="symbol"||JG(e)&&qG.call(e)==NG}function x8(e){if(typeof e=="number")return e;if(XG(e))return D8;if(v2(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=v2(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(LG,"");var n=MG.test(e);return n||jG.test(e)?zG(e.slice(2),n?2:8):RG.test(e)?D8:+e}var A8=YG,k8=Rb(function(e,t){var n=200,r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",h="[object Map]",m="[object Number]",C="[object Object]",$="[object Promise]",b="[object RegExp]",w="[object Set]",y="[object String]",S="[object Symbol]",x="[object WeakMap]",A="[object ArrayBuffer]",O="[object DataView]",T="[object Float32Array]",z="[object Float64Array]",V="[object Int8Array]",ue="[object Int16Array]",oe="[object Int32Array]",de="[object Uint8Array]",me="[object Uint8ClampedArray]",_e="[object Uint16Array]",Ee="[object Uint32Array]",Be=/[\\^$.*+?()[\]{}|]/g,Fe=/\w*$/,je=/^\[object .+?Constructor\]$/,Ue=/^(?:0|[1-9]\d*)$/,Oe={};Oe[i]=Oe[a]=Oe[A]=Oe[O]=Oe[s]=Oe[l]=Oe[T]=Oe[z]=Oe[V]=Oe[ue]=Oe[oe]=Oe[h]=Oe[m]=Oe[C]=Oe[b]=Oe[w]=Oe[y]=Oe[S]=Oe[de]=Oe[me]=Oe[_e]=Oe[Ee]=!0,Oe[f]=Oe[d]=Oe[x]=!1;var Je=typeof tn=="object"&&tn&&tn.Object===Object&&tn,G=typeof self=="object"&&self&&self.Object===Object&&self,H=Je||G||Function("return this")(),I=t&&!t.nodeType&&t,L=I&&!0&&e&&!e.nodeType&&e,Y=L&&L.exports===I;function q(D,P){return D.set(P[0],P[1]),D}function B(D,P){return D.add(P),D}function ce(D,P){for(var W=-1,ie=D?D.length:0;++W<ie&&P(D[W],W,D)!==!1;);return D}function ge(D,P){for(var W=-1,ie=P.length,Qe=D.length;++W<ie;)D[Qe+W]=P[W];return D}function Ae(D,P,W,ie){var Qe=-1,Me=D?D.length:0;for(ie&&Me&&(W=D[++Qe]);++Qe<Me;)W=P(W,D[Qe],Qe,D);return W}function j(D,P){for(var W=-1,ie=Array(D);++W<D;)ie[W]=P(W);return ie}function ve(D,P){return D==null?void 0:D[P]}function ae(D){var P=!1;if(D!=null&&typeof D.toString!="function")try{P=!!(D+"")}catch{}return P}function X(D){var P=-1,W=Array(D.size);return D.forEach(function(ie,Qe){W[++P]=[Qe,ie]}),W}function te(D,P){return function(W){return D(P(W))}}function pe(D){var P=-1,W=Array(D.size);return D.forEach(function(ie){W[++P]=ie}),W}var ye=Array.prototype,De=Function.prototype,Le=Object.prototype,Ve=H["__core-js_shared__"],ze=function(){var D=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),ft=De.toString,It=Le.hasOwnProperty,Ze=Le.toString,At=RegExp("^"+ft.call(It).replace(Be,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Dt=Y?H.Buffer:void 0,Bt=H.Symbol,hn=H.Uint8Array,Xt=te(Object.getPrototypeOf,Object),gn=Object.create,Ar=Le.propertyIsEnumerable,Mr=ye.splice,er=Object.getOwnPropertySymbols,cr=Dt?Dt.isBuffer:void 0,kr=te(Object.keys,Object),fr=_r(H,"DataView"),wr=_r(H,"Map"),tr=_r(H,"Promise"),oo=_r(H,"Set"),ui=_r(H,"WeakMap"),io=_r(Object,"create"),zi=dr(fr),No=dr(wr),ao=dr(tr),jr=dr(oo),li=dr(ui),Lo=Bt?Bt.prototype:void 0,Rs=Lo?Lo.valueOf:void 0;function so(D){var P=-1,W=D?D.length:0;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function vl(){this.__data__=io?io(null):{}}function Sg(D){return this.has(D)&&delete this.__data__[D]}function yl(D){var P=this.__data__;if(io){var W=P[D];return W===r?void 0:W}return It.call(P,D)?P[D]:void 0}function kf(D){var P=this.__data__;return io?P[D]!==void 0:It.call(P,D)}function bl(D,P){var W=this.__data__;return W[D]=io&&P===void 0?r:P,this}so.prototype.clear=vl,so.prototype.delete=Sg,so.prototype.get=yl,so.prototype.has=kf,so.prototype.set=bl;function qn(D){var P=-1,W=D?D.length:0;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Dg(){this.__data__=[]}function xg(D){var P=this.__data__,W=pa(P,D);if(W<0)return!1;var ie=P.length-1;return W==ie?P.pop():Mr.call(P,W,1),!0}function Ag(D){var P=this.__data__,W=pa(P,D);return W<0?void 0:P[W][1]}function kg(D){return pa(this.__data__,D)>-1}function _g(D,P){var W=this.__data__,ie=pa(W,D);return ie<0?W.push([D,P]):W[ie][1]=P,this}qn.prototype.clear=Dg,qn.prototype.delete=xg,qn.prototype.get=Ag,qn.prototype.has=kg,qn.prototype.set=_g;function Gn(D){var P=-1,W=D?D.length:0;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Og(){this.__data__={hash:new so,map:new(wr||qn),string:new so}}function Bg(D){return ci(this,D).delete(D)}function Tg(D){return ci(this,D).get(D)}function Fg(D){return ci(this,D).has(D)}function Pg(D,P){return ci(this,D).set(D,P),this}Gn.prototype.clear=Og,Gn.prototype.delete=Bg,Gn.prototype.get=Tg,Gn.prototype.has=Fg,Gn.prototype.set=Pg;function $r(D){this.__data__=new qn(D)}function Ms(){this.__data__=new qn}function Ig(D){return this.__data__.delete(D)}function js(D){return this.__data__.get(D)}function Ng(D){return this.__data__.has(D)}function Lg(D,P){var W=this.__data__;if(W instanceof qn){var ie=W.__data__;if(!wr||ie.length<n-1)return ie.push([D,P]),this;W=this.__data__=new Gn(ie)}return W.set(D,P),this}$r.prototype.clear=Ms,$r.prototype.delete=Ig,$r.prototype.get=js,$r.prototype.has=Ng,$r.prototype.set=Lg;function zs(D,P){var W=Sl(D)||Vs(D)?j(D.length,String):[],ie=W.length,Qe=!!ie;for(var Me in D)(P||It.call(D,Me))&&!(Qe&&(Me=="length"||Lf(Me,ie)))&&W.push(Me);return W}function wl(D,P,W){var ie=D[P];(!(It.call(D,P)&&El(ie,W))||W===void 0&&!(P in D))&&(D[P]=W)}function pa(D,P){for(var W=D.length;W--;)if(El(D[W][0],P))return W;return-1}function uo(D,P){return D&&ya(P,xl(P),D)}function $l(D,P,W,ie,Qe,Me,gt){var Et;if(ie&&(Et=Me?ie(D,Qe,Me,gt):ie(D)),Et!==void 0)return Et;if(!jo(D))return D;var mt=Sl(D);if(mt){if(Et=If(D),!P)return Ff(D,Et)}else{var xt=Ro(D),un=xt==d||xt==p;if(Hs(D))return ha(D,P);if(xt==C||xt==i||un&&!Me){if(ae(D))return Me?D:{};if(Et=Mo(un?{}:D),!P)return Vg(D,uo(Et,D))}else{if(!Oe[xt])return Me?D:{};Et=Nf(D,xt,$l,P)}}gt||(gt=new $r);var pr=gt.get(D);if(pr)return pr;if(gt.set(D,Et),!mt)var mn=W?Pf(D):xl(D);return ce(mn||D,function(jt,Rn){mn&&(Rn=jt,jt=D[Rn]),wl(Et,Rn,$l(jt,P,W,ie,Rn,D,gt))}),Et}function Rg(D){return jo(D)?gn(D):{}}function Mg(D,P,W){var ie=P(D);return Sl(D)?ie:ge(ie,W(D))}function jg(D){return Ze.call(D)}function _f(D){if(!jo(D)||Mf(D))return!1;var P=Dl(D)||ae(D)?At:je;return P.test(dr(D))}function Of(D){if(!jf(D))return kr(D);var P=[];for(var W in Object(D))It.call(D,W)&&W!="constructor"&&P.push(W);return P}function ha(D,P){if(P)return D.slice();var W=new D.constructor(D.length);return D.copy(W),W}function ga(D){var P=new D.constructor(D.byteLength);return new hn(P).set(new hn(D)),P}function ma(D,P){var W=P?ga(D.buffer):D.buffer;return new D.constructor(W,D.byteOffset,D.byteLength)}function Cl(D,P,W){var ie=P?W(X(D),!0):X(D);return Ae(ie,q,new D.constructor)}function va(D){var P=new D.constructor(D.source,Fe.exec(D));return P.lastIndex=D.lastIndex,P}function Bf(D,P,W){var ie=P?W(pe(D),!0):pe(D);return Ae(ie,B,new D.constructor)}function zg(D){return Rs?Object(Rs.call(D)):{}}function Tf(D,P){var W=P?ga(D.buffer):D.buffer;return new D.constructor(W,D.byteOffset,D.length)}function Ff(D,P){var W=-1,ie=D.length;for(P||(P=Array(ie));++W<ie;)P[W]=D[W];return P}function ya(D,P,W,ie){W||(W={});for(var Qe=-1,Me=P.length;++Qe<Me;){var gt=P[Qe],Et=ie?ie(W[gt],D[gt],gt,W,D):void 0;wl(W,gt,Et===void 0?D[gt]:Et)}return W}function Vg(D,P){return ya(D,Cr(D),P)}function Pf(D){return Mg(D,xl,Cr)}function ci(D,P){var W=D.__data__;return Rf(P)?W[typeof P=="string"?"string":"hash"]:W.map}function _r(D,P){var W=ve(D,P);return _f(W)?W:void 0}var Cr=er?te(er,Object):Mt,Ro=jg;(fr&&Ro(new fr(new ArrayBuffer(1)))!=O||wr&&Ro(new wr)!=h||tr&&Ro(tr.resolve())!=$||oo&&Ro(new oo)!=w||ui&&Ro(new ui)!=x)&&(Ro=function(D){var P=Ze.call(D),W=P==C?D.constructor:void 0,ie=W?dr(W):void 0;if(ie)switch(ie){case zi:return O;case No:return h;case ao:return $;case jr:return w;case li:return x}return P});function If(D){var P=D.length,W=D.constructor(P);return P&&typeof D[0]=="string"&&It.call(D,"index")&&(W.index=D.index,W.input=D.input),W}function Mo(D){return typeof D.constructor=="function"&&!jf(D)?Rg(Xt(D)):{}}function Nf(D,P,W,ie){var Qe=D.constructor;switch(P){case A:return ga(D);case s:case l:return new Qe(+D);case O:return ma(D,ie);case T:case z:case V:case ue:case oe:case de:case me:case _e:case Ee:return Tf(D,ie);case h:return Cl(D,ie,W);case m:case y:return new Qe(D);case b:return va(D);case w:return Bf(D,ie,W);case S:return zg(D)}}function Lf(D,P){return P=P==null?o:P,!!P&&(typeof D=="number"||Ue.test(D))&&D>-1&&D%1==0&&D<P}function Rf(D){var P=typeof D;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?D!=="__proto__":D===null}function Mf(D){return!!ze&&ze in D}function jf(D){var P=D&&D.constructor,W=typeof P=="function"&&P.prototype||Le;return D===W}function dr(D){if(D!=null){try{return ft.call(D)}catch{}try{return D+""}catch{}}return""}function zf(D){return $l(D,!0,!0)}function El(D,P){return D===P||D!==D&&P!==P}function Vs(D){return Ug(D)&&It.call(D,"callee")&&(!Ar.call(D,"callee")||Ze.call(D)==i)}var Sl=Array.isArray;function Us(D){return D!=null&&Vf(D.length)&&!Dl(D)}function Ug(D){return Uf(D)&&Us(D)}var Hs=cr||Nt;function Dl(D){var P=jo(D)?Ze.call(D):"";return P==d||P==p}function Vf(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=o}function jo(D){var P=typeof D;return!!D&&(P=="object"||P=="function")}function Uf(D){return!!D&&typeof D=="object"}function xl(D){return Us(D)?zs(D):Of(D)}function Mt(){return[]}function Nt(){return!1}e.exports=zf}),ZG=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},Ql;function _8(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var QG=0;function eK(e){return"__private_"+QG+++"_"+e}function tK(e,t,n){const r=[];return e.forEach(o=>typeof o!="string"?r.push(o):t[Symbol.split](o).forEach((i,a,s)=>{i!==""&&r.push(i),a<s.length-1&&r.push(n)})),r}/**
35
+ `));var p=r(e).pop();if(we.has(e,p)){var h=_.node(e,p);e.normalizeNode(h)}d++}})}},parent(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_.path(e,t,n),o=J.parent(r),i=_.node(e,o);return i},path(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:o}=n;if(J.isPath(t)){if(o==="start"){var[,i]=we.first(e,t);t=i}else if(o==="end"){var[,a]=we.last(e,t);t=a}}return re.isRange(t)&&(o==="start"?t=re.start(t):o==="end"?t=re.end(t):t=J.common(t.anchor.path,t.focus.path)),nt.isPoint(t)&&(t=t.path),r!=null&&(t=t.slice(0,r)),t},hasPath(e,t){return we.has(e,t)},pathRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:a}=o,s=_.pathRefs(e);return s.delete(o),o.current=null,a}},i=_.pathRefs(e);return i.add(o),o},pathRefs(e){var t=Ix.get(e);return t||(t=new Set,Ix.set(e,t)),t},point(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(J.isPath(t)){var o;if(r==="end"){var[,i]=we.last(e,t);o=i}else{var[,a]=we.first(e,t);o=a}var s=we.get(e,o);if(!xe.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:r==="end"?s.text.length:0}}if(re.isRange(t)){var[l,f]=re.edges(t);return r==="start"?l:f}return t},pointRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:a}=o,s=_.pointRefs(e);return s.delete(o),o.current=null,a}},i=_.pointRefs(e);return i.add(o),o},pointRefs(e){var t=Nx.get(e);return t||(t=new Set,Nx.set(e,t)),t},*positions(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(!n)return;var a=_.range(e,n),[s,l]=re.edges(a),f=o?l:s,d=!1,p="",h=0,m=0,C=0;for(var[$,b]of _.nodes(e,{at:n,reverse:o,voids:i})){if(Pe.isElement($)){if(!i&&e.isVoid($)){yield _.start(e,b);continue}if(e.isInline($))continue;if(_.hasInlines(e,$)){var w=J.isAncestor(b,l.path)?l:_.end(e,b),y=J.isAncestor(b,s.path)?s:_.start(e,b);p=_.string(e,{anchor:y,focus:w},{voids:i}),d=!0}}if(xe.isText($)){var S=J.equals(b,f.path);for(S?(m=o?f.offset:$.text.length-f.offset,C=f.offset):(m=$.text.length,C=o?m:0),(S||d||r==="offset")&&(yield{path:b,offset:C},d=!1);;){if(h===0){if(p==="")break;h=x(p,r,o),p=Lb(p,h,o)[1]}if(C=o?C-h:C+h,m=m-h,m<0){h=-m;break}h=0,yield{path:b,offset:C}}}}function x(A,O,T){return O==="character"?Nb(A,T):O==="word"?fU(A,T):O==="line"||O==="block"?A.length:1}},previous(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(!!i){var a=_.before(e,i,{voids:r});if(!!a){var[,s]=_.first(e,[]),l=[a.path,s];if(J.isPath(i)&&i.length===0)throw new Error("Cannot get the previous node from the root node!");if(o==null)if(J.isPath(i)){var[f]=_.parent(e,i);o=p=>f.children.includes(p)}else o=()=>!0;var[d]=_.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return d}}},range(e,t,n){if(re.isRange(t)&&!n)return t;var r=_.start(e,t),o=_.end(e,n||t);return{anchor:r,focus:o}},rangeRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:a}=o,s=_.rangeRefs(e);return s.delete(o),o.current=null,a}},i=_.rangeRefs(e);return i.add(o),o},rangeRefs(e){var t=Lx.get(e);return t||(t=new Set,Lx.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){Px.set(e,t)},start(e,t){return _.point(e,t,{edge:"start"})},string(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,o=_.range(e,t),[i,a]=re.edges(o),s="";for(var[l,f]of _.nodes(e,{at:o,match:xe.isText,voids:r})){var d=l.text;J.equals(f,a.path)&&(d=d.slice(0,a.offset)),J.equals(f,i.path)&&(d=d.slice(i.offset)),s+=d}return s},unhangRange(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,[o,i]=re.edges(t);if(o.offset!==0||i.offset!==0||re.isCollapsed(t))return t;var a=_.above(e,{at:i,match:m=>_.isBlock(e,m)}),s=a?a[1]:[],l=_.start(e,[]),f={anchor:l,focus:i},d=!0;for(var[p,h]of _.nodes(e,{at:f,match:xe.isText,reverse:!0,voids:r})){if(d){d=!1;continue}if(p.text!==""||J.isBefore(h,s)){i={path:h,offset:p.text.length};break}}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return _.above(e,Ml(Ml({},t),{},{match:n=>_.isVoid(e,n)}))},withoutNormalizing(e,t){var n=_.isNormalizing(e);_.setNormalizing(e,!1);try{t()}finally{_.setNormalizing(e,n)}_.normalize(e)}},FU={isLocation(e){return J.isPath(e)||nt.isPoint(e)||re.isRange(e)}},PU={isSpan(e){return Array.isArray(e)&&e.length===2&&e.every(J.isPath)}},IU=["children"],NU=["text"],Ux=new WeakMap,we={ancestor(e,t){var n=we.get(e,t);if(xe.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of J.ancestors(t,n)){var o=we.ancestor(e,r),i=[o,r];yield i}},child(e,t){if(xe.isText(e))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(n==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:r=!1}=n,o=we.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var s=we.child(o,a),l=t.concat(a);yield[s,l],a=r?a-1:a+1}},common(e,t,n){var r=J.common(t,n),o=we.get(e,r);return[o,r]},descendant(e,t){var n=we.get(e,t);if(_.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of we.nodes(e,t))r.length!==0&&(yield[n,r])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of we.nodes(e,t))Pe.isElement(n)&&(yield[n,r])},extractProps(e){if(Pe.isAncestor(e)){var t=Ki(e,IU);return t}else{var t=Ki(e,NU);return t}},first(e,t){for(var n=t.slice(),r=we.get(e,n);r&&!(xe.isText(r)||r.children.length===0);)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(xe.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));var n=f0({children:e.children},r=>{var[o,i]=re.edges(t),a=we.nodes(r,{reverse:!0,pass:h=>{var[,m]=h;return!re.includes(t,m)}});for(var[,s]of a){if(!re.includes(t,s)){var l=we.parent(r,s),f=s[s.length-1];l.children.splice(f,1)}if(J.equals(s,i.path)){var d=we.leaf(r,s);d.text=d.text.slice(0,i.offset)}if(J.equals(s,o.path)){var p=we.leaf(r,s);p.text=p.text.slice(o.offset)}}_.isEditor(r)&&(r.selection=null)});return n.children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(xe.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(xe.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode(e){return xe.isText(e)||Pe.isElement(e)||_.isEditor(e)},isNodeList(e){if(!Array.isArray(e))return!1;var t=Ux.get(e);if(t!==void 0)return t;var n=e.every(r=>we.isNode(r));return Ux.set(e,n),n},last(e,t){for(var n=t.slice(),r=we.get(e,n);r&&!(xe.isText(r)||r.children.length===0);){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=we.get(e,t);if(!xe.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of J.levels(t,n)){var o=we.get(e,r);yield[o,r]}},matches(e,t){return Pe.isElement(e)&&Pe.isElementProps(t)&&Pe.matches(e,t)||xe.isText(e)&&xe.isTextProps(t)&&xe.matches(e,t)},*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!(i&&(r?J.isBefore(s,i):J.isAfter(s,i)));){if(a.has(l)||(yield[l,s]),!a.has(l)&&!xe.isText(l)&&l.children.length!==0&&(n==null||n([l,s])===!1)){a.add(l);var f=r?l.children.length-1:0;J.isAncestor(s,o)&&(f=o[s.length]),s=s.concat(f),l=we.get(e,s);continue}if(s.length===0)break;if(!r){var d=J.next(s);if(we.has(e,d)){s=d,l=we.get(e,s);continue}}if(r&&s[s.length-1]!==0){var p=J.previous(s);s=p,l=we.get(e,s);continue}s=J.parent(s),l=we.get(e,s),a.add(l)}},parent(e,t){var n=J.parent(t),r=we.get(e,n);if(xe.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string(e){return xe.isText(e)?e.text:e.children.map(we.string).join("")},*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of we.nodes(e,t))xe.isText(n)&&(yield[n,r])}};function Hx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ka={isNodeOperation(e){return ka.isOperation(e)&&e.type.endsWith("_node")},isOperation(e){if(!gr(e))return!1;switch(e.type){case"insert_node":return J.isPath(e.path)&&we.isNode(e.node);case"insert_text":return typeof e.offset=="number"&&typeof e.text=="string"&&J.isPath(e.path);case"merge_node":return typeof e.position=="number"&&J.isPath(e.path)&&gr(e.properties);case"move_node":return J.isPath(e.path)&&J.isPath(e.newPath);case"remove_node":return J.isPath(e.path)&&we.isNode(e.node);case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&J.isPath(e.path);case"set_node":return J.isPath(e.path)&&gr(e.properties)&&gr(e.newProperties);case"set_selection":return e.properties===null&&re.isRange(e.newProperties)||e.newProperties===null&&re.isRange(e.properties)||gr(e.properties)&&gr(e.newProperties);case"split_node":return J.isPath(e.path)&&typeof e.position=="number"&&gr(e.properties);default:return!1}},isOperationList(e){return Array.isArray(e)&&e.every(t=>ka.isOperation(t))},isSelectionOperation(e){return ka.isOperation(e)&&e.type.endsWith("_selection")},isTextOperation(e){return ka.isOperation(e)&&e.type.endsWith("_text")},inverse(e){switch(e.type){case"insert_node":return en(en({},e),{},{type:"remove_node"});case"insert_text":return en(en({},e),{},{type:"remove_text"});case"merge_node":return en(en({},e),{},{type:"split_node",path:J.previous(e.path)});case"move_node":{var{newPath:t,path:n}=e;if(J.equals(t,n))return e;if(J.isSibling(n,t))return en(en({},e),{},{path:t,newPath:n});var r=J.transform(n,e),o=J.transform(J.next(n),e);return en(en({},e),{},{path:r,newPath:o})}case"remove_node":return en(en({},e),{},{type:"insert_node"});case"remove_text":return en(en({},e),{},{type:"insert_text"});case"set_node":{var{properties:i,newProperties:a}=e;return en(en({},e),{},{properties:a,newProperties:i})}case"set_selection":{var{properties:s,newProperties:l}=e;return s==null?en(en({},e),{},{properties:l,newProperties:null}):l==null?en(en({},e),{},{properties:null,newProperties:s}):en(en({},e),{},{properties:l,newProperties:s})}case"split_node":return en(en({},e),{},{type:"merge_node",path:J.next(e.path)})}}},J={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=J.levels(e,t);return n?r=r.slice(1):r=r.slice(0,-1),r},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r],i=t[r];if(o!==i)break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return J.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return J.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return J.equals(r,o)&&i<a},equals(e,t){return e.length===t.length&&e.every((n,r)=>n===t[r])},hasPrevious(e){return e[e.length-1]>0},isAfter(e,t){return J.compare(e,t)===1},isAncestor(e,t){return e.length<t.length&&J.compare(e,t)===0},isBefore(e,t){return J.compare(e,t)===-1},isChild(e,t){return e.length===t.length+1&&J.compare(e,t)===0},isCommon(e,t){return e.length<=t.length&&J.compare(e,t)===0},isDescendant(e,t){return e.length>t.length&&J.compare(e,t)===0},isParent(e,t){return e.length+1===t.length&&J.compare(e,t)===0},isPath(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="number")},isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1),o=e[e.length-1],i=t[t.length-1];return o!==i&&J.equals(n,r)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!J.isAncestor(t,e)&&!J.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return f0(e,r=>{var{affinity:o="forward"}=n;if(!(!e||(e==null?void 0:e.length)===0)){if(r===null)return null;switch(t.type){case"insert_node":{var{path:i}=t;(J.equals(i,r)||J.endsBefore(i,r)||J.isAncestor(i,r))&&(r[i.length-1]+=1);break}case"remove_node":{var{path:a}=t;if(J.equals(a,r)||J.isAncestor(a,r))return null;J.endsBefore(a,r)&&(r[a.length-1]-=1);break}case"merge_node":{var{path:s,position:l}=t;J.equals(s,r)||J.endsBefore(s,r)?r[s.length-1]-=1:J.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break}case"split_node":{var{path:f,position:d}=t;if(J.equals(f,r)){if(o==="forward")r[r.length-1]+=1;else if(o!=="backward")return null}else J.endsBefore(f,r)?r[f.length-1]+=1:J.isAncestor(f,r)&&e[f.length]>=d&&(r[f.length-1]+=1,r[f.length]-=d);break}case"move_node":{var{path:p,newPath:h}=t;if(J.equals(p,h))return;if(J.isAncestor(p,r)||J.equals(p,r)){var m=h.slice();return J.endsBefore(p,h)&&p.length<h.length&&(m[p.length-1]-=1),m.concat(r.slice(p.length))}else J.isSibling(p,h)&&(J.isAncestor(h,r)||J.equals(h,r))?J.endsBefore(p,r)?r[p.length-1]-=1:r[p.length-1]+=1:J.endsBefore(h,r)||J.equals(h,r)||J.isAncestor(h,r)?(J.endsBefore(p,r)&&(r[p.length-1]-=1),r[h.length-1]+=1):J.endsBefore(p,r)&&(J.equals(h,r)&&(r[h.length-1]+=1),r[p.length-1]-=1);break}}}})}},LU={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=J.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}};function Wx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function qx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Wx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var nt={compare(e,t){var n=J.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter(e,t){return nt.compare(e,t)===1},isBefore(e,t){return nt.compare(e,t)===-1},equals(e,t){return e.offset===t.offset&&J.equals(e.path,t.path)},isPoint(e){return gr(e)&&typeof e.offset=="number"&&J.isPath(e.path)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return f0(e,r=>{if(r===null)return null;var{affinity:o="forward"}=n,{path:i,offset:a}=r;switch(t.type){case"insert_node":case"move_node":{r.path=J.transform(i,t,n);break}case"insert_text":{J.equals(t.path,i)&&t.offset<=a&&(r.offset+=t.text.length);break}case"merge_node":{J.equals(t.path,i)&&(r.offset+=t.position),r.path=J.transform(i,t,n);break}case"remove_text":{J.equals(t.path,i)&&t.offset<=a&&(r.offset-=Math.min(a-t.offset,t.text.length));break}case"remove_node":{if(J.equals(t.path,i)||J.isAncestor(t.path,i))return null;r.path=J.transform(i,t,n);break}case"split_node":{if(J.equals(t.path,i)){if(t.position===a&&o==null)return null;(t.position<a||t.position===a&&o==="forward")&&(r.offset-=t.position,r.path=J.transform(i,t,qx(qx({},n),{},{affinity:"forward"})))}else r.path=J.transform(i,t,n);break}}})}},RU={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=nt.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},MU=["anchor","focus"];function Gx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function jU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var re={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return re.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=re.edges(e);return t},equals(e,t){return nt.equals(e.anchor,t.anchor)&&nt.equals(e.focus,t.focus)},includes(e,t){if(re.isRange(t)){if(re.includes(e,t.anchor)||re.includes(e,t.focus))return!0;var[n,r]=re.edges(e),[o,i]=re.edges(t);return nt.isBefore(n,o)&&nt.isAfter(r,i)}var[a,s]=re.edges(e),l=!1,f=!1;return nt.isPoint(t)?(l=nt.compare(t,a)>=0,f=nt.compare(t,s)<=0):(l=J.compare(t,a.path)>=0,f=J.compare(t,s.path)<=0),l&&f},intersection(e,t){var n=Ki(e,MU),[r,o]=re.edges(e),[i,a]=re.edges(t),s=nt.isBefore(r,i)?i:r,l=nt.isBefore(o,a)?o:a;return nt.isBefore(l,s)?null:jU({anchor:s,focus:l},n)},isBackward(e){var{anchor:t,focus:n}=e;return nt.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return nt.equals(t,n)},isExpanded(e){return!re.isCollapsed(e)},isForward(e){return!re.isBackward(e)},isRange(e){return gr(e)&&nt.isPoint(e.anchor)&&nt.isPoint(e.focus)},*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=re.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return f0(e,r=>{if(r===null)return null;var{affinity:o="inward"}=n,i,a;if(o==="inward"){var s=re.isCollapsed(r);re.isForward(r)?(i="forward",a=s?i:"backward"):(i="backward",a=s?i:"forward")}else o==="outward"?re.isForward(r)?(i="backward",a="forward"):(i="forward",a="backward"):(i=o,a=o);var l=nt.transform(r.anchor,t,{affinity:i}),f=nt.transform(r.focus,t,{affinity:a});if(!l||!f)return null;r.anchor=l,r.focus=f})}},zU={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=re.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},Kx=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(gr(r)&&gr(o)){if(!Kx(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1}else if(r!==o)return!1}for(var a in t)if(e[a]===void 0&&t[a]!==void 0)return!1;return!0},VU=["text"],UU=["anchor","focus"];function Yx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Yi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Yx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var xe={equals(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function o(i){var a=Ki(i,VU);return a}return Kx(r?o(e):e,r?o(t):t)},isText(e){return gr(e)&&typeof e.text=="string"},isTextList(e){return Array.isArray(e)&&e.every(t=>xe.isText(t))},isTextProps(e){return e.text!==void 0},matches(e,t){for(var n in t)if(n!=="text"&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Yi({},e)];for(var r of t){var o=Ki(r,UU),[i,a]=re.edges(r),s=[],l=0;for(var f of n){var{length:d}=f.text,p=l;if(l+=d,i.offset<=p&&a.offset>=l){Object.assign(f,o),s.push(f);continue}if(i.offset!==a.offset&&(i.offset===l||a.offset===p)||i.offset>l||a.offset<p||a.offset===p&&p!==0){s.push(f);continue}var h=f,m=void 0,C=void 0;if(a.offset<l){var $=a.offset-p;C=Yi(Yi({},h),{},{text:h.text.slice($)}),h=Yi(Yi({},h),{},{text:h.text.slice(0,$)})}if(i.offset>p){var b=i.offset-p;m=Yi(Yi({},h),{},{text:h.text.slice(0,b)}),h=Yi(Yi({},h),{},{text:h.text.slice(b)})}Object.assign(h,o),m&&s.push(m),s.push(h),C&&s.push(C)}n=s}return n}};function Jx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function sd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Jx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var HU=(e,t,n)=>{switch(n.type){case"insert_node":{var{path:r,node:o}=n,i=we.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[s,l]of re.points(t))t[l]=nt.transform(s,n);break}case"insert_text":{var{path:f,offset:d,text:p}=n;if(p.length===0)break;var h=we.leaf(e,f),m=h.text.slice(0,d),C=h.text.slice(d);if(h.text=m+p+C,t)for(var[$,b]of re.points(t))t[b]=nt.transform($,n);break}case"merge_node":{var{path:w}=n,y=we.get(e,w),S=J.previous(w),x=we.get(e,S),A=we.parent(e,w),O=w[w.length-1];if(xe.isText(y)&&xe.isText(x))x.text+=y.text;else if(!xe.isText(y)&&!xe.isText(x))x.children.push(...y.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(w,"] to nodes of different interfaces: ").concat(y," ").concat(x));if(A.children.splice(O,1),t)for(var[T,z]of re.points(t))t[z]=nt.transform(T,n);break}case"move_node":{var{path:V,newPath:ue}=n;if(J.isAncestor(V,ue))throw new Error("Cannot move a path [".concat(V,"] to new path [").concat(ue,"] because the destination is inside itself."));var oe=we.get(e,V),de=we.parent(e,V),me=V[V.length-1];de.children.splice(me,1);var _e=J.transform(V,n),Ee=we.get(e,J.parent(_e)),Be=_e[_e.length-1];if(Ee.children.splice(Be,0,oe),t)for(var[Fe,je]of re.points(t))t[je]=nt.transform(Fe,n);break}case"remove_node":{var{path:Ue}=n,Oe=Ue[Ue.length-1],Je=we.parent(e,Ue);if(Je.children.splice(Oe,1),t)for(var[G,H]of re.points(t)){var I=nt.transform(G,n);if(t!=null&&I!=null)t[H]=I;else{var L=void 0,Y=void 0;for(var[q,B]of we.texts(e))if(J.compare(B,Ue)===-1)L=[q,B];else{Y=[q,B];break}var ce=!1;L&&Y&&(J.equals(Y[1],Ue)?ce=!J.hasPrevious(Y[1]):ce=J.common(L[1],Ue).length<J.common(Y[1],Ue).length),L&&!ce?(G.path=L[1],G.offset=L[0].text.length):Y?(G.path=Y[1],G.offset=0):t=null}}break}case"remove_text":{var{path:ge,offset:Ae,text:j}=n;if(j.length===0)break;var ve=we.leaf(e,ge),ae=ve.text.slice(0,Ae),X=ve.text.slice(Ae+j.length);if(ve.text=ae+X,t)for(var[te,pe]of re.points(t))t[pe]=nt.transform(te,n);break}case"set_node":{var{path:ye,properties:De,newProperties:Le}=n;if(ye.length===0)throw new Error("Cannot set properties on the root node!");var Ve=we.get(e,ye);for(var ze in Le){if(ze==="children"||ze==="text")throw new Error('Cannot set the "'.concat(ze,'" property of nodes!'));var ft=Le[ze];ft==null?delete Ve[ze]:Ve[ze]=ft}for(var It in De)Le.hasOwnProperty(It)||delete Ve[It];break}case"set_selection":{var{newProperties:Ze}=n;if(Ze==null)t=Ze;else{if(t==null){if(!re.isRange(Ze))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(Ze)," when there is no current selection."));t=sd({},Ze)}for(var At in Ze){var Dt=Ze[At];if(Dt==null){if(At==="anchor"||At==="focus")throw new Error('Cannot remove the "'.concat(At,'" selection property'));delete t[At]}else t[At]=Dt}}break}case"split_node":{var{path:Bt,position:hn,properties:Xt}=n;if(Bt.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Bt,"] because the root node cannot be split."));var gn=we.get(e,Bt),Ar=we.parent(e,Bt),Mr=Bt[Bt.length-1],er;if(xe.isText(gn)){var cr=gn.text.slice(0,hn),kr=gn.text.slice(hn);gn.text=cr,er=sd(sd({},Xt),{},{text:kr})}else{var fr=gn.children.slice(0,hn),wr=gn.children.slice(hn);gn.children=fr,er=sd(sd({},Xt),{},{children:wr})}if(Ar.children.splice(Mr+1,0,er),t)for(var[tr,io]of re.points(t))t[io]=nt.transform(tr,n);break}}return t},WU={transform(e,t){e.children=Tx(e.children);var n=e.selection&&Tx(e.selection);try{n=HU(e,n,t)}finally{e.children=Fx(e.children),n?e.selection=tu(n)?Fx(n):n:e.selection=null}}},qU=["text"],GU=["children"];function Xx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Zx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xx(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xx(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var KU={insertNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:s,select:l}=n;if(we.isNode(t)&&(t=[t]),t.length!==0){var[f]=t;if(a||(e.selection?a=e.selection:e.children.length>0?a=_.end(e,[]):a=[0],l=!0),l==null&&(l=!1),re.isRange(a))if(r||(a=_.unhangRange(e,a)),re.isCollapsed(a))a=a.anchor;else{var[,d]=re.edges(a),p=_.pointRef(e,d);ee.delete(e,{at:a}),a=p.unref()}if(nt.isPoint(a)){s==null&&(xe.isText(f)?s=O=>xe.isText(O):e.isInline(f)?s=O=>xe.isText(O)||_.isInline(e,O):s=O=>_.isBlock(e,O));var[h]=_.nodes(e,{at:a.path,match:s,mode:i,voids:o});if(h){var[,m]=h,C=_.pathRef(e,m),$=_.isEnd(e,a,m);ee.splitNodes(e,{at:a,match:s,mode:i,voids:o});var b=C.unref();a=$?J.next(b):b}else return}var w=J.parent(a),y=a[a.length-1];if(!(!o&&_.void(e,{at:w}))){for(var S of t){var x=w.concat(y);y++,e.apply({type:"insert_node",path:x,node:S}),a=J.next(a)}if(a=J.previous(a),l){var A=_.end(e,a);A&&ee.select(e,A)}}}})},liftNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(i==null&&(i=J.isPath(n)?jl(e,n):S=>_.isBlock(e,S)),!!n){var a=_.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,S=>{var[,x]=S;return _.pathRef(e,x)});for(var l of s){var f=l.unref();if(f.length<2)throw new Error("Cannot lift node at a path [".concat(f,"] because it has a depth of less than `2`."));var d=_.node(e,J.parent(f)),[p,h]=d,m=f[f.length-1],{length:C}=p.children;if(C===1){var $=J.next(h);ee.moveNodes(e,{at:f,to:$,voids:o}),ee.removeNodes(e,{at:h,voids:o})}else if(m===0)ee.moveNodes(e,{at:f,to:h,voids:o});else if(m===C-1){var b=J.next(h);ee.moveNodes(e,{at:f,to:b,voids:o})}else{var w=J.next(f),y=J.next(h);ee.splitNodes(e,{at:w,voids:o}),ee.moveNodes(e,{at:f,to:y,voids:o})}}}})},mergeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(!!r){if(n==null)if(J.isPath(r)){var[s]=_.parent(e,r);n=V=>s.children.includes(V)}else n=V=>_.isBlock(e,V);if(!o&&re.isRange(r)&&(r=_.unhangRange(e,r)),re.isRange(r))if(re.isCollapsed(r))r=r.anchor;else{var[,l]=re.edges(r),f=_.pointRef(e,l);ee.delete(e,{at:r}),r=f.unref(),t.at==null&&ee.select(e,r)}var[d]=_.nodes(e,{at:r,match:n,voids:i,mode:a}),p=_.previous(e,{at:r,match:n,voids:i,mode:a});if(!(!d||!p)){var[h,m]=d,[C,$]=p;if(!(m.length===0||$.length===0)){var b=J.next($),w=J.common(m,$),y=J.isSibling(m,$),S=Array.from(_.levels(e,{at:m}),V=>{var[ue]=V;return ue}).slice(w.length).slice(0,-1),x=_.above(e,{at:m,mode:"highest",match:V=>S.includes(V)&&Qx(e,V)}),A=x&&_.pathRef(e,x[1]),O,T;if(xe.isText(h)&&xe.isText(C)){var z=Ki(h,qU);T=C.text.length,O=z}else if(Pe.isElement(h)&&Pe.isElement(C)){var z=Ki(h,GU);T=C.children.length,O=z}else throw new Error("Cannot merge the node at path [".concat(m,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(h)," ").concat(JSON.stringify(C)));y||ee.moveNodes(e,{at:m,to:b,voids:i}),A&&ee.removeNodes(e,{at:A.current,voids:i}),Pe.isElement(C)&&_.isEmpty(e,C)||xe.isText(C)&&C.text===""&&$[$.length-1]!==0?ee.removeNodes(e,{at:$,voids:i}):e.apply({type:"merge_node",path:b,position:T,properties:O}),A&&A.unref()}}}})},moveNodes(e,t){_.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(!!r){a==null&&(a=J.isPath(r)?jl(e,r):m=>_.isBlock(e,m));var s=_.pathRef(e,n),l=_.nodes(e,{at:r,match:a,mode:o,voids:i}),f=Array.from(l,m=>{var[,C]=m;return _.pathRef(e,C)});for(var d of f){var p=d.unref(),h=s.current;p.length!==0&&e.apply({type:"move_node",path:p,newPath:h}),s.current&&J.isSibling(h,p)&&J.isAfter(h,p)&&(s.current=J.next(s.current))}s.unref()}})},removeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(!!i){a==null&&(a=J.isPath(i)?jl(e,i):h=>_.isBlock(e,h)),!n&&re.isRange(i)&&(i=_.unhangRange(e,i));var s=_.nodes(e,{at:i,match:a,mode:o,voids:r}),l=Array.from(s,h=>{var[,m]=h;return _.pathRef(e,m)});for(var f of l){var d=f.unref();if(d){var[p]=_.node(e,d);e.apply({type:"remove_node",path:d,node:p})}}}})},setNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:s=!1,voids:l=!1}=n;if(!!o){if(r==null&&(r=J.isPath(o)?jl(e,o):A=>_.isBlock(e,A)),!i&&re.isRange(o)&&(o=_.unhangRange(e,o)),s&&re.isRange(o)){if(re.isCollapsed(o)&&_.leaf(e,o.anchor)[0].text.length>0)return;var f=_.rangeRef(e,o,{affinity:"inward"}),[d,p]=re.edges(o),h=a==="lowest"?"lowest":"highest",m=_.isEnd(e,p,p.path);ee.splitNodes(e,{at:p,match:r,mode:h,voids:l,always:!m});var C=_.isStart(e,d,d.path);ee.splitNodes(e,{at:d,match:r,mode:h,voids:l,always:!C}),o=f.unref(),n.at==null&&ee.select(e,o)}for(var[$,b]of _.nodes(e,{at:o,match:r,mode:a,voids:l})){var w={},y={};if(b.length!==0){var S=!1;for(var x in t)x==="children"||x==="text"||t[x]!==$[x]&&(S=!0,$.hasOwnProperty(x)&&(w[x]=$[x]),t[x]!=null&&(y[x]=t[x]));S&&e.apply({type:"set_node",path:b,properties:w,newProperties:y})}}}})},splitNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(o==null&&(o=Fe=>_.isBlock(e,Fe)),re.isRange(i)&&(i=YU(e,i)),J.isPath(i)){var l=i,f=_.point(e,l),[d]=_.parent(e,l);o=Fe=>Fe===d,a=f.path.length-l.length+1,i=f,s=!0}if(!!i){var p=_.pointRef(e,i,{affinity:"backward"}),[h]=_.nodes(e,{at:i,match:o,mode:n,voids:r});if(!!h){var m=_.void(e,{at:i,mode:"highest"}),C=0;if(!r&&m){var[$,b]=m;if(Pe.isElement($)&&e.isInline($)){var w=_.after(e,b);if(!w){var y={text:""},S=J.next(b);ee.insertNodes(e,y,{at:S,voids:r}),w=_.point(e,S)}i=w,s=!0}var x=i.path.length-b.length;a=x+1,s=!0}var A=_.pointRef(e,i),O=i.path.length-a,[,T]=h,z=i.path.slice(0,O),V=a===0?i.offset:i.path[O]+C;for(var[ue,oe]of _.levels(e,{at:z,reverse:!0,voids:r})){var de=!1;if(oe.length<T.length||oe.length===0||!r&&_.isVoid(e,ue))break;var me=p.current,_e=_.isEnd(e,me,oe);if(s||!p||!_.isEdge(e,me,oe)){de=!0;var Ee=we.extractProps(ue);e.apply({type:"split_node",path:oe,position:V,properties:Ee})}V=oe[oe.length-1]+(de||_e?1:0)}if(t.at==null){var Be=A.current||_.end(e,[]);ee.select(e,Be)}p.unref(),A.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;ee.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(!!i){a==null&&(a=J.isPath(i)?jl(e,i):h=>_.isBlock(e,h)),J.isPath(i)&&(i=_.range(e,i));var s=re.isRange(i)?_.rangeRef(e,i):null,l=_.nodes(e,{at:i,match:a,mode:n,voids:o}),f=Array.from(l,h=>{var[,m]=h;return _.pathRef(e,m)}).reverse(),d=function(m){var C=m.unref(),[$]=_.node(e,C),b=_.range(e,C);r&&s&&(b=re.intersection(s.current,b)),ee.liftNodes(e,{at:b,match:w=>Pe.isAncestor($)&&$.children.includes(w),voids:o})};for(var p of f)d(p);s&&s.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(!!s){if(a==null&&(J.isPath(s)?a=jl(e,s):e.isInline(t)?a=b=>_.isInline(e,b)||xe.isText(b):a=b=>_.isBlock(e,b)),o&&re.isRange(s)){var[l,f]=re.edges(s),d=_.rangeRef(e,s,{affinity:"inward"});ee.splitNodes(e,{at:f,match:a,voids:i}),ee.splitNodes(e,{at:l,match:a,voids:i}),s=d.unref(),n.at==null&&ee.select(e,s)}var p=Array.from(_.nodes(e,{at:s,match:e.isInline(t)?b=>_.isBlock(e,b):b=>_.isEditor(b),mode:"lowest",voids:i}));for(var[,h]of p){var m=re.isRange(s)?re.intersection(s,_.range(e,h)):s;if(!!m){var C=Array.from(_.nodes(e,{at:m,match:a,mode:r,voids:i}));if(C.length>0){var $=function(){var[b]=C,w=C[C.length-1],[,y]=b,[,S]=w;if(y.length===0&&S.length===0)return"continue";var x=J.equals(y,S)?J.parent(y):J.common(y,S),A=_.range(e,y,S),O=_.node(e,x),[T]=O,z=x.length+1,V=J.next(S.slice(0,z)),ue=Zx(Zx({},t),{},{children:[]});ee.insertNodes(e,ue,{at:V,voids:i}),ee.moveNodes(e,{at:A,match:oe=>Pe.isAncestor(T)&&T.children.includes(oe),to:V.concat(0),voids:i})}();if($==="continue")continue}}}}})}},Qx=(e,t)=>{if(Pe.isElement(t)){var n=t;return _.isVoid(e,t)?!0:n.children.length===1?Qx(e,n.children[0]):!1}else return!_.isEditor(t)},YU=(e,t)=>{if(re.isCollapsed(t))return t.anchor;var[,n]=re.edges(t),r=_.pointRef(e,n);return ee.delete(e,{at:t}),r.unref()},jl=(e,t)=>{var[n]=_.node(e,t);return r=>r===n};function eA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function tA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?eA(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var JU={collapse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if(n==="anchor")ee.select(e,r.anchor);else if(n==="focus")ee.select(e,r.focus);else if(n==="start"){var[o]=re.edges(r);ee.select(e,o)}else if(n==="end"){var[,i]=re.edges(r);ee.select(e,i)}}else return},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(!!n){a==="start"&&(a=re.isBackward(n)?"focus":"anchor"),a==="end"&&(a=re.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,f={distance:r,unit:o},d={};if(a==null||a==="anchor"){var p=i?_.before(e,s,f):_.after(e,s,f);p&&(d.anchor=p)}if(a==null||a==="focus"){var h=i?_.before(e,l,f):_.after(e,l,f);h&&(d.focus=h)}ee.setSelection(e,d)}},select(e,t){var{selection:n}=e;if(t=_.range(e,t),n){ee.setSelection(e,t);return}if(!re.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})},setPoint(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(!!r){o==="start"&&(o=re.isBackward(r)?"focus":"anchor"),o==="end"&&(o=re.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s=o==="anchor"?i:a;ee.setSelection(e,{[o==="anchor"?"anchor":"focus"]:tA(tA({},s),t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(!!n){for(var i in t)(i==="anchor"&&t.anchor!=null&&!nt.equals(t.anchor,n.anchor)||i==="focus"&&t.focus!=null&&!nt.equals(t.focus,n.focus)||i!=="anchor"&&i!=="focus"&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}},XU={delete(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};_.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:s=!1}=t;if(!!a){if(re.isRange(a)&&re.isCollapsed(a)&&(a=a.anchor),nt.isPoint(a)){var l=_.void(e,{at:a,mode:"highest"});if(!i&&l){var[,f]=l;a=f}else{var d={unit:r,distance:o},p=n?_.before(e,a,d)||_.start(e,[]):_.after(e,a,d)||_.end(e,[]);a={anchor:a,focus:p},s=!0}}if(J.isPath(a)){ee.removeNodes(e,{at:a,voids:i});return}if(!re.isCollapsed(a)){if(!s){var[,h]=re.edges(a),m=_.end(e,[]);nt.equals(h,m)||(a=_.unhangRange(e,a,{voids:i}))}var[C,$]=re.edges(a),b=_.above(e,{match:ce=>_.isBlock(e,ce),at:C,voids:i}),w=_.above(e,{match:ce=>_.isBlock(e,ce),at:$,voids:i}),y=b&&w&&!J.equals(b[1],w[1]),S=J.equals(C.path,$.path),x=i?null:_.void(e,{at:C,mode:"highest"}),A=i?null:_.void(e,{at:$,mode:"highest"});if(x){var O=_.before(e,C);O&&b&&J.isAncestor(b[1],O.path)&&(C=O)}if(A){var T=_.after(e,$);T&&w&&J.isAncestor(w[1],T.path)&&($=T)}var z=[],V;for(var ue of _.nodes(e,{at:a,voids:i})){var[oe,de]=ue;V&&J.compare(de,V)===0||(!i&&_.isVoid(e,oe)||!J.isCommon(de,C.path)&&!J.isCommon(de,$.path))&&(z.push(ue),V=de)}var me=Array.from(z,ce=>{var[,ge]=ce;return _.pathRef(e,ge)}),_e=_.pointRef(e,C),Ee=_.pointRef(e,$);if(!S&&!x){var Be=_e.current,[Fe]=_.leaf(e,Be),{path:je}=Be,{offset:Ue}=C,Oe=Fe.text.slice(Ue);Oe.length>0&&e.apply({type:"remove_text",path:je,offset:Ue,text:Oe})}for(var Je of me){var G=Je.unref();ee.removeNodes(e,{at:G,voids:i})}if(!A){var H=Ee.current,[I]=_.leaf(e,H),{path:L}=H,Y=S?C.offset:0,q=I.text.slice(Y,$.offset);q.length>0&&e.apply({type:"remove_text",path:L,offset:Y,text:q})}!S&&y&&Ee.current&&_e.current&&ee.mergeNodes(e,{at:Ee.current,hanging:!0,voids:i});var B=n?_e.unref()||Ee.unref():Ee.unref()||_e.unref();t.at==null&&B&&ee.select(e,B)}}})},insertFragment(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(!!t.length){if(i)if(re.isRange(i))if(r||(i=_.unhangRange(e,i)),re.isCollapsed(i))i=i.anchor;else{var[,a]=re.edges(i);if(!o&&_.void(e,{at:a}))return;var s=_.pointRef(e,a);ee.delete(e,{at:i}),i=s.unref()}else J.isPath(i)&&(i=_.start(e,i));else return;if(!(!o&&_.void(e,{at:i}))){var l=_.above(e,{at:i,match:I=>_.isInline(e,I),mode:"highest",voids:o});if(l){var[,f]=l;if(_.isEnd(e,i,f)){var d=_.after(e,f);i=d}else if(_.isStart(e,i,f)){var p=_.before(e,f);i=p}}var h=_.above(e,{match:I=>_.isBlock(e,I),at:i,voids:o}),[,m]=h,C=_.isStart(e,i,m),$=_.isEnd(e,i,m),b=C&&$,w=!C||C&&$,y=!$,[,S]=we.first({children:t},[]),[,x]=we.last({children:t},[]),A=[],O=I=>{var[L,Y]=I,q=Y.length===0;return q?!1:b?!0:!(w&&J.isAncestor(Y,S)&&Pe.isElement(L)&&!e.isVoid(L)&&!e.isInline(L)||y&&J.isAncestor(Y,x)&&Pe.isElement(L)&&!e.isVoid(L)&&!e.isInline(L))};for(var T of we.nodes({children:t},{pass:O}))O(T)&&A.push(T);var z=[],V=[],ue=[],oe=!0,de=!1;for(var[me]of A)Pe.isElement(me)&&!e.isInline(me)?(oe=!1,de=!0,V.push(me)):oe?z.push(me):ue.push(me);var[_e]=_.nodes(e,{at:i,match:I=>xe.isText(I)||_.isInline(e,I),mode:"highest",voids:o}),[,Ee]=_e,Be=_.isStart(e,i,Ee),Fe=_.isEnd(e,i,Ee),je=_.pathRef(e,$?J.next(m):m),Ue=_.pathRef(e,Fe?J.next(Ee):Ee),Oe=_.pathRef(e,m);ee.splitNodes(e,{at:i,match:I=>de?_.isBlock(e,I):xe.isText(I)||_.isInline(e,I),mode:de?"lowest":"highest",voids:o});var Je=_.pathRef(e,!Be||Be&&Fe?J.next(Ee):Ee);if(ee.insertNodes(e,z,{at:Je.current,match:I=>xe.isText(I)||_.isInline(e,I),mode:"highest",voids:o}),b&&V.length&&ee.delete(e,{at:Oe.unref(),voids:o}),ee.insertNodes(e,V,{at:je.current,match:I=>_.isBlock(e,I),mode:"lowest",voids:o}),ee.insertNodes(e,ue,{at:Ue.current,match:I=>xe.isText(I)||_.isInline(e,I),mode:"highest",voids:o}),!n.at){var G;ue.length>0?G=J.previous(Ue.current):V.length>0?G=J.previous(je.current):G=J.previous(Je.current);var H=_.end(e,G);ee.select(e,H)}Je.unref(),je.unref(),Ue.unref()}}})},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};_.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(!!o){if(J.isPath(o)&&(o=_.range(e,o)),re.isRange(o))if(re.isCollapsed(o))o=o.anchor;else{var i=re.end(o);if(!r&&_.void(e,{at:i}))return;var a=_.pointRef(e,i);ee.delete(e,{at:o,voids:r}),o=a.unref(),ee.setSelection(e,{anchor:o,focus:o})}if(!(!r&&_.void(e,{at:o}))){var{path:s,offset:l}=o;t.length>0&&e.apply({type:"insert_text",path:s,offset:l,text:t})}}})}};function nA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function h0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nA(Object(n),!0).forEach(function(r){mi(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ee=h0(h0(h0(h0({},WU),KU),JU),XU),tn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rb(e){var t={exports:{}};return e(t,t.exports),t.exports}var rA=9007199254740991,ZU="[object Arguments]",QU="[object Function]",eH="[object GeneratorFunction]",Mb="[object Map]",tH="[object Object]",oA="[object Promise]",jb="[object Set]",nH="[object String]",iA="[object WeakMap]",aA="[object DataView]",rH=/[\\^$.*+?()[\]{}|]/g,oH=/^\[object .+?Constructor\]$/,iH=/^(?:0|[1-9]\d*)$/,zb="\\ud800-\\udfff",sA="\\u0300-\\u036f\\ufe20-\\ufe23",uA="\\u20d0-\\u20f0",lA="\\ufe0e\\ufe0f",aH="["+zb+"]",Vb="["+sA+uA+"]",Ub="\\ud83c[\\udffb-\\udfff]",sH="(?:"+Vb+"|"+Ub+")",cA="[^"+zb+"]",fA="(?:\\ud83c[\\udde6-\\uddff]){2}",dA="[\\ud800-\\udbff][\\udc00-\\udfff]",pA="\\u200d",hA=sH+"?",gA="["+lA+"]?",uH="(?:"+pA+"(?:"+[cA,fA,dA].join("|")+")"+gA+hA+")*",lH=gA+hA+uH,cH="(?:"+[cA+Vb+"?",Vb,fA,dA,aH].join("|")+")",fH=RegExp(Ub+"(?="+Ub+")|"+cH+lH,"g"),dH=RegExp("["+pA+zb+sA+uA+lA+"]"),pH=typeof tn=="object"&&tn&&tn.Object===Object&&tn,hH=typeof self=="object"&&self&&self.Object===Object&&self,ou=pH||hH||Function("return this")();function gH(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function mH(e){return e.split("")}function vH(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function yH(e,t){return gH(t,function(n){return e[n]})}function bH(e,t){return e==null?void 0:e[t]}function wH(e){return dH.test(e)}function $H(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}function CH(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function EH(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function SH(e,t){return function(n){return e(t(n))}}function DH(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}function xH(e){return wH(e)?AH(e):mH(e)}function AH(e){return e.match(fH)||[]}var kH=Function.prototype,g0=Object.prototype,Hb=ou["__core-js_shared__"],mA=function(){var e=/[^.]+$/.exec(Hb&&Hb.keys&&Hb.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),vA=kH.toString,m0=g0.hasOwnProperty,ud=g0.toString,_H=RegExp("^"+vA.call(m0).replace(rH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yA=ou.Symbol,Wb=yA?yA.iterator:void 0,OH=g0.propertyIsEnumerable,BH=SH(Object.keys,Object),qb=ld(ou,"DataView"),Gb=ld(ou,"Map"),Kb=ld(ou,"Promise"),Yb=ld(ou,"Set"),Jb=ld(ou,"WeakMap"),TH=au(qb),FH=au(Gb),PH=au(Kb),IH=au(Yb),NH=au(Jb);function LH(e,t){var n=bA(e)||WH(e)?vH(e.length,String):[],r=n.length,o=!!r;for(var i in e)(t||m0.call(e,i))&&!(o&&(i=="length"||VH(i,r)))&&n.push(i);return n}function RH(e){return ud.call(e)}function MH(e){if(!$A(e)||UH(e))return!1;var t=wA(e)||$H(e)?_H:oH;return t.test(au(e))}function jH(e){if(!HH(e))return BH(e);var t=[];for(var n in Object(e))m0.call(e,n)&&n!="constructor"&&t.push(n);return t}function zH(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function ld(e,t){var n=bH(e,t);return MH(n)?n:void 0}var iu=RH;(qb&&iu(new qb(new ArrayBuffer(1)))!=aA||Gb&&iu(new Gb)!=Mb||Kb&&iu(Kb.resolve())!=oA||Yb&&iu(new Yb)!=jb||Jb&&iu(new Jb)!=iA)&&(iu=function(e){var t=ud.call(e),n=t==tH?e.constructor:void 0,r=n?au(n):void 0;if(r)switch(r){case TH:return aA;case FH:return Mb;case PH:return oA;case IH:return jb;case NH:return iA}return t});function VH(e,t){return t=t==null?rA:t,!!t&&(typeof e=="number"||iH.test(e))&&e>-1&&e%1==0&&e<t}function UH(e){return!!mA&&mA in e}function HH(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||g0;return e===n}function au(e){if(e!=null){try{return vA.call(e)}catch{}try{return e+""}catch{}}return""}function WH(e){return qH(e)&&m0.call(e,"callee")&&(!OH.call(e,"callee")||ud.call(e)==ZU)}var bA=Array.isArray;function Xb(e){return e!=null&&GH(e.length)&&!wA(e)}function qH(e){return CA(e)&&Xb(e)}function wA(e){var t=$A(e)?ud.call(e):"";return t==QU||t==eH}function GH(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=rA}function $A(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function CA(e){return!!e&&typeof e=="object"}function KH(e){return typeof e=="string"||!bA(e)&&CA(e)&&ud.call(e)==nH}function YH(e){if(!e)return[];if(Xb(e))return KH(e)?xH(e):zH(e);if(Wb&&e[Wb])return CH(e[Wb]());var t=iu(e),n=t==Mb?EH:t==jb?DH:XH;return n(e)}function JH(e){return Xb(e)?LH(e):jH(e)}function XH(e){return e?yH(e,JH(e)):[]}var EA=YH;function SA(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Zb(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(n){typeof e[n]>"u"?e[n]=t[n]:SA(t[n])&&SA(e[n])&&Object.keys(t[n]).length>0&&Zb(e[n],t[n])})}var DA={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function cd(){var e=typeof document<"u"?document:{};return Zb(e,DA),e}var ZH={document:DA,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout>"u"||clearTimeout(e)}};function su(){var e=typeof window<"u"?window:{};return Zb(e,ZH),e}function QH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Qb(e){return Qb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qb(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},v0(e,t)}function eW(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y0(e,t,n){return eW()?y0=Reflect.construct:y0=function(o,i,a){var s=[null];s.push.apply(s,i);var l=Function.bind.apply(o,s),f=new l;return a&&v0(f,a.prototype),f},y0.apply(null,arguments)}function tW(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function e2(e){var t=typeof Map=="function"?new Map:void 0;return e2=function(r){if(r===null||!tW(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return y0(r,arguments,Qb(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),v0(o,r)},e2(e)}function nW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e){var t=e.__proto__;Object.defineProperty(e,"__proto__",{get:function(){return t},set:function(r){t.__proto__=r}})}var _a=function(e){QH(t,e);function t(n){var r;return r=e.call.apply(e,[this].concat(n))||this,rW(nW(r)),r}return t}(e2(Array));function b0(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(n){Array.isArray(n)?t.push.apply(t,b0(n)):t.push(n)}),t}function xA(e,t){return Array.prototype.filter.call(e,t)}function oW(e){for(var t=[],n=0;n<e.length;n+=1)t.indexOf(e[n])===-1&&t.push(e[n]);return t}function iW(e){return e.toLowerCase().replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function aW(e,t){if(typeof e!="string")return[e];for(var n=[],r=t.querySelectorAll(e),o=0;o<r.length;o+=1)n.push(r[o]);return n}function U(e,t){var n=su(),r=cd(),o=[];if(!t&&e instanceof _a)return e;if(!e)return new _a(o);if(typeof e=="string"){var i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";i.indexOf("<li")===0&&(a="ul"),i.indexOf("<tr")===0&&(a="tbody"),(i.indexOf("<td")===0||i.indexOf("<th")===0)&&(a="tr"),i.indexOf("<tbody")===0&&(a="table"),i.indexOf("<option")===0&&(a="select");var s=r.createElement(a);s.innerHTML=i;for(var l=0;l<s.childNodes.length;l+=1)o.push(s.childNodes[l])}else o=aW(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof _a)return e;o=e}return new _a(oW(o))}U.fn=_a.prototype;function zl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=b0(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).add.apply(i,r)}),this}function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=b0(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).remove.apply(i,r)}),this}function Ul(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=b0(t.map(function(o){return o.split(" ")}));return xA(this,function(o){return r.filter(function(i){return o.classList.contains(i)}).length>0}).length>0}function mo(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function w0(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function Hl(){var e=this[0];if(!!e){var t={};if(e.dataset)for(var n in e.dataset)t[n]=e.dataset[n];else for(var r=0;r<e.attributes.length;r+=1){var o=e.attributes[r];o.name.indexOf("data-")>=0&&(t[iW(o.name.split("data-")[1])]=o.value)}for(var i in t)t[i]==="false"?t[i]=!1:t[i]==="true"?t[i]=!0:parseFloat(t[i])===t[i]*1&&(t[i]*=1);return t}}function vi(e){if(typeof e>"u"){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()==="select"){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var o=0;o<this.length;o+=1){var i=this[o];if(Array.isArray(e)&&i.multiple&&i.nodeName.toLowerCase()==="select")for(var a=0;a<i.options.length;a+=1)i.options[a].selected=e.indexOf(i.options[a].value)>=0;else i.value=e}return this}function yi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];typeof t[1]=="function"&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);function s($){var b=$.target;if(!!b){var w=$.target.dom7EventData||[];if(w.indexOf($)<0&&w.unshift($),U(b).is(o))i.apply(b,w);else for(var y=U(b).parents(),S=0;S<y.length;S+=1)U(y[S]).is(o)&&i.apply(y[S],w)}}function l($){var b=$&&$.target?$.target.dom7EventData||[]:[];b.indexOf($)<0&&b.unshift($),i.apply(this,b)}for(var f=r.split(" "),d,p=0;p<this.length;p+=1){var h=this[p];if(o)for(d=0;d<f.length;d+=1){var C=f[d];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[C]||(h.dom7LiveListeners[C]=[]),h.dom7LiveListeners[C].push({listener:i,proxyListener:s}),h.addEventListener(C,s,a)}else for(d=0;d<f.length;d+=1){var m=f[d];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[m]||(h.dom7Listeners[m]=[]),h.dom7Listeners[m].push({listener:i,proxyListener:l}),h.addEventListener(m,l,a)}}return this}function AA(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];typeof t[1]=="function"&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var s=r.split(" "),l=0;l<s.length;l+=1)for(var f=s[l],d=0;d<this.length;d+=1){var p=this[d],h=void 0;if(!o&&p.dom7Listeners?h=p.dom7Listeners[f]:o&&p.dom7LiveListeners&&(h=p.dom7LiveListeners[f]),h&&h.length)for(var m=h.length-1;m>=0;m-=1){var C=h[m];i&&C.listener===i||i&&C.listener&&C.listener.dom7proxy&&C.listener.dom7proxy===i?(p.removeEventListener(f,C.proxyListener,a),h.splice(m,1)):i||(p.removeEventListener(f,C.proxyListener,a),h.splice(m,1))}}return this}function $0(){var e=su();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function C0(){var e=su();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function kA(){if(this.length>0){var e=su(),t=cd(),n=this[0],r=n.getBoundingClientRect(),o=t.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-i,left:r.left+l-a}}return null}function Wl(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function E0(){for(var e=su(),t=0;t<this.length;t+=1){var n=this[t];n.style.display==="none"&&(n.style.display=""),e.getComputedStyle(n,null).getPropertyValue("display")==="none"&&(n.style.display="block")}return this}function S0(e,t){var n=su(),r;if(arguments.length===1)if(typeof e=="string"){if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(r=0;r<this.length;r+=1)for(var o in e)this[r].style[o]=e[o];return this}if(arguments.length===2&&typeof e=="string"){for(r=0;r<this.length;r+=1)this[r].style[e]=t;return this}return this}function D0(e){return e?(this.forEach(function(t,n){e.apply(t,[t,n])}),this):this}function _A(e){var t=xA(this,e);return U(t)}function Oa(e){if(typeof e>"u")return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function x0(e){if(typeof e>"u")return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function OA(e){var t=su(),n=cd(),r=this[0],o,i;if(!r||typeof e>"u")return!1;if(typeof e=="string"){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(o=U(e),i=0;i<o.length;i+=1)if(o[i]===r)return!0;return!1}if(e===n)return r===n;if(e===t)return r===t;if(e.nodeType||e instanceof _a){for(o=e.nodeType?[e]:e,i=0;i<o.length;i+=1)if(o[i]===r)return!0;return!1}return!1}function vo(){for(var e,t=cd(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof e=="string"){var o=t.createElement("div");for(o.innerHTML=e;o.firstChild;)this[r].appendChild(o.firstChild)}else if(e instanceof _a)for(var i=0;i<e.length;i+=1)this[r].appendChild(e[i]);else this[r].appendChild(e)}return this}function BA(e){var t=cd(),n,r;for(n=0;n<this.length;n+=1)if(typeof e=="string"){var o=t.createElement("div");for(o.innerHTML=e,r=o.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(o.childNodes[r],this[n].childNodes[0])}else if(e instanceof _a)for(r=0;r<e.length;r+=1)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this}function ql(e){for(var t=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(e?U(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return U(t)}function A0(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?U(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return U(t)}function Gl(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return U(t)}function Kl(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)(!e||U(r[o]).is(e))&&t.push(r[o]);return U(t)}function Yl(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function Jl(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this}var sW="resize scroll".split(" ");function TA(e){function t(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];if(typeof r[0]>"u"){for(var i=0;i<this.length;i+=1)sW.indexOf(e)<0&&(e in this[i]?this[i][e]():U(this[i]).trigger(e));return this}return this.on.apply(this,[e].concat(r))}return t}var FA=TA("click"),Ba=TA("focus"),PA=9007199254740991,uW="[object Arguments]",lW="[object Function]",cW="[object GeneratorFunction]",fW=/^(?:0|[1-9]\d*)$/;function dW(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}function pW(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function hW(e,t){return function(n){return e(t(n))}}var k0=Object.prototype,t2=k0.hasOwnProperty,IA=k0.toString,gW=k0.propertyIsEnumerable,mW=hW(Object.keys,Object);function vW(e,t){var n=NA(e)||AW(e)?pW(e.length,String):[],r=n.length,o=!!r;for(var i in e)(t||t2.call(e,i))&&!(o&&(i=="length"||SW(i,r)))&&n.push(i);return n}var yW=CW(wW),bW=EW();function wW(e,t){return e&&bW(e,t,FW)}function $W(e){if(!DW(e))return mW(e);var t=[];for(var n in Object(e))t2.call(e,n)&&n!="constructor"&&t.push(n);return t}function CW(e,t){return function(n,r){if(n==null)return n;if(!n2(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&r(a[i],i,a)!==!1;);return n}}function EW(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(n(i[l],l,i)===!1)break}return t}}function SW(e,t){return t=t==null?PA:t,!!t&&(typeof e=="number"||fW.test(e))&&e>-1&&e%1==0&&e<t}function DW(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||k0;return e===n}function xW(e,t){var n=NA(e)?dW:yW;return n(e,typeof t=="function"?t:PW)}function AW(e){return kW(e)&&t2.call(e,"callee")&&(!gW.call(e,"callee")||IA.call(e)==uW)}var NA=Array.isArray;function n2(e){return e!=null&&OW(e.length)&&!_W(e)}function kW(e){return TW(e)&&n2(e)}function _W(e){var t=BW(e)?IA.call(e):"";return t==lW||t==cW}function OW(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=PA}function BW(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function TW(e){return!!e&&typeof e=="object"}function FW(e){return n2(e)?vW(e):$W(e)}function PW(e){return e}var r2=xW;{if(typeof navigator<"u"&&navigator.product==="ReactNative"&&typeof crypto>"u")throw new Error("React Native does not have a built-in secure random generator. If you don\u2019t need unpredictable IDs use `nanoid/non-secure`. For secure IDs, import `react-native-get-random-values` before Nano ID.");if(typeof msCrypto<"u"&&typeof crypto>"u")throw new Error("Import file with `if (!window.crypto) window.crypto = window.msCrypto` before importing Nano ID to fix IE 11 support");if(typeof crypto>"u")throw new Error("Your browser does not have secure random generator. If you don\u2019t need unpredictable IDs, you can use nanoid/non-secure.")}let LA=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=n[e]&63;r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r<63?t+="_":t+="-"}return t};var RA="Expected a function",MA=0/0,IW="[object Symbol]",NW=/^\s+|\s+$/g,LW=/^[-+]0x[0-9a-f]+$/i,RW=/^0b[01]+$/i,MW=/^0o[0-7]+$/i,jW=parseInt,zW=typeof tn=="object"&&tn&&tn.Object===Object&&tn,VW=typeof self=="object"&&self&&self.Object===Object&&self,UW=zW||VW||Function("return this")(),HW=Object.prototype,WW=HW.toString,qW=Math.max,GW=Math.min,o2=function(){return UW.Date.now()};function KW(e,t,n){var r,o,i,a,s,l,f=0,d=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError(RA);t=jA(t)||0,_0(n)&&(d=!!n.leading,p="maxWait"in n,i=p?qW(jA(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h);function m(O){var T=r,z=o;return r=o=void 0,f=O,a=e.apply(z,T),a}function C(O){return f=O,s=setTimeout(w,t),d?m(O):a}function $(O){var T=O-l,z=O-f,V=t-T;return p?GW(V,i-z):V}function b(O){var T=O-l,z=O-f;return l===void 0||T>=t||T<0||p&&z>=i}function w(){var O=o2();if(b(O))return y(O);s=setTimeout(w,$(O))}function y(O){return s=void 0,h&&r?m(O):(r=o=void 0,a)}function S(){s!==void 0&&clearTimeout(s),f=0,r=l=o=s=void 0}function x(){return s===void 0?a:y(o2())}function A(){var O=o2(),T=b(O);if(r=arguments,o=this,l=O,T){if(s===void 0)return C(l);if(p)return s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),a}return A.cancel=S,A.flush=x,A}function YW(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(RA);return _0(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),KW(e,t,{leading:r,maxWait:t,trailing:o})}function _0(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function JW(e){return!!e&&typeof e=="object"}function XW(e){return typeof e=="symbol"||JW(e)&&WW.call(e)==IW}function jA(e){if(typeof e=="number")return e;if(XW(e))return MA;if(_0(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=_0(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(NW,"");var n=RW.test(e);return n||MW.test(e)?jW(e.slice(2),n?2:8):LW.test(e)?MA:+e}var uu=YW;function ZW(e,t){return document.createElement(e,t)}function QW(e,t,n){return document.createElementNS(e,t,n)}function eq(e){return document.createTextNode(e)}function tq(e){return document.createComment(e)}function nq(e,t,n){e.insertBefore(t,n)}function rq(e,t){e.removeChild(t)}function oq(e,t){e.appendChild(t)}function iq(e){return e.parentNode}function aq(e){return e.nextSibling}function sq(e){return e.tagName}function uq(e,t){e.textContent=t}function lq(e){return e.textContent}function cq(e){return e.nodeType===1}function fq(e){return e.nodeType===3}function dq(e){return e.nodeType===8}const pq={createElement:ZW,createElementNS:QW,createTextNode:eq,createComment:tq,insertBefore:nq,removeChild:rq,appendChild:oq,parentNode:iq,nextSibling:aq,tagName:sq,setTextContent:uq,getTextContent:lq,isElement:cq,isText:fq,isComment:dq};function fd(e,t,n,r,o){const i=t===void 0?void 0:t.key;return{sel:e,data:t,children:n,text:r,elm:o,key:i}}const i2=Array.isArray;function O0(e){return typeof e=="string"||typeof e=="number"||e instanceof String||e instanceof Number}function a2(e){return e===void 0}function Kr(e){return e!==void 0}const zA=fd("",{},[],void 0,void 0);function dd(e,t){var n,r;const o=e.key===t.key,i=((n=e.data)===null||n===void 0?void 0:n.is)===((r=t.data)===null||r===void 0?void 0:r.is);return e.sel===t.sel&&o&&i}function hq(e){return e.sel!==void 0}function gq(e,t,n){var r;const o={};for(let i=t;i<=n;++i){const a=(r=e[i])===null||r===void 0?void 0:r.key;a!==void 0&&(o[a]=i)}return o}const mq=["create","update","remove","destroy","pre","post"];function vq(e,t){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=t!==void 0?t:pq;for(const h of mq)for(const m of e){const C=m[h];C!==void 0&&n[h].push(C)}function o(h){const m=h.id?"#"+h.id:"",C=h.getAttribute("class"),$=C?"."+C.split(" ").join("."):"";return fd(r.tagName(h).toLowerCase()+m+$,{},[],void 0,h)}function i(h,m){return function(){if(--m===0){const $=r.parentNode(h);r.removeChild($,h)}}}function a(h,m){var C,$;let b,w=h.data;if(w!==void 0){const x=(C=w.hook)===null||C===void 0?void 0:C.init;Kr(x)&&(x(h),w=h.data)}const y=h.children,S=h.sel;if(S==="!")a2(h.text)&&(h.text=""),h.elm=r.createComment(h.text);else if(S!==void 0){const x=S.indexOf("#"),A=S.indexOf(".",x),O=x>0?x:S.length,T=A>0?A:S.length,z=x!==-1||A!==-1?S.slice(0,Math.min(O,T)):S,V=h.elm=Kr(w)&&Kr(b=w.ns)?r.createElementNS(b,z,w):r.createElement(z,w);for(O<T&&V.setAttribute("id",S.slice(O+1,T)),A>0&&V.setAttribute("class",S.slice(T+1).replace(/\./g," ")),b=0;b<n.create.length;++b)n.create[b](zA,h);if(i2(y))for(b=0;b<y.length;++b){const oe=y[b];oe!=null&&r.appendChild(V,a(oe,m))}else O0(h.text)&&r.appendChild(V,r.createTextNode(h.text));const ue=h.data.hook;Kr(ue)&&(($=ue.create)===null||$===void 0||$.call(ue,zA,h),ue.insert&&m.push(h))}else h.elm=r.createTextNode(h.text);return h.elm}function s(h,m,C,$,b,w){for(;$<=b;++$){const y=C[$];y!=null&&r.insertBefore(h,a(y,w),m)}}function l(h){var m,C;const $=h.data;if($!==void 0){(C=(m=$==null?void 0:$.hook)===null||m===void 0?void 0:m.destroy)===null||C===void 0||C.call(m,h);for(let b=0;b<n.destroy.length;++b)n.destroy[b](h);if(h.children!==void 0)for(let b=0;b<h.children.length;++b){const w=h.children[b];w!=null&&typeof w!="string"&&l(w)}}}function f(h,m,C,$){for(var b,w;C<=$;++C){let y,S;const x=m[C];if(x!=null)if(Kr(x.sel)){l(x),y=n.remove.length+1,S=i(x.elm,y);for(let O=0;O<n.remove.length;++O)n.remove[O](x,S);const A=(w=(b=x==null?void 0:x.data)===null||b===void 0?void 0:b.hook)===null||w===void 0?void 0:w.remove;Kr(A)?A(x,S):S()}else r.removeChild(h,x.elm)}}function d(h,m,C,$){let b=0,w=0,y=m.length-1,S=m[0],x=m[y],A=C.length-1,O=C[0],T=C[A],z,V,ue,oe;for(;b<=y&&w<=A;)S==null?S=m[++b]:x==null?x=m[--y]:O==null?O=C[++w]:T==null?T=C[--A]:dd(S,O)?(p(S,O,$),S=m[++b],O=C[++w]):dd(x,T)?(p(x,T,$),x=m[--y],T=C[--A]):dd(S,T)?(p(S,T,$),r.insertBefore(h,S.elm,r.nextSibling(x.elm)),S=m[++b],T=C[--A]):dd(x,O)?(p(x,O,$),r.insertBefore(h,x.elm,S.elm),x=m[--y],O=C[++w]):(z===void 0&&(z=gq(m,b,y)),V=z[O.key],a2(V)?r.insertBefore(h,a(O,$),S.elm):(ue=m[V],ue.sel!==O.sel?r.insertBefore(h,a(O,$),S.elm):(p(ue,O,$),m[V]=void 0,r.insertBefore(h,ue.elm,S.elm))),O=C[++w]);(b<=y||w<=A)&&(b>y?(oe=C[A+1]==null?null:C[A+1].elm,s(h,oe,C,w,A,$)):f(h,m,b,y))}function p(h,m,C){var $,b,w,y,S;const x=($=m.data)===null||$===void 0?void 0:$.hook;(b=x==null?void 0:x.prepatch)===null||b===void 0||b.call(x,h,m);const A=m.elm=h.elm,O=h.children,T=m.children;if(h!==m){if(m.data!==void 0){for(let z=0;z<n.update.length;++z)n.update[z](h,m);(y=(w=m.data.hook)===null||w===void 0?void 0:w.update)===null||y===void 0||y.call(w,h,m)}a2(m.text)?Kr(O)&&Kr(T)?O!==T&&d(A,O,T,C):Kr(T)?(Kr(h.text)&&r.setTextContent(A,""),s(A,null,T,0,T.length-1,C)):Kr(O)?f(A,O,0,O.length-1):Kr(h.text)&&r.setTextContent(A,""):h.text!==m.text&&(Kr(O)&&f(A,O,0,O.length-1),r.setTextContent(A,m.text)),(S=x==null?void 0:x.postpatch)===null||S===void 0||S.call(x,h,m)}}return function(m,C){let $,b,w;const y=[];for($=0;$<n.pre.length;++$)n.pre[$]();for(hq(m)||(m=o(m)),dd(m,C)?p(m,C,y):(b=m.elm,w=r.parentNode(b),a(C,y),w!==null&&(r.insertBefore(w,C.elm,r.nextSibling(b)),f(w,[m],0,0))),$=0;$<y.length;++$)y[$].data.hook.insert(y[$]);for($=0;$<n.post.length;++$)n.post[$]();return C}}function VA(e,t,n){if(e.ns="http://www.w3.org/2000/svg",n!=="foreignObject"&&t!==void 0)for(let r=0;r<t.length;++r){const o=t[r].data;o!==void 0&&VA(o,t[r].children,t[r].sel)}}function Xl(e,t,n){let r={},o,i,a;if(n!==void 0?(t!==null&&(r=t),i2(n)?o=n:O0(n)?i=n.toString():n&&n.sel&&(o=[n])):t!=null&&(i2(t)?o=t:O0(t)?i=t.toString():t&&t.sel?o=[t]:r=t),o!==void 0)for(a=0;a<o.length;++a)O0(o[a])&&(o[a]=fd(void 0,void 0,void 0,o[a],void 0));return e[0]==="s"&&e[1]==="v"&&e[2]==="g"&&(e.length===3||e[3]==="."||e[3]==="#")&&VA(r,o,e),fd(e,r,o,i,void 0)}const yq="http://www.w3.org/1999/xlink",bq="http://www.w3.org/XML/1998/namespace",UA=58,wq=120;function HA(e,t){let n;const r=t.elm;let o=e.data.attrs,i=t.data.attrs;if(!(!o&&!i)&&o!==i){o=o||{},i=i||{};for(n in i){const a=i[n];o[n]!==a&&(a===!0?r.setAttribute(n,""):a===!1?r.removeAttribute(n):n.charCodeAt(0)!==wq?r.setAttribute(n,a):n.charCodeAt(3)===UA?r.setAttributeNS(bq,n,a):n.charCodeAt(5)===UA?r.setAttributeNS(yq,n,a):r.setAttribute(n,a))}for(n in o)n in i||r.removeAttribute(n)}}const $q={create:HA,update:HA};function WA(e,t){let n,r;const o=t.elm;let i=e.data.class,a=t.data.class;if(!(!i&&!a)&&i!==a){i=i||{},a=a||{};for(r in i)i[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&o.classList.remove(r);for(r in a)n=a[r],n!==i[r]&&o.classList[n?"add":"remove"](r)}}const Cq={create:WA,update:WA},qA=/[A-Z]/g;function GA(e,t){const n=t.elm;let r=e.data.dataset,o=t.data.dataset,i;if(!r&&!o||r===o)return;r=r||{},o=o||{};const a=n.dataset;for(i in r)o[i]||(a?i in a&&delete a[i]:n.removeAttribute("data-"+i.replace(qA,"-$&").toLowerCase()));for(i in o)r[i]!==o[i]&&(a?a[i]=o[i]:n.setAttribute("data-"+i.replace(qA,"-$&").toLowerCase(),o[i]))}const Eq={create:GA,update:GA};function KA(e,t,n){if(typeof e=="function")e.call(t,n,t);else if(typeof e=="object")for(let r=0;r<e.length;r++)KA(e[r],t,n)}function Sq(e,t){const n=e.type,r=t.data.on;r&&r[n]&&KA(r[n],t,e)}function Dq(){return function e(t){Sq(t,e.vnode)}}function s2(e,t){const n=e.data.on,r=e.listener,o=e.elm,i=t&&t.data.on,a=t&&t.elm;let s;if(n!==i){if(n&&r)if(i)for(s in n)i[s]||o.removeEventListener(s,r,!1);else for(s in n)o.removeEventListener(s,r,!1);if(i){const l=t.listener=e.listener||Dq();if(l.vnode=t,n)for(s in i)n[s]||a.addEventListener(s,l,!1);else for(s in i)a.addEventListener(s,l,!1)}}}const xq={create:s2,update:s2,destroy:s2};function YA(e,t){let n,r,o;const i=t.elm;let a=e.data.props,s=t.data.props;if(!(!a&&!s)&&a!==s){a=a||{},s=s||{};for(n in s)r=s[n],o=a[n],o!==r&&(n!=="value"||i[n]!==r)&&(i[n]=r)}}const Aq={create:YA,update:YA},JA=typeof window<"u"&&window.requestAnimationFrame.bind(window)||setTimeout,kq=function(e){JA(function(){JA(e)})};let u2=!1;function _q(e,t,n){kq(function(){e[t]=n})}function XA(e,t){let n,r;const o=t.elm;let i=e.data.style,a=t.data.style;if(!i&&!a||i===a)return;i=i||{},a=a||{};const s="delayed"in i;for(r in i)a[r]||(r[0]==="-"&&r[1]==="-"?o.style.removeProperty(r):o.style[r]="");for(r in a)if(n=a[r],r==="delayed"&&a.delayed)for(const l in a.delayed)n=a.delayed[l],(!s||n!==i.delayed[l])&&_q(o.style,l,n);else r!=="remove"&&n!==i[r]&&(r[0]==="-"&&r[1]==="-"?o.style.setProperty(r,n):o.style[r]=n)}function Oq(e){let t,n;const r=e.elm,o=e.data.style;if(!(!o||!(t=o.destroy)))for(n in t)r.style[n]=t[n]}function Bq(e,t){const n=e.data.style;if(!n||!n.remove){t();return}u2||(e.elm.offsetLeft,u2=!0);let r;const o=e.elm;let i=0;const a=n.remove;let s=0;const l=[];for(r in a)l.push(r),o.style[r]=a[r];const d=getComputedStyle(o)["transition-property"].split(", ");for(;i<d.length;++i)l.indexOf(d[i])!==-1&&s++;o.addEventListener("transitionend",function(p){p.target===o&&--s,s===0&&t()})}function Tq(){u2=!1}const Fq={pre:Tq,create:XA,update:XA,destroy:Oq,remove:Bq};function ZA(e,t){for(const n of e)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?ZA(n,t):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?t.push(fd(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function Ke(e,t,...n){const r=ZA(n,[]);return typeof e=="function"?e(t,r):r.length===1&&!r[0].sel&&r[0].text?Xl(e,t,r[0].text):Xl(e,t,r)}(function(e){})(Ke||(Ke={}));var Pq=1/0,Iq="[object Symbol]",Nq=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Lq=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,B0="\\ud800-\\udfff",QA="\\u0300-\\u036f\\ufe20-\\ufe23",e8="\\u20d0-\\u20f0",t8="\\u2700-\\u27bf",n8="a-z\\xdf-\\xf6\\xf8-\\xff",Rq="\\xac\\xb1\\xd7\\xf7",Mq="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",jq="\\u2000-\\u206f",zq=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r8="A-Z\\xc0-\\xd6\\xd8-\\xde",o8="\\ufe0e\\ufe0f",i8=Rq+Mq+jq+zq,l2="['\u2019]",Vq="["+B0+"]",a8="["+i8+"]",T0="["+QA+e8+"]",s8="\\d+",Uq="["+t8+"]",u8="["+n8+"]",l8="[^"+B0+i8+s8+t8+n8+r8+"]",c2="\\ud83c[\\udffb-\\udfff]",Hq="(?:"+T0+"|"+c2+")",c8="[^"+B0+"]",f2="(?:\\ud83c[\\udde6-\\uddff]){2}",d2="[\\ud800-\\udbff][\\udc00-\\udfff]",Zl="["+r8+"]",f8="\\u200d",d8="(?:"+u8+"|"+l8+")",Wq="(?:"+Zl+"|"+l8+")",p8="(?:"+l2+"(?:d|ll|m|re|s|t|ve))?",h8="(?:"+l2+"(?:D|LL|M|RE|S|T|VE))?",g8=Hq+"?",m8="["+o8+"]?",qq="(?:"+f8+"(?:"+[c8,f2,d2].join("|")+")"+m8+g8+")*",v8=m8+g8+qq,Gq="(?:"+[Uq,f2,d2].join("|")+")"+v8,Kq="(?:"+[c8+T0+"?",T0,f2,d2,Vq].join("|")+")",Yq=RegExp(l2,"g"),Jq=RegExp(T0,"g"),Xq=RegExp(c2+"(?="+c2+")|"+Kq+v8,"g"),Zq=RegExp([Zl+"?"+u8+"+"+p8+"(?="+[a8,Zl,"$"].join("|")+")",Wq+"+"+h8+"(?="+[a8,Zl+d8,"$"].join("|")+")",Zl+"?"+d8+"+"+p8,Zl+"+"+h8,s8,Gq].join("|"),"g"),Qq=RegExp("["+f8+B0+QA+e8+o8+"]"),eG=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tG={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},nG=typeof tn=="object"&&tn&&tn.Object===Object&&tn,rG=typeof self=="object"&&self&&self.Object===Object&&self,oG=nG||rG||Function("return this")();function iG(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function aG(e){return e.split("")}function sG(e){return e.match(Nq)||[]}function uG(e){return function(t){return e==null?void 0:e[t]}}var lG=uG(tG);function y8(e){return Qq.test(e)}function cG(e){return eG.test(e)}function fG(e){return y8(e)?dG(e):aG(e)}function dG(e){return e.match(Xq)||[]}function pG(e){return e.match(Zq)||[]}var hG=Object.prototype,gG=hG.toString,b8=oG.Symbol,w8=b8?b8.prototype:void 0,$8=w8?w8.toString:void 0;function mG(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function vG(e){if(typeof e=="string")return e;if(CG(e))return $8?$8.call(e):"";var t=e+"";return t=="0"&&1/e==-Pq?"-0":t}function yG(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:mG(e,t,n)}function bG(e){return function(t){t=F0(t);var n=y8(t)?fG(t):void 0,r=n?n[0]:t.charAt(0),o=n?yG(n,1).join(""):t.slice(1);return r[e]()+o}}function wG(e){return function(t){return iG(AG(DG(t).replace(Yq,"")),e,"")}}function $G(e){return!!e&&typeof e=="object"}function CG(e){return typeof e=="symbol"||$G(e)&&gG.call(e)==Iq}function F0(e){return e==null?"":vG(e)}var EG=wG(function(e,t,n){return t=t.toLowerCase(),e+(n?SG(t):t)});function SG(e){return xG(F0(e).toLowerCase())}function DG(e){return e=F0(e),e&&e.replace(Lq,lG).replace(Jq,"")}var xG=bG("toUpperCase");function AG(e,t,n){return e=F0(e),t=n?void 0:t,t===void 0?cG(e)?pG(e):sG(e):e.match(t)||[]}for(var kG=EG,_G=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),p2={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},C8={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:_G?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},h2={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},P0=1;P0<20;P0++)h2["f"+P0]=111+P0;function E8(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(a){return BG(a,t)}),o=function(s){return r.some(function(l){return TG(l,s)})},i=n==null?o:o(n);return i}function OG(e,t){return E8(e,{byKey:!0},t)}function BG(e,t){var n=t&&t.byKey,r={};e=e.replace("++","+add");var o=e.split("+"),i=o.length;for(var a in p2)r[p2[a]]=!1;var s=!0,l=!1,f=void 0;try{for(var d=o[Symbol.iterator](),p;!(s=(p=d.next()).done);s=!0){var h=p.value,m=h.endsWith("?")&&h.length>1;m&&(h=h.slice(0,-1));var C=S8(h),$=p2[C];if(h.length>1&&!$&&!C8[h]&&!h2[C])throw new TypeError('Unknown modifier: "'+h+'"');(i===1||!$)&&(n?r.key=C:r.which=FG(h)),$&&(r[$]=m?null:!0)}}catch(b){l=!0,f=b}finally{try{!s&&d.return&&d.return()}finally{if(l)throw f}}return r}function TG(e,t){for(var n in e){var r=e[n],o=void 0;if(r!=null&&(n==="key"&&t.key!=null?o=t.key.toLowerCase():n==="which"?o=r===91&&t.which===93?91:t.which:o=t[n],!(o==null&&r===!1)&&o!==r))return!1}return!0}function FG(e){e=S8(e);var t=h2[e]||e.toUpperCase().charCodeAt(0);return t}function S8(e){return e=e.toLowerCase(),e=C8[e]||e,e}var PG=E8,g2=OG,IG="Expected a function",D8=0/0,NG="[object Symbol]",LG=/^\s+|\s+$/g,RG=/^[-+]0x[0-9a-f]+$/i,MG=/^0b[01]+$/i,jG=/^0o[0-7]+$/i,zG=parseInt,VG=typeof tn=="object"&&tn&&tn.Object===Object&&tn,UG=typeof self=="object"&&self&&self.Object===Object&&self,HG=VG||UG||Function("return this")(),WG=Object.prototype,qG=WG.toString,GG=Math.max,KG=Math.min,m2=function(){return HG.Date.now()};function YG(e,t,n){var r,o,i,a,s,l,f=0,d=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError(IG);t=x8(t)||0,v2(n)&&(d=!!n.leading,p="maxWait"in n,i=p?GG(x8(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h);function m(O){var T=r,z=o;return r=o=void 0,f=O,a=e.apply(z,T),a}function C(O){return f=O,s=setTimeout(w,t),d?m(O):a}function $(O){var T=O-l,z=O-f,V=t-T;return p?KG(V,i-z):V}function b(O){var T=O-l,z=O-f;return l===void 0||T>=t||T<0||p&&z>=i}function w(){var O=m2();if(b(O))return y(O);s=setTimeout(w,$(O))}function y(O){return s=void 0,h&&r?m(O):(r=o=void 0,a)}function S(){s!==void 0&&clearTimeout(s),f=0,r=l=o=s=void 0}function x(){return s===void 0?a:y(m2())}function A(){var O=m2(),T=b(O);if(r=arguments,o=this,l=O,T){if(s===void 0)return C(l);if(p)return s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),a}return A.cancel=S,A.flush=x,A}function v2(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function JG(e){return!!e&&typeof e=="object"}function XG(e){return typeof e=="symbol"||JG(e)&&qG.call(e)==NG}function x8(e){if(typeof e=="number")return e;if(XG(e))return D8;if(v2(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=v2(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(LG,"");var n=MG.test(e);return n||jG.test(e)?zG(e.slice(2),n?2:8):RG.test(e)?D8:+e}var A8=YG,k8=Rb(function(e,t){var n=200,r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",f="[object Error]",d="[object Function]",p="[object GeneratorFunction]",h="[object Map]",m="[object Number]",C="[object Object]",$="[object Promise]",b="[object RegExp]",w="[object Set]",y="[object String]",S="[object Symbol]",x="[object WeakMap]",A="[object ArrayBuffer]",O="[object DataView]",T="[object Float32Array]",z="[object Float64Array]",V="[object Int8Array]",ue="[object Int16Array]",oe="[object Int32Array]",de="[object Uint8Array]",me="[object Uint8ClampedArray]",_e="[object Uint16Array]",Ee="[object Uint32Array]",Be=/[\\^$.*+?()[\]{}|]/g,Fe=/\w*$/,je=/^\[object .+?Constructor\]$/,Ue=/^(?:0|[1-9]\d*)$/,Oe={};Oe[i]=Oe[a]=Oe[A]=Oe[O]=Oe[s]=Oe[l]=Oe[T]=Oe[z]=Oe[V]=Oe[ue]=Oe[oe]=Oe[h]=Oe[m]=Oe[C]=Oe[b]=Oe[w]=Oe[y]=Oe[S]=Oe[de]=Oe[me]=Oe[_e]=Oe[Ee]=!0,Oe[f]=Oe[d]=Oe[x]=!1;var Je=typeof tn=="object"&&tn&&tn.Object===Object&&tn,G=typeof self=="object"&&self&&self.Object===Object&&self,H=Je||G||Function("return this")(),I=t&&!t.nodeType&&t,L=I&&!0&&e&&!e.nodeType&&e,Y=L&&L.exports===I;function q(D,P){return D.set(P[0],P[1]),D}function B(D,P){return D.add(P),D}function ce(D,P){for(var W=-1,ie=D?D.length:0;++W<ie&&P(D[W],W,D)!==!1;);return D}function ge(D,P){for(var W=-1,ie=P.length,Qe=D.length;++W<ie;)D[Qe+W]=P[W];return D}function Ae(D,P,W,ie){var Qe=-1,Me=D?D.length:0;for(ie&&Me&&(W=D[++Qe]);++Qe<Me;)W=P(W,D[Qe],Qe,D);return W}function j(D,P){for(var W=-1,ie=Array(D);++W<D;)ie[W]=P(W);return ie}function ve(D,P){return D==null?void 0:D[P]}function ae(D){var P=!1;if(D!=null&&typeof D.toString!="function")try{P=!!(D+"")}catch{}return P}function X(D){var P=-1,W=Array(D.size);return D.forEach(function(ie,Qe){W[++P]=[Qe,ie]}),W}function te(D,P){return function(W){return D(P(W))}}function pe(D){var P=-1,W=Array(D.size);return D.forEach(function(ie){W[++P]=ie}),W}var ye=Array.prototype,De=Function.prototype,Le=Object.prototype,Ve=H["__core-js_shared__"],ze=function(){var D=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),ft=De.toString,It=Le.hasOwnProperty,Ze=Le.toString,At=RegExp("^"+ft.call(It).replace(Be,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Dt=Y?H.Buffer:void 0,Bt=H.Symbol,hn=H.Uint8Array,Xt=te(Object.getPrototypeOf,Object),gn=Object.create,Ar=Le.propertyIsEnumerable,Mr=ye.splice,er=Object.getOwnPropertySymbols,cr=Dt?Dt.isBuffer:void 0,kr=te(Object.keys,Object),fr=_r(H,"DataView"),wr=_r(H,"Map"),tr=_r(H,"Promise"),io=_r(H,"Set"),ui=_r(H,"WeakMap"),ao=_r(Object,"create"),zi=dr(fr),No=dr(wr),so=dr(tr),jr=dr(io),li=dr(ui),Lo=Bt?Bt.prototype:void 0,Rs=Lo?Lo.valueOf:void 0;function uo(D){var P=-1,W=D?D.length:0;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function vl(){this.__data__=ao?ao(null):{}}function Sg(D){return this.has(D)&&delete this.__data__[D]}function yl(D){var P=this.__data__;if(ao){var W=P[D];return W===r?void 0:W}return It.call(P,D)?P[D]:void 0}function kf(D){var P=this.__data__;return ao?P[D]!==void 0:It.call(P,D)}function bl(D,P){var W=this.__data__;return W[D]=ao&&P===void 0?r:P,this}uo.prototype.clear=vl,uo.prototype.delete=Sg,uo.prototype.get=yl,uo.prototype.has=kf,uo.prototype.set=bl;function qn(D){var P=-1,W=D?D.length:0;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Dg(){this.__data__=[]}function xg(D){var P=this.__data__,W=pa(P,D);if(W<0)return!1;var ie=P.length-1;return W==ie?P.pop():Mr.call(P,W,1),!0}function Ag(D){var P=this.__data__,W=pa(P,D);return W<0?void 0:P[W][1]}function kg(D){return pa(this.__data__,D)>-1}function _g(D,P){var W=this.__data__,ie=pa(W,D);return ie<0?W.push([D,P]):W[ie][1]=P,this}qn.prototype.clear=Dg,qn.prototype.delete=xg,qn.prototype.get=Ag,qn.prototype.has=kg,qn.prototype.set=_g;function Gn(D){var P=-1,W=D?D.length:0;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Og(){this.__data__={hash:new uo,map:new(wr||qn),string:new uo}}function Bg(D){return ci(this,D).delete(D)}function Tg(D){return ci(this,D).get(D)}function Fg(D){return ci(this,D).has(D)}function Pg(D,P){return ci(this,D).set(D,P),this}Gn.prototype.clear=Og,Gn.prototype.delete=Bg,Gn.prototype.get=Tg,Gn.prototype.has=Fg,Gn.prototype.set=Pg;function $r(D){this.__data__=new qn(D)}function Ms(){this.__data__=new qn}function Ig(D){return this.__data__.delete(D)}function js(D){return this.__data__.get(D)}function Ng(D){return this.__data__.has(D)}function Lg(D,P){var W=this.__data__;if(W instanceof qn){var ie=W.__data__;if(!wr||ie.length<n-1)return ie.push([D,P]),this;W=this.__data__=new Gn(ie)}return W.set(D,P),this}$r.prototype.clear=Ms,$r.prototype.delete=Ig,$r.prototype.get=js,$r.prototype.has=Ng,$r.prototype.set=Lg;function zs(D,P){var W=Sl(D)||Vs(D)?j(D.length,String):[],ie=W.length,Qe=!!ie;for(var Me in D)(P||It.call(D,Me))&&!(Qe&&(Me=="length"||Lf(Me,ie)))&&W.push(Me);return W}function wl(D,P,W){var ie=D[P];(!(It.call(D,P)&&El(ie,W))||W===void 0&&!(P in D))&&(D[P]=W)}function pa(D,P){for(var W=D.length;W--;)if(El(D[W][0],P))return W;return-1}function lo(D,P){return D&&ya(P,xl(P),D)}function $l(D,P,W,ie,Qe,Me,gt){var Et;if(ie&&(Et=Me?ie(D,Qe,Me,gt):ie(D)),Et!==void 0)return Et;if(!jo(D))return D;var mt=Sl(D);if(mt){if(Et=If(D),!P)return Ff(D,Et)}else{var xt=Ro(D),un=xt==d||xt==p;if(Hs(D))return ha(D,P);if(xt==C||xt==i||un&&!Me){if(ae(D))return Me?D:{};if(Et=Mo(un?{}:D),!P)return Vg(D,lo(Et,D))}else{if(!Oe[xt])return Me?D:{};Et=Nf(D,xt,$l,P)}}gt||(gt=new $r);var pr=gt.get(D);if(pr)return pr;if(gt.set(D,Et),!mt)var mn=W?Pf(D):xl(D);return ce(mn||D,function(jt,Rn){mn&&(Rn=jt,jt=D[Rn]),wl(Et,Rn,$l(jt,P,W,ie,Rn,D,gt))}),Et}function Rg(D){return jo(D)?gn(D):{}}function Mg(D,P,W){var ie=P(D);return Sl(D)?ie:ge(ie,W(D))}function jg(D){return Ze.call(D)}function _f(D){if(!jo(D)||Mf(D))return!1;var P=Dl(D)||ae(D)?At:je;return P.test(dr(D))}function Of(D){if(!jf(D))return kr(D);var P=[];for(var W in Object(D))It.call(D,W)&&W!="constructor"&&P.push(W);return P}function ha(D,P){if(P)return D.slice();var W=new D.constructor(D.length);return D.copy(W),W}function ga(D){var P=new D.constructor(D.byteLength);return new hn(P).set(new hn(D)),P}function ma(D,P){var W=P?ga(D.buffer):D.buffer;return new D.constructor(W,D.byteOffset,D.byteLength)}function Cl(D,P,W){var ie=P?W(X(D),!0):X(D);return Ae(ie,q,new D.constructor)}function va(D){var P=new D.constructor(D.source,Fe.exec(D));return P.lastIndex=D.lastIndex,P}function Bf(D,P,W){var ie=P?W(pe(D),!0):pe(D);return Ae(ie,B,new D.constructor)}function zg(D){return Rs?Object(Rs.call(D)):{}}function Tf(D,P){var W=P?ga(D.buffer):D.buffer;return new D.constructor(W,D.byteOffset,D.length)}function Ff(D,P){var W=-1,ie=D.length;for(P||(P=Array(ie));++W<ie;)P[W]=D[W];return P}function ya(D,P,W,ie){W||(W={});for(var Qe=-1,Me=P.length;++Qe<Me;){var gt=P[Qe],Et=ie?ie(W[gt],D[gt],gt,W,D):void 0;wl(W,gt,Et===void 0?D[gt]:Et)}return W}function Vg(D,P){return ya(D,Cr(D),P)}function Pf(D){return Mg(D,xl,Cr)}function ci(D,P){var W=D.__data__;return Rf(P)?W[typeof P=="string"?"string":"hash"]:W.map}function _r(D,P){var W=ve(D,P);return _f(W)?W:void 0}var Cr=er?te(er,Object):Mt,Ro=jg;(fr&&Ro(new fr(new ArrayBuffer(1)))!=O||wr&&Ro(new wr)!=h||tr&&Ro(tr.resolve())!=$||io&&Ro(new io)!=w||ui&&Ro(new ui)!=x)&&(Ro=function(D){var P=Ze.call(D),W=P==C?D.constructor:void 0,ie=W?dr(W):void 0;if(ie)switch(ie){case zi:return O;case No:return h;case so:return $;case jr:return w;case li:return x}return P});function If(D){var P=D.length,W=D.constructor(P);return P&&typeof D[0]=="string"&&It.call(D,"index")&&(W.index=D.index,W.input=D.input),W}function Mo(D){return typeof D.constructor=="function"&&!jf(D)?Rg(Xt(D)):{}}function Nf(D,P,W,ie){var Qe=D.constructor;switch(P){case A:return ga(D);case s:case l:return new Qe(+D);case O:return ma(D,ie);case T:case z:case V:case ue:case oe:case de:case me:case _e:case Ee:return Tf(D,ie);case h:return Cl(D,ie,W);case m:case y:return new Qe(D);case b:return va(D);case w:return Bf(D,ie,W);case S:return zg(D)}}function Lf(D,P){return P=P==null?o:P,!!P&&(typeof D=="number"||Ue.test(D))&&D>-1&&D%1==0&&D<P}function Rf(D){var P=typeof D;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?D!=="__proto__":D===null}function Mf(D){return!!ze&&ze in D}function jf(D){var P=D&&D.constructor,W=typeof P=="function"&&P.prototype||Le;return D===W}function dr(D){if(D!=null){try{return ft.call(D)}catch{}try{return D+""}catch{}}return""}function zf(D){return $l(D,!0,!0)}function El(D,P){return D===P||D!==D&&P!==P}function Vs(D){return Ug(D)&&It.call(D,"callee")&&(!Ar.call(D,"callee")||Ze.call(D)==i)}var Sl=Array.isArray;function Us(D){return D!=null&&Vf(D.length)&&!Dl(D)}function Ug(D){return Uf(D)&&Us(D)}var Hs=cr||Nt;function Dl(D){var P=jo(D)?Ze.call(D):"";return P==d||P==p}function Vf(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=o}function jo(D){var P=typeof D;return!!D&&(P=="object"||P=="function")}function Uf(D){return!!D&&typeof D=="object"}function xl(D){return Us(D)?zs(D):Of(D)}function Mt(){return[]}function Nt(){return!1}e.exports=zf}),ZG=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},Ql;function _8(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var QG=0;function eK(e){return"__private_"+QG+++"_"+e}function tK(e,t,n){const r=[];return e.forEach(o=>typeof o!="string"?r.push(o):t[Symbol.split](o).forEach((i,a,s)=>{i!==""&&r.push(i),a<s.length-1&&r.push(n)})),r}/**
36
36
  * Takes a string with placeholder variables like `%{smart_count} file selected`
37
37
  * and replaces it with values from options `{smart_count: 5}`
38
38
  *
@@ -47,7 +47,7 @@ function print() { __p += __j.call(arguments, '') }
47
47
  type: ${r[i].type}`)}),r.length>0&&Ie(this,yd)[yd](),o.length>0){let i=`Multiple errors occurred while adding files:
48
48
  `;if(o.forEach(a=>{i+=`
49
49
  * ${a.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:o.length}),details:i},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(o,i);{const a=new Error(i);throw a.errors=o,a}}}removeFiles(t,n){const{files:r,currentUploads:o}=this.getState(),i={...r},a={...o},s=Object.create(null);t.forEach(p=>{r[p]&&(s[p]=r[p],delete i[p])});function l(p){return s[p]===void 0}Object.keys(a).forEach(p=>{const h=o[p].fileIDs.filter(l);if(h.length===0){delete a[p];return}a[p]={...o[p],fileIDs:h}});const f={currentUploads:a,files:i};Object.keys(i).length===0&&(f.allowNewUpload=!0,f.error=null,f.recoveredState=null),this.setState(f),this.calculateTotalProgress();const d=Object.keys(s);d.forEach(p=>{this.emit("file-removed",s[p],n)}),d.length>5?this.log(`Removed ${d.length} files`):this.log(`Removed files: ${d.join(", ")}`)}removeFile(t,n){n===void 0&&(n=null),this.removeFiles([t],n)}pauseResume(t){if(!this.getState().capabilities.resumableUploads||this.getFile(t).uploadComplete)return;const r=!(this.getFile(t).isPaused||!1);return this.setFileState(t,{isPaused:r}),this.emit("upload-pause",t,r),r}pauseAll(){const t={...this.getState().files};Object.keys(t).filter(r=>!t[r].progress.uploadComplete&&t[r].progress.uploadStarted).forEach(r=>{const o={...t[r],isPaused:!0};t[r]=o}),this.setState({files:t}),this.emit("pause-all")}resumeAll(){const t={...this.getState().files};Object.keys(t).filter(r=>!t[r].progress.uploadComplete&&t[r].progress.uploadStarted).forEach(r=>{const o={...t[r],isPaused:!1,error:null};t[r]=o}),this.setState({files:t}),this.emit("resume-all")}retryAll(){const t={...this.getState().files},n=Object.keys(t).filter(o=>t[o].error);if(n.forEach(o=>{const i={...t[o],isPaused:!1,error:null};t[o]=i}),this.setState({files:t,error:null}),this.emit("retry-all",n),n.length===0)return Promise.resolve({successful:[],failed:[]});const r=Ie(this,Zi)[Zi](n,{forceAllowNewUpload:!0});return Ie(this,Qi)[Qi](r)}cancelAll(){this.emit("cancel-all");const{files:t}=this.getState(),n=Object.keys(t);n.length&&this.removeFiles(n,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}retryUpload(t){this.setFileState(t,{error:null,isPaused:!1}),this.emit("upload-retry",t);const n=Ie(this,Zi)[Zi]([t],{forceAllowNewUpload:!0});return Ie(this,Qi)[Qi](n)}reset(){this.cancelAll()}logout(){this.iteratePlugins(t=>{t.provider&&t.provider.logout&&t.provider.logout()})}calculateProgress(t,n){if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}const r=Number.isFinite(n.bytesTotal)&&n.bytesTotal>0;this.setFileState(t.id,{progress:{...this.getFile(t.id).progress,bytesUploaded:n.bytesUploaded,bytesTotal:n.bytesTotal,percentage:r?Math.round(n.bytesUploaded/n.bytesTotal*100):0}}),this.calculateTotalProgress()}calculateTotalProgress(){const n=this.getFiles().filter(f=>f.progress.uploadStarted||f.progress.preprocess||f.progress.postprocess);if(n.length===0){this.emit("progress",0),this.setState({totalProgress:0});return}const r=n.filter(f=>f.progress.bytesTotal!=null),o=n.filter(f=>f.progress.bytesTotal==null);if(r.length===0){const f=n.length*100,d=o.reduce((h,m)=>h+m.progress.percentage,0),p=Math.round(d/f*100);this.setState({totalProgress:p});return}let i=r.reduce((f,d)=>f+d.progress.bytesTotal,0);const a=i/r.length;i+=a*o.length;let s=0;r.forEach(f=>{s+=f.progress.bytesUploaded}),o.forEach(f=>{s+=a*(f.progress.percentage||0)/100});let l=i===0?0:Math.round(s/i*100);l>100&&(l=100),this.setState({totalProgress:l}),this.emit("progress",l)}updateOnlineStatus(){(typeof window.navigator.onLine<"u"?window.navigator.onLine:!0)?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(t,n){if(typeof t!="function"){const a=`Expected a plugin class, but got ${t===null?"null":typeof t}. Please verify that the plugin was imported and spelled correctly.`;throw new TypeError(a)}const r=new t(this,n),o=r.id;if(!o)throw new Error("Your plugin must have an id");if(!r.type)throw new Error("Your plugin must have a type");const i=this.getPlugin(o);if(i){const a=`Already found a plugin named '${i.id}'. Tried to use: '${o}'.
50
- Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(a)}return t.VERSION&&this.log(`Using ${o} v${t.VERSION}`),r.type in Ie(this,ir)[ir]?Ie(this,ir)[ir][r.type].push(r):Ie(this,ir)[ir][r.type]=[r],r.install(),this}getPlugin(t){for(const n of Object.values(Ie(this,ir)[ir])){const r=n.find(o=>o.id===t);if(r!=null)return r}}[V8](t){return Ie(this,ir)[ir][t]}iteratePlugins(t){Object.values(Ie(this,ir)[ir]).flat(1).forEach(t)}removePlugin(t){this.log(`Removing plugin ${t.id}`),this.emit("plugin-remove",t),t.uninstall&&t.uninstall();const n=Ie(this,ir)[ir][t.type],r=n.findIndex(a=>a.id===t.id);r!==-1&&n.splice(r,1);const i={plugins:{...this.getState().plugins,[t.id]:void 0}};this.setState(i)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),Ie(this,pd)[pd](),this.iteratePlugins(t=>{this.removePlugin(t)}),typeof window<"u"&&window.removeEventListener&&(window.removeEventListener("online",Ie(this,Yo)[Yo]),window.removeEventListener("offline",Ie(this,Yo)[Yo]))}hideInfo(){const{info:t}=this.getState();this.setState({info:t.slice(1)}),this.emit("info-hidden")}info(t,n,r){n===void 0&&(n="info"),r===void 0&&(r=3e3);const o=typeof t=="object";this.setState({info:[...this.getState().info,{type:n,message:o?t.message:t,details:o?t.details:null}]}),setTimeout(()=>this.hideInfo(),r),this.emit("info-visible")}log(t,n){const{logger:r}=this.opts;switch(n){case"error":r.error(t);break;case"warning":r.warn(t);break;default:r.debug(t);break}}restore(t){return this.log(`Core: attempting to restore upload "${t}"`),this.getState().currentUploads[t]?Ie(this,Qi)[Qi](t):(Ie(this,fu)[fu](t),Promise.reject(new Error("Nonexistent upload")))}[U8](){return Ie(this,Zi)[Zi](...arguments)}addResultData(t,n){if(!Ie(this,S2)[S2](t)){this.log(`Not setting result for an upload that has been removed: ${t}`);return}const{currentUploads:r}=this.getState(),o={...r[t],result:{...r[t].result,...n}};this.setState({currentUploads:{...r,[t]:o}})}upload(){var t;(t=Ie(this,ir)[ir].uploader)!=null&&t.length||this.log("No uploader type plugins are used","warning");let{files:n}=this.getState();const r=this.opts.onBeforeUpload(n);return r===!1?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(r&&typeof r=="object"&&(n=r,this.setState({files:n})),Promise.resolve().then(()=>{Ie(this,$2)[$2](n),Ie(this,C2)[C2](n)}).catch(o=>{Ie(this,zn)[zn](o)}).then(()=>{const{currentUploads:o}=this.getState(),i=Object.values(o).flatMap(l=>l.fileIDs),a=[];Object.keys(n).forEach(l=>{const f=this.getFile(l);!f.progress.uploadStarted&&i.indexOf(l)===-1&&a.push(f.id)});const s=Ie(this,Zi)[Zi](a);return Ie(this,Qi)[Qi](s)}).catch(o=>{Ie(this,zn)[zn](o,{showInformer:!1})}))}}function DK(e,t){t===void 0&&(t=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:i,allowedFileTypes:a}=this.opts.restrictions;if(i&&t.length+1>i)throw new bi(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a&&!a.some(l=>l.indexOf("/")>-1?e.type?uK(e.type.replace(/;.*?$/,""),l):!1:l[0]==="."&&e.extension?e.extension.toLowerCase()===l.substr(1).toLowerCase():!1)){const l=a.join(", ");throw new bi(this.i18n("youCanOnlyUploadFileTypes",{types:l}))}if(o&&e.size!=null){let s=0;if(s+=e.size,t.forEach(l=>{s+=l.size}),s>o)throw new bi(this.i18n("exceedsSize",{size:y2(o),file:e.name}))}if(n&&e.size!=null&&e.size>n)throw new bi(this.i18n("exceedsSize",{size:y2(n),file:e.name}));if(r&&e.size!=null&&e.size<r)throw new bi(this.i18n("inferiorSize",{size:y2(r)}))}function xK(e){const{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new bi(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function AK(e){const{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let i=0;i<t.length;i++)if(!n.call(e.meta,t[i])||e.meta[t[i]]===""){const a=new bi(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(a),o.push(t[i]),Ie(this,zn)[zn](a,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:o}),r}function kK(e){const t=Object.keys(e).flatMap(n=>{const r=this.getFile(n);return Ie(this,gd)[gd](r)});if(t.length)throw new SK(t,`${this.i18n("missingRequiredMetaField")}`)}function _K(e,t){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=t===void 0?{}:t;const i=typeof e=="object"?e.message:e,a=typeof e=="object"&&e.details?e.details:"";let s=i;if(a&&(s+=` ${a}`),e.isRestriction?(this.log(s),this.emit("restriction-failed",r,e)):this.log(s,"error"),n&&this.info({message:i,details:a},"error",this.opts.infoTimeout),o)throw typeof e=="object"?e:new Error(e)}function OK(e){const{allowNewUpload:t}=this.getState();t===!1&&Ie(this,zn)[zn](new bi(this.i18n("noMoreFilesAllowed")),{file:e})}function BK(e,t){const n=hK(t),r=yK(n,t),o=L8(r).extension,i=Boolean(t.isRemote),a=mK({...t,type:n});if(this.checkIfFileAlreadyExists(a)){const p=new bi(this.i18n("noDuplicates",{fileName:r}));Ie(this,zn)[zn](p,{file:t})}const s=t.meta||{};s.name=r,s.type=n;const l=Number.isFinite(t.data.size)?t.data.size:null;let f={source:t.source||"",id:a,name:r,extension:o||"",meta:{...this.getState().meta,...s},type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:l,uploadComplete:!1,uploadStarted:null},size:l,isRemote:i,remote:t.remote||"",preview:t.preview};const d=this.opts.onBeforeFileAdded(f,e);d===!1?Ie(this,zn)[zn](new bi("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):typeof d=="object"&&d!==null&&(f=d);try{const p=Object.keys(e).map(h=>e[h]);Ie(this,hd)[hd](f,p)}catch(p){Ie(this,zn)[zn](p,{file:f})}return f}function TK(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function FK(){const e=(t,n,r)=>{let o=t.message||"Unknown error";t.details&&(o+=` ${t.details}`),this.setState({error:o}),n!=null&&n.id in this.getState().files&&this.setFileState(n.id,{error:o,response:r})};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),typeof n=="object"&&n.message){const o=new Error(n.message);o.details=n.message,n.details&&(o.details+=` ${n.details}`),o.message=this.i18n("failedToUpload",{file:t.name}),Ie(this,zn)[zn](o,{throwErr:!1})}else Ie(this,zn)[zn](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",t=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}this.setFileState(t.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:t.size}})}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(t,n)=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}const r=this.getFile(t.id).progress;this.setFileState(t.id,{progress:{...r,postprocess:Ie(this,Xi)[Xi].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:r.bytesTotal},response:n,uploadURL:n.uploadURL,isPaused:!1}),t.size==null&&this.setFileState(t.id,{size:n.bytesUploaded||r.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(t,n)=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}this.setFileState(t.id,{progress:{...this.getFile(t.id).progress,preprocess:n}})}),this.on("preprocess-complete",t=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}const n={...this.getState().files};n[t.id]={...n[t.id],progress:{...n[t.id].progress}},delete n[t.id].progress.preprocess,this.setState({files:n})}),this.on("postprocess-progress",(t,n)=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}this.setFileState(t.id,{progress:{...this.getState().files[t.id].progress,postprocess:n}})}),this.on("postprocess-complete",t=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}const n={...this.getState().files};n[t.id]={...n[t.id],progress:{...n[t.id].progress}},delete n[t.id].progress.postprocess,this.setState({files:n})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",t=>{t&&Ie(this,gd)[gd](t)}),typeof window<"u"&&window.addEventListener&&(window.addEventListener("online",Ie(this,Yo)[Yo]),window.addEventListener("offline",Ie(this,Yo)[Yo]),setTimeout(Ie(this,Yo)[Yo],3e3))}function PK(e,t){t===void 0&&(t={});const{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!n)throw new Error("Cannot create a new upload: already uploading.");const i=$K();return this.emit("upload",{id:i,fileIDs:e}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:{...o,[i]:{fileIDs:e,step:0,result:{}}}}),i}function IK(e){const{currentUploads:t}=this.getState();return t[e]}function NK(e){const t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function LK(e){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,o=[...Ie(this,lu)[lu],...Ie(this,cu)[cu],...Ie(this,Xi)[Xi]];try{for(let a=r;a<o.length&&n;a++){const s=o[a],l={...n,step:a};this.setState({currentUploads:{...t,[e]:l}}),await s(l.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(a){throw this.emit("error",a),Ie(this,fu)[fu](e),a}if(n){n.fileIDs.forEach(f=>{const d=this.getFile(f);d&&d.progress.postprocess&&this.emit("postprocess-complete",d)});const a=n.fileIDs.map(f=>this.getFile(f)),s=a.filter(f=>!f.error),l=a.filter(f=>f.error);await this.addResultData(e,{successful:s,failed:l,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let i;return n&&(i=n.result,this.emit("complete",i),Ie(this,fu)[fu](e)),i==null&&this.log(`Not setting result for an upload that has been removed: ${e}`),i}H8.VERSION="2.1.3";var W8=H8,RK=Rb(function(e,t){var n,r,o,i,a,s,l,f,d={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function m(G,H){for(var I in H)G[I]=H[I];return G}function C(G){var H=G.parentNode;H&&H.removeChild(G)}function $(G,H,I){var L,Y,q,B={};for(q in H)q=="key"?L=H[q]:q=="ref"?Y=H[q]:B[q]=H[q];if(arguments.length>2&&(B.children=arguments.length>3?n.call(arguments,2):I),typeof G=="function"&&G.defaultProps!=null)for(q in G.defaultProps)B[q]===void 0&&(B[q]=G.defaultProps[q]);return b(G,B,L,Y,null)}function b(G,H,I,L,Y){var q={type:G,props:H,key:I,ref:L,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:Y==null?++o:Y};return Y==null&&r.vnode!=null&&r.vnode(q),q}function w(G){return G.children}function y(G,H){this.props=G,this.context=H}function S(G,H){if(H==null)return G.__?S(G.__,G.__.__k.indexOf(G)+1):null;for(var I;H<G.__k.length;H++)if((I=G.__k[H])!=null&&I.__e!=null)return I.__e;return typeof G.type=="function"?S(G):null}function x(G){var H,I;if((G=G.__)!=null&&G.__c!=null){for(G.__e=G.__c.base=null,H=0;H<G.__k.length;H++)if((I=G.__k[H])!=null&&I.__e!=null){G.__e=G.__c.base=I.__e;break}return x(G)}}function A(G){(!G.__d&&(G.__d=!0)&&a.push(G)&&!O.__r++||l!==r.debounceRendering)&&((l=r.debounceRendering)||s)(O)}function O(){for(var G;O.__r=a.length;)G=a.sort(function(H,I){return H.__v.__b-I.__v.__b}),a=[],G.some(function(H){var I,L,Y,q,B,ce;H.__d&&(B=(q=(I=H).__v).__e,(ce=I.__P)&&(L=[],(Y=m({},q)).__v=q.__v+1,Ee(ce,q,Y,I.__n,ce.ownerSVGElement!==void 0,q.__h!=null?[B]:null,L,B==null?S(q):B,q.__h),Be(L,q),q.__e!=B&&x(q)))})}function T(G,H,I,L,Y,q,B,ce,ge,Ae){var j,ve,ae,X,te,pe,ye,De=L&&L.__k||p,Le=De.length;for(I.__k=[],j=0;j<H.length;j++)if((X=I.__k[j]=(X=H[j])==null||typeof X=="boolean"?null:typeof X=="string"||typeof X=="number"||typeof X=="bigint"?b(null,X,null,null,X):Array.isArray(X)?b(w,{children:X},null,null,null):X.__b>0?b(X.type,X.props,X.key,null,X.__v):X)!=null){if(X.__=I,X.__b=I.__b+1,(ae=De[j])===null||ae&&X.key==ae.key&&X.type===ae.type)De[j]=void 0;else for(ve=0;ve<Le;ve++){if((ae=De[ve])&&X.key==ae.key&&X.type===ae.type){De[ve]=void 0;break}ae=null}Ee(G,X,ae=ae||d,Y,q,B,ce,ge,Ae),te=X.__e,(ve=X.ref)&&ae.ref!=ve&&(ye||(ye=[]),ae.ref&&ye.push(ae.ref,null,X),ye.push(ve,X.__c||te,X)),te!=null?(pe==null&&(pe=te),typeof X.type=="function"&&X.__k===ae.__k?X.__d=ge=z(X,ge,G):ge=V(G,X,ae,De,te,ge),typeof I.type=="function"&&(I.__d=ge)):ge&&ae.__e==ge&&ge.parentNode!=G&&(ge=S(ae))}for(I.__e=pe,j=Le;j--;)De[j]!=null&&(typeof I.type=="function"&&De[j].__e!=null&&De[j].__e==I.__d&&(I.__d=S(L,j+1)),Ue(De[j],De[j]));if(ye)for(j=0;j<ye.length;j++)je(ye[j],ye[++j],ye[++j])}function z(G,H,I){for(var L,Y=G.__k,q=0;Y&&q<Y.length;q++)(L=Y[q])&&(L.__=G,H=typeof L.type=="function"?z(L,H,I):V(I,L,L,Y,L.__e,H));return H}function V(G,H,I,L,Y,q){var B,ce,ge;if(H.__d!==void 0)B=H.__d,H.__d=void 0;else if(I==null||Y!=q||Y.parentNode==null)e:if(q==null||q.parentNode!==G)G.appendChild(Y),B=null;else{for(ce=q,ge=0;(ce=ce.nextSibling)&&ge<L.length;ge+=2)if(ce==Y)break e;G.insertBefore(Y,q),B=q}return B!==void 0?B:Y.nextSibling}function ue(G,H,I,L,Y){var q;for(q in I)q==="children"||q==="key"||q in H||de(G,q,null,I[q],L);for(q in H)Y&&typeof H[q]!="function"||q==="children"||q==="key"||q==="value"||q==="checked"||I[q]===H[q]||de(G,q,H[q],I[q],L)}function oe(G,H,I){H[0]==="-"?G.setProperty(H,I):G[H]=I==null?"":typeof I!="number"||h.test(H)?I:I+"px"}function de(G,H,I,L,Y){var q;e:if(H==="style")if(typeof I=="string")G.style.cssText=I;else{if(typeof L=="string"&&(G.style.cssText=L=""),L)for(H in L)I&&H in I||oe(G.style,H,"");if(I)for(H in I)L&&I[H]===L[H]||oe(G.style,H,I[H])}else if(H[0]==="o"&&H[1]==="n")q=H!==(H=H.replace(/Capture$/,"")),H=H.toLowerCase()in G?H.toLowerCase().slice(2):H.slice(2),G.l||(G.l={}),G.l[H+q]=I,I?L||G.addEventListener(H,q?_e:me,q):G.removeEventListener(H,q?_e:me,q);else if(H!=="dangerouslySetInnerHTML"){if(Y)H=H.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(H!=="href"&&H!=="list"&&H!=="form"&&H!=="tabIndex"&&H!=="download"&&H in G)try{G[H]=I==null?"":I;break e}catch{}typeof I=="function"||(I!=null&&(I!==!1||H[0]==="a"&&H[1]==="r")?G.setAttribute(H,I):G.removeAttribute(H))}}function me(G){this.l[G.type+!1](r.event?r.event(G):G)}function _e(G){this.l[G.type+!0](r.event?r.event(G):G)}function Ee(G,H,I,L,Y,q,B,ce,ge){var Ae,j,ve,ae,X,te,pe,ye,De,Le,Ve,ze=H.type;if(H.constructor!==void 0)return null;I.__h!=null&&(ge=I.__h,ce=H.__e=I.__e,H.__h=null,q=[ce]),(Ae=r.__b)&&Ae(H);try{e:if(typeof ze=="function"){if(ye=H.props,De=(Ae=ze.contextType)&&L[Ae.__c],Le=Ae?De?De.props.value:Ae.__:L,I.__c?pe=(j=H.__c=I.__c).__=j.__E:("prototype"in ze&&ze.prototype.render?H.__c=j=new ze(ye,Le):(H.__c=j=new y(ye,Le),j.constructor=ze,j.render=Oe),De&&De.sub(j),j.props=ye,j.state||(j.state={}),j.context=Le,j.__n=L,ve=j.__d=!0,j.__h=[]),j.__s==null&&(j.__s=j.state),ze.getDerivedStateFromProps!=null&&(j.__s==j.state&&(j.__s=m({},j.__s)),m(j.__s,ze.getDerivedStateFromProps(ye,j.__s))),ae=j.props,X=j.state,ve)ze.getDerivedStateFromProps==null&&j.componentWillMount!=null&&j.componentWillMount(),j.componentDidMount!=null&&j.__h.push(j.componentDidMount);else{if(ze.getDerivedStateFromProps==null&&ye!==ae&&j.componentWillReceiveProps!=null&&j.componentWillReceiveProps(ye,Le),!j.__e&&j.shouldComponentUpdate!=null&&j.shouldComponentUpdate(ye,j.__s,Le)===!1||H.__v===I.__v){j.props=ye,j.state=j.__s,H.__v!==I.__v&&(j.__d=!1),j.__v=H,H.__e=I.__e,H.__k=I.__k,H.__k.forEach(function(ft){ft&&(ft.__=H)}),j.__h.length&&B.push(j);break e}j.componentWillUpdate!=null&&j.componentWillUpdate(ye,j.__s,Le),j.componentDidUpdate!=null&&j.__h.push(function(){j.componentDidUpdate(ae,X,te)})}j.context=Le,j.props=ye,j.state=j.__s,(Ae=r.__r)&&Ae(H),j.__d=!1,j.__v=H,j.__P=G,Ae=j.render(j.props,j.state,j.context),j.state=j.__s,j.getChildContext!=null&&(L=m(m({},L),j.getChildContext())),ve||j.getSnapshotBeforeUpdate==null||(te=j.getSnapshotBeforeUpdate(ae,X)),Ve=Ae!=null&&Ae.type===w&&Ae.key==null?Ae.props.children:Ae,T(G,Array.isArray(Ve)?Ve:[Ve],H,I,L,Y,q,B,ce,ge),j.base=H.__e,H.__h=null,j.__h.length&&B.push(j),pe&&(j.__E=j.__=null),j.__e=!1}else q==null&&H.__v===I.__v?(H.__k=I.__k,H.__e=I.__e):H.__e=Fe(I.__e,H,I,L,Y,q,B,ge);(Ae=r.diffed)&&Ae(H)}catch(ft){H.__v=null,(ge||q!=null)&&(H.__e=ce,H.__h=!!ge,q[q.indexOf(ce)]=null),r.__e(ft,H,I)}}function Be(G,H){r.__c&&r.__c(H,G),G.some(function(I){try{G=I.__h,I.__h=[],G.some(function(L){L.call(I)})}catch(L){r.__e(L,I.__v)}})}function Fe(G,H,I,L,Y,q,B,ce){var ge,Ae,j,ve=I.props,ae=H.props,X=H.type,te=0;if(X==="svg"&&(Y=!0),q!=null){for(;te<q.length;te++)if((ge=q[te])&&"setAttribute"in ge==!!X&&(X?ge.localName===X:ge.nodeType===3)){G=ge,q[te]=null;break}}if(G==null){if(X===null)return document.createTextNode(ae);G=Y?document.createElementNS("http://www.w3.org/2000/svg",X):document.createElement(X,ae.is&&ae),q=null,ce=!1}if(X===null)ve===ae||ce&&G.data===ae||(G.data=ae);else{if(q=q&&n.call(G.childNodes),Ae=(ve=I.props||d).dangerouslySetInnerHTML,j=ae.dangerouslySetInnerHTML,!ce){if(q!=null)for(ve={},te=0;te<G.attributes.length;te++)ve[G.attributes[te].name]=G.attributes[te].value;(j||Ae)&&(j&&(Ae&&j.__html==Ae.__html||j.__html===G.innerHTML)||(G.innerHTML=j&&j.__html||""))}if(ue(G,ae,ve,Y,ce),j)H.__k=[];else if(te=H.props.children,T(G,Array.isArray(te)?te:[te],H,I,L,Y&&X!=="foreignObject",q,B,q?q[0]:I.__k&&S(I,0),ce),q!=null)for(te=q.length;te--;)q[te]!=null&&C(q[te]);ce||("value"in ae&&(te=ae.value)!==void 0&&(te!==ve.value||te!==G.value||X==="progress"&&!te)&&de(G,"value",te,ve.value,!1),"checked"in ae&&(te=ae.checked)!==void 0&&te!==G.checked&&de(G,"checked",te,ve.checked,!1))}return G}function je(G,H,I){try{typeof G=="function"?G(H):G.current=H}catch(L){r.__e(L,I)}}function Ue(G,H,I){var L,Y;if(r.unmount&&r.unmount(G),(L=G.ref)&&(L.current&&L.current!==G.__e||je(L,null,H)),(L=G.__c)!=null){if(L.componentWillUnmount)try{L.componentWillUnmount()}catch(q){r.__e(q,H)}L.base=L.__P=null}if(L=G.__k)for(Y=0;Y<L.length;Y++)L[Y]&&Ue(L[Y],H,typeof G.type!="function");I||G.__e==null||C(G.__e),G.__e=G.__d=void 0}function Oe(G,H,I){return this.constructor(G,I)}function Je(G,H,I){var L,Y,q;r.__&&r.__(G,H),Y=(L=typeof I=="function")?null:I&&I.__k||H.__k,q=[],Ee(H,G=(!L&&I||H).__k=$(w,null,[G]),Y||d,d,H.ownerSVGElement!==void 0,!L&&I?[I]:Y?null:H.firstChild?n.call(H.childNodes):null,q,!L&&I?I:Y?Y.__e:H.firstChild,L),Be(q,G)}n=p.slice,r={__e:function(G,H){for(var I,L,Y;H=H.__;)if((I=H.__c)&&!I.__)try{if((L=I.constructor)&&L.getDerivedStateFromError!=null&&(I.setState(L.getDerivedStateFromError(G)),Y=I.__d),I.componentDidCatch!=null&&(I.componentDidCatch(G),Y=I.__d),Y)return I.__E=I}catch(q){G=q}throw G}},o=0,i=function(G){return G!=null&&G.constructor===void 0},y.prototype.setState=function(G,H){var I;I=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=m({},this.state),typeof G=="function"&&(G=G(m({},I),this.props)),G&&m(I,G),G!=null&&this.__v&&(H&&this.__h.push(H),A(this))},y.prototype.forceUpdate=function(G){this.__v&&(this.__e=!0,G&&this.__h.push(G),A(this))},y.prototype.render=w,a=[],s=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,O.__r=0,f=0,t.Component=y,t.Fragment=w,t.cloneElement=function(G,H,I){var L,Y,q,B=m({},G.props);for(q in H)q=="key"?L=H[q]:q=="ref"?Y=H[q]:B[q]=H[q];return arguments.length>2&&(B.children=arguments.length>3?n.call(arguments,2):I),b(G.type,B,L||G.key,Y||G.ref,null)},t.createContext=function(G,H){var I={__c:H="__cC"+f++,__:G,Consumer:function(L,Y){return L.children(Y)},Provider:function(L){var Y,q;return this.getChildContext||(Y=[],(q={})[H]=this,this.getChildContext=function(){return q},this.shouldComponentUpdate=function(B){this.props.value!==B.value&&Y.some(A)},this.sub=function(B){Y.push(B);var ce=B.componentWillUnmount;B.componentWillUnmount=function(){Y.splice(Y.indexOf(B),1),ce&&ce.call(B)}}),L.children}};return I.Provider.__=I.Consumer.contextType=I},t.createElement=$,t.createRef=function(){return{current:null}},t.h=$,t.hydrate=function G(H,I){Je(H,I,G)},t.isValidElement=i,t.options=r,t.render=Je,t.toChildArray=function G(H,I){return I=I||[],H==null||typeof H=="boolean"||(Array.isArray(H)?H.some(function(L){G(L,I)}):I.push(H)),I}}),MK=function(t){return(t==null?void 0:t.nodeType)===Node.ELEMENT_NODE},jK=function(t,n){return n===void 0&&(n=document),typeof t=="string"?n.querySelector(t):MK(t)?t:null},D2=class{constructor(t,n){n===void 0&&(n={}),this.uppy=t,this.opts=n}getPluginState(){const{plugins:t}=this.uppy.getState();return t[this.id]||{}}setPluginState(t){const{plugins:n}=this.uppy.getState();this.uppy.setState({plugins:{...n,[this.id]:{...n[this.id],...t}}})}setOptions(t){this.opts={...this.opts,...t},this.setPluginState(),this.i18nInit()}i18nInit(){const t=new B8([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=t.translate.bind(t),this.i18nArray=t.translateArray.bind(t),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function q8(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var zK=0;function VK(e){return"__private_"+zK+++"_"+e}const{render:G8}=RK;function UK(e){let t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=o,t||(t=Promise.resolve().then(()=>(t=null,e(...n)))),t}}var bd=VK("updateUI");class x2 extends D2{constructor(){super(...arguments),Object.defineProperty(this,bd,{writable:!0,value:void 0})}mount(t,n){const r=n.id,o=jK(t);if(o){this.isTargetDOMEl=!0;const s=document.createDocumentFragment();return q8(this,bd)[bd]=UK(l=>{!this.uppy.getPlugin(this.id)||(G8(this.render(l),s),this.afterUpdate())}),this.uppy.log(`Installing ${r} to a DOM element '${t}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),G8(this.render(this.uppy.getState()),s),this.el=s.firstElementChild,o.appendChild(s),this.onMount(),this.el}let i;if(typeof t=="object"&&t instanceof x2)i=t;else if(typeof t=="function"){const s=t;this.uppy.iteratePlugins(l=>{if(l instanceof s)return i=l,!1})}if(i)return this.uppy.log(`Installing ${r} to ${i.id}`),this.parent=i,this.el=i.addTarget(n),this.onMount(),this.el;this.uppy.log(`Not installing ${r}`);let a=`Invalid target option given to ${r}.`;throw typeof t=="function"?a+=" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":a+="If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(a)}update(t){if(this.el!=null){var n,r;(n=(r=q8(this,bd))[bd])==null||n.call(r,t)}}unmount(){if(this.isTargetDOMEl){var t;(t=this.el)==null||t.remove()}this.onUnmount()}onMount(){}onUnmount(){}}var HK=x2;const{debugLogger:WK}=j8;var wd=W8,qK=W8,GK=HK,KK=D2,YK=WK;wd.Uppy=qK,wd.UIPlugin=GK,wd.BasePlugin=KK,wd.debugLogger=YK;class JK extends Error{constructor(t,n){n===void 0&&(n=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=t,this.isNetworkError=!0,this.request=n}}var A2=JK,k2=function(){return fetch(...arguments).catch(t=>{throw t.name==="AbortError"?t:new A2(t)})};class XK extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var ZK=XK,N0,Ta,wi,Fa,K8;function $i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var QK=0;function _2(e){return"__private_"+QK+++"_"+e}function eY(e){return e.replace(/\/$/,"")}async function O2(e){if(e.status===401)throw new ZK;const t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{const r=await t;n=r.message?`${n} message: ${r.message}`:n,n=r.requestId?`${n} request-Id: ${r.requestId}`:n}finally{throw new Error(n)}}return t}var B2=(K8=(Ta=_2("getPostResponseFunc"),wi=_2("getUrl"),Fa=_2("errorHandler"),N0=class $V{constructor(t,n){Object.defineProperty(this,Fa,{value:nY}),Object.defineProperty(this,wi,{value:tY}),Object.defineProperty(this,Ta,{writable:!0,value:r=>o=>r?o:this.onReceiveResponse(o)}),this.uppy=t,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){const{companion:t}=this.uppy.getState(),n=this.opts.companionUrl;return eY(t&&t[n]?t[n]:n)}headers(){const t=this.opts.companionHeaders||{};return Promise.resolve({...$V.defaultHeaders,...t})}onReceiveResponse(t){const r=this.uppy.getState().companion||{},o=this.opts.companionUrl,{headers:i}=t;return i.has("i-am")&&i.get("i-am")!==r[o]&&this.uppy.setState({companion:{...r,[o]:i.get("i-am")}}),t}preflight(t){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch($i(this,wi)[wi](t),{method:"OPTIONS"}).then(n=>(n.headers.has("access-control-allow-headers")&&(this.allowedHeaders=n.headers.get("access-control-allow-headers").split(",").map(r=>r.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(n=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${n}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(t){return Promise.all([this.preflight(t),this.headers()]).then(n=>{let[r,o]=n;return Object.keys(o).forEach(i=>{r.includes(i.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${i}`),delete o[i])}),o})}get(t,n){const r="get";return this.preflightAndHeaders(t).then(o=>k2($i(this,wi)[wi](t),{method:r,headers:o,credentials:this.opts.companionCookiesRule||"same-origin"})).then($i(this,Ta)[Ta](n)).then(O2).catch($i(this,Fa)[Fa](r,t))}post(t,n,r){const o="post";return this.preflightAndHeaders(t).then(i=>k2($i(this,wi)[wi](t),{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then($i(this,Ta)[Ta](r)).then(O2).catch($i(this,Fa)[Fa](o,t))}delete(t,n,r){const o="delete";return this.preflightAndHeaders(t).then(i=>k2(`${this.hostname}/${t}`,{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then($i(this,Ta)[Ta](r)).then(O2).catch($i(this,Fa)[Fa](o,t))}}),N0.VERSION="2.0.4",N0.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${N0.VERSION}`},K8);function tY(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function nY(e,t){return n=>{var r;if(!((r=n)!=null&&r.isAuthError)){const o=new Error(`Could not ${e} ${$i(this,wi)[wi](t)}`);o.cause=n,n=o}return Promise.reject(n)}}var rY=(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),oY=e=>Promise.resolve(localStorage.getItem(e)),iY=e=>new Promise(t=>{localStorage.removeItem(e),t()}),aY={setItem:rY,getItem:oY,removeItem:iY};const sY=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");var uY=class extends B2{constructor(t,n){super(t,n),this.provider=n.provider,this.id=this.provider,this.name=this.opts.name||sY(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(t=>{let[n,r]=t;const o={};return r&&(o["uppy-auth-token"]=r),this.companionKeysParams&&(o["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...n,...o}})}onReceiveResponse(t){t=super.onReceiveResponse(t);const n=this.uppy.getPlugin(this.pluginId),o=n.getPluginState().authenticated?t.status!==401:t.status<400;return n.setPluginState({authenticated:o}),t}setAuthToken(t){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,t)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(t){return t===void 0&&(t={}),this.preAuthToken&&(t.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(t)}`}fileUrl(t){return`${this.hostname}/${this.id}/get/${t}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(t=>{this.preAuthToken=t.token}).catch(t=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${t}`,"warning")}):Promise.resolve()}list(t){return this.get(`${this.id}/list/${t||""}`)}logout(){return this.get(`${this.id}/logout`).then(t=>Promise.all([t,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(t=>{let[n]=t;return n})}static initPlugin(t,n,r){if(t.type="acquirer",t.files=[],r&&(t.opts={...r,...n}),n.serverUrl||n.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(n.companionAllowedHosts){const o=n.companionAllowedHosts;if(typeof o!="string"&&!Array.isArray(o)&&!(o instanceof RegExp))throw new TypeError(`${t.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);t.opts.companionAllowedHosts=o}else/^(?!https?:\/\/).*$/i.test(n.companionUrl)?t.opts.companionAllowedHosts=`https://${n.companionUrl.replace(/^\/\//,"")}`:t.opts.companionAllowedHosts=new URL(n.companionUrl).origin;t.storage=t.opts.storage||aY}};const lY=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");var cY=class extends B2{constructor(t,n){super(t,n),this.provider=n.provider,this.id=this.provider,this.name=this.opts.name||lY(this.id),this.pluginId=this.opts.pluginId}fileUrl(t){return`${this.hostname}/search/${this.id}/get/${t}`}search(t,n){return n=n?`&${n}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(t)}${n}`)}},Ci,Pa,yo,mr,L0;let Y8,J8;function _n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var fY=0;function $d(e){return"__private_"+fY+++"_"+e}var dY=(Ci=$d("queued"),Pa=$d("emitter"),yo=$d("isOpen"),mr=$d("socket"),L0=$d("handleMessage"),Y8=Symbol.for("uppy test: getSocket"),J8=Symbol.for("uppy test: getQueued"),class{constructor(t){Object.defineProperty(this,Ci,{writable:!0,value:[]}),Object.defineProperty(this,Pa,{writable:!0,value:T8()}),Object.defineProperty(this,yo,{writable:!0,value:!1}),Object.defineProperty(this,mr,{writable:!0,value:void 0}),Object.defineProperty(this,L0,{writable:!0,value:n=>{try{const r=JSON.parse(n.data);this.emit(r.action,r.payload)}catch(r){console.log(r)}}}),this.opts=t,(!t||t.autoOpen!==!1)&&this.open()}get isOpen(){return _n(this,yo)[yo]}[Y8](){return _n(this,mr)[mr]}[J8](){return _n(this,Ci)[Ci]}open(){_n(this,mr)[mr]=new WebSocket(this.opts.target),_n(this,mr)[mr].onopen=()=>{for(_n(this,yo)[yo]=!0;_n(this,Ci)[Ci].length>0&&_n(this,yo)[yo];){const t=_n(this,Ci)[Ci].shift();this.send(t.action,t.payload)}},_n(this,mr)[mr].onclose=()=>{_n(this,yo)[yo]=!1},_n(this,mr)[mr].onmessage=_n(this,L0)[L0]}close(){var t;(t=_n(this,mr)[mr])==null||t.close()}send(t,n){if(!_n(this,yo)[yo]){_n(this,Ci)[Ci].push({action:t,payload:n});return}_n(this,mr)[mr].send(JSON.stringify({action:t,payload:n}))}on(t,n){_n(this,Pa)[Pa].on(t,n)}emit(t,n){_n(this,Pa)[Pa].emit(t,n)}once(t,n){_n(this,Pa)[Pa].once(t,n)}}),pY={RequestClient:B2,Provider:uY,SearchProvider:cY,Socket:dY};function hY(e,t,n){const{progress:r,bytesUploaded:o,bytesTotal:i}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:o,bytesTotal:i}))}var gY=uu(hY,300,{leading:!0,trailing:!0}),mY=function(t){const r=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(t)[1];return`${/^http:\/\//i.test(t)?"ws":"wss"}://${r}`},vY=function(t){const n=[],r=[];function o(s){n.push(s)}function i(s){r.push(s)}return Promise.all(t.map(s=>s.then(o,i))).then(()=>({successful:n,failed:r}))},Ia,ec;function Cd(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var yY=0;function X8(e){return"__private_"+yY+++"_"+e}var Z8=(Ia=X8("emitter"),ec=X8("events"),class{constructor(t){Object.defineProperty(this,Ia,{writable:!0,value:void 0}),Object.defineProperty(this,ec,{writable:!0,value:[]}),Cd(this,Ia)[Ia]=t}on(t,n){return Cd(this,ec)[ec].push([t,n]),Cd(this,Ia)[Ia].on(t,n)}remove(){for(const[t,n]of Cd(this,ec)[ec].splice(0))Cd(this,Ia)[Ia].off(t,n)}});function bo(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bY=0;function R0(e){return"__private_"+bY+++"_"+e}var ea=R0("aliveTimer"),du=R0("isDone"),Ed=R0("onTimedOut"),pu=R0("timeout");class wY{constructor(t,n){Object.defineProperty(this,ea,{writable:!0,value:void 0}),Object.defineProperty(this,du,{writable:!0,value:!1}),Object.defineProperty(this,Ed,{writable:!0,value:void 0}),Object.defineProperty(this,pu,{writable:!0,value:void 0}),bo(this,pu)[pu]=t,bo(this,Ed)[Ed]=n}progress(){bo(this,du)[du]||bo(this,pu)[pu]>0&&(clearTimeout(bo(this,ea)[ea]),bo(this,ea)[ea]=setTimeout(bo(this,Ed)[Ed],bo(this,pu)[pu]))}done(){bo(this,du)[du]||(clearTimeout(bo(this,ea)[ea]),bo(this,ea)[ea]=null,bo(this,du)[du]=!0)}}var Q8=wY;function On(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var $Y=0;function hu(e){return"__private_"+$Y+++"_"+e}function CY(){return new Error("Cancelled")}var Kr=hu("activeRequests"),Dr=hu("queuedHandlers"),Sd=hu("call"),Dd=hu("queueNext"),T2=hu("next"),F2=hu("queue"),P2=hu("dequeue");class EY{constructor(t){Object.defineProperty(this,P2,{value:kY}),Object.defineProperty(this,F2,{value:AY}),Object.defineProperty(this,T2,{value:xY}),Object.defineProperty(this,Dd,{value:DY}),Object.defineProperty(this,Sd,{value:SY}),Object.defineProperty(this,Kr,{writable:!0,value:0}),Object.defineProperty(this,Dr,{writable:!0,value:[]}),typeof t!="number"||t===0?this.limit=1/0:this.limit=t}run(t,n){return On(this,Kr)[Kr]<this.limit?On(this,Sd)[Sd](t):On(this,F2)[F2](t,n)}wrapPromiseFunction(t,n){var r=this;return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];let s;const l=new Promise((f,d)=>{s=r.run(()=>{let p,h;try{h=Promise.resolve(t(...i))}catch(m){h=Promise.reject(m)}return h.then(m=>{p?d(p):(s.done(),f(m))},m=>{p?d(p):(s.done(),d(m))}),()=>{p=CY()}},n)});return l.abort=()=>{s.abort()},l}}}function SY(e){On(this,Kr)[Kr]+=1;let t=!1,n;try{n=e()}catch(r){throw On(this,Kr)[Kr]-=1,r}return{abort:()=>{t||(t=!0,On(this,Kr)[Kr]-=1,n(),On(this,Dd)[Dd]())},done:()=>{t||(t=!0,On(this,Kr)[Kr]-=1,On(this,Dd)[Dd]())}}}function DY(){queueMicrotask(()=>On(this,T2)[T2]())}function xY(){if(On(this,Kr)[Kr]>=this.limit||On(this,Dr)[Dr].length===0)return;const e=On(this,Dr)[Dr].shift(),t=On(this,Sd)[Sd](e.fn);e.abort=t.abort,e.done=t.done}function AY(e,t){t===void 0&&(t={});const n={fn:e,priority:t.priority||0,abort:()=>{On(this,P2)[P2](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=On(this,Dr)[Dr].findIndex(o=>n.priority>o.priority);return r===-1?On(this,Dr)[Dr].push(n):On(this,Dr)[Dr].splice(r,0,n),n}function kY(e){const t=On(this,Dr)[Dr].indexOf(e);t!==-1&&On(this,Dr)[Dr].splice(t,1)}var _Y={RateLimitedQueue:EY,internalRateLimitedQueue:Symbol("__queue")};function OY(e){return e?e.readyState!==0&&e.readyState!==4||e.status===0:!1}var ek=OY,BY={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}},tk,nk;const{nanoid:TY}=z8,{Provider:FY,RequestClient:PY,Socket:IY}=pY,{RateLimitedQueue:NY,internalRateLimitedQueue:I2}=_Y;function rk(e,t){let n=t;return n||(n=new Error("Upload error")),typeof n=="string"&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),ek(e)?(n=new A2(n,e),n):(n.request=e,n)}function ok(e){return e.data.slice(0,e.data.size,e.meta.type)}var LY=(nk=tk=class extends D2{constructor(t,n){super(t,n),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=BY;const r={formData:!0,fieldName:n.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:30*1e3,limit:5,withCredentials:!1,responseType:"",getResponseData(o){let i={};try{i=JSON.parse(o)}catch(a){t.log(a)}return i},getResponseError(o,i){let a=new Error("Upload error");return ek(i)&&(a=new A2(a,i)),a},validateStatus(o){return o>=200&&o<300}};if(this.opts={...r,...n},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),I2 in this.opts?this.requests=this.opts[I2]:this.requests=new NY(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(t){const n=this.uppy.getState().xhrUpload,{headers:r}=this.opts,o={...this.opts,...n||{},...t.xhrUpload||{},headers:{}};return typeof r=="function"?o.headers=r(t):Object.assign(o.headers,this.opts.headers),n&&Object.assign(o.headers,n.headers),t.xhrUpload&&Object.assign(o.headers,t.xhrUpload.headers),o}addMetadata(t,n,r){(Array.isArray(r.metaFields)?r.metaFields:Object.keys(n)).forEach(i=>{t.append(i,n[i])})}createFormDataUpload(t,n){const r=new FormData;this.addMetadata(r,t.meta,n);const o=ok(t);return t.name?r.append(n.fieldName,o,t.meta.name):r.append(n.fieldName,o),r}createBundledUpload(t,n){const r=new FormData,{meta:o}=this.uppy.getState();return this.addMetadata(r,o,n),t.forEach(i=>{const a=this.getOptions(i),s=ok(i);i.name?r.append(a.fieldName,s,i.name):r.append(a.fieldName,s)}),r}upload(t,n,r){const o=this.getOptions(t);return this.uppy.log(`uploading ${n} of ${r}`),new Promise((i,a)=>{this.uppy.emit("upload-started",t);const s=o.formData?this.createFormDataUpload(t,o):t.data,l=new XMLHttpRequest;this.uploaderEvents[t.id]=new Z8(this.uppy);const f=new Q8(o.timeout,()=>{l.abort(),p.done();const h=new Error(this.i18n("timedOut",{seconds:Math.ceil(o.timeout/1e3)}));this.uppy.emit("upload-error",t,h),a(h)}),d=TY();l.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${d} started`)}),l.upload.addEventListener("progress",h=>{this.uppy.log(`[XHRUpload] ${d} progress: ${h.loaded} / ${h.total}`),f.progress(),h.lengthComputable&&this.uppy.emit("upload-progress",t,{uploader:this,bytesUploaded:h.loaded,bytesTotal:h.total})}),l.addEventListener("load",h=>{if(this.uppy.log(`[XHRUpload] ${d} finished`),f.done(),p.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),o.validateStatus(h.target.status,l.responseText,l)){const b=o.getResponseData(l.responseText,l),w=b[o.responseUrlFieldName],y={status:h.target.status,body:b,uploadURL:w};return this.uppy.emit("upload-success",t,y),w&&this.uppy.log(`Download ${t.name} from ${w}`),i(t)}const m=o.getResponseData(l.responseText,l),C=rk(l,o.getResponseError(l.responseText,l)),$={status:h.target.status,body:m};return this.uppy.emit("upload-error",t,C,$),a(C)}),l.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${d} errored`),f.done(),p.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null);const h=rk(l,o.getResponseError(l.responseText,l));return this.uppy.emit("upload-error",t,h),a(h)}),l.open(o.method.toUpperCase(),o.endpoint,!0),l.withCredentials=o.withCredentials,o.responseType!==""&&(l.responseType=o.responseType);const p=this.requests.run(()=>{this.uppy.emit("upload-started",t);const h=this.getOptions(t);return Object.keys(h.headers).forEach(m=>{l.setRequestHeader(m,h.headers[m])}),l.send(s),()=>{f.done(),l.abort()}});this.onFileRemove(t.id,()=>{p.abort(),a(new Error("File removed"))}),this.onCancelAll(t.id,()=>{p.abort(),a(new Error("Upload cancelled"))})})}uploadRemote(t){const n=this.getOptions(t);return new Promise((r,o)=>{this.uppy.emit("upload-started",t);const i={};(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t.meta)).forEach(f=>{i[f]=t.meta[f]});const s=t.remote.providerOptions.provider?FY:PY;new s(this.uppy,t.remote.providerOptions).post(t.remote.url,{...t.remote.body,endpoint:n.endpoint,size:t.data.size,fieldname:n.fieldName,metadata:i,httpMethod:n.method,useFormData:n.formData,headers:n.headers}).then(f=>{const{token:d}=f,p=mY(t.remote.companionUrl),h=new IY({target:`${p}/api/${d}`,autoOpen:!1});this.uploaderEvents[t.id]=new Z8(this.uppy),this.onFileRemove(t.id,()=>{h.send("cancel",{}),m.abort(),r(`upload ${t.id} was removed`)}),this.onCancelAll(t.id,()=>{h.send("cancel",{}),m.abort(),r(`upload ${t.id} was canceled`)}),this.onRetry(t.id,()=>{h.send("pause",{}),h.send("resume",{})}),this.onRetryAll(t.id,()=>{h.send("pause",{}),h.send("resume",{})}),h.on("progress",C=>gY(this,C,t)),h.on("success",C=>{const $=n.getResponseData(C.response.responseText,C.response),b=$[n.responseUrlFieldName],w={status:C.response.status,body:$,uploadURL:b};return this.uppy.emit("upload-success",t,w),m.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),r()}),h.on("error",C=>{const $=C.response,b=$?n.getResponseError($.responseText,$):Object.assign(new Error(C.error.message),{cause:C.error});this.uppy.emit("upload-error",t,b),m.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),o(b)});const m=this.requests.run(()=>(h.open(),t.isPaused&&h.send("pause",{}),()=>h.close()))}).catch(f=>{this.uppy.emit("upload-error",t,f),o(f)})})}uploadBundle(t){return new Promise((n,r)=>{const{endpoint:o}=this.opts,{method:i}=this.opts,a=this.uppy.getState().xhrUpload,s=this.createBundledUpload(t,{...this.opts,...a||{}}),l=new XMLHttpRequest,f=new Q8(this.opts.timeout,()=>{l.abort();const p=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));d(p),r(p)}),d=p=>{t.forEach(h=>{this.uppy.emit("upload-error",h,p)})};l.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),f.progress()}),l.upload.addEventListener("progress",p=>{f.progress(),p.lengthComputable&&t.forEach(h=>{this.uppy.emit("upload-progress",h,{uploader:this,bytesUploaded:p.loaded/p.total*h.size,bytesTotal:h.size})})}),l.addEventListener("load",p=>{if(f.done(),this.opts.validateStatus(p.target.status,l.responseText,l)){const m=this.opts.getResponseData(l.responseText,l),C={status:p.target.status,body:m};return t.forEach($=>{this.uppy.emit("upload-success",$,C)}),n()}const h=this.opts.getResponseError(l.responseText,l)||new Error("Upload error");return h.request=l,d(h),r(h)}),l.addEventListener("error",()=>{f.done();const p=this.opts.getResponseError(l.responseText,l)||new Error("Upload error");return d(p),r(p)}),this.uppy.on("cancel-all",()=>{f.done(),l.abort()}),l.open(i.toUpperCase(),o,!0),l.withCredentials=this.opts.withCredentials,this.opts.responseType!==""&&(l.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(p=>{l.setRequestHeader(p,this.opts.headers[p])}),l.send(s),t.forEach(p=>{this.uppy.emit("upload-started",p)})})}uploadFiles(t){const n=t.map((r,o)=>{const i=parseInt(o,10)+1,a=t.length;return r.error?Promise.reject(new Error(r.error)):r.isRemote?this.uploadRemote(r,i,a):this.upload(r,i,a)});return vY(n)}onFileRemove(t,n){this.uploaderEvents[t].on("file-removed",r=>{t===r.id&&n(r.id)})}onRetry(t,n){this.uploaderEvents[t].on("upload-retry",r=>{t===r&&n()})}onRetryAll(t,n){this.uploaderEvents[t].on("retry-all",()=>{!this.uppy.getFile(t)||n()})}onCancelAll(t,n){this.uploaderEvents[t].on("cancel-all",()=>{!this.uppy.getFile(t)||n()})}handleUpload(t){if(t.length===0)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();this.opts.limit===0&&!this.opts[I2]&&this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const n=t.map(r=>this.uppy.getFile(r));if(this.opts.bundle){if(n.some(o=>o.isRemote))throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers=="function")throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(n)}return this.uploadFiles(n).then(()=>null)}install(){if(this.opts.bundle){const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}},tk.VERSION="2.0.6",nk),ik=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xd(e){var t={exports:{}};return e(t,t.exports),t.exports}var Na,M0,j0=function(e){return e&&e.Math==Math&&e},be=j0(typeof globalThis=="object"&&globalThis)||j0(typeof window=="object"&&window)||j0(typeof self=="object"&&self)||j0(typeof ik=="object"&&ik)||function(){return this}()||Function("return this")(),RY=Object.defineProperty,N2=function(e,t){try{RY(be,e,{value:t,configurable:!0,writable:!0})}catch{be[e]=t}return t},La=be["__core-js_shared__"]||N2("__core-js_shared__",{}),L2=xd(function(e){(e.exports=function(t,n){return La[t]||(La[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),ak=Function.prototype,R2=ak.bind,M2=ak.call,MY=R2&&R2.bind(M2),Ne=R2?function(e){return e&&MY(M2,e)}:function(e){return e&&function(){return M2.apply(e,arguments)}},jY=be.TypeError,wo=function(e){if(e==null)throw jY("Can't call method on "+e);return e},zY=be.Object,Ra=function(e){return zY(wo(e))},VY=Ne({}.hasOwnProperty),$n=Object.hasOwn||function(e,t){return VY(Ra(e),t)},UY=0,HY=Math.random(),WY=Ne(1 .toString),j2=function(e){return"Symbol("+(e===void 0?"":e)+")_"+WY(++UY+HY,36)},Ft=function(e){return typeof e=="function"},qY=function(e){return Ft(e)?e:void 0},gu=function(e,t){return arguments.length<2?qY(be[e]):be[e]&&be[e][t]},tc=gu("navigator","userAgent")||"",sk=be.process,uk=be.Deno,lk=sk&&sk.versions||uk&&uk.version,ck=lk&&lk.v8;ck&&(M0=(Na=ck.split("."))[0]>0&&Na[0]<4?1:+(Na[0]+Na[1])),!M0&&tc&&(!(Na=tc.match(/Edge\/(\d+)/))||Na[1]>=74)&&(Na=tc.match(/Chrome\/(\d+)/))&&(M0=+Na[1]);var Ad=M0,kt=function(e){try{return!!e()}catch{return!0}},z2=!!Object.getOwnPropertySymbols&&!kt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ad&&Ad<41}),V2=z2&&!Symbol.sham&&typeof Symbol.iterator=="symbol",kd=L2("wks"),mu=be.Symbol,fk=mu&&mu.for,GY=V2?mu:mu&&mu.withoutSetter||j2,nn=function(e){if(!$n(kd,e)||!z2&&typeof kd[e]!="string"){var t="Symbol."+e;z2&&$n(mu,e)?kd[e]=mu[e]:kd[e]=V2&&fk?fk(t):GY(t)}return kd[e]},dk={};dk[nn("toStringTag")]="z";var U2=String(dk)==="[object z]",Jn=!kt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Wt=function(e){return typeof e=="object"?e!==null:Ft(e)},H2=be.document,KY=Wt(H2)&&Wt(H2.createElement),_d=function(e){return KY?H2.createElement(e):{}},pk=!Jn&&!kt(function(){return Object.defineProperty(_d("div"),"a",{get:function(){return 7}}).a!=7}),YY=be.String,JY=be.TypeError,Cn=function(e){if(Wt(e))return e;throw JY(YY(e)+" is not an object")},Od=Function.prototype.call,yt=Od.bind?Od.bind(Od):function(){return Od.apply(Od,arguments)},vu=Ne({}.isPrototypeOf),XY=be.Object,W2=V2?function(e){return typeof e=="symbol"}:function(e){var t=gu("Symbol");return Ft(t)&&vu(t.prototype,XY(e))},ZY=be.String,z0=function(e){try{return ZY(e)}catch{return"Object"}},QY=be.TypeError,Ma=function(e){if(Ft(e))return e;throw QY(z0(e)+" is not a function")},yu=function(e,t){var n=e[t];return n==null?void 0:Ma(n)},eJ=be.TypeError,tJ=be.TypeError,nJ=nn("toPrimitive"),rJ=function(e,t){if(!Wt(e)||W2(e))return e;var n,r=yu(e,nJ);if(r){if(t===void 0&&(t="default"),n=yt(r,e,t),!Wt(n)||W2(n))return n;throw tJ("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&Ft(a=o.toString)&&!Wt(s=yt(a,o))||Ft(a=o.valueOf)&&!Wt(s=yt(a,o))||i!=="string"&&Ft(a=o.toString)&&!Wt(s=yt(a,o)))return s;throw eJ("Can't convert object to primitive value")}(e,t)},q2=function(e){var t=rJ(e,"string");return W2(t)?t:t+""},oJ=be.TypeError,hk=Object.defineProperty,Jo={f:Jn?hk:function(e,t,n){if(Cn(e),t=q2(t),Cn(n),pk)try{return hk(e,t,n)}catch{}if("get"in n||"set"in n)throw oJ("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},V0=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Xo=Jn?function(e,t,n){return Jo.f(e,t,V0(1,n))}:function(e,t,n){return e[t]=n,e},iJ=Ne(Function.toString);Ft(La.inspectSource)||(La.inspectSource=function(e){return iJ(e)});var U0,Bd,H0,W0=La.inspectSource,gk=be.WeakMap,mk=Ft(gk)&&/native code/.test(W0(gk)),vk=L2("keys"),G2=function(e){return vk[e]||(vk[e]=j2(e))},q0={},K2=be.TypeError,aJ=be.WeakMap;if(mk||La.state){var bu=La.state||(La.state=new aJ),sJ=Ne(bu.get),yk=Ne(bu.has),uJ=Ne(bu.set);U0=function(e,t){if(yk(bu,e))throw new K2("Object already initialized");return t.facade=e,uJ(bu,e,t),t},Bd=function(e){return sJ(bu,e)||{}},H0=function(e){return yk(bu,e)}}else{var nc=G2("state");q0[nc]=!0,U0=function(e,t){if($n(e,nc))throw new K2("Object already initialized");return t.facade=e,Xo(e,nc,t),t},Bd=function(e){return $n(e,nc)?e[nc]:{}},H0=function(e){return $n(e,nc)}}var vr={set:U0,get:Bd,has:H0,enforce:function(e){return H0(e)?Bd(e):U0(e,{})},getterFor:function(e){return function(t){var n;if(!Wt(t)||(n=Bd(t)).type!==e)throw K2("Incompatible receiver, "+e+" required");return n}}},bk=Function.prototype,lJ=Jn&&Object.getOwnPropertyDescriptor,Y2=$n(bk,"name"),rc={EXISTS:Y2,PROPER:Y2&&function(){}.name==="something",CONFIGURABLE:Y2&&(!Jn||Jn&&lJ(bk,"name").configurable)},Fr=xd(function(e){var t=rc.CONFIGURABLE,n=vr.get,r=vr.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;Ft(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!$n(s,"name")||t&&s.name!==m)&&Xo(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==be?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Xo(i,a,s)):p?i[a]=s:N2(a,s)})(Function.prototype,"toString",function(){return Ft(this)&&n(this).source||W0(this)})}),cJ=Ne({}.toString),fJ=Ne("".slice),Zo=function(e){return fJ(cJ(e),8,-1)},dJ=nn("toStringTag"),pJ=be.Object,hJ=Zo(function(){return arguments}())=="Arguments",G0=U2?Zo:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=pJ(e),dJ))=="string"?n:hJ?Zo(t):(r=Zo(t))=="Object"&&Ft(t.callee)?"Arguments":r},gJ=U2?{}.toString:function(){return"[object "+G0(this)+"]"};U2||Fr(Object.prototype,"toString",gJ,{unsafe:!0});var K0={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},J2=_d("span").classList,wk=J2&&J2.constructor&&J2.constructor.prototype,$k=wk===Object.prototype?void 0:wk,Ck=Ne(Ne.bind),wu=function(e,t){return Ma(e),t===void 0?e:Ck?Ck(e,t):function(){return e.apply(t,arguments)}},X2=be.Object,mJ=Ne("".split),Y0=kt(function(){return!X2("z").propertyIsEnumerable(0)})?function(e){return Zo(e)=="String"?mJ(e,""):X2(e)}:X2,vJ=Math.ceil,yJ=Math.floor,Td=function(e){var t=+e;return t!=t||t===0?0:(t>0?yJ:vJ)(t)},bJ=Math.min,oc=function(e){return e>0?bJ(Td(e),9007199254740991):0},$u=function(e){return oc(e.length)},J0=Array.isArray||function(e){return Zo(e)=="Array"},Ek=function(){},wJ=[],Sk=gu("Reflect","construct"),Z2=/^\s*(?:class|function)\b/,$J=Ne(Z2.exec),CJ=!Z2.exec(Ek),Fd=function(e){if(!Ft(e))return!1;try{return Sk(Ek,wJ,e),!0}catch{return!1}},X0=!Sk||kt(function(){var e;return Fd(Fd.call)||!Fd(Object)||!Fd(function(){e=!0})||e})?function(e){if(!Ft(e))return!1;switch(G0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return CJ||!!$J(Z2,W0(e))}:Fd,EJ=nn("species"),Dk=be.Array,xk=function(e,t){return new(function(n){var r;return J0(n)&&(r=n.constructor,(X0(r)&&(r===Dk||J0(r.prototype))||Wt(r)&&(r=r[EJ])===null)&&(r=void 0)),r===void 0?Dk:r}(e))(t===0?0:t)},Ak=Ne([].push),ja=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=Ra(l),$=Y0(C),b=wu(f,d),w=$u($),y=0,S=p||xk,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Ak(x,h)}else switch(e){case 4:return!1;case 7:Ak(x,h)}return i?-1:r||o?o:x}},ic={forEach:ja(0),map:ja(1),filter:ja(2),some:ja(3),every:ja(4),find:ja(5),findIndex:ja(6),filterReject:ja(7)},kk=function(e,t){var n=[][e];return!!n&&kt(function(){n.call(null,t||function(){throw 1},1)})},SJ=ic.forEach,Q2=kk("forEach")?[].forEach:function(e){return SJ(this,e,arguments.length>1?arguments[1]:void 0)},_k=function(e){if(e&&e.forEach!==Q2)try{Xo(e,"forEach",Q2)}catch{e.forEach=Q2}};for(var ew in K0)K0[ew]&&_k(be[ew]&&be[ew].prototype);_k($k);var Ok={}.propertyIsEnumerable,Bk=Object.getOwnPropertyDescriptor,DJ=Bk&&!Ok.call({1:2},1)?function(e){var t=Bk(this,e);return!!t&&t.enumerable}:Ok,Tk={f:DJ},za=function(e){return Y0(wo(e))},Fk=Object.getOwnPropertyDescriptor,Pd={f:Jn?Fk:function(e,t){if(e=za(e),t=q2(t),pk)try{return Fk(e,t)}catch{}if($n(e,t))return V0(!yt(Tk.f,e,t),e[t])}},xJ=Math.max,AJ=Math.min,ac=function(e,t){var n=Td(e);return n<0?xJ(n+t,0):AJ(n,t)},Pk=function(e){return function(t,n,r){var o,i=za(t),a=$u(i),s=ac(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Ik={includes:Pk(!0),indexOf:Pk(!1)},kJ=Ik.indexOf,Nk=Ne([].push),Lk=function(e,t){var n,r=za(e),o=0,i=[];for(n in r)!$n(q0,n)&&$n(r,n)&&Nk(i,n);for(;t.length>o;)$n(r,n=t[o++])&&(~kJ(i,n)||Nk(i,n));return i},Z0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_J=Z0.concat("length","prototype"),Id={f:Object.getOwnPropertyNames||function(e){return Lk(e,_J)}},Rk={f:Object.getOwnPropertySymbols},OJ=Ne([].concat),BJ=gu("Reflect","ownKeys")||function(e){var t=Id.f(Cn(e)),n=Rk.f;return n?OJ(t,n(e)):t},TJ=function(e,t){for(var n=BJ(t),r=Jo.f,o=Pd.f,i=0;i<n.length;i++){var a=n[i];$n(e,a)||r(e,a,o(t,a))}},FJ=/#|\.prototype\./,Nd=function(e,t){var n=IJ[PJ(e)];return n==LJ||n!=NJ&&(Ft(t)?kt(t):!!t)},PJ=Nd.normalize=function(e){return String(e).replace(FJ,".").toLowerCase()},IJ=Nd.data={},NJ=Nd.NATIVE="N",LJ=Nd.POLYFILL="P",Ld=Nd,RJ=Pd.f,rn=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?be:f?be[s]||N2(s,{}):(be[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=RJ(n,r))&&a.value:n[r],!Ld(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;TJ(i,o)}(e.sham||o&&o.sham)&&Xo(i,"sham",!0),Fr(n,r,i,e)}},sc=Object.keys||function(e){return Lk(e,Z0)},MJ=kt(function(){sc(1)});/*!
50
+ Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(a)}return t.VERSION&&this.log(`Using ${o} v${t.VERSION}`),r.type in Ie(this,ir)[ir]?Ie(this,ir)[ir][r.type].push(r):Ie(this,ir)[ir][r.type]=[r],r.install(),this}getPlugin(t){for(const n of Object.values(Ie(this,ir)[ir])){const r=n.find(o=>o.id===t);if(r!=null)return r}}[V8](t){return Ie(this,ir)[ir][t]}iteratePlugins(t){Object.values(Ie(this,ir)[ir]).flat(1).forEach(t)}removePlugin(t){this.log(`Removing plugin ${t.id}`),this.emit("plugin-remove",t),t.uninstall&&t.uninstall();const n=Ie(this,ir)[ir][t.type],r=n.findIndex(a=>a.id===t.id);r!==-1&&n.splice(r,1);const i={plugins:{...this.getState().plugins,[t.id]:void 0}};this.setState(i)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),Ie(this,pd)[pd](),this.iteratePlugins(t=>{this.removePlugin(t)}),typeof window<"u"&&window.removeEventListener&&(window.removeEventListener("online",Ie(this,Yo)[Yo]),window.removeEventListener("offline",Ie(this,Yo)[Yo]))}hideInfo(){const{info:t}=this.getState();this.setState({info:t.slice(1)}),this.emit("info-hidden")}info(t,n,r){n===void 0&&(n="info"),r===void 0&&(r=3e3);const o=typeof t=="object";this.setState({info:[...this.getState().info,{type:n,message:o?t.message:t,details:o?t.details:null}]}),setTimeout(()=>this.hideInfo(),r),this.emit("info-visible")}log(t,n){const{logger:r}=this.opts;switch(n){case"error":r.error(t);break;case"warning":r.warn(t);break;default:r.debug(t);break}}restore(t){return this.log(`Core: attempting to restore upload "${t}"`),this.getState().currentUploads[t]?Ie(this,Qi)[Qi](t):(Ie(this,fu)[fu](t),Promise.reject(new Error("Nonexistent upload")))}[U8](){return Ie(this,Zi)[Zi](...arguments)}addResultData(t,n){if(!Ie(this,S2)[S2](t)){this.log(`Not setting result for an upload that has been removed: ${t}`);return}const{currentUploads:r}=this.getState(),o={...r[t],result:{...r[t].result,...n}};this.setState({currentUploads:{...r,[t]:o}})}upload(){var t;(t=Ie(this,ir)[ir].uploader)!=null&&t.length||this.log("No uploader type plugins are used","warning");let{files:n}=this.getState();const r=this.opts.onBeforeUpload(n);return r===!1?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(r&&typeof r=="object"&&(n=r,this.setState({files:n})),Promise.resolve().then(()=>{Ie(this,$2)[$2](n),Ie(this,C2)[C2](n)}).catch(o=>{Ie(this,zn)[zn](o)}).then(()=>{const{currentUploads:o}=this.getState(),i=Object.values(o).flatMap(l=>l.fileIDs),a=[];Object.keys(n).forEach(l=>{const f=this.getFile(l);!f.progress.uploadStarted&&i.indexOf(l)===-1&&a.push(f.id)});const s=Ie(this,Zi)[Zi](a);return Ie(this,Qi)[Qi](s)}).catch(o=>{Ie(this,zn)[zn](o,{showInformer:!1})}))}}function DK(e,t){t===void 0&&(t=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:i,allowedFileTypes:a}=this.opts.restrictions;if(i&&t.length+1>i)throw new bi(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a&&!a.some(l=>l.indexOf("/")>-1?e.type?uK(e.type.replace(/;.*?$/,""),l):!1:l[0]==="."&&e.extension?e.extension.toLowerCase()===l.substr(1).toLowerCase():!1)){const l=a.join(", ");throw new bi(this.i18n("youCanOnlyUploadFileTypes",{types:l}))}if(o&&e.size!=null){let s=0;if(s+=e.size,t.forEach(l=>{s+=l.size}),s>o)throw new bi(this.i18n("exceedsSize",{size:y2(o),file:e.name}))}if(n&&e.size!=null&&e.size>n)throw new bi(this.i18n("exceedsSize",{size:y2(n),file:e.name}));if(r&&e.size!=null&&e.size<r)throw new bi(this.i18n("inferiorSize",{size:y2(r)}))}function xK(e){const{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new bi(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function AK(e){const{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let i=0;i<t.length;i++)if(!n.call(e.meta,t[i])||e.meta[t[i]]===""){const a=new bi(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(a),o.push(t[i]),Ie(this,zn)[zn](a,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:o}),r}function kK(e){const t=Object.keys(e).flatMap(n=>{const r=this.getFile(n);return Ie(this,gd)[gd](r)});if(t.length)throw new SK(t,`${this.i18n("missingRequiredMetaField")}`)}function _K(e,t){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=t===void 0?{}:t;const i=typeof e=="object"?e.message:e,a=typeof e=="object"&&e.details?e.details:"";let s=i;if(a&&(s+=` ${a}`),e.isRestriction?(this.log(s),this.emit("restriction-failed",r,e)):this.log(s,"error"),n&&this.info({message:i,details:a},"error",this.opts.infoTimeout),o)throw typeof e=="object"?e:new Error(e)}function OK(e){const{allowNewUpload:t}=this.getState();t===!1&&Ie(this,zn)[zn](new bi(this.i18n("noMoreFilesAllowed")),{file:e})}function BK(e,t){const n=hK(t),r=yK(n,t),o=L8(r).extension,i=Boolean(t.isRemote),a=mK({...t,type:n});if(this.checkIfFileAlreadyExists(a)){const p=new bi(this.i18n("noDuplicates",{fileName:r}));Ie(this,zn)[zn](p,{file:t})}const s=t.meta||{};s.name=r,s.type=n;const l=Number.isFinite(t.data.size)?t.data.size:null;let f={source:t.source||"",id:a,name:r,extension:o||"",meta:{...this.getState().meta,...s},type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:l,uploadComplete:!1,uploadStarted:null},size:l,isRemote:i,remote:t.remote||"",preview:t.preview};const d=this.opts.onBeforeFileAdded(f,e);d===!1?Ie(this,zn)[zn](new bi("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):typeof d=="object"&&d!==null&&(f=d);try{const p=Object.keys(e).map(h=>e[h]);Ie(this,hd)[hd](f,p)}catch(p){Ie(this,zn)[zn](p,{file:f})}return f}function TK(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function FK(){const e=(t,n,r)=>{let o=t.message||"Unknown error";t.details&&(o+=` ${t.details}`),this.setState({error:o}),n!=null&&n.id in this.getState().files&&this.setFileState(n.id,{error:o,response:r})};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),typeof n=="object"&&n.message){const o=new Error(n.message);o.details=n.message,n.details&&(o.details+=` ${n.details}`),o.message=this.i18n("failedToUpload",{file:t.name}),Ie(this,zn)[zn](o,{throwErr:!1})}else Ie(this,zn)[zn](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",t=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}this.setFileState(t.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:t.size}})}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(t,n)=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}const r=this.getFile(t.id).progress;this.setFileState(t.id,{progress:{...r,postprocess:Ie(this,Xi)[Xi].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:r.bytesTotal},response:n,uploadURL:n.uploadURL,isPaused:!1}),t.size==null&&this.setFileState(t.id,{size:n.bytesUploaded||r.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(t,n)=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}this.setFileState(t.id,{progress:{...this.getFile(t.id).progress,preprocess:n}})}),this.on("preprocess-complete",t=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}const n={...this.getState().files};n[t.id]={...n[t.id],progress:{...n[t.id].progress}},delete n[t.id].progress.preprocess,this.setState({files:n})}),this.on("postprocess-progress",(t,n)=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}this.setFileState(t.id,{progress:{...this.getState().files[t.id].progress,postprocess:n}})}),this.on("postprocess-complete",t=>{if(!this.getFile(t.id)){this.log(`Not setting progress for a file that has been removed: ${t.id}`);return}const n={...this.getState().files};n[t.id]={...n[t.id],progress:{...n[t.id].progress}},delete n[t.id].progress.postprocess,this.setState({files:n})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",t=>{t&&Ie(this,gd)[gd](t)}),typeof window<"u"&&window.addEventListener&&(window.addEventListener("online",Ie(this,Yo)[Yo]),window.addEventListener("offline",Ie(this,Yo)[Yo]),setTimeout(Ie(this,Yo)[Yo],3e3))}function PK(e,t){t===void 0&&(t={});const{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!n)throw new Error("Cannot create a new upload: already uploading.");const i=$K();return this.emit("upload",{id:i,fileIDs:e}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:{...o,[i]:{fileIDs:e,step:0,result:{}}}}),i}function IK(e){const{currentUploads:t}=this.getState();return t[e]}function NK(e){const t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function LK(e){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,o=[...Ie(this,lu)[lu],...Ie(this,cu)[cu],...Ie(this,Xi)[Xi]];try{for(let a=r;a<o.length&&n;a++){const s=o[a],l={...n,step:a};this.setState({currentUploads:{...t,[e]:l}}),await s(l.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(a){throw this.emit("error",a),Ie(this,fu)[fu](e),a}if(n){n.fileIDs.forEach(f=>{const d=this.getFile(f);d&&d.progress.postprocess&&this.emit("postprocess-complete",d)});const a=n.fileIDs.map(f=>this.getFile(f)),s=a.filter(f=>!f.error),l=a.filter(f=>f.error);await this.addResultData(e,{successful:s,failed:l,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let i;return n&&(i=n.result,this.emit("complete",i),Ie(this,fu)[fu](e)),i==null&&this.log(`Not setting result for an upload that has been removed: ${e}`),i}H8.VERSION="2.1.3";var W8=H8,RK=Rb(function(e,t){var n,r,o,i,a,s,l,f,d={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function m(G,H){for(var I in H)G[I]=H[I];return G}function C(G){var H=G.parentNode;H&&H.removeChild(G)}function $(G,H,I){var L,Y,q,B={};for(q in H)q=="key"?L=H[q]:q=="ref"?Y=H[q]:B[q]=H[q];if(arguments.length>2&&(B.children=arguments.length>3?n.call(arguments,2):I),typeof G=="function"&&G.defaultProps!=null)for(q in G.defaultProps)B[q]===void 0&&(B[q]=G.defaultProps[q]);return b(G,B,L,Y,null)}function b(G,H,I,L,Y){var q={type:G,props:H,key:I,ref:L,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:Y==null?++o:Y};return Y==null&&r.vnode!=null&&r.vnode(q),q}function w(G){return G.children}function y(G,H){this.props=G,this.context=H}function S(G,H){if(H==null)return G.__?S(G.__,G.__.__k.indexOf(G)+1):null;for(var I;H<G.__k.length;H++)if((I=G.__k[H])!=null&&I.__e!=null)return I.__e;return typeof G.type=="function"?S(G):null}function x(G){var H,I;if((G=G.__)!=null&&G.__c!=null){for(G.__e=G.__c.base=null,H=0;H<G.__k.length;H++)if((I=G.__k[H])!=null&&I.__e!=null){G.__e=G.__c.base=I.__e;break}return x(G)}}function A(G){(!G.__d&&(G.__d=!0)&&a.push(G)&&!O.__r++||l!==r.debounceRendering)&&((l=r.debounceRendering)||s)(O)}function O(){for(var G;O.__r=a.length;)G=a.sort(function(H,I){return H.__v.__b-I.__v.__b}),a=[],G.some(function(H){var I,L,Y,q,B,ce;H.__d&&(B=(q=(I=H).__v).__e,(ce=I.__P)&&(L=[],(Y=m({},q)).__v=q.__v+1,Ee(ce,q,Y,I.__n,ce.ownerSVGElement!==void 0,q.__h!=null?[B]:null,L,B==null?S(q):B,q.__h),Be(L,q),q.__e!=B&&x(q)))})}function T(G,H,I,L,Y,q,B,ce,ge,Ae){var j,ve,ae,X,te,pe,ye,De=L&&L.__k||p,Le=De.length;for(I.__k=[],j=0;j<H.length;j++)if((X=I.__k[j]=(X=H[j])==null||typeof X=="boolean"?null:typeof X=="string"||typeof X=="number"||typeof X=="bigint"?b(null,X,null,null,X):Array.isArray(X)?b(w,{children:X},null,null,null):X.__b>0?b(X.type,X.props,X.key,null,X.__v):X)!=null){if(X.__=I,X.__b=I.__b+1,(ae=De[j])===null||ae&&X.key==ae.key&&X.type===ae.type)De[j]=void 0;else for(ve=0;ve<Le;ve++){if((ae=De[ve])&&X.key==ae.key&&X.type===ae.type){De[ve]=void 0;break}ae=null}Ee(G,X,ae=ae||d,Y,q,B,ce,ge,Ae),te=X.__e,(ve=X.ref)&&ae.ref!=ve&&(ye||(ye=[]),ae.ref&&ye.push(ae.ref,null,X),ye.push(ve,X.__c||te,X)),te!=null?(pe==null&&(pe=te),typeof X.type=="function"&&X.__k===ae.__k?X.__d=ge=z(X,ge,G):ge=V(G,X,ae,De,te,ge),typeof I.type=="function"&&(I.__d=ge)):ge&&ae.__e==ge&&ge.parentNode!=G&&(ge=S(ae))}for(I.__e=pe,j=Le;j--;)De[j]!=null&&(typeof I.type=="function"&&De[j].__e!=null&&De[j].__e==I.__d&&(I.__d=S(L,j+1)),Ue(De[j],De[j]));if(ye)for(j=0;j<ye.length;j++)je(ye[j],ye[++j],ye[++j])}function z(G,H,I){for(var L,Y=G.__k,q=0;Y&&q<Y.length;q++)(L=Y[q])&&(L.__=G,H=typeof L.type=="function"?z(L,H,I):V(I,L,L,Y,L.__e,H));return H}function V(G,H,I,L,Y,q){var B,ce,ge;if(H.__d!==void 0)B=H.__d,H.__d=void 0;else if(I==null||Y!=q||Y.parentNode==null)e:if(q==null||q.parentNode!==G)G.appendChild(Y),B=null;else{for(ce=q,ge=0;(ce=ce.nextSibling)&&ge<L.length;ge+=2)if(ce==Y)break e;G.insertBefore(Y,q),B=q}return B!==void 0?B:Y.nextSibling}function ue(G,H,I,L,Y){var q;for(q in I)q==="children"||q==="key"||q in H||de(G,q,null,I[q],L);for(q in H)Y&&typeof H[q]!="function"||q==="children"||q==="key"||q==="value"||q==="checked"||I[q]===H[q]||de(G,q,H[q],I[q],L)}function oe(G,H,I){H[0]==="-"?G.setProperty(H,I):G[H]=I==null?"":typeof I!="number"||h.test(H)?I:I+"px"}function de(G,H,I,L,Y){var q;e:if(H==="style")if(typeof I=="string")G.style.cssText=I;else{if(typeof L=="string"&&(G.style.cssText=L=""),L)for(H in L)I&&H in I||oe(G.style,H,"");if(I)for(H in I)L&&I[H]===L[H]||oe(G.style,H,I[H])}else if(H[0]==="o"&&H[1]==="n")q=H!==(H=H.replace(/Capture$/,"")),H=H.toLowerCase()in G?H.toLowerCase().slice(2):H.slice(2),G.l||(G.l={}),G.l[H+q]=I,I?L||G.addEventListener(H,q?_e:me,q):G.removeEventListener(H,q?_e:me,q);else if(H!=="dangerouslySetInnerHTML"){if(Y)H=H.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(H!=="href"&&H!=="list"&&H!=="form"&&H!=="tabIndex"&&H!=="download"&&H in G)try{G[H]=I==null?"":I;break e}catch{}typeof I=="function"||(I!=null&&(I!==!1||H[0]==="a"&&H[1]==="r")?G.setAttribute(H,I):G.removeAttribute(H))}}function me(G){this.l[G.type+!1](r.event?r.event(G):G)}function _e(G){this.l[G.type+!0](r.event?r.event(G):G)}function Ee(G,H,I,L,Y,q,B,ce,ge){var Ae,j,ve,ae,X,te,pe,ye,De,Le,Ve,ze=H.type;if(H.constructor!==void 0)return null;I.__h!=null&&(ge=I.__h,ce=H.__e=I.__e,H.__h=null,q=[ce]),(Ae=r.__b)&&Ae(H);try{e:if(typeof ze=="function"){if(ye=H.props,De=(Ae=ze.contextType)&&L[Ae.__c],Le=Ae?De?De.props.value:Ae.__:L,I.__c?pe=(j=H.__c=I.__c).__=j.__E:("prototype"in ze&&ze.prototype.render?H.__c=j=new ze(ye,Le):(H.__c=j=new y(ye,Le),j.constructor=ze,j.render=Oe),De&&De.sub(j),j.props=ye,j.state||(j.state={}),j.context=Le,j.__n=L,ve=j.__d=!0,j.__h=[]),j.__s==null&&(j.__s=j.state),ze.getDerivedStateFromProps!=null&&(j.__s==j.state&&(j.__s=m({},j.__s)),m(j.__s,ze.getDerivedStateFromProps(ye,j.__s))),ae=j.props,X=j.state,ve)ze.getDerivedStateFromProps==null&&j.componentWillMount!=null&&j.componentWillMount(),j.componentDidMount!=null&&j.__h.push(j.componentDidMount);else{if(ze.getDerivedStateFromProps==null&&ye!==ae&&j.componentWillReceiveProps!=null&&j.componentWillReceiveProps(ye,Le),!j.__e&&j.shouldComponentUpdate!=null&&j.shouldComponentUpdate(ye,j.__s,Le)===!1||H.__v===I.__v){j.props=ye,j.state=j.__s,H.__v!==I.__v&&(j.__d=!1),j.__v=H,H.__e=I.__e,H.__k=I.__k,H.__k.forEach(function(ft){ft&&(ft.__=H)}),j.__h.length&&B.push(j);break e}j.componentWillUpdate!=null&&j.componentWillUpdate(ye,j.__s,Le),j.componentDidUpdate!=null&&j.__h.push(function(){j.componentDidUpdate(ae,X,te)})}j.context=Le,j.props=ye,j.state=j.__s,(Ae=r.__r)&&Ae(H),j.__d=!1,j.__v=H,j.__P=G,Ae=j.render(j.props,j.state,j.context),j.state=j.__s,j.getChildContext!=null&&(L=m(m({},L),j.getChildContext())),ve||j.getSnapshotBeforeUpdate==null||(te=j.getSnapshotBeforeUpdate(ae,X)),Ve=Ae!=null&&Ae.type===w&&Ae.key==null?Ae.props.children:Ae,T(G,Array.isArray(Ve)?Ve:[Ve],H,I,L,Y,q,B,ce,ge),j.base=H.__e,H.__h=null,j.__h.length&&B.push(j),pe&&(j.__E=j.__=null),j.__e=!1}else q==null&&H.__v===I.__v?(H.__k=I.__k,H.__e=I.__e):H.__e=Fe(I.__e,H,I,L,Y,q,B,ge);(Ae=r.diffed)&&Ae(H)}catch(ft){H.__v=null,(ge||q!=null)&&(H.__e=ce,H.__h=!!ge,q[q.indexOf(ce)]=null),r.__e(ft,H,I)}}function Be(G,H){r.__c&&r.__c(H,G),G.some(function(I){try{G=I.__h,I.__h=[],G.some(function(L){L.call(I)})}catch(L){r.__e(L,I.__v)}})}function Fe(G,H,I,L,Y,q,B,ce){var ge,Ae,j,ve=I.props,ae=H.props,X=H.type,te=0;if(X==="svg"&&(Y=!0),q!=null){for(;te<q.length;te++)if((ge=q[te])&&"setAttribute"in ge==!!X&&(X?ge.localName===X:ge.nodeType===3)){G=ge,q[te]=null;break}}if(G==null){if(X===null)return document.createTextNode(ae);G=Y?document.createElementNS("http://www.w3.org/2000/svg",X):document.createElement(X,ae.is&&ae),q=null,ce=!1}if(X===null)ve===ae||ce&&G.data===ae||(G.data=ae);else{if(q=q&&n.call(G.childNodes),Ae=(ve=I.props||d).dangerouslySetInnerHTML,j=ae.dangerouslySetInnerHTML,!ce){if(q!=null)for(ve={},te=0;te<G.attributes.length;te++)ve[G.attributes[te].name]=G.attributes[te].value;(j||Ae)&&(j&&(Ae&&j.__html==Ae.__html||j.__html===G.innerHTML)||(G.innerHTML=j&&j.__html||""))}if(ue(G,ae,ve,Y,ce),j)H.__k=[];else if(te=H.props.children,T(G,Array.isArray(te)?te:[te],H,I,L,Y&&X!=="foreignObject",q,B,q?q[0]:I.__k&&S(I,0),ce),q!=null)for(te=q.length;te--;)q[te]!=null&&C(q[te]);ce||("value"in ae&&(te=ae.value)!==void 0&&(te!==ve.value||te!==G.value||X==="progress"&&!te)&&de(G,"value",te,ve.value,!1),"checked"in ae&&(te=ae.checked)!==void 0&&te!==G.checked&&de(G,"checked",te,ve.checked,!1))}return G}function je(G,H,I){try{typeof G=="function"?G(H):G.current=H}catch(L){r.__e(L,I)}}function Ue(G,H,I){var L,Y;if(r.unmount&&r.unmount(G),(L=G.ref)&&(L.current&&L.current!==G.__e||je(L,null,H)),(L=G.__c)!=null){if(L.componentWillUnmount)try{L.componentWillUnmount()}catch(q){r.__e(q,H)}L.base=L.__P=null}if(L=G.__k)for(Y=0;Y<L.length;Y++)L[Y]&&Ue(L[Y],H,typeof G.type!="function");I||G.__e==null||C(G.__e),G.__e=G.__d=void 0}function Oe(G,H,I){return this.constructor(G,I)}function Je(G,H,I){var L,Y,q;r.__&&r.__(G,H),Y=(L=typeof I=="function")?null:I&&I.__k||H.__k,q=[],Ee(H,G=(!L&&I||H).__k=$(w,null,[G]),Y||d,d,H.ownerSVGElement!==void 0,!L&&I?[I]:Y?null:H.firstChild?n.call(H.childNodes):null,q,!L&&I?I:Y?Y.__e:H.firstChild,L),Be(q,G)}n=p.slice,r={__e:function(G,H){for(var I,L,Y;H=H.__;)if((I=H.__c)&&!I.__)try{if((L=I.constructor)&&L.getDerivedStateFromError!=null&&(I.setState(L.getDerivedStateFromError(G)),Y=I.__d),I.componentDidCatch!=null&&(I.componentDidCatch(G),Y=I.__d),Y)return I.__E=I}catch(q){G=q}throw G}},o=0,i=function(G){return G!=null&&G.constructor===void 0},y.prototype.setState=function(G,H){var I;I=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=m({},this.state),typeof G=="function"&&(G=G(m({},I),this.props)),G&&m(I,G),G!=null&&this.__v&&(H&&this.__h.push(H),A(this))},y.prototype.forceUpdate=function(G){this.__v&&(this.__e=!0,G&&this.__h.push(G),A(this))},y.prototype.render=w,a=[],s=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,O.__r=0,f=0,t.Component=y,t.Fragment=w,t.cloneElement=function(G,H,I){var L,Y,q,B=m({},G.props);for(q in H)q=="key"?L=H[q]:q=="ref"?Y=H[q]:B[q]=H[q];return arguments.length>2&&(B.children=arguments.length>3?n.call(arguments,2):I),b(G.type,B,L||G.key,Y||G.ref,null)},t.createContext=function(G,H){var I={__c:H="__cC"+f++,__:G,Consumer:function(L,Y){return L.children(Y)},Provider:function(L){var Y,q;return this.getChildContext||(Y=[],(q={})[H]=this,this.getChildContext=function(){return q},this.shouldComponentUpdate=function(B){this.props.value!==B.value&&Y.some(A)},this.sub=function(B){Y.push(B);var ce=B.componentWillUnmount;B.componentWillUnmount=function(){Y.splice(Y.indexOf(B),1),ce&&ce.call(B)}}),L.children}};return I.Provider.__=I.Consumer.contextType=I},t.createElement=$,t.createRef=function(){return{current:null}},t.h=$,t.hydrate=function G(H,I){Je(H,I,G)},t.isValidElement=i,t.options=r,t.render=Je,t.toChildArray=function G(H,I){return I=I||[],H==null||typeof H=="boolean"||(Array.isArray(H)?H.some(function(L){G(L,I)}):I.push(H)),I}}),MK=function(t){return(t==null?void 0:t.nodeType)===Node.ELEMENT_NODE},jK=function(t,n){return n===void 0&&(n=document),typeof t=="string"?n.querySelector(t):MK(t)?t:null},D2=class{constructor(t,n){n===void 0&&(n={}),this.uppy=t,this.opts=n}getPluginState(){const{plugins:t}=this.uppy.getState();return t[this.id]||{}}setPluginState(t){const{plugins:n}=this.uppy.getState();this.uppy.setState({plugins:{...n,[this.id]:{...n[this.id],...t}}})}setOptions(t){this.opts={...this.opts,...t},this.setPluginState(),this.i18nInit()}i18nInit(){const t=new B8([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=t.translate.bind(t),this.i18nArray=t.translateArray.bind(t),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function q8(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var zK=0;function VK(e){return"__private_"+zK+++"_"+e}const{render:G8}=RK;function UK(e){let t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return n=o,t||(t=Promise.resolve().then(()=>(t=null,e(...n)))),t}}var bd=VK("updateUI");class x2 extends D2{constructor(){super(...arguments),Object.defineProperty(this,bd,{writable:!0,value:void 0})}mount(t,n){const r=n.id,o=jK(t);if(o){this.isTargetDOMEl=!0;const s=document.createDocumentFragment();return q8(this,bd)[bd]=UK(l=>{!this.uppy.getPlugin(this.id)||(G8(this.render(l),s),this.afterUpdate())}),this.uppy.log(`Installing ${r} to a DOM element '${t}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),G8(this.render(this.uppy.getState()),s),this.el=s.firstElementChild,o.appendChild(s),this.onMount(),this.el}let i;if(typeof t=="object"&&t instanceof x2)i=t;else if(typeof t=="function"){const s=t;this.uppy.iteratePlugins(l=>{if(l instanceof s)return i=l,!1})}if(i)return this.uppy.log(`Installing ${r} to ${i.id}`),this.parent=i,this.el=i.addTarget(n),this.onMount(),this.el;this.uppy.log(`Not installing ${r}`);let a=`Invalid target option given to ${r}.`;throw typeof t=="function"?a+=" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":a+="If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(a)}update(t){if(this.el!=null){var n,r;(n=(r=q8(this,bd))[bd])==null||n.call(r,t)}}unmount(){if(this.isTargetDOMEl){var t;(t=this.el)==null||t.remove()}this.onUnmount()}onMount(){}onUnmount(){}}var HK=x2;const{debugLogger:WK}=j8;var wd=W8,qK=W8,GK=HK,KK=D2,YK=WK;wd.Uppy=qK,wd.UIPlugin=GK,wd.BasePlugin=KK,wd.debugLogger=YK;class JK extends Error{constructor(t,n){n===void 0&&(n=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=t,this.isNetworkError=!0,this.request=n}}var A2=JK,k2=function(){return fetch(...arguments).catch(t=>{throw t.name==="AbortError"?t:new A2(t)})};class XK extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var ZK=XK,N0,Ta,wi,Fa,K8;function $i(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var QK=0;function _2(e){return"__private_"+QK+++"_"+e}function eY(e){return e.replace(/\/$/,"")}async function O2(e){if(e.status===401)throw new ZK;const t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{const r=await t;n=r.message?`${n} message: ${r.message}`:n,n=r.requestId?`${n} request-Id: ${r.requestId}`:n}finally{throw new Error(n)}}return t}var B2=(K8=(Ta=_2("getPostResponseFunc"),wi=_2("getUrl"),Fa=_2("errorHandler"),N0=class $V{constructor(t,n){Object.defineProperty(this,Fa,{value:nY}),Object.defineProperty(this,wi,{value:tY}),Object.defineProperty(this,Ta,{writable:!0,value:r=>o=>r?o:this.onReceiveResponse(o)}),this.uppy=t,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){const{companion:t}=this.uppy.getState(),n=this.opts.companionUrl;return eY(t&&t[n]?t[n]:n)}headers(){const t=this.opts.companionHeaders||{};return Promise.resolve({...$V.defaultHeaders,...t})}onReceiveResponse(t){const r=this.uppy.getState().companion||{},o=this.opts.companionUrl,{headers:i}=t;return i.has("i-am")&&i.get("i-am")!==r[o]&&this.uppy.setState({companion:{...r,[o]:i.get("i-am")}}),t}preflight(t){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch($i(this,wi)[wi](t),{method:"OPTIONS"}).then(n=>(n.headers.has("access-control-allow-headers")&&(this.allowedHeaders=n.headers.get("access-control-allow-headers").split(",").map(r=>r.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(n=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${n}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(t){return Promise.all([this.preflight(t),this.headers()]).then(n=>{let[r,o]=n;return Object.keys(o).forEach(i=>{r.includes(i.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${i}`),delete o[i])}),o})}get(t,n){const r="get";return this.preflightAndHeaders(t).then(o=>k2($i(this,wi)[wi](t),{method:r,headers:o,credentials:this.opts.companionCookiesRule||"same-origin"})).then($i(this,Ta)[Ta](n)).then(O2).catch($i(this,Fa)[Fa](r,t))}post(t,n,r){const o="post";return this.preflightAndHeaders(t).then(i=>k2($i(this,wi)[wi](t),{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then($i(this,Ta)[Ta](r)).then(O2).catch($i(this,Fa)[Fa](o,t))}delete(t,n,r){const o="delete";return this.preflightAndHeaders(t).then(i=>k2(`${this.hostname}/${t}`,{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then($i(this,Ta)[Ta](r)).then(O2).catch($i(this,Fa)[Fa](o,t))}}),N0.VERSION="2.0.4",N0.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${N0.VERSION}`},K8);function tY(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function nY(e,t){return n=>{var r;if(!((r=n)!=null&&r.isAuthError)){const o=new Error(`Could not ${e} ${$i(this,wi)[wi](t)}`);o.cause=n,n=o}return Promise.reject(n)}}var rY=(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),oY=e=>Promise.resolve(localStorage.getItem(e)),iY=e=>new Promise(t=>{localStorage.removeItem(e),t()}),aY={setItem:rY,getItem:oY,removeItem:iY};const sY=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");var uY=class extends B2{constructor(t,n){super(t,n),this.provider=n.provider,this.id=this.provider,this.name=this.opts.name||sY(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(t=>{let[n,r]=t;const o={};return r&&(o["uppy-auth-token"]=r),this.companionKeysParams&&(o["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...n,...o}})}onReceiveResponse(t){t=super.onReceiveResponse(t);const n=this.uppy.getPlugin(this.pluginId),o=n.getPluginState().authenticated?t.status!==401:t.status<400;return n.setPluginState({authenticated:o}),t}setAuthToken(t){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,t)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(t){return t===void 0&&(t={}),this.preAuthToken&&(t.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(t)}`}fileUrl(t){return`${this.hostname}/${this.id}/get/${t}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(t=>{this.preAuthToken=t.token}).catch(t=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${t}`,"warning")}):Promise.resolve()}list(t){return this.get(`${this.id}/list/${t||""}`)}logout(){return this.get(`${this.id}/logout`).then(t=>Promise.all([t,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(t=>{let[n]=t;return n})}static initPlugin(t,n,r){if(t.type="acquirer",t.files=[],r&&(t.opts={...r,...n}),n.serverUrl||n.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(n.companionAllowedHosts){const o=n.companionAllowedHosts;if(typeof o!="string"&&!Array.isArray(o)&&!(o instanceof RegExp))throw new TypeError(`${t.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);t.opts.companionAllowedHosts=o}else/^(?!https?:\/\/).*$/i.test(n.companionUrl)?t.opts.companionAllowedHosts=`https://${n.companionUrl.replace(/^\/\//,"")}`:t.opts.companionAllowedHosts=new URL(n.companionUrl).origin;t.storage=t.opts.storage||aY}};const lY=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");var cY=class extends B2{constructor(t,n){super(t,n),this.provider=n.provider,this.id=this.provider,this.name=this.opts.name||lY(this.id),this.pluginId=this.opts.pluginId}fileUrl(t){return`${this.hostname}/search/${this.id}/get/${t}`}search(t,n){return n=n?`&${n}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(t)}${n}`)}},Ci,Pa,yo,mr,L0;let Y8,J8;function _n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var fY=0;function $d(e){return"__private_"+fY+++"_"+e}var dY=(Ci=$d("queued"),Pa=$d("emitter"),yo=$d("isOpen"),mr=$d("socket"),L0=$d("handleMessage"),Y8=Symbol.for("uppy test: getSocket"),J8=Symbol.for("uppy test: getQueued"),class{constructor(t){Object.defineProperty(this,Ci,{writable:!0,value:[]}),Object.defineProperty(this,Pa,{writable:!0,value:T8()}),Object.defineProperty(this,yo,{writable:!0,value:!1}),Object.defineProperty(this,mr,{writable:!0,value:void 0}),Object.defineProperty(this,L0,{writable:!0,value:n=>{try{const r=JSON.parse(n.data);this.emit(r.action,r.payload)}catch(r){console.log(r)}}}),this.opts=t,(!t||t.autoOpen!==!1)&&this.open()}get isOpen(){return _n(this,yo)[yo]}[Y8](){return _n(this,mr)[mr]}[J8](){return _n(this,Ci)[Ci]}open(){_n(this,mr)[mr]=new WebSocket(this.opts.target),_n(this,mr)[mr].onopen=()=>{for(_n(this,yo)[yo]=!0;_n(this,Ci)[Ci].length>0&&_n(this,yo)[yo];){const t=_n(this,Ci)[Ci].shift();this.send(t.action,t.payload)}},_n(this,mr)[mr].onclose=()=>{_n(this,yo)[yo]=!1},_n(this,mr)[mr].onmessage=_n(this,L0)[L0]}close(){var t;(t=_n(this,mr)[mr])==null||t.close()}send(t,n){if(!_n(this,yo)[yo]){_n(this,Ci)[Ci].push({action:t,payload:n});return}_n(this,mr)[mr].send(JSON.stringify({action:t,payload:n}))}on(t,n){_n(this,Pa)[Pa].on(t,n)}emit(t,n){_n(this,Pa)[Pa].emit(t,n)}once(t,n){_n(this,Pa)[Pa].once(t,n)}}),pY={RequestClient:B2,Provider:uY,SearchProvider:cY,Socket:dY};function hY(e,t,n){const{progress:r,bytesUploaded:o,bytesTotal:i}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:o,bytesTotal:i}))}var gY=uu(hY,300,{leading:!0,trailing:!0}),mY=function(t){const r=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(t)[1];return`${/^http:\/\//i.test(t)?"ws":"wss"}://${r}`},vY=function(t){const n=[],r=[];function o(s){n.push(s)}function i(s){r.push(s)}return Promise.all(t.map(s=>s.then(o,i))).then(()=>({successful:n,failed:r}))},Ia,ec;function Cd(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var yY=0;function X8(e){return"__private_"+yY+++"_"+e}var Z8=(Ia=X8("emitter"),ec=X8("events"),class{constructor(t){Object.defineProperty(this,Ia,{writable:!0,value:void 0}),Object.defineProperty(this,ec,{writable:!0,value:[]}),Cd(this,Ia)[Ia]=t}on(t,n){return Cd(this,ec)[ec].push([t,n]),Cd(this,Ia)[Ia].on(t,n)}remove(){for(const[t,n]of Cd(this,ec)[ec].splice(0))Cd(this,Ia)[Ia].off(t,n)}});function bo(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bY=0;function R0(e){return"__private_"+bY+++"_"+e}var ea=R0("aliveTimer"),du=R0("isDone"),Ed=R0("onTimedOut"),pu=R0("timeout");class wY{constructor(t,n){Object.defineProperty(this,ea,{writable:!0,value:void 0}),Object.defineProperty(this,du,{writable:!0,value:!1}),Object.defineProperty(this,Ed,{writable:!0,value:void 0}),Object.defineProperty(this,pu,{writable:!0,value:void 0}),bo(this,pu)[pu]=t,bo(this,Ed)[Ed]=n}progress(){bo(this,du)[du]||bo(this,pu)[pu]>0&&(clearTimeout(bo(this,ea)[ea]),bo(this,ea)[ea]=setTimeout(bo(this,Ed)[Ed],bo(this,pu)[pu]))}done(){bo(this,du)[du]||(clearTimeout(bo(this,ea)[ea]),bo(this,ea)[ea]=null,bo(this,du)[du]=!0)}}var Q8=wY;function On(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var $Y=0;function hu(e){return"__private_"+$Y+++"_"+e}function CY(){return new Error("Cancelled")}var Yr=hu("activeRequests"),Dr=hu("queuedHandlers"),Sd=hu("call"),Dd=hu("queueNext"),T2=hu("next"),F2=hu("queue"),P2=hu("dequeue");class EY{constructor(t){Object.defineProperty(this,P2,{value:kY}),Object.defineProperty(this,F2,{value:AY}),Object.defineProperty(this,T2,{value:xY}),Object.defineProperty(this,Dd,{value:DY}),Object.defineProperty(this,Sd,{value:SY}),Object.defineProperty(this,Yr,{writable:!0,value:0}),Object.defineProperty(this,Dr,{writable:!0,value:[]}),typeof t!="number"||t===0?this.limit=1/0:this.limit=t}run(t,n){return On(this,Yr)[Yr]<this.limit?On(this,Sd)[Sd](t):On(this,F2)[F2](t,n)}wrapPromiseFunction(t,n){var r=this;return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];let s;const l=new Promise((f,d)=>{s=r.run(()=>{let p,h;try{h=Promise.resolve(t(...i))}catch(m){h=Promise.reject(m)}return h.then(m=>{p?d(p):(s.done(),f(m))},m=>{p?d(p):(s.done(),d(m))}),()=>{p=CY()}},n)});return l.abort=()=>{s.abort()},l}}}function SY(e){On(this,Yr)[Yr]+=1;let t=!1,n;try{n=e()}catch(r){throw On(this,Yr)[Yr]-=1,r}return{abort:()=>{t||(t=!0,On(this,Yr)[Yr]-=1,n(),On(this,Dd)[Dd]())},done:()=>{t||(t=!0,On(this,Yr)[Yr]-=1,On(this,Dd)[Dd]())}}}function DY(){queueMicrotask(()=>On(this,T2)[T2]())}function xY(){if(On(this,Yr)[Yr]>=this.limit||On(this,Dr)[Dr].length===0)return;const e=On(this,Dr)[Dr].shift(),t=On(this,Sd)[Sd](e.fn);e.abort=t.abort,e.done=t.done}function AY(e,t){t===void 0&&(t={});const n={fn:e,priority:t.priority||0,abort:()=>{On(this,P2)[P2](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=On(this,Dr)[Dr].findIndex(o=>n.priority>o.priority);return r===-1?On(this,Dr)[Dr].push(n):On(this,Dr)[Dr].splice(r,0,n),n}function kY(e){const t=On(this,Dr)[Dr].indexOf(e);t!==-1&&On(this,Dr)[Dr].splice(t,1)}var _Y={RateLimitedQueue:EY,internalRateLimitedQueue:Symbol("__queue")};function OY(e){return e?e.readyState!==0&&e.readyState!==4||e.status===0:!1}var ek=OY,BY={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}},tk,nk;const{nanoid:TY}=z8,{Provider:FY,RequestClient:PY,Socket:IY}=pY,{RateLimitedQueue:NY,internalRateLimitedQueue:I2}=_Y;function rk(e,t){let n=t;return n||(n=new Error("Upload error")),typeof n=="string"&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),ek(e)?(n=new A2(n,e),n):(n.request=e,n)}function ok(e){return e.data.slice(0,e.data.size,e.meta.type)}var LY=(nk=tk=class extends D2{constructor(t,n){super(t,n),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=BY;const r={formData:!0,fieldName:n.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:30*1e3,limit:5,withCredentials:!1,responseType:"",getResponseData(o){let i={};try{i=JSON.parse(o)}catch(a){t.log(a)}return i},getResponseError(o,i){let a=new Error("Upload error");return ek(i)&&(a=new A2(a,i)),a},validateStatus(o){return o>=200&&o<300}};if(this.opts={...r,...n},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),I2 in this.opts?this.requests=this.opts[I2]:this.requests=new NY(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(t){const n=this.uppy.getState().xhrUpload,{headers:r}=this.opts,o={...this.opts,...n||{},...t.xhrUpload||{},headers:{}};return typeof r=="function"?o.headers=r(t):Object.assign(o.headers,this.opts.headers),n&&Object.assign(o.headers,n.headers),t.xhrUpload&&Object.assign(o.headers,t.xhrUpload.headers),o}addMetadata(t,n,r){(Array.isArray(r.metaFields)?r.metaFields:Object.keys(n)).forEach(i=>{t.append(i,n[i])})}createFormDataUpload(t,n){const r=new FormData;this.addMetadata(r,t.meta,n);const o=ok(t);return t.name?r.append(n.fieldName,o,t.meta.name):r.append(n.fieldName,o),r}createBundledUpload(t,n){const r=new FormData,{meta:o}=this.uppy.getState();return this.addMetadata(r,o,n),t.forEach(i=>{const a=this.getOptions(i),s=ok(i);i.name?r.append(a.fieldName,s,i.name):r.append(a.fieldName,s)}),r}upload(t,n,r){const o=this.getOptions(t);return this.uppy.log(`uploading ${n} of ${r}`),new Promise((i,a)=>{this.uppy.emit("upload-started",t);const s=o.formData?this.createFormDataUpload(t,o):t.data,l=new XMLHttpRequest;this.uploaderEvents[t.id]=new Z8(this.uppy);const f=new Q8(o.timeout,()=>{l.abort(),p.done();const h=new Error(this.i18n("timedOut",{seconds:Math.ceil(o.timeout/1e3)}));this.uppy.emit("upload-error",t,h),a(h)}),d=TY();l.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${d} started`)}),l.upload.addEventListener("progress",h=>{this.uppy.log(`[XHRUpload] ${d} progress: ${h.loaded} / ${h.total}`),f.progress(),h.lengthComputable&&this.uppy.emit("upload-progress",t,{uploader:this,bytesUploaded:h.loaded,bytesTotal:h.total})}),l.addEventListener("load",h=>{if(this.uppy.log(`[XHRUpload] ${d} finished`),f.done(),p.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),o.validateStatus(h.target.status,l.responseText,l)){const b=o.getResponseData(l.responseText,l),w=b[o.responseUrlFieldName],y={status:h.target.status,body:b,uploadURL:w};return this.uppy.emit("upload-success",t,y),w&&this.uppy.log(`Download ${t.name} from ${w}`),i(t)}const m=o.getResponseData(l.responseText,l),C=rk(l,o.getResponseError(l.responseText,l)),$={status:h.target.status,body:m};return this.uppy.emit("upload-error",t,C,$),a(C)}),l.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${d} errored`),f.done(),p.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null);const h=rk(l,o.getResponseError(l.responseText,l));return this.uppy.emit("upload-error",t,h),a(h)}),l.open(o.method.toUpperCase(),o.endpoint,!0),l.withCredentials=o.withCredentials,o.responseType!==""&&(l.responseType=o.responseType);const p=this.requests.run(()=>{this.uppy.emit("upload-started",t);const h=this.getOptions(t);return Object.keys(h.headers).forEach(m=>{l.setRequestHeader(m,h.headers[m])}),l.send(s),()=>{f.done(),l.abort()}});this.onFileRemove(t.id,()=>{p.abort(),a(new Error("File removed"))}),this.onCancelAll(t.id,()=>{p.abort(),a(new Error("Upload cancelled"))})})}uploadRemote(t){const n=this.getOptions(t);return new Promise((r,o)=>{this.uppy.emit("upload-started",t);const i={};(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t.meta)).forEach(f=>{i[f]=t.meta[f]});const s=t.remote.providerOptions.provider?FY:PY;new s(this.uppy,t.remote.providerOptions).post(t.remote.url,{...t.remote.body,endpoint:n.endpoint,size:t.data.size,fieldname:n.fieldName,metadata:i,httpMethod:n.method,useFormData:n.formData,headers:n.headers}).then(f=>{const{token:d}=f,p=mY(t.remote.companionUrl),h=new IY({target:`${p}/api/${d}`,autoOpen:!1});this.uploaderEvents[t.id]=new Z8(this.uppy),this.onFileRemove(t.id,()=>{h.send("cancel",{}),m.abort(),r(`upload ${t.id} was removed`)}),this.onCancelAll(t.id,()=>{h.send("cancel",{}),m.abort(),r(`upload ${t.id} was canceled`)}),this.onRetry(t.id,()=>{h.send("pause",{}),h.send("resume",{})}),this.onRetryAll(t.id,()=>{h.send("pause",{}),h.send("resume",{})}),h.on("progress",C=>gY(this,C,t)),h.on("success",C=>{const $=n.getResponseData(C.response.responseText,C.response),b=$[n.responseUrlFieldName],w={status:C.response.status,body:$,uploadURL:b};return this.uppy.emit("upload-success",t,w),m.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),r()}),h.on("error",C=>{const $=C.response,b=$?n.getResponseError($.responseText,$):Object.assign(new Error(C.error.message),{cause:C.error});this.uppy.emit("upload-error",t,b),m.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),o(b)});const m=this.requests.run(()=>(h.open(),t.isPaused&&h.send("pause",{}),()=>h.close()))}).catch(f=>{this.uppy.emit("upload-error",t,f),o(f)})})}uploadBundle(t){return new Promise((n,r)=>{const{endpoint:o}=this.opts,{method:i}=this.opts,a=this.uppy.getState().xhrUpload,s=this.createBundledUpload(t,{...this.opts,...a||{}}),l=new XMLHttpRequest,f=new Q8(this.opts.timeout,()=>{l.abort();const p=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));d(p),r(p)}),d=p=>{t.forEach(h=>{this.uppy.emit("upload-error",h,p)})};l.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),f.progress()}),l.upload.addEventListener("progress",p=>{f.progress(),p.lengthComputable&&t.forEach(h=>{this.uppy.emit("upload-progress",h,{uploader:this,bytesUploaded:p.loaded/p.total*h.size,bytesTotal:h.size})})}),l.addEventListener("load",p=>{if(f.done(),this.opts.validateStatus(p.target.status,l.responseText,l)){const m=this.opts.getResponseData(l.responseText,l),C={status:p.target.status,body:m};return t.forEach($=>{this.uppy.emit("upload-success",$,C)}),n()}const h=this.opts.getResponseError(l.responseText,l)||new Error("Upload error");return h.request=l,d(h),r(h)}),l.addEventListener("error",()=>{f.done();const p=this.opts.getResponseError(l.responseText,l)||new Error("Upload error");return d(p),r(p)}),this.uppy.on("cancel-all",()=>{f.done(),l.abort()}),l.open(i.toUpperCase(),o,!0),l.withCredentials=this.opts.withCredentials,this.opts.responseType!==""&&(l.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(p=>{l.setRequestHeader(p,this.opts.headers[p])}),l.send(s),t.forEach(p=>{this.uppy.emit("upload-started",p)})})}uploadFiles(t){const n=t.map((r,o)=>{const i=parseInt(o,10)+1,a=t.length;return r.error?Promise.reject(new Error(r.error)):r.isRemote?this.uploadRemote(r,i,a):this.upload(r,i,a)});return vY(n)}onFileRemove(t,n){this.uploaderEvents[t].on("file-removed",r=>{t===r.id&&n(r.id)})}onRetry(t,n){this.uploaderEvents[t].on("upload-retry",r=>{t===r&&n()})}onRetryAll(t,n){this.uploaderEvents[t].on("retry-all",()=>{!this.uppy.getFile(t)||n()})}onCancelAll(t,n){this.uploaderEvents[t].on("cancel-all",()=>{!this.uppy.getFile(t)||n()})}handleUpload(t){if(t.length===0)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();this.opts.limit===0&&!this.opts[I2]&&this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const n=t.map(r=>this.uppy.getFile(r));if(this.opts.bundle){if(n.some(o=>o.isRemote))throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers=="function")throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(n)}return this.uploadFiles(n).then(()=>null)}install(){if(this.opts.bundle){const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}},tk.VERSION="2.0.6",nk),ik=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xd(e){var t={exports:{}};return e(t,t.exports),t.exports}var Na,M0,j0=function(e){return e&&e.Math==Math&&e},be=j0(typeof globalThis=="object"&&globalThis)||j0(typeof window=="object"&&window)||j0(typeof self=="object"&&self)||j0(typeof ik=="object"&&ik)||function(){return this}()||Function("return this")(),RY=Object.defineProperty,N2=function(e,t){try{RY(be,e,{value:t,configurable:!0,writable:!0})}catch{be[e]=t}return t},La=be["__core-js_shared__"]||N2("__core-js_shared__",{}),L2=xd(function(e){(e.exports=function(t,n){return La[t]||(La[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),ak=Function.prototype,R2=ak.bind,M2=ak.call,MY=R2&&R2.bind(M2),Ne=R2?function(e){return e&&MY(M2,e)}:function(e){return e&&function(){return M2.apply(e,arguments)}},jY=be.TypeError,wo=function(e){if(e==null)throw jY("Can't call method on "+e);return e},zY=be.Object,Ra=function(e){return zY(wo(e))},VY=Ne({}.hasOwnProperty),$n=Object.hasOwn||function(e,t){return VY(Ra(e),t)},UY=0,HY=Math.random(),WY=Ne(1 .toString),j2=function(e){return"Symbol("+(e===void 0?"":e)+")_"+WY(++UY+HY,36)},Ft=function(e){return typeof e=="function"},qY=function(e){return Ft(e)?e:void 0},gu=function(e,t){return arguments.length<2?qY(be[e]):be[e]&&be[e][t]},tc=gu("navigator","userAgent")||"",sk=be.process,uk=be.Deno,lk=sk&&sk.versions||uk&&uk.version,ck=lk&&lk.v8;ck&&(M0=(Na=ck.split("."))[0]>0&&Na[0]<4?1:+(Na[0]+Na[1])),!M0&&tc&&(!(Na=tc.match(/Edge\/(\d+)/))||Na[1]>=74)&&(Na=tc.match(/Chrome\/(\d+)/))&&(M0=+Na[1]);var Ad=M0,kt=function(e){try{return!!e()}catch{return!0}},z2=!!Object.getOwnPropertySymbols&&!kt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ad&&Ad<41}),V2=z2&&!Symbol.sham&&typeof Symbol.iterator=="symbol",kd=L2("wks"),mu=be.Symbol,fk=mu&&mu.for,GY=V2?mu:mu&&mu.withoutSetter||j2,nn=function(e){if(!$n(kd,e)||!z2&&typeof kd[e]!="string"){var t="Symbol."+e;z2&&$n(mu,e)?kd[e]=mu[e]:kd[e]=V2&&fk?fk(t):GY(t)}return kd[e]},dk={};dk[nn("toStringTag")]="z";var U2=String(dk)==="[object z]",Jn=!kt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Wt=function(e){return typeof e=="object"?e!==null:Ft(e)},H2=be.document,KY=Wt(H2)&&Wt(H2.createElement),_d=function(e){return KY?H2.createElement(e):{}},pk=!Jn&&!kt(function(){return Object.defineProperty(_d("div"),"a",{get:function(){return 7}}).a!=7}),YY=be.String,JY=be.TypeError,Cn=function(e){if(Wt(e))return e;throw JY(YY(e)+" is not an object")},Od=Function.prototype.call,yt=Od.bind?Od.bind(Od):function(){return Od.apply(Od,arguments)},vu=Ne({}.isPrototypeOf),XY=be.Object,W2=V2?function(e){return typeof e=="symbol"}:function(e){var t=gu("Symbol");return Ft(t)&&vu(t.prototype,XY(e))},ZY=be.String,z0=function(e){try{return ZY(e)}catch{return"Object"}},QY=be.TypeError,Ma=function(e){if(Ft(e))return e;throw QY(z0(e)+" is not a function")},yu=function(e,t){var n=e[t];return n==null?void 0:Ma(n)},eJ=be.TypeError,tJ=be.TypeError,nJ=nn("toPrimitive"),rJ=function(e,t){if(!Wt(e)||W2(e))return e;var n,r=yu(e,nJ);if(r){if(t===void 0&&(t="default"),n=yt(r,e,t),!Wt(n)||W2(n))return n;throw tJ("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&Ft(a=o.toString)&&!Wt(s=yt(a,o))||Ft(a=o.valueOf)&&!Wt(s=yt(a,o))||i!=="string"&&Ft(a=o.toString)&&!Wt(s=yt(a,o)))return s;throw eJ("Can't convert object to primitive value")}(e,t)},q2=function(e){var t=rJ(e,"string");return W2(t)?t:t+""},oJ=be.TypeError,hk=Object.defineProperty,Jo={f:Jn?hk:function(e,t,n){if(Cn(e),t=q2(t),Cn(n),pk)try{return hk(e,t,n)}catch{}if("get"in n||"set"in n)throw oJ("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},V0=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Xo=Jn?function(e,t,n){return Jo.f(e,t,V0(1,n))}:function(e,t,n){return e[t]=n,e},iJ=Ne(Function.toString);Ft(La.inspectSource)||(La.inspectSource=function(e){return iJ(e)});var U0,Bd,H0,W0=La.inspectSource,gk=be.WeakMap,mk=Ft(gk)&&/native code/.test(W0(gk)),vk=L2("keys"),G2=function(e){return vk[e]||(vk[e]=j2(e))},q0={},K2=be.TypeError,aJ=be.WeakMap;if(mk||La.state){var bu=La.state||(La.state=new aJ),sJ=Ne(bu.get),yk=Ne(bu.has),uJ=Ne(bu.set);U0=function(e,t){if(yk(bu,e))throw new K2("Object already initialized");return t.facade=e,uJ(bu,e,t),t},Bd=function(e){return sJ(bu,e)||{}},H0=function(e){return yk(bu,e)}}else{var nc=G2("state");q0[nc]=!0,U0=function(e,t){if($n(e,nc))throw new K2("Object already initialized");return t.facade=e,Xo(e,nc,t),t},Bd=function(e){return $n(e,nc)?e[nc]:{}},H0=function(e){return $n(e,nc)}}var vr={set:U0,get:Bd,has:H0,enforce:function(e){return H0(e)?Bd(e):U0(e,{})},getterFor:function(e){return function(t){var n;if(!Wt(t)||(n=Bd(t)).type!==e)throw K2("Incompatible receiver, "+e+" required");return n}}},bk=Function.prototype,lJ=Jn&&Object.getOwnPropertyDescriptor,Y2=$n(bk,"name"),rc={EXISTS:Y2,PROPER:Y2&&function(){}.name==="something",CONFIGURABLE:Y2&&(!Jn||Jn&&lJ(bk,"name").configurable)},Fr=xd(function(e){var t=rc.CONFIGURABLE,n=vr.get,r=vr.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;Ft(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!$n(s,"name")||t&&s.name!==m)&&Xo(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==be?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Xo(i,a,s)):p?i[a]=s:N2(a,s)})(Function.prototype,"toString",function(){return Ft(this)&&n(this).source||W0(this)})}),cJ=Ne({}.toString),fJ=Ne("".slice),Zo=function(e){return fJ(cJ(e),8,-1)},dJ=nn("toStringTag"),pJ=be.Object,hJ=Zo(function(){return arguments}())=="Arguments",G0=U2?Zo:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=pJ(e),dJ))=="string"?n:hJ?Zo(t):(r=Zo(t))=="Object"&&Ft(t.callee)?"Arguments":r},gJ=U2?{}.toString:function(){return"[object "+G0(this)+"]"};U2||Fr(Object.prototype,"toString",gJ,{unsafe:!0});var K0={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},J2=_d("span").classList,wk=J2&&J2.constructor&&J2.constructor.prototype,$k=wk===Object.prototype?void 0:wk,Ck=Ne(Ne.bind),wu=function(e,t){return Ma(e),t===void 0?e:Ck?Ck(e,t):function(){return e.apply(t,arguments)}},X2=be.Object,mJ=Ne("".split),Y0=kt(function(){return!X2("z").propertyIsEnumerable(0)})?function(e){return Zo(e)=="String"?mJ(e,""):X2(e)}:X2,vJ=Math.ceil,yJ=Math.floor,Td=function(e){var t=+e;return t!=t||t===0?0:(t>0?yJ:vJ)(t)},bJ=Math.min,oc=function(e){return e>0?bJ(Td(e),9007199254740991):0},$u=function(e){return oc(e.length)},J0=Array.isArray||function(e){return Zo(e)=="Array"},Ek=function(){},wJ=[],Sk=gu("Reflect","construct"),Z2=/^\s*(?:class|function)\b/,$J=Ne(Z2.exec),CJ=!Z2.exec(Ek),Fd=function(e){if(!Ft(e))return!1;try{return Sk(Ek,wJ,e),!0}catch{return!1}},X0=!Sk||kt(function(){var e;return Fd(Fd.call)||!Fd(Object)||!Fd(function(){e=!0})||e})?function(e){if(!Ft(e))return!1;switch(G0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return CJ||!!$J(Z2,W0(e))}:Fd,EJ=nn("species"),Dk=be.Array,xk=function(e,t){return new(function(n){var r;return J0(n)&&(r=n.constructor,(X0(r)&&(r===Dk||J0(r.prototype))||Wt(r)&&(r=r[EJ])===null)&&(r=void 0)),r===void 0?Dk:r}(e))(t===0?0:t)},Ak=Ne([].push),ja=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=Ra(l),$=Y0(C),b=wu(f,d),w=$u($),y=0,S=p||xk,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Ak(x,h)}else switch(e){case 4:return!1;case 7:Ak(x,h)}return i?-1:r||o?o:x}},ic={forEach:ja(0),map:ja(1),filter:ja(2),some:ja(3),every:ja(4),find:ja(5),findIndex:ja(6),filterReject:ja(7)},kk=function(e,t){var n=[][e];return!!n&&kt(function(){n.call(null,t||function(){throw 1},1)})},SJ=ic.forEach,Q2=kk("forEach")?[].forEach:function(e){return SJ(this,e,arguments.length>1?arguments[1]:void 0)},_k=function(e){if(e&&e.forEach!==Q2)try{Xo(e,"forEach",Q2)}catch{e.forEach=Q2}};for(var ew in K0)K0[ew]&&_k(be[ew]&&be[ew].prototype);_k($k);var Ok={}.propertyIsEnumerable,Bk=Object.getOwnPropertyDescriptor,DJ=Bk&&!Ok.call({1:2},1)?function(e){var t=Bk(this,e);return!!t&&t.enumerable}:Ok,Tk={f:DJ},za=function(e){return Y0(wo(e))},Fk=Object.getOwnPropertyDescriptor,Pd={f:Jn?Fk:function(e,t){if(e=za(e),t=q2(t),pk)try{return Fk(e,t)}catch{}if($n(e,t))return V0(!yt(Tk.f,e,t),e[t])}},xJ=Math.max,AJ=Math.min,ac=function(e,t){var n=Td(e);return n<0?xJ(n+t,0):AJ(n,t)},Pk=function(e){return function(t,n,r){var o,i=za(t),a=$u(i),s=ac(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Ik={includes:Pk(!0),indexOf:Pk(!1)},kJ=Ik.indexOf,Nk=Ne([].push),Lk=function(e,t){var n,r=za(e),o=0,i=[];for(n in r)!$n(q0,n)&&$n(r,n)&&Nk(i,n);for(;t.length>o;)$n(r,n=t[o++])&&(~kJ(i,n)||Nk(i,n));return i},Z0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_J=Z0.concat("length","prototype"),Id={f:Object.getOwnPropertyNames||function(e){return Lk(e,_J)}},Rk={f:Object.getOwnPropertySymbols},OJ=Ne([].concat),BJ=gu("Reflect","ownKeys")||function(e){var t=Id.f(Cn(e)),n=Rk.f;return n?OJ(t,n(e)):t},TJ=function(e,t){for(var n=BJ(t),r=Jo.f,o=Pd.f,i=0;i<n.length;i++){var a=n[i];$n(e,a)||r(e,a,o(t,a))}},FJ=/#|\.prototype\./,Nd=function(e,t){var n=IJ[PJ(e)];return n==LJ||n!=NJ&&(Ft(t)?kt(t):!!t)},PJ=Nd.normalize=function(e){return String(e).replace(FJ,".").toLowerCase()},IJ=Nd.data={},NJ=Nd.NATIVE="N",LJ=Nd.POLYFILL="P",Ld=Nd,RJ=Pd.f,rn=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?be:f?be[s]||N2(s,{}):(be[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=RJ(n,r))&&a.value:n[r],!Ld(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;TJ(i,o)}(e.sham||o&&o.sham)&&Xo(i,"sham",!0),Fr(n,r,i,e)}},sc=Object.keys||function(e){return Lk(e,Z0)},MJ=kt(function(){sc(1)});/*!
51
51
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
52
52
  *
53
53
  * Copyright (c) 2014-2017, Jon Schlinkert.
@@ -89,7 +89,7 @@ Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#
89
89
  autoCorrect="true"
90
90
  autoCapitalize="true"
91
91
  ></div>`)}(o);r.append(p),e.$textArea=p,n=p[0],(m=vq([Cq,Aq,Fq,Eq,xq,$q]))(n,l),O_.set(e,!1),B_.set(e,m)}else{var h=T_.get(e),m=B_.get(e);if(h==null||m==null)return;n=h.elm,m(h,l)}if(n!=null||(n=t4(o))!=null){if((d?s:t.isFocused())&&n.focus({preventScroll:!0}),d){var C=e4(n);C&&F_.set(t,C)}Jw.set(t,n),wm.set(t,n),bm.set(n,t),T_.set(e,l)}}function KO(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function YO(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function U4(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return YO(n.overflowY,t)||YO(n.overflowX,t)||function(r){var o=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}}(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)}(e)}return!1}function Om(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}function JO(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l=typeof a=="function"?a:function(ge){return ge!==a};if(!KO(e))throw new TypeError("Invalid target");for(var f=document.scrollingElement||document.documentElement,d=[],p=e;KO(p)&&l(p);){if((p=p.parentElement)===f){d.push(p);break}p!=null&&p===document.body&&U4(p)&&!U4(document.documentElement)||p!=null&&U4(p,s)&&d.push(p)}for(var h=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,C=window.scrollX||pageXOffset,$=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),w=b.height,y=b.width,S=b.top,x=b.right,A=b.bottom,O=b.left,T=o==="start"||o==="nearest"?S:o==="end"?A:S+w/2,z=i==="center"?O+y/2:i==="end"?x:O,V=[],ue=0;ue<d.length;ue++){var oe=d[ue],de=oe.getBoundingClientRect(),me=de.height,_e=de.width,Ee=de.top,Be=de.right,Fe=de.bottom,je=de.left;if(r==="if-needed"&&S>=0&&O>=0&&A<=m&&x<=h&&S>=Ee&&A<=Fe&&O>=je&&x<=Be)return V;var Ue=getComputedStyle(oe),Oe=parseInt(Ue.borderLeftWidth,10),Je=parseInt(Ue.borderTopWidth,10),G=parseInt(Ue.borderRightWidth,10),H=parseInt(Ue.borderBottomWidth,10),I=0,L=0,Y="offsetWidth"in oe?oe.offsetWidth-oe.clientWidth-Oe-G:0,q="offsetHeight"in oe?oe.offsetHeight-oe.clientHeight-Je-H:0;if(f===oe)I=o==="start"?T:o==="end"?T-m:o==="nearest"?Om($,$+m,m,Je,H,$+T,$+T+w,w):T-m/2,L=i==="start"?z:i==="center"?z-h/2:i==="end"?z-h:Om(C,C+h,h,Oe,G,C+z,C+z+y,y),I=Math.max(0,I+$),L=Math.max(0,L+C);else{I=o==="start"?T-Ee-Je:o==="end"?T-Fe+H+q:o==="nearest"?Om(Ee,Fe,me,Je,H+q,T,T+w,w):T-(Ee+me/2)+q/2,L=i==="start"?z-je-Oe:i==="center"?z-(je+_e/2)+Y/2:i==="end"?z-Be+G+Y:Om(je,Be,_e,Oe,G+Y,z,z+y,y);var B=oe.scrollLeft,ce=oe.scrollTop;T+=ce-(I=Math.max(0,Math.min(ce+I,oe.scrollHeight-me+q))),z+=B-(L=Math.max(0,Math.min(B+L,oe.scrollWidth-_e+Y)))}V.push({el:oe,top:I,left:L})}return V}function XO(e){return e===Object(e)&&Object.keys(e).length!==0}function oee(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(XO(t)&&typeof t.behavior=="function")return t.behavior(n?[]:JO(e,t));if(!n){var r=function(o){return o===!1?{block:"end",inline:"nearest"}:XO(o)?o:{block:"start",inline:"nearest"}}(t);return function(o,i){i===void 0&&(i="auto");var a="scrollBehavior"in document.body.style;o.forEach(function(s){var l=s.el,f=s.top,d=s.left;l.scroll&&a?l.scroll({top:f,left:d,behavior:i}):(l.scrollTop=f,l.scrollLeft=d)})}(JO(e,r),r.behavior)}}function So(e,t){return Du(t)&&R.hasDOMNode(e,t,{editable:!0})}function ZO(e,t){if(e.getConfig().readOnly)return!1;var n=Ec(e,t)&&R.toSlateNode(e,t);return _.isVoid(e,n)}function Ec(e,t){return Du(t)&&R.hasDOMNode(e,t)}function QO(e,t,n){n===void 0&&(n=!1);var r=t.selection,o=t.getConfig(),i=R.findDocumentOrShadowRoot(t).getSelection();if(i&&(!e.isComposing||n)&&t.isFocused()){var a=i.type!=="None";if(r||a){var s=Jw.get(t),l=!1;if(s.contains(i.anchorNode)&&s.contains(i.focusNode)&&(l=!0),a&&l&&r){var f=R.toSlateRange(t,i,{exactMatch:!0,suppressThrow:!0});if(f&&re.equals(f,r)){var d=!0;if(re.isCollapsed(r)){var p=i.anchorNode,h=i.anchorOffset;if(p===s){var m=s.childNodes,C=void 0;(C=m[h])&&C.matches("table")&&(d=!1),(C=m[h-1])&&C.matches("table")&&(d=!1)}}if(d)return}}if(!r||R.hasRange(t,r)){e.isUpdatingSelection=!0;var $=r&&R.toDOMRange(t,r);if($){re.isBackward(r)?i.setBaseAndExtent($.endContainer,$.endOffset,$.startContainer,$.startOffset):i.setBaseAndExtent($.startContainer,$.startOffset,$.endContainer,$.endOffset);var b=$.startContainer.parentElement;if(!b.closest("[data-slate-spacer]")){b.getBoundingClientRect=$.getBoundingClientRect.bind($);var w=document.body;oee(b,{scrollMode:"if-needed",boundary:o.scroll?s.parentElement:w,block:"end",behavior:"smooth"}),delete b.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){$&&Kd&&s.focus(),e.isUpdatingSelection=!1})}else t.selection=R.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})}}}var H4=new WeakMap,e7=new WeakMap,iee={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},aee={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},see={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Zt=function(e){var t=iee[e],n=aee[e],r=see[e],o=t&&g2(t),i=n&&g2(n),a=r&&g2(r);return function(s){return!(!o||!o(s))||!!(n4&&i&&i(s))||!(n4||!a||!a(s))}},on={isBold:Zt("bold"),isCompose:Zt("compose"),isMoveBackward:Zt("moveBackward"),isMoveForward:Zt("moveForward"),isDeleteBackward:Zt("deleteBackward"),isDeleteForward:Zt("deleteForward"),isDeleteLineBackward:Zt("deleteLineBackward"),isDeleteLineForward:Zt("deleteLineForward"),isDeleteWordBackward:Zt("deleteWordBackward"),isDeleteWordForward:Zt("deleteWordForward"),isExtendBackward:Zt("extendBackward"),isExtendForward:Zt("extendForward"),isExtendLineBackward:Zt("extendLineBackward"),isExtendLineForward:Zt("extendLineForward"),isItalic:Zt("italic"),isMoveLineBackward:Zt("moveLineBackward"),isMoveLineForward:Zt("moveLineForward"),isMoveWordBackward:Zt("moveWordBackward"),isMoveWordForward:Zt("moveWordForward"),isRedo:Zt("redo"),isSplitBlock:Zt("splitBlock"),isTransposeCharacter:Zt("transposeCharacter"),isUndo:Zt("undo"),isTab:Zt("tab"),isSelectAll:Zt("selectAll")};function Bn(e){e.preventDefault()}var uee={beforeinput:function(e,t,n){var r=e,o=n.getConfig().readOnly;if(Jd&&!o&&So(n,r.target)){var i=n.selection,a=r.inputType,s=r.dataTransfer||r.data||void 0;if(a!=="insertCompositionText"&&a!=="deleteCompositionText"){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var l=bt(r.getTargetRanges(),1)[0];if(l){var f=R.toSlateRange(n,l,{exactMatch:!1,suppressThrow:!1});i&&re.equals(i,f)||ee.select(n,f)}}if(i&&re.isExpanded(i)&&a.startsWith("delete")){var d=a.endsWith("Backward")?"backward":"forward";_.deleteFragment(n,{direction:d})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":_.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":_.deleteForward(n);break;case"deleteContentBackward":_.deleteBackward(n);break;case"deleteEntireSoftLine":_.deleteBackward(n,{unit:"line"}),_.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":_.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":_.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":_.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":_.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":_.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":_.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":_.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(a==="insertFromPaste"&&!Qw.get(n))break;s instanceof DataTransfer?n.insertData(s):typeof s=="string"&&_.insertText(n,s)}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,i=t.latestElement;if(!n.getConfig().readOnly&&!o&&So(n,r.target)){var a=R.findDocumentOrShadowRoot(n);if(i!==a.activeElement){var s=r.relatedTarget;if(!(s===R.toDOMNode(n,n)||Qo(s)&&s.hasAttribute("data-slate-spacer"))){if(s!=null&&Du(s)&&R.hasDOMNode(n,s)){var l=R.toSlateNode(n,s);if(Pe.isElement(l)&&!n.isVoid(l))return}if(Yd){var f=a.getSelection();f==null||f.removeAllRanges()}Su.delete(n)}}}},focus:function(e,t,n){var r=R.toDOMNode(n,n),o=R.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,Kd&&e.target!==r?r.focus():Su.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&Ec(n,e.target)&&Du(e.target)){var r=R.toSlateNode(n,e.target),o=R.findPath(n,r);if(_.hasPath(n,o)&&we.get(n,o)===r){var i=_.start(n,o),a=_.end(n,o),s=_.void(n,{at:i}),l=_.void(n,{at:a});if(s&&l&&J.equals(s[1],l[1])){var f=_.range(n,i);ee.select(n,f)}}}},compositionstart:function(e,t,n){if(So(n,e.target)){var r=n.selection;if(r&&re.isExpanded(r)&&(_.deleteFragment(n),Promise.resolve().then(function(){QO(t,n,!0)})),r&&re.isCollapsed(r)){var o=R.toDOMRange(n,r).startContainer,i=o.textContent||"";H4.set(n,i),e7.set(n,o)}t.isComposing=!0,function(a,s){var l;s.getConfig().placeholder&&s.isEmpty()&&a.showPlaceholder&&((l=a.$placeholder)===null||l===void 0||l.hide(),a.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(So(n,r.target)){t.isComposing=!1;var o=n.selection;if(o!=null){(r4||Kd)&&R.cleanExposedTexNodeInSelectionBlock(n);for(var i=re.isBackward(o)?o.focus:o.anchor,a=bt(_.node(n,[i.path[0]]),1)[0],s=0;s<i.path.length;s++){var l=bt(_.node(n,i.path.slice(0,s+1)),1)[0];if(Pe.isElement(l)&&((Yd||Kd)&&l.type==="link"||l.type==="code")){R.setNewKey(a);break}}var f=r.data;if(f){if(n.getConfig().maxLength){var d=R.getLeftLengthOfMaxLength(n);d<f.length?(R.toDOMRange(n,o).startContainer.textContent=H4.get(n)||"",d>0&&_.insertText(n,f.slice(0,d)),t.changeViewState()):_.insertText(n,f)}else _.insertText(n,f);Yd||setTimeout(function(){var p=n.selection;if(p!=null){var h=e7.get(n);h!=null&&R.toDOMRange(n,p).startContainer!==h&&(h.textContent=H4.get(n)||"")}})}}}},compositionupdate:function(e,t,n){So(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&So(n,r.target)){if(function(a,s){var l=mm.get(a),f=l&&l.getMenus(),d=vm.get(a),p=d&&d.getMenus(),h=$o($o({},f),p);for(var m in h){var C=h[m],$=C.hotkey;if($&&PG($,s)&&!C.isDisabled(a)){var b=C.getValue(a);C.exec(a,b)}}}(n,r),on.isTab(r))return Bn(r),void n.handleTab();if(on.isRedo(r))return Bn(r),void(typeof n.redo=="function"&&n.redo());if(on.isUndo(r))return Bn(r),void(typeof n.undo=="function"&&n.undo());if(on.isMoveLineBackward(r))return Bn(r),void ee.move(n,{unit:"line",reverse:!0});if(on.isMoveLineForward(r))return Bn(r),void ee.move(n,{unit:"line"});if(on.isExtendLineBackward(r))return Bn(r),void ee.move(n,{unit:"line",edge:"focus",reverse:!0});if(on.isExtendLineForward(r))return Bn(r),void ee.move(n,{unit:"line",edge:"focus"});if(on.isMoveBackward(r))return Bn(r),void(o&&re.isCollapsed(o)?ee.move(n,{reverse:!0}):ee.collapse(n,{edge:"start"}));if(on.isMoveForward(r))return Bn(r),void(o&&re.isCollapsed(o)?ee.move(n):ee.collapse(n,{edge:"end"}));if(on.isMoveWordBackward(r))return Bn(r),o&&re.isExpanded(o)&&ee.collapse(n,{edge:"focus"}),void ee.move(n,{unit:"word",reverse:!0});if(on.isMoveWordForward(r))return Bn(r),o&&re.isExpanded(o)&&ee.collapse(n,{edge:"focus"}),void ee.move(n,{unit:"word"});if(on.isSelectAll(r))return Bn(r),void n.selectAll();if(Jd){if((r4||Yd)&&o&&(on.isDeleteBackward(r)||on.isDeleteForward(r))&&re.isCollapsed(o)){var i=we.parent(n,o.anchor.path);if(Pe.isElement(i)&&_.isVoid(n,i)&&_.isInline(n,i))return r.preventDefault(),void ee.delete(n,{unit:"block"})}}else{if(on.isBold(r)||on.isItalic(r)||on.isTransposeCharacter(r))return void Bn(r);if(on.isSplitBlock(r))return Bn(r),void _.insertBreak(n);if(on.isDeleteBackward(r))return Bn(r),void(o&&re.isExpanded(o)?_.deleteFragment(n,{direction:"backward"}):_.deleteBackward(n));if(on.isDeleteForward(r))return Bn(r),void(o&&re.isExpanded(o)?_.deleteFragment(n,{direction:"forward"}):_.deleteForward(n));if(on.isDeleteLineBackward(r))return Bn(r),void(o&&re.isExpanded(o)?_.deleteFragment(n,{direction:"backward"}):_.deleteBackward(n,{unit:"line"}));if(on.isDeleteLineForward(r))return Bn(r),void(o&&re.isExpanded(o)?_.deleteFragment(n,{direction:"forward"}):_.deleteForward(n,{unit:"line"}));if(on.isDeleteWordBackward(r))return Bn(r),void(o&&re.isExpanded(o)?_.deleteFragment(n,{direction:"backward"}):_.deleteBackward(n,{unit:"word"}));if(on.isDeleteWordForward(r))return Bn(r),void(o&&re.isExpanded(o)?_.deleteFragment(n,{direction:"forward"}):_.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!Jd&&!n.getConfig().readOnly&&So(n,e.target)){e.preventDefault();var r=e.key;_.insertText(n,r)}},copy:function(e,t,n){var r=e;if(So(n,r.target)){r.preventDefault();var o=r.clipboardData;o!=null&&n.setFragmentData(o)}},cut:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&So(n,r.target)){r.preventDefault();var i=r.clipboardData;if(i!=null&&(n.setFragmentData(i),o))if(re.isExpanded(o))_.deleteFragment(n);else{var a=we.parent(n,o.anchor.path);_.isVoid(n,a)&&ee.delete(n)}}},paste:function(e,t,n){Qw.set(n,!0);var r=e;if(!n.getConfig().readOnly&&So(n,r.target)){var o=n.getConfig().customPaste;if(o&&o(n,r)===!1)return void Qw.set(n,!1);if(!Jd||function(a){return a.clipboardData&&a.clipboardData.getData("text/plain")!==""&&a.clipboardData.types.length===1}(r)){r.preventDefault();var i=r.clipboardData;i!=null&&n.insertData(i)}}},dragover:function(e,t,n){if(Ec(n,e.target)){var r=R.toSlateNode(n,e.target);_.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(Ec(n,r.target)&&!n.getConfig().readOnly){var o=R.toSlateNode(n,r.target),i=R.findPath(n,o);if(_.isVoid(n,o)||_.void(n,{at:i,voids:!0})){var a=_.range(n,i);ee.select(n,a)}var s=r.dataTransfer;s!=null&&(t.isDraggingInternally=!0,n.setFragmentData(s))}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&Ec(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,o=r.dataTransfer;if(!n.getConfig().readOnly&&Ec(n,r.target)&&o!=null&&!(Jd&&Yd&&o.files.length>0)){r.preventDefault();var i=n.selection,a=R.findEventRange(n,r);ee.select(n,a),t.isDraggingInternally&&(i&&ee.delete(n,{at:i}),t.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},lee=1,cee=function(){function e(t){var n=this;this.id=lee++,this.$textArea=null,this.$progressBar=U('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=U('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=uu(function(){var a=n.editorInstance;(function(s,l){var f=s.isComposing,d=s.isUpdatingSelection,p=s.isDraggingInternally;if(!(l.getConfig().readOnly||f||d||p)){var h=R.findDocumentOrShadowRoot(l),m=h.activeElement,C=R.toDOMNode(l,l),$=h.getSelection();if(m===C?(s.latestElement=m,Su.set(l,!0)):Su.delete(l),!$)return ee.deselect(l);var b=$.anchorNode,w=$.focusNode,y=So(l,b)||ZO(l,b),S=So(l,w)||ZO(l,w);if(y&&S){var x=R.toSlateRange(l,$,{exactMatch:!1,suppressThrow:!1});ee.select(l,x)}else ee.deselect(l)}})(n,a)},100);var r=U(t);if(r.length===0)throw new Error("Cannot find textarea DOM by selector '"+t+"'");this.$box=r;var o=U('<div class="w-e-text-container"></div>');o.append(this.$progressBar),o.append(this.$maxLengthInfo),r.append(o);var i=U('<div class="w-e-scroll"></div>');o.append(i),this.$scroll=i,this.$textAreaContainer=o,Eo(function(){var a=n.editorInstance,s=R.getWindow(a);s.document.addEventListener("selectionchange",n.onDOMSelectionChange),a.on("destroyed",function(){s.document.removeEventListener("selectionchange",n.onDOMSelectionChange)}),o.on("click",function(){return a.hidePanelOrModal()}),a.on("change",n.changeViewState.bind(n));var l=a.getConfig().onChange;l&&a.on("change",function(){return l(a)}),n.onFocusAndOnBlur(),a.on("change",n.changeMaxLengthInfo.bind(n)),n.bindEvent()})}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var t=Ww.get(this);if(t==null)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var t=this,n=this.$textArea,r=this.$scroll,o=this.editorInstance;n!=null&&(r2(uee,function(i,a){n.on(a,function(s){i(s,t,o)})}),o.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",uu(function(){o.emit("scroll")},100))))},e.prototype.onFocusAndOnBlur=function(){var t=this,n=this.editorInstance,r=n.getConfig(),o=r.onBlur,i=r.onFocus;this.latestEditorSelection=n.selection,n.on("change",function(){t.latestEditorSelection==null&&n.selection!=null?setTimeout(function(){return i&&i(n)}):t.latestEditorSelection!=null&&n.selection==null&&setTimeout(function(){return o&&o(n)}),t.latestEditorSelection=n.selection})},e.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,n=t.getConfig().maxLength;if(n){var r=n-R.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML=r+"/"+n}},e.prototype.changeProgress=function(t){var n=this.$progressBar;n.css("width",t+"%"),t>=100&&setTimeout(function(){n.hide(),n.css("width","0"),n.show()},1e3)},e.prototype.changeViewState=function(){var t=this,n=this.editorInstance;ree(this,n),function(r,o){var i,a=o.getConfig().placeholder;if(a){var s=o.isEmpty();if(s&&!r.showPlaceholder&&!r.isComposing){if(r.$placeholder==null){var l=U('<div class="w-e-text-placeholder">'+a+"</div>");r.$textAreaContainer.append(l),r.$placeholder=l}return r.$placeholder.show(),void(r.showPlaceholder=!0)}!s&&r.showPlaceholder&&((i=r.$placeholder)===null||i===void 0||i.hide(),r.showPlaceholder=!1)}}(this,n),Eo(function(){QO(t,n)})},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();Bw("match",function(e,t,n){return[function(r){var o=wo(this),i=r==null?void 0:yu(r,e);return i?yt(i,r,o):new RegExp(r)[e](Vt(o))},function(r){var o=Cn(this),i=Vt(r),a=n(t,o,i);if(a.done)return a.value;if(!o.global)return Vd(o,i);var s=o.unicode;o.lastIndex=0;for(var l,f=[],d=0;(l=Vd(o,i))!==null;){var p=Vt(l[0]);f[d]=p,p===""&&(o.lastIndex=Tw(i,oc(o.lastIndex),s)),d++}return d===0?null:f}]});function W4(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&W4(t)}function q4(){return U('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function t7(){return U('<div class="w-e-bar-divider"></div>')}function n7(e,t,n,r,o){if(o===void 0&&(o=!1),t){if(r){var i=n4?"cmd":"ctrl";r=r.replace("mod",i)}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var a=r?n+`
92
- `+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5")}}}var G4=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=U('<div class="w-e-bar-item"></div>'),this.$button=U('<button type="button"></button>'),this.disabled=!1,this.menu=n;var i=n.tag,a=n.width;if(i!=="button")throw new Error("Invalid tag '"+i+"', expected 'button'");var s=n.title,l=n.hotkey,f=l===void 0?"":l,d=n.iconSvg,p=d===void 0?"":d,h=this.$button;if(p){var m=U(p);W4(m),h.append(m)}else h.text(s);n7(h,p,s,f,r),r&&p&&h.append(U('<span class="title">'+s+"</span>")),a&&h.css("width",a+"px"),h.attr("data-menu-key",t),this.$elem.append(h),Eo(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),Yr(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},e.prototype.exec=function(){var t=Yr(this),n=this.menu,r=n.getValue(t);n.exec(t,r)},e.prototype.setActive=function(){var t=Yr(this),n=this.$button,r="active";this.menu.isActive(t)?n.addClass(r):n.removeClass(r)},e.prototype.setDisabled=function(){var t=Yr(this),n=this.$button,r=this.menu.isDisabled(t);(t.selection==null||t.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var o="disabled";r?n.addClass(o):n.removeClass(o),this.disabled=r},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),fee=function(e){function t(n,r,o){return o===void 0&&(o=!1),e.call(this,n,r,o)||this}return fc(t,e),t.prototype.onButtonClick=function(){},t}(G4),K4=function(){function e(t){this.isShow=!1,this.showTime=0,this.record(t)}return e.prototype.record=function(t){var n=Yw.get(t);n==null&&(n=new Set,Yw.set(t,n)),n.add(this),ym.set(this,t)},e.prototype.renderContent=function(t){var n=this.$elem;n.empty(),n.append(t);var r=this.genSelfElem();r&&n.append(r)},e.prototype.appendTo=function(t){var n=this.$elem;t.append(n)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=ym.get(this);t&&t.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=ym.get(this);t&&t.emit("modalOrPanelHide")}},e}(),dee=function(e){function t(n){var r=e.call(this,n)||this;return r.type="dropPanel",r.$elem=U('<div class="w-e-drop-panel"></div>'),r}return fc(t,e),t.prototype.genSelfElem=function(){return null},t}(K4),pee=function(e){function t(n,r,o){o===void 0&&(o=!1);var i=e.call(this,n,r,o)||this;if(i.dropPanel=null,i.menu=r,r.showDropPanel){var a=q4();i.$button.append(a)}return i}return fc(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var n=this.menu;if(n.getPanelContentElem!=null){var r=Yr(this);if(this.dropPanel==null){var o=new dee(r),i=n.getPanelContentElem(r);o.renderContent(i),o.appendTo(this.$elem),o.show(),this.dropPanel=o}else{var a=this.dropPanel;a.isShow?a.hide():(i=n.getPanelContentElem(r),a.renderContent(i),a.show())}var s=this.dropPanel;if(s.isShow){var l=this.$elem,f=l.offset().left,d=l.parents(".w-e-bar");f-d.offset().left>=d.width()/2?s.$elem.css({left:"none",right:"0"}):s.$elem.css({left:"0",right:"none"})}}},t}(G4),hee=function(e){function t(n,r){r===void 0&&(r=0);var o=e.call(this,n)||this;o.type="modal",o.$elem=U('<div class="w-e-modal"></div>'),o.width=0,r&&(o.width=r);var i=o.$elem;return i.on("click",function(a){return a.stopPropagation()}),i.on("keyup",function(a){a.code==="Escape"&&(o.hide(),n.restoreSelection())}),o}return fc(t,e),t.prototype.genSelfElem=function(){var n=this,r=U('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),o=ym.get(this);return r.on("click",function(){n.hide(),o==null||o.restoreSelection()}),r},t.prototype.setStyle=function(n){var r=this.width,o=this.$elem;o.attr("style",""),r&&o.css("width",r+"px"),o.css(n)},t}(K4);function Pr(e,t,n){var r=U('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=U('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function gee(e,t,n){var r=U('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=U('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]]}function _u(e,t){var n=U('<div class="button-container"></div>'),r=U('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var mee=function(e){function t(n,r,o){o===void 0&&(o=!1);var i=e.call(this,n,r,o)||this;return i.$body=U("body"),i.modal=null,i.menu=r,i}return fc(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var n=Yr(this),r=this.menu.getModalPositionNode(n);return Pe.isElement(r)?L4(n,r,"modal"):N4(n)},t.prototype.handleModal=function(){var n=Yr(this),r=this.menu;if(this.modal==null){var o=new hee(n,r.modalWidth);this.renderAndShowModal(o,!0),this.modal=o}else(o=this.modal).isShow?o.hide():this.renderAndShowModal(o,!1)},t.prototype.renderAndShowModal=function(n,r){r===void 0&&(r=!1);var o=Yr(this),i=this.menu;if(i.getModalContentElem!=null){var a=R.getTextarea(o),s=R.getToolbar(o),l=((s==null?void 0:s.getConfig())||{}).modalAppendToBody,f=i.getModalContentElem(o);if(n.renderContent(f),l)n.setStyle({left:"0",right:"0"});else{var d=this.getPosition();n.setStyle(d)}r&&(l?n.appendTo(this.$body):n.appendTo(a.$textAreaContainer)),n.show(),l||R4(o,n.$elem),setTimeout(function(){o.blur()})}},t}(G4),vee=function(e){function t(n,r){var o=e.call(this,n)||this;return o.type="selectList",o.$elem=U('<div class="w-e-select-list"></div>'),r&&o.$elem.css("width",r+"px"),o.$elem.on("click",function(i){i.stopPropagation()}),o}return fc(t,e),t.prototype.renderList=function(n){var r=this.$elem;r.empty();var o=U("<ul></ul>");n.forEach(function(i){var a=i.value,s=i.text,l=i.selected,f=i.styleForRenderMenuList,d=U('<li data-value="'+a+'"></li>');if(f&&d.css(f),l){var p=U('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');d.append(p),d.addClass("selected")}d.append(U('<span data-value="'+a+'">'+s+"</span>")),d.attr("title",s),o.append(d)}),r.append(o)},t.prototype.genSelfElem=function(){return null},t}(K4),yee=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=U('<div class="w-e-bar-item"></div>'),this.$button=U('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var i=n.tag,a=n.title,s=n.width,l=n.iconSvg,f=l===void 0?"":l,d=n.hotkey,p=d===void 0?"":d;if(i!=="select")throw new Error("Invalid tag '"+i+"', expected 'select'");var h=this.$button;s&&h.css("width",s+"px"),h.attr("data-menu-key",t),n7(h,f,a,p,r),this.$elem.append(h),this.menu=n,Eo(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),Yr(t).hidePanelOrModal(),t.trigger()})},e.prototype.trigger=function(){var t=this,n=Yr(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new vee(n,r.selectPanelWidth);var o=this.selectList,i=r.getOptions(n);o.renderList(i),o.appendTo(this.$elem),o.show(),o.$elem.on("click","li",function(a){var s=a.target;if(s!=null){a.preventDefault();var l=U(s).attr("data-value");t.onChange(l)}})}else(o=this.selectList).isShow?o.hide():(i=r.getOptions(n),o.renderList(i),o.show())}},e.prototype.onChange=function(t){var n=Yr(this),r=this.menu;r.exec&&r.exec(n,t)},e.prototype.setSelectedValue=function(){var t=Yr(this),n=this.menu,r=n.getValue(t),o=function(s,l){for(var f=s.length,d="",p=0;p<f;p++){var h=s[p];if(h.value===l){d=h.text;break}}return d}(n.getOptions(t),r.toString()),i=this.$button,a=q4();i.empty(),i.text(o),i.append(a)},e.prototype.setDisabled=function(){var t=Yr(this),n=this.menu.isDisabled(t),r=this.$button;(t.selection==null||t.isDisabled())&&(n=!0);var o="disabled";n?r.addClass(o):r.removeClass(o),this.disabled=n},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),r7=function(){function e(t){this.$elem=U('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=U('<div class="w-e-bar-item-menus-container"></div>'),this.$button=U('<button type="button"></button>');var n=t.key,r=t.iconSvg,o=t.title,i=this.$elem,a=this.$button;if(r){var s=U(r);W4(s),a.append(s)}else a.text(o);a.attr("data-menu-key",n);var l=q4();a.append(l),i.append(a);var f=this.$container;i.append(f);var d=this.createObserver();this.observe(d)}return e.prototype.appendBarItem=function(t){var n=t.$elem;this.$container.append(n)},e.prototype.observe=function(t){var n=this.$container;t.observe(n[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var t=this,n=this.$container,r=this.$button,o=new MutationObserver(function(){var i=n.find("button"),a=i.length;if(a!==0){var s=0;i.each(function(l){U(l).hasClass("disabled")&&s++}),o.disconnect(),s===a?r.addClass("disabled"):r.removeClass("disabled"),t.observe(o)}});return o},e}(),o7=new WeakMap;function Yr(e){var t=Kw.get(e);if(t==null)throw new Error("Can not get editor instance");return t}function i7(e,t,n){n===void 0&&(n=!1);var r=o7.get(t);if(r)return r;var o=t.tag;if(o==="button"){var i=t.showDropPanel,a=t.showModal;r=i?new pee(e,t,n):a?new mee(e,t,n):new fee(e,t,n)}if(o==="select"&&(r=new yee(e,t,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(t));return o7.set(t,r),r}function bee(e,t){var n=e.selection;return n!=null&&!re.isCollapsed(n)&&!R.getSelectedElems(e).some(function(r){if(e.isVoid(r))return!0;var o=r.type;return!!["pre","code","table"].includes(o)||void 0})&&!!xe.isText(t)}var wee=function(){function e(){var t=this;this.$elem=U('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=A8(function(){var n=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},o=r.node,i=o===void 0?null:o,a=r.menuKeys,s=a===void 0?[]:a;i!=null&&t.changeItemsState(),!(i&&Pe.isElement(i)&&n&&t.isSamePath(i,t.prevSelectedNode))&&(t.hideAndClean(),i!=null&&(t.registerItems(s),t.setPosition(i),t.show()),t.prevSelectedNode=i)},200),Eo(function(){var n=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(i){return i.preventDefault()}),R.getTextarea(n).$textAreaContainer.append(r),n.on("change",t.changeHoverbarState);var o=t.hideAndClean.bind(t);n.on("scroll",o),n.on("fullScreen",o),n.on("unFullScreen",o)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var t=this.$elem,n=!1,r=window.innerHeight;r&&r>=360&&r-t[0].getBoundingClientRect().bottom<360&&(n=!0),n?t.addClass("w-e-bar-bottom"):t.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var t=this;Eo(function(){t.hoverbarItems.forEach(function(n){n.changeMenuState()})})},e.prototype.registerItems=function(t){var n=this,r=this.$elem;t.forEach(function(o){if(o!=="|")n.registerSingleItem(o);else{var i=t7();r.append(i)}})},e.prototype.registerSingleItem=function(t){var n=this.getEditorInstance(),r=this.menus,o=r[t];if(o==null){var i=Xd[t];if(i==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof i!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");o=i(),r[t]=o}var a=i7(t,o);this.hoverbarItems.push(a),Kw.set(a,n),this.$elem.append(a.$elem)},e.prototype.setPosition=function(t){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),Pe.isElement(t)){var o=L4(n,t,"bar");return r.css(o),void R4(n,r)}if(xe.isText(t))return o=N4(n),r.css(o),void R4(n,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(t.selection==null)return null;var n=this.getHoverbarKeysConf(),r=null,o=[],i=function(s){var l=n[s],f=l.match,d=l.menuKeys,p=d===void 0?[]:d,h=f||function($,b){return R.checkNodeType(b,s)},m=bt(_.nodes(t,{match:function($){return h(t,$)},universal:!0}),1),C=m[0];if(C!=null)return r=C[0],o=p,"break"};for(var a in n)if(i(a)==="break")break;return r==null||o.length===0?null:{node:r,menuKeys:o}},e.prototype.getEditorInstance=function(){var t=Gw.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,n=t===void 0?{}:t,r=n.text;return r&&r.match==null&&(r.match=bee),n},e.prototype.isSamePath=function(t,n){if(t==null||n==null)return!1;var r=R.findPath(null,t),o=R.findPath(null,n);return J.equals(r,o)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function a7(e,t,n,r){if(Gd.set(e,t),pc.set(e,n),Pe.isElement(e)){var o=e.children;if((o===void 0?[]:o).forEach(function(s,l){return a7(s,l,e,r)}),_.isVoid(r,e)){var i=bt(we.texts(e),1),a=bt(i[0],1)[0];Gd.set(a,0),pc.set(a,e)}}}function $ee(e){var t=e.selector,n=t===void 0?"":t,r=e.config,o=r===void 0?{}:r,i=e.content,a=e.html,s=e.plugins,l=s===void 0?[]:s,f=(w=>{var y=w,{apply:S}=y;return y.history={undos:[],redos:[]},y.redo=()=>{var{history:x}=y,{redos:A}=x;if(A.length>0){var O=A[A.length-1];uc.withoutSaving(y,()=>{_.withoutNormalizing(y,()=>{for(var T of O)y.apply(T)})}),x.redos.pop(),x.undos.push(O)}},y.undo=()=>{var{history:x}=y,{undos:A}=x;if(A.length>0){var O=A[A.length-1];uc.withoutSaving(y,()=>{_.withoutNormalizing(y,()=>{var T=O.map(ka.inverse).reverse();for(var z of T)y.apply(z)})}),x.redos.push(O),x.undos.pop()}},y.apply=x=>{var{operations:A,history:O}=y,{undos:T}=O,z=T[T.length-1],V=z&&z[z.length-1],ue=UJ(x,V),oe=uc.isSaving(y),de=uc.isMerging(y);if(oe==null&&(oe=VJ(x)),oe){if(de==null&&(de=z!=null&&(A.length!==0||zJ(x,V)||ue)),z&&de)ue&&z.pop(),z.push(x);else{var me=[x];T.push(me)}for(;T.length>100;)T.shift();HJ(x)&&(O.redos=[])}S(x)},y})(function(w){var y=w,S=y.insertText,x=y.insertNode,A=y.insertFragment,O=y.dangerouslyInsertHtml;return y.insertText=function(T){if(y.getConfig().maxLength){var z=R.getLeftLengthOfMaxLength(y);z<=0||(z<T.length?S(T.slice(0,z)):S(T))}else S(T)},y.insertNode=function(T){if(y.getConfig().maxLength){var z=R.getLeftLengthOfMaxLength(y);z<=0||z<we.string(T).length||x(T)}else x(T)},y.insertFragment=function(T){if(y.getConfig().maxLength)if(T.length!==1)T.forEach(function(V){y.insertNode(V)});else{var z=T[0];if(R.getLeftLengthOfMaxLength(y)<we.string(z).length)return;A(T)}else A(T)},y.dangerouslyInsertHtml=function(T,z){if(T===void 0&&(T=""),z===void 0&&(z=!1),T)if(y.getConfig().maxLength){var V=R.getLeftLengthOfMaxLength(y);if(!(V<=0)){var ue=document.createElement("div");ue.innerHTML=T;var oe=Array.from(ue.childNodes).reduce(function(de,me){var _e=me.nodeType,Ee=me.nodeName;return me?_e===Ei.TEXT_NODE?de+(me.textContent||""):_e===Ei.ELEMENT_NODE?IO.has(Ee.toLowerCase())?de:de+(me.textContent||""):de:de},"");V<oe.length||O(T,z)}}else O(T,z)},y}(function(w){var y=w;return y.on=function(S,x){var A=km(y);if(A.on(S,x),S==="destroyed"&&jO(y,x),S!=="destroyed"){var O=function(){return A.off(S,x)};A.on("destroyed",O),jO(y,O)}},y.once=function(S,x){km(y).once(S,x)},y.off=function(S,x){km(y).off(S,x)},y.emit=function(S){for(var x=[],A=1;A<arguments.length;A++)x[A-1]=arguments[A];var O=km(y);O.emit.apply(O,Rw([S],bt(x))),S==="destroyed"&&(zQ(y).forEach(function(T){return O.off("destroyed",T)}),VQ(y))},y}(function(w){var y=w;return y.select=function(S){ee.select(y,S)},y.deselect=function(){var S=y.selection,x=R.findDocumentOrShadowRoot(y).getSelection();x&&x.rangeCount>0&&x.removeAllRanges(),S&&ee.deselect(w)},y.move=function(S,x){x===void 0&&(x=!1),S&&(S<0||ee.move(w,{distance:S,unit:"character",reverse:x}))},y.moveReverse=function(S){y.move(S,!0)},y.restoreSelection=function(){var S=Zw.get(y);S!=null&&(y.focus(),ee.select(y,S))},y.getSelectionPosition=function(){return N4(y)},y.getNodePosition=function(S){return L4(y,S)},y.isSelectedAll=function(){var S=y.selection;if(S==null)return!1;var x=bt(re.edges(S),2),A=x[0],O=x[1],T=bt(_.edges(y,[]),2),z=T[0],V=T[1];return!(!nt.equals(A,z)||!nt.equals(O,V))},y.selectAll=function(){var S=_.start(y,[]),x=_.end(y,[]);ee.select(y,{anchor:S,focus:x})},y}(xQ(function(w){var y=w;return y.getAllMenuKeys=function(){var S=[];for(var x in Xd)S.push(x);return S},y.getConfig=function(){var S=__.get(y);if(S==null)throw new Error("Can not get editor config");return S},y.getMenuConfig=function(S){var x=y.getConfig().MENU_CONF;return(x===void 0?{}:x)[S]||{}},y.alert=function(S,x){x===void 0&&(x="info");var A=y.getConfig().customAlert;A&&A(S,x)},y}(function(w){var y=w;return y.id="wangEditor-"+AZ++,y.isDestroyed=!1,y.isFullScreen=!1,y.focus=function(S){if(R.toDOMNode(y,y).focus({preventScroll:!0}),Su.set(y,!0),S){var x=_.end(y,[]);ee.select(y,x)}else{var A=Zw.get(y);A?ee.select(y,A):ee.select(y,_.start(y,[]))}},y.isFocused=function(){return!!Su.get(y)},y.blur=function(){R.toDOMNode(y,y).blur(),ee.deselect(y),Su.set(y,!1)},y.updateView=function(){R.getTextarea(y).changeViewState();var S=R.getToolbar(y);S&&S.changeToolbarState();var x=R.getHoverbar(y);x&&x.changeHoverbarState()},y.destroy=function(){if(!y.isDestroyed){var S=R.getTextarea(y);S.destroy(),Hw.delete(y),Ww.delete(S);var x=R.getToolbar(y);x&&(x.destroy(),mm.delete(y),qw.delete(x));var A=R.getHoverbar(y);A&&(A.destroy(),vm.delete(y),Gw.delete(A)),y.isDestroyed=!0,y.emit("destroyed")}},y.scrollToElem=function(S){if(!y.getConfig().scroll){var x="\u7F16\u8F91\u5668\u7981\u7528\u4E86 scroll \uFF0C\u7F16\u8F91\u5668\u5185\u5BB9\u65E0\u6CD5\u6EDA\u52A8\uFF0C\u8BF7\u81EA\u884C\u5B9E\u73B0\u8BE5\u529F\u80FD";return x+=`
92
+ `+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5")}}}var G4=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=U('<div class="w-e-bar-item"></div>'),this.$button=U('<button type="button"></button>'),this.disabled=!1,this.menu=n;var i=n.tag,a=n.width;if(i!=="button")throw new Error("Invalid tag '"+i+"', expected 'button'");var s=n.title,l=n.hotkey,f=l===void 0?"":l,d=n.iconSvg,p=d===void 0?"":d,h=this.$button;if(p){var m=U(p);W4(m),h.append(m)}else h.text(s);n7(h,p,s,f,r),r&&p&&h.append(U('<span class="title">'+s+"</span>")),a&&h.css("width",a+"px"),h.attr("data-menu-key",t),this.$elem.append(h),Eo(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),Jr(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},e.prototype.exec=function(){var t=Jr(this),n=this.menu,r=n.getValue(t);n.exec(t,r)},e.prototype.setActive=function(){var t=Jr(this),n=this.$button,r="active";this.menu.isActive(t)?n.addClass(r):n.removeClass(r)},e.prototype.setDisabled=function(){var t=Jr(this),n=this.$button,r=this.menu.isDisabled(t);(t.selection==null||t.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var o="disabled";r?n.addClass(o):n.removeClass(o),this.disabled=r},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),fee=function(e){function t(n,r,o){return o===void 0&&(o=!1),e.call(this,n,r,o)||this}return fc(t,e),t.prototype.onButtonClick=function(){},t}(G4),K4=function(){function e(t){this.isShow=!1,this.showTime=0,this.record(t)}return e.prototype.record=function(t){var n=Yw.get(t);n==null&&(n=new Set,Yw.set(t,n)),n.add(this),ym.set(this,t)},e.prototype.renderContent=function(t){var n=this.$elem;n.empty(),n.append(t);var r=this.genSelfElem();r&&n.append(r)},e.prototype.appendTo=function(t){var n=this.$elem;t.append(n)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=ym.get(this);t&&t.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=ym.get(this);t&&t.emit("modalOrPanelHide")}},e}(),dee=function(e){function t(n){var r=e.call(this,n)||this;return r.type="dropPanel",r.$elem=U('<div class="w-e-drop-panel"></div>'),r}return fc(t,e),t.prototype.genSelfElem=function(){return null},t}(K4),pee=function(e){function t(n,r,o){o===void 0&&(o=!1);var i=e.call(this,n,r,o)||this;if(i.dropPanel=null,i.menu=r,r.showDropPanel){var a=q4();i.$button.append(a)}return i}return fc(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var n=this.menu;if(n.getPanelContentElem!=null){var r=Jr(this);if(this.dropPanel==null){var o=new dee(r),i=n.getPanelContentElem(r);o.renderContent(i),o.appendTo(this.$elem),o.show(),this.dropPanel=o}else{var a=this.dropPanel;a.isShow?a.hide():(i=n.getPanelContentElem(r),a.renderContent(i),a.show())}var s=this.dropPanel;if(s.isShow){var l=this.$elem,f=l.offset().left,d=l.parents(".w-e-bar");f-d.offset().left>=d.width()/2?s.$elem.css({left:"none",right:"0"}):s.$elem.css({left:"0",right:"none"})}}},t}(G4),hee=function(e){function t(n,r){r===void 0&&(r=0);var o=e.call(this,n)||this;o.type="modal",o.$elem=U('<div class="w-e-modal"></div>'),o.width=0,r&&(o.width=r);var i=o.$elem;return i.on("click",function(a){return a.stopPropagation()}),i.on("keyup",function(a){a.code==="Escape"&&(o.hide(),n.restoreSelection())}),o}return fc(t,e),t.prototype.genSelfElem=function(){var n=this,r=U('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),o=ym.get(this);return r.on("click",function(){n.hide(),o==null||o.restoreSelection()}),r},t.prototype.setStyle=function(n){var r=this.width,o=this.$elem;o.attr("style",""),r&&o.css("width",r+"px"),o.css(n)},t}(K4);function Pr(e,t,n){var r=U('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=U('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function gee(e,t,n){var r=U('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=U('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]]}function _u(e,t){var n=U('<div class="button-container"></div>'),r=U('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var mee=function(e){function t(n,r,o){o===void 0&&(o=!1);var i=e.call(this,n,r,o)||this;return i.$body=U("body"),i.modal=null,i.menu=r,i}return fc(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var n=Jr(this),r=this.menu.getModalPositionNode(n);return Pe.isElement(r)?L4(n,r,"modal"):N4(n)},t.prototype.handleModal=function(){var n=Jr(this),r=this.menu;if(this.modal==null){var o=new hee(n,r.modalWidth);this.renderAndShowModal(o,!0),this.modal=o}else(o=this.modal).isShow?o.hide():this.renderAndShowModal(o,!1)},t.prototype.renderAndShowModal=function(n,r){r===void 0&&(r=!1);var o=Jr(this),i=this.menu;if(i.getModalContentElem!=null){var a=R.getTextarea(o),s=R.getToolbar(o),l=((s==null?void 0:s.getConfig())||{}).modalAppendToBody,f=i.getModalContentElem(o);if(n.renderContent(f),l)n.setStyle({left:"0",right:"0"});else{var d=this.getPosition();n.setStyle(d)}r&&(l?n.appendTo(this.$body):n.appendTo(a.$textAreaContainer)),n.show(),l||R4(o,n.$elem),setTimeout(function(){o.blur()})}},t}(G4),vee=function(e){function t(n,r){var o=e.call(this,n)||this;return o.type="selectList",o.$elem=U('<div class="w-e-select-list"></div>'),r&&o.$elem.css("width",r+"px"),o.$elem.on("click",function(i){i.stopPropagation()}),o}return fc(t,e),t.prototype.renderList=function(n){var r=this.$elem;r.empty();var o=U("<ul></ul>");n.forEach(function(i){var a=i.value,s=i.text,l=i.selected,f=i.styleForRenderMenuList,d=U('<li data-value="'+a+'"></li>');if(f&&d.css(f),l){var p=U('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');d.append(p),d.addClass("selected")}d.append(U('<span data-value="'+a+'">'+s+"</span>")),d.attr("title",s),o.append(d)}),r.append(o)},t.prototype.genSelfElem=function(){return null},t}(K4),yee=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=U('<div class="w-e-bar-item"></div>'),this.$button=U('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var i=n.tag,a=n.title,s=n.width,l=n.iconSvg,f=l===void 0?"":l,d=n.hotkey,p=d===void 0?"":d;if(i!=="select")throw new Error("Invalid tag '"+i+"', expected 'select'");var h=this.$button;s&&h.css("width",s+"px"),h.attr("data-menu-key",t),n7(h,f,a,p,r),this.$elem.append(h),this.menu=n,Eo(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),Jr(t).hidePanelOrModal(),t.trigger()})},e.prototype.trigger=function(){var t=this,n=Jr(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new vee(n,r.selectPanelWidth);var o=this.selectList,i=r.getOptions(n);o.renderList(i),o.appendTo(this.$elem),o.show(),o.$elem.on("click","li",function(a){var s=a.target;if(s!=null){a.preventDefault();var l=U(s).attr("data-value");t.onChange(l)}})}else(o=this.selectList).isShow?o.hide():(i=r.getOptions(n),o.renderList(i),o.show())}},e.prototype.onChange=function(t){var n=Jr(this),r=this.menu;r.exec&&r.exec(n,t)},e.prototype.setSelectedValue=function(){var t=Jr(this),n=this.menu,r=n.getValue(t),o=function(s,l){for(var f=s.length,d="",p=0;p<f;p++){var h=s[p];if(h.value===l){d=h.text;break}}return d}(n.getOptions(t),r.toString()),i=this.$button,a=q4();i.empty(),i.text(o),i.append(a)},e.prototype.setDisabled=function(){var t=Jr(this),n=this.menu.isDisabled(t),r=this.$button;(t.selection==null||t.isDisabled())&&(n=!0);var o="disabled";n?r.addClass(o):r.removeClass(o),this.disabled=n},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),r7=function(){function e(t){this.$elem=U('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=U('<div class="w-e-bar-item-menus-container"></div>'),this.$button=U('<button type="button"></button>');var n=t.key,r=t.iconSvg,o=t.title,i=this.$elem,a=this.$button;if(r){var s=U(r);W4(s),a.append(s)}else a.text(o);a.attr("data-menu-key",n);var l=q4();a.append(l),i.append(a);var f=this.$container;i.append(f);var d=this.createObserver();this.observe(d)}return e.prototype.appendBarItem=function(t){var n=t.$elem;this.$container.append(n)},e.prototype.observe=function(t){var n=this.$container;t.observe(n[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var t=this,n=this.$container,r=this.$button,o=new MutationObserver(function(){var i=n.find("button"),a=i.length;if(a!==0){var s=0;i.each(function(l){U(l).hasClass("disabled")&&s++}),o.disconnect(),s===a?r.addClass("disabled"):r.removeClass("disabled"),t.observe(o)}});return o},e}(),o7=new WeakMap;function Jr(e){var t=Kw.get(e);if(t==null)throw new Error("Can not get editor instance");return t}function i7(e,t,n){n===void 0&&(n=!1);var r=o7.get(t);if(r)return r;var o=t.tag;if(o==="button"){var i=t.showDropPanel,a=t.showModal;r=i?new pee(e,t,n):a?new mee(e,t,n):new fee(e,t,n)}if(o==="select"&&(r=new yee(e,t,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(t));return o7.set(t,r),r}function bee(e,t){var n=e.selection;return n!=null&&!re.isCollapsed(n)&&!R.getSelectedElems(e).some(function(r){if(e.isVoid(r))return!0;var o=r.type;return!!["pre","code","table"].includes(o)||void 0})&&!!xe.isText(t)}var wee=function(){function e(){var t=this;this.$elem=U('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=A8(function(){var n=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},o=r.node,i=o===void 0?null:o,a=r.menuKeys,s=a===void 0?[]:a;i!=null&&t.changeItemsState(),!(i&&Pe.isElement(i)&&n&&t.isSamePath(i,t.prevSelectedNode))&&(t.hideAndClean(),i!=null&&(t.registerItems(s),t.setPosition(i),t.show()),t.prevSelectedNode=i)},200),Eo(function(){var n=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(i){return i.preventDefault()}),R.getTextarea(n).$textAreaContainer.append(r),n.on("change",t.changeHoverbarState);var o=t.hideAndClean.bind(t);n.on("scroll",o),n.on("fullScreen",o),n.on("unFullScreen",o)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var t=this.$elem,n=!1,r=window.innerHeight;r&&r>=360&&r-t[0].getBoundingClientRect().bottom<360&&(n=!0),n?t.addClass("w-e-bar-bottom"):t.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var t=this;Eo(function(){t.hoverbarItems.forEach(function(n){n.changeMenuState()})})},e.prototype.registerItems=function(t){var n=this,r=this.$elem;t.forEach(function(o){if(o!=="|")n.registerSingleItem(o);else{var i=t7();r.append(i)}})},e.prototype.registerSingleItem=function(t){var n=this.getEditorInstance(),r=this.menus,o=r[t];if(o==null){var i=Xd[t];if(i==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof i!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");o=i(),r[t]=o}var a=i7(t,o);this.hoverbarItems.push(a),Kw.set(a,n),this.$elem.append(a.$elem)},e.prototype.setPosition=function(t){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),Pe.isElement(t)){var o=L4(n,t,"bar");return r.css(o),void R4(n,r)}if(xe.isText(t))return o=N4(n),r.css(o),void R4(n,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(t.selection==null)return null;var n=this.getHoverbarKeysConf(),r=null,o=[],i=function(s){var l=n[s],f=l.match,d=l.menuKeys,p=d===void 0?[]:d,h=f||function($,b){return R.checkNodeType(b,s)},m=bt(_.nodes(t,{match:function($){return h(t,$)},universal:!0}),1),C=m[0];if(C!=null)return r=C[0],o=p,"break"};for(var a in n)if(i(a)==="break")break;return r==null||o.length===0?null:{node:r,menuKeys:o}},e.prototype.getEditorInstance=function(){var t=Gw.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,n=t===void 0?{}:t,r=n.text;return r&&r.match==null&&(r.match=bee),n},e.prototype.isSamePath=function(t,n){if(t==null||n==null)return!1;var r=R.findPath(null,t),o=R.findPath(null,n);return J.equals(r,o)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function a7(e,t,n,r){if(Gd.set(e,t),pc.set(e,n),Pe.isElement(e)){var o=e.children;if((o===void 0?[]:o).forEach(function(s,l){return a7(s,l,e,r)}),_.isVoid(r,e)){var i=bt(we.texts(e),1),a=bt(i[0],1)[0];Gd.set(a,0),pc.set(a,e)}}}function $ee(e){var t=e.selector,n=t===void 0?"":t,r=e.config,o=r===void 0?{}:r,i=e.content,a=e.html,s=e.plugins,l=s===void 0?[]:s,f=(w=>{var y=w,{apply:S}=y;return y.history={undos:[],redos:[]},y.redo=()=>{var{history:x}=y,{redos:A}=x;if(A.length>0){var O=A[A.length-1];uc.withoutSaving(y,()=>{_.withoutNormalizing(y,()=>{for(var T of O)y.apply(T)})}),x.redos.pop(),x.undos.push(O)}},y.undo=()=>{var{history:x}=y,{undos:A}=x;if(A.length>0){var O=A[A.length-1];uc.withoutSaving(y,()=>{_.withoutNormalizing(y,()=>{var T=O.map(ka.inverse).reverse();for(var z of T)y.apply(z)})}),x.redos.push(O),x.undos.pop()}},y.apply=x=>{var{operations:A,history:O}=y,{undos:T}=O,z=T[T.length-1],V=z&&z[z.length-1],ue=UJ(x,V),oe=uc.isSaving(y),de=uc.isMerging(y);if(oe==null&&(oe=VJ(x)),oe){if(de==null&&(de=z!=null&&(A.length!==0||zJ(x,V)||ue)),z&&de)ue&&z.pop(),z.push(x);else{var me=[x];T.push(me)}for(;T.length>100;)T.shift();HJ(x)&&(O.redos=[])}S(x)},y})(function(w){var y=w,S=y.insertText,x=y.insertNode,A=y.insertFragment,O=y.dangerouslyInsertHtml;return y.insertText=function(T){if(y.getConfig().maxLength){var z=R.getLeftLengthOfMaxLength(y);z<=0||(z<T.length?S(T.slice(0,z)):S(T))}else S(T)},y.insertNode=function(T){if(y.getConfig().maxLength){var z=R.getLeftLengthOfMaxLength(y);z<=0||z<we.string(T).length||x(T)}else x(T)},y.insertFragment=function(T){if(y.getConfig().maxLength)if(T.length!==1)T.forEach(function(V){y.insertNode(V)});else{var z=T[0];if(R.getLeftLengthOfMaxLength(y)<we.string(z).length)return;A(T)}else A(T)},y.dangerouslyInsertHtml=function(T,z){if(T===void 0&&(T=""),z===void 0&&(z=!1),T)if(y.getConfig().maxLength){var V=R.getLeftLengthOfMaxLength(y);if(!(V<=0)){var ue=document.createElement("div");ue.innerHTML=T;var oe=Array.from(ue.childNodes).reduce(function(de,me){var _e=me.nodeType,Ee=me.nodeName;return me?_e===Ei.TEXT_NODE?de+(me.textContent||""):_e===Ei.ELEMENT_NODE?IO.has(Ee.toLowerCase())?de:de+(me.textContent||""):de:de},"");V<oe.length||O(T,z)}}else O(T,z)},y}(function(w){var y=w;return y.on=function(S,x){var A=km(y);if(A.on(S,x),S==="destroyed"&&jO(y,x),S!=="destroyed"){var O=function(){return A.off(S,x)};A.on("destroyed",O),jO(y,O)}},y.once=function(S,x){km(y).once(S,x)},y.off=function(S,x){km(y).off(S,x)},y.emit=function(S){for(var x=[],A=1;A<arguments.length;A++)x[A-1]=arguments[A];var O=km(y);O.emit.apply(O,Rw([S],bt(x))),S==="destroyed"&&(zQ(y).forEach(function(T){return O.off("destroyed",T)}),VQ(y))},y}(function(w){var y=w;return y.select=function(S){ee.select(y,S)},y.deselect=function(){var S=y.selection,x=R.findDocumentOrShadowRoot(y).getSelection();x&&x.rangeCount>0&&x.removeAllRanges(),S&&ee.deselect(w)},y.move=function(S,x){x===void 0&&(x=!1),S&&(S<0||ee.move(w,{distance:S,unit:"character",reverse:x}))},y.moveReverse=function(S){y.move(S,!0)},y.restoreSelection=function(){var S=Zw.get(y);S!=null&&(y.focus(),ee.select(y,S))},y.getSelectionPosition=function(){return N4(y)},y.getNodePosition=function(S){return L4(y,S)},y.isSelectedAll=function(){var S=y.selection;if(S==null)return!1;var x=bt(re.edges(S),2),A=x[0],O=x[1],T=bt(_.edges(y,[]),2),z=T[0],V=T[1];return!(!nt.equals(A,z)||!nt.equals(O,V))},y.selectAll=function(){var S=_.start(y,[]),x=_.end(y,[]);ee.select(y,{anchor:S,focus:x})},y}(xQ(function(w){var y=w;return y.getAllMenuKeys=function(){var S=[];for(var x in Xd)S.push(x);return S},y.getConfig=function(){var S=__.get(y);if(S==null)throw new Error("Can not get editor config");return S},y.getMenuConfig=function(S){var x=y.getConfig().MENU_CONF;return(x===void 0?{}:x)[S]||{}},y.alert=function(S,x){x===void 0&&(x="info");var A=y.getConfig().customAlert;A&&A(S,x)},y}(function(w){var y=w;return y.id="wangEditor-"+AZ++,y.isDestroyed=!1,y.isFullScreen=!1,y.focus=function(S){if(R.toDOMNode(y,y).focus({preventScroll:!0}),Su.set(y,!0),S){var x=_.end(y,[]);ee.select(y,x)}else{var A=Zw.get(y);A?ee.select(y,A):ee.select(y,_.start(y,[]))}},y.isFocused=function(){return!!Su.get(y)},y.blur=function(){R.toDOMNode(y,y).blur(),ee.deselect(y),Su.set(y,!1)},y.updateView=function(){R.getTextarea(y).changeViewState();var S=R.getToolbar(y);S&&S.changeToolbarState();var x=R.getHoverbar(y);x&&x.changeHoverbarState()},y.destroy=function(){if(!y.isDestroyed){var S=R.getTextarea(y);S.destroy(),Hw.delete(y),Ww.delete(S);var x=R.getToolbar(y);x&&(x.destroy(),mm.delete(y),qw.delete(x));var A=R.getHoverbar(y);A&&(A.destroy(),vm.delete(y),Gw.delete(A)),y.isDestroyed=!0,y.emit("destroyed")}},y.scrollToElem=function(S){if(!y.getConfig().scroll){var x="\u7F16\u8F91\u5668\u7981\u7528\u4E86 scroll \uFF0C\u7F16\u8F91\u5668\u5185\u5BB9\u65E0\u6CD5\u6EDA\u52A8\uFF0C\u8BF7\u81EA\u884C\u5B9E\u73B0\u8BE5\u529F\u80FD";return x+=`
93
93
  You has disabled editor scroll, please do this yourself`,void console.warn(x)}var A=U("#"+S);if(A.length!==0){var O=A[0];if(!R.hasDOMNode(y,O))return x="Element (found by id is '"+S+"') is not in editor DOM",x+=`
94
94
  \u901A\u8FC7 id '`+S+"' \u627E\u5230\u7684 element \u4E0D\u5728 editor DOM \u4E4B\u5185",void console.error(x,O);var T=R.getTextarea(y),z=T.$textAreaContainer,V=T.$scroll,ue=A.offset().top,oe=z.offset().top;V[0].scrollBy({top:ue-oe,behavior:"smooth"})}},y.showProgressBar=function(S){S<1||R.getTextarea(y).changeProgress(S)},y.hidePanelOrModal=function(){var S=Yw.get(y);S!=null&&S.forEach(function(x){return x.hide()})},y.enable=function(){y.getConfig().readOnly=!1,y.updateView()},y.disable=function(){y.getConfig().readOnly=!0,y.updateView()},y.isDisabled=function(){return y.getConfig().readOnly},y.toDOMNode=function(S){return R.toDOMNode(y,S)},y.fullScreen=function(){if(!y.isFullScreen){var S=null,x=R.getToolbar(y);x&&(S=x.$box);var A=R.getTextarea(y).$box.parent();if(S&&S.parent()[0]!==A[0])throw new Error(`Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent
95
95
  \u4E0D\u80FD\u8BBE\u7F6E\u5168\u5C4F\uFF0C\u56E0\u4E3A toolbar DOM \u7236\u8282\u70B9\u548C textarea DOM \u7236\u8282\u70B9\u4E0D\u4E00\u81F4`);A.addClass("w-e-full-screen-container");var O=A.css("z-index");A.attr("data-z-index",O.toString()),y.isFullScreen=!0,y.emit("fullScreen")}},y.unFullScreen=function(){if(y.isFullScreen){var S=R.getTextarea(y).$box.parent();setTimeout(function(){S.removeClass("w-e-full-screen-container"),y.isFullScreen=!1,y.emit("unFullScreen")},200)}},y.getEditableContainer=function(){return R.getTextarea(y).$textAreaContainer[0]},y}(AQ(iU()))))))));if(n&&function(w,y){return BO(w,"data-w-e-textarea",y)}(f,n))throw new Error("Repeated create editor by selector '"+n+"'");var d=function(w){w===void 0&&(w={});var y=k8(z_),S={},x=w.MENU_CONF,A=x===void 0?{}:x;return r2(y,function(O,T){S[T]=$o($o({},O),A[T]||{})}),delete w.MENU_CONF,$o({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:S,hoverbarKeys:{},customAlert:function(O,T){window.alert(T+`:
@@ -97,9 +97,9 @@ You has disabled editor scroll, please do this yourself`,void console.warn(x)}va
97
97
  Textarea height < 300px . This may be cause modal and hoverbar position error`,w)});var C=void 0;Object.keys(h).length>0&&(C=new wee,Gw.set(C,f),vm.set(f,C)),f.on("change",function(){f.hidePanelOrModal()}),f.on("scroll",function(){f.hidePanelOrModal()})}else f.children.forEach(function(w,y){return a7(w,y,f,f)});var $=d.onCreated,b=d.onDestroyed;return $&&f.on("created",function(){return $(f)}),b&&f.on("destroyed",function(){return b(f)}),Eo(function(){return f.emit("created")}),f}var Cee=im("splice"),Eee=be.TypeError,See=Math.max,Dee=Math.min;rn({target:"Array",proto:!0,forced:!Cee},{splice:function(e,t){var n,r,o,i,a,s,l=Ra(this),f=$u(l),d=ac(e,f),p=arguments.length;if(p===0?n=r=0:p===1?(n=0,r=f-d):(n=p-2,r=Dee(See(Td(t),0),f-d)),f+n-r>9007199254740991)throw Eee("Maximum allowed length exceeded");for(o=xk(l,r),i=0;i<r;i++)(a=d+i)in l&&Md(o,i,l[a]);if(o.length=r,n<r){for(i=d;i<f-r;i++)s=i+n,(a=i+r)in l?l[s]=l[a]:delete l[s];for(i=f;i>f-r+n;i--)delete l[i-1]}else if(n>r)for(i=f-r;i>d;i--)s=i+n-1,(a=i+r-1)in l?l[s]=l[a]:delete l[s];for(i=0;i<n;i++)l[i+d]=arguments[i+2];return l.length=f-r+n,o}});var s7=function(){function e(t,n){var r=this;this.$toolbar=U('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=A8(function(){r.toolbarItems.forEach(function(a){a.changeMenuState()})},200),this.config=n;var o=U(t);if(o.length===0)throw new Error("Cannot find toolbar DOM by selector '"+t+"'");this.$box=o;var i=this.$toolbar;i.on("mousedown",function(a){return a.preventDefault()}),o.append(i),Eo(function(){r.registerItems(),r.changeToolbarState(),r.getEditorInstance().on("change",r.changeToolbarState)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var t=this,n="",r=this.$toolbar,o=this.config,i=o.toolbarKeys,a=i===void 0?[]:i,s=o.insertKeys,l=s===void 0?{index:0,keys:[]}:s,f=o.excludeKeys,d=f===void 0?[]:f,p=k8(a);l.keys.length>0&&(typeof l.keys=="string"&&(l.keys=[l.keys]),l.keys.forEach(function(C,$){p.splice(l.index+$,0,C)}));var h=p.filter(function(C){if(typeof C=="string"){if(d.includes(C))return!1}else if(d.includes(C.key))return!1;return!0}),m=h.length;h.forEach(function(C,$){if(C==="|"){if($===0||$+1===m||n==="|")return;var b=t7();return r.append(b),void(n=C)}if(typeof C=="string")return t.registerSingleItem(C,t),void(n=C);t.registerGroup(C),n="group"})},e.prototype.registerGroup=function(t){var n=this,r=this.$toolbar,o=function(f){return new r7(f)}(t),i=t.menuKeys,a=i===void 0?[]:i,s=this.config.excludeKeys,l=s===void 0?[]:s;a.forEach(function(f){l.includes(f)||n.registerSingleItem(f,o)}),r.append(o.$elem)},e.prototype.registerSingleItem=function(t,n){var r=this.getEditorInstance(),o=n instanceof r7,i=this.menus,a=i[t];if(a==null){var s=Xd[t];if(s==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof s!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");a=s(),i[t]=a}else console.warn("Duplicated toolbar menu key '"+t+`'
98
98
  \u91CD\u590D\u6CE8\u518C\u4E86\u83DC\u5355\u680F menu '`+t+"'");var l=i7(t,a,o);this.toolbarItems.push(l),Kw.set(l,r),o?n.appendBarItem(l):n.$toolbar.append(l.$elem)},e.prototype.getEditorInstance=function(){var t=qw.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}();function xee(e,t){if(e==null)throw new Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config,o=r===void 0?{}:r;if(function(s,l){return BO(s,"data-w-e-toolbar",l)}(e,n))throw new Error("Repeated create toolbar by selector '"+n+"'");var i=$o({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),a=new s7(n,i);return qw.set(a,e),mm.set(e,a),a}var Aee=rc.EXISTS,kee=Jo.f,u7=Function.prototype,_ee=Ne(u7.toString),l7=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Oee=Ne(l7.exec);function Y4(e){var t=e.server,n=t===void 0?"":t,r=e.fieldName,o=r===void 0?"":r,i=e.maxFileSize,a=i===void 0?10485760:i,s=e.maxNumberOfFiles,l=s===void 0?100:s,f=e.meta,d=f===void 0?{}:f,p=e.metaWithUrl,h=p!==void 0&&p,m=e.headers,C=m===void 0?{}:m,$=e.withCredentials,b=$!==void 0&&$,w=e.timeout,y=w===void 0?1e4:w,S=e.onBeforeUpload,x=S===void 0?function(me){return me}:S,A=e.onSuccess,O=A===void 0?function(me,_e){}:A,T=e.onError,z=T===void 0?function(me,_e,Ee){console.error(me.name+" upload error",_e,Ee)}:T,V=e.onProgress,ue=V===void 0?function(me){}:V;if(!n)throw new Error(`Cannot get upload server address
99
99
  \u6CA1\u6709\u914D\u7F6E\u4E0A\u4F20\u5730\u5740`);if(!o)throw new Error(`Cannot get fieldName
100
- \u6CA1\u6709\u914D\u7F6E fieldName`);var oe=n;h&&(oe=function(me,_e){var Ee=bt(me.split("#"),2),Be=Ee[0],Fe=Ee[1],je=[];r2(_e,function(Oe,Je){je.push(Je+"="+Oe)});var Ue=je.join("&");return Be=Be.indexOf("?")>0?Be+"&"+Ue:Be+"?"+Ue,Fe?Be+"#"+Fe:Be}(oe,d));var de=new wd({onBeforeUpload:x,restrictions:{maxFileSize:a,maxNumberOfFiles:l},meta:d}).use(LY,{endpoint:oe,headers:C,formData:!0,fieldName:o,bundle:!0,withCredentials:b,timeout:y});return de.on("upload-success",function(me,_e){var Ee=_e.body,Be=Ee===void 0?{}:Ee;try{O(me,Be)}catch(Fe){console.error("wangEditor upload file - onSuccess error",Fe)}de.removeFile(me.id)}),de.on("progress",function(me){me<1||ue(me)}),de.on("upload-error",function(me,_e,Ee){try{z(me,_e,Ee)}catch(Be){console.error("wangEditor upload file - onError error",Be)}de.removeFile(me.id)}),de.on("restriction-failed",function(me,_e){try{z(me,_e)}catch(Ee){console.error("wangEditor upload file - onError error",Ee)}de.removeFile(me.id)}),de}function Ha(e){return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ha(e)}function Bee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),r.forEach(function(o){Bee(e,o,n[o])})}return e}function na(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ra(e,t,n){return t&&c7(e.prototype,t),n&&c7(e,n),e}function Ou(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sp(e,t){if(t&&(Ha(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ou(e)}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Sc(e)}function J4(e,t){return J4=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},J4(e,t)}function Bm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J4(e,t)}Jn&&!Aee&&kee(u7,"name",{configurable:!0,get:function(){try{return Oee(l7,_ee(this))[1]}catch{return""}}});var Tee={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},oa=new(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};na(this,e),this.init(t,n)}return ra(e,[{key:"init",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Tee,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,n,r,o){return o&&!this.debug?null:(typeof t[0]=="string"&&(t[0]="".concat(r).concat(this.prefix," ").concat(t[0])),this.logger[n](t))}},{key:"create",value:function(t){return new e(this.logger,Tn({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Wa=function(){function e(){na(this,e),this.observers={}}return ra(e,[{key:"on",value:function(t,n){var r=this;return t.split(" ").forEach(function(o){r.observers[o]=r.observers[o]||[],r.observers[o].push(n)}),this}},{key:"off",value:function(t,n){this.observers[t]&&(n?this.observers[t]=this.observers[t].filter(function(r){return r!==n}):delete this.observers[t])}},{key:"emit",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(this.observers[t]){var i=[].concat(this.observers[t]);i.forEach(function(s){s.apply(void 0,r)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(s){s.apply(s,[t].concat(r))})}}}]),e}();function up(){var e,t,n=new Promise(function(r,o){e=r,t=o});return n.resolve=e,n.reject=t,n}function f7(e){return e==null?"":""+e}function Fee(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function X4(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function o(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function d7(e,t,n){var r=X4(e,t,Object);r.obj[r.k]=n}function Tm(e,t){var n=X4(e,t),r=n.obj,o=n.k;if(r)return r[o]}function p7(e,t,n){var r=Tm(e,n);return r!==void 0?r:Tm(t,n)}function h7(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):h7(e[r],t[r],n):e[r]=t[r]);return e}function Dc(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Pee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Iee(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Pee[t]}):e}var Fm=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function g7(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o||typeof o[r[i]]=="string"&&i+1<r.length)return;if(o[r[i]]===void 0){for(var a=2,s=r.slice(i,i+a).join(n),l=o[s];l===void 0&&r.length>i+a;)a++,l=o[s=r.slice(i,i+a).join(n)];if(l===void 0)return;if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s];var f=r.slice(i+a).join(n);return f?g7(l,f,n):void 0}o=o[r[i]]}return o}}var Nee=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return na(this,t),r=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(r)),r.data=n||{},r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.options.ignoreJSONStructure===void 0&&(r.options.ignoreJSONStructure=!0),r}return Bm(t,Wa),ra(t,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var r=this.options.ns.indexOf(n);r>-1&&this.options.ns.splice(r,1)}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,s=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure,l=[n,r];o&&typeof o!="string"&&(l=l.concat(o)),o&&typeof o=="string"&&(l=l.concat(a?o.split(a):o)),n.indexOf(".")>-1&&(l=n.split("."));var f=Tm(this.data,l);return f||!s||typeof o!="string"?f:g7(this.data&&this.data[n]&&this.data[n][r],o,a)}},{key:"addResource",value:function(n,r,o,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},s=this.options.keySeparator;s===void 0&&(s=".");var l=[n,r];o&&(l=l.concat(s?o.split(s):o)),n.indexOf(".")>-1&&(i=r,r=(l=n.split("."))[1]),this.addNamespaces(r),d7(this.data,l,i),a.silent||this.emit("added",n,r,o,i)}},{key:"addResources",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in o)typeof o[a]!="string"&&Object.prototype.toString.apply(o[a])!=="[object Array]"||this.addResource(n,r,a,o[a],{silent:!0});i.silent||this.emit("added",n,r,o)}},{key:"addResourceBundle",value:function(n,r,o,i,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[n,r];n.indexOf(".")>-1&&(i=o,o=r,r=(l=n.split("."))[1]),this.addNamespaces(r);var f=Tm(this.data,l)||{};i?h7(f,o,a):f=Tn({},f,o),d7(this.data,l,f),s.silent||this.emit("added",n,r,o)}},{key:"removeResourceBundle",value:function(n,r){this.hasResourceBundle(n,r)&&delete this.data[n][r],this.removeNamespaces(r),this.emit("removed",n,r)}},{key:"hasResourceBundle",value:function(n,r){return this.getResource(n,r)!==void 0}},{key:"getResourceBundle",value:function(n,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Tn({},{},this.getResource(n,r)):this.getResource(n,r)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"toJSON",value:function(){return this.data}}]),t}(),m7={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(a){i.processors[a]&&(t=i.processors[a].process(t,n,r,o))}),t}},v7={},y7=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return na(this,t),r=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(r)),Fee(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,Ou(r)),r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=oa.create("translator"),r}return Bm(t,Wa),ra(t,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var o=this.resolve(n,r);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(n,r){var o=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,a=r.ns||this.options.defaultNS;if(o&&n.indexOf(o)>-1){var s=n.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:n,namespaces:a};var l=n.split(o);(o!==i||o===i&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),n=l.join(i)}return typeof a=="string"&&(a=[a]),{key:n,namespaces:a}}},{key:"translate",value:function(n,r,o){var i=this;if(Ha(r)!=="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,s=this.extractFromKey(n[n.length-1],r),l=s.key,f=s.namespaces,d=f[f.length-1],p=r.lng||this.language,h=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&p.toLowerCase()==="cimode"){if(h){var m=r.nsSeparator||this.options.nsSeparator;return d+m+l}return l}var C=this.resolve(n,r),$=C&&C.res,b=C&&C.usedKey||l,w=C&&C.exactUsedKey||l,y=Object.prototype.toString.apply($),S=["[object Number]","[object Function]","[object RegExp]"],x=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,A=!this.i18nFormat||this.i18nFormat.handleAsObject,O=typeof $!="string"&&typeof $!="boolean"&&typeof $!="number";if(A&&$&&O&&S.indexOf(y)<0&&(typeof x!="string"||y!=="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,$,Tn({},r,{ns:f})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(a){var T=y==="[object Array]",z=T?[]:{},V=T?w:b;for(var ue in $)if(Object.prototype.hasOwnProperty.call($,ue)){var oe="".concat(V).concat(a).concat(ue);z[ue]=this.translate(oe,Tn({},r,{joinArrays:!1,ns:f})),z[ue]===oe&&(z[ue]=$[ue])}$=z}}else if(A&&typeof x=="string"&&y==="[object Array]")($=$.join(x))&&($=this.extendTranslation($,n,r,o));else{var de=!1,me=!1,_e=r.count!==void 0&&typeof r.count!="string",Ee=t.hasDefaultValue(r),Be=_e?this.pluralResolver.getSuffix(p,r.count):"",Fe=r["defaultValue".concat(Be)]||r.defaultValue;!this.isValidLookup($)&&Ee&&(de=!0,$=Fe),this.isValidLookup($)||(me=!0,$=l);var je=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Ue=je&&me?void 0:$,Oe=Ee&&Fe!==$&&this.options.updateMissing;if(me||de||Oe){if(this.logger.log(Oe?"updateKey":"missingKey",p,d,l,Oe?Fe:$),a){var Je=this.resolve(l,Tn({},r,{keySeparator:!1}));Je&&Je.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var G=[],H=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&H&&H[0])for(var I=0;I<H.length;I++)G.push(H[I]);else this.options.saveMissingTo==="all"?G=this.languageUtils.toResolveHierarchy(r.lng||this.language):G.push(r.lng||this.language);var L=function(Y,q,B){i.options.missingKeyHandler?i.options.missingKeyHandler(Y,d,q,Oe?B:Ue,Oe,r):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(Y,d,q,Oe?B:Ue,Oe,r),i.emit("missingKey",Y,d,q,$)};this.options.saveMissing&&(this.options.saveMissingPlurals&&_e?G.forEach(function(Y){i.pluralResolver.getSuffixes(Y).forEach(function(q){L([Y],l+q,r["defaultValue".concat(q)]||Fe)})}):L(G,l,Fe))}$=this.extendTranslation($,n,r,C,o),me&&$===l&&this.options.appendNamespaceToMissingKey&&($="".concat(d,":").concat(l)),(me||de)&&this.options.parseMissingKeyHandler&&($=this.options.parseMissingKeyHandler($))}return $}},{key:"extendTranslation",value:function(n,r,o,i,a){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,o,i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(Tn({},o,{interpolation:Tn({},this.options.interpolation,o.interpolation)}));var l,f=o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(f){var d=n.match(this.interpolator.nestingRegexp);l=d&&d.length}var p=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(p=Tn({},this.options.interpolation.defaultVariables,p)),n=this.interpolator.interpolate(n,p,o.lng||this.language,o),f){var h=n.match(this.interpolator.nestingRegexp);l<(h&&h.length)&&(o.nest=!1)}o.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var $=arguments.length,b=new Array($),w=0;w<$;w++)b[w]=arguments[w];return a&&a[0]===b[0]&&!o.context?(s.logger.warn("It seems you are nesting recursively key: ".concat(b[0]," in key: ").concat(r[0])),null):s.translate.apply(s,b.concat([r]))},o)),o.interpolation&&this.interpolator.reset()}var m=o.postProcess||this.options.postProcess,C=typeof m=="string"?[m]:m;return n!=null&&C&&C.length&&o.applyPostProcessor!==!1&&(n=m7.handle(C,n,r,this.options&&this.options.postProcessPassResolved?Tn({i18nResolved:i},o):o,this)),n}},{key:"resolve",value:function(n){var r,o,i,a,s,l=this,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof n=="string"&&(n=[n]),n.forEach(function(d){if(!l.isValidLookup(r)){var p=l.extractFromKey(d,f),h=p.key;o=h;var m=p.namespaces;l.options.fallbackNS&&(m=m.concat(l.options.fallbackNS));var C=f.count!==void 0&&typeof f.count!="string",$=f.context!==void 0&&(typeof f.context=="string"||typeof f.context=="number")&&f.context!=="",b=f.lngs?f.lngs:l.languageUtils.toResolveHierarchy(f.lng||l.language,f.fallbackLng);m.forEach(function(w){l.isValidLookup(r)||(s=w,!v7["".concat(b[0],"-").concat(w)]&&l.utils&&l.utils.hasLoadedNamespace&&!l.utils.hasLoadedNamespace(s)&&(v7["".concat(b[0],"-").concat(w)]=!0,l.logger.warn('key "'.concat(o,'" for languages "').concat(b.join(", "),`" won't get resolved as namespace "`).concat(s,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(function(y){if(!l.isValidLookup(r)){a=y;var S,x,A=h,O=[A];for(l.i18nFormat&&l.i18nFormat.addLookupKeys?l.i18nFormat.addLookupKeys(O,h,y,w,f):(C&&(S=l.pluralResolver.getSuffix(y,f.count)),C&&$&&O.push(A+S),$&&O.push(A+="".concat(l.options.contextSeparator).concat(f.context)),C&&O.push(A+=S));x=O.pop();)l.isValidLookup(r)||(i=x,r=l.getResource(y,w,x,f))}}))})}}),{res:r,usedKey:o,exactUsedKey:i,usedLng:a,usedNS:s}}},{key:"isValidLookup",value:function(n){return!(n===void 0||!this.options.returnNull&&n===null||!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,r,o,i):this.resourceStore.getResource(n,r,o,i)}}],[{key:"hasDefaultValue",value:function(n){var r="defaultValue";for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&r===o.substring(0,r.length)&&n[o]!==void 0)return!0;return!1}}]),t}();function Z4(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Lee=function(){function e(t){na(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=oa.create("languageUtils")}return ra(e,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var n=t.split("-");return n.length===2?null:(n.pop(),n[n.length-1].toLowerCase()==="x"?null:this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var n=t.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(t){if(typeof t=="string"&&t.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],r=t.split("-");return this.options.lowerCaseLng?r=r.map(function(o){return o.toLowerCase()}):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Z4(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Z4(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Z4(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isWhitelisted",value:function(t){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(t)}},{key:"isSupportedCode",value:function(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var n,r=this;return t?(t.forEach(function(o){if(!n){var i=r.formatLanguageCode(o);r.options.supportedLngs&&!r.isSupportedCode(i)||(n=i)}}),!n&&this.options.supportedLngs&&t.forEach(function(o){if(!n){var i=r.getLanguagePartFromCode(o);if(r.isSupportedCode(i))return n=i;n=r.options.supportedLngs.find(function(a){if(a.indexOf(i)===0)return a})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n):null}},{key:"getFallbackCodes",value:function(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];var r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}},{key:"toResolveHierarchy",value:function(t,n){var r=this,o=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],a=function(s){s&&(r.isSupportedCode(s)?i.push(s):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(s)))};return typeof t=="string"&&t.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),o.forEach(function(s){i.indexOf(s)<0&&a(r.formatLanguageCode(s))}),i}}]),e}(),Ree=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Mee={1:function(e){return Number(e>1)},2:function(e){return Number(e!=1)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(e==1?0:e>=2&&e<=4?1:2)},7:function(e){return Number(e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(e==1?0:e==2?1:e!=8&&e!=11?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(e==1?0:e==2?1:e<7?2:e<11?3:4)},11:function(e){return Number(e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(e!==0)},14:function(e){return Number(e==1?0:e==2?1:e==3?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:e!==0?1:2)},17:function(e){return Number(e==1||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(e==0?0:e==1?1:2)},19:function(e){return Number(e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(e==1?0:e==0||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3)}};function jee(){var e={};return Ree.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Mee[t.fc]}})}),e}var zee=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};na(this,e),this.languageUtils=t,this.options=n,this.logger=oa.create("pluralResolver"),this.rules=jee()}return ra(e,[{key:"addRule",value:function(t,n){this.rules[t]=n}},{key:"getRule",value:function(t){return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var n=this.getRule(t);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,n){return this.getSuffixes(t).map(function(r){return n+r})}},{key:"getSuffixes",value:function(t){var n=this,r=this.getRule(t);return r?r.numbers.map(function(o){return n.getSuffix(t,o)}):[]}},{key:"getSuffix",value:function(t,n){var r=this,o=this.getRule(t);if(o){var i=o.noAbs?o.plurals(n):o.plurals(Math.abs(n)),a=o.numbers[i];this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return r.options.prepend&&a.toString()?r.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(t)),""}}]),e}(),Vee=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};na(this,e),this.logger=oa.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return ra(e,[{key:"init",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var n=t.interpolation;this.escape=n.escape!==void 0?n.escape:Iee,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?Dc(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Dc(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?Dc(n.nestingPrefix):n.nestingPrefixEscaped||Dc("$t("),this.nestingSuffix=n.nestingSuffix?Dc(n.nestingSuffix):n.nestingSuffixEscaped||Dc(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0&&n.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(t,n,r,o){var i,a,s,l=this,f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d($){return $.replace(/\$/g,"$$$$")}var p=function($){if($.indexOf(l.formatSeparator)<0){var b=p7(n,f,$);return l.alwaysFormat?l.format(b,void 0,r,Tn({},o,n,{interpolationkey:$})):b}var w=$.split(l.formatSeparator),y=w.shift().trim(),S=w.join(l.formatSeparator).trim();return l.format(p7(n,f,y),S,r,Tn({},o,n,{interpolationkey:y}))};this.resetRegExp();var h=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,m=o&&o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,C=[{regex:this.regexpUnescape,safeValue:function($){return d($)}},{regex:this.regexp,safeValue:function($){return l.escapeValue?d(l.escape($)):d($)}}];return C.forEach(function($){for(s=0;i=$.regex.exec(t);){if((a=p(i[1].trim()))===void 0)if(typeof h=="function"){var b=h(t,i,o);a=typeof b=="string"?b:""}else{if(m){a=i[0];continue}l.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(t)),a=""}else typeof a=="string"||l.useRawValueToEscape||(a=f7(a));var w=$.safeValue(a);if(t=t.replace(i[0],w),m?($.regex.lastIndex+=w.length,$.regex.lastIndex-=i[0].length):$.regex.lastIndex=0,++s>=l.maxReplaces)break}}),t}},{key:"nest",value:function(t,n){var r,o,i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=Tn({},a);function l(h,m){var C=this.nestingOptionsSeparator;if(h.indexOf(C)<0)return h;var $=h.split(new RegExp("".concat(C,"[ ]*{"))),b="{".concat($[1]);h=$[0],b=(b=this.interpolate(b,s)).replace(/'/g,'"');try{s=JSON.parse(b),m&&(s=Tn({},m,s))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(h),w),"".concat(h).concat(C).concat(b)}return delete s.defaultValue,h}for(s.applyPostProcessor=!1,delete s.defaultValue;r=this.nestingRegexp.exec(t);){var f=[],d=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){var p=r[1].split(this.formatSeparator).map(function(h){return h.trim()});r[1]=p.shift(),f=p,d=!0}if((o=n(l.call(this,r[1].trim(),s),s))&&r[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=f7(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(t)),o=""),d&&(o=f.reduce(function(h,m){return i.format(h,m,a.lng,Tn({},a,{interpolationkey:r[1].trim()}))},o.trim())),t=t.replace(r[0],o),this.regexp.lastIndex=0}return t}}]),e}(),Uee=function(e){function t(n,r,o){var i,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return na(this,t),i=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(i)),i.backend=n,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=oa.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return Bm(t,Wa),ra(t,[{key:"queueLoad",value:function(n,r,o,i){var a=this,s=[],l=[],f=[],d=[];return n.forEach(function(p){var h=!0;r.forEach(function(m){var C="".concat(p,"|").concat(m);!o.reload&&a.store.hasResourceBundle(p,m)?a.state[C]=2:a.state[C]<0||(a.state[C]===1?l.indexOf(C)<0&&l.push(C):(a.state[C]=1,h=!1,l.indexOf(C)<0&&l.push(C),s.indexOf(C)<0&&s.push(C),d.indexOf(m)<0&&d.push(m)))}),h||f.push(p)}),(s.length||l.length)&&this.queue.push({pending:l,loaded:{},errors:[],callback:i}),{toLoad:s,pending:l,toLoadLanguages:f,toLoadNamespaces:d}}},{key:"loaded",value:function(n,r,o){var i=n.split("|"),a=i[0],s=i[1];r&&this.emit("failedLoading",a,s,r),o&&this.store.addResourceBundle(a,s,o),this.state[n]=r?-1:2;var l={};this.queue.forEach(function(f){(function(d,p,h,m){var C=X4(d,p,Object),$=C.obj,b=C.k;$[b]=$[b]||[],m&&($[b]=$[b].concat(h)),m||$[b].push(h)})(f.loaded,[a],s),function(d,p){for(var h=d.indexOf(p);h!==-1;)d.splice(h,1),h=d.indexOf(p)}(f.pending,n),r&&f.errors.push(r),f.pending.length!==0||f.done||(Object.keys(f.loaded).forEach(function(d){l[d]||(l[d]=[]),f.loaded[d].length&&f.loaded[d].forEach(function(p){l[d].indexOf(p)<0&&l[d].push(p)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(n,r,o){var i=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,l=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[o](n,r,function(f,d){f&&d&&a<5?setTimeout(function(){i.read.call(i,n,r,o,a+1,2*s,l)},s):l(f,d)}):l(null,{})}},{key:"prepareLoading",value:function(n,r){var o=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof r=="string"&&(r=[r]);var s=this.queueLoad(n,r,i,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(function(l){o.loadOne(l)})}},{key:"load",value:function(n,r,o){this.prepareLoading(n,r,{},o)}},{key:"reload",value:function(n,r,o){this.prepareLoading(n,r,{reload:!0},o)}},{key:"loadOne",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=n.split("|"),a=i[0],s=i[1];this.read(a,s,"read",void 0,void 0,function(l,f){l&&r.logger.warn("".concat(o,"loading namespace ").concat(s," for language ").concat(a," failed"),l),!l&&f&&r.logger.log("".concat(o,"loaded namespace ").concat(s," for language ").concat(a),f),r.loaded(n,l,f)})}},{key:"saveMissing",value:function(n,r,o,i,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)?this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):o!=null&&o!==""&&(this.backend&&this.backend.create&&this.backend.create(n,r,o,i,null,Tn({},s,{isUpdate:a})),n&&n[0]&&this.store.addResource(n[0],r,o,i))}}]),t}();function Hee(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if(Ha(e[1])==="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),Ha(e[2])==="object"||Ha(e[3])==="object"){var n=e[3]||e[2];Object.keys(n).forEach(function(r){t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function b7(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Pm(){}var Wee=function(e){function t(){var n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(na(this,t),n=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(n)),n.options=b7(r),n.services={},n.logger=oa,n.modules={external:[]},o&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,o),sp(n,Ou(n));setTimeout(function(){n.init(r,o)},0)}return n}return Bm(t,Wa),ra(t,[{key:"init",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;function i(m){return m?typeof m=="function"?new m:m:null}if(typeof r=="function"&&(o=r,r={}),r.whitelist&&!r.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),r.nonExplicitWhitelist&&!r.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Tn({},Hee(),this.options,b7(r)),this.format=this.options.interpolation.format,o||(o=Pm),!this.options.isClone){this.modules.logger?oa.init(i(this.modules.logger),this.options):oa.init(null,this.options);var a=new Lee(this.options);this.store=new Nee(this.options.resources,this.options);var s=this.services;s.logger=oa,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new zee(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new Vee(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Uee(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(m){for(var C=arguments.length,$=new Array(C>1?C-1:0),b=1;b<C;b++)$[b-1]=arguments[b];n.emit.apply(n,[m].concat($))}),this.modules.languageDetector&&(s.languageDetector=i(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=i(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new y7(this.services,this.options),this.translator.on("*",function(m){for(var C=arguments.length,$=new Array(C>1?C-1:0),b=1;b<C;b++)$[b-1]=arguments[b];n.emit.apply(n,[m].concat($))}),this.modules.external.forEach(function(m){m.init&&m.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&l[0]!=="dev"&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var f=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];f.forEach(function(m){n[m]=function(){var C;return(C=n.store)[m].apply(C,arguments)}});var d=["addResource","addResources","addResourceBundle","removeResourceBundle"];d.forEach(function(m){n[m]=function(){var C;return(C=n.store)[m].apply(C,arguments),n}});var p=up(),h=function(){var m=function(C,$){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),p.resolve($),o(C,$)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return m(null,n.t.bind(n));n.changeLanguage(n.options.lng,m)};return this.options.resources||!this.options.initImmediate?h():setTimeout(h,0),p}},{key:"loadResources",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pm,i=o,a=typeof n=="string"?n:this.language;if(typeof n=="function"&&(i=n),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return i();var s=[],l=function(d){d&&r.services.languageUtils.toResolveHierarchy(d).forEach(function(p){s.indexOf(p)<0&&s.push(p)})};if(a)l(a);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(d){return l(d)})}this.options.preload&&this.options.preload.forEach(function(d){return l(d)}),this.services.backendConnector.load(s,this.options.ns,i)}else i(null)}},{key:"reloadResources",value:function(n,r,o){var i=up();return n||(n=this.languages),r||(r=this.options.ns),o||(o=Pm),this.services.backendConnector.reload(n,r,function(a){i.resolve(),o(a)}),i}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&m7.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,r){var o=this;this.isLanguageChangingTo=n;var i=up();this.emit("languageChanging",n);var a=function(s){n||s||!o.services.languageDetector||(s=[]);var l=typeof s=="string"?s:o.services.languageUtils.getBestMatchFromCodes(s);l&&(o.language||(o.language=l,o.languages=o.services.languageUtils.toResolveHierarchy(l)),o.translator.language||o.translator.changeLanguage(l),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage(l)),o.loadResources(l,function(f){(function(d,p){p?(o.language=p,o.languages=o.services.languageUtils.toResolveHierarchy(p),o.translator.changeLanguage(p),o.isLanguageChangingTo=void 0,o.emit("languageChanged",p),o.logger.log("languageChanged",p)):o.isLanguageChangingTo=void 0,i.resolve(function(){return o.t.apply(o,arguments)}),r&&r(d,function(){return o.t.apply(o,arguments)})})(f,l)})};return n||!this.services.languageDetector||this.services.languageDetector.async?!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(n):a(this.services.languageDetector.detect()),i}},{key:"getFixedT",value:function(n,r,o){var i=this,a=function s(l,f){var d;if(Ha(f)!=="object"){for(var p=arguments.length,h=new Array(p>2?p-2:0),m=2;m<p;m++)h[m-2]=arguments[m];d=i.options.overloadTranslationOptionHandler([l,f].concat(h))}else d=Tn({},f);d.lng=d.lng||s.lng,d.lngs=d.lngs||s.lngs,d.ns=d.ns||s.ns;var C=i.options.keySeparator||".",$=o?"".concat(o).concat(C).concat(l):l;return i.t($,d)};return typeof n=="string"?a.lng=n:a.lngs=n,a.ns=r,a.keyPrefix=o,a}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var i=this.languages[0],a=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;var l=function(d,p){var h=r.services.backendConnector.state["".concat(d,"|").concat(p)];return h===-1||h===2};if(o.precheck){var f=o.precheck(this,l);if(f!==void 0)return f}return!!this.hasResourceBundle(i,n)||!this.services.backendConnector.backend||!(!l(i,n)||a&&!l(s,n))}},{key:"loadNamespaces",value:function(n,r){var o=this,i=up();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(a){o.options.ns.indexOf(a)<0&&o.options.ns.push(a)}),this.loadResources(function(a){i.resolve(),r&&r(a)}),i):(r&&r(),Promise.resolve())}},{key:"loadLanguages",value:function(n,r){var o=up();typeof n=="string"&&(n=[n]);var i=this.options.preload||[],a=n.filter(function(s){return i.indexOf(s)<0});return a.length?(this.options.preload=i.concat(a),this.loadResources(function(s){o.resolve(),r&&r(s)}),o):(r&&r(),Promise.resolve())}},{key:"dir",value:function(n){return n||(n=this.languages&&this.languages.length>0?this.languages[0]:this.language),n?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(n))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new t(n,r)}},{key:"cloneInstance",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pm,i=Tn({},this.options,r,{isClone:!0}),a=new t(i),s=["store","services","language"];return s.forEach(function(l){a[l]=n[l]}),a.services=Tn({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new y7(a.services,a.options),a.translator.on("*",function(l){for(var f=arguments.length,d=new Array(f>1?f-1:0),p=1;p<f;p++)d[p-1]=arguments[p];a.emit.apply(a,[l].concat(d))}),a.init(i,o),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),xc=new Wee,w7="translation";function xr(e,t){xc.addResourceBundle(e,w7,t,!0,!0)}function $7(e){xc.changeLanguage(e)}function qee(e){return xc.getResourceBundle(e,w7)}xc.init({lng:"zh-CN",resources:{}});var $e=xc.t.bind(xc),Gee={editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}},Kee={editor:{more:"\u66F4\u591A",justify:"\u5BF9\u9F50",indent:"\u7F29\u8FDB",image:"\u56FE\u7247",video:"\u89C6\u9891"}};xr("en",Gee),xr("zh-CN",Kee),xr("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),xr("zh-CN",{common:{ok:"\u786E\u5B9A",delete:"\u5220\u9664",enter:"\u56DE\u8F66"},blockQuote:{title:"\u5F15\u7528"},codeBlock:{title:"\u4EE3\u7801\u5757"},color:{color:"\u6587\u5B57\u989C\u8272",bgColor:"\u80CC\u666F\u8272",default:"\u9ED8\u8BA4\u989C\u8272",clear:"\u6E05\u9664\u80CC\u666F\u8272"},divider:{title:"\u5206\u5272\u7EBF"},emotion:{title:"\u8868\u60C5"},fontSize:{title:"\u5B57\u53F7",default:"\u9ED8\u8BA4\u5B57\u53F7"},fontFamily:{title:"\u5B57\u4F53",default:"\u9ED8\u8BA4\u5B57\u4F53"},fullScreen:{title:"\u5168\u5C4F"},header:{title:"\u6807\u9898",text:"\u6B63\u6587"},image:{netImage:"\u7F51\u7EDC\u56FE\u7247",delete:"\u5220\u9664\u56FE\u7247",edit:"\u7F16\u8F91\u56FE\u7247",viewLink:"\u67E5\u770B\u94FE\u63A5",src:"\u56FE\u7247\u5730\u5740",desc:"\u56FE\u7247\u63CF\u8FF0",link:"\u56FE\u7247\u94FE\u63A5"},indent:{decrease:"\u51CF\u5C11\u7F29\u8FDB",increase:"\u589E\u52A0\u7F29\u8FDB"},justify:{left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D\u5BF9\u9F50",justify:"\u4E24\u7AEF\u5BF9\u9F50"},lineHeight:{title:"\u884C\u9AD8",default:"\u9ED8\u8BA4\u884C\u9AD8"},link:{insert:"\u63D2\u5165\u94FE\u63A5",text:"\u94FE\u63A5\u6587\u672C",url:"\u94FE\u63A5\u5730\u5740",unLink:"\u53D6\u6D88\u94FE\u63A5",edit:"\u4FEE\u6539\u94FE\u63A5",view:"\u67E5\u770B\u94FE\u63A5"},textStyle:{bold:"\u7C97\u4F53",clear:"\u6E05\u9664\u683C\u5F0F",code:"\u884C\u5185\u4EE3\u7801",italic:"\u659C\u4F53",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",through:"\u5220\u9664\u7EBF",underline:"\u4E0B\u5212\u7EBF"},undo:{undo:"\u64A4\u9500",redo:"\u91CD\u505A"},todo:{todo:"\u5F85\u529E"}});var Yee={type:"paragraph",renderElem:function(e,t,n){return Ke("p",null,t)}},Jee={type:"paragraph",elemToHtml:function(e,t){return t===""?"<p><br></p>":"<p>"+t+"</p>"}},Im=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Nm(e){var t={exports:{}};return e(t,t.exports),t.exports}var qa,Lm,Rm=function(e){return e&&e.Math==Math&&e},tt=Rm(typeof globalThis=="object"&&globalThis)||Rm(typeof window=="object"&&window)||Rm(typeof self=="object"&&self)||Rm(typeof Im=="object"&&Im)||function(){return this}()||Function("return this")(),an=function(e){try{return!!e()}catch{return!0}},ei=!an(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),lp=Function.prototype.call,yn=lp.bind?lp.bind(lp):function(){return lp.apply(lp,arguments)},C7={}.propertyIsEnumerable,E7=Object.getOwnPropertyDescriptor,Zee=E7&&!C7.call({1:2},1)?function(e){var t=E7(this,e);return!!t&&t.enumerable}:C7,S7={f:Zee},Q4=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},D7=Function.prototype,e$=D7.bind,t$=D7.call,Qee=e$&&e$.bind(t$),We=e$?function(e){return e&&Qee(t$,e)}:function(e){return e&&function(){return t$.apply(e,arguments)}},ete=We({}.toString),tte=We("".slice),Ga=function(e){return tte(ete(e),8,-1)},n$=tt.Object,nte=We("".split),Mm=an(function(){return!n$("z").propertyIsEnumerable(0)})?function(e){return Ga(e)=="String"?nte(e,""):n$(e)}:n$,rte=tt.TypeError,Do=function(e){if(e==null)throw rte("Can't call method on "+e);return e},Ac=function(e){return Mm(Do(e))},ar=function(e){return typeof e=="function"},xo=function(e){return typeof e=="object"?e!==null:ar(e)},ote=function(e){return ar(e)?e:void 0},cp=function(e,t){return arguments.length<2?ote(tt[e]):tt[e]&&tt[e][t]},x7=We({}.isPrototypeOf),r$=cp("navigator","userAgent")||"",A7=tt.process,k7=tt.Deno,_7=A7&&A7.versions||k7&&k7.version,O7=_7&&_7.v8;O7&&(Lm=(qa=O7.split("."))[0]>0&&qa[0]<4?1:+(qa[0]+qa[1])),!Lm&&r$&&(!(qa=r$.match(/Edge\/(\d+)/))||qa[1]>=74)&&(qa=r$.match(/Chrome\/(\d+)/))&&(Lm=+qa[1]);var o$=Lm,i$=!!Object.getOwnPropertySymbols&&!an(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o$&&o$<41}),a$=i$&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ite=tt.Object,s$=a$?function(e){return typeof e=="symbol"}:function(e){var t=cp("Symbol");return ar(t)&&x7(t.prototype,ite(e))},ate=tt.String,B7=function(e){try{return ate(e)}catch{return"Object"}},ste=tt.TypeError,T7=function(e){if(ar(e))return e;throw ste(B7(e)+" is not a function")},jm=function(e,t){var n=e[t];return n==null?void 0:T7(n)},ute=tt.TypeError,lte=Object.defineProperty,u$=function(e,t){try{lte(tt,e,{value:t,configurable:!0,writable:!0})}catch{tt[e]=t}return t},Ka=tt["__core-js_shared__"]||u$("__core-js_shared__",{}),l$=Nm(function(e){(e.exports=function(t,n){return Ka[t]||(Ka[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),cte=tt.Object,fp=function(e){return cte(Do(e))},fte=We({}.hasOwnProperty),Ao=Object.hasOwn||function(e,t){return fte(fp(e),t)},dte=0,pte=Math.random(),hte=We(1 .toString),F7=function(e){return"Symbol("+(e===void 0?"":e)+")_"+hte(++dte+pte,36)},dp=l$("wks"),Bu=tt.Symbol,P7=Bu&&Bu.for,gte=a$?Bu:Bu&&Bu.withoutSetter||F7,Jr=function(e){if(!Ao(dp,e)||!i$&&typeof dp[e]!="string"){var t="Symbol."+e;i$&&Ao(Bu,e)?dp[e]=Bu[e]:dp[e]=a$&&P7?P7(t):gte(t)}return dp[e]},mte=tt.TypeError,vte=Jr("toPrimitive"),yte=function(e,t){if(!xo(e)||s$(e))return e;var n,r=jm(e,vte);if(r){if(t===void 0&&(t="default"),n=yn(r,e,t),!xo(n)||s$(n))return n;throw mte("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&ar(a=o.toString)&&!xo(s=yn(a,o))||ar(a=o.valueOf)&&!xo(s=yn(a,o))||i!=="string"&&ar(a=o.toString)&&!xo(s=yn(a,o)))return s;throw ute("Can't convert object to primitive value")}(e,t)},c$=function(e){var t=yte(e,"string");return s$(t)?t:t+""},f$=tt.document,bte=xo(f$)&&xo(f$.createElement),d$=function(e){return bte?f$.createElement(e):{}},I7=!ei&&!an(function(){return Object.defineProperty(d$("div"),"a",{get:function(){return 7}}).a!=7}),N7=Object.getOwnPropertyDescriptor,p$={f:ei?N7:function(e,t){if(e=Ac(e),t=c$(t),I7)try{return N7(e,t)}catch{}if(Ao(e,t))return Q4(!yn(S7.f,e,t),e[t])}},wte=tt.String,$te=tt.TypeError,Xr=function(e){if(xo(e))return e;throw $te(wte(e)+" is not an object")},Cte=tt.TypeError,L7=Object.defineProperty,kc={f:ei?L7:function(e,t,n){if(Xr(e),t=c$(t),Xr(n),I7)try{return L7(e,t,n)}catch{}if("get"in n||"set"in n)throw Cte("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},_c=ei?function(e,t,n){return kc.f(e,t,Q4(1,n))}:function(e,t,n){return e[t]=n,e},Ete=We(Function.toString);ar(Ka.inspectSource)||(Ka.inspectSource=function(e){return Ete(e)});var zm,pp,Vm,h$=Ka.inspectSource,R7=tt.WeakMap,Ste=ar(R7)&&/native code/.test(h$(R7)),M7=l$("keys"),j7=function(e){return M7[e]||(M7[e]=F7(e))},g$={},m$=tt.TypeError,Dte=tt.WeakMap;if(Ste||Ka.state){var Tu=Ka.state||(Ka.state=new Dte),xte=We(Tu.get),z7=We(Tu.has),Ate=We(Tu.set);zm=function(e,t){if(z7(Tu,e))throw new m$("Object already initialized");return t.facade=e,Ate(Tu,e,t),t},pp=function(e){return xte(Tu,e)||{}},Vm=function(e){return z7(Tu,e)}}else{var Oc=j7("state");g$[Oc]=!0,zm=function(e,t){if(Ao(e,Oc))throw new m$("Object already initialized");return t.facade=e,_c(e,Oc,t),t},pp=function(e){return Ao(e,Oc)?e[Oc]:{}},Vm=function(e){return Ao(e,Oc)}}var v$={set:zm,get:pp,has:Vm,enforce:function(e){return Vm(e)?pp(e):zm(e,{})},getterFor:function(e){return function(t){var n;if(!xo(t)||(n=pp(t)).type!==e)throw m$("Incompatible receiver, "+e+" required");return n}}},V7=Function.prototype,kte=ei&&Object.getOwnPropertyDescriptor,y$=Ao(V7,"name"),Um={EXISTS:y$,PROPER:y$&&function(){}.name==="something",CONFIGURABLE:y$&&(!ei||ei&&kte(V7,"name").configurable)},hp=Nm(function(e){var t=Um.CONFIGURABLE,n=v$.get,r=v$.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;ar(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ao(s,"name")||t&&s.name!==m)&&_c(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==tt?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:_c(i,a,s)):p?i[a]=s:u$(a,s)})(Function.prototype,"toString",function(){return ar(this)&&n(this).source||h$(this)})}),_te=Math.ceil,Ote=Math.floor,Bc=function(e){var t=+e;return t!=t||t===0?0:(t>0?Ote:_te)(t)},Bte=Math.max,Tte=Math.min,gp=function(e,t){var n=Bc(e);return n<0?Bte(n+t,0):Tte(n,t)},Fte=Math.min,mp=function(e){return e>0?Fte(Bc(e),9007199254740991):0},Hm=function(e){return mp(e.length)},U7=function(e){return function(t,n,r){var o,i=Ac(t),a=Hm(i),s=gp(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},H7={includes:U7(!0),indexOf:U7(!1)},Pte=H7.indexOf,W7=We([].push),q7=function(e,t){var n,r=Ac(e),o=0,i=[];for(n in r)!Ao(g$,n)&&Ao(r,n)&&W7(i,n);for(;t.length>o;)Ao(r,n=t[o++])&&(~Pte(i,n)||W7(i,n));return i},Wm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ite=Wm.concat("length","prototype"),Nte={f:Object.getOwnPropertyNames||function(e){return q7(e,Ite)}},G7={f:Object.getOwnPropertySymbols},Lte=We([].concat),Rte=cp("Reflect","ownKeys")||function(e){var t=Nte.f(Xr(e)),n=G7.f;return n?Lte(t,n(e)):t},Mte=function(e,t){for(var n=Rte(t),r=kc.f,o=p$.f,i=0;i<n.length;i++){var a=n[i];Ao(e,a)||r(e,a,o(t,a))}},jte=/#|\.prototype\./,vp=function(e,t){var n=Vte[zte(e)];return n==Hte||n!=Ute&&(ar(t)?an(t):!!t)},zte=vp.normalize=function(e){return String(e).replace(jte,".").toLowerCase()},Vte=vp.data={},Ute=vp.NATIVE="N",Hte=vp.POLYFILL="P",Wte=vp,qte=p$.f,Vn=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?tt:f?tt[s]||u$(s,{}):(tt[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=qte(n,r))&&a.value:n[r],!Wte(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;Mte(i,o)}(e.sham||o&&o.sham)&&_c(i,"sham",!0),hp(n,r,i,e)}},K7=We(We.bind),qm=Array.isArray||function(e){return Ga(e)=="Array"},Y7={};Y7[Jr("toStringTag")]="z";var b$=String(Y7)==="[object z]",Gte=Jr("toStringTag"),Kte=tt.Object,Yte=Ga(function(){return arguments}())=="Arguments",w$=b$?Ga:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Kte(e),Gte))=="string"?n:Yte?Ga(t):(r=Ga(t))=="Object"&&ar(t.callee)?"Arguments":r},J7=function(){},Jte=[],X7=cp("Reflect","construct"),$$=/^\s*(?:class|function)\b/,Xte=We($$.exec),Zte=!$$.exec(J7),yp=function(e){if(!ar(e))return!1;try{return X7(J7,Jte,e),!0}catch{return!1}},C$=!X7||an(function(){var e;return yp(yp.call)||!yp(Object)||!yp(function(){e=!0})||e})?function(e){if(!ar(e))return!1;switch(w$(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Zte||!!Xte($$,h$(e))}:yp,Qte=Jr("species"),Z7=tt.Array,ene=function(e,t){return new(function(n){var r;return qm(n)&&(r=n.constructor,(C$(r)&&(r===Z7||qm(r.prototype))||xo(r)&&(r=r[Qte])===null)&&(r=void 0)),r===void 0?Z7:r}(e))(t===0?0:t)},Q7=We([].push),Ya=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=fp(l),$=Mm(C),b=function(A,O){return T7(A),O===void 0?A:K7?K7(A,O):function(){return A.apply(O,arguments)}}(f,d),w=Hm($),y=0,S=p||ene,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Q7(x,h)}else switch(e){case 4:return!1;case 7:Q7(x,h)}return i?-1:r||o?o:x}},Gm={forEach:Ya(0),map:Ya(1),filter:Ya(2),some:Ya(3),every:Ya(4),find:Ya(5),findIndex:Ya(6),filterReject:Ya(7)},tne=Jr("species"),E$=function(e){return o$>=51||!an(function(){var t=[];return(t.constructor={})[tne]=function(){return{foo:1}},t[e](Boolean).foo!==1})},nne=Gm.filter;Vn({target:"Array",proto:!0,forced:!E$("filter")},{filter:function(e){return nne(this,e,arguments.length>1?arguments[1]:void 0)}});var rne=b$?{}.toString:function(){return"[object "+w$(this)+"]"};b$||hp(Object.prototype,"toString",rne,{unsafe:!0});var Km,one=tt.String,sn=function(e){if(w$(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return one(e)},e9=function(){var e=Xr(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},S$=tt.RegExp,D$=an(function(){var e=S$("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),ine=D$||an(function(){return!S$("a","y").sticky}),t9={BROKEN_CARET:D$||an(function(){var e=S$("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:ine,UNSUPPORTED_Y:D$},Tc=Object.keys||function(e){return q7(e,Wm)},ane=ei?Object.defineProperties:function(e,t){Xr(e);for(var n,r=Ac(t),o=Tc(t),i=o.length,a=0;i>a;)kc.f(e,n=o[a++],r[n]);return e},sne=cp("document","documentElement"),n9=j7("IE_PROTO"),x$=function(){},r9=function(e){return"<script>"+e+"<\/script>"},o9=function(e){e.write(r9("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ym=function(){try{Km=new ActiveXObject("htmlfile")}catch{}var e,t;Ym=typeof document<"u"?document.domain&&Km?o9(Km):((t=d$("iframe")).style.display="none",sne.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(r9("document.F=Object")),e.close(),e.F):o9(Km);for(var n=Wm.length;n--;)delete Ym.prototype[Wm[n]];return Ym()};g$[n9]=!0;var i9,A$,a9=Object.create||function(e,t){var n;return e!==null?(x$.prototype=Xr(e),n=new x$,x$.prototype=null,n[n9]=e):n=Ym(),t===void 0?n:ane(n,t)},une=tt.RegExp,lne=an(function(){var e=une(".","s");return!(e.dotAll&&e.exec(`
100
+ \u6CA1\u6709\u914D\u7F6E fieldName`);var oe=n;h&&(oe=function(me,_e){var Ee=bt(me.split("#"),2),Be=Ee[0],Fe=Ee[1],je=[];r2(_e,function(Oe,Je){je.push(Je+"="+Oe)});var Ue=je.join("&");return Be=Be.indexOf("?")>0?Be+"&"+Ue:Be+"?"+Ue,Fe?Be+"#"+Fe:Be}(oe,d));var de=new wd({onBeforeUpload:x,restrictions:{maxFileSize:a,maxNumberOfFiles:l},meta:d}).use(LY,{endpoint:oe,headers:C,formData:!0,fieldName:o,bundle:!0,withCredentials:b,timeout:y});return de.on("upload-success",function(me,_e){var Ee=_e.body,Be=Ee===void 0?{}:Ee;try{O(me,Be)}catch(Fe){console.error("wangEditor upload file - onSuccess error",Fe)}de.removeFile(me.id)}),de.on("progress",function(me){me<1||ue(me)}),de.on("upload-error",function(me,_e,Ee){try{z(me,_e,Ee)}catch(Be){console.error("wangEditor upload file - onError error",Be)}de.removeFile(me.id)}),de.on("restriction-failed",function(me,_e){try{z(me,_e)}catch(Ee){console.error("wangEditor upload file - onError error",Ee)}de.removeFile(me.id)}),de}function Ha(e){return Ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ha(e)}function Bee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),r.forEach(function(o){Bee(e,o,n[o])})}return e}function na(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c7(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ra(e,t,n){return t&&c7(e.prototype,t),n&&c7(e,n),e}function Ou(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sp(e,t){if(t&&(Ha(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ou(e)}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Sc(e)}function J4(e,t){return J4=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},J4(e,t)}function Bm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J4(e,t)}Jn&&!Aee&&kee(u7,"name",{configurable:!0,get:function(){try{return Oee(l7,_ee(this))[1]}catch{return""}}});var Tee={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},oa=new(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};na(this,e),this.init(t,n)}return ra(e,[{key:"init",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Tee,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,n,r,o){return o&&!this.debug?null:(typeof t[0]=="string"&&(t[0]="".concat(r).concat(this.prefix," ").concat(t[0])),this.logger[n](t))}},{key:"create",value:function(t){return new e(this.logger,Tn({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Wa=function(){function e(){na(this,e),this.observers={}}return ra(e,[{key:"on",value:function(t,n){var r=this;return t.split(" ").forEach(function(o){r.observers[o]=r.observers[o]||[],r.observers[o].push(n)}),this}},{key:"off",value:function(t,n){this.observers[t]&&(n?this.observers[t]=this.observers[t].filter(function(r){return r!==n}):delete this.observers[t])}},{key:"emit",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(this.observers[t]){var i=[].concat(this.observers[t]);i.forEach(function(s){s.apply(void 0,r)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(s){s.apply(s,[t].concat(r))})}}}]),e}();function up(){var e,t,n=new Promise(function(r,o){e=r,t=o});return n.resolve=e,n.reject=t,n}function f7(e){return e==null?"":""+e}function Fee(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function X4(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function o(){return!e||typeof e=="string"}for(var i=typeof t!="string"?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function d7(e,t,n){var r=X4(e,t,Object);r.obj[r.k]=n}function Tm(e,t){var n=X4(e,t),r=n.obj,o=n.k;if(r)return r[o]}function p7(e,t,n){var r=Tm(e,n);return r!==void 0?r:Tm(t,n)}function h7(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):h7(e[r],t[r],n):e[r]=t[r]);return e}function Dc(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Pee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Iee(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Pee[t]}):e}var Fm=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function g7(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o||typeof o[r[i]]=="string"&&i+1<r.length)return;if(o[r[i]]===void 0){for(var a=2,s=r.slice(i,i+a).join(n),l=o[s];l===void 0&&r.length>i+a;)a++,l=o[s=r.slice(i,i+a).join(n)];if(l===void 0)return;if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s];var f=r.slice(i+a).join(n);return f?g7(l,f,n):void 0}o=o[r[i]]}return o}}var Nee=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return na(this,t),r=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(r)),r.data=n||{},r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.options.ignoreJSONStructure===void 0&&(r.options.ignoreJSONStructure=!0),r}return Bm(t,Wa),ra(t,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var r=this.options.ns.indexOf(n);r>-1&&this.options.ns.splice(r,1)}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,s=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure,l=[n,r];o&&typeof o!="string"&&(l=l.concat(o)),o&&typeof o=="string"&&(l=l.concat(a?o.split(a):o)),n.indexOf(".")>-1&&(l=n.split("."));var f=Tm(this.data,l);return f||!s||typeof o!="string"?f:g7(this.data&&this.data[n]&&this.data[n][r],o,a)}},{key:"addResource",value:function(n,r,o,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},s=this.options.keySeparator;s===void 0&&(s=".");var l=[n,r];o&&(l=l.concat(s?o.split(s):o)),n.indexOf(".")>-1&&(i=r,r=(l=n.split("."))[1]),this.addNamespaces(r),d7(this.data,l,i),a.silent||this.emit("added",n,r,o,i)}},{key:"addResources",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in o)typeof o[a]!="string"&&Object.prototype.toString.apply(o[a])!=="[object Array]"||this.addResource(n,r,a,o[a],{silent:!0});i.silent||this.emit("added",n,r,o)}},{key:"addResourceBundle",value:function(n,r,o,i,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[n,r];n.indexOf(".")>-1&&(i=o,o=r,r=(l=n.split("."))[1]),this.addNamespaces(r);var f=Tm(this.data,l)||{};i?h7(f,o,a):f=Tn({},f,o),d7(this.data,l,f),s.silent||this.emit("added",n,r,o)}},{key:"removeResourceBundle",value:function(n,r){this.hasResourceBundle(n,r)&&delete this.data[n][r],this.removeNamespaces(r),this.emit("removed",n,r)}},{key:"hasResourceBundle",value:function(n,r){return this.getResource(n,r)!==void 0}},{key:"getResourceBundle",value:function(n,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?Tn({},{},this.getResource(n,r)):this.getResource(n,r)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"toJSON",value:function(){return this.data}}]),t}(),m7={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(a){i.processors[a]&&(t=i.processors[a].process(t,n,r,o))}),t}},v7={},y7=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return na(this,t),r=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(r)),Fee(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,Ou(r)),r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=oa.create("translator"),r}return Bm(t,Wa),ra(t,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var o=this.resolve(n,r);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(n,r){var o=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,a=r.ns||this.options.defaultNS;if(o&&n.indexOf(o)>-1){var s=n.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:n,namespaces:a};var l=n.split(o);(o!==i||o===i&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),n=l.join(i)}return typeof a=="string"&&(a=[a]),{key:n,namespaces:a}}},{key:"translate",value:function(n,r,o){var i=this;if(Ha(r)!=="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,s=this.extractFromKey(n[n.length-1],r),l=s.key,f=s.namespaces,d=f[f.length-1],p=r.lng||this.language,h=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&p.toLowerCase()==="cimode"){if(h){var m=r.nsSeparator||this.options.nsSeparator;return d+m+l}return l}var C=this.resolve(n,r),$=C&&C.res,b=C&&C.usedKey||l,w=C&&C.exactUsedKey||l,y=Object.prototype.toString.apply($),S=["[object Number]","[object Function]","[object RegExp]"],x=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,A=!this.i18nFormat||this.i18nFormat.handleAsObject,O=typeof $!="string"&&typeof $!="boolean"&&typeof $!="number";if(A&&$&&O&&S.indexOf(y)<0&&(typeof x!="string"||y!=="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(b,$,Tn({},r,{ns:f})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(a){var T=y==="[object Array]",z=T?[]:{},V=T?w:b;for(var ue in $)if(Object.prototype.hasOwnProperty.call($,ue)){var oe="".concat(V).concat(a).concat(ue);z[ue]=this.translate(oe,Tn({},r,{joinArrays:!1,ns:f})),z[ue]===oe&&(z[ue]=$[ue])}$=z}}else if(A&&typeof x=="string"&&y==="[object Array]")($=$.join(x))&&($=this.extendTranslation($,n,r,o));else{var de=!1,me=!1,_e=r.count!==void 0&&typeof r.count!="string",Ee=t.hasDefaultValue(r),Be=_e?this.pluralResolver.getSuffix(p,r.count):"",Fe=r["defaultValue".concat(Be)]||r.defaultValue;!this.isValidLookup($)&&Ee&&(de=!0,$=Fe),this.isValidLookup($)||(me=!0,$=l);var je=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Ue=je&&me?void 0:$,Oe=Ee&&Fe!==$&&this.options.updateMissing;if(me||de||Oe){if(this.logger.log(Oe?"updateKey":"missingKey",p,d,l,Oe?Fe:$),a){var Je=this.resolve(l,Tn({},r,{keySeparator:!1}));Je&&Je.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var G=[],H=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&H&&H[0])for(var I=0;I<H.length;I++)G.push(H[I]);else this.options.saveMissingTo==="all"?G=this.languageUtils.toResolveHierarchy(r.lng||this.language):G.push(r.lng||this.language);var L=function(Y,q,B){i.options.missingKeyHandler?i.options.missingKeyHandler(Y,d,q,Oe?B:Ue,Oe,r):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(Y,d,q,Oe?B:Ue,Oe,r),i.emit("missingKey",Y,d,q,$)};this.options.saveMissing&&(this.options.saveMissingPlurals&&_e?G.forEach(function(Y){i.pluralResolver.getSuffixes(Y).forEach(function(q){L([Y],l+q,r["defaultValue".concat(q)]||Fe)})}):L(G,l,Fe))}$=this.extendTranslation($,n,r,C,o),me&&$===l&&this.options.appendNamespaceToMissingKey&&($="".concat(d,":").concat(l)),(me||de)&&this.options.parseMissingKeyHandler&&($=this.options.parseMissingKeyHandler($))}return $}},{key:"extendTranslation",value:function(n,r,o,i,a){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,o,i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(Tn({},o,{interpolation:Tn({},this.options.interpolation,o.interpolation)}));var l,f=o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(f){var d=n.match(this.interpolator.nestingRegexp);l=d&&d.length}var p=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(p=Tn({},this.options.interpolation.defaultVariables,p)),n=this.interpolator.interpolate(n,p,o.lng||this.language,o),f){var h=n.match(this.interpolator.nestingRegexp);l<(h&&h.length)&&(o.nest=!1)}o.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var $=arguments.length,b=new Array($),w=0;w<$;w++)b[w]=arguments[w];return a&&a[0]===b[0]&&!o.context?(s.logger.warn("It seems you are nesting recursively key: ".concat(b[0]," in key: ").concat(r[0])),null):s.translate.apply(s,b.concat([r]))},o)),o.interpolation&&this.interpolator.reset()}var m=o.postProcess||this.options.postProcess,C=typeof m=="string"?[m]:m;return n!=null&&C&&C.length&&o.applyPostProcessor!==!1&&(n=m7.handle(C,n,r,this.options&&this.options.postProcessPassResolved?Tn({i18nResolved:i},o):o,this)),n}},{key:"resolve",value:function(n){var r,o,i,a,s,l=this,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof n=="string"&&(n=[n]),n.forEach(function(d){if(!l.isValidLookup(r)){var p=l.extractFromKey(d,f),h=p.key;o=h;var m=p.namespaces;l.options.fallbackNS&&(m=m.concat(l.options.fallbackNS));var C=f.count!==void 0&&typeof f.count!="string",$=f.context!==void 0&&(typeof f.context=="string"||typeof f.context=="number")&&f.context!=="",b=f.lngs?f.lngs:l.languageUtils.toResolveHierarchy(f.lng||l.language,f.fallbackLng);m.forEach(function(w){l.isValidLookup(r)||(s=w,!v7["".concat(b[0],"-").concat(w)]&&l.utils&&l.utils.hasLoadedNamespace&&!l.utils.hasLoadedNamespace(s)&&(v7["".concat(b[0],"-").concat(w)]=!0,l.logger.warn('key "'.concat(o,'" for languages "').concat(b.join(", "),`" won't get resolved as namespace "`).concat(s,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(function(y){if(!l.isValidLookup(r)){a=y;var S,x,A=h,O=[A];for(l.i18nFormat&&l.i18nFormat.addLookupKeys?l.i18nFormat.addLookupKeys(O,h,y,w,f):(C&&(S=l.pluralResolver.getSuffix(y,f.count)),C&&$&&O.push(A+S),$&&O.push(A+="".concat(l.options.contextSeparator).concat(f.context)),C&&O.push(A+=S));x=O.pop();)l.isValidLookup(r)||(i=x,r=l.getResource(y,w,x,f))}}))})}}),{res:r,usedKey:o,exactUsedKey:i,usedLng:a,usedNS:s}}},{key:"isValidLookup",value:function(n){return!(n===void 0||!this.options.returnNull&&n===null||!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,r,o,i):this.resourceStore.getResource(n,r,o,i)}}],[{key:"hasDefaultValue",value:function(n){var r="defaultValue";for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&r===o.substring(0,r.length)&&n[o]!==void 0)return!0;return!1}}]),t}();function Z4(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Lee=function(){function e(t){na(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=oa.create("languageUtils")}return ra(e,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var n=t.split("-");return n.length===2?null:(n.pop(),n[n.length-1].toLowerCase()==="x"?null:this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var n=t.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(t){if(typeof t=="string"&&t.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],r=t.split("-");return this.options.lowerCaseLng?r=r.map(function(o){return o.toLowerCase()}):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Z4(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Z4(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Z4(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isWhitelisted",value:function(t){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(t)}},{key:"isSupportedCode",value:function(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var n,r=this;return t?(t.forEach(function(o){if(!n){var i=r.formatLanguageCode(o);r.options.supportedLngs&&!r.isSupportedCode(i)||(n=i)}}),!n&&this.options.supportedLngs&&t.forEach(function(o){if(!n){var i=r.getLanguagePartFromCode(o);if(r.isSupportedCode(i))return n=i;n=r.options.supportedLngs.find(function(a){if(a.indexOf(i)===0)return a})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n):null}},{key:"getFallbackCodes",value:function(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];var r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}},{key:"toResolveHierarchy",value:function(t,n){var r=this,o=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],a=function(s){s&&(r.isSupportedCode(s)?i.push(s):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(s)))};return typeof t=="string"&&t.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),o.forEach(function(s){i.indexOf(s)<0&&a(r.formatLanguageCode(s))}),i}}]),e}(),Ree=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Mee={1:function(e){return Number(e>1)},2:function(e){return Number(e!=1)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(e==1?0:e>=2&&e<=4?1:2)},7:function(e){return Number(e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(e==1?0:e==2?1:e!=8&&e!=11?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(e==1?0:e==2?1:e<7?2:e<11?3:4)},11:function(e){return Number(e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(e!==0)},14:function(e){return Number(e==1?0:e==2?1:e==3?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:e!==0?1:2)},17:function(e){return Number(e==1||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(e==0?0:e==1?1:2)},19:function(e){return Number(e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(e==1?0:e==0||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3)}};function jee(){var e={};return Ree.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Mee[t.fc]}})}),e}var zee=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};na(this,e),this.languageUtils=t,this.options=n,this.logger=oa.create("pluralResolver"),this.rules=jee()}return ra(e,[{key:"addRule",value:function(t,n){this.rules[t]=n}},{key:"getRule",value:function(t){return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var n=this.getRule(t);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,n){return this.getSuffixes(t).map(function(r){return n+r})}},{key:"getSuffixes",value:function(t){var n=this,r=this.getRule(t);return r?r.numbers.map(function(o){return n.getSuffix(t,o)}):[]}},{key:"getSuffix",value:function(t,n){var r=this,o=this.getRule(t);if(o){var i=o.noAbs?o.plurals(n):o.plurals(Math.abs(n)),a=o.numbers[i];this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return r.options.prepend&&a.toString()?r.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1?s():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(t)),""}}]),e}(),Vee=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};na(this,e),this.logger=oa.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return ra(e,[{key:"init",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var n=t.interpolation;this.escape=n.escape!==void 0?n.escape:Iee,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?Dc(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?Dc(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?Dc(n.nestingPrefix):n.nestingPrefixEscaped||Dc("$t("),this.nestingSuffix=n.nestingSuffix?Dc(n.nestingSuffix):n.nestingSuffixEscaped||Dc(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0&&n.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(t,n,r,o){var i,a,s,l=this,f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d($){return $.replace(/\$/g,"$$$$")}var p=function($){if($.indexOf(l.formatSeparator)<0){var b=p7(n,f,$);return l.alwaysFormat?l.format(b,void 0,r,Tn({},o,n,{interpolationkey:$})):b}var w=$.split(l.formatSeparator),y=w.shift().trim(),S=w.join(l.formatSeparator).trim();return l.format(p7(n,f,y),S,r,Tn({},o,n,{interpolationkey:y}))};this.resetRegExp();var h=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,m=o&&o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,C=[{regex:this.regexpUnescape,safeValue:function($){return d($)}},{regex:this.regexp,safeValue:function($){return l.escapeValue?d(l.escape($)):d($)}}];return C.forEach(function($){for(s=0;i=$.regex.exec(t);){if((a=p(i[1].trim()))===void 0)if(typeof h=="function"){var b=h(t,i,o);a=typeof b=="string"?b:""}else{if(m){a=i[0];continue}l.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(t)),a=""}else typeof a=="string"||l.useRawValueToEscape||(a=f7(a));var w=$.safeValue(a);if(t=t.replace(i[0],w),m?($.regex.lastIndex+=w.length,$.regex.lastIndex-=i[0].length):$.regex.lastIndex=0,++s>=l.maxReplaces)break}}),t}},{key:"nest",value:function(t,n){var r,o,i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=Tn({},a);function l(h,m){var C=this.nestingOptionsSeparator;if(h.indexOf(C)<0)return h;var $=h.split(new RegExp("".concat(C,"[ ]*{"))),b="{".concat($[1]);h=$[0],b=(b=this.interpolate(b,s)).replace(/'/g,'"');try{s=JSON.parse(b),m&&(s=Tn({},m,s))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(h),w),"".concat(h).concat(C).concat(b)}return delete s.defaultValue,h}for(s.applyPostProcessor=!1,delete s.defaultValue;r=this.nestingRegexp.exec(t);){var f=[],d=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){var p=r[1].split(this.formatSeparator).map(function(h){return h.trim()});r[1]=p.shift(),f=p,d=!0}if((o=n(l.call(this,r[1].trim(),s),s))&&r[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=f7(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(t)),o=""),d&&(o=f.reduce(function(h,m){return i.format(h,m,a.lng,Tn({},a,{interpolationkey:r[1].trim()}))},o.trim())),t=t.replace(r[0],o),this.regexp.lastIndex=0}return t}}]),e}(),Uee=function(e){function t(n,r,o){var i,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return na(this,t),i=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(i)),i.backend=n,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=oa.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return Bm(t,Wa),ra(t,[{key:"queueLoad",value:function(n,r,o,i){var a=this,s=[],l=[],f=[],d=[];return n.forEach(function(p){var h=!0;r.forEach(function(m){var C="".concat(p,"|").concat(m);!o.reload&&a.store.hasResourceBundle(p,m)?a.state[C]=2:a.state[C]<0||(a.state[C]===1?l.indexOf(C)<0&&l.push(C):(a.state[C]=1,h=!1,l.indexOf(C)<0&&l.push(C),s.indexOf(C)<0&&s.push(C),d.indexOf(m)<0&&d.push(m)))}),h||f.push(p)}),(s.length||l.length)&&this.queue.push({pending:l,loaded:{},errors:[],callback:i}),{toLoad:s,pending:l,toLoadLanguages:f,toLoadNamespaces:d}}},{key:"loaded",value:function(n,r,o){var i=n.split("|"),a=i[0],s=i[1];r&&this.emit("failedLoading",a,s,r),o&&this.store.addResourceBundle(a,s,o),this.state[n]=r?-1:2;var l={};this.queue.forEach(function(f){(function(d,p,h,m){var C=X4(d,p,Object),$=C.obj,b=C.k;$[b]=$[b]||[],m&&($[b]=$[b].concat(h)),m||$[b].push(h)})(f.loaded,[a],s),function(d,p){for(var h=d.indexOf(p);h!==-1;)d.splice(h,1),h=d.indexOf(p)}(f.pending,n),r&&f.errors.push(r),f.pending.length!==0||f.done||(Object.keys(f.loaded).forEach(function(d){l[d]||(l[d]=[]),f.loaded[d].length&&f.loaded[d].forEach(function(p){l[d].indexOf(p)<0&&l[d].push(p)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(n,r,o){var i=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,l=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[o](n,r,function(f,d){f&&d&&a<5?setTimeout(function(){i.read.call(i,n,r,o,a+1,2*s,l)},s):l(f,d)}):l(null,{})}},{key:"prepareLoading",value:function(n,r){var o=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof r=="string"&&(r=[r]);var s=this.queueLoad(n,r,i,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(function(l){o.loadOne(l)})}},{key:"load",value:function(n,r,o){this.prepareLoading(n,r,{},o)}},{key:"reload",value:function(n,r,o){this.prepareLoading(n,r,{reload:!0},o)}},{key:"loadOne",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=n.split("|"),a=i[0],s=i[1];this.read(a,s,"read",void 0,void 0,function(l,f){l&&r.logger.warn("".concat(o,"loading namespace ").concat(s," for language ").concat(a," failed"),l),!l&&f&&r.logger.log("".concat(o,"loaded namespace ").concat(s," for language ").concat(a),f),r.loaded(n,l,f)})}},{key:"saveMissing",value:function(n,r,o,i,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)?this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):o!=null&&o!==""&&(this.backend&&this.backend.create&&this.backend.create(n,r,o,i,null,Tn({},s,{isUpdate:a})),n&&n[0]&&this.store.addResource(n[0],r,o,i))}}]),t}();function Hee(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if(Ha(e[1])==="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),Ha(e[2])==="object"||Ha(e[3])==="object"){var n=e[3]||e[2];Object.keys(n).forEach(function(r){t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function b7(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Pm(){}var Wee=function(e){function t(){var n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(na(this,t),n=sp(this,Sc(t).call(this)),Fm&&Wa.call(Ou(n)),n.options=b7(r),n.services={},n.logger=oa,n.modules={external:[]},o&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,o),sp(n,Ou(n));setTimeout(function(){n.init(r,o)},0)}return n}return Bm(t,Wa),ra(t,[{key:"init",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;function i(m){return m?typeof m=="function"?new m:m:null}if(typeof r=="function"&&(o=r,r={}),r.whitelist&&!r.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),r.nonExplicitWhitelist&&!r.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Tn({},Hee(),this.options,b7(r)),this.format=this.options.interpolation.format,o||(o=Pm),!this.options.isClone){this.modules.logger?oa.init(i(this.modules.logger),this.options):oa.init(null,this.options);var a=new Lee(this.options);this.store=new Nee(this.options.resources,this.options);var s=this.services;s.logger=oa,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new zee(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new Vee(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Uee(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(m){for(var C=arguments.length,$=new Array(C>1?C-1:0),b=1;b<C;b++)$[b-1]=arguments[b];n.emit.apply(n,[m].concat($))}),this.modules.languageDetector&&(s.languageDetector=i(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=i(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new y7(this.services,this.options),this.translator.on("*",function(m){for(var C=arguments.length,$=new Array(C>1?C-1:0),b=1;b<C;b++)$[b-1]=arguments[b];n.emit.apply(n,[m].concat($))}),this.modules.external.forEach(function(m){m.init&&m.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&l[0]!=="dev"&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var f=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];f.forEach(function(m){n[m]=function(){var C;return(C=n.store)[m].apply(C,arguments)}});var d=["addResource","addResources","addResourceBundle","removeResourceBundle"];d.forEach(function(m){n[m]=function(){var C;return(C=n.store)[m].apply(C,arguments),n}});var p=up(),h=function(){var m=function(C,$){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),p.resolve($),o(C,$)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return m(null,n.t.bind(n));n.changeLanguage(n.options.lng,m)};return this.options.resources||!this.options.initImmediate?h():setTimeout(h,0),p}},{key:"loadResources",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pm,i=o,a=typeof n=="string"?n:this.language;if(typeof n=="function"&&(i=n),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return i();var s=[],l=function(d){d&&r.services.languageUtils.toResolveHierarchy(d).forEach(function(p){s.indexOf(p)<0&&s.push(p)})};if(a)l(a);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(d){return l(d)})}this.options.preload&&this.options.preload.forEach(function(d){return l(d)}),this.services.backendConnector.load(s,this.options.ns,i)}else i(null)}},{key:"reloadResources",value:function(n,r,o){var i=up();return n||(n=this.languages),r||(r=this.options.ns),o||(o=Pm),this.services.backendConnector.reload(n,r,function(a){i.resolve(),o(a)}),i}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&m7.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,r){var o=this;this.isLanguageChangingTo=n;var i=up();this.emit("languageChanging",n);var a=function(s){n||s||!o.services.languageDetector||(s=[]);var l=typeof s=="string"?s:o.services.languageUtils.getBestMatchFromCodes(s);l&&(o.language||(o.language=l,o.languages=o.services.languageUtils.toResolveHierarchy(l)),o.translator.language||o.translator.changeLanguage(l),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage(l)),o.loadResources(l,function(f){(function(d,p){p?(o.language=p,o.languages=o.services.languageUtils.toResolveHierarchy(p),o.translator.changeLanguage(p),o.isLanguageChangingTo=void 0,o.emit("languageChanged",p),o.logger.log("languageChanged",p)):o.isLanguageChangingTo=void 0,i.resolve(function(){return o.t.apply(o,arguments)}),r&&r(d,function(){return o.t.apply(o,arguments)})})(f,l)})};return n||!this.services.languageDetector||this.services.languageDetector.async?!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(n):a(this.services.languageDetector.detect()),i}},{key:"getFixedT",value:function(n,r,o){var i=this,a=function s(l,f){var d;if(Ha(f)!=="object"){for(var p=arguments.length,h=new Array(p>2?p-2:0),m=2;m<p;m++)h[m-2]=arguments[m];d=i.options.overloadTranslationOptionHandler([l,f].concat(h))}else d=Tn({},f);d.lng=d.lng||s.lng,d.lngs=d.lngs||s.lngs,d.ns=d.ns||s.ns;var C=i.options.keySeparator||".",$=o?"".concat(o).concat(C).concat(l):l;return i.t($,d)};return typeof n=="string"?a.lng=n:a.lngs=n,a.ns=r,a.keyPrefix=o,a}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var i=this.languages[0],a=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;var l=function(d,p){var h=r.services.backendConnector.state["".concat(d,"|").concat(p)];return h===-1||h===2};if(o.precheck){var f=o.precheck(this,l);if(f!==void 0)return f}return!!this.hasResourceBundle(i,n)||!this.services.backendConnector.backend||!(!l(i,n)||a&&!l(s,n))}},{key:"loadNamespaces",value:function(n,r){var o=this,i=up();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(a){o.options.ns.indexOf(a)<0&&o.options.ns.push(a)}),this.loadResources(function(a){i.resolve(),r&&r(a)}),i):(r&&r(),Promise.resolve())}},{key:"loadLanguages",value:function(n,r){var o=up();typeof n=="string"&&(n=[n]);var i=this.options.preload||[],a=n.filter(function(s){return i.indexOf(s)<0});return a.length?(this.options.preload=i.concat(a),this.loadResources(function(s){o.resolve(),r&&r(s)}),o):(r&&r(),Promise.resolve())}},{key:"dir",value:function(n){return n||(n=this.languages&&this.languages.length>0?this.languages[0]:this.language),n?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(n))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new t(n,r)}},{key:"cloneInstance",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pm,i=Tn({},this.options,r,{isClone:!0}),a=new t(i),s=["store","services","language"];return s.forEach(function(l){a[l]=n[l]}),a.services=Tn({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new y7(a.services,a.options),a.translator.on("*",function(l){for(var f=arguments.length,d=new Array(f>1?f-1:0),p=1;p<f;p++)d[p-1]=arguments[p];a.emit.apply(a,[l].concat(d))}),a.init(i,o),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),xc=new Wee,w7="translation";function xr(e,t){xc.addResourceBundle(e,w7,t,!0,!0)}function $7(e){xc.changeLanguage(e)}function qee(e){return xc.getResourceBundle(e,w7)}xc.init({lng:"zh-CN",resources:{}});var $e=xc.t.bind(xc),Gee={editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}},Kee={editor:{more:"\u66F4\u591A",justify:"\u5BF9\u9F50",indent:"\u7F29\u8FDB",image:"\u56FE\u7247",video:"\u89C6\u9891"}};xr("en",Gee),xr("zh-CN",Kee),xr("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),xr("zh-CN",{common:{ok:"\u786E\u5B9A",delete:"\u5220\u9664",enter:"\u56DE\u8F66"},blockQuote:{title:"\u5F15\u7528"},codeBlock:{title:"\u4EE3\u7801\u5757"},color:{color:"\u6587\u5B57\u989C\u8272",bgColor:"\u80CC\u666F\u8272",default:"\u9ED8\u8BA4\u989C\u8272",clear:"\u6E05\u9664\u80CC\u666F\u8272"},divider:{title:"\u5206\u5272\u7EBF"},emotion:{title:"\u8868\u60C5"},fontSize:{title:"\u5B57\u53F7",default:"\u9ED8\u8BA4\u5B57\u53F7"},fontFamily:{title:"\u5B57\u4F53",default:"\u9ED8\u8BA4\u5B57\u4F53"},fullScreen:{title:"\u5168\u5C4F"},header:{title:"\u6807\u9898",text:"\u6B63\u6587"},image:{netImage:"\u7F51\u7EDC\u56FE\u7247",delete:"\u5220\u9664\u56FE\u7247",edit:"\u7F16\u8F91\u56FE\u7247",viewLink:"\u67E5\u770B\u94FE\u63A5",src:"\u56FE\u7247\u5730\u5740",desc:"\u56FE\u7247\u63CF\u8FF0",link:"\u56FE\u7247\u94FE\u63A5"},indent:{decrease:"\u51CF\u5C11\u7F29\u8FDB",increase:"\u589E\u52A0\u7F29\u8FDB"},justify:{left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D\u5BF9\u9F50",justify:"\u4E24\u7AEF\u5BF9\u9F50"},lineHeight:{title:"\u884C\u9AD8",default:"\u9ED8\u8BA4\u884C\u9AD8"},link:{insert:"\u63D2\u5165\u94FE\u63A5",text:"\u94FE\u63A5\u6587\u672C",url:"\u94FE\u63A5\u5730\u5740",unLink:"\u53D6\u6D88\u94FE\u63A5",edit:"\u4FEE\u6539\u94FE\u63A5",view:"\u67E5\u770B\u94FE\u63A5"},textStyle:{bold:"\u7C97\u4F53",clear:"\u6E05\u9664\u683C\u5F0F",code:"\u884C\u5185\u4EE3\u7801",italic:"\u659C\u4F53",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",through:"\u5220\u9664\u7EBF",underline:"\u4E0B\u5212\u7EBF"},undo:{undo:"\u64A4\u9500",redo:"\u91CD\u505A"},todo:{todo:"\u5F85\u529E"}});var Yee={type:"paragraph",renderElem:function(e,t,n){return Ke("p",null,t)}},Jee={type:"paragraph",elemToHtml:function(e,t){return t===""?"<p><br></p>":"<p>"+t+"</p>"}},Im=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xee(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Nm(e){var t={exports:{}};return e(t,t.exports),t.exports}var qa,Lm,Rm=function(e){return e&&e.Math==Math&&e},tt=Rm(typeof globalThis=="object"&&globalThis)||Rm(typeof window=="object"&&window)||Rm(typeof self=="object"&&self)||Rm(typeof Im=="object"&&Im)||function(){return this}()||Function("return this")(),an=function(e){try{return!!e()}catch{return!0}},ei=!an(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),lp=Function.prototype.call,yn=lp.bind?lp.bind(lp):function(){return lp.apply(lp,arguments)},C7={}.propertyIsEnumerable,E7=Object.getOwnPropertyDescriptor,Zee=E7&&!C7.call({1:2},1)?function(e){var t=E7(this,e);return!!t&&t.enumerable}:C7,S7={f:Zee},Q4=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},D7=Function.prototype,e$=D7.bind,t$=D7.call,Qee=e$&&e$.bind(t$),We=e$?function(e){return e&&Qee(t$,e)}:function(e){return e&&function(){return t$.apply(e,arguments)}},ete=We({}.toString),tte=We("".slice),Ga=function(e){return tte(ete(e),8,-1)},n$=tt.Object,nte=We("".split),Mm=an(function(){return!n$("z").propertyIsEnumerable(0)})?function(e){return Ga(e)=="String"?nte(e,""):n$(e)}:n$,rte=tt.TypeError,Do=function(e){if(e==null)throw rte("Can't call method on "+e);return e},Ac=function(e){return Mm(Do(e))},ar=function(e){return typeof e=="function"},xo=function(e){return typeof e=="object"?e!==null:ar(e)},ote=function(e){return ar(e)?e:void 0},cp=function(e,t){return arguments.length<2?ote(tt[e]):tt[e]&&tt[e][t]},x7=We({}.isPrototypeOf),r$=cp("navigator","userAgent")||"",A7=tt.process,k7=tt.Deno,_7=A7&&A7.versions||k7&&k7.version,O7=_7&&_7.v8;O7&&(Lm=(qa=O7.split("."))[0]>0&&qa[0]<4?1:+(qa[0]+qa[1])),!Lm&&r$&&(!(qa=r$.match(/Edge\/(\d+)/))||qa[1]>=74)&&(qa=r$.match(/Chrome\/(\d+)/))&&(Lm=+qa[1]);var o$=Lm,i$=!!Object.getOwnPropertySymbols&&!an(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o$&&o$<41}),a$=i$&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ite=tt.Object,s$=a$?function(e){return typeof e=="symbol"}:function(e){var t=cp("Symbol");return ar(t)&&x7(t.prototype,ite(e))},ate=tt.String,B7=function(e){try{return ate(e)}catch{return"Object"}},ste=tt.TypeError,T7=function(e){if(ar(e))return e;throw ste(B7(e)+" is not a function")},jm=function(e,t){var n=e[t];return n==null?void 0:T7(n)},ute=tt.TypeError,lte=Object.defineProperty,u$=function(e,t){try{lte(tt,e,{value:t,configurable:!0,writable:!0})}catch{tt[e]=t}return t},Ka=tt["__core-js_shared__"]||u$("__core-js_shared__",{}),l$=Nm(function(e){(e.exports=function(t,n){return Ka[t]||(Ka[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),cte=tt.Object,fp=function(e){return cte(Do(e))},fte=We({}.hasOwnProperty),Ao=Object.hasOwn||function(e,t){return fte(fp(e),t)},dte=0,pte=Math.random(),hte=We(1 .toString),F7=function(e){return"Symbol("+(e===void 0?"":e)+")_"+hte(++dte+pte,36)},dp=l$("wks"),Bu=tt.Symbol,P7=Bu&&Bu.for,gte=a$?Bu:Bu&&Bu.withoutSetter||F7,Xr=function(e){if(!Ao(dp,e)||!i$&&typeof dp[e]!="string"){var t="Symbol."+e;i$&&Ao(Bu,e)?dp[e]=Bu[e]:dp[e]=a$&&P7?P7(t):gte(t)}return dp[e]},mte=tt.TypeError,vte=Xr("toPrimitive"),yte=function(e,t){if(!xo(e)||s$(e))return e;var n,r=jm(e,vte);if(r){if(t===void 0&&(t="default"),n=yn(r,e,t),!xo(n)||s$(n))return n;throw mte("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&ar(a=o.toString)&&!xo(s=yn(a,o))||ar(a=o.valueOf)&&!xo(s=yn(a,o))||i!=="string"&&ar(a=o.toString)&&!xo(s=yn(a,o)))return s;throw ute("Can't convert object to primitive value")}(e,t)},c$=function(e){var t=yte(e,"string");return s$(t)?t:t+""},f$=tt.document,bte=xo(f$)&&xo(f$.createElement),d$=function(e){return bte?f$.createElement(e):{}},I7=!ei&&!an(function(){return Object.defineProperty(d$("div"),"a",{get:function(){return 7}}).a!=7}),N7=Object.getOwnPropertyDescriptor,p$={f:ei?N7:function(e,t){if(e=Ac(e),t=c$(t),I7)try{return N7(e,t)}catch{}if(Ao(e,t))return Q4(!yn(S7.f,e,t),e[t])}},wte=tt.String,$te=tt.TypeError,Zr=function(e){if(xo(e))return e;throw $te(wte(e)+" is not an object")},Cte=tt.TypeError,L7=Object.defineProperty,kc={f:ei?L7:function(e,t,n){if(Zr(e),t=c$(t),Zr(n),I7)try{return L7(e,t,n)}catch{}if("get"in n||"set"in n)throw Cte("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},_c=ei?function(e,t,n){return kc.f(e,t,Q4(1,n))}:function(e,t,n){return e[t]=n,e},Ete=We(Function.toString);ar(Ka.inspectSource)||(Ka.inspectSource=function(e){return Ete(e)});var zm,pp,Vm,h$=Ka.inspectSource,R7=tt.WeakMap,Ste=ar(R7)&&/native code/.test(h$(R7)),M7=l$("keys"),j7=function(e){return M7[e]||(M7[e]=F7(e))},g$={},m$=tt.TypeError,Dte=tt.WeakMap;if(Ste||Ka.state){var Tu=Ka.state||(Ka.state=new Dte),xte=We(Tu.get),z7=We(Tu.has),Ate=We(Tu.set);zm=function(e,t){if(z7(Tu,e))throw new m$("Object already initialized");return t.facade=e,Ate(Tu,e,t),t},pp=function(e){return xte(Tu,e)||{}},Vm=function(e){return z7(Tu,e)}}else{var Oc=j7("state");g$[Oc]=!0,zm=function(e,t){if(Ao(e,Oc))throw new m$("Object already initialized");return t.facade=e,_c(e,Oc,t),t},pp=function(e){return Ao(e,Oc)?e[Oc]:{}},Vm=function(e){return Ao(e,Oc)}}var v$={set:zm,get:pp,has:Vm,enforce:function(e){return Vm(e)?pp(e):zm(e,{})},getterFor:function(e){return function(t){var n;if(!xo(t)||(n=pp(t)).type!==e)throw m$("Incompatible receiver, "+e+" required");return n}}},V7=Function.prototype,kte=ei&&Object.getOwnPropertyDescriptor,y$=Ao(V7,"name"),Um={EXISTS:y$,PROPER:y$&&function(){}.name==="something",CONFIGURABLE:y$&&(!ei||ei&&kte(V7,"name").configurable)},hp=Nm(function(e){var t=Um.CONFIGURABLE,n=v$.get,r=v$.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;ar(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ao(s,"name")||t&&s.name!==m)&&_c(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==tt?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:_c(i,a,s)):p?i[a]=s:u$(a,s)})(Function.prototype,"toString",function(){return ar(this)&&n(this).source||h$(this)})}),_te=Math.ceil,Ote=Math.floor,Bc=function(e){var t=+e;return t!=t||t===0?0:(t>0?Ote:_te)(t)},Bte=Math.max,Tte=Math.min,gp=function(e,t){var n=Bc(e);return n<0?Bte(n+t,0):Tte(n,t)},Fte=Math.min,mp=function(e){return e>0?Fte(Bc(e),9007199254740991):0},Hm=function(e){return mp(e.length)},U7=function(e){return function(t,n,r){var o,i=Ac(t),a=Hm(i),s=gp(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},H7={includes:U7(!0),indexOf:U7(!1)},Pte=H7.indexOf,W7=We([].push),q7=function(e,t){var n,r=Ac(e),o=0,i=[];for(n in r)!Ao(g$,n)&&Ao(r,n)&&W7(i,n);for(;t.length>o;)Ao(r,n=t[o++])&&(~Pte(i,n)||W7(i,n));return i},Wm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ite=Wm.concat("length","prototype"),Nte={f:Object.getOwnPropertyNames||function(e){return q7(e,Ite)}},G7={f:Object.getOwnPropertySymbols},Lte=We([].concat),Rte=cp("Reflect","ownKeys")||function(e){var t=Nte.f(Zr(e)),n=G7.f;return n?Lte(t,n(e)):t},Mte=function(e,t){for(var n=Rte(t),r=kc.f,o=p$.f,i=0;i<n.length;i++){var a=n[i];Ao(e,a)||r(e,a,o(t,a))}},jte=/#|\.prototype\./,vp=function(e,t){var n=Vte[zte(e)];return n==Hte||n!=Ute&&(ar(t)?an(t):!!t)},zte=vp.normalize=function(e){return String(e).replace(jte,".").toLowerCase()},Vte=vp.data={},Ute=vp.NATIVE="N",Hte=vp.POLYFILL="P",Wte=vp,qte=p$.f,Vn=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?tt:f?tt[s]||u$(s,{}):(tt[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=qte(n,r))&&a.value:n[r],!Wte(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;Mte(i,o)}(e.sham||o&&o.sham)&&_c(i,"sham",!0),hp(n,r,i,e)}},K7=We(We.bind),qm=Array.isArray||function(e){return Ga(e)=="Array"},Y7={};Y7[Xr("toStringTag")]="z";var b$=String(Y7)==="[object z]",Gte=Xr("toStringTag"),Kte=tt.Object,Yte=Ga(function(){return arguments}())=="Arguments",w$=b$?Ga:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Kte(e),Gte))=="string"?n:Yte?Ga(t):(r=Ga(t))=="Object"&&ar(t.callee)?"Arguments":r},J7=function(){},Jte=[],X7=cp("Reflect","construct"),$$=/^\s*(?:class|function)\b/,Xte=We($$.exec),Zte=!$$.exec(J7),yp=function(e){if(!ar(e))return!1;try{return X7(J7,Jte,e),!0}catch{return!1}},C$=!X7||an(function(){var e;return yp(yp.call)||!yp(Object)||!yp(function(){e=!0})||e})?function(e){if(!ar(e))return!1;switch(w$(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Zte||!!Xte($$,h$(e))}:yp,Qte=Xr("species"),Z7=tt.Array,ene=function(e,t){return new(function(n){var r;return qm(n)&&(r=n.constructor,(C$(r)&&(r===Z7||qm(r.prototype))||xo(r)&&(r=r[Qte])===null)&&(r=void 0)),r===void 0?Z7:r}(e))(t===0?0:t)},Q7=We([].push),Ya=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=fp(l),$=Mm(C),b=function(A,O){return T7(A),O===void 0?A:K7?K7(A,O):function(){return A.apply(O,arguments)}}(f,d),w=Hm($),y=0,S=p||ene,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Q7(x,h)}else switch(e){case 4:return!1;case 7:Q7(x,h)}return i?-1:r||o?o:x}},Gm={forEach:Ya(0),map:Ya(1),filter:Ya(2),some:Ya(3),every:Ya(4),find:Ya(5),findIndex:Ya(6),filterReject:Ya(7)},tne=Xr("species"),E$=function(e){return o$>=51||!an(function(){var t=[];return(t.constructor={})[tne]=function(){return{foo:1}},t[e](Boolean).foo!==1})},nne=Gm.filter;Vn({target:"Array",proto:!0,forced:!E$("filter")},{filter:function(e){return nne(this,e,arguments.length>1?arguments[1]:void 0)}});var rne=b$?{}.toString:function(){return"[object "+w$(this)+"]"};b$||hp(Object.prototype,"toString",rne,{unsafe:!0});var Km,one=tt.String,sn=function(e){if(w$(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return one(e)},e9=function(){var e=Zr(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},S$=tt.RegExp,D$=an(function(){var e=S$("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),ine=D$||an(function(){return!S$("a","y").sticky}),t9={BROKEN_CARET:D$||an(function(){var e=S$("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:ine,UNSUPPORTED_Y:D$},Tc=Object.keys||function(e){return q7(e,Wm)},ane=ei?Object.defineProperties:function(e,t){Zr(e);for(var n,r=Ac(t),o=Tc(t),i=o.length,a=0;i>a;)kc.f(e,n=o[a++],r[n]);return e},sne=cp("document","documentElement"),n9=j7("IE_PROTO"),x$=function(){},r9=function(e){return"<script>"+e+"<\/script>"},o9=function(e){e.write(r9("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ym=function(){try{Km=new ActiveXObject("htmlfile")}catch{}var e,t;Ym=typeof document<"u"?document.domain&&Km?o9(Km):((t=d$("iframe")).style.display="none",sne.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(r9("document.F=Object")),e.close(),e.F):o9(Km);for(var n=Wm.length;n--;)delete Ym.prototype[Wm[n]];return Ym()};g$[n9]=!0;var i9,A$,a9=Object.create||function(e,t){var n;return e!==null?(x$.prototype=Zr(e),n=new x$,x$.prototype=null,n[n9]=e):n=Ym(),t===void 0?n:ane(n,t)},une=tt.RegExp,lne=an(function(){var e=une(".","s");return!(e.dotAll&&e.exec(`
101
101
  `)&&e.flags==="s")}),cne=tt.RegExp,fne=an(function(){var e=cne("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),dne=v$.get,pne=l$("native-string-replace",String.prototype.replace),Jm=RegExp.prototype.exec,k$=Jm,hne=We("".charAt),gne=We("".indexOf),mne=We("".replace),_$=We("".slice),O$=(A$=/b*/g,yn(Jm,i9=/a/,"a"),yn(Jm,A$,"a"),i9.lastIndex!==0||A$.lastIndex!==0),s9=t9.BROKEN_CARET,B$=/()??/.exec("")[1]!==void 0;(O$||B$||s9||lne||fne)&&(k$=function(e){var t,n,r,o,i,a,s,l=this,f=dne(l),d=sn(e),p=f.raw;if(p)return p.lastIndex=l.lastIndex,t=yn(k$,p,d),l.lastIndex=p.lastIndex,t;var h=f.groups,m=s9&&l.sticky,C=yn(e9,l),$=l.source,b=0,w=d;if(m&&(C=mne(C,"y",""),gne(C,"g")===-1&&(C+="g"),w=_$(d,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&hne(d,l.lastIndex-1)!==`
102
- `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),B$&&(n=new RegExp("^"+$+"$(?!\\s)",C)),O$&&(r=l.lastIndex),o=yn(Jm,m?n:l,w),m?o?(o.input=_$(o.input,b),o[0]=_$(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:O$&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),B$&&o&&o.length>1&&yn(pne,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=a9(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var bp=k$;Vn({target:"RegExp",proto:!0,forced:/./.exec!==bp},{exec:bp});var T$=Function.prototype,u9=T$.apply,vne=T$.bind,l9=T$.call,c9=typeof Reflect=="object"&&Reflect.apply||(vne?l9.bind(u9):function(){return l9.apply(u9,arguments)}),yne=Jr("species"),F$=RegExp.prototype,P$=function(e,t,n,r){var o=Jr(e),i=!an(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!an(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[yne]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=We(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=We(f),$=d.exec;return $===bp||$===F$.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});hp(String.prototype,e,l[0]),hp(F$,o,l[1])}r&&_c(F$[o],"sham",!0)},bne=We("".charAt),f9=We("".charCodeAt),wne=We("".slice),d9=function(e){return function(t,n){var r,o,i=sn(Do(t)),a=Bc(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=f9(i,a))<55296||r>56319||a+1===s||(o=f9(i,a+1))<56320||o>57343?e?bne(i,a):r:e?wne(i,a,a+2):o-56320+(r-55296<<10)+65536}},$ne={codeAt:d9(!1),charAt:d9(!0)}.charAt,I$=function(e,t,n){return t+(n?$ne(e,t).length:1)},Cne=Math.floor,N$=We("".charAt),Ene=We("".replace),L$=We("".slice),Sne=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Dne=/\$([$&'`]|\d{1,2})/g,xne=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=Dne;return o!==void 0&&(o=fp(o),l=Sne),Ene(i,l,function(f,d){var p;switch(N$(d,0)){case"$":return"$";case"&":return e;case"`":return L$(t,0,n);case"'":return L$(t,a);case"<":p=o[L$(d,1,-1)];break;default:var h=+d;if(h===0)return f;if(h>s){var m=Cne(h/10);return m===0?f:m<=s?r[m-1]===void 0?N$(d,1):r[m-1]+N$(d,1):f}p=r[h-1]}return p===void 0?"":p})},Ane=tt.TypeError,wp=function(e,t){var n=e.exec;if(ar(n)){var r=yn(n,e,t);return r!==null&&Xr(r),r}if(Ga(e)==="RegExp")return yn(bp,e,t);throw Ane("RegExp#exec called on incompatible receiver")},R$=Jr("replace"),kne=Math.max,_ne=Math.min,One=We([].concat),M$=We([].push),p9=We("".indexOf),h9=We("".slice),Bne="a".replace(/./,"$0")==="$0",g9=!!/./[R$]&&/./[R$]("a","$0")==="";P$("replace",function(e,t,n){var r=g9?"$":"$0";return[function(o,i){var a=Do(this),s=o==null?void 0:jm(o,R$);return s?yn(s,o,a,i):yn(t,sn(a),o,i)},function(o,i){var a=Xr(this),s=sn(o);if(typeof i=="string"&&p9(i,r)===-1&&p9(i,"$<")===-1){var l=n(t,a,s,i);if(l.done)return l.value}var f=ar(i);f||(i=sn(i));var d=a.global;if(d){var p=a.unicode;a.lastIndex=0}for(var h=[];;){var m=wp(a,s);if(m===null||(M$(h,m),!d))break;sn(m[0])===""&&(a.lastIndex=I$(s,mp(a.lastIndex),p))}for(var C,$="",b=0,w=0;w<h.length;w++){for(var y=sn((m=h[w])[0]),S=kne(_ne(Bc(m.index),s.length),0),x=[],A=1;A<m.length;A++)M$(x,(C=m[A])===void 0?C:String(C));var O=m.groups;if(f){var T=One([y],x,S,s);O!==void 0&&M$(T,O);var z=sn(c9(i,void 0,T))}else z=xne(y,s,S,x,O,i);S>=b&&($+=h9(s,b,S)+z,b=S+y.length)}return $+h9(s,b)}]},!!an(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Bne||g9);var j$=Jr("unscopables"),z$=Array.prototype;z$[j$]==null&&kc.f(z$,j$,{configurable:!0,value:a9(null)});var m9=function(e){z$[j$][e]=!0},Tne=Gm.find,v9=!0;"find"in[]&&Array(1).find(function(){v9=!1}),Vn({target:"Array",proto:!0,forced:v9},{find:function(e){return Tne(this,e,arguments.length>1?arguments[1]:void 0)}}),m9("find");var Fne=Jr("match"),y9=function(e){var t;return xo(e)&&((t=e[Fne])!==void 0?!!t:Ga(e)=="RegExp")},Pne=tt.TypeError,Ine=Jr("species"),Nne=function(e,t){var n,r=Xr(e).constructor;return r===void 0||(n=Xr(r)[Ine])==null?t:function(o){if(C$(o))return o;throw Pne(B7(o)+" is not a constructor")}(n)},b9=function(e,t,n){var r=c$(t);r in e?kc.f(e,r,Q4(0,n)):e[r]=n},Lne=tt.Array,Rne=Math.max,w9=function(e,t,n){for(var r=Hm(e),o=gp(t,r),i=gp(n===void 0?r:n,r),a=Lne(Rne(i-o,0)),s=0;o<i;o++,s++)b9(a,s,e[o]);return a.length=s,a},Fc=t9.UNSUPPORTED_Y,Mne=Math.min,$9=[].push,jne=We(/./.exec),Pc=We($9),$p=We("".slice);P$("split",function(e,t,n){var r;return r="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=sn(Do(this)),s=i===void 0?4294967295:i>>>0;if(s===0)return[];if(o===void 0)return[a];if(!y9(o))return yn(t,a,o,s);for(var l,f,d,p=[],h=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),m=0,C=new RegExp(o.source,h+"g");(l=yn(bp,C,a))&&!((f=C.lastIndex)>m&&(Pc(p,$p(a,m,l.index)),l.length>1&&l.index<a.length&&c9($9,p,w9(l,1)),d=l[0].length,m=f,p.length>=s));)C.lastIndex===l.index&&C.lastIndex++;return m===a.length?!d&&jne(C,"")||Pc(p,""):Pc(p,$p(a,m)),p.length>s?w9(p,0,s):p}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:yn(t,this,o,i)}:t,[function(o,i){var a=Do(this),s=o==null?void 0:jm(o,e);return s?yn(s,o,a,i):yn(r,sn(a),o,i)},function(o,i){var a=Xr(this),s=sn(o),l=n(r,a,s,i,r!==t);if(l.done)return l.value;var f=Nne(a,RegExp),d=a.unicode,p=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Fc?"g":"y"),h=new f(Fc?"^(?:"+a.source+")":a,p),m=i===void 0?4294967295:i>>>0;if(m===0)return[];if(s.length===0)return wp(h,s)===null?[s]:[];for(var C=0,$=0,b=[];$<s.length;){h.lastIndex=Fc?0:$;var w,y=wp(h,Fc?$p(s,$):s);if(y===null||(w=Mne(mp(h.lastIndex+(Fc?$:0)),s.length))===C)$=I$(s,$,d);else{if(Pc(b,$p(s,C,$)),b.length===m)return b;for(var S=1;S<=y.length-1;S++)if(Pc(b,y[S]),b.length===m)return b;$=C=w}}return Pc(b,$p(s,C)),b}]},!!an(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Fc);var Cp,V$=`
102
+ `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),B$&&(n=new RegExp("^"+$+"$(?!\\s)",C)),O$&&(r=l.lastIndex),o=yn(Jm,m?n:l,w),m?o?(o.input=_$(o.input,b),o[0]=_$(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:O$&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),B$&&o&&o.length>1&&yn(pne,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=a9(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var bp=k$;Vn({target:"RegExp",proto:!0,forced:/./.exec!==bp},{exec:bp});var T$=Function.prototype,u9=T$.apply,vne=T$.bind,l9=T$.call,c9=typeof Reflect=="object"&&Reflect.apply||(vne?l9.bind(u9):function(){return l9.apply(u9,arguments)}),yne=Xr("species"),F$=RegExp.prototype,P$=function(e,t,n,r){var o=Xr(e),i=!an(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!an(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[yne]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=We(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=We(f),$=d.exec;return $===bp||$===F$.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});hp(String.prototype,e,l[0]),hp(F$,o,l[1])}r&&_c(F$[o],"sham",!0)},bne=We("".charAt),f9=We("".charCodeAt),wne=We("".slice),d9=function(e){return function(t,n){var r,o,i=sn(Do(t)),a=Bc(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=f9(i,a))<55296||r>56319||a+1===s||(o=f9(i,a+1))<56320||o>57343?e?bne(i,a):r:e?wne(i,a,a+2):o-56320+(r-55296<<10)+65536}},$ne={codeAt:d9(!1),charAt:d9(!0)}.charAt,I$=function(e,t,n){return t+(n?$ne(e,t).length:1)},Cne=Math.floor,N$=We("".charAt),Ene=We("".replace),L$=We("".slice),Sne=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Dne=/\$([$&'`]|\d{1,2})/g,xne=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=Dne;return o!==void 0&&(o=fp(o),l=Sne),Ene(i,l,function(f,d){var p;switch(N$(d,0)){case"$":return"$";case"&":return e;case"`":return L$(t,0,n);case"'":return L$(t,a);case"<":p=o[L$(d,1,-1)];break;default:var h=+d;if(h===0)return f;if(h>s){var m=Cne(h/10);return m===0?f:m<=s?r[m-1]===void 0?N$(d,1):r[m-1]+N$(d,1):f}p=r[h-1]}return p===void 0?"":p})},Ane=tt.TypeError,wp=function(e,t){var n=e.exec;if(ar(n)){var r=yn(n,e,t);return r!==null&&Zr(r),r}if(Ga(e)==="RegExp")return yn(bp,e,t);throw Ane("RegExp#exec called on incompatible receiver")},R$=Xr("replace"),kne=Math.max,_ne=Math.min,One=We([].concat),M$=We([].push),p9=We("".indexOf),h9=We("".slice),Bne="a".replace(/./,"$0")==="$0",g9=!!/./[R$]&&/./[R$]("a","$0")==="";P$("replace",function(e,t,n){var r=g9?"$":"$0";return[function(o,i){var a=Do(this),s=o==null?void 0:jm(o,R$);return s?yn(s,o,a,i):yn(t,sn(a),o,i)},function(o,i){var a=Zr(this),s=sn(o);if(typeof i=="string"&&p9(i,r)===-1&&p9(i,"$<")===-1){var l=n(t,a,s,i);if(l.done)return l.value}var f=ar(i);f||(i=sn(i));var d=a.global;if(d){var p=a.unicode;a.lastIndex=0}for(var h=[];;){var m=wp(a,s);if(m===null||(M$(h,m),!d))break;sn(m[0])===""&&(a.lastIndex=I$(s,mp(a.lastIndex),p))}for(var C,$="",b=0,w=0;w<h.length;w++){for(var y=sn((m=h[w])[0]),S=kne(_ne(Bc(m.index),s.length),0),x=[],A=1;A<m.length;A++)M$(x,(C=m[A])===void 0?C:String(C));var O=m.groups;if(f){var T=One([y],x,S,s);O!==void 0&&M$(T,O);var z=sn(c9(i,void 0,T))}else z=xne(y,s,S,x,O,i);S>=b&&($+=h9(s,b,S)+z,b=S+y.length)}return $+h9(s,b)}]},!!an(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Bne||g9);var j$=Xr("unscopables"),z$=Array.prototype;z$[j$]==null&&kc.f(z$,j$,{configurable:!0,value:a9(null)});var m9=function(e){z$[j$][e]=!0},Tne=Gm.find,v9=!0;"find"in[]&&Array(1).find(function(){v9=!1}),Vn({target:"Array",proto:!0,forced:v9},{find:function(e){return Tne(this,e,arguments.length>1?arguments[1]:void 0)}}),m9("find");var Fne=Xr("match"),y9=function(e){var t;return xo(e)&&((t=e[Fne])!==void 0?!!t:Ga(e)=="RegExp")},Pne=tt.TypeError,Ine=Xr("species"),Nne=function(e,t){var n,r=Zr(e).constructor;return r===void 0||(n=Zr(r)[Ine])==null?t:function(o){if(C$(o))return o;throw Pne(B7(o)+" is not a constructor")}(n)},b9=function(e,t,n){var r=c$(t);r in e?kc.f(e,r,Q4(0,n)):e[r]=n},Lne=tt.Array,Rne=Math.max,w9=function(e,t,n){for(var r=Hm(e),o=gp(t,r),i=gp(n===void 0?r:n,r),a=Lne(Rne(i-o,0)),s=0;o<i;o++,s++)b9(a,s,e[o]);return a.length=s,a},Fc=t9.UNSUPPORTED_Y,Mne=Math.min,$9=[].push,jne=We(/./.exec),Pc=We($9),$p=We("".slice);P$("split",function(e,t,n){var r;return r="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=sn(Do(this)),s=i===void 0?4294967295:i>>>0;if(s===0)return[];if(o===void 0)return[a];if(!y9(o))return yn(t,a,o,s);for(var l,f,d,p=[],h=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),m=0,C=new RegExp(o.source,h+"g");(l=yn(bp,C,a))&&!((f=C.lastIndex)>m&&(Pc(p,$p(a,m,l.index)),l.length>1&&l.index<a.length&&c9($9,p,w9(l,1)),d=l[0].length,m=f,p.length>=s));)C.lastIndex===l.index&&C.lastIndex++;return m===a.length?!d&&jne(C,"")||Pc(p,""):Pc(p,$p(a,m)),p.length>s?w9(p,0,s):p}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:yn(t,this,o,i)}:t,[function(o,i){var a=Do(this),s=o==null?void 0:jm(o,e);return s?yn(s,o,a,i):yn(r,sn(a),o,i)},function(o,i){var a=Zr(this),s=sn(o),l=n(r,a,s,i,r!==t);if(l.done)return l.value;var f=Nne(a,RegExp),d=a.unicode,p=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Fc?"g":"y"),h=new f(Fc?"^(?:"+a.source+")":a,p),m=i===void 0?4294967295:i>>>0;if(m===0)return[];if(s.length===0)return wp(h,s)===null?[s]:[];for(var C=0,$=0,b=[];$<s.length;){h.lastIndex=Fc?0:$;var w,y=wp(h,Fc?$p(s,$):s);if(y===null||(w=Mne(mp(h.lastIndex+(Fc?$:0)),s.length))===C)$=I$(s,$,d);else{if(Pc(b,$p(s,C,$)),b.length===m)return b;for(var S=1;S<=y.length-1;S++)if(Pc(b,y[S]),b.length===m)return b;$=C=w}}return Pc(b,$p(s,C)),b}]},!!an(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Fc);var Cp,V$=`
103
103
  \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,C9=We("".replace),Xm="["+V$+"]",zne=RegExp("^"+Xm+Xm+"*"),Vne=RegExp(Xm+Xm+"*$"),U$=function(e){return function(t){var n=sn(Do(t));return 1&e&&(n=C9(n,zne,"")),2&e&&(n=C9(n,Vne,"")),n}},Une={start:U$(1),end:U$(2),trim:U$(3)},Hne=Um.PROPER,Wne=Une.trim;function H$(e){return U("<div>"+e+"</div>").children().filter(function(t){return t.tagName!=="BR"}).length===0}function Ic(e){return e.length===0?"":e[0].outerHTML}function Nc(e){return e.length?e[0].tagName.toLowerCase():""}function ti(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var s=a.split(":");s[0].trim()===t&&(n=s[1].trim())}}return n}Vn({target:"String",proto:!0,forced:(Cp="trim",an(function(){return!!V$[Cp]()||"\u200B\x85\u180E"[Cp]()!=="\u200B\x85\u180E"||Hne&&V$[Cp].name!==Cp}))},{trim:function(){return Wne(this)}}),Vn({global:!0},{globalThis:tt}),S0&&(U.fn.css=S0),vo&&(U.fn.append=vo),BA&&(U.fn.prepend=BA),zl&&(U.fn.addClass=zl),Vl&&(U.fn.removeClass=Vl),Ul&&(U.fn.hasClass=Ul),yi&&(U.fn.on=yi),AA&&(U.fn.off=AA),Ba&&(U.fn.focus=Ba),mo&&(U.fn.attr=mo),w0&&(U.fn.removeAttr=w0),Wl&&(U.fn.hide=Wl),E0&&(U.fn.show=E0),A0&&(U.fn.parents=A0),Hl&&(U.fn.dataset=Hl),vi&&(U.fn.val=vi),x0&&(U.fn.text=x0),Oa&&(U.fn.html=Oa),Kl&&(U.fn.children=Kl),Yl&&(U.fn.remove=Yl),Gl&&(U.fn.find=Gl),$0&&(U.fn.width=$0),C0&&(U.fn.height=C0),_A&&(U.fn.filter=_A),Jl&&(U.fn.empty=Jl);var qne={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);return(t=t.filter(function(o){return!!xe.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}},W$=function(e,t){return W$=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},W$(e,t)};/*! *****************************************************************************
104
104
  Copyright (c) Microsoft Corporation.
105
105
 
@@ -113,16 +113,16 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,w
113
113
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
114
114
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
115
115
  PERFORMANCE OF THIS SOFTWARE.
116
- ***************************************************************************** */function Qt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}W$(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ja=function(){return Ja=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ja.apply(this,arguments)};function Xa(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(f){try{l(r.next(f))}catch(d){i(d)}}function s(f){try{l(r.throw(f))}catch(d){i(d)}}function l(f){var d;f.done?o(f.value):(d=f.value,d instanceof n?d:new n(function(p){p(d)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function Za(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(f){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!((o=o.length>0&&o[o.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){a.label=d[1];break}if(d[0]===6&&a.label<o[1]){a.label=o[1],o=d;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(d);break}o[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(p){d=[6,p],r=0}finally{n=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([l,f])}}}function E9(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $t(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function S9(e){var t=$t(_.nodes(e,{match:function(a){return e.children[0]===a},mode:"highest"}),1),n=t[0];if(n==null)return!1;var r=n[0];if(!Pe.isElement(r)||r.type==="paragraph"||we.string(r)!=="")return!1;var o=r.children,i=o===void 0?[]:o;return!!xe.isText(i[0])&&(ee.setNodes(e,{type:"paragraph"}),!0)}var Gne={renderElems:[Yee],elemsToHtml:[Jee],parseElemsHtml:[qne],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(o){S9(r)||t(o)},r.deleteForward=function(o){S9(r)||n(o)},r}},Kne=/"/g,Yne=We("".replace),Ep=function(e,t,n,r){var o=sn(Do(e)),i="<"+t;return n!==""&&(i+=" "+n+'="'+Yne(sn(r),Kne,"&quot;")+'"'),i+">"+o+"</"+t+">"},Sp=function(e){return an(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function q$(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function Fu(e,t){return e.length!==0&&(!!e[0].matches(t)||e.find(t).length>0)}Vn({target:"String",proto:!0,forced:Sp("bold")},{bold:function(){return Ep(this,"b","","")}}),Vn({target:"String",proto:!0,forced:Sp("italics")},{italics:function(){return Ep(this,"i","","")}}),Vn({target:"String",proto:!0,forced:Sp("sub")},{sub:function(){return Ep(this,"sub","","")}}),Vn({target:"String",proto:!0,forced:Sp("sup")},{sup:function(){return Ep(this,"sup","","")}});var D9={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},G$=d$("span").classList,x9=G$&&G$.constructor&&G$.constructor.prototype,Jne=x9===Object.prototype?void 0:x9,A9=function(e,t){var n=[][e];return!!n&&an(function(){n.call(null,t||function(){throw 1},1)})},Xne=Gm.forEach,K$=A9("forEach")?[].forEach:function(e){return Xne(this,e,arguments.length>1?arguments[1]:void 0)},k9=function(e){if(e&&e.forEach!==K$)try{_c(e,"forEach",K$)}catch{e.forEach=K$}};for(var Y$ in D9)D9[Y$]&&k9(tt[Y$]&&tt[Y$].prototype);function _9(e,t){return e.selection==null||!!$t(_.nodes(e,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(e,n)},universal:!0}),1)[0]}function Zne(e,t){Object.keys(t).forEach(function(n){n!=="text"&&_.removeMark(e,n)})}k9(Jne),Vn({target:"Object",stat:!0,forced:an(function(){Tc(1)})},{keys:function(e){return Tc(fp(e))}});var Pu=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(t){var n=this.mark,r=_.marks(t);return r?r[n]:!!$t(_.nodes(t,{match:function(o){return o[n]===!0}}),1)[0]},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return _9(t,this.mark)},e.prototype.exec=function(t,n){var r=this.mark,o=this.marksNeedToRemove;n?t.removeMark(r):(t.addMark(r,!0),o&&o.forEach(function(i){return t.removeMark(i)}))},e}(),Qne='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',ere='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',tre='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',nre='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',rre='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',O9='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',B9='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',ore='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',ire='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',are='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',sre='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',ure='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',lre='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',cre='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',fre='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',dre='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',pre='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',hre='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',gre='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',mre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="bold",n.title=$e("textStyle.bold"),n.iconSvg=Qne,n.hotkey="mod+b",n}return Qt(t,e),t}(Pu),vre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="code",n.title=$e("textStyle.code"),n.iconSvg=rre,n.hotkey="mod+e",n}return Qt(t,e),t}(Pu),yre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="italic",n.title=$e("textStyle.italic"),n.iconSvg=tre,n.hotkey="mod+i",n}return Qt(t,e),t}(Pu),bre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="through",n.title=$e("textStyle.through"),n.iconSvg=nre,n.hotkey="mod+shift+x",n}return Qt(t,e),t}(Pu),wre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="underline",n.title=$e("textStyle.underline"),n.iconSvg=ere,n.hotkey="mod+u",n}return Qt(t,e),t}(Pu),$re=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=$e("textStyle.sub"),n.iconSvg=gre,n.hotkey="",n}return Qt(t,e),t}(Pu),Cre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=$e("textStyle.sup"),n.iconSvg=hre,n.hotkey="",n}return Qt(t,e),t}(Pu),Ere=function(){function e(){this.title=$e("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return _9(t)},e.prototype.exec=function(t,n){var r,o,i=_.nodes(t,{match:function(l){return xe.isText(l)},universal:!0});try{for(var a=E9(i),s=a.next();!s.done;s=a.next())Zne(t,s.value[0])}catch(l){r={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},e}(),Sre={renderStyle:function(e,t){var n=e,r=n.bold,o=n.italic,i=n.underline,a=n.code,s=n.through,l=n.sub,f=n.sup,d=t;return r&&(d=Ke("strong",null,d)),a&&(d=Ke("code",null,d)),o&&(d=Ke("em",null,d)),i&&(d=Ke("u",null,d)),s&&(d=Ke("s",null,d)),l&&(d=Ke("sub",null,d)),f&&(d=Ke("sup",null,d)),d},menus:[{key:"bold",factory:function(){return new mre}},{key:"underline",factory:function(){return new wre}},{key:"italic",factory:function(){return new yre}},{key:"through",factory:function(){return new bre}},{key:"code",factory:function(){return new vre}},{key:"sub",factory:function(){return new $re}},{key:"sup",factory:function(){return new Cre}},{key:"clearStyle",factory:function(){return new Ere}}],styleToHtml:function(e,t){if(!xe.isText(e))return t;if(H$(t))return q$(e,t);var n=U(t);if(Nc(n)==="br")return q$(e,"<br>");var r=n.html();return r=q$(e,r),n.html(r),Ic(n)},parseStyleHtml:function(e,t,n){var r=U(e);if(!xe.isText(t))return t;var o=t;return Fu(r,"b,strong")&&(o.bold=!0),Fu(r,"i,em")&&(o.italic=!0),Fu(r,"u")&&(o.underline=!0),Fu(r,"s,strike")&&(o.through=!0),Fu(r,"sub")&&(o.sub=!0),Fu(r,"sup")&&(o.sup=!0),Fu(r,"code")&&(o.code=!0),o}};function Dp(e){return function(t,n,r){return Ke("h"+e,null,n)}}var Dre={type:"header1",renderElem:Dp(1)},xre={type:"header2",renderElem:Dp(2)},Are={type:"header3",renderElem:Dp(3)},kre={type:"header4",renderElem:Dp(4)},_re={type:"header5",renderElem:Dp(5)},Ore=Um.PROPER,J$=RegExp.prototype,T9=J$.toString,Bre=We(e9),Tre=an(function(){return T9.call({source:"a",flags:"b"})!="/a/b"}),Fre=Ore&&T9.name!="toString";(Tre||Fre)&&hp(RegExp.prototype,"toString",function(){var e=Xr(this),t=sn(e.source),n=e.flags;return"/"+t+"/"+sn(n===void 0&&x7(J$,e)&&!("flags"in J$)?Bre(e):n)},{unsafe:!0});var X$,Pre=tt.TypeError,F9=function(e){if(y9(e))throw Pre("The method doesn't accept regular expressions");return e},Ire=Jr("match"),P9=function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[Ire]=!1,"/./"[e](t)}catch{}}return!1},Nre=p$.f,I9=We("".startsWith),Lre=We("".slice),Rre=Math.min,N9=P9("startsWith");function L9(e){var t=$t(_.nodes(e,{match:function(o){return R.getNodeType(o).startsWith("header")},universal:!0}),1),n=t[0];if(n==null)return"paragraph";var r=$t(n,1)[0];return R.getNodeType(r)}function R9(e){return e.selection==null||!$t(_.nodes(e,{match:function(t){var n=R.getNodeType(t);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function M9(e,t){t&&ee.setNodes(e,{type:t})}Vn({target:"String",proto:!0,forced:!!(N9||(X$=Nre(String.prototype,"startsWith"),!X$||X$.writable))&&!N9},{startsWith:function(e){var t=sn(Do(this));F9(e);var n=mp(Rre(arguments.length>1?arguments[1]:void 0,t.length)),r=sn(e);return I9?I9(t,r,n):Lre(t,n,n+r.length)===r}});var Mre=function(){function e(){this.title=$e("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(t){var n=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:$e("header.text")}],r=this.getValue(t).toString();return n.forEach(function(o){o.value===r?o.selected=!0:delete o.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){return L9(t)},e.prototype.isDisabled=function(t){return R9(t)},e.prototype.exec=function(t,n){M9(t,n.toString())},e}(),xp=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return L9(t)},e.prototype.isActive=function(t){return this.getValue(t)===this.type},e.prototype.isDisabled=function(t){return R9(t)},e.prototype.exec=function(t,n){var r=this.type;M9(t,n===r?"paragraph":r)},e}(),jre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return Qt(t,e),t}(xp),zre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return Qt(t,e),t}(xp),Vre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return Qt(t,e),t}(xp),Ure=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return Qt(t,e),t}(xp),Hre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return Qt(t,e),t}(xp),Wre={key:"headerSelect",factory:function(){return new Mre}},qre={key:"header1",factory:function(){return new jre}},Gre={key:"header2",factory:function(){return new zre}},Kre={key:"header3",factory:function(){return new Vre}},Yre={key:"header4",factory:function(){return new Ure}},Jre={key:"header5",factory:function(){return new Hre}};function Ap(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function kp(e){return function(t,n,r){var o=U(t);return(n=n.filter(function(i){return!!xe.isText(i)||!!r.isInline(i)})).length===0&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var Xre={renderElems:[Dre,xre,Are,kre,_re],elemsToHtml:[{type:"header1",elemToHtml:Ap(1)},{type:"header2",elemToHtml:Ap(2)},{type:"header3",elemToHtml:Ap(3)},{type:"header4",elemToHtml:Ap(4)},{type:"header5",elemToHtml:Ap(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:kp(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:kp(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:kp(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:kp(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:kp(5)}],menus:[Wre,qre,Gre,Kre,Yre,Jre],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=$t(_.nodes(n,{match:function(o){return R.getNodeType(o).startsWith("header")},universal:!0}),1)[0];r&&R.isSelectionAtLineEnd(e,r[1])?ee.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},Lc=Object.assign,j9=Object.defineProperty,Zre=We([].concat),z9=!Lc||an(function(){if(ei&&Lc({b:1},Lc(j9({},"a",{enumerable:!0,get:function(){j9(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(o){t[o]=o}),Lc({},e)[n]!=7||Tc(Lc({},t)).join("")!=r})?function(e,t){for(var n=fp(e),r=arguments.length,o=1,i=G7.f,a=S7.f;r>o;)for(var s,l=Mm(arguments[o++]),f=i?Zre(Tc(l),i(l)):Tc(l),d=f.length,p=0;d>p;)s=f[p++],ei&&!yn(a,l,s)||(n[s]=l[s]);return n}:Lc;function Iu(e,t){e.data==null&&(e.data={});var n=e.data;n.style==null&&(n.style={}),Object.assign(n.style,t)}Vn({target:"Object",stat:!0,forced:Object.assign!==z9},{assign:z9});var Qre={selector:"font",preParseHtml:function(e){var t=U(e);if(Nc(t)!=="font")return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},V9=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){var n=this.mark,r=_.marks(t);return r&&r[n]?r[n]:""},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return t.selection==null||!!$t(_.nodes(t,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){var n=this.mark;if(this.$content==null){var r=U('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(f){var d=f.target;if(d!=null&&(f.preventDefault(),t.selection!=null)){var p=U(d).attr("data-value");p==="0"?_.removeMark(t,n):_.addMark(t,n,p)}}),this.$content=r}var o=this.$content;if(o==null)return document.createElement("ul");o.empty();var i=this.getValue(t),a=t.getMenuConfig(n).colors;(a===void 0?[]:a).forEach(function(f){var d=U('<div class="color-block" data-value="'+f+'"></div>');d.css("background-color",f);var p=U('<li data-value="'+f+'"></li>');i===f&&p.addClass("active"),p.append(d),o.append(p)});var s="";n==="color"&&(s=$e("color.default")),n==="bgColor"&&(s=$e("color.clear"));var l=U(`
116
+ ***************************************************************************** */function Qt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}W$(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Ja=function(){return Ja=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ja.apply(this,arguments)};function Xa(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(f){try{l(r.next(f))}catch(d){i(d)}}function s(f){try{l(r.throw(f))}catch(d){i(d)}}function l(f){var d;f.done?o(f.value):(d=f.value,d instanceof n?d:new n(function(p){p(d)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function Za(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(f){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!((o=o.length>0&&o[o.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){a.label=d[1];break}if(d[0]===6&&a.label<o[1]){a.label=o[1],o=d;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(d);break}o[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(p){d=[6,p],r=0}finally{n=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([l,f])}}}function E9(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $t(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function S9(e){var t=$t(_.nodes(e,{match:function(a){return e.children[0]===a},mode:"highest"}),1),n=t[0];if(n==null)return!1;var r=n[0];if(!Pe.isElement(r)||r.type==="paragraph"||we.string(r)!=="")return!1;var o=r.children,i=o===void 0?[]:o;return!!xe.isText(i[0])&&(ee.setNodes(e,{type:"paragraph"}),!0)}var Gne={renderElems:[Yee],elemsToHtml:[Jee],parseElemsHtml:[qne],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(o){S9(r)||t(o)},r.deleteForward=function(o){S9(r)||n(o)},r}},Kne=/"/g,Yne=We("".replace),Ep=function(e,t,n,r){var o=sn(Do(e)),i="<"+t;return n!==""&&(i+=" "+n+'="'+Yne(sn(r),Kne,"&quot;")+'"'),i+">"+o+"</"+t+">"},Sp=function(e){return an(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function q$(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function Fu(e,t){return e.length!==0&&(!!e[0].matches(t)||e.find(t).length>0)}Vn({target:"String",proto:!0,forced:Sp("bold")},{bold:function(){return Ep(this,"b","","")}}),Vn({target:"String",proto:!0,forced:Sp("italics")},{italics:function(){return Ep(this,"i","","")}}),Vn({target:"String",proto:!0,forced:Sp("sub")},{sub:function(){return Ep(this,"sub","","")}}),Vn({target:"String",proto:!0,forced:Sp("sup")},{sup:function(){return Ep(this,"sup","","")}});var D9={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},G$=d$("span").classList,x9=G$&&G$.constructor&&G$.constructor.prototype,Jne=x9===Object.prototype?void 0:x9,A9=function(e,t){var n=[][e];return!!n&&an(function(){n.call(null,t||function(){throw 1},1)})},Xne=Gm.forEach,K$=A9("forEach")?[].forEach:function(e){return Xne(this,e,arguments.length>1?arguments[1]:void 0)},k9=function(e){if(e&&e.forEach!==K$)try{_c(e,"forEach",K$)}catch{e.forEach=K$}};for(var Y$ in D9)D9[Y$]&&k9(tt[Y$]&&tt[Y$].prototype);function _9(e,t){return e.selection==null||!!$t(_.nodes(e,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(e,n)},universal:!0}),1)[0]}function Zne(e,t){Object.keys(t).forEach(function(n){n!=="text"&&_.removeMark(e,n)})}k9(Jne),Vn({target:"Object",stat:!0,forced:an(function(){Tc(1)})},{keys:function(e){return Tc(fp(e))}});var Pu=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(t){var n=this.mark,r=_.marks(t);return r?r[n]:!!$t(_.nodes(t,{match:function(o){return o[n]===!0}}),1)[0]},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return _9(t,this.mark)},e.prototype.exec=function(t,n){var r=this.mark,o=this.marksNeedToRemove;n?t.removeMark(r):(t.addMark(r,!0),o&&o.forEach(function(i){return t.removeMark(i)}))},e}(),Qne='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',ere='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',tre='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',nre='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',rre='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',O9='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',B9='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',ore='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',ire='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',are='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',sre='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',ure='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',lre='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',cre='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',fre='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',dre='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',pre='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',hre='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',gre='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',mre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="bold",n.title=$e("textStyle.bold"),n.iconSvg=Qne,n.hotkey="mod+b",n}return Qt(t,e),t}(Pu),vre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="code",n.title=$e("textStyle.code"),n.iconSvg=rre,n.hotkey="mod+e",n}return Qt(t,e),t}(Pu),yre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="italic",n.title=$e("textStyle.italic"),n.iconSvg=tre,n.hotkey="mod+i",n}return Qt(t,e),t}(Pu),bre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="through",n.title=$e("textStyle.through"),n.iconSvg=nre,n.hotkey="mod+shift+x",n}return Qt(t,e),t}(Pu),wre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="underline",n.title=$e("textStyle.underline"),n.iconSvg=ere,n.hotkey="mod+u",n}return Qt(t,e),t}(Pu),$re=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=$e("textStyle.sub"),n.iconSvg=gre,n.hotkey="",n}return Qt(t,e),t}(Pu),Cre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=$e("textStyle.sup"),n.iconSvg=hre,n.hotkey="",n}return Qt(t,e),t}(Pu),Ere=function(){function e(){this.title=$e("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return _9(t)},e.prototype.exec=function(t,n){var r,o,i=_.nodes(t,{match:function(l){return xe.isText(l)},universal:!0});try{for(var a=E9(i),s=a.next();!s.done;s=a.next())Zne(t,s.value[0])}catch(l){r={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},e}(),Sre={renderStyle:function(e,t){var n=e,r=n.bold,o=n.italic,i=n.underline,a=n.code,s=n.through,l=n.sub,f=n.sup,d=t;return r&&(d=Ke("strong",null,d)),a&&(d=Ke("code",null,d)),o&&(d=Ke("em",null,d)),i&&(d=Ke("u",null,d)),s&&(d=Ke("s",null,d)),l&&(d=Ke("sub",null,d)),f&&(d=Ke("sup",null,d)),d},menus:[{key:"bold",factory:function(){return new mre}},{key:"underline",factory:function(){return new wre}},{key:"italic",factory:function(){return new yre}},{key:"through",factory:function(){return new bre}},{key:"code",factory:function(){return new vre}},{key:"sub",factory:function(){return new $re}},{key:"sup",factory:function(){return new Cre}},{key:"clearStyle",factory:function(){return new Ere}}],styleToHtml:function(e,t){if(!xe.isText(e))return t;if(H$(t))return q$(e,t);var n=U(t);if(Nc(n)==="br")return q$(e,"<br>");var r=n.html();return r=q$(e,r),n.html(r),Ic(n)},parseStyleHtml:function(e,t,n){var r=U(e);if(!xe.isText(t))return t;var o=t;return Fu(r,"b,strong")&&(o.bold=!0),Fu(r,"i,em")&&(o.italic=!0),Fu(r,"u")&&(o.underline=!0),Fu(r,"s,strike")&&(o.through=!0),Fu(r,"sub")&&(o.sub=!0),Fu(r,"sup")&&(o.sup=!0),Fu(r,"code")&&(o.code=!0),o}};function Dp(e){return function(t,n,r){return Ke("h"+e,null,n)}}var Dre={type:"header1",renderElem:Dp(1)},xre={type:"header2",renderElem:Dp(2)},Are={type:"header3",renderElem:Dp(3)},kre={type:"header4",renderElem:Dp(4)},_re={type:"header5",renderElem:Dp(5)},Ore=Um.PROPER,J$=RegExp.prototype,T9=J$.toString,Bre=We(e9),Tre=an(function(){return T9.call({source:"a",flags:"b"})!="/a/b"}),Fre=Ore&&T9.name!="toString";(Tre||Fre)&&hp(RegExp.prototype,"toString",function(){var e=Zr(this),t=sn(e.source),n=e.flags;return"/"+t+"/"+sn(n===void 0&&x7(J$,e)&&!("flags"in J$)?Bre(e):n)},{unsafe:!0});var X$,Pre=tt.TypeError,F9=function(e){if(y9(e))throw Pre("The method doesn't accept regular expressions");return e},Ire=Xr("match"),P9=function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[Ire]=!1,"/./"[e](t)}catch{}}return!1},Nre=p$.f,I9=We("".startsWith),Lre=We("".slice),Rre=Math.min,N9=P9("startsWith");function L9(e){var t=$t(_.nodes(e,{match:function(o){return R.getNodeType(o).startsWith("header")},universal:!0}),1),n=t[0];if(n==null)return"paragraph";var r=$t(n,1)[0];return R.getNodeType(r)}function R9(e){return e.selection==null||!$t(_.nodes(e,{match:function(t){var n=R.getNodeType(t);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function M9(e,t){t&&ee.setNodes(e,{type:t})}Vn({target:"String",proto:!0,forced:!!(N9||(X$=Nre(String.prototype,"startsWith"),!X$||X$.writable))&&!N9},{startsWith:function(e){var t=sn(Do(this));F9(e);var n=mp(Rre(arguments.length>1?arguments[1]:void 0,t.length)),r=sn(e);return I9?I9(t,r,n):Lre(t,n,n+r.length)===r}});var Mre=function(){function e(){this.title=$e("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(t){var n=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:$e("header.text")}],r=this.getValue(t).toString();return n.forEach(function(o){o.value===r?o.selected=!0:delete o.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){return L9(t)},e.prototype.isDisabled=function(t){return R9(t)},e.prototype.exec=function(t,n){M9(t,n.toString())},e}(),xp=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return L9(t)},e.prototype.isActive=function(t){return this.getValue(t)===this.type},e.prototype.isDisabled=function(t){return R9(t)},e.prototype.exec=function(t,n){var r=this.type;M9(t,n===r?"paragraph":r)},e}(),jre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return Qt(t,e),t}(xp),zre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return Qt(t,e),t}(xp),Vre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return Qt(t,e),t}(xp),Ure=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return Qt(t,e),t}(xp),Hre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return Qt(t,e),t}(xp),Wre={key:"headerSelect",factory:function(){return new Mre}},qre={key:"header1",factory:function(){return new jre}},Gre={key:"header2",factory:function(){return new zre}},Kre={key:"header3",factory:function(){return new Vre}},Yre={key:"header4",factory:function(){return new Ure}},Jre={key:"header5",factory:function(){return new Hre}};function Ap(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function kp(e){return function(t,n,r){var o=U(t);return(n=n.filter(function(i){return!!xe.isText(i)||!!r.isInline(i)})).length===0&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var Xre={renderElems:[Dre,xre,Are,kre,_re],elemsToHtml:[{type:"header1",elemToHtml:Ap(1)},{type:"header2",elemToHtml:Ap(2)},{type:"header3",elemToHtml:Ap(3)},{type:"header4",elemToHtml:Ap(4)},{type:"header5",elemToHtml:Ap(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:kp(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:kp(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:kp(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:kp(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:kp(5)}],menus:[Wre,qre,Gre,Kre,Yre,Jre],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=$t(_.nodes(n,{match:function(o){return R.getNodeType(o).startsWith("header")},universal:!0}),1)[0];r&&R.isSelectionAtLineEnd(e,r[1])?ee.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},Lc=Object.assign,j9=Object.defineProperty,Zre=We([].concat),z9=!Lc||an(function(){if(ei&&Lc({b:1},Lc(j9({},"a",{enumerable:!0,get:function(){j9(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(o){t[o]=o}),Lc({},e)[n]!=7||Tc(Lc({},t)).join("")!=r})?function(e,t){for(var n=fp(e),r=arguments.length,o=1,i=G7.f,a=S7.f;r>o;)for(var s,l=Mm(arguments[o++]),f=i?Zre(Tc(l),i(l)):Tc(l),d=f.length,p=0;d>p;)s=f[p++],ei&&!yn(a,l,s)||(n[s]=l[s]);return n}:Lc;function Iu(e,t){e.data==null&&(e.data={});var n=e.data;n.style==null&&(n.style={}),Object.assign(n.style,t)}Vn({target:"Object",stat:!0,forced:Object.assign!==z9},{assign:z9});var Qre={selector:"font",preParseHtml:function(e){var t=U(e);if(Nc(t)!=="font")return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},V9=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){var n=this.mark,r=_.marks(t);return r&&r[n]?r[n]:""},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return t.selection==null||!!$t(_.nodes(t,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){var n=this.mark;if(this.$content==null){var r=U('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(f){var d=f.target;if(d!=null&&(f.preventDefault(),t.selection!=null)){var p=U(d).attr("data-value");p==="0"?_.removeMark(t,n):_.addMark(t,n,p)}}),this.$content=r}var o=this.$content;if(o==null)return document.createElement("ul");o.empty();var i=this.getValue(t),a=t.getMenuConfig(n).colors;(a===void 0?[]:a).forEach(function(f){var d=U('<div class="color-block" data-value="'+f+'"></div>');d.css("background-color",f);var p=U('<li data-value="'+f+'"></li>');i===f&&p.addClass("active"),p.append(d),o.append(p)});var s="";n==="color"&&(s=$e("color.default")),n==="bgColor"&&(s=$e("color.clear"));var l=U(`
117
117
  <li data-value="0" class="clear">
118
118
  <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>
119
119
  `+s+`
120
120
  </li>
121
- `);return o.prepend(l),o[0]},e}(),eoe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("color.color"),n.iconSvg=ore,n.mark="color",n}return Qt(t,e),t}(V9),toe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("color.bgColor"),n.iconSvg=ire,n.mark="bgColor",n}return Qt(t,e),t}(V9),U9=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],noe={renderStyle:function(e,t){var n=e,r=n.color,o=n.bgColor,i=t;return r&&Iu(i,{color:r}),o&&Iu(i,{backgroundColor:o}),i},styleToHtml:function(e,t){if(!xe.isText(e))return t;var n,r=e,o=r.color,i=r.bgColor;return o||i?((H$(t)||Nc(n=U(t))!=="span")&&(n=U("<span>"+t+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),Ic(n)):t},preParseHtml:[Qre],parseStyleHtml:function(e,t,n){var r=U(e);if(!xe.isText(t))return t;var o=t,i=ti(r,"color");i&&(o.color=i);var a=ti(r,"background-color");return a||(a=ti(r,"background")),a&&(o.bgColor=a),o},menus:[{key:"color",factory:function(){return new eoe},config:{colors:U9}},{key:"bgColor",factory:function(){return new toe},config:{colors:U9}}]},roe=function(e){if(typeof e!="string")return!1;var t=e.match(ooe);if(!t)return!1;var n=t[1];return n?!!(ioe.test(n)||aoe.test(n)):!1},ooe=/^(?:\w+:)?\/\/(\S+)$/,ioe=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,aoe=/^[^\s\.]+\.\S{2,}$/,soe=H7.includes;function Zm(e){return e===void 0&&(e="r"),e+"-"+LA()}function Z$(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function H9(e,t,n,r){return Xa(this,void 0,void 0,function(){var o,i;return Za(this,function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if(typeof(i=a.sent())=="string")return t.alert(i,"error"),[2,!1];if(i==null)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function W9(e,t,n){return Xa(this,void 0,void 0,function(){var r;return Za(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function Q$(e){return e.selection==null||!!R.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function e3(e,t){return{type:"link",url:Z$(e),children:t?[{text:t}]:[]}}function q9(e,t,n){return Xa(this,void 0,void 0,function(){var r,o,i;return Za(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),Q$(e)?[2]:[4,H9("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,W9("insertLink",e,n)]:[2];case 2:return r=a.sent(),(o=e.selection)==null?[2]:(re.isCollapsed(o)?(e.insertText(" "),i=e3(r,t),ee.insertNodes(e,i),e.insertFragment([{text:" "}])):_.string(e,o)!==t?(e.deleteFragment(),i=e3(r,t),ee.insertNodes(e,i)):(i=e3(r),ee.wrapNodes(e,i,{split:!0}),ee.collapse(e,{edge:"end"})),[2])}})})}Vn({target:"Array",proto:!0},{includes:function(e){return soe(this,e,arguments.length>1?arguments[1]:void 0)}}),m9("includes");var uoe={type:"link",renderElem:function(e,t,n){var r=e,o=r.url,i=r.target;return Ke("a",{href:o,target:i===void 0?"_blank":i},t)}},loe={type:"link",elemToHtml:function(e,t){var n=e,r=n.url,o=n.target;return'<a href="'+r+'" target="'+(o===void 0?"_blank":o)+'">'+t+"</a>"}},coe={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);return(t=t.filter(function(o){return!!xe.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}};function t3(){return Zm("w-e-insert-link")}var foe=function(){function e(){this.title=$e("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=t3(),this.urlInputId=t3(),this.buttonId=t3()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return Q$(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=t.selection,r=this,o=r.textInputId,i=r.urlInputId,a=r.buttonId,s=$t(Pr($e("link.text"),o),2),l=s[0],f=s[1],d=U(f),p=$t(Pr($e("link.url"),i),2),h=p[0],m=p[1],C=U(m),$=$t(_u(a,$e("common.ok")),1)[0];if(this.$content==null){var b=U("<div></div>");b.on("click","#"+a,function(S){S.preventDefault();var x=b.find("#"+o).val(),A=b.find("#"+i).val();q9(t,x,A),t.hidePanelOrModal()}),this.$content=b}var w=this.$content;if(w.empty(),w.append(l),w.append(h),w.append($),n==null||re.isCollapsed(n))d.val("");else{var y=_.string(t,n);d.val(y)}return C.val(""),setTimeout(function(){d.focus()}),w[0]},e}();function G9(){return Zm("w-e-update-link")}var doe=function(){function e(){this.title=$e("link.edit"),this.iconSvg=O9,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=G9(),this.buttonId=G9()}return e.prototype.getSelectedLinkElem=function(t){var n=R.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.getModalPositionNode=function(t){return R.getSelectedNodeByType(t,"link")},e.prototype.getModalContentElem=function(t){var n=this.urlInputId,r=this.buttonId,o=$t(Pr($e("link.url"),n),2),i=o[0],a=o[1],s=U(a),l=$t(_u(r,$e("common.ok")),1)[0];if(this.$content==null){var f=U("<div></div>");f.on("click","button",function(h){h.preventDefault(),t.restoreSelection();var m=R.getSelectedNodeByType(t,"link"),C=m?we.string(m):"",$=f.find("#"+n).val();(function(b,w,y){Xa(this,void 0,void 0,function(){var S,x;return Za(this,function(A){switch(A.label){case 0:return y?[4,H9("editLink",b,w,y)]:[2];case 1:return A.sent()?[4,W9("editLink",b,y)]:[2];case 2:return S=A.sent(),x={url:Z$(S)},ee.setNodes(b,x,{match:function(O){return R.checkNodeType(O,"link")}}),[2]}})})})(t,C,$),t.hidePanelOrModal()}),this.$content=f}var d=this.$content;d.empty(),d.append(i),d.append(l);var p=this.getValue(t);return s.val(p),setTimeout(function(){s.focus()}),d[0]},e}(),poe=function(){function e(){this.title=$e("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||R.getSelectedNodeByType(t,"link")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||ee.unwrapNodes(t,{match:function(r){return R.checkNodeType(r,"link")}})},e}(),hoe=function(){function e(){this.title=$e("link.view"),this.iconSvg=B9,this.tag="button"}return e.prototype.getSelectedLinkElem=function(t){var n=R.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View link failed, link url is '"+n+"'");window.open(n,"_blank")}},e}(),K9={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},goe={renderElems:[uoe],elemsToHtml:[loe],parseElemsHtml:[coe],menus:[{key:"insertLink",factory:function(){return new foe},config:K9},{key:"editLink",factory:function(){return new doe},config:K9},{key:"unLink",factory:function(){return new poe}},{key:"viewLink",factory:function(){return new hoe}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var o=e;return o.isInline=function(i){return i.type==="link"||t(i)},o.insertData=function(i){var a=i.getData("text/plain");if(roe(a)){if(!Q$(o)){var s=o.selection;if(s!=null){var l=_.string(o,s);q9(o,l,a)}}}else n(i)},o.normalizeNode=function(i){var a=$t(i,2),s=a[0],l=a[1];return R.getNodeType(s)!=="link"?r([s,l]):we.string(s)===""?ee.removeNodes(o,{at:l}):r([s,l])},o}},moe=We(1 .valueOf),voe=tt.RangeError,yoe=tt.RangeError,Y9=tt.String,J9=Math.floor,n3=We(function(e){var t=sn(Do(this)),n="",r=Bc(e);if(r<0||r==1/0)throw voe("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),X9=We("".slice),_p=We(1 .toFixed),Rc=function(e,t,n){return t===0?n:t%2==1?Rc(e,t-1,n*e):Rc(e*e,t/2,n)},Mc=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=J9(o/1e7)},r3=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=J9(r/t),r=r%t*1e7},Z9=function(e){for(var t=6,n="";--t>=0;)if(n!==""||t===0||e[t]!==0){var r=Y9(e[t]);n=n===""?r:n+n3("0",7-r.length)+r}return n};function Q9(e,t){return"w-e-image-container-"+R.findKey(e,t).id}function boe(e,t,n,r){var o=U("body"),i=Q9(e,t),a=r.width,s=r.height,l=0,f=0,d=0,p=!1,h=null;function m(w){h=function(){var x=U("#"+i);if(x.length===0)throw new Error("Cannot find image container elem");return x}(),l=w;var y=h.find("img");if(y.length===0)throw new Error("Cannot find image elem");f=y.width(),d=y.height(),o.on("mousemove",C),o.on("mouseup",$);var S=R.getHoverbar(e);S&&S.hideAndClean()}var C=uu(function(w){w.preventDefault();var y=w.clientX,S=f+(p?l-y:y-l),x=d*(S/f);h!=null&&(S<=15||x<=15||(h.css("width",S+"px"),h.css("height",x+"px")))},100);function $(w){if(o.off("mousemove",C),h!=null){var y=h.width().toFixed(2),S=h.height().toFixed(2),x={style:Ja(Ja({},t.style),{width:y+"px",height:S+"px"})};ee.setNodes(e,x,{at:R.findPath(e,t)}),o.off("mouseup",$)}}var b={};return a&&(b.width=a),s&&(b.height=s),Ke("div",{id:i,style:b,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(w){var y=U(w.target);y.hasClass("w-e-image-dragger")&&(w.preventDefault(),(y.hasClass("left-top")||y.hasClass("left-bottom"))&&(p=!0),m(w.clientX))}}},n,Ke("div",{className:"w-e-image-dragger left-top"}),Ke("div",{className:"w-e-image-dragger right-top"}),Ke("div",{className:"w-e-image-dragger left-bottom"}),Ke("div",{className:"w-e-image-dragger right-bottom"}))}Vn({target:"Number",proto:!0,forced:an(function(){return _p(8e-5,3)!=="0.000"||_p(.9,0)!=="1"||_p(1.255,2)!=="1.25"||_p(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!an(function(){_p({})})},{toFixed:function(e){var t,n,r,o,i=moe(this),a=Bc(e),s=[0,0,0,0,0,0],l="",f="0";if(a<0||a>20)throw yoe("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Y9(i);if(i<0&&(l="-",i=-i),i>1e-21)if(n=(t=function(d){for(var p=0,h=d;h>=4096;)p+=12,h/=4096;for(;h>=2;)p+=1,h/=2;return p}(i*Rc(2,69,1))-69)<0?i*Rc(2,-t,1):i/Rc(2,t,1),n*=4503599627370496,(t=52-t)>0){for(Mc(s,0,n),r=a;r>=7;)Mc(s,1e7,0),r-=7;for(Mc(s,Rc(10,r,1),0),r=t-1;r>=23;)r3(s,1<<23),r-=23;r3(s,1<<r),Mc(s,1,1),r3(s,2),f=Z9(s)}else Mc(s,0,n),Mc(s,1<<-t,0),f=Z9(s)+n3("0",a);return f=a>0?l+((o=f.length)<=a?"0."+n3("0",a-o)+f:X9(f,0,o-a)+"."+X9(f,o-a)):l+f}});var woe={type:"image",renderElem:function(e,t,n){var r=e,o=r.src,i=r.alt,a=i===void 0?"":i,s=r.href,l=s===void 0?"":s,f=r.style,d=f===void 0?{}:f,p=d.width,h=p===void 0?"":p,m=d.height,C=m===void 0?"":m,$=R.isNodeSelected(n,e),b={};h&&(b.width="100%"),C&&(b.height="100%");var w=Ke("img",{style:b,src:o,alt:a,"data-href":l}),y=n.isDisabled();return $&&!y?boe(n,e,w,{width:h,height:C}):function(S,x,A,O){var T=O.width,z=O.height,V={};T&&(V.width=T),z&&(V.height=z);var ue=Q9(S,x);return Ke("div",{id:ue,style:V,className:"w-e-image-container"},A)}(n,e,w,{width:h,height:C})}},$oe={type:"image",elemToHtml:function(e,t){var n=e,r=n.src,o=n.alt,i=o===void 0?"":o,a=n.href,s=a===void 0?"":a,l=n.style,f=l===void 0?{}:l,d=f.width,p=d===void 0?"":d,h=f.height,m=h===void 0?"":h,C="";return p&&(C+="width: "+p+";"),m&&(C+="height: "+m+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+s+'" style="'+C+'"/>'}},Coe={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:ti(r,"width"),height:ti(r,"height")},children:[{text:""}]}}};function eB(e,t,n,r,o){return r===void 0&&(r=""),o===void 0&&(o=""),Xa(this,void 0,void 0,function(){var i,a;return Za(this,function(s){switch(s.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if(typeof(a=s.sent())=="string")return t.alert(a,"error"),[2,!1];if(a==null)return[2,!1];s.label=2;case 2:return[2,!0]}})})}function tB(e,t,n){return Xa(this,void 0,void 0,function(){var r;return Za(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function Nu(e,t,n,r){return n===void 0&&(n=""),r===void 0&&(r=""),Xa(this,void 0,void 0,function(){var o,i,a;return Za(this,function(s){switch(s.label){case 0:return[4,eB("insertImage",e,t,n,r)];case 1:return s.sent()?[4,tB("insertImage",e,t)]:[2];case 2:return o=s.sent(),i={type:"image",src:Z$(o),href:r,alt:n,style:{},children:[{text:""}]},e.selection===null&&e.restoreSelection(),R.getSelectedNodeByType(e,"image")&&e.move(1),Qm(e)?[2]:(ee.insertNodes(e,i),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(i),[2])}})})}function Eoe(e,t,n,r,o){return n===void 0&&(n=""),r===void 0&&(r=""),o===void 0&&(o={}),Xa(this,void 0,void 0,function(){var i,a,s,l,f,d;return Za(this,function(p){switch(p.label){case 0:return[4,eB("editImage",e,t,n,r)];case 1:return p.sent()?[4,tB("editImage",e,t)]:[2];case 2:return i=p.sent(),(a=R.getSelectedNodeByType(e,"image"))==null?[2]:(s=a.style,l={src:i,alt:n,href:r,style:Ja(Ja({},s===void 0?{}:s),o)},ee.setNodes(e,l,{match:function(h){return R.checkNodeType(h,"image")}}),f=R.getSelectedNodeByType(e,"image"),(d=e.getMenuConfig("editImage").onUpdatedImage)&&d(f),[2])}})})}function Qm(e){var t=e.selection;return t==null||!re.isCollapsed(t)||!!$t(_.nodes(e,{match:function(n){var r=R.getNodeType(n);return r==="code"||r==="pre"||r==="link"||r==="list-item"||!!r.startsWith("header")||r==="blockquote"||!!_.isVoid(e,n)},universal:!0}),1)[0]}function ev(){return Zm("w-e-insert-image")}var Soe=function(){function e(){this.title=$e("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=ev(),this.altInputId=ev(),this.hrefInputId=ev(),this.buttonId=ev()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return Qm(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,s=r.buttonId,l=$t(Pr($e("image.src"),o),2),f=l[0],d=l[1],p=U(d),h=$t(Pr($e("image.desc"),i),2),m=h[0],C=h[1],$=U(C),b=$t(Pr($e("image.link"),a),2),w=b[0],y=b[1],S=U(y),x=$t(_u(s,$e("common.ok")),1)[0];if(this.$content==null){var A=U("<div></div>");A.on("click","#"+s,function(T){T.preventDefault();var z=A.find("#"+o).val().trim(),V=A.find("#"+i).val().trim(),ue=A.find("#"+a).val().trim();n.insertImage(t,z,V,ue),t.hidePanelOrModal()}),this.$content=A}var O=this.$content;return O.empty(),O.append(f),O.append(m),O.append(w),O.append(x),p.val(""),$.val(""),S.val(""),setTimeout(function(){p.focus()}),O[0]},e.prototype.insertImage=function(t,n,r,o){r===void 0&&(r=""),o===void 0&&(o=""),n&&(t.restoreSelection(),this.isDisabled(t)||Nu(t,n,r,o))},e}(),Doe=function(){function e(){this.title=$e("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||R.getSelectedNodeByType(t,"image")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||ee.removeNodes(t,{match:function(r){return R.checkNodeType(r,"image")}})},e}();function tv(){return Zm("w-e-edit-image")}var xoe=function(){function e(){this.title=$e("image.edit"),this.iconSvg=O9,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=tv(),this.altInputId=tv(),this.hrefInputId=tv(),this.buttonId=tv()}return e.prototype.getValue=function(t){return""},e.prototype.getImageNode=function(t){return R.getSelectedNodeByType(t,"image")},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"image")==null},e.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,s=r.buttonId,l=this.getImageNode(t);if(l==null)throw new Error("Not found selected image node");var f=$t(Pr($e("image.src"),o),2),d=f[0],p=f[1],h=U(p),m=$t(Pr($e("image.desc"),i),2),C=m[0],$=m[1],b=U($),w=$t(Pr($e("image.link"),a),2),y=w[0],S=w[1],x=U(S),A=$t(_u(s,$e("common.ok")),1)[0];if(this.$content==null){var O=U("<div></div>");O.on("click","#"+s,function(_e){_e.preventDefault();var Ee=O.find("#"+o).val(),Be=O.find("#"+i).val(),Fe=O.find("#"+a).val();n.updateImage(t,Ee,Be,Fe),t.hidePanelOrModal()}),this.$content=O}var T=this.$content;T.empty(),T.append(d),T.append(C),T.append(y),T.append(A);var z=l,V=z.src,ue=z.alt,oe=ue===void 0?"":ue,de=z.href,me=de===void 0?"":de;return h.val(V),b.val(oe),x.val(me),setTimeout(function(){h.focus()}),T[0]},e.prototype.updateImage=function(t,n,r,o,i){r===void 0&&(r=""),o===void 0&&(o=""),i===void 0&&(i={}),n&&(t.restoreSelection(),this.isDisabled(t)||Eoe(t,n,r,o,i))},e}(),Aoe=function(){function e(){this.title=$e("image.viewLink"),this.iconSvg=B9,this.tag="button"}return e.prototype.getValue=function(t){var n=R.getSelectedNodeByType(t,"image");return n&&n.href||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!this.getValue(t)},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View image link failed, image.href is '"+n+"'");window.open(n,"_blank")}},e}(),o3=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getSelectedNode=function(t){return R.getSelectedNodeByType(t,"image")},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedNode(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(r!=null){var o=R.getHoverbar(t);o&&o.hideAndClean();var i=r.style,a={style:Ja(Ja({},i===void 0?{}:i),{width:this.value,height:""})};ee.setNodes(t,a,{match:function(s){return R.checkNodeType(s,"image")}})}}},e}(),koe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return Qt(t,e),t}(o3),_oe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return Qt(t,e),t}(o3),Ooe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return Qt(t,e),t}(o3),nB={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},Boe={renderElems:[woe],elemsToHtml:[$oe],parseElemsHtml:[Coe],menus:[{key:"insertImage",factory:function(){return new Soe},config:nB},{key:"deleteImage",factory:function(){return new Doe}},{key:"editImage",factory:function(){return new xoe},config:nB},{key:"viewImageLink",factory:function(){return new Aoe}},{key:"imageWidth30",factory:function(){return new koe}},{key:"imageWidth50",factory:function(){return new _oe}},{key:"imageWidth100",factory:function(){return new Ooe}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(o){return o.type==="image"||t(o)},r.isVoid=function(o){return o.type==="image"||n(o)},r}},Toe={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var o=e.checked,i=Ke("div",{style:{margin:"5px 0"}},Ke("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Ke("input",{type:"checkbox",checked:o,disabled:r,on:{change:function(a){var s=R.findPath(n,e),l={checked:a.target.checked};ee.setNodes(n,l,{at:s})}}})),Ke("span",null,t));return i}},Foe=function(){function e(){this.title=$e("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!R.getSelectedNodeByType(t,"todo")},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(_.isVoid(t,n)&&_.isBlock(t,n))return!0;var r=n.type;return!!["pre","table","list-item"].includes(r)||void 0})},e.prototype.exec=function(t,n){var r=this.isActive(t);ee.setNodes(t,{type:r?"paragraph":"todo"})},e}(),Poe={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=U(e);(t=t.filter(function(i){return!!xe.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return r.find('input[type="checkbox"]').attr("checked")!=null&&(o=!0),{type:"todo",checked:o,children:t}}},Ioe={renderElems:[Toe],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=U(e).find("li"),n=U('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[Poe],menus:[{key:"todo",factory:function(){return new Foe}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(r){var o=e.selection;if(o&&re.isCollapsed(o)){var i=R.getSelectedNodeByType(e,"todo");if(i&&we.string(i).length===0)return void ee.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(r)},n}},Noe={type:"blockquote",renderElem:function(e,t,n){return Ke("blockquote",null,t)}},Loe={type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}},Roe={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);return(t=t.filter(function(o){return!!xe.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},Moe=function(){function e(){this.title=$e("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!R.getSelectedNodeByType(t,"blockquote")},e.prototype.isDisabled=function(t){return t.selection==null||!$t(_.nodes(t,{match:function(n){var r=R.getNodeType(n);return r==="paragraph"||r==="blockquote"},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.isActive(t)?"paragraph":"blockquote";ee.setNodes(t,{type:r},{mode:"highest"})}},e}(),joe={key:"blockquote",factory:function(){return new Moe}},zoe=We([].slice),Voe=E$("slice"),Uoe=Jr("species"),i3=tt.Array,Hoe=Math.max;Vn({target:"Array",proto:!0,forced:!Voe},{slice:function(e,t){var n,r,o,i=Ac(this),a=Hm(i),s=gp(e,a),l=gp(t===void 0?a:t,a);if(qm(i)&&(n=i.constructor,(C$(n)&&(n===i3||qm(n.prototype))||xo(n)&&(n=n[Uoe])===null)&&(n=void 0),n===i3||n===void 0))return zoe(i,s,l);for(r=new(n===void 0?i3:n)(Hoe(l-s,0)),o=0;s<l;s++,o++)s in i&&b9(r,o,i[s]);return r.length=o,r}});var Woe={renderElems:[Noe],elemsToHtml:[Loe],parseElemsHtml:[Roe],menus:[joe],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var o=r.selection;if(o==null)return t();var i=$t(_.nodes(e,{match:function(d){return R.checkNodeType(d,"blockquote")},universal:!0}),1)[0];if(!i)return t();var a=i[0],s=R.findPath(e,a),l=_.end(e,s);if(nt.equals(l,o.focus)){var f=we.string(a);if(f&&f.slice(-1)===`
121
+ `);return o.prepend(l),o[0]},e}(),eoe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("color.color"),n.iconSvg=ore,n.mark="color",n}return Qt(t,e),t}(V9),toe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("color.bgColor"),n.iconSvg=ire,n.mark="bgColor",n}return Qt(t,e),t}(V9),U9=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],noe={renderStyle:function(e,t){var n=e,r=n.color,o=n.bgColor,i=t;return r&&Iu(i,{color:r}),o&&Iu(i,{backgroundColor:o}),i},styleToHtml:function(e,t){if(!xe.isText(e))return t;var n,r=e,o=r.color,i=r.bgColor;return o||i?((H$(t)||Nc(n=U(t))!=="span")&&(n=U("<span>"+t+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),Ic(n)):t},preParseHtml:[Qre],parseStyleHtml:function(e,t,n){var r=U(e);if(!xe.isText(t))return t;var o=t,i=ti(r,"color");i&&(o.color=i);var a=ti(r,"background-color");return a||(a=ti(r,"background")),a&&(o.bgColor=a),o},menus:[{key:"color",factory:function(){return new eoe},config:{colors:U9}},{key:"bgColor",factory:function(){return new toe},config:{colors:U9}}]},roe=function(e){if(typeof e!="string")return!1;var t=e.match(ooe);if(!t)return!1;var n=t[1];return n?!!(ioe.test(n)||aoe.test(n)):!1},ooe=/^(?:\w+:)?\/\/(\S+)$/,ioe=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,aoe=/^[^\s\.]+\.\S{2,}$/,soe=H7.includes;function Zm(e){return e===void 0&&(e="r"),e+"-"+LA()}function Z$(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function H9(e,t,n,r){return Xa(this,void 0,void 0,function(){var o,i;return Za(this,function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if(typeof(i=a.sent())=="string")return t.alert(i,"error"),[2,!1];if(i==null)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function W9(e,t,n){return Xa(this,void 0,void 0,function(){var r;return Za(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function Q$(e){return e.selection==null||!!R.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function e3(e,t){return{type:"link",url:Z$(e),children:t?[{text:t}]:[]}}function q9(e,t,n){return Xa(this,void 0,void 0,function(){var r,o,i;return Za(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),Q$(e)?[2]:[4,H9("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,W9("insertLink",e,n)]:[2];case 2:return r=a.sent(),(o=e.selection)==null?[2]:(re.isCollapsed(o)?(e.insertText(" "),i=e3(r,t),ee.insertNodes(e,i),e.insertFragment([{text:" "}])):_.string(e,o)!==t?(e.deleteFragment(),i=e3(r,t),ee.insertNodes(e,i)):(i=e3(r),ee.wrapNodes(e,i,{split:!0}),ee.collapse(e,{edge:"end"})),[2])}})})}Vn({target:"Array",proto:!0},{includes:function(e){return soe(this,e,arguments.length>1?arguments[1]:void 0)}}),m9("includes");var uoe={type:"link",renderElem:function(e,t,n){var r=e,o=r.url,i=r.target;return Ke("a",{href:o,target:i===void 0?"_blank":i},t)}},loe={type:"link",elemToHtml:function(e,t){var n=e,r=n.url,o=n.target;return'<a href="'+r+'" target="'+(o===void 0?"_blank":o)+'">'+t+"</a>"}},coe={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);return(t=t.filter(function(o){return!!xe.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}};function t3(){return Zm("w-e-insert-link")}var foe=function(){function e(){this.title=$e("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=t3(),this.urlInputId=t3(),this.buttonId=t3()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return Q$(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=t.selection,r=this,o=r.textInputId,i=r.urlInputId,a=r.buttonId,s=$t(Pr($e("link.text"),o),2),l=s[0],f=s[1],d=U(f),p=$t(Pr($e("link.url"),i),2),h=p[0],m=p[1],C=U(m),$=$t(_u(a,$e("common.ok")),1)[0];if(this.$content==null){var b=U("<div></div>");b.on("click","#"+a,function(S){S.preventDefault();var x=b.find("#"+o).val(),A=b.find("#"+i).val();q9(t,x,A),t.hidePanelOrModal()}),this.$content=b}var w=this.$content;if(w.empty(),w.append(l),w.append(h),w.append($),n==null||re.isCollapsed(n))d.val("");else{var y=_.string(t,n);d.val(y)}return C.val(""),setTimeout(function(){d.focus()}),w[0]},e}();function G9(){return Zm("w-e-update-link")}var doe=function(){function e(){this.title=$e("link.edit"),this.iconSvg=O9,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=G9(),this.buttonId=G9()}return e.prototype.getSelectedLinkElem=function(t){var n=R.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.getModalPositionNode=function(t){return R.getSelectedNodeByType(t,"link")},e.prototype.getModalContentElem=function(t){var n=this.urlInputId,r=this.buttonId,o=$t(Pr($e("link.url"),n),2),i=o[0],a=o[1],s=U(a),l=$t(_u(r,$e("common.ok")),1)[0];if(this.$content==null){var f=U("<div></div>");f.on("click","button",function(h){h.preventDefault(),t.restoreSelection();var m=R.getSelectedNodeByType(t,"link"),C=m?we.string(m):"",$=f.find("#"+n).val();(function(b,w,y){Xa(this,void 0,void 0,function(){var S,x;return Za(this,function(A){switch(A.label){case 0:return y?[4,H9("editLink",b,w,y)]:[2];case 1:return A.sent()?[4,W9("editLink",b,y)]:[2];case 2:return S=A.sent(),x={url:Z$(S)},ee.setNodes(b,x,{match:function(O){return R.checkNodeType(O,"link")}}),[2]}})})})(t,C,$),t.hidePanelOrModal()}),this.$content=f}var d=this.$content;d.empty(),d.append(i),d.append(l);var p=this.getValue(t);return s.val(p),setTimeout(function(){s.focus()}),d[0]},e}(),poe=function(){function e(){this.title=$e("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||R.getSelectedNodeByType(t,"link")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||ee.unwrapNodes(t,{match:function(r){return R.checkNodeType(r,"link")}})},e}(),hoe=function(){function e(){this.title=$e("link.view"),this.iconSvg=B9,this.tag="button"}return e.prototype.getSelectedLinkElem=function(t){var n=R.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View link failed, link url is '"+n+"'");window.open(n,"_blank")}},e}(),K9={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},goe={renderElems:[uoe],elemsToHtml:[loe],parseElemsHtml:[coe],menus:[{key:"insertLink",factory:function(){return new foe},config:K9},{key:"editLink",factory:function(){return new doe},config:K9},{key:"unLink",factory:function(){return new poe}},{key:"viewLink",factory:function(){return new hoe}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var o=e;return o.isInline=function(i){return i.type==="link"||t(i)},o.insertData=function(i){var a=i.getData("text/plain");if(roe(a)){if(!Q$(o)){var s=o.selection;if(s!=null){var l=_.string(o,s);q9(o,l,a)}}}else n(i)},o.normalizeNode=function(i){var a=$t(i,2),s=a[0],l=a[1];return R.getNodeType(s)!=="link"?r([s,l]):we.string(s)===""?ee.removeNodes(o,{at:l}):r([s,l])},o}},moe=We(1 .valueOf),voe=tt.RangeError,yoe=tt.RangeError,Y9=tt.String,J9=Math.floor,n3=We(function(e){var t=sn(Do(this)),n="",r=Bc(e);if(r<0||r==1/0)throw voe("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),X9=We("".slice),_p=We(1 .toFixed),Rc=function(e,t,n){return t===0?n:t%2==1?Rc(e,t-1,n*e):Rc(e*e,t/2,n)},Mc=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=J9(o/1e7)},r3=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=J9(r/t),r=r%t*1e7},Z9=function(e){for(var t=6,n="";--t>=0;)if(n!==""||t===0||e[t]!==0){var r=Y9(e[t]);n=n===""?r:n+n3("0",7-r.length)+r}return n};function Q9(e,t){return"w-e-image-container-"+R.findKey(e,t).id}function boe(e,t,n,r){var o=U("body"),i=Q9(e,t),a=r.width,s=r.height,l=0,f=0,d=0,p=!1,h=null;function m(w){h=function(){var x=U("#"+i);if(x.length===0)throw new Error("Cannot find image container elem");return x}(),l=w;var y=h.find("img");if(y.length===0)throw new Error("Cannot find image elem");f=y.width(),d=y.height(),o.on("mousemove",C),o.on("mouseup",$);var S=R.getHoverbar(e);S&&S.hideAndClean()}var C=uu(function(w){w.preventDefault();var y=w.clientX,S=f+(p?l-y:y-l),x=d*(S/f);h!=null&&(S<=15||x<=15||(h.css("width",S+"px"),h.css("height",x+"px")))},100);function $(w){if(o.off("mousemove",C),h!=null){var y=h.width().toFixed(2),S=h.height().toFixed(2),x={style:Ja(Ja({},t.style),{width:y+"px",height:S+"px"})};ee.setNodes(e,x,{at:R.findPath(e,t)}),o.off("mouseup",$)}}var b={};return a&&(b.width=a),s&&(b.height=s),Ke("div",{id:i,style:b,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(w){var y=U(w.target);y.hasClass("w-e-image-dragger")&&(w.preventDefault(),(y.hasClass("left-top")||y.hasClass("left-bottom"))&&(p=!0),m(w.clientX))}}},n,Ke("div",{className:"w-e-image-dragger left-top"}),Ke("div",{className:"w-e-image-dragger right-top"}),Ke("div",{className:"w-e-image-dragger left-bottom"}),Ke("div",{className:"w-e-image-dragger right-bottom"}))}Vn({target:"Number",proto:!0,forced:an(function(){return _p(8e-5,3)!=="0.000"||_p(.9,0)!=="1"||_p(1.255,2)!=="1.25"||_p(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!an(function(){_p({})})},{toFixed:function(e){var t,n,r,o,i=moe(this),a=Bc(e),s=[0,0,0,0,0,0],l="",f="0";if(a<0||a>20)throw yoe("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Y9(i);if(i<0&&(l="-",i=-i),i>1e-21)if(n=(t=function(d){for(var p=0,h=d;h>=4096;)p+=12,h/=4096;for(;h>=2;)p+=1,h/=2;return p}(i*Rc(2,69,1))-69)<0?i*Rc(2,-t,1):i/Rc(2,t,1),n*=4503599627370496,(t=52-t)>0){for(Mc(s,0,n),r=a;r>=7;)Mc(s,1e7,0),r-=7;for(Mc(s,Rc(10,r,1),0),r=t-1;r>=23;)r3(s,1<<23),r-=23;r3(s,1<<r),Mc(s,1,1),r3(s,2),f=Z9(s)}else Mc(s,0,n),Mc(s,1<<-t,0),f=Z9(s)+n3("0",a);return f=a>0?l+((o=f.length)<=a?"0."+n3("0",a-o)+f:X9(f,0,o-a)+"."+X9(f,o-a)):l+f}});var woe={type:"image",renderElem:function(e,t,n){var r=e,o=r.src,i=r.alt,a=i===void 0?"":i,s=r.href,l=s===void 0?"":s,f=r.style,d=f===void 0?{}:f,p=d.width,h=p===void 0?"":p,m=d.height,C=m===void 0?"":m,$=R.isNodeSelected(n,e),b={};h&&(b.width="100%"),C&&(b.height="100%");var w=Ke("img",{style:b,src:o,alt:a,"data-href":l}),y=n.isDisabled();return $&&!y?boe(n,e,w,{width:h,height:C}):function(S,x,A,O){var T=O.width,z=O.height,V={};T&&(V.width=T),z&&(V.height=z);var ue=Q9(S,x);return Ke("div",{id:ue,style:V,className:"w-e-image-container"},A)}(n,e,w,{width:h,height:C})}},$oe={type:"image",elemToHtml:function(e,t){var n=e,r=n.src,o=n.alt,i=o===void 0?"":o,a=n.href,s=a===void 0?"":a,l=n.style,f=l===void 0?{}:l,d=f.width,p=d===void 0?"":d,h=f.height,m=h===void 0?"":h,C="";return p&&(C+="width: "+p+";"),m&&(C+="height: "+m+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+s+'" style="'+C+'"/>'}},Coe={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:ti(r,"width"),height:ti(r,"height")},children:[{text:""}]}}};function eB(e,t,n,r,o){return r===void 0&&(r=""),o===void 0&&(o=""),Xa(this,void 0,void 0,function(){var i,a;return Za(this,function(s){switch(s.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if(typeof(a=s.sent())=="string")return t.alert(a,"error"),[2,!1];if(a==null)return[2,!1];s.label=2;case 2:return[2,!0]}})})}function tB(e,t,n){return Xa(this,void 0,void 0,function(){var r;return Za(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function Nu(e,t,n,r){return n===void 0&&(n=""),r===void 0&&(r=""),Xa(this,void 0,void 0,function(){var o,i,a;return Za(this,function(s){switch(s.label){case 0:return[4,eB("insertImage",e,t,n,r)];case 1:return s.sent()?[4,tB("insertImage",e,t)]:[2];case 2:return o=s.sent(),i={type:"image",src:Z$(o),href:r,alt:n,style:{},children:[{text:""}]},e.selection===null&&e.restoreSelection(),R.getSelectedNodeByType(e,"image")&&e.move(1),Qm(e)?[2]:(ee.insertNodes(e,i),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(i),[2])}})})}function Eoe(e,t,n,r,o){return n===void 0&&(n=""),r===void 0&&(r=""),o===void 0&&(o={}),Xa(this,void 0,void 0,function(){var i,a,s,l,f,d;return Za(this,function(p){switch(p.label){case 0:return[4,eB("editImage",e,t,n,r)];case 1:return p.sent()?[4,tB("editImage",e,t)]:[2];case 2:return i=p.sent(),(a=R.getSelectedNodeByType(e,"image"))==null?[2]:(s=a.style,l={src:i,alt:n,href:r,style:Ja(Ja({},s===void 0?{}:s),o)},ee.setNodes(e,l,{match:function(h){return R.checkNodeType(h,"image")}}),f=R.getSelectedNodeByType(e,"image"),(d=e.getMenuConfig("editImage").onUpdatedImage)&&d(f),[2])}})})}function Qm(e){var t=e.selection;return t==null||!re.isCollapsed(t)||!!$t(_.nodes(e,{match:function(n){var r=R.getNodeType(n);return r==="code"||r==="pre"||r==="link"||r==="list-item"||!!r.startsWith("header")||r==="blockquote"||!!_.isVoid(e,n)},universal:!0}),1)[0]}function ev(){return Zm("w-e-insert-image")}var Soe=function(){function e(){this.title=$e("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=ev(),this.altInputId=ev(),this.hrefInputId=ev(),this.buttonId=ev()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return Qm(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,s=r.buttonId,l=$t(Pr($e("image.src"),o),2),f=l[0],d=l[1],p=U(d),h=$t(Pr($e("image.desc"),i),2),m=h[0],C=h[1],$=U(C),b=$t(Pr($e("image.link"),a),2),w=b[0],y=b[1],S=U(y),x=$t(_u(s,$e("common.ok")),1)[0];if(this.$content==null){var A=U("<div></div>");A.on("click","#"+s,function(T){T.preventDefault();var z=A.find("#"+o).val().trim(),V=A.find("#"+i).val().trim(),ue=A.find("#"+a).val().trim();n.insertImage(t,z,V,ue),t.hidePanelOrModal()}),this.$content=A}var O=this.$content;return O.empty(),O.append(f),O.append(m),O.append(w),O.append(x),p.val(""),$.val(""),S.val(""),setTimeout(function(){p.focus()}),O[0]},e.prototype.insertImage=function(t,n,r,o){r===void 0&&(r=""),o===void 0&&(o=""),n&&(t.restoreSelection(),this.isDisabled(t)||Nu(t,n,r,o))},e}(),Doe=function(){function e(){this.title=$e("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||R.getSelectedNodeByType(t,"image")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||ee.removeNodes(t,{match:function(r){return R.checkNodeType(r,"image")}})},e}();function tv(){return Zm("w-e-edit-image")}var xoe=function(){function e(){this.title=$e("image.edit"),this.iconSvg=O9,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=tv(),this.altInputId=tv(),this.hrefInputId=tv(),this.buttonId=tv()}return e.prototype.getValue=function(t){return""},e.prototype.getImageNode=function(t){return R.getSelectedNodeByType(t,"image")},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"image")==null},e.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,s=r.buttonId,l=this.getImageNode(t);if(l==null)throw new Error("Not found selected image node");var f=$t(Pr($e("image.src"),o),2),d=f[0],p=f[1],h=U(p),m=$t(Pr($e("image.desc"),i),2),C=m[0],$=m[1],b=U($),w=$t(Pr($e("image.link"),a),2),y=w[0],S=w[1],x=U(S),A=$t(_u(s,$e("common.ok")),1)[0];if(this.$content==null){var O=U("<div></div>");O.on("click","#"+s,function(_e){_e.preventDefault();var Ee=O.find("#"+o).val(),Be=O.find("#"+i).val(),Fe=O.find("#"+a).val();n.updateImage(t,Ee,Be,Fe),t.hidePanelOrModal()}),this.$content=O}var T=this.$content;T.empty(),T.append(d),T.append(C),T.append(y),T.append(A);var z=l,V=z.src,ue=z.alt,oe=ue===void 0?"":ue,de=z.href,me=de===void 0?"":de;return h.val(V),b.val(oe),x.val(me),setTimeout(function(){h.focus()}),T[0]},e.prototype.updateImage=function(t,n,r,o,i){r===void 0&&(r=""),o===void 0&&(o=""),i===void 0&&(i={}),n&&(t.restoreSelection(),this.isDisabled(t)||Eoe(t,n,r,o,i))},e}(),Aoe=function(){function e(){this.title=$e("image.viewLink"),this.iconSvg=B9,this.tag="button"}return e.prototype.getValue=function(t){var n=R.getSelectedNodeByType(t,"image");return n&&n.href||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!this.getValue(t)},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View image link failed, image.href is '"+n+"'");window.open(n,"_blank")}},e}(),o3=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getSelectedNode=function(t){return R.getSelectedNodeByType(t,"image")},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedNode(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(r!=null){var o=R.getHoverbar(t);o&&o.hideAndClean();var i=r.style,a={style:Ja(Ja({},i===void 0?{}:i),{width:this.value,height:""})};ee.setNodes(t,a,{match:function(s){return R.checkNodeType(s,"image")}})}}},e}(),koe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return Qt(t,e),t}(o3),_oe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return Qt(t,e),t}(o3),Ooe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return Qt(t,e),t}(o3),nB={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},Boe={renderElems:[woe],elemsToHtml:[$oe],parseElemsHtml:[Coe],menus:[{key:"insertImage",factory:function(){return new Soe},config:nB},{key:"deleteImage",factory:function(){return new Doe}},{key:"editImage",factory:function(){return new xoe},config:nB},{key:"viewImageLink",factory:function(){return new Aoe}},{key:"imageWidth30",factory:function(){return new koe}},{key:"imageWidth50",factory:function(){return new _oe}},{key:"imageWidth100",factory:function(){return new Ooe}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(o){return o.type==="image"||t(o)},r.isVoid=function(o){return o.type==="image"||n(o)},r}},Toe={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var o=e.checked,i=Ke("div",{style:{margin:"5px 0"}},Ke("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Ke("input",{type:"checkbox",checked:o,disabled:r,on:{change:function(a){var s=R.findPath(n,e),l={checked:a.target.checked};ee.setNodes(n,l,{at:s})}}})),Ke("span",null,t));return i}},Foe=function(){function e(){this.title=$e("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!R.getSelectedNodeByType(t,"todo")},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(_.isVoid(t,n)&&_.isBlock(t,n))return!0;var r=n.type;return!!["pre","table","list-item"].includes(r)||void 0})},e.prototype.exec=function(t,n){var r=this.isActive(t);ee.setNodes(t,{type:r?"paragraph":"todo"})},e}(),Poe={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=U(e);(t=t.filter(function(i){return!!xe.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return r.find('input[type="checkbox"]').attr("checked")!=null&&(o=!0),{type:"todo",checked:o,children:t}}},Ioe={renderElems:[Toe],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=U(e).find("li"),n=U('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[Poe],menus:[{key:"todo",factory:function(){return new Foe}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(r){var o=e.selection;if(o&&re.isCollapsed(o)){var i=R.getSelectedNodeByType(e,"todo");if(i&&we.string(i).length===0)return void ee.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(r)},n}},Noe={type:"blockquote",renderElem:function(e,t,n){return Ke("blockquote",null,t)}},Loe={type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}},Roe={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);return(t=t.filter(function(o){return!!xe.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},Moe=function(){function e(){this.title=$e("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!R.getSelectedNodeByType(t,"blockquote")},e.prototype.isDisabled=function(t){return t.selection==null||!$t(_.nodes(t,{match:function(n){var r=R.getNodeType(n);return r==="paragraph"||r==="blockquote"},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.isActive(t)?"paragraph":"blockquote";ee.setNodes(t,{type:r},{mode:"highest"})}},e}(),joe={key:"blockquote",factory:function(){return new Moe}},zoe=We([].slice),Voe=E$("slice"),Uoe=Xr("species"),i3=tt.Array,Hoe=Math.max;Vn({target:"Array",proto:!0,forced:!Voe},{slice:function(e,t){var n,r,o,i=Ac(this),a=Hm(i),s=gp(e,a),l=gp(t===void 0?a:t,a);if(qm(i)&&(n=i.constructor,(C$(n)&&(n===i3||qm(n.prototype))||xo(n)&&(n=n[Uoe])===null)&&(n=void 0),n===i3||n===void 0))return zoe(i,s,l);for(r=new(n===void 0?i3:n)(Hoe(l-s,0)),o=0;s<l;s++,o++)s in i&&b9(r,o,i[s]);return r.length=o,r}});var Woe={renderElems:[Noe],elemsToHtml:[Loe],parseElemsHtml:[Roe],menus:[joe],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var o=r.selection;if(o==null)return t();var i=$t(_.nodes(e,{match:function(d){return R.checkNodeType(d,"blockquote")},universal:!0}),1)[0];if(!i)return t();var a=i[0],s=R.findPath(e,a),l=_.end(e,s);if(nt.equals(l,o.focus)){var f=we.string(a);if(f&&f.slice(-1)===`
122
122
  `)return e.deleteBackward("character"),void ee.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n(`
123
- `)},r}},qoe=function(){function e(){this.title=$e("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!$t(_.nodes(t,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){if(this.$content==null){var n=U('<ul class="w-e-panel-content-emotion"></ul>');n.on("click","li",function(i){var a=i.target;if(a!=null){i.preventDefault();var s=U(a).text();t.insertText(s)}}),this.$content=n}var r=this.$content;if(r==null)return document.createElement("ul");r.empty();var o=t.getMenuConfig("emotion").emotions;return(o===void 0?[]:o).forEach(function(i){var a=U("<li>"+i+"</li>");r.append(a)}),r[0]},e}(),Goe={menus:[{key:"emotion",factory:function(){return new qoe},config:{emotions:"\u{1F600} \u{1F603} \u{1F604} \u{1F601} \u{1F606} \u{1F605} \u{1F602} \u{1F923} \u{1F60A} \u{1F607} \u{1F642} \u{1F643} \u{1F609} \u{1F60C} \u{1F60D} \u{1F618} \u{1F617} \u{1F619} \u{1F61A} \u{1F60B} \u{1F61B} \u{1F61D} \u{1F61C} \u{1F913} \u{1F60E} \u{1F60F} \u{1F612} \u{1F61E} \u{1F614} \u{1F61F} \u{1F615} \u{1F641} \u{1F623} \u{1F616} \u{1F62B} \u{1F629} \u{1F622} \u{1F62D} \u{1F624} \u{1F620} \u{1F621} \u{1F633} \u{1F631} \u{1F628} \u{1F917} \u{1F914} \u{1F636} \u{1F611} \u{1F62C} \u{1F644} \u{1F62F} \u{1F634} \u{1F637} \u{1F911} \u{1F608} \u{1F921} \u{1F4A9} \u{1F47B} \u{1F480} \u{1F440} \u{1F463} \u{1F450} \u{1F64C} \u{1F44F} \u{1F91D} \u{1F44D} \u{1F44E} \u{1F44A} \u270A \u{1F91B} \u{1F91C} \u{1F91E} \u270C\uFE0F \u{1F918} \u{1F44C} \u{1F448} \u{1F449} \u{1F446} \u{1F447} \u261D\uFE0F \u270B \u{1F91A} \u{1F590} \u{1F596} \u{1F44B} \u{1F919} \u{1F4AA} \u{1F595} \u270D\uFE0F \u{1F64F}".split(" ")}}]},Koe={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},Yoe={selector:"font",preParseHtml:function(e){var t=U(e);if(Nc(t)!=="font")return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",Koe[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},Joe=We("".indexOf);Vn({target:"String",proto:!0,forced:!P9("includes")},{includes:function(e){return!!~Joe(sn(Do(this)),sn(F9(e)),arguments.length>1?arguments[1]:void 0)}});var Qa,nv,rv=function(e){return e&&e.Math==Math&&e},it=rv(typeof globalThis=="object"&&globalThis)||rv(typeof window=="object"&&window)||rv(typeof self=="object"&&self)||rv(typeof Im=="object"&&Im)||function(){return this}()||Function("return this")(),a3=Function.prototype,rB=a3.apply,Xoe=a3.bind,oB=a3.call,iB=typeof Reflect=="object"&&Reflect.apply||(Xoe?oB.bind(rB):function(){return oB.apply(rB,arguments)}),aB=Function.prototype,s3=aB.bind,u3=aB.call,Zoe=s3&&s3.bind(u3),bn=s3?function(e){return e&&Zoe(u3,e)}:function(e){return e&&function(){return u3.apply(e,arguments)}},sr=function(e){return typeof e=="function"},Zr=function(e){try{return!!e()}catch{return!0}},Ir=!Zr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Op=Function.prototype.call,ni=Op.bind?Op.bind(Op):function(){return Op.apply(Op,arguments)},sB={}.propertyIsEnumerable,uB=Object.getOwnPropertyDescriptor,Qoe=uB&&!sB.call({1:2},1)?function(e){var t=uB(this,e);return!!t&&t.enumerable}:sB,l3={f:Qoe},Lu=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},eie=bn({}.toString),tie=bn("".slice),Ru=function(e){return tie(eie(e),8,-1)},c3=it.Object,nie=bn("".split),lB=Zr(function(){return!c3("z").propertyIsEnumerable(0)})?function(e){return Ru(e)=="String"?nie(e,""):c3(e)}:c3,rie=it.TypeError,f3=function(e){if(e==null)throw rie("Can't call method on "+e);return e},xi=function(e){return lB(f3(e))},ko=function(e){return typeof e=="object"?e!==null:sr(e)},_o={},cB=function(e){return sr(e)?e:void 0},Bp=function(e,t){return arguments.length<2?cB(_o[e])||cB(it[e]):_o[e]&&_o[e][t]||it[e]&&it[e][t]},fB=bn({}.isPrototypeOf),d3=Bp("navigator","userAgent")||"",dB=it.process,pB=it.Deno,hB=dB&&dB.versions||pB&&pB.version,gB=hB&&hB.v8;gB&&(nv=(Qa=gB.split("."))[0]>0&&Qa[0]<4?1:+(Qa[0]+Qa[1])),!nv&&d3&&(!(Qa=d3.match(/Edge\/(\d+)/))||Qa[1]>=74)&&(Qa=d3.match(/Chrome\/(\d+)/))&&(nv=+Qa[1]);var ov=nv,Ai=!!Object.getOwnPropertySymbols&&!Zr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ov&&ov<41}),p3=Ai&&!Symbol.sham&&typeof Symbol.iterator=="symbol",oie=it.Object,jc=p3?function(e){return typeof e=="symbol"}:function(e){var t=Bp("Symbol");return sr(t)&&fB(t.prototype,oie(e))},iie=it.String,aie=it.TypeError,mB=function(e){if(sr(e))return e;throw aie(function(t){try{return iie(t)}catch{return"Object"}}(e)+" is not a function")},sie=it.TypeError,uie=Object.defineProperty,es=it["__core-js_shared__"]||function(e,t){try{uie(it,e,{value:t,configurable:!0,writable:!0})}catch{it[e]=t}return t}("__core-js_shared__",{}),Mu=Nm(function(e){(e.exports=function(t,n){return es[t]||(es[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),lie=it.Object,Tp=function(e){return lie(f3(e))},cie=bn({}.hasOwnProperty),Ct=Object.hasOwn||function(e,t){return cie(Tp(e),t)},fie=0,die=Math.random(),pie=bn(1 .toString),iv=function(e){return"Symbol("+(e===void 0?"":e)+")_"+pie(++fie+die,36)},Fp=Mu("wks"),ju=it.Symbol,vB=ju&&ju.for,hie=p3?ju:ju&&ju.withoutSetter||iv,Qr=function(e){if(!Ct(Fp,e)||!Ai&&typeof Fp[e]!="string"){var t="Symbol."+e;Ai&&Ct(ju,e)?Fp[e]=ju[e]:Fp[e]=p3&&vB?vB(t):hie(t)}return Fp[e]},gie=it.TypeError,mie=Qr("toPrimitive"),vie=function(e,t){if(!ko(e)||jc(e))return e;var n,r,o=(n=e[mie])==null?void 0:mB(n);if(o){if(t===void 0&&(t="default"),r=ni(o,e,t),!ko(r)||jc(r))return r;throw gie("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(i,a){var s,l;if(a==="string"&&sr(s=i.toString)&&!ko(l=ni(s,i))||sr(s=i.valueOf)&&!ko(l=ni(s,i))||a!=="string"&&sr(s=i.toString)&&!ko(l=ni(s,i)))return l;throw sie("Can't convert object to primitive value")}(e,t)},zc=function(e){var t=vie(e,"string");return jc(t)?t:t+""},h3=it.document,yie=ko(h3)&&ko(h3.createElement),yB=function(e){return yie?h3.createElement(e):{}},bB=!Ir&&!Zr(function(){return Object.defineProperty(yB("div"),"a",{get:function(){return 7}}).a!=7}),wB=Object.getOwnPropertyDescriptor,g3={f:Ir?wB:function(e,t){if(e=xi(e),t=zc(t),bB)try{return wB(e,t)}catch{}if(Ct(e,t))return Lu(!ni(l3.f,e,t),e[t])}},bie=/#|\.prototype\./,Pp=function(e,t){var n=$ie[wie(e)];return n==Eie||n!=Cie&&(sr(t)?Zr(t):!!t)},wie=Pp.normalize=function(e){return String(e).replace(bie,".").toLowerCase()},$ie=Pp.data={},Cie=Pp.NATIVE="N",Eie=Pp.POLYFILL="P",Sie=Pp,$B=bn(bn.bind),CB=function(e,t){return mB(e),t===void 0?e:$B?$B(e,t):function(){return e.apply(t,arguments)}},Die=it.String,xie=it.TypeError,zu=function(e){if(ko(e))return e;throw xie(Die(e)+" is not an object")},Aie=it.TypeError,EB=Object.defineProperty,Vu={f:Ir?EB:function(e,t,n){if(zu(e),t=zc(t),zu(n),bB)try{return EB(e,t,n)}catch{}if("get"in n||"set"in n)throw Aie("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ki=Ir?function(e,t,n){return Vu.f(e,t,Lu(1,n))}:function(e,t,n){return e[t]=n,e},kie=g3.f,_ie=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return iB(e,this,arguments)};return t.prototype=e.prototype,t},ts=function(e,t){var n,r,o,i,a,s,l,f,d=e.target,p=e.global,h=e.stat,m=e.proto,C=p?it:h?it[d]:(it[d]||{}).prototype,$=p?_o:_o[d]||ki(_o,d,{})[d],b=$.prototype;for(o in t)n=!Sie(p?o:d+(h?".":"#")+o,e.forced)&&C&&Ct(C,o),a=$[o],n&&(s=e.noTargetGet?(f=kie(C,o))&&f.value:C[o]),i=n&&s?s:t[o],n&&typeof a==typeof i||(l=e.bind&&n?CB(i,it):e.wrap&&n?_ie(i):m&&sr(i)?bn(i):i,(e.sham||i&&i.sham||a&&a.sham)&&ki(l,"sham",!0),ki($,o,l),m&&(Ct(_o,r=d+"Prototype")||ki(_o,r,{}),ki(_o[r],o,i),e.real&&b&&!b[o]&&ki(b,o,i)))},av=Array.isArray||function(e){return Ru(e)=="Array"},Oie=Math.ceil,Bie=Math.floor,m3=function(e){var t=+e;return t!=t||t===0?0:(t>0?Bie:Oie)(t)},Tie=Math.min,sv=function(e){return(t=e.length)>0?Tie(m3(t),9007199254740991):0;var t},v3=function(e,t,n){var r=zc(t);r in e?Vu.f(e,r,Lu(0,n)):e[r]=n},SB={};SB[Qr("toStringTag")]="z";var y3=String(SB)==="[object z]",Fie=Qr("toStringTag"),Pie=it.Object,Iie=Ru(function(){return arguments}())=="Arguments",uv=y3?Ru:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Pie(e),Fie))=="string"?n:Iie?Ru(t):(r=Ru(t))=="Object"&&sr(t.callee)?"Arguments":r},Nie=bn(Function.toString);sr(es.inspectSource)||(es.inspectSource=function(e){return Nie(e)});var DB=es.inspectSource,xB=function(){},Lie=[],AB=Bp("Reflect","construct"),b3=/^\s*(?:class|function)\b/,Rie=bn(b3.exec),Mie=!b3.exec(xB),Ip=function(e){if(!sr(e))return!1;try{return AB(xB,Lie,e),!0}catch{return!1}},jie=!AB||Zr(function(){var e;return Ip(Ip.call)||!Ip(Object)||!Ip(function(){e=!0})||e})?function(e){if(!sr(e))return!1;switch(uv(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Mie||!!Rie(b3,DB(e))}:Ip,zie=Qr("species"),kB=it.Array,_B=function(e,t){return new(function(n){var r;return av(n)&&(r=n.constructor,(jie(r)&&(r===kB||av(r.prototype))||ko(r)&&(r=r[zie])===null)&&(r=void 0)),r===void 0?kB:r}(e))(t===0?0:t)},Vie=Qr("species"),OB=Qr("isConcatSpreadable"),BB=it.TypeError,Uie=ov>=51||!Zr(function(){var e=[];return e[OB]=!1,e.concat()[0]!==e}),Hie=function(e){return ov>=51||!Zr(function(){var t=[];return(t.constructor={})[Vie]=function(){return{foo:1}},t[e](Boolean).foo!==1})}("concat"),Wie=function(e){if(!ko(e))return!1;var t=e[OB];return t!==void 0?!!t:av(e)};ts({target:"Array",proto:!0,forced:!Uie||!Hie},{concat:function(e){var t,n,r,o,i,a=Tp(this),s=_B(a,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(Wie(i=t===-1?a:arguments[t])){if(l+(o=sv(i))>9007199254740991)throw BB("Maximum allowed index exceeded");for(n=0;n<o;n++,l++)n in i&&v3(s,l,i[n])}else{if(l>=9007199254740991)throw BB("Maximum allowed index exceeded");v3(s,l++,i)}return s.length=l,s}});var lv,qie=it.String,cv=function(e){if(uv(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return qie(e)},Gie=Math.max,Kie=Math.min,w3=function(e,t){var n=m3(e);return n<0?Gie(n+t,0):Kie(n,t)},TB=function(e){return function(t,n,r){var o,i=xi(t),a=sv(i),s=w3(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Yie={includes:TB(!0),indexOf:TB(!1)},Np={},Jie=Yie.indexOf,FB=bn([].push),PB=function(e,t){var n,r=xi(e),o=0,i=[];for(n in r)!Ct(Np,n)&&Ct(r,n)&&FB(i,n);for(;t.length>o;)Ct(r,n=t[o++])&&(~Jie(i,n)||FB(i,n));return i},fv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$3=Object.keys||function(e){return PB(e,fv)},Xie=Ir?Object.defineProperties:function(e,t){zu(e);for(var n,r=xi(t),o=$3(t),i=o.length,a=0;i>a;)Vu.f(e,n=o[a++],r[n]);return e},Zie=Bp("document","documentElement"),IB=Mu("keys"),dv=function(e){return IB[e]||(IB[e]=iv(e))},NB=dv("IE_PROTO"),C3=function(){},LB=function(e){return"<script>"+e+"<\/script>"},RB=function(e){e.write(LB("")),e.close();var t=e.parentWindow.Object;return e=null,t},pv=function(){try{lv=new ActiveXObject("htmlfile")}catch{}var e,t;pv=typeof document<"u"?document.domain&&lv?RB(lv):((t=yB("iframe")).style.display="none",Zie.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(LB("document.F=Object")),e.close(),e.F):RB(lv);for(var n=fv.length;n--;)delete pv.prototype[fv[n]];return pv()};Np[NB]=!0;var hv,Lp,gv,Uu=Object.create||function(e,t){var n;return e!==null?(C3.prototype=zu(e),n=new C3,C3.prototype=null,n[NB]=e):n=pv(),t===void 0?n:Xie(n,t)},Qie=fv.concat("length","prototype"),MB={f:Object.getOwnPropertyNames||function(e){return PB(e,Qie)}},eae=it.Array,tae=Math.max,jB=MB.f,zB=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],nae=function(e){try{return jB(e)}catch{return function(n,r,o){for(var i=sv(n),a=w3(r,i),s=w3(o===void 0?i:o,i),l=eae(tae(s-a,0)),f=0;a<s;a++,f++)v3(l,f,n[a]);return l.length=f,l}(zB)}},VB={f:function(e){return zB&&Ru(e)=="Window"?nae(e):jB(xi(e))}},E3={f:Object.getOwnPropertySymbols},rae=bn([].slice),Vc=function(e,t,n,r){r&&r.enumerable?e[t]=n:ki(e,t,n)},S3={f:Qr},oae=Vu.f,En=function(e){var t=_o.Symbol||(_o.Symbol={});Ct(t,e)||oae(t,e,{value:S3.f(e)})},iae=y3?{}.toString:function(){return"[object "+uv(this)+"]"},aae=Vu.f,UB=Qr("toStringTag"),mv=function(e,t,n,r){if(e){var o=n?e:e.prototype;Ct(o,UB)||aae(o,UB,{configurable:!0,value:t}),r&&!y3&&ki(o,"toString",iae)}},HB=it.WeakMap,sae=sr(HB)&&/native code/.test(DB(HB)),D3=it.TypeError,uae=it.WeakMap;if(sae||es.state){var Hu=es.state||(es.state=new uae),lae=bn(Hu.get),WB=bn(Hu.has),cae=bn(Hu.set);hv=function(e,t){if(WB(Hu,e))throw new D3("Object already initialized");return t.facade=e,cae(Hu,e,t),t},Lp=function(e){return lae(Hu,e)||{}},gv=function(e){return WB(Hu,e)}}else{var Uc=dv("state");Np[Uc]=!0,hv=function(e,t){if(Ct(e,Uc))throw new D3("Object already initialized");return t.facade=e,ki(e,Uc,t),t},Lp=function(e){return Ct(e,Uc)?e[Uc]:{}},gv=function(e){return Ct(e,Uc)}}var Hc={set:hv,get:Lp,has:gv,enforce:function(e){return gv(e)?Lp(e):hv(e,{})},getterFor:function(e){return function(t){var n;if(!ko(t)||(n=Lp(t)).type!==e)throw D3("Incompatible receiver, "+e+" required");return n}}},qB=bn([].push),ns=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=Tp(l),$=lB(C),b=CB(f,d),w=sv($),y=0,S=p||_B,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:qB(x,h)}else switch(e){case 4:return!1;case 7:qB(x,h)}return i?-1:r||o?o:x}},vv={forEach:ns(0),map:ns(1),filter:ns(2),some:ns(3),every:ns(4),find:ns(5),findIndex:ns(6),filterReject:ns(7)}.forEach,Nr=dv("hidden"),GB=Qr("toPrimitive"),fae=Hc.set,KB=Hc.getterFor("Symbol"),ri=Object.prototype,rs=it.Symbol,os=rs&&rs.prototype,YB=it.TypeError,x3=it.QObject,Rp=Bp("JSON","stringify"),JB=g3.f,is=Vu.f,XB=VB.f,dae=l3.f,ZB=bn([].push),ia=Mu("symbols"),Mp=Mu("op-symbols"),A3=Mu("string-to-symbol-registry"),k3=Mu("symbol-to-string-registry"),pae=Mu("wks"),_3=!x3||!x3.prototype||!x3.prototype.findChild,O3=Ir&&Zr(function(){return Uu(is({},"a",{get:function(){return is(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=JB(ri,t);r&&delete ri[t],is(e,t,n),r&&e!==ri&&is(ri,t,r)}:is,B3=function(e,t){var n=ia[e]=Uu(os);return fae(n,{type:"Symbol",tag:e,description:t}),Ir||(n.description=t),n},yv=function(e,t,n){e===ri&&yv(Mp,t,n),zu(e);var r=zc(t);return zu(n),Ct(ia,r)?(n.enumerable?(Ct(e,Nr)&&e[Nr][r]&&(e[Nr][r]=!1),n=Uu(n,{enumerable:Lu(0,!1)})):(Ct(e,Nr)||is(e,Nr,Lu(1,{})),e[Nr][r]=!0),O3(e,r,n)):is(e,r,n)},QB=function(e,t){zu(e);var n=xi(t),r=$3(n).concat(T3(n));return vv(r,function(o){Ir&&!ni(eT,n,o)||yv(e,o,n[o])}),e},eT=function(e){var t=zc(e),n=ni(dae,this,t);return!(this===ri&&Ct(ia,t)&&!Ct(Mp,t))&&(!(n||!Ct(this,t)||!Ct(ia,t)||Ct(this,Nr)&&this[Nr][t])||n)},tT=function(e,t){var n=xi(e),r=zc(t);if(n!==ri||!Ct(ia,r)||Ct(Mp,r)){var o=JB(n,r);return!o||!Ct(ia,r)||Ct(n,Nr)&&n[Nr][r]||(o.enumerable=!0),o}},nT=function(e){var t=XB(xi(e)),n=[];return vv(t,function(r){Ct(ia,r)||Ct(Np,r)||ZB(n,r)}),n},T3=function(e){var t=e===ri,n=XB(t?Mp:xi(e)),r=[];return vv(n,function(o){!Ct(ia,o)||t&&!Ct(ri,o)||ZB(r,ia[o])}),r};if(Ai||(os=(rs=function(){if(fB(os,this))throw YB("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?cv(arguments[0]):void 0,t=iv(e),n=function(r){this===ri&&ni(n,Mp,r),Ct(this,Nr)&&Ct(this[Nr],t)&&(this[Nr][t]=!1),O3(this,t,Lu(1,r))};return Ir&&_3&&O3(ri,t,{configurable:!0,set:n}),B3(t,e)}).prototype,Vc(os,"toString",function(){return KB(this).tag}),Vc(rs,"withoutSetter",function(e){return B3(iv(e),e)}),l3.f=eT,Vu.f=yv,g3.f=tT,MB.f=VB.f=nT,E3.f=T3,S3.f=function(e){return B3(Qr(e),e)},Ir&&is(os,"description",{configurable:!0,get:function(){return KB(this).description}})),ts({global:!0,wrap:!0,forced:!Ai,sham:!Ai},{Symbol:rs}),vv($3(pae),function(e){En(e)}),ts({target:"Symbol",stat:!0,forced:!Ai},{for:function(e){var t=cv(e);if(Ct(A3,t))return A3[t];var n=rs(t);return A3[t]=n,k3[n]=t,n},keyFor:function(e){if(!jc(e))throw YB(e+" is not a symbol");if(Ct(k3,e))return k3[e]},useSetter:function(){_3=!0},useSimple:function(){_3=!1}}),ts({target:"Object",stat:!0,forced:!Ai,sham:!Ir},{create:function(e,t){return t===void 0?Uu(e):QB(Uu(e),t)},defineProperty:yv,defineProperties:QB,getOwnPropertyDescriptor:tT}),ts({target:"Object",stat:!0,forced:!Ai},{getOwnPropertyNames:nT,getOwnPropertySymbols:T3}),ts({target:"Object",stat:!0,forced:Zr(function(){E3.f(1)})},{getOwnPropertySymbols:function(e){return E3.f(Tp(e))}}),Rp){var hae=!Ai||Zr(function(){var e=rs();return Rp([e])!="[null]"||Rp({a:e})!="{}"||Rp(Object(e))!="{}"});ts({target:"JSON",stat:!0,forced:hae},{stringify:function(e,t,n){var r=rae(arguments),o=t;if((ko(t)||e!==void 0)&&!jc(e))return av(t)||(t=function(i,a){if(sr(o)&&(a=ni(o,this,i,a)),!jc(a))return a}),r[1]=t,iB(Rp,null,r)}})}if(!os[GB]){var gae=os.valueOf;Vc(os,GB,function(e){return ni(gae,this)})}mv(rs,"Symbol"),Np[Nr]=!0,En("asyncIterator"),En("hasInstance"),En("isConcatSpreadable"),En("iterator"),En("match"),En("matchAll"),En("replace"),En("search"),En("species"),En("split"),En("toPrimitive"),En("toStringTag"),En("unscopables"),mv(it.JSON,"JSON",!0);var as,rT,oT,mae=_o.Symbol,Wu={},iT=Function.prototype,vae=Ir&&Object.getOwnPropertyDescriptor,F3=Ct(iT,"name"),yae={EXISTS:F3,PROPER:F3&&function(){}.name==="something",CONFIGURABLE:F3&&(!Ir||Ir&&vae(iT,"name").configurable)},bae=!Zr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),aT=dv("IE_PROTO"),P3=it.Object,wae=P3.prototype,I3=bae?P3.getPrototypeOf:function(e){var t=Tp(e);if(Ct(t,aT))return t[aT];var n=t.constructor;return sr(n)&&t instanceof n?n.prototype:t instanceof P3?wae:null},N3=Qr("iterator"),sT=!1;[].keys&&("next"in(oT=[].keys())?(rT=I3(I3(oT)))!==Object.prototype&&(as=rT):sT=!0);var $ae=as==null||Zr(function(){var e={};return as[N3].call(e)!==e});as=$ae?{}:Uu(as),sr(as[N3])||Vc(as,N3,function(){return this});var uT={IteratorPrototype:as,BUGGY_SAFARI_ITERATORS:sT},Cae=uT.IteratorPrototype,Eae=function(){return this};it.String,it.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e,t=!1,n={};try{(e=bn(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}}();var Sae=yae.PROPER,bv=uT.BUGGY_SAFARI_ITERATORS,L3=Qr("iterator"),Dae=function(){return this},lT=function(e,t,n,r,o,i,a){(function(w,y,S,x){var A=y+" Iterator";w.prototype=Uu(Cae,{next:Lu(+!x,S)}),mv(w,A,!1,!0),Wu[A]=Eae})(n,t,r);var s,l,f,d=function(w){if(w===o&&$)return $;if(!bv&&w in m)return m[w];switch(w){case"keys":case"values":case"entries":return function(){return new n(this,w)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,m=e.prototype,C=m[L3]||m["@@iterator"]||o&&m[o],$=!bv&&C||d(o),b=t=="Array"&&m.entries||C;if(b&&(s=I3(b.call(new e)))!==Object.prototype&&s.next&&(mv(s,p,!0,!0),Wu[p]=Dae),Sae&&o=="values"&&C&&C.name!=="values"&&(h=!0,$=function(){return ni(C,this)}),o)if(l={values:d("values"),keys:i?$:d("keys"),entries:d("entries")},a)for(f in l)(bv||h||!(f in m))&&Vc(m,f,l[f]);else ts({target:t,proto:!0,forced:bv||h},l);return a&&m[L3]!==$&&Vc(m,L3,$,{name:o}),Wu[t]=$,l},xae=Hc.set,Aae=Hc.getterFor("Array Iterator");lT(Array,"Array",function(e,t){xae(this,{type:"Array Iterator",target:xi(e),index:0,kind:t})},function(){var e=Aae(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Wu.Arguments=Wu.Array;var cT=Qr("toStringTag");for(var R3 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 fT=it[R3],M3=fT&&fT.prototype;M3&&uv(M3)!==cT&&ki(M3,cT,R3),Wu[R3]=Wu.Array}var kae=mae;En("asyncDispose"),En("dispose"),En("matcher"),En("metadata"),En("observable"),En("patternMatch"),En("replaceAll");var wv=kae,_ae=bn("".charAt),dT=bn("".charCodeAt),Oae=bn("".slice),pT=function(e){return function(t,n){var r,o,i=cv(f3(t)),a=m3(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=dT(i,a))<55296||r>56319||a+1===s||(o=dT(i,a+1))<56320||o>57343?e?_ae(i,a):r:e?Oae(i,a,a+2):o-56320+(r-55296<<10)+65536}},Bae={codeAt:pT(!1),charAt:pT(!0)}.charAt,Tae=Hc.set,Fae=Hc.getterFor("String Iterator");lT(String,"String",function(e){Tae(this,{type:"String Iterator",string:cv(e),index:0})},function(){var e,t=Fae(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Bae(n,r),t.index+=e.length,{value:e,done:!1})});var Pae=S3.f("iterator"),Iae=Nm(function(e){function t(n){return typeof wv=="function"&&typeof Pae=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof wv=="function"&&r.constructor===wv&&r!==wv.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),hT=Xee(Iae),Nae=Um.EXISTS,Lae=kc.f,gT=Function.prototype,Rae=We(gT.toString),mT=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Mae=We(mT.exec);ei&&!Nae&&Lae(gT,"name",{configurable:!0,get:function(){try{return Mae(mT,Rae(this))[1]}catch{return""}}});var vT=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.mark,r=_.marks(t);return r&&r[n]?r[n]:""},e.prototype.isDisabled=function(t){return t.selection==null||(this.mark,!!$t(_.nodes(t,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(t,n)},universal:!0}),1)[0])},e.prototype.exec=function(t,n){var r=this.mark;n?t.addMark(r,n):t.removeMark(r)},e}(),jae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("fontSize.title"),n.iconSvg=are,n.mark="fontSize",n}return Qt(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,i=o===void 0?[]:o;r.push({text:$e("fontSize.default"),value:""}),i.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s});else if(hT(s)==="object"){var l=s.name,f=s.value;r.push({text:l,value:f})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(vT),zae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("fontFamily.title"),n.iconSvg=sre,n.mark="fontFamily",n.selectPanelWidth=150,n}return Qt(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,i=o===void 0?[]:o;r.push({text:$e("fontFamily.default"),value:""}),i.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s,styleForRenderMenuList:{"font-family":s}});else if(hT(s)==="object"){var l=s.name,f=s.value;r.push({text:l,value:f,styleForRenderMenuList:{"font-family":f}})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(vT),Vae={renderStyle:function(e,t){var n=e,r=n.fontSize,o=n.fontFamily,i=t;return r&&Iu(i,{fontSize:r}),o&&Iu(i,{fontFamily:o}),i},styleToHtml:function(e,t){if(!xe.isText(e))return t;var n,r=e,o=r.fontSize,i=r.fontFamily;return o||i?((H$(t)||Nc(n=U(t))!=="span")&&(n=U("<span>"+t+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),Ic(n)):t},preParseHtml:[Yoe],parseStyleHtml:function(e,t,n){var r=U(e);if(!xe.isText(t))return t;var o=t,i=n.getMenuConfig("fontSize").fontSizeList,a=i===void 0?[]:i,s=ti(r,"font-size"),l=a.find(function(m){return m.value&&m.value===s})||a.includes(s);s&&l&&(o.fontSize=s);var f=n.getMenuConfig("fontFamily").fontFamilyList,d=f===void 0?[]:f,p=ti(r,"font-family"),h=d.find(function(m){return m.value&&m.value===p})||d.includes(p);return p&&h&&(o.fontFamily=p),o},menus:[{key:"fontSize",factory:function(){return new jae},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new zae},config:{fontFamilyList:["\u9ED1\u4F53",{name:"\u4EFF\u5B8B",value:"\u4EFF\u5B8B"},"\u6977\u4F53","\u6807\u6977\u4F53","\u534E\u6587\u4EFF\u5B8B","\u534E\u6587\u6977\u4F53",{name:"\u5B8B\u4F53",value:"\u5B8B\u4F53"},"\u5FAE\u8F6F\u96C5\u9ED1","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},Uae={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=U(e),n=ti(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}},yT=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){var n=$t(_.nodes(t,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":$t(r,1)[0].indent||""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=$t(_.nodes(t,{match:function(r){var o=R.getNodeType(r);return o==="paragraph"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e}(),Hae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("indent.decrease"),n.iconSvg=ure,n}return Qt(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},t.prototype.exec=function(n,r){ee.setNodes(n,{indent:null},{match:function(o){return Pe.isElement(o)}})},t}(yT),Wae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("indent.increase"),n.iconSvg=lre,n}return Qt(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},t.prototype.exec=function(n,r){ee.setNodes(n,{indent:"2em"},{match:function(o){return Pe.isElement(o)},mode:"highest"})},t}(yT),qae={renderStyle:function(e,t){if(!Pe.isElement(e))return t;var n=e.indent,r=t;return n&&Iu(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!Pe.isElement(e))return t;var n=e.indent;if(!n)return t;var r=U(t);return r.css("text-indent",n),Ic(r)},preParseHtml:[Uae],parseStyleHtml:function(e,t,n){var r=U(e);if(!Pe.isElement(t))return t;var o=t,i=ti(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Wae}},{key:"delIndent",factory:function(){return new Hae}}]},$v=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=$t(_.nodes(t,{match:function(r){var o=R.getNodeType(r);return o==="paragraph"||o==="blockquote"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(_.isVoid(t,n)&&_.isBlock(t,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},e}(),Gae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.left"),n.iconSvg=cre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"left"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Kae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.right"),n.iconSvg=fre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"right"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Yae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.center"),n.iconSvg=dre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"center"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Jae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.justify"),n.iconSvg=pre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"justify"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Xae={renderStyle:function(e,t){if(!Pe.isElement(e))return t;var n=e.textAlign,r=t;return n&&Iu(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!Pe.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=U(t);return r.css("text-align",n),Ic(r)},parseStyleHtml:function(e,t,n){var r=U(e);if(!Pe.isElement(t))return t;var o=t,i=ti(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new Gae}},{key:"justifyRight",factory:function(){return new Kae}},{key:"justifyCenter",factory:function(){return new Yae}},{key:"justifyJustify",factory:function(){return new Jae}}]},Zae=function(){function e(){this.title=$e("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("lineHeight").lineHeightList,o=r===void 0?[]:r;n.push({text:$e("lineHeight.default"),value:""}),o.forEach(function(a){n.push({text:a,value:a})});var i=this.getValue(t);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},e.prototype.getMatchNode=function(t){var n=$t(_.nodes(t,{match:function(r){var o=R.getNodeType(r);return!!o.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(o)},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getMatchNode(t);return n==null?"":Pe.isElement(n)&&n.lineHeight||""},e.prototype.isDisabled=function(t){return t.selection==null||this.getMatchNode(t)==null},e.prototype.exec=function(t,n){ee.setNodes(t,{lineHeight:n.toString()},{mode:"highest"})},e}(),Qae={renderStyle:function(e,t){if(!Pe.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Iu(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!Pe.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=U(t);return r.css("line-height",n),Ic(r)},parseStyleHtml:function(e,t,n){var r=U(e);if(!Pe.isElement(t))return t;var o=t,i=n.getMenuConfig("lineHeight").lineHeightList,a=i===void 0?[]:i,s=ti(r,"line-height");return s&&a.includes(s)&&(o.lineHeight=s),o},menus:[{key:"lineHeight",factory:function(){return new Zae},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},ese=function(){function e(){this.title=$e("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.redo=="function"&&t.redo()},e}(),tse=function(){function e(){this.title=$e("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.undo=="function"&&t.undo()},e}(),nse={menus:[{key:"redo",factory:function(){return new ese}},{key:"undo",factory:function(){return new tse}}]},rse={type:"divider",renderElem:function(e,t,n){var r=R.isNodeSelected(n,e);return Xl("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:r?"true":""},style:{},on:{mousedown:function(o){return o.preventDefault()}}},[Xl("hr")])}},ose={type:"divider",elemToHtml:function(e,t){return"<hr/>"}},ise={selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}},ase=function(){function e(){this.title=$e("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(t.isVoid(n))return!0;var r=R.getNodeType(n);return r==="table"||r==="pre"||void 0})},e.prototype.exec=function(t,n){ee.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),sse={renderElems:[rse],elemsToHtml:[ose],parseElemsHtml:[ise],menus:[{key:"divider",factory:function(){return new ase}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(o){return o.type==="divider"||t(o)},r.normalizeNode=function(o){var i=$t(o,2),a=i[0],s=i[1];if(R.getNodeType(a)!=="divider")return n([a,s]);R.isLastNode(r,a)&&ee.insertNodes(r,R.genEmptyParagraph(),{at:[s[0]+1]})},r}},use=Gm.map;Vn({target:"Array",proto:!0,forced:!E$("map")},{map:function(e){return use(this,e,arguments.length>1?arguments[1]:void 0)}});var lse=We([].join),cse=Mm!=Object,fse=A9("join",",");Vn({target:"Array",proto:!0,forced:cse||!fse},{join:function(e){return lse(Ac(this),e===void 0?",":e)}});var dse=function(){function e(){this.title=$e("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(t){var n=R.getSelectedNodeByType(t,"code");if(n==null)return null;var r=R.getParentNode(t,n);return r==null||R.getNodeType(r)!=="pre"?null:n},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);return n==null?"":n.language||""},e.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},e.prototype.isDisabled=function(t){if(t.selection==null)return!0;var n=R.getSelectedElems(t);return!!n.some(function(r){return t.isVoid(r)})||!n.some(function(r){var o=R.getNodeType(r);if(o==="pre"||o==="paragraph")return!0})},e.prototype.exec=function(t,n){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,n.toString())},e.prototype.changeToPlainText=function(t){var n=this.getSelectCodeElem(t);if(n!=null){var r=we.string(n);ee.removeNodes(t,{mode:"highest"});var o=r.split(`
123
+ `)},r}},qoe=function(){function e(){this.title=$e("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!$t(_.nodes(t,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){if(this.$content==null){var n=U('<ul class="w-e-panel-content-emotion"></ul>');n.on("click","li",function(i){var a=i.target;if(a!=null){i.preventDefault();var s=U(a).text();t.insertText(s)}}),this.$content=n}var r=this.$content;if(r==null)return document.createElement("ul");r.empty();var o=t.getMenuConfig("emotion").emotions;return(o===void 0?[]:o).forEach(function(i){var a=U("<li>"+i+"</li>");r.append(a)}),r[0]},e}(),Goe={menus:[{key:"emotion",factory:function(){return new qoe},config:{emotions:"\u{1F600} \u{1F603} \u{1F604} \u{1F601} \u{1F606} \u{1F605} \u{1F602} \u{1F923} \u{1F60A} \u{1F607} \u{1F642} \u{1F643} \u{1F609} \u{1F60C} \u{1F60D} \u{1F618} \u{1F617} \u{1F619} \u{1F61A} \u{1F60B} \u{1F61B} \u{1F61D} \u{1F61C} \u{1F913} \u{1F60E} \u{1F60F} \u{1F612} \u{1F61E} \u{1F614} \u{1F61F} \u{1F615} \u{1F641} \u{1F623} \u{1F616} \u{1F62B} \u{1F629} \u{1F622} \u{1F62D} \u{1F624} \u{1F620} \u{1F621} \u{1F633} \u{1F631} \u{1F628} \u{1F917} \u{1F914} \u{1F636} \u{1F611} \u{1F62C} \u{1F644} \u{1F62F} \u{1F634} \u{1F637} \u{1F911} \u{1F608} \u{1F921} \u{1F4A9} \u{1F47B} \u{1F480} \u{1F440} \u{1F463} \u{1F450} \u{1F64C} \u{1F44F} \u{1F91D} \u{1F44D} \u{1F44E} \u{1F44A} \u270A \u{1F91B} \u{1F91C} \u{1F91E} \u270C\uFE0F \u{1F918} \u{1F44C} \u{1F448} \u{1F449} \u{1F446} \u{1F447} \u261D\uFE0F \u270B \u{1F91A} \u{1F590} \u{1F596} \u{1F44B} \u{1F919} \u{1F4AA} \u{1F595} \u270D\uFE0F \u{1F64F}".split(" ")}}]},Koe={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},Yoe={selector:"font",preParseHtml:function(e){var t=U(e);if(Nc(t)!=="font")return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",Koe[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},Joe=We("".indexOf);Vn({target:"String",proto:!0,forced:!P9("includes")},{includes:function(e){return!!~Joe(sn(Do(this)),sn(F9(e)),arguments.length>1?arguments[1]:void 0)}});var Qa,nv,rv=function(e){return e&&e.Math==Math&&e},it=rv(typeof globalThis=="object"&&globalThis)||rv(typeof window=="object"&&window)||rv(typeof self=="object"&&self)||rv(typeof Im=="object"&&Im)||function(){return this}()||Function("return this")(),a3=Function.prototype,rB=a3.apply,Xoe=a3.bind,oB=a3.call,iB=typeof Reflect=="object"&&Reflect.apply||(Xoe?oB.bind(rB):function(){return oB.apply(rB,arguments)}),aB=Function.prototype,s3=aB.bind,u3=aB.call,Zoe=s3&&s3.bind(u3),bn=s3?function(e){return e&&Zoe(u3,e)}:function(e){return e&&function(){return u3.apply(e,arguments)}},sr=function(e){return typeof e=="function"},Qr=function(e){try{return!!e()}catch{return!0}},Ir=!Qr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Op=Function.prototype.call,ni=Op.bind?Op.bind(Op):function(){return Op.apply(Op,arguments)},sB={}.propertyIsEnumerable,uB=Object.getOwnPropertyDescriptor,Qoe=uB&&!sB.call({1:2},1)?function(e){var t=uB(this,e);return!!t&&t.enumerable}:sB,l3={f:Qoe},Lu=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},eie=bn({}.toString),tie=bn("".slice),Ru=function(e){return tie(eie(e),8,-1)},c3=it.Object,nie=bn("".split),lB=Qr(function(){return!c3("z").propertyIsEnumerable(0)})?function(e){return Ru(e)=="String"?nie(e,""):c3(e)}:c3,rie=it.TypeError,f3=function(e){if(e==null)throw rie("Can't call method on "+e);return e},xi=function(e){return lB(f3(e))},ko=function(e){return typeof e=="object"?e!==null:sr(e)},_o={},cB=function(e){return sr(e)?e:void 0},Bp=function(e,t){return arguments.length<2?cB(_o[e])||cB(it[e]):_o[e]&&_o[e][t]||it[e]&&it[e][t]},fB=bn({}.isPrototypeOf),d3=Bp("navigator","userAgent")||"",dB=it.process,pB=it.Deno,hB=dB&&dB.versions||pB&&pB.version,gB=hB&&hB.v8;gB&&(nv=(Qa=gB.split("."))[0]>0&&Qa[0]<4?1:+(Qa[0]+Qa[1])),!nv&&d3&&(!(Qa=d3.match(/Edge\/(\d+)/))||Qa[1]>=74)&&(Qa=d3.match(/Chrome\/(\d+)/))&&(nv=+Qa[1]);var ov=nv,Ai=!!Object.getOwnPropertySymbols&&!Qr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ov&&ov<41}),p3=Ai&&!Symbol.sham&&typeof Symbol.iterator=="symbol",oie=it.Object,jc=p3?function(e){return typeof e=="symbol"}:function(e){var t=Bp("Symbol");return sr(t)&&fB(t.prototype,oie(e))},iie=it.String,aie=it.TypeError,mB=function(e){if(sr(e))return e;throw aie(function(t){try{return iie(t)}catch{return"Object"}}(e)+" is not a function")},sie=it.TypeError,uie=Object.defineProperty,es=it["__core-js_shared__"]||function(e,t){try{uie(it,e,{value:t,configurable:!0,writable:!0})}catch{it[e]=t}return t}("__core-js_shared__",{}),Mu=Nm(function(e){(e.exports=function(t,n){return es[t]||(es[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),lie=it.Object,Tp=function(e){return lie(f3(e))},cie=bn({}.hasOwnProperty),Ct=Object.hasOwn||function(e,t){return cie(Tp(e),t)},fie=0,die=Math.random(),pie=bn(1 .toString),iv=function(e){return"Symbol("+(e===void 0?"":e)+")_"+pie(++fie+die,36)},Fp=Mu("wks"),ju=it.Symbol,vB=ju&&ju.for,hie=p3?ju:ju&&ju.withoutSetter||iv,eo=function(e){if(!Ct(Fp,e)||!Ai&&typeof Fp[e]!="string"){var t="Symbol."+e;Ai&&Ct(ju,e)?Fp[e]=ju[e]:Fp[e]=p3&&vB?vB(t):hie(t)}return Fp[e]},gie=it.TypeError,mie=eo("toPrimitive"),vie=function(e,t){if(!ko(e)||jc(e))return e;var n,r,o=(n=e[mie])==null?void 0:mB(n);if(o){if(t===void 0&&(t="default"),r=ni(o,e,t),!ko(r)||jc(r))return r;throw gie("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(i,a){var s,l;if(a==="string"&&sr(s=i.toString)&&!ko(l=ni(s,i))||sr(s=i.valueOf)&&!ko(l=ni(s,i))||a!=="string"&&sr(s=i.toString)&&!ko(l=ni(s,i)))return l;throw sie("Can't convert object to primitive value")}(e,t)},zc=function(e){var t=vie(e,"string");return jc(t)?t:t+""},h3=it.document,yie=ko(h3)&&ko(h3.createElement),yB=function(e){return yie?h3.createElement(e):{}},bB=!Ir&&!Qr(function(){return Object.defineProperty(yB("div"),"a",{get:function(){return 7}}).a!=7}),wB=Object.getOwnPropertyDescriptor,g3={f:Ir?wB:function(e,t){if(e=xi(e),t=zc(t),bB)try{return wB(e,t)}catch{}if(Ct(e,t))return Lu(!ni(l3.f,e,t),e[t])}},bie=/#|\.prototype\./,Pp=function(e,t){var n=$ie[wie(e)];return n==Eie||n!=Cie&&(sr(t)?Qr(t):!!t)},wie=Pp.normalize=function(e){return String(e).replace(bie,".").toLowerCase()},$ie=Pp.data={},Cie=Pp.NATIVE="N",Eie=Pp.POLYFILL="P",Sie=Pp,$B=bn(bn.bind),CB=function(e,t){return mB(e),t===void 0?e:$B?$B(e,t):function(){return e.apply(t,arguments)}},Die=it.String,xie=it.TypeError,zu=function(e){if(ko(e))return e;throw xie(Die(e)+" is not an object")},Aie=it.TypeError,EB=Object.defineProperty,Vu={f:Ir?EB:function(e,t,n){if(zu(e),t=zc(t),zu(n),bB)try{return EB(e,t,n)}catch{}if("get"in n||"set"in n)throw Aie("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ki=Ir?function(e,t,n){return Vu.f(e,t,Lu(1,n))}:function(e,t,n){return e[t]=n,e},kie=g3.f,_ie=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return iB(e,this,arguments)};return t.prototype=e.prototype,t},ts=function(e,t){var n,r,o,i,a,s,l,f,d=e.target,p=e.global,h=e.stat,m=e.proto,C=p?it:h?it[d]:(it[d]||{}).prototype,$=p?_o:_o[d]||ki(_o,d,{})[d],b=$.prototype;for(o in t)n=!Sie(p?o:d+(h?".":"#")+o,e.forced)&&C&&Ct(C,o),a=$[o],n&&(s=e.noTargetGet?(f=kie(C,o))&&f.value:C[o]),i=n&&s?s:t[o],n&&typeof a==typeof i||(l=e.bind&&n?CB(i,it):e.wrap&&n?_ie(i):m&&sr(i)?bn(i):i,(e.sham||i&&i.sham||a&&a.sham)&&ki(l,"sham",!0),ki($,o,l),m&&(Ct(_o,r=d+"Prototype")||ki(_o,r,{}),ki(_o[r],o,i),e.real&&b&&!b[o]&&ki(b,o,i)))},av=Array.isArray||function(e){return Ru(e)=="Array"},Oie=Math.ceil,Bie=Math.floor,m3=function(e){var t=+e;return t!=t||t===0?0:(t>0?Bie:Oie)(t)},Tie=Math.min,sv=function(e){return(t=e.length)>0?Tie(m3(t),9007199254740991):0;var t},v3=function(e,t,n){var r=zc(t);r in e?Vu.f(e,r,Lu(0,n)):e[r]=n},SB={};SB[eo("toStringTag")]="z";var y3=String(SB)==="[object z]",Fie=eo("toStringTag"),Pie=it.Object,Iie=Ru(function(){return arguments}())=="Arguments",uv=y3?Ru:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Pie(e),Fie))=="string"?n:Iie?Ru(t):(r=Ru(t))=="Object"&&sr(t.callee)?"Arguments":r},Nie=bn(Function.toString);sr(es.inspectSource)||(es.inspectSource=function(e){return Nie(e)});var DB=es.inspectSource,xB=function(){},Lie=[],AB=Bp("Reflect","construct"),b3=/^\s*(?:class|function)\b/,Rie=bn(b3.exec),Mie=!b3.exec(xB),Ip=function(e){if(!sr(e))return!1;try{return AB(xB,Lie,e),!0}catch{return!1}},jie=!AB||Qr(function(){var e;return Ip(Ip.call)||!Ip(Object)||!Ip(function(){e=!0})||e})?function(e){if(!sr(e))return!1;switch(uv(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Mie||!!Rie(b3,DB(e))}:Ip,zie=eo("species"),kB=it.Array,_B=function(e,t){return new(function(n){var r;return av(n)&&(r=n.constructor,(jie(r)&&(r===kB||av(r.prototype))||ko(r)&&(r=r[zie])===null)&&(r=void 0)),r===void 0?kB:r}(e))(t===0?0:t)},Vie=eo("species"),OB=eo("isConcatSpreadable"),BB=it.TypeError,Uie=ov>=51||!Qr(function(){var e=[];return e[OB]=!1,e.concat()[0]!==e}),Hie=function(e){return ov>=51||!Qr(function(){var t=[];return(t.constructor={})[Vie]=function(){return{foo:1}},t[e](Boolean).foo!==1})}("concat"),Wie=function(e){if(!ko(e))return!1;var t=e[OB];return t!==void 0?!!t:av(e)};ts({target:"Array",proto:!0,forced:!Uie||!Hie},{concat:function(e){var t,n,r,o,i,a=Tp(this),s=_B(a,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(Wie(i=t===-1?a:arguments[t])){if(l+(o=sv(i))>9007199254740991)throw BB("Maximum allowed index exceeded");for(n=0;n<o;n++,l++)n in i&&v3(s,l,i[n])}else{if(l>=9007199254740991)throw BB("Maximum allowed index exceeded");v3(s,l++,i)}return s.length=l,s}});var lv,qie=it.String,cv=function(e){if(uv(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return qie(e)},Gie=Math.max,Kie=Math.min,w3=function(e,t){var n=m3(e);return n<0?Gie(n+t,0):Kie(n,t)},TB=function(e){return function(t,n,r){var o,i=xi(t),a=sv(i),s=w3(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Yie={includes:TB(!0),indexOf:TB(!1)},Np={},Jie=Yie.indexOf,FB=bn([].push),PB=function(e,t){var n,r=xi(e),o=0,i=[];for(n in r)!Ct(Np,n)&&Ct(r,n)&&FB(i,n);for(;t.length>o;)Ct(r,n=t[o++])&&(~Jie(i,n)||FB(i,n));return i},fv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$3=Object.keys||function(e){return PB(e,fv)},Xie=Ir?Object.defineProperties:function(e,t){zu(e);for(var n,r=xi(t),o=$3(t),i=o.length,a=0;i>a;)Vu.f(e,n=o[a++],r[n]);return e},Zie=Bp("document","documentElement"),IB=Mu("keys"),dv=function(e){return IB[e]||(IB[e]=iv(e))},NB=dv("IE_PROTO"),C3=function(){},LB=function(e){return"<script>"+e+"<\/script>"},RB=function(e){e.write(LB("")),e.close();var t=e.parentWindow.Object;return e=null,t},pv=function(){try{lv=new ActiveXObject("htmlfile")}catch{}var e,t;pv=typeof document<"u"?document.domain&&lv?RB(lv):((t=yB("iframe")).style.display="none",Zie.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(LB("document.F=Object")),e.close(),e.F):RB(lv);for(var n=fv.length;n--;)delete pv.prototype[fv[n]];return pv()};Np[NB]=!0;var hv,Lp,gv,Uu=Object.create||function(e,t){var n;return e!==null?(C3.prototype=zu(e),n=new C3,C3.prototype=null,n[NB]=e):n=pv(),t===void 0?n:Xie(n,t)},Qie=fv.concat("length","prototype"),MB={f:Object.getOwnPropertyNames||function(e){return PB(e,Qie)}},eae=it.Array,tae=Math.max,jB=MB.f,zB=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],nae=function(e){try{return jB(e)}catch{return function(n,r,o){for(var i=sv(n),a=w3(r,i),s=w3(o===void 0?i:o,i),l=eae(tae(s-a,0)),f=0;a<s;a++,f++)v3(l,f,n[a]);return l.length=f,l}(zB)}},VB={f:function(e){return zB&&Ru(e)=="Window"?nae(e):jB(xi(e))}},E3={f:Object.getOwnPropertySymbols},rae=bn([].slice),Vc=function(e,t,n,r){r&&r.enumerable?e[t]=n:ki(e,t,n)},S3={f:eo},oae=Vu.f,En=function(e){var t=_o.Symbol||(_o.Symbol={});Ct(t,e)||oae(t,e,{value:S3.f(e)})},iae=y3?{}.toString:function(){return"[object "+uv(this)+"]"},aae=Vu.f,UB=eo("toStringTag"),mv=function(e,t,n,r){if(e){var o=n?e:e.prototype;Ct(o,UB)||aae(o,UB,{configurable:!0,value:t}),r&&!y3&&ki(o,"toString",iae)}},HB=it.WeakMap,sae=sr(HB)&&/native code/.test(DB(HB)),D3=it.TypeError,uae=it.WeakMap;if(sae||es.state){var Hu=es.state||(es.state=new uae),lae=bn(Hu.get),WB=bn(Hu.has),cae=bn(Hu.set);hv=function(e,t){if(WB(Hu,e))throw new D3("Object already initialized");return t.facade=e,cae(Hu,e,t),t},Lp=function(e){return lae(Hu,e)||{}},gv=function(e){return WB(Hu,e)}}else{var Uc=dv("state");Np[Uc]=!0,hv=function(e,t){if(Ct(e,Uc))throw new D3("Object already initialized");return t.facade=e,ki(e,Uc,t),t},Lp=function(e){return Ct(e,Uc)?e[Uc]:{}},gv=function(e){return Ct(e,Uc)}}var Hc={set:hv,get:Lp,has:gv,enforce:function(e){return gv(e)?Lp(e):hv(e,{})},getterFor:function(e){return function(t){var n;if(!ko(t)||(n=Lp(t)).type!==e)throw D3("Incompatible receiver, "+e+" required");return n}}},qB=bn([].push),ns=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=Tp(l),$=lB(C),b=CB(f,d),w=sv($),y=0,S=p||_B,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:qB(x,h)}else switch(e){case 4:return!1;case 7:qB(x,h)}return i?-1:r||o?o:x}},vv={forEach:ns(0),map:ns(1),filter:ns(2),some:ns(3),every:ns(4),find:ns(5),findIndex:ns(6),filterReject:ns(7)}.forEach,Nr=dv("hidden"),GB=eo("toPrimitive"),fae=Hc.set,KB=Hc.getterFor("Symbol"),ri=Object.prototype,rs=it.Symbol,os=rs&&rs.prototype,YB=it.TypeError,x3=it.QObject,Rp=Bp("JSON","stringify"),JB=g3.f,is=Vu.f,XB=VB.f,dae=l3.f,ZB=bn([].push),ia=Mu("symbols"),Mp=Mu("op-symbols"),A3=Mu("string-to-symbol-registry"),k3=Mu("symbol-to-string-registry"),pae=Mu("wks"),_3=!x3||!x3.prototype||!x3.prototype.findChild,O3=Ir&&Qr(function(){return Uu(is({},"a",{get:function(){return is(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=JB(ri,t);r&&delete ri[t],is(e,t,n),r&&e!==ri&&is(ri,t,r)}:is,B3=function(e,t){var n=ia[e]=Uu(os);return fae(n,{type:"Symbol",tag:e,description:t}),Ir||(n.description=t),n},yv=function(e,t,n){e===ri&&yv(Mp,t,n),zu(e);var r=zc(t);return zu(n),Ct(ia,r)?(n.enumerable?(Ct(e,Nr)&&e[Nr][r]&&(e[Nr][r]=!1),n=Uu(n,{enumerable:Lu(0,!1)})):(Ct(e,Nr)||is(e,Nr,Lu(1,{})),e[Nr][r]=!0),O3(e,r,n)):is(e,r,n)},QB=function(e,t){zu(e);var n=xi(t),r=$3(n).concat(T3(n));return vv(r,function(o){Ir&&!ni(eT,n,o)||yv(e,o,n[o])}),e},eT=function(e){var t=zc(e),n=ni(dae,this,t);return!(this===ri&&Ct(ia,t)&&!Ct(Mp,t))&&(!(n||!Ct(this,t)||!Ct(ia,t)||Ct(this,Nr)&&this[Nr][t])||n)},tT=function(e,t){var n=xi(e),r=zc(t);if(n!==ri||!Ct(ia,r)||Ct(Mp,r)){var o=JB(n,r);return!o||!Ct(ia,r)||Ct(n,Nr)&&n[Nr][r]||(o.enumerable=!0),o}},nT=function(e){var t=XB(xi(e)),n=[];return vv(t,function(r){Ct(ia,r)||Ct(Np,r)||ZB(n,r)}),n},T3=function(e){var t=e===ri,n=XB(t?Mp:xi(e)),r=[];return vv(n,function(o){!Ct(ia,o)||t&&!Ct(ri,o)||ZB(r,ia[o])}),r};if(Ai||(os=(rs=function(){if(fB(os,this))throw YB("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?cv(arguments[0]):void 0,t=iv(e),n=function(r){this===ri&&ni(n,Mp,r),Ct(this,Nr)&&Ct(this[Nr],t)&&(this[Nr][t]=!1),O3(this,t,Lu(1,r))};return Ir&&_3&&O3(ri,t,{configurable:!0,set:n}),B3(t,e)}).prototype,Vc(os,"toString",function(){return KB(this).tag}),Vc(rs,"withoutSetter",function(e){return B3(iv(e),e)}),l3.f=eT,Vu.f=yv,g3.f=tT,MB.f=VB.f=nT,E3.f=T3,S3.f=function(e){return B3(eo(e),e)},Ir&&is(os,"description",{configurable:!0,get:function(){return KB(this).description}})),ts({global:!0,wrap:!0,forced:!Ai,sham:!Ai},{Symbol:rs}),vv($3(pae),function(e){En(e)}),ts({target:"Symbol",stat:!0,forced:!Ai},{for:function(e){var t=cv(e);if(Ct(A3,t))return A3[t];var n=rs(t);return A3[t]=n,k3[n]=t,n},keyFor:function(e){if(!jc(e))throw YB(e+" is not a symbol");if(Ct(k3,e))return k3[e]},useSetter:function(){_3=!0},useSimple:function(){_3=!1}}),ts({target:"Object",stat:!0,forced:!Ai,sham:!Ir},{create:function(e,t){return t===void 0?Uu(e):QB(Uu(e),t)},defineProperty:yv,defineProperties:QB,getOwnPropertyDescriptor:tT}),ts({target:"Object",stat:!0,forced:!Ai},{getOwnPropertyNames:nT,getOwnPropertySymbols:T3}),ts({target:"Object",stat:!0,forced:Qr(function(){E3.f(1)})},{getOwnPropertySymbols:function(e){return E3.f(Tp(e))}}),Rp){var hae=!Ai||Qr(function(){var e=rs();return Rp([e])!="[null]"||Rp({a:e})!="{}"||Rp(Object(e))!="{}"});ts({target:"JSON",stat:!0,forced:hae},{stringify:function(e,t,n){var r=rae(arguments),o=t;if((ko(t)||e!==void 0)&&!jc(e))return av(t)||(t=function(i,a){if(sr(o)&&(a=ni(o,this,i,a)),!jc(a))return a}),r[1]=t,iB(Rp,null,r)}})}if(!os[GB]){var gae=os.valueOf;Vc(os,GB,function(e){return ni(gae,this)})}mv(rs,"Symbol"),Np[Nr]=!0,En("asyncIterator"),En("hasInstance"),En("isConcatSpreadable"),En("iterator"),En("match"),En("matchAll"),En("replace"),En("search"),En("species"),En("split"),En("toPrimitive"),En("toStringTag"),En("unscopables"),mv(it.JSON,"JSON",!0);var as,rT,oT,mae=_o.Symbol,Wu={},iT=Function.prototype,vae=Ir&&Object.getOwnPropertyDescriptor,F3=Ct(iT,"name"),yae={EXISTS:F3,PROPER:F3&&function(){}.name==="something",CONFIGURABLE:F3&&(!Ir||Ir&&vae(iT,"name").configurable)},bae=!Qr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),aT=dv("IE_PROTO"),P3=it.Object,wae=P3.prototype,I3=bae?P3.getPrototypeOf:function(e){var t=Tp(e);if(Ct(t,aT))return t[aT];var n=t.constructor;return sr(n)&&t instanceof n?n.prototype:t instanceof P3?wae:null},N3=eo("iterator"),sT=!1;[].keys&&("next"in(oT=[].keys())?(rT=I3(I3(oT)))!==Object.prototype&&(as=rT):sT=!0);var $ae=as==null||Qr(function(){var e={};return as[N3].call(e)!==e});as=$ae?{}:Uu(as),sr(as[N3])||Vc(as,N3,function(){return this});var uT={IteratorPrototype:as,BUGGY_SAFARI_ITERATORS:sT},Cae=uT.IteratorPrototype,Eae=function(){return this};it.String,it.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e,t=!1,n={};try{(e=bn(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}}();var Sae=yae.PROPER,bv=uT.BUGGY_SAFARI_ITERATORS,L3=eo("iterator"),Dae=function(){return this},lT=function(e,t,n,r,o,i,a){(function(w,y,S,x){var A=y+" Iterator";w.prototype=Uu(Cae,{next:Lu(+!x,S)}),mv(w,A,!1,!0),Wu[A]=Eae})(n,t,r);var s,l,f,d=function(w){if(w===o&&$)return $;if(!bv&&w in m)return m[w];switch(w){case"keys":case"values":case"entries":return function(){return new n(this,w)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,m=e.prototype,C=m[L3]||m["@@iterator"]||o&&m[o],$=!bv&&C||d(o),b=t=="Array"&&m.entries||C;if(b&&(s=I3(b.call(new e)))!==Object.prototype&&s.next&&(mv(s,p,!0,!0),Wu[p]=Dae),Sae&&o=="values"&&C&&C.name!=="values"&&(h=!0,$=function(){return ni(C,this)}),o)if(l={values:d("values"),keys:i?$:d("keys"),entries:d("entries")},a)for(f in l)(bv||h||!(f in m))&&Vc(m,f,l[f]);else ts({target:t,proto:!0,forced:bv||h},l);return a&&m[L3]!==$&&Vc(m,L3,$,{name:o}),Wu[t]=$,l},xae=Hc.set,Aae=Hc.getterFor("Array Iterator");lT(Array,"Array",function(e,t){xae(this,{type:"Array Iterator",target:xi(e),index:0,kind:t})},function(){var e=Aae(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Wu.Arguments=Wu.Array;var cT=eo("toStringTag");for(var R3 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 fT=it[R3],M3=fT&&fT.prototype;M3&&uv(M3)!==cT&&ki(M3,cT,R3),Wu[R3]=Wu.Array}var kae=mae;En("asyncDispose"),En("dispose"),En("matcher"),En("metadata"),En("observable"),En("patternMatch"),En("replaceAll");var wv=kae,_ae=bn("".charAt),dT=bn("".charCodeAt),Oae=bn("".slice),pT=function(e){return function(t,n){var r,o,i=cv(f3(t)),a=m3(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=dT(i,a))<55296||r>56319||a+1===s||(o=dT(i,a+1))<56320||o>57343?e?_ae(i,a):r:e?Oae(i,a,a+2):o-56320+(r-55296<<10)+65536}},Bae={codeAt:pT(!1),charAt:pT(!0)}.charAt,Tae=Hc.set,Fae=Hc.getterFor("String Iterator");lT(String,"String",function(e){Tae(this,{type:"String Iterator",string:cv(e),index:0})},function(){var e,t=Fae(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Bae(n,r),t.index+=e.length,{value:e,done:!1})});var Pae=S3.f("iterator"),Iae=Nm(function(e){function t(n){return typeof wv=="function"&&typeof Pae=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof wv=="function"&&r.constructor===wv&&r!==wv.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),hT=Xee(Iae),Nae=Um.EXISTS,Lae=kc.f,gT=Function.prototype,Rae=We(gT.toString),mT=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Mae=We(mT.exec);ei&&!Nae&&Lae(gT,"name",{configurable:!0,get:function(){try{return Mae(mT,Rae(this))[1]}catch{return""}}});var vT=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.mark,r=_.marks(t);return r&&r[n]?r[n]:""},e.prototype.isDisabled=function(t){return t.selection==null||(this.mark,!!$t(_.nodes(t,{match:function(n){return R.getNodeType(n)==="pre"||!!_.isVoid(t,n)},universal:!0}),1)[0])},e.prototype.exec=function(t,n){var r=this.mark;n?t.addMark(r,n):t.removeMark(r)},e}(),jae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("fontSize.title"),n.iconSvg=are,n.mark="fontSize",n}return Qt(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,i=o===void 0?[]:o;r.push({text:$e("fontSize.default"),value:""}),i.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s});else if(hT(s)==="object"){var l=s.name,f=s.value;r.push({text:l,value:f})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(vT),zae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("fontFamily.title"),n.iconSvg=sre,n.mark="fontFamily",n.selectPanelWidth=150,n}return Qt(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,i=o===void 0?[]:o;r.push({text:$e("fontFamily.default"),value:""}),i.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s,styleForRenderMenuList:{"font-family":s}});else if(hT(s)==="object"){var l=s.name,f=s.value;r.push({text:l,value:f,styleForRenderMenuList:{"font-family":f}})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(vT),Vae={renderStyle:function(e,t){var n=e,r=n.fontSize,o=n.fontFamily,i=t;return r&&Iu(i,{fontSize:r}),o&&Iu(i,{fontFamily:o}),i},styleToHtml:function(e,t){if(!xe.isText(e))return t;var n,r=e,o=r.fontSize,i=r.fontFamily;return o||i?((H$(t)||Nc(n=U(t))!=="span")&&(n=U("<span>"+t+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),Ic(n)):t},preParseHtml:[Yoe],parseStyleHtml:function(e,t,n){var r=U(e);if(!xe.isText(t))return t;var o=t,i=n.getMenuConfig("fontSize").fontSizeList,a=i===void 0?[]:i,s=ti(r,"font-size"),l=a.find(function(m){return m.value&&m.value===s})||a.includes(s);s&&l&&(o.fontSize=s);var f=n.getMenuConfig("fontFamily").fontFamilyList,d=f===void 0?[]:f,p=ti(r,"font-family"),h=d.find(function(m){return m.value&&m.value===p})||d.includes(p);return p&&h&&(o.fontFamily=p),o},menus:[{key:"fontSize",factory:function(){return new jae},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new zae},config:{fontFamilyList:["\u9ED1\u4F53",{name:"\u4EFF\u5B8B",value:"\u4EFF\u5B8B"},"\u6977\u4F53","\u6807\u6977\u4F53","\u534E\u6587\u4EFF\u5B8B","\u534E\u6587\u6977\u4F53",{name:"\u5B8B\u4F53",value:"\u5B8B\u4F53"},"\u5FAE\u8F6F\u96C5\u9ED1","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},Uae={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=U(e),n=ti(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}},yT=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){var n=$t(_.nodes(t,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":$t(r,1)[0].indent||""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=$t(_.nodes(t,{match:function(r){var o=R.getNodeType(r);return o==="paragraph"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e}(),Hae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("indent.decrease"),n.iconSvg=ure,n}return Qt(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},t.prototype.exec=function(n,r){ee.setNodes(n,{indent:null},{match:function(o){return Pe.isElement(o)}})},t}(yT),Wae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("indent.increase"),n.iconSvg=lre,n}return Qt(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},t.prototype.exec=function(n,r){ee.setNodes(n,{indent:"2em"},{match:function(o){return Pe.isElement(o)},mode:"highest"})},t}(yT),qae={renderStyle:function(e,t){if(!Pe.isElement(e))return t;var n=e.indent,r=t;return n&&Iu(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!Pe.isElement(e))return t;var n=e.indent;if(!n)return t;var r=U(t);return r.css("text-indent",n),Ic(r)},preParseHtml:[Uae],parseStyleHtml:function(e,t,n){var r=U(e);if(!Pe.isElement(t))return t;var o=t,i=ti(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Wae}},{key:"delIndent",factory:function(){return new Hae}}]},$v=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=$t(_.nodes(t,{match:function(r){var o=R.getNodeType(r);return o==="paragraph"||o==="blockquote"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(_.isVoid(t,n)&&_.isBlock(t,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},e}(),Gae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.left"),n.iconSvg=cre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"left"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Kae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.right"),n.iconSvg=fre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"right"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Yae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.center"),n.iconSvg=dre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"center"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Jae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=$e("justify.justify"),n.iconSvg=pre,n}return Qt(t,e),t.prototype.exec=function(n,r){ee.setNodes(n,{textAlign:"justify"},{match:function(o){return Pe.isElement(o)&&!n.isInline(o)}})},t}($v),Xae={renderStyle:function(e,t){if(!Pe.isElement(e))return t;var n=e.textAlign,r=t;return n&&Iu(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!Pe.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=U(t);return r.css("text-align",n),Ic(r)},parseStyleHtml:function(e,t,n){var r=U(e);if(!Pe.isElement(t))return t;var o=t,i=ti(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new Gae}},{key:"justifyRight",factory:function(){return new Kae}},{key:"justifyCenter",factory:function(){return new Yae}},{key:"justifyJustify",factory:function(){return new Jae}}]},Zae=function(){function e(){this.title=$e("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("lineHeight").lineHeightList,o=r===void 0?[]:r;n.push({text:$e("lineHeight.default"),value:""}),o.forEach(function(a){n.push({text:a,value:a})});var i=this.getValue(t);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},e.prototype.getMatchNode=function(t){var n=$t(_.nodes(t,{match:function(r){var o=R.getNodeType(r);return!!o.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(o)},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getMatchNode(t);return n==null?"":Pe.isElement(n)&&n.lineHeight||""},e.prototype.isDisabled=function(t){return t.selection==null||this.getMatchNode(t)==null},e.prototype.exec=function(t,n){ee.setNodes(t,{lineHeight:n.toString()},{mode:"highest"})},e}(),Qae={renderStyle:function(e,t){if(!Pe.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Iu(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!Pe.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=U(t);return r.css("line-height",n),Ic(r)},parseStyleHtml:function(e,t,n){var r=U(e);if(!Pe.isElement(t))return t;var o=t,i=n.getMenuConfig("lineHeight").lineHeightList,a=i===void 0?[]:i,s=ti(r,"line-height");return s&&a.includes(s)&&(o.lineHeight=s),o},menus:[{key:"lineHeight",factory:function(){return new Zae},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},ese=function(){function e(){this.title=$e("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.redo=="function"&&t.redo()},e}(),tse=function(){function e(){this.title=$e("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.undo=="function"&&t.undo()},e}(),nse={menus:[{key:"redo",factory:function(){return new ese}},{key:"undo",factory:function(){return new tse}}]},rse={type:"divider",renderElem:function(e,t,n){var r=R.isNodeSelected(n,e);return Xl("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:r?"true":""},style:{},on:{mousedown:function(o){return o.preventDefault()}}},[Xl("hr")])}},ose={type:"divider",elemToHtml:function(e,t){return"<hr/>"}},ise={selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}},ase=function(){function e(){this.title=$e("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(t.isVoid(n))return!0;var r=R.getNodeType(n);return r==="table"||r==="pre"||void 0})},e.prototype.exec=function(t,n){ee.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),sse={renderElems:[rse],elemsToHtml:[ose],parseElemsHtml:[ise],menus:[{key:"divider",factory:function(){return new ase}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(o){return o.type==="divider"||t(o)},r.normalizeNode=function(o){var i=$t(o,2),a=i[0],s=i[1];if(R.getNodeType(a)!=="divider")return n([a,s]);R.isLastNode(r,a)&&ee.insertNodes(r,R.genEmptyParagraph(),{at:[s[0]+1]})},r}},use=Gm.map;Vn({target:"Array",proto:!0,forced:!E$("map")},{map:function(e){return use(this,e,arguments.length>1?arguments[1]:void 0)}});var lse=We([].join),cse=Mm!=Object,fse=A9("join",",");Vn({target:"Array",proto:!0,forced:cse||!fse},{join:function(e){return lse(Ac(this),e===void 0?",":e)}});var dse=function(){function e(){this.title=$e("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(t){var n=R.getSelectedNodeByType(t,"code");if(n==null)return null;var r=R.getParentNode(t,n);return r==null||R.getNodeType(r)!=="pre"?null:n},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);return n==null?"":n.language||""},e.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},e.prototype.isDisabled=function(t){if(t.selection==null)return!0;var n=R.getSelectedElems(t);return!!n.some(function(r){return t.isVoid(r)})||!n.some(function(r){var o=R.getNodeType(r);if(o==="pre"||o==="paragraph")return!0})},e.prototype.exec=function(t,n){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,n.toString())},e.prototype.changeToPlainText=function(t){var n=this.getSelectCodeElem(t);if(n!=null){var r=we.string(n);ee.removeNodes(t,{mode:"highest"});var o=r.split(`
124
124
  `).map(function(i){return{type:"paragraph",children:[{text:i}]}});ee.insertNodes(t,o,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(t,n){var r,o,i=[],a=_.nodes(t,{match:function(p){return t.children.includes(p)},universal:!0});try{for(var s=E9(a),l=s.next();!l.done;l=s.next()){var f=$t(l.value,1)[0];f&&i.push(we.string(f))}}catch(p){r={error:p}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}ee.removeNodes(t,{mode:"highest"});var d={type:"pre",children:[{type:"code",language:n,children:[{text:i.join(`
125
- `)}]}]};ee.insertNodes(t,d,{mode:"highest"})},e}(),pse={key:"codeBlock",factory:function(){return new dse}};Vn({target:"String",proto:!0,forced:Sp("anchor")},{anchor:function(e){return Ep(this,"a","name",e)}}),P$("match",function(e,t,n){return[function(r){var o=Do(this),i=r==null?void 0:jm(r,e);return i?yn(i,r,o):new RegExp(r)[e](sn(o))},function(r){var o=Xr(this),i=sn(r),a=n(t,o,i);if(a.done)return a.value;if(!o.global)return wp(o,i);var s=o.unicode;o.lastIndex=0;for(var l,f=[],d=0;(l=wp(o,i))!==null;){var p=sn(l[0]);f[d]=p,p===""&&(o.lastIndex=I$(i,mp(o.lastIndex),s)),d++}return d===0?null:f}]});var hse={type:"pre",renderElem:function(e,t,n){return Ke("pre",null,t)}},gse={type:"code",renderElem:function(e,t,n){return Ke("code",null,t)}},mse={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);return(t=t.filter(function(o){return R.getNodeType(o)==="code"})).length===0&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(o){return R.getNodeType(o)==="code"})}}},vse={menus:[pse],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var o=e;return o.insertBreak=function(){var i=R.getSelectedNodeByType(o,"code");if(i!=null){var a=function(f,d){var p=d.selection;if(p==null)return"";var h=we.string(f),m=p.anchor.offset,C=h.slice(0,m).split(`
125
+ `)}]}]};ee.insertNodes(t,d,{mode:"highest"})},e}(),pse={key:"codeBlock",factory:function(){return new dse}};Vn({target:"String",proto:!0,forced:Sp("anchor")},{anchor:function(e){return Ep(this,"a","name",e)}}),P$("match",function(e,t,n){return[function(r){var o=Do(this),i=r==null?void 0:jm(r,e);return i?yn(i,r,o):new RegExp(r)[e](sn(o))},function(r){var o=Zr(this),i=sn(r),a=n(t,o,i);if(a.done)return a.value;if(!o.global)return wp(o,i);var s=o.unicode;o.lastIndex=0;for(var l,f=[],d=0;(l=wp(o,i))!==null;){var p=sn(l[0]);f[d]=p,p===""&&(o.lastIndex=I$(i,mp(o.lastIndex),s)),d++}return d===0?null:f}]});var hse={type:"pre",renderElem:function(e,t,n){return Ke("pre",null,t)}},gse={type:"code",renderElem:function(e,t,n){return Ke("code",null,t)}},mse={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);return(t=t.filter(function(o){return R.getNodeType(o)==="code"})).length===0&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(o){return R.getNodeType(o)==="code"})}}},vse={menus:[pse],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var o=e;return o.insertBreak=function(){var i=R.getSelectedNodeByType(o,"code");if(i!=null){var a=function(f,d){var p=d.selection;if(p==null)return"";var h=we.string(f),m=p.anchor.offset,C=h.slice(0,m).split(`
126
126
  `),$=C.length;return $===0?"":C[$-1]}(i,o);if(a){var s=a.match(/^\s+/);if(s!=null&&s[0]!=null){var l=s[0];return void o.insertText(`
127
127
  `+l)}}o.insertText(`
128
128
  `)}else t()},o.normalizeNode=function(i){var a=$t(i,2),s=a[0],l=a[1],f=R.getNodeType(s);return f==="code"&&l.length<=1&&ee.setNodes(o,{type:"paragraph"},{at:l}),f==="pre"&&(R.isLastNode(o,s)&&ee.insertNodes(o,R.genEmptyParagraph(),{at:[l[0]+1]}),R.getNodeType(s.children[0])!=="code"&&(ee.unwrapNodes(o),ee.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([s,l])},o.insertData=function(i){if(R.getSelectedNodeByType(o,"code")!=null){var a=i.getData("text/plain");_.insertText(o,a)}else r(i)},o},renderElems:[hse,gse],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=U(e);if(Nc(t)!=="code")return e;var n=t.find("xmp");if(n.length===0)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:U(e)[0].textContent||""}]}}},mse]},yse=function(){function e(){this.title=$e("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return t.isFullScreen},e.prototype.isDisabled=function(t){return!1},e.prototype.exec=function(t,n){t.isFullScreen?t.unFullScreen():t.fullScreen()},e}(),bse={menus:[{key:"fullScreen",factory:function(){return new yse}}]},wse=function(){function e(){this.title=$e("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!!re.isExpanded(n)},e.prototype.exec=function(t,n){var r=t.selection;if(r!=null){var o=[r.anchor.path[0]];ee.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:o}),t.select(_.start(t,o))}},e}(),$se=[Sre,noe,Vae,qae,Xae,Qae,Boe,sse,Goe,goe,vse,Woe,Xre,Gne,Ioe,nse,bse,{menus:[{key:"enter",factory:function(){return new wse}}]}];xr("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),xr("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var bT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function j3(e){var t={exports:{}};return e(t,t.exports),t.exports}var ss,Cv,Ev=function(e){return e&&e.Math==Math&&e},Ye=Ev(typeof globalThis=="object"&&globalThis)||Ev(typeof window=="object"&&window)||Ev(typeof self=="object"&&self)||Ev(typeof bT=="object"&&bT)||function(){return this}()||Function("return this")(),wT=Function.prototype,z3=wT.bind,V3=wT.call,Cse=z3&&z3.bind(V3),lt=z3?function(e){return e&&Cse(V3,e)}:function(e){return e&&function(){return V3.apply(e,arguments)}},cn=function(e){try{return!!e()}catch{return!0}},Ese=lt({}.toString),Sse=lt("".slice),aa=function(e){return Sse(Ese(e),8,-1)},U3=Ye.Object,Dse=lt("".split),$T=cn(function(){return!U3("z").propertyIsEnumerable(0)})?function(e){return aa(e)=="String"?Dse(e,""):U3(e)}:U3,xse=Ye.TypeError,Sv=function(e){if(e==null)throw xse("Can't call method on "+e);return e},Wc=function(e){return $T(Sv(e))},Ase=Object.defineProperty,H3=function(e,t){try{Ase(Ye,e,{value:t,configurable:!0,writable:!0})}catch{Ye[e]=t}return t},us=Ye["__core-js_shared__"]||H3("__core-js_shared__",{}),W3=j3(function(e){(e.exports=function(t,n){return us[t]||(us[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),kse=Ye.Object,jp=function(e){return kse(Sv(e))},_se=lt({}.hasOwnProperty),Un=Object.hasOwn||function(e,t){return _se(jp(e),t)},Ose=0,Bse=Math.random(),Tse=lt(1 .toString),q3=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Tse(++Ose+Bse,36)},fn=function(e){return typeof e=="function"},Fse=function(e){return fn(e)?e:void 0},zp=function(e,t){return arguments.length<2?Fse(Ye[e]):Ye[e]&&Ye[e][t]},G3=zp("navigator","userAgent")||"",CT=Ye.process,ET=Ye.Deno,ST=CT&&CT.versions||ET&&ET.version,DT=ST&&ST.v8;DT&&(Cv=(ss=DT.split("."))[0]>0&&ss[0]<4?1:+(ss[0]+ss[1])),!Cv&&G3&&(!(ss=G3.match(/Edge\/(\d+)/))||ss[1]>=74)&&(ss=G3.match(/Chrome\/(\d+)/))&&(Cv=+ss[1]);var Dv,K3=Cv,Y3=!!Object.getOwnPropertySymbols&&!cn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&K3&&K3<41}),J3=Y3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Vp=W3("wks"),qu=Ye.Symbol,xT=qu&&qu.for,Pse=J3?qu:qu&&qu.withoutSetter||q3,ur=function(e){if(!Un(Vp,e)||!Y3&&typeof Vp[e]!="string"){var t="Symbol."+e;Y3&&Un(qu,e)?Vp[e]=qu[e]:Vp[e]=J3&&xT?xT(t):Pse(t)}return Vp[e]},dn=function(e){return typeof e=="object"?e!==null:fn(e)},Ise=Ye.String,Nse=Ye.TypeError,Lr=function(e){if(dn(e))return e;throw Nse(Ise(e)+" is not an object")},ls=!cn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),X3=Ye.document,Lse=dn(X3)&&dn(X3.createElement),Z3=function(e){return Lse?X3.createElement(e):{}},AT=!ls&&!cn(function(){return Object.defineProperty(Z3("div"),"a",{get:function(){return 7}}).a!=7}),Up=Function.prototype.call,Hn=Up.bind?Up.bind(Up):function(){return Up.apply(Up,arguments)},xv=lt({}.isPrototypeOf),Rse=Ye.Object,Q3=J3?function(e){return typeof e=="symbol"}:function(e){var t=zp("Symbol");return fn(t)&&xv(t.prototype,Rse(e))},Mse=Ye.String,eC=function(e){try{return Mse(e)}catch{return"Object"}},jse=Ye.TypeError,tC=function(e){if(fn(e))return e;throw jse(eC(e)+" is not a function")},Hp=function(e,t){var n=e[t];return n==null?void 0:tC(n)},zse=Ye.TypeError,Vse=Ye.TypeError,Use=ur("toPrimitive"),Hse=function(e,t){if(!dn(e)||Q3(e))return e;var n,r=Hp(e,Use);if(r){if(t===void 0&&(t="default"),n=Hn(r,e,t),!dn(n)||Q3(n))return n;throw Vse("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&fn(a=o.toString)&&!dn(s=Hn(a,o))||fn(a=o.valueOf)&&!dn(s=Hn(a,o))||i!=="string"&&fn(a=o.toString)&&!dn(s=Hn(a,o)))return s;throw zse("Can't convert object to primitive value")}(e,t)},nC=function(e){var t=Hse(e,"string");return Q3(t)?t:t+""},Wse=Ye.TypeError,kT=Object.defineProperty,Gu={f:ls?kT:function(e,t,n){if(Lr(e),t=nC(t),Lr(n),AT)try{return kT(e,t,n)}catch{}if("get"in n||"set"in n)throw Wse("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},qse=Math.ceil,Gse=Math.floor,Wp=function(e){var t=+e;return t!=t||t===0?0:(t>0?Gse:qse)(t)},Kse=Math.max,Yse=Math.min,rC=function(e,t){var n=Wp(e);return n<0?Kse(n+t,0):Yse(n,t)},Jse=Math.min,_T=function(e){return e>0?Jse(Wp(e),9007199254740991):0},qc=function(e){return _T(e.length)},OT=function(e){return function(t,n,r){var o,i=Wc(t),a=qc(i),s=rC(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},BT={includes:OT(!0),indexOf:OT(!1)},Av={},Xse=BT.indexOf,TT=lt([].push),FT=function(e,t){var n,r=Wc(e),o=0,i=[];for(n in r)!Un(Av,n)&&Un(r,n)&&TT(i,n);for(;t.length>o;)Un(r,n=t[o++])&&(~Xse(i,n)||TT(i,n));return i},kv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Zse=Object.keys||function(e){return FT(e,kv)},Qse=ls?Object.defineProperties:function(e,t){Lr(e);for(var n,r=Wc(t),o=Zse(t),i=o.length,a=0;i>a;)Gu.f(e,n=o[a++],r[n]);return e},eue=zp("document","documentElement"),PT=W3("keys"),oC=function(e){return PT[e]||(PT[e]=q3(e))},IT=oC("IE_PROTO"),iC=function(){},NT=function(e){return"<script>"+e+"<\/script>"},LT=function(e){e.write(NT("")),e.close();var t=e.parentWindow.Object;return e=null,t},_v=function(){try{Dv=new ActiveXObject("htmlfile")}catch{}var e,t;_v=typeof document<"u"?document.domain&&Dv?LT(Dv):((t=Z3("iframe")).style.display="none",eue.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(NT("document.F=Object")),e.close(),e.F):LT(Dv);for(var n=kv.length;n--;)delete _v.prototype[kv[n]];return _v()};Av[IT]=!0;var aC=Object.create||function(e,t){var n;return e!==null?(iC.prototype=Lr(e),n=new iC,iC.prototype=null,n[IT]=e):n=_v(),t===void 0?n:Qse(n,t)},sC=ur("unscopables"),uC=Array.prototype;uC[sC]==null&&Gu.f(uC,sC,{configurable:!0,value:aC(null)});var qp=function(e){uC[sC][e]=!0},Gc={},tue=lt(Function.toString);fn(us.inspectSource)||(us.inspectSource=function(e){return tue(e)});var Ov,Gp,Bv,lC=us.inspectSource,RT=Ye.WeakMap,MT=fn(RT)&&/native code/.test(lC(RT)),Tv=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},sa=ls?function(e,t,n){return Gu.f(e,t,Tv(1,n))}:function(e,t,n){return e[t]=n,e},cC=Ye.TypeError,nue=Ye.WeakMap;if(MT||us.state){var Ku=us.state||(us.state=new nue),rue=lt(Ku.get),jT=lt(Ku.has),oue=lt(Ku.set);Ov=function(e,t){if(jT(Ku,e))throw new cC("Object already initialized");return t.facade=e,oue(Ku,e,t),t},Gp=function(e){return rue(Ku,e)||{}},Bv=function(e){return jT(Ku,e)}}else{var Kc=oC("state");Av[Kc]=!0,Ov=function(e,t){if(Un(e,Kc))throw new cC("Object already initialized");return t.facade=e,sa(e,Kc,t),t},Gp=function(e){return Un(e,Kc)?e[Kc]:{}},Bv=function(e){return Un(e,Kc)}}var Yu,zT,VT,_i={set:Ov,get:Gp,has:Bv,enforce:function(e){return Bv(e)?Gp(e):Ov(e,{})},getterFor:function(e){return function(t){var n;if(!dn(t)||(n=Gp(t)).type!==e)throw cC("Incompatible receiver, "+e+" required");return n}}},UT={}.propertyIsEnumerable,HT=Object.getOwnPropertyDescriptor,iue={f:HT&&!UT.call({1:2},1)?function(e){var t=HT(this,e);return!!t&&t.enumerable}:UT},WT=Object.getOwnPropertyDescriptor,qT={f:ls?WT:function(e,t){if(e=Wc(e),t=nC(t),AT)try{return WT(e,t)}catch{}if(Un(e,t))return Tv(!Hn(iue.f,e,t),e[t])}},GT=Function.prototype,aue=ls&&Object.getOwnPropertyDescriptor,fC=Un(GT,"name"),dC={EXISTS:fC,PROPER:fC&&function(){}.name==="something",CONFIGURABLE:fC&&(!ls||ls&&aue(GT,"name").configurable)},Oi=j3(function(e){var t=dC.CONFIGURABLE,n=_i.get,r=_i.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;fn(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Un(s,"name")||t&&s.name!==m)&&sa(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==Ye?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:sa(i,a,s)):p?i[a]=s:H3(a,s)})(Function.prototype,"toString",function(){return fn(this)&&n(this).source||lC(this)})}),sue=kv.concat("length","prototype"),Fv={f:Object.getOwnPropertyNames||function(e){return FT(e,sue)}},uue={f:Object.getOwnPropertySymbols},lue=lt([].concat),cue=zp("Reflect","ownKeys")||function(e){var t=Fv.f(Lr(e)),n=uue.f;return n?lue(t,n(e)):t},fue=function(e,t){for(var n=cue(t),r=Gu.f,o=qT.f,i=0;i<n.length;i++){var a=n[i];Un(e,a)||r(e,a,o(t,a))}},due=/#|\.prototype\./,Kp=function(e,t){var n=hue[pue(e)];return n==mue||n!=gue&&(fn(t)?cn(t):!!t)},pue=Kp.normalize=function(e){return String(e).replace(due,".").toLowerCase()},hue=Kp.data={},gue=Kp.NATIVE="N",mue=Kp.POLYFILL="P",pC=Kp,vue=qT.f,cs=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?Ye:f?Ye[s]||H3(s,{}):(Ye[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=vue(n,r))&&a.value:n[r],!pC(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;fue(i,o)}(e.sham||o&&o.sham)&&sa(i,"sham",!0),Oi(n,r,i,e)}},yue=!cn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),KT=oC("IE_PROTO"),hC=Ye.Object,bue=hC.prototype,Pv=yue?hC.getPrototypeOf:function(e){var t=jp(e);if(Un(t,KT))return t[KT];var n=t.constructor;return fn(n)&&t instanceof n?n.prototype:t instanceof hC?bue:null},gC=ur("iterator"),YT=!1;[].keys&&("next"in(VT=[].keys())?(zT=Pv(Pv(VT)))!==Object.prototype&&(Yu=zT):YT=!0);var wue=Yu==null||cn(function(){var e={};return Yu[gC].call(e)!==e});wue&&(Yu={}),fn(Yu[gC])||Oi(Yu,gC,function(){return this});var mC={IteratorPrototype:Yu,BUGGY_SAFARI_ITERATORS:YT},$ue=Gu.f,JT=ur("toStringTag"),vC=function(e,t,n){e&&!Un(e=n?e:e.prototype,JT)&&$ue(e,JT,{configurable:!0,value:t})},Cue=mC.IteratorPrototype,Eue=function(){return this},Sue=Ye.String,Due=Ye.TypeError,Iv=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=lt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return Lr(r),function(i){if(typeof i=="object"||fn(i))return i;throw Due("Can't set "+Sue(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),xue=dC.PROPER,Aue=dC.CONFIGURABLE,XT=mC.IteratorPrototype,Nv=mC.BUGGY_SAFARI_ITERATORS,Yp=ur("iterator"),kue=function(){return this},ZT=function(e,t,n,r,o,i,a){(function(w,y,S,x){var A=y+" Iterator";w.prototype=aC(Cue,{next:Tv(+!x,S)}),vC(w,A,!1),Gc[A]=Eue})(n,t,r);var s,l,f,d=function(w){if(w===o&&$)return $;if(!Nv&&w in m)return m[w];switch(w){case"keys":case"values":case"entries":return function(){return new n(this,w)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,m=e.prototype,C=m[Yp]||m["@@iterator"]||o&&m[o],$=!Nv&&C||d(o),b=t=="Array"&&m.entries||C;if(b&&(s=Pv(b.call(new e)))!==Object.prototype&&s.next&&(Pv(s)!==XT&&(Iv?Iv(s,XT):fn(s[Yp])||Oi(s,Yp,kue)),vC(s,p,!0)),xue&&o=="values"&&C&&C.name!=="values"&&(Aue?sa(m,"name","values"):(h=!0,$=function(){return Hn(C,this)})),o)if(l={values:d("values"),keys:i?$:d("keys"),entries:d("entries")},a)for(f in l)(Nv||h||!(f in m))&&Oi(m,f,l[f]);else cs({target:t,proto:!0,forced:Nv||h},l);return m[Yp]!==$&&Oi(m,Yp,$,{name:o}),Gc[t]=$,l},_ue=_i.set,Oue=_i.getterFor("Array Iterator"),Jp=ZT(Array,"Array",function(e,t){_ue(this,{type:"Array Iterator",target:Wc(e),index:0,kind:t})},function(){var e=Oue(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Gc.Arguments=Gc.Array,qp("keys"),qp("values"),qp("entries");var QT={};QT[ur("toStringTag")]="z";var yC=String(QT)==="[object z]",Bue=ur("toStringTag"),Tue=Ye.Object,Fue=aa(function(){return arguments}())=="Arguments",Lv=yC?aa:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Tue(e),Bue))=="string"?n:Fue?aa(t):(r=aa(t))=="Object"&&fn(t.callee)?"Arguments":r},Pue=yC?{}.toString:function(){return"[object "+Lv(this)+"]"};yC||Oi(Object.prototype,"toString",Pue,{unsafe:!0});var Iue=Ye.String,ua=function(e){if(Lv(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Iue(e)},Nue=lt("".charAt),eF=lt("".charCodeAt),Lue=lt("".slice),tF=function(e){return function(t,n){var r,o,i=ua(Sv(t)),a=Wp(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=eF(i,a))<55296||r>56319||a+1===s||(o=eF(i,a+1))<56320||o>57343?e?Nue(i,a):r:e?Lue(i,a,a+2):o-56320+(r-55296<<10)+65536}},nF={codeAt:tF(!1),charAt:tF(!0)},Rue=nF.charAt,Mue=_i.set,jue=_i.getterFor("String Iterator");ZT(String,"String",function(e){Mue(this,{type:"String Iterator",string:ua(e),index:0})},function(){var e,t=jue(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Rue(n,r),t.index+=e.length,{value:e,done:!1})});var bC=function(e,t,n){for(var r in t)Oi(e,r,t[r],n);return e},zue=Ye.Array,Vue=Math.max,rF=Fv.f,oF=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Uue=function(e){try{return rF(e)}catch{return function(n,r,o){for(var i,a,s,l,f=qc(n),d=rC(r,f),p=rC(o===void 0?f:o,f),h=zue(Vue(p-d,0)),m=0;d<p;d++,m++)i=h,a=m,s=n[d],l=void 0,(l=nC(a))in i?Gu.f(i,l,Tv(0,s)):i[l]=s;return h.length=m,h}(oF)}},Hue={f:function(e){return oF&&aa(e)=="Window"?Uue(e):rF(Wc(e))}},iF=cn(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),Rv=Object.isExtensible,Ju=cn(function(){Rv(1)})||iF?function(e){return!!dn(e)&&(!iF||aa(e)!="ArrayBuffer")&&(!Rv||Rv(e))}:Rv,Wue=!cn(function(){return Object.isExtensible(Object.preventExtensions({}))}),wC=j3(function(e){var t=Gu.f,n=!1,r=q3("meta"),o=0,i=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=Fv.f,l=lt([].splice),f={};f[r]=1,s(f).length&&(Fv.f=function(d){for(var p=s(d),h=0,m=p.length;h<m;h++)if(p[h]===r){l(p,h,1);break}return p},cs({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Hue.f}))},fastKey:function(s,l){if(!dn(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!Un(s,r)){if(!Ju(s))return"F";if(!l)return"E";i(s)}return s[r].objectID},getWeakData:function(s,l){if(!Un(s,r)){if(!Ju(s))return!0;if(!l)return!1;i(s)}return s[r].weakData},onFreeze:function(s){return Wue&&n&&Ju(s)&&!Un(s,r)&&i(s),s}};Av[r]=!0}),aF=lt(lt.bind),$C=function(e,t){return tC(e),t===void 0?e:aF?aF(e,t):function(){return e.apply(t,arguments)}},que=ur("iterator"),Gue=Array.prototype,Kue=ur("iterator"),sF=function(e){if(e!=null)return Hp(e,Kue)||Hp(e,"@@iterator")||Gc[Lv(e)]},Yue=Ye.TypeError,uF=function(e,t,n){var r,o;Lr(e);try{if(!(r=Hp(e,"return"))){if(t==="throw")throw n;return n}r=Hn(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return Lr(r),n},Jue=Ye.TypeError,Mv=function(e,t){this.stopped=e,this.result=t},lF=Mv.prototype,cF=function(e,t,n){var r,o,i,a,s,l,f,d,p=n&&n.that,h=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),$=$C(t,p),b=function(y){return r&&uF(r,"normal",y),new Mv(!0,y)},w=function(y){return h?(Lr(y),C?$(y[0],y[1],b):$(y[0],y[1])):C?$(y,b):$(y)};if(m)r=e;else{if(!(o=sF(e)))throw Jue(eC(e)+" is not iterable");if((d=o)!==void 0&&(Gc.Array===d||Gue[que]===d)){for(i=0,a=qc(e);a>i;i++)if((s=w(e[i]))&&xv(lF,s))return s;return new Mv(!1)}r=function(y,S){var x=arguments.length<2?sF(y):S;if(tC(x))return Lr(Hn(x,y));throw Yue(eC(y)+" is not iterable")}(e,o)}for(l=r.next;!(f=Hn(l,r)).done;){try{s=w(f.value)}catch(y){uF(r,"throw",y)}if(typeof s=="object"&&s&&xv(lF,s))return s}return new Mv(!1)},Xue=Ye.TypeError,fF=function(e,t){if(xv(t,e))return e;throw Xue("Incorrect invocation")},dF=ur("iterator"),pF=!1;try{var Zue=0,hF={next:function(){return{done:!!Zue++}},return:function(){pF=!0}};hF[dF]=function(){return this},Array.from(hF,function(){throw 2})}catch{}var CC=Array.isArray||function(e){return aa(e)=="Array"},gF=function(){},Que=[],mF=zp("Reflect","construct"),EC=/^\s*(?:class|function)\b/,ele=lt(EC.exec),tle=!EC.exec(gF),Xp=function(e){if(!fn(e))return!1;try{return mF(gF,Que,e),!0}catch{return!1}},nle=!mF||cn(function(){var e;return Xp(Xp.call)||!Xp(Object)||!Xp(function(){e=!0})||e})?function(e){if(!fn(e))return!1;switch(Lv(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return tle||!!ele(EC,lC(e))}:Xp,rle=ur("species"),vF=Ye.Array,yF=function(e,t){return new(function(n){var r;return CC(n)&&(r=n.constructor,(nle(r)&&(r===vF||CC(r.prototype))||dn(r)&&(r=r[rle])===null)&&(r=void 0)),r===void 0?vF:r}(e))(t===0?0:t)},bF=lt([].push),fs=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=jp(l),$=$T(C),b=$C(f,d),w=qc($),y=0,S=p||yF,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:bF(x,h)}else switch(e){case 4:return!1;case 7:bF(x,h)}return i?-1:r||o?o:x}},SC={forEach:fs(0),map:fs(1),filter:fs(2),some:fs(3),every:fs(4),find:fs(5),findIndex:fs(6),filterReject:fs(7)},jv=wC.getWeakData,ole=_i.set,ile=_i.getterFor,ale=SC.find,sle=SC.findIndex,ule=lt([].splice),lle=0,zv=function(e){return e.frozen||(e.frozen=new wF)},wF=function(){this.entries=[]},DC=function(e,t){return ale(e.entries,function(n){return n[0]===t})};wF.prototype={get:function(e){var t=DC(this,e);if(t)return t[1]},has:function(e){return!!DC(this,e)},set:function(e,t){var n=DC(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=sle(this.entries,function(n){return n[0]===e});return~t&&ule(this.entries,t,1),!!~t}};var Zp,$F={getConstructor:function(e,t,n,r){var o=e(function(l,f){fF(l,i),ole(l,{type:t,id:lle++,frozen:void 0}),f!=null&&cF(f,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=ile(t),s=function(l,f,d){var p=a(l),h=jv(Lr(f),!0);return h===!0?zv(p).set(f,d):h[p.id]=d,l};return bC(i,{delete:function(l){var f=a(this);if(!dn(l))return!1;var d=jv(l);return d===!0?zv(f).delete(l):d&&Un(d,f.id)&&delete d[f.id]},has:function(l){var f=a(this);if(!dn(l))return!1;var d=jv(l);return d===!0?zv(f).has(l):d&&Un(d,f.id)}}),bC(i,n?{get:function(l){var f=a(this);if(dn(l)){var d=jv(l);return d===!0?zv(f).get(l):d?d[f.id]:void 0}},set:function(l,f){return s(this,l,f)}}:{add:function(l){return s(this,l,!0)}}),o}},Vv=_i.enforce,cle=!Ye.ActiveXObject&&"ActiveXObject"in Ye,CF=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},fle=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=Ye[e],s=a&&a.prototype,l=a,f={},d=function(b){var w=lt(s[b]);Oi(s,b,b=="add"?function(y){return w(this,y===0?0:y),this}:b=="delete"?function(y){return!(o&&!dn(y))&&w(this,y===0?0:y)}:b=="get"?function(y){return o&&!dn(y)?void 0:w(this,y===0?0:y)}:b=="has"?function(y){return!(o&&!dn(y))&&w(this,y===0?0:y)}:function(y,S){return w(this,y===0?0:y,S),this})};if(pC(e,!fn(a)||!(o||s.forEach&&!cn(function(){new a().entries().next()}))))l=n.getConstructor(t,e,r,i),wC.enable();else if(pC(e,!0)){var p=new l,h=p[i](o?{}:-0,1)!=p,m=cn(function(){p.has(1)}),C=function(b,w){if(!w&&!pF)return!1;var y=!1;try{var S={};S[dF]=function(){return{next:function(){return{done:y=!0}}}},b(S)}catch{}return y}(function(b){new a(b)}),$=!o&&cn(function(){for(var b=new a,w=5;w--;)b[i](w,w);return!b.has(-0)});C||((l=t(function(b,w){fF(b,s);var y=function(S,x,A){var O,T;return Iv&&fn(O=x.constructor)&&O!==A&&dn(T=O.prototype)&&T!==A.prototype&&Iv(S,T),S}(new a,b,l);return w!=null&&cF(w,y[i],{that:y,AS_ENTRIES:r}),y})).prototype=s,s.constructor=l),(m||$)&&(d("delete"),d("has"),r&&d("get")),($||h)&&d(i),o&&s.clear&&delete s.clear}return f[e]=l,cs({global:!0,forced:l!=a},f),vC(l,e),o||n.setStrong(l,e,r),l}("WeakMap",CF,$F);if(MT&&cle){Zp=$F.getConstructor(CF,"WeakMap",!0),wC.enable();var Qp=fle.prototype,EF=lt(Qp.delete),Uv=lt(Qp.has),SF=lt(Qp.get),DF=lt(Qp.set);bC(Qp,{delete:function(e){if(dn(e)&&!Ju(e)){var t=Vv(this);return t.frozen||(t.frozen=new Zp),EF(this,e)||t.frozen.delete(e)}return EF(this,e)},has:function(e){if(dn(e)&&!Ju(e)){var t=Vv(this);return t.frozen||(t.frozen=new Zp),Uv(this,e)||t.frozen.has(e)}return Uv(this,e)},get:function(e){if(dn(e)&&!Ju(e)){var t=Vv(this);return t.frozen||(t.frozen=new Zp),Uv(this,e)?SF(this,e):t.frozen.get(e)}return SF(this,e)},set:function(e,t){if(dn(e)&&!Ju(e)){var n=Vv(this);n.frozen||(n.frozen=new Zp),Uv(this,e)?DF(this,e,t):n.frozen.set(e,t)}else DF(this,e,t);return this}})}var xF={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},xC=Z3("span").classList,AF=xC&&xC.constructor&&xC.constructor.prototype,dle=AF===Object.prototype?void 0:AF,AC=ur("iterator"),kF=ur("toStringTag"),kC=Jp.values,_F=function(e,t){if(e){if(e[AC]!==kC)try{sa(e,AC,kC)}catch{e[AC]=kC}if(e[kF]||sa(e,kF,t),xF[t]){for(var n in Jp)if(e[n]!==Jp[n])try{sa(e,n,Jp[n])}catch{e[n]=Jp[n]}}}};for(var _C in xF)_F(Ye[_C]&&Ye[_C].prototype,_C);_F(dle,"DOMTokenList");var OC=new WeakMap,ple={type:"list-item",renderElem:function(e,t,n){OC.set(e,n);var r=e,o=r.level,i=o===void 0?0:o,a=r.ordered,s={margin:"5px 0 5px "+20*i+"px"},l="";if(a!==void 0&&a){var f=function(p,h){var m=h,C=m.type,$=m.level,b=$===void 0?0:$,w=m.ordered,y=w!==void 0&&w;if(!y)return-1;var S=1,x=h,A=R.findPath(p,x);if(A[0]===0)return 1;for(;A[0]>0;){var O=J.previous(A),T=_.node(p,O);if(T==null)break;var z=T[0],V=z.level,ue=V===void 0?0:V,oe=z.type,de=z.ordered;if(oe!==C||ue<b)break;if(ue===b){if(de!==y)break;S++}x=z,A=O}return S}(n,e);l=f+"."}else l=function(p){p===void 0&&(p=0);var h="";switch(p){case 0:h="\u2022";break;case 1:h="\u25E6";break;default:h="\u25AA"}return h}(i);var d=function(p){var h,m=p.children||[],C=m.length;if(C===0)return"";for(var $=0;$<C&&!h;$++){var b=m[$];xe.isText(b)&&(h=b)}return h==null?"":h.color||""}(e);return Ke("div",{style:s},Ke("span",{contentEditable:!1,style:{marginRight:"0.5em",color:d},"data-w-e-reserve":!0},l),Ke("span",null,t))}},BC=function(e,t){return BC=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},BC(e,t)};/*! *****************************************************************************
@@ -140,7 +140,7 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,w
140
140
  PERFORMANCE OF THIS SOFTWARE.
141
141
  ***************************************************************************** */function OF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}BC(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function BF(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function eh(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function TF(e){return _.nodes(e,{at:e.selection||void 0,match:function(t){return R.findPath(e,t).length===1}})}var hle=BT.includes;cs({target:"Array",proto:!0},{includes:function(e){return hle(this,e,arguments.length>1?arguments[1]:void 0)}}),qp("includes");var FF,TC,gle=function(){var e=Lr(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},FC=Ye.RegExp,PC=cn(function(){var e=FC("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),mle=PC||cn(function(){return!FC("a","y").sticky}),vle={BROKEN_CARET:PC||cn(function(){var e=FC("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:mle,UNSUPPORTED_Y:PC},yle=Ye.RegExp,ble=cn(function(){var e=yle(".","s");return!(e.dotAll&&e.exec(`
142
142
  `)&&e.flags==="s")}),wle=Ye.RegExp,$le=cn(function(){var e=wle("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Cle=_i.get,Ele=W3("native-string-replace",String.prototype.replace),Hv=RegExp.prototype.exec,IC=Hv,Sle=lt("".charAt),Dle=lt("".indexOf),xle=lt("".replace),NC=lt("".slice),LC=(TC=/b*/g,Hn(Hv,FF=/a/,"a"),Hn(Hv,TC,"a"),FF.lastIndex!==0||TC.lastIndex!==0),PF=vle.BROKEN_CARET,RC=/()??/.exec("")[1]!==void 0;(LC||RC||PF||ble||$le)&&(IC=function(e){var t,n,r,o,i,a,s,l=this,f=Cle(l),d=ua(e),p=f.raw;if(p)return p.lastIndex=l.lastIndex,t=Hn(IC,p,d),l.lastIndex=p.lastIndex,t;var h=f.groups,m=PF&&l.sticky,C=Hn(gle,l),$=l.source,b=0,w=d;if(m&&(C=xle(C,"y",""),Dle(C,"g")===-1&&(C+="g"),w=NC(d,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&Sle(d,l.lastIndex-1)!==`
143
- `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),RC&&(n=new RegExp("^"+$+"$(?!\\s)",C)),LC&&(r=l.lastIndex),o=Hn(Hv,m?n:l,w),m?o?(o.input=NC(o.input,b),o[0]=NC(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:LC&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),RC&&o&&o.length>1&&Hn(Ele,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=aC(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var Wv=IC;cs({target:"RegExp",proto:!0,forced:/./.exec!==Wv},{exec:Wv});var IF=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(t){var n=this.type;return R.getSelectedNodeByType(t,n)},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){var n=this.getListNode(t);if(n==null)return!1;var r=n.ordered;return(r!==void 0&&r)===this.ordered},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(_.isVoid(t,n)&&_.isBlock(t,n))return!0;var r=n.type;return!!["pre","code","table"].includes(r)||void 0})},e.prototype.exec=function(t,n){this.isActive(t)?ee.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):ee.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),Ale='<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>',kle='<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>',_le=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!1,n.title=$e("listModule.unOrderedList"),n.iconSvg=Ale,n}return OF(t,e),t}(IF),Ole=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!0,n.title=$e("listModule.orderedList"),n.iconSvg=kle,n}return OF(t,e),t}(IF),Ble={key:"bulletedList",factory:function(){return new _le}},Tle={key:"numberedList",factory:function(){return new Ole}},NF=[],LF,Fle={type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=o!==void 0&&o?"ol":"ul",a=function(f){var d=OC.get(f);if(d==null)return 0;var p=f,h=p.type,m=p.ordered,C=m!==void 0&&m,$=p.level,b=$===void 0?0:$,w=R.findPath(d,f);if(w[0]===0)return b+1;var y=J.previous(w),S=_.node(d,y);if(!S)return 0;var x=eh(S,1)[0];if(R.getNodeType(x)!==h)return b+1;var A=x,O=A.ordered,T=O!==void 0&&O,z=A.level,V=z===void 0?0:z;return V<b?b-V:V>b?0:V===b?T===C?0:1:0}(e);if(a>0)for(var s=0;s<a;s++)n+="<"+i+">",NF.push(i);var l=function(f){var d=OC.get(f);if(d==null)return 0;var p=f,h=p.type,m=p.ordered,C=m!==void 0&&m,$=p.level,b=$===void 0?0:$,w=R.findPath(d,f);if(w[0]===d.children.length-1)return b+1;var y=J.next(w),S=_.node(d,y);if(!S)return 0;var x=eh(S,1)[0];if(R.getNodeType(x)!==h)return b+1;var A=x,O=A.ordered,T=O!==void 0&&O,z=A.level,V=z===void 0?0:z;return V<b?b-V:V>b?0:V===b?T===C?0:1:0}(e);if(l>0)for(s=0;s<l;s++)r+="</"+NF.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},Ple=ur("species"),Ile=SC.filter,Nle=(LF="filter",K3>=51||!cn(function(){var e=[];return(e.constructor={})[Ple]=function(){return{foo:1}},e[LF](Boolean).foo!==1}));cs({target:"Array",proto:!0,forced:!Nle},{filter:function(e){return Ile(this,e,arguments.length>1?arguments[1]:void 0)}});var MC=Function.prototype,RF=MC.apply,Lle=MC.bind,MF=MC.call,Rle=typeof Reflect=="object"&&Reflect.apply||(Lle?MF.bind(RF):function(){return MF.apply(RF,arguments)}),Mle=ur("species"),jC=RegExp.prototype,jle=nF.charAt,zle=function(e,t,n){return t+(n?jle(e,t).length:1)},Vle=Math.floor,zC=lt("".charAt),Ule=lt("".replace),VC=lt("".slice),Hle=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Wle=/\$([$&'`]|\d{1,2})/g,qle=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=Wle;return o!==void 0&&(o=jp(o),l=Hle),Ule(i,l,function(f,d){var p;switch(zC(d,0)){case"$":return"$";case"&":return e;case"`":return VC(t,0,n);case"'":return VC(t,a);case"<":p=o[VC(d,1,-1)];break;default:var h=+d;if(h===0)return f;if(h>s){var m=Vle(h/10);return m===0?f:m<=s?r[m-1]===void 0?zC(d,1):r[m-1]+zC(d,1):f}p=r[h-1]}return p===void 0?"":p})},Gle=Ye.TypeError,Kle=function(e,t){var n=e.exec;if(fn(n)){var r=Hn(n,e,t);return r!==null&&Lr(r),r}if(aa(e)==="RegExp")return Hn(Wv,e,t);throw Gle("RegExp#exec called on incompatible receiver")},UC=ur("replace"),Yle=Math.max,Jle=Math.min,Xle=lt([].concat),HC=lt([].push),jF=lt("".indexOf),zF=lt("".slice),Zle="a".replace(/./,"$0")==="$0",VF=!!/./[UC]&&/./[UC]("a","$0")==="";(function(e,t,n,r){var o=ur(e),i=!cn(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!cn(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[Mle]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=lt(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=lt(f),$=d.exec;return $===Wv||$===jC.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});Oi(String.prototype,e,l[0]),Oi(jC,o,l[1])}r&&sa(jC[o],"sham",!0)})("replace",function(e,t,n){var r=VF?"$":"$0";return[function(o,i){var a=Sv(this),s=o==null?void 0:Hp(o,UC);return s?Hn(s,o,a,i):Hn(t,ua(a),o,i)},function(o,i){var a=Lr(this),s=ua(o);if(typeof i=="string"&&jF(i,r)===-1&&jF(i,"$<")===-1){var l=n(t,a,s,i);if(l.done)return l.value}var f=fn(i);f||(i=ua(i));var d=a.global;if(d){var p=a.unicode;a.lastIndex=0}for(var h=[];;){var m=Kle(a,s);if(m===null||(HC(h,m),!d))break;ua(m[0])===""&&(a.lastIndex=zle(s,_T(a.lastIndex),p))}for(var C,$="",b=0,w=0;w<h.length;w++){for(var y=ua((m=h[w])[0]),S=Yle(Jle(Wp(m.index),s.length),0),x=[],A=1;A<m.length;A++)HC(x,(C=m[A])===void 0?C:String(C));var O=m.groups;if(f){var T=Xle([y],x,S,s);O!==void 0&&HC(T,O);var z=ua(Rle(i,void 0,T))}else z=qle(y,s,S,x,O,i);S>=b&&($+=zF(s,b,S)+z,b=S+y.length)}return $+zF(s,b)}]},!!cn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Zle||VF);var Qle=Ye.TypeError,UF=function(e,t,n,r,o,i,a,s){for(var l,f,d=o,p=0,h=!!a&&$C(a,s);p<r;){if(p in n){if(l=h?h(n[p],p,t):n[p],i>0&&CC(l))f=qc(l),d=UF(e,t,l,f,d,i-1)-1;else{if(d>=9007199254740991)throw Qle("Exceed the acceptable array length");e[d]=l}d++}p++}return d},ece=UF;function WC(e){return e.length?e[0].tagName.toLowerCase():""}cs({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=jp(this),n=qc(t),r=yF(t,0);return r.length=ece(r,t,t,n,0,e===void 0?1:Wp(e)),r}}),qp("flat"),cs({global:!0},{globalThis:Ye}),vo&&(U.fn.append=vo),mo&&(U.fn.attr=mo),ql&&(U.fn.parent=ql);var tce={renderElems:[ple],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,o=e;return o.deleteBackward=function(i){var a=o.selection;if(a!=null)if(re.isExpanded(a))t(i);else{var s=R.getSelectedNodeByType(o,"list-item");if(s!=null)if(a.focus.offset!==0)t(i);else{var l=s.level,f=l===void 0?0:l;f>0?ee.setNodes(o,{level:f-1}):ee.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else t(i)}else t(i)},o.handleTab=function(){var i,a,s,l,f=o.selection;if(f!=null){if(re.isCollapsed(f)){var d=R.getSelectedNodeByType(o,"list-item");if(d==null)return void n();if(f.focus.offset===0){var p=d.level,h=p===void 0?0:p;return void ee.setNodes(o,{level:h+1})}}if(re.isExpanded(f)){var m=0,C=!1;try{for(var $=BF(TF(o)),b=$.next();!b.done;b=$.next()){var w=eh(b.value,1)[0];R.getNodeType(w)==="list-item"?m++:C=!0}}catch(T){i={error:T}}finally{try{b&&!b.done&&(a=$.return)&&a.call($)}finally{if(i)throw i.error}}if(C||m<=1)return void n();try{for(var y=BF(TF(o)),S=y.next();!S.done;S=y.next()){var x=eh(S.value,2),A=(w=x[0],x[1]),O=w.level;h=O===void 0?0:O,ee.setNodes(o,{level:h+1},{at:A})}}catch(T){s={error:T}}finally{try{S&&!S.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}}else n()}else n()},o.normalizeNode=function(i){var a=eh(i,2),s=a[0],l=a[1],f=R.getNodeType(s);return f!=="bulleted-list"&&f!=="numbered-list"||ee.unwrapNodes(o,{at:l}),r([s,l])},o},menus:[Ble,Tle],elemsToHtml:[Fle],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);(t=t.filter(function(a){return!!xe.isText(a)||!!n.isInline(a)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(a){return WC(a.parent())==="ol"}(r),i=function(a){for(var s=0,l=a.parent(),f=WC(l);f==="ul"||f==="ol";)f=WC(l=l.parent()),s++;return s-1}(r);return{type:"list-item",ordered:o,level:i,children:t}}}]},HF=Rb(function(e,t){var n=200,r="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",f="[object AsyncFunction]",d="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Function]",C="[object GeneratorFunction]",$="[object Map]",b="[object Number]",w="[object Null]",y="[object Object]",S="[object Promise]",x="[object Proxy]",A="[object RegExp]",O="[object Set]",T="[object String]",z="[object Symbol]",V="[object Undefined]",ue="[object WeakMap]",oe="[object ArrayBuffer]",de="[object DataView]",me="[object Float32Array]",_e="[object Float64Array]",Ee="[object Int8Array]",Be="[object Int16Array]",Fe="[object Int32Array]",je="[object Uint8Array]",Ue="[object Uint8ClampedArray]",Oe="[object Uint16Array]",Je="[object Uint32Array]",G=/[\\^$.*+?()[\]{}|]/g,H=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,L={};L[me]=L[_e]=L[Ee]=L[Be]=L[Fe]=L[je]=L[Ue]=L[Oe]=L[Je]=!0,L[s]=L[l]=L[oe]=L[d]=L[de]=L[p]=L[h]=L[m]=L[$]=L[b]=L[y]=L[A]=L[O]=L[T]=L[ue]=!1;var Y=typeof tn=="object"&&tn&&tn.Object===Object&&tn,q=typeof self=="object"&&self&&self.Object===Object&&self,B=Y||q||Function("return this")(),ce=t&&!t.nodeType&&t,ge=ce&&!0&&e&&!e.nodeType&&e,Ae=ge&&ge.exports===ce,j=Ae&&Y.process,ve=function(){try{return j&&j.binding&&j.binding("util")}catch{}}(),ae=ve&&ve.isTypedArray;function X(D,P){for(var W=-1,ie=D==null?0:D.length,Qe=0,Me=[];++W<ie;){var gt=D[W];P(gt,W,D)&&(Me[Qe++]=gt)}return Me}function te(D,P){for(var W=-1,ie=P.length,Qe=D.length;++W<ie;)D[Qe+W]=P[W];return D}function pe(D,P){for(var W=-1,ie=D==null?0:D.length;++W<ie;)if(P(D[W],W,D))return!0;return!1}function ye(D,P){for(var W=-1,ie=Array(D);++W<D;)ie[W]=P(W);return ie}function De(D){return function(P){return D(P)}}function Le(D,P){return D.has(P)}function Ve(D,P){return D==null?void 0:D[P]}function ze(D){var P=-1,W=Array(D.size);return D.forEach(function(ie,Qe){W[++P]=[Qe,ie]}),W}function ft(D,P){return function(W){return D(P(W))}}function It(D){var P=-1,W=Array(D.size);return D.forEach(function(ie){W[++P]=ie}),W}var Ze=Array.prototype,At=Function.prototype,Dt=Object.prototype,Bt=B["__core-js_shared__"],hn=At.toString,Xt=Dt.hasOwnProperty,gn=function(){var D=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),Ar=Dt.toString,Mr=RegExp("^"+hn.call(Xt).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),er=Ae?B.Buffer:void 0,cr=B.Symbol,kr=B.Uint8Array,fr=Dt.propertyIsEnumerable,wr=Ze.splice,tr=cr?cr.toStringTag:void 0,oo=Object.getOwnPropertySymbols,ui=er?er.isBuffer:void 0,io=ft(Object.keys,Object),zi=Cr(B,"DataView"),No=Cr(B,"Map"),ao=Cr(B,"Promise"),jr=Cr(B,"Set"),li=Cr(B,"WeakMap"),Lo=Cr(Object,"create"),Rs=dr(zi),so=dr(No),vl=dr(ao),Sg=dr(jr),yl=dr(li),kf=cr?cr.prototype:void 0,bl=kf?kf.valueOf:void 0;function qn(D){var P=-1,W=D==null?0:D.length;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Dg(){this.__data__=Lo?Lo(null):{},this.size=0}function xg(D){var P=this.has(D)&&delete this.__data__[D];return this.size-=P?1:0,P}function Ag(D){var P=this.__data__;if(Lo){var W=P[D];return W===r?void 0:W}return Xt.call(P,D)?P[D]:void 0}function kg(D){var P=this.__data__;return Lo?P[D]!==void 0:Xt.call(P,D)}function _g(D,P){var W=this.__data__;return this.size+=this.has(D)?0:1,W[D]=Lo&&P===void 0?r:P,this}qn.prototype.clear=Dg,qn.prototype.delete=xg,qn.prototype.get=Ag,qn.prototype.has=kg,qn.prototype.set=_g;function Gn(D){var P=-1,W=D==null?0:D.length;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Og(){this.__data__=[],this.size=0}function Bg(D){var P=this.__data__,W=ha(P,D);if(W<0)return!1;var ie=P.length-1;return W==ie?P.pop():wr.call(P,W,1),--this.size,!0}function Tg(D){var P=this.__data__,W=ha(P,D);return W<0?void 0:P[W][1]}function Fg(D){return ha(this.__data__,D)>-1}function Pg(D,P){var W=this.__data__,ie=ha(W,D);return ie<0?(++this.size,W.push([D,P])):W[ie][1]=P,this}Gn.prototype.clear=Og,Gn.prototype.delete=Bg,Gn.prototype.get=Tg,Gn.prototype.has=Fg,Gn.prototype.set=Pg;function $r(D){var P=-1,W=D==null?0:D.length;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Ms(){this.size=0,this.__data__={hash:new qn,map:new(No||Gn),string:new qn}}function Ig(D){var P=_r(this,D).delete(D);return this.size-=P?1:0,P}function js(D){return _r(this,D).get(D)}function Ng(D){return _r(this,D).has(D)}function Lg(D,P){var W=_r(this,D),ie=W.size;return W.set(D,P),this.size+=W.size==ie?0:1,this}$r.prototype.clear=Ms,$r.prototype.delete=Ig,$r.prototype.get=js,$r.prototype.has=Ng,$r.prototype.set=Lg;function zs(D){var P=-1,W=D==null?0:D.length;for(this.__data__=new $r;++P<W;)this.add(D[P])}function wl(D){return this.__data__.set(D,r),this}function pa(D){return this.__data__.has(D)}zs.prototype.add=zs.prototype.push=wl,zs.prototype.has=pa;function uo(D){var P=this.__data__=new Gn(D);this.size=P.size}function $l(){this.__data__=new Gn,this.size=0}function Rg(D){var P=this.__data__,W=P.delete(D);return this.size=P.size,W}function Mg(D){return this.__data__.get(D)}function jg(D){return this.__data__.has(D)}function _f(D,P){var W=this.__data__;if(W instanceof Gn){var ie=W.__data__;if(!No||ie.length<n-1)return ie.push([D,P]),this.size=++W.size,this;W=this.__data__=new $r(ie)}return W.set(D,P),this.size=W.size,this}uo.prototype.clear=$l,uo.prototype.delete=Rg,uo.prototype.get=Mg,uo.prototype.has=jg,uo.prototype.set=_f;function Of(D,P){var W=Vs(D),ie=!W&&El(D),Qe=!W&&!ie&&Us(D),Me=!W&&!ie&&!Qe&&Uf(D),gt=W||ie||Qe||Me,Et=gt?ye(D.length,String):[],mt=Et.length;for(var xt in D)(P||Xt.call(D,xt))&&!(gt&&(xt=="length"||Qe&&(xt=="offset"||xt=="parent")||Me&&(xt=="buffer"||xt=="byteLength"||xt=="byteOffset")||Nf(xt,mt)))&&Et.push(xt);return Et}function ha(D,P){for(var W=D.length;W--;)if(zf(D[W][0],P))return W;return-1}function ga(D,P,W){var ie=P(D);return Vs(D)?ie:te(ie,W(D))}function ma(D){return D==null?D===void 0?V:w:tr&&tr in Object(D)?Ro(D):jf(D)}function Cl(D){return jo(D)&&ma(D)==s}function va(D,P,W,ie,Qe){return D===P?!0:D==null||P==null||!jo(D)&&!jo(P)?D!==D&&P!==P:Bf(D,P,W,ie,va,Qe)}function Bf(D,P,W,ie,Qe,Me){var gt=Vs(D),Et=Vs(P),mt=gt?l:Mo(D),xt=Et?l:Mo(P);mt=mt==s?y:mt,xt=xt==s?y:xt;var un=mt==y,pr=xt==y,mn=mt==xt;if(mn&&Us(D)){if(!Us(P))return!1;gt=!0,un=!1}if(mn&&!un)return Me||(Me=new uo),gt||Uf(D)?ya(D,P,W,ie,Qe,Me):Vg(D,P,mt,W,ie,Qe,Me);if(!(W&o)){var jt=un&&Xt.call(D,"__wrapped__"),Rn=pr&&Xt.call(P,"__wrapped__");if(jt||Rn){var fi=jt?D.value():D,zo=Rn?P.value():P;return Me||(Me=new uo),Qe(fi,zo,W,ie,Me)}}return mn?(Me||(Me=new uo),Pf(D,P,W,ie,Qe,Me)):!1}function zg(D){if(!Vf(D)||Rf(D))return!1;var P=Hs(D)?Mr:H;return P.test(dr(D))}function Tf(D){return jo(D)&&Dl(D.length)&&!!L[ma(D)]}function Ff(D){if(!Mf(D))return io(D);var P=[];for(var W in Object(D))Xt.call(D,W)&&W!="constructor"&&P.push(W);return P}function ya(D,P,W,ie,Qe,Me){var gt=W&o,Et=D.length,mt=P.length;if(Et!=mt&&!(gt&&mt>Et))return!1;var xt=Me.get(D);if(xt&&Me.get(P))return xt==P;var un=-1,pr=!0,mn=W&i?new zs:void 0;for(Me.set(D,P),Me.set(P,D);++un<Et;){var jt=D[un],Rn=P[un];if(ie)var fi=gt?ie(Rn,jt,un,P,D,Me):ie(jt,Rn,un,D,P,Me);if(fi!==void 0){if(fi)continue;pr=!1;break}if(mn){if(!pe(P,function(zo,Vi){if(!Le(mn,Vi)&&(jt===zo||Qe(jt,zo,W,ie,Me)))return mn.push(Vi)})){pr=!1;break}}else if(!(jt===Rn||Qe(jt,Rn,W,ie,Me))){pr=!1;break}}return Me.delete(D),Me.delete(P),pr}function Vg(D,P,W,ie,Qe,Me,gt){switch(W){case de:if(D.byteLength!=P.byteLength||D.byteOffset!=P.byteOffset)return!1;D=D.buffer,P=P.buffer;case oe:return!(D.byteLength!=P.byteLength||!Me(new kr(D),new kr(P)));case d:case p:case b:return zf(+D,+P);case h:return D.name==P.name&&D.message==P.message;case A:case T:return D==P+"";case $:var Et=ze;case O:var mt=ie&o;if(Et||(Et=It),D.size!=P.size&&!mt)return!1;var xt=gt.get(D);if(xt)return xt==P;ie|=i,gt.set(D,P);var un=ya(Et(D),Et(P),ie,Qe,Me,gt);return gt.delete(D),un;case z:if(bl)return bl.call(D)==bl.call(P)}return!1}function Pf(D,P,W,ie,Qe,Me){var gt=W&o,Et=ci(D),mt=Et.length,xt=ci(P),un=xt.length;if(mt!=un&&!gt)return!1;for(var pr=mt;pr--;){var mn=Et[pr];if(!(gt?mn in P:Xt.call(P,mn)))return!1}var jt=Me.get(D);if(jt&&Me.get(P))return jt==P;var Rn=!0;Me.set(D,P),Me.set(P,D);for(var fi=gt;++pr<mt;){mn=Et[pr];var zo=D[mn],Vi=P[mn];if(ie)var Hg=gt?ie(Vi,zo,mn,P,D,Me):ie(zo,Vi,mn,D,P,Me);if(!(Hg===void 0?zo===Vi||Qe(zo,Vi,W,ie,Me):Hg)){Rn=!1;break}fi||(fi=mn=="constructor")}if(Rn&&!fi){var Al=D.constructor,nr=P.constructor;Al!=nr&&"constructor"in D&&"constructor"in P&&!(typeof Al=="function"&&Al instanceof Al&&typeof nr=="function"&&nr instanceof nr)&&(Rn=!1)}return Me.delete(D),Me.delete(P),Rn}function ci(D){return ga(D,xl,If)}function _r(D,P){var W=D.__data__;return Lf(P)?W[typeof P=="string"?"string":"hash"]:W.map}function Cr(D,P){var W=Ve(D,P);return zg(W)?W:void 0}function Ro(D){var P=Xt.call(D,tr),W=D[tr];try{D[tr]=void 0;var ie=!0}catch{}var Qe=Ar.call(D);return ie&&(P?D[tr]=W:delete D[tr]),Qe}var If=oo?function(D){return D==null?[]:(D=Object(D),X(oo(D),function(P){return fr.call(D,P)}))}:Mt,Mo=ma;(zi&&Mo(new zi(new ArrayBuffer(1)))!=de||No&&Mo(new No)!=$||ao&&Mo(ao.resolve())!=S||jr&&Mo(new jr)!=O||li&&Mo(new li)!=ue)&&(Mo=function(D){var P=ma(D),W=P==y?D.constructor:void 0,ie=W?dr(W):"";if(ie)switch(ie){case Rs:return de;case so:return $;case vl:return S;case Sg:return O;case yl:return ue}return P});function Nf(D,P){return P=P==null?a:P,!!P&&(typeof D=="number"||I.test(D))&&D>-1&&D%1==0&&D<P}function Lf(D){var P=typeof D;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?D!=="__proto__":D===null}function Rf(D){return!!gn&&gn in D}function Mf(D){var P=D&&D.constructor,W=typeof P=="function"&&P.prototype||Dt;return D===W}function jf(D){return Ar.call(D)}function dr(D){if(D!=null){try{return hn.call(D)}catch{}try{return D+""}catch{}}return""}function zf(D,P){return D===P||D!==D&&P!==P}var El=Cl(function(){return arguments}())?Cl:function(D){return jo(D)&&Xt.call(D,"callee")&&!fr.call(D,"callee")},Vs=Array.isArray;function Sl(D){return D!=null&&Dl(D.length)&&!Hs(D)}var Us=ui||Nt;function Ug(D,P){return va(D,P)}function Hs(D){if(!Vf(D))return!1;var P=ma(D);return P==m||P==C||P==f||P==x}function Dl(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=a}function Vf(D){var P=typeof D;return D!=null&&(P=="object"||P=="function")}function jo(D){return D!=null&&typeof D=="object"}var Uf=ae?De(ae):Tf;function xl(D){return Sl(D)?Of(D):Ff(D)}function Mt(){return[]}function Nt(){return!1}e.exports=Ug});xr("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"}}),xr("zh-CN",{tableModule:{deleteCol:"\u5220\u9664\u5217",deleteRow:"\u5220\u9664\u884C",deleteTable:"\u5220\u9664\u8868\u683C",widthAuto:"\u5BBD\u5EA6\u81EA\u9002\u5E94",insertCol:"\u63D2\u5165\u5217",insertRow:"\u63D2\u5165\u884C",insertTable:"\u63D2\u5165\u8868\u683C",header:"\u8868\u5934"}});var WF=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qF(e){var t={exports:{}};return e(t,t.exports),t.exports}var ds,qv,Gv=function(e){return e&&e.Math==Math&&e},at=Gv(typeof globalThis=="object"&&globalThis)||Gv(typeof window=="object"&&window)||Gv(typeof self=="object"&&self)||Gv(typeof WF=="object"&&WF)||function(){return this}()||Function("return this")(),Fn=function(e){try{return!!e()}catch{return!0}},ps=!Fn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),th=Function.prototype.call,Pn=th.bind?th.bind(th):function(){return th.apply(th,arguments)},GF={}.propertyIsEnumerable,KF=Object.getOwnPropertyDescriptor,nce={f:KF&&!GF.call({1:2},1)?function(e){var t=KF(this,e);return!!t&&t.enumerable}:GF},qC=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},YF=Function.prototype,GC=YF.bind,KC=YF.call,rce=GC&&GC.bind(KC),pt=GC?function(e){return e&&rce(KC,e)}:function(e){return e&&function(){return KC.apply(e,arguments)}},oce=pt({}.toString),ice=pt("".slice),hs=function(e){return ice(oce(e),8,-1)},YC=at.Object,ace=pt("".split),JF=Fn(function(){return!YC("z").propertyIsEnumerable(0)})?function(e){return hs(e)=="String"?ace(e,""):YC(e)}:YC,sce=at.TypeError,gs=function(e){if(e==null)throw sce("Can't call method on "+e);return e},nh=function(e){return JF(gs(e))},lr=function(e){return typeof e=="function"},Oo=function(e){return typeof e=="object"?e!==null:lr(e)},uce=function(e){return lr(e)?e:void 0},rh=function(e,t){return arguments.length<2?uce(at[e]):at[e]&&at[e][t]},XF=pt({}.isPrototypeOf),JC=rh("navigator","userAgent")||"",ZF=at.process,QF=at.Deno,eP=ZF&&ZF.versions||QF&&QF.version,tP=eP&&eP.v8;tP&&(qv=(ds=tP.split("."))[0]>0&&ds[0]<4?1:+(ds[0]+ds[1])),!qv&&JC&&(!(ds=JC.match(/Edge\/(\d+)/))||ds[1]>=74)&&(ds=JC.match(/Chrome\/(\d+)/))&&(qv=+ds[1]);var XC=qv,ZC=!!Object.getOwnPropertySymbols&&!Fn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&XC&&XC<41}),QC=ZC&&!Symbol.sham&&typeof Symbol.iterator=="symbol",lce=at.Object,eE=QC?function(e){return typeof e=="symbol"}:function(e){var t=rh("Symbol");return lr(t)&&XF(t.prototype,lce(e))},cce=at.String,nP=function(e){try{return cce(e)}catch{return"Object"}},fce=at.TypeError,rP=function(e){if(lr(e))return e;throw fce(nP(e)+" is not a function")},tE=function(e,t){var n=e[t];return n==null?void 0:rP(n)},dce=at.TypeError,pce=Object.defineProperty,nE=function(e,t){try{pce(at,e,{value:t,configurable:!0,writable:!0})}catch{at[e]=t}return t},ms=at["__core-js_shared__"]||nE("__core-js_shared__",{}),rE=qF(function(e){(e.exports=function(t,n){return ms[t]||(ms[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),hce=at.Object,oE=function(e){return hce(gs(e))},gce=pt({}.hasOwnProperty),Bo=Object.hasOwn||function(e,t){return gce(oE(e),t)},mce=0,vce=Math.random(),yce=pt(1 .toString),oP=function(e){return"Symbol("+(e===void 0?"":e)+")_"+yce(++mce+vce,36)},oh=rE("wks"),Xu=at.Symbol,iP=Xu&&Xu.for,bce=QC?Xu:Xu&&Xu.withoutSetter||oP,To=function(e){if(!Bo(oh,e)||!ZC&&typeof oh[e]!="string"){var t="Symbol."+e;ZC&&Bo(Xu,e)?oh[e]=Xu[e]:oh[e]=QC&&iP?iP(t):bce(t)}return oh[e]},wce=at.TypeError,$ce=To("toPrimitive"),Cce=function(e,t){if(!Oo(e)||eE(e))return e;var n,r=tE(e,$ce);if(r){if(t===void 0&&(t="default"),n=Pn(r,e,t),!Oo(n)||eE(n))return n;throw wce("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&lr(a=o.toString)&&!Oo(s=Pn(a,o))||lr(a=o.valueOf)&&!Oo(s=Pn(a,o))||i!=="string"&&lr(a=o.toString)&&!Oo(s=Pn(a,o)))return s;throw dce("Can't convert object to primitive value")}(e,t)},iE=function(e){var t=Cce(e,"string");return eE(t)?t:t+""},aE=at.document,Ece=Oo(aE)&&Oo(aE.createElement),sE=function(e){return Ece?aE.createElement(e):{}},aP=!ps&&!Fn(function(){return Object.defineProperty(sE("div"),"a",{get:function(){return 7}}).a!=7}),sP=Object.getOwnPropertyDescriptor,uP={f:ps?sP:function(e,t){if(e=nh(e),t=iE(t),aP)try{return sP(e,t)}catch{}if(Bo(e,t))return qC(!Pn(nce.f,e,t),e[t])}},Sce=at.String,Dce=at.TypeError,Fo=function(e){if(Oo(e))return e;throw Dce(Sce(e)+" is not an object")},xce=at.TypeError,lP=Object.defineProperty,ih={f:ps?lP:function(e,t,n){if(Fo(e),t=iE(t),Fo(n),aP)try{return lP(e,t,n)}catch{}if("get"in n||"set"in n)throw xce("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Yc=ps?function(e,t,n){return ih.f(e,t,qC(1,n))}:function(e,t,n){return e[t]=n,e},Ace=pt(Function.toString);lr(ms.inspectSource)||(ms.inspectSource=function(e){return Ace(e)});var Kv,ah,Yv,uE=ms.inspectSource,cP=at.WeakMap,kce=lr(cP)&&/native code/.test(uE(cP)),fP=rE("keys"),dP=function(e){return fP[e]||(fP[e]=oP(e))},lE={},cE=at.TypeError,_ce=at.WeakMap;if(kce||ms.state){var Zu=ms.state||(ms.state=new _ce),Oce=pt(Zu.get),pP=pt(Zu.has),Bce=pt(Zu.set);Kv=function(e,t){if(pP(Zu,e))throw new cE("Object already initialized");return t.facade=e,Bce(Zu,e,t),t},ah=function(e){return Oce(Zu,e)||{}},Yv=function(e){return pP(Zu,e)}}else{var Jc=dP("state");lE[Jc]=!0,Kv=function(e,t){if(Bo(e,Jc))throw new cE("Object already initialized");return t.facade=e,Yc(e,Jc,t),t},ah=function(e){return Bo(e,Jc)?e[Jc]:{}},Yv=function(e){return Bo(e,Jc)}}var fE={set:Kv,get:ah,has:Yv,enforce:function(e){return Yv(e)?ah(e):Kv(e,{})},getterFor:function(e){return function(t){var n;if(!Oo(t)||(n=ah(t)).type!==e)throw cE("Incompatible receiver, "+e+" required");return n}}},hP=Function.prototype,Tce=ps&&Object.getOwnPropertyDescriptor,dE=Bo(hP,"name"),pE={EXISTS:dE,PROPER:dE&&function(){}.name==="something",CONFIGURABLE:dE&&(!ps||ps&&Tce(hP,"name").configurable)},sh=qF(function(e){var t=pE.CONFIGURABLE,n=fE.get,r=fE.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;lr(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Bo(s,"name")||t&&s.name!==m)&&Yc(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==at?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Yc(i,a,s)):p?i[a]=s:nE(a,s)})(Function.prototype,"toString",function(){return lr(this)&&n(this).source||uE(this)})}),Fce=Math.ceil,Pce=Math.floor,Jv=function(e){var t=+e;return t!=t||t===0?0:(t>0?Pce:Fce)(t)},Ice=Math.max,Nce=Math.min,uh=function(e,t){var n=Jv(e);return n<0?Ice(n+t,0):Nce(n,t)},Lce=Math.min,hE=function(e){return e>0?Lce(Jv(e),9007199254740991):0},Xv=function(e){return hE(e.length)},gP=function(e){return function(t,n,r){var o,i=nh(t),a=Xv(i),s=uh(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Rce={includes:gP(!0),indexOf:gP(!1)}.indexOf,mP=pt([].push),vP=function(e,t){var n,r=nh(e),o=0,i=[];for(n in r)!Bo(lE,n)&&Bo(r,n)&&mP(i,n);for(;t.length>o;)Bo(r,n=t[o++])&&(~Rce(i,n)||mP(i,n));return i},Zv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mce=Zv.concat("length","prototype"),jce={f:Object.getOwnPropertyNames||function(e){return vP(e,Mce)}},zce={f:Object.getOwnPropertySymbols},Vce=pt([].concat),Uce=rh("Reflect","ownKeys")||function(e){var t=jce.f(Fo(e)),n=zce.f;return n?Vce(t,n(e)):t},Hce=function(e,t){for(var n=Uce(t),r=ih.f,o=uP.f,i=0;i<n.length;i++){var a=n[i];Bo(e,a)||r(e,a,o(t,a))}},Wce=/#|\.prototype\./,lh=function(e,t){var n=Gce[qce(e)];return n==Yce||n!=Kce&&(lr(t)?Fn(t):!!t)},qce=lh.normalize=function(e){return String(e).replace(Wce,".").toLowerCase()},Gce=lh.data={},Kce=lh.NATIVE="N",Yce=lh.POLYFILL="P",Jce=lh,Xce=uP.f,vs=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?at:f?at[s]||nE(s,{}):(at[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Xce(n,r))&&a.value:n[r],!Jce(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;Hce(i,o)}(e.sham||o&&o.sham)&&Yc(i,"sham",!0),sh(n,r,i,e)}},yP={};yP[To("toStringTag")]="z";var bP,gE=String(yP)==="[object z]",Zce=To("toStringTag"),Qce=at.Object,efe=hs(function(){return arguments}())=="Arguments",mE=gE?hs:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Qce(e),Zce))=="string"?n:efe?hs(t):(r=hs(t))=="Object"&&lr(t.callee)?"Arguments":r},tfe=at.String,yr=function(e){if(mE(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return tfe(e)},nfe=/"/g,rfe=pt("".replace);vs({target:"String",proto:!0,forced:(bP="anchor",Fn(function(){var e=""[bP]('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return t="a",n="name",r=e,o=yr(gs(this)),i="<"+t,n!==""&&(i+=" "+n+'="'+rfe(yr(r),nfe,"&quot;")+'"'),i+">"+o+"</"+t+">";var t,n,r,o,i}});var Qv,wP=function(){var e=Fo(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},vE=at.RegExp,yE=Fn(function(){var e=vE("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),ofe=yE||Fn(function(){return!vE("a","y").sticky}),$P={BROKEN_CARET:yE||Fn(function(){var e=vE("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:ofe,UNSUPPORTED_Y:yE},ife=Object.keys||function(e){return vP(e,Zv)},afe=ps?Object.defineProperties:function(e,t){Fo(e);for(var n,r=nh(t),o=ife(t),i=o.length,a=0;i>a;)ih.f(e,n=o[a++],r[n]);return e},sfe=rh("document","documentElement"),CP=dP("IE_PROTO"),bE=function(){},EP=function(e){return"<script>"+e+"<\/script>"},SP=function(e){e.write(EP("")),e.close();var t=e.parentWindow.Object;return e=null,t},e1=function(){try{Qv=new ActiveXObject("htmlfile")}catch{}var e,t;e1=typeof document<"u"?document.domain&&Qv?SP(Qv):((t=sE("iframe")).style.display="none",sfe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(EP("document.F=Object")),e.close(),e.F):SP(Qv);for(var n=Zv.length;n--;)delete e1.prototype[Zv[n]];return e1()};lE[CP]=!0;var DP,wE,xP=Object.create||function(e,t){var n;return e!==null?(bE.prototype=Fo(e),n=new bE,bE.prototype=null,n[CP]=e):n=e1(),t===void 0?n:afe(n,t)},ufe=at.RegExp,lfe=Fn(function(){var e=ufe(".","s");return!(e.dotAll&&e.exec(`
143
+ `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),RC&&(n=new RegExp("^"+$+"$(?!\\s)",C)),LC&&(r=l.lastIndex),o=Hn(Hv,m?n:l,w),m?o?(o.input=NC(o.input,b),o[0]=NC(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:LC&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),RC&&o&&o.length>1&&Hn(Ele,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=aC(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var Wv=IC;cs({target:"RegExp",proto:!0,forced:/./.exec!==Wv},{exec:Wv});var IF=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(t){var n=this.type;return R.getSelectedNodeByType(t,n)},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){var n=this.getListNode(t);if(n==null)return!1;var r=n.ordered;return(r!==void 0&&r)===this.ordered},e.prototype.isDisabled=function(t){return t.selection==null||!!R.getSelectedElems(t).some(function(n){if(_.isVoid(t,n)&&_.isBlock(t,n))return!0;var r=n.type;return!!["pre","code","table"].includes(r)||void 0})},e.prototype.exec=function(t,n){this.isActive(t)?ee.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):ee.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),Ale='<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>',kle='<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>',_le=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!1,n.title=$e("listModule.unOrderedList"),n.iconSvg=Ale,n}return OF(t,e),t}(IF),Ole=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!0,n.title=$e("listModule.orderedList"),n.iconSvg=kle,n}return OF(t,e),t}(IF),Ble={key:"bulletedList",factory:function(){return new _le}},Tle={key:"numberedList",factory:function(){return new Ole}},NF=[],LF,Fle={type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=o!==void 0&&o?"ol":"ul",a=function(f){var d=OC.get(f);if(d==null)return 0;var p=f,h=p.type,m=p.ordered,C=m!==void 0&&m,$=p.level,b=$===void 0?0:$,w=R.findPath(d,f);if(w[0]===0)return b+1;var y=J.previous(w),S=_.node(d,y);if(!S)return 0;var x=eh(S,1)[0];if(R.getNodeType(x)!==h)return b+1;var A=x,O=A.ordered,T=O!==void 0&&O,z=A.level,V=z===void 0?0:z;return V<b?b-V:V>b?0:V===b?T===C?0:1:0}(e);if(a>0)for(var s=0;s<a;s++)n+="<"+i+">",NF.push(i);var l=function(f){var d=OC.get(f);if(d==null)return 0;var p=f,h=p.type,m=p.ordered,C=m!==void 0&&m,$=p.level,b=$===void 0?0:$,w=R.findPath(d,f);if(w[0]===d.children.length-1)return b+1;var y=J.next(w),S=_.node(d,y);if(!S)return 0;var x=eh(S,1)[0];if(R.getNodeType(x)!==h)return b+1;var A=x,O=A.ordered,T=O!==void 0&&O,z=A.level,V=z===void 0?0:z;return V<b?b-V:V>b?0:V===b?T===C?0:1:0}(e);if(l>0)for(s=0;s<l;s++)r+="</"+NF.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},Ple=ur("species"),Ile=SC.filter,Nle=(LF="filter",K3>=51||!cn(function(){var e=[];return(e.constructor={})[Ple]=function(){return{foo:1}},e[LF](Boolean).foo!==1}));cs({target:"Array",proto:!0,forced:!Nle},{filter:function(e){return Ile(this,e,arguments.length>1?arguments[1]:void 0)}});var MC=Function.prototype,RF=MC.apply,Lle=MC.bind,MF=MC.call,Rle=typeof Reflect=="object"&&Reflect.apply||(Lle?MF.bind(RF):function(){return MF.apply(RF,arguments)}),Mle=ur("species"),jC=RegExp.prototype,jle=nF.charAt,zle=function(e,t,n){return t+(n?jle(e,t).length:1)},Vle=Math.floor,zC=lt("".charAt),Ule=lt("".replace),VC=lt("".slice),Hle=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Wle=/\$([$&'`]|\d{1,2})/g,qle=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=Wle;return o!==void 0&&(o=jp(o),l=Hle),Ule(i,l,function(f,d){var p;switch(zC(d,0)){case"$":return"$";case"&":return e;case"`":return VC(t,0,n);case"'":return VC(t,a);case"<":p=o[VC(d,1,-1)];break;default:var h=+d;if(h===0)return f;if(h>s){var m=Vle(h/10);return m===0?f:m<=s?r[m-1]===void 0?zC(d,1):r[m-1]+zC(d,1):f}p=r[h-1]}return p===void 0?"":p})},Gle=Ye.TypeError,Kle=function(e,t){var n=e.exec;if(fn(n)){var r=Hn(n,e,t);return r!==null&&Lr(r),r}if(aa(e)==="RegExp")return Hn(Wv,e,t);throw Gle("RegExp#exec called on incompatible receiver")},UC=ur("replace"),Yle=Math.max,Jle=Math.min,Xle=lt([].concat),HC=lt([].push),jF=lt("".indexOf),zF=lt("".slice),Zle="a".replace(/./,"$0")==="$0",VF=!!/./[UC]&&/./[UC]("a","$0")==="";(function(e,t,n,r){var o=ur(e),i=!cn(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!cn(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[Mle]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=lt(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=lt(f),$=d.exec;return $===Wv||$===jC.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});Oi(String.prototype,e,l[0]),Oi(jC,o,l[1])}r&&sa(jC[o],"sham",!0)})("replace",function(e,t,n){var r=VF?"$":"$0";return[function(o,i){var a=Sv(this),s=o==null?void 0:Hp(o,UC);return s?Hn(s,o,a,i):Hn(t,ua(a),o,i)},function(o,i){var a=Lr(this),s=ua(o);if(typeof i=="string"&&jF(i,r)===-1&&jF(i,"$<")===-1){var l=n(t,a,s,i);if(l.done)return l.value}var f=fn(i);f||(i=ua(i));var d=a.global;if(d){var p=a.unicode;a.lastIndex=0}for(var h=[];;){var m=Kle(a,s);if(m===null||(HC(h,m),!d))break;ua(m[0])===""&&(a.lastIndex=zle(s,_T(a.lastIndex),p))}for(var C,$="",b=0,w=0;w<h.length;w++){for(var y=ua((m=h[w])[0]),S=Yle(Jle(Wp(m.index),s.length),0),x=[],A=1;A<m.length;A++)HC(x,(C=m[A])===void 0?C:String(C));var O=m.groups;if(f){var T=Xle([y],x,S,s);O!==void 0&&HC(T,O);var z=ua(Rle(i,void 0,T))}else z=qle(y,s,S,x,O,i);S>=b&&($+=zF(s,b,S)+z,b=S+y.length)}return $+zF(s,b)}]},!!cn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Zle||VF);var Qle=Ye.TypeError,UF=function(e,t,n,r,o,i,a,s){for(var l,f,d=o,p=0,h=!!a&&$C(a,s);p<r;){if(p in n){if(l=h?h(n[p],p,t):n[p],i>0&&CC(l))f=qc(l),d=UF(e,t,l,f,d,i-1)-1;else{if(d>=9007199254740991)throw Qle("Exceed the acceptable array length");e[d]=l}d++}p++}return d},ece=UF;function WC(e){return e.length?e[0].tagName.toLowerCase():""}cs({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=jp(this),n=qc(t),r=yF(t,0);return r.length=ece(r,t,t,n,0,e===void 0?1:Wp(e)),r}}),qp("flat"),cs({global:!0},{globalThis:Ye}),vo&&(U.fn.append=vo),mo&&(U.fn.attr=mo),ql&&(U.fn.parent=ql);var tce={renderElems:[ple],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,o=e;return o.deleteBackward=function(i){var a=o.selection;if(a!=null)if(re.isExpanded(a))t(i);else{var s=R.getSelectedNodeByType(o,"list-item");if(s!=null)if(a.focus.offset!==0)t(i);else{var l=s.level,f=l===void 0?0:l;f>0?ee.setNodes(o,{level:f-1}):ee.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else t(i)}else t(i)},o.handleTab=function(){var i,a,s,l,f=o.selection;if(f!=null){if(re.isCollapsed(f)){var d=R.getSelectedNodeByType(o,"list-item");if(d==null)return void n();if(f.focus.offset===0){var p=d.level,h=p===void 0?0:p;return void ee.setNodes(o,{level:h+1})}}if(re.isExpanded(f)){var m=0,C=!1;try{for(var $=BF(TF(o)),b=$.next();!b.done;b=$.next()){var w=eh(b.value,1)[0];R.getNodeType(w)==="list-item"?m++:C=!0}}catch(T){i={error:T}}finally{try{b&&!b.done&&(a=$.return)&&a.call($)}finally{if(i)throw i.error}}if(C||m<=1)return void n();try{for(var y=BF(TF(o)),S=y.next();!S.done;S=y.next()){var x=eh(S.value,2),A=(w=x[0],x[1]),O=w.level;h=O===void 0?0:O,ee.setNodes(o,{level:h+1},{at:A})}}catch(T){s={error:T}}finally{try{S&&!S.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}}else n()}else n()},o.normalizeNode=function(i){var a=eh(i,2),s=a[0],l=a[1],f=R.getNodeType(s);return f!=="bulleted-list"&&f!=="numbered-list"||ee.unwrapNodes(o,{at:l}),r([s,l])},o},menus:[Ble,Tle],elemsToHtml:[Fle],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);(t=t.filter(function(a){return!!xe.isText(a)||!!n.isInline(a)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(a){return WC(a.parent())==="ol"}(r),i=function(a){for(var s=0,l=a.parent(),f=WC(l);f==="ul"||f==="ol";)f=WC(l=l.parent()),s++;return s-1}(r);return{type:"list-item",ordered:o,level:i,children:t}}}]},HF=Rb(function(e,t){var n=200,r="__lodash_hash_undefined__",o=1,i=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",f="[object AsyncFunction]",d="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Function]",C="[object GeneratorFunction]",$="[object Map]",b="[object Number]",w="[object Null]",y="[object Object]",S="[object Promise]",x="[object Proxy]",A="[object RegExp]",O="[object Set]",T="[object String]",z="[object Symbol]",V="[object Undefined]",ue="[object WeakMap]",oe="[object ArrayBuffer]",de="[object DataView]",me="[object Float32Array]",_e="[object Float64Array]",Ee="[object Int8Array]",Be="[object Int16Array]",Fe="[object Int32Array]",je="[object Uint8Array]",Ue="[object Uint8ClampedArray]",Oe="[object Uint16Array]",Je="[object Uint32Array]",G=/[\\^$.*+?()[\]{}|]/g,H=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,L={};L[me]=L[_e]=L[Ee]=L[Be]=L[Fe]=L[je]=L[Ue]=L[Oe]=L[Je]=!0,L[s]=L[l]=L[oe]=L[d]=L[de]=L[p]=L[h]=L[m]=L[$]=L[b]=L[y]=L[A]=L[O]=L[T]=L[ue]=!1;var Y=typeof tn=="object"&&tn&&tn.Object===Object&&tn,q=typeof self=="object"&&self&&self.Object===Object&&self,B=Y||q||Function("return this")(),ce=t&&!t.nodeType&&t,ge=ce&&!0&&e&&!e.nodeType&&e,Ae=ge&&ge.exports===ce,j=Ae&&Y.process,ve=function(){try{return j&&j.binding&&j.binding("util")}catch{}}(),ae=ve&&ve.isTypedArray;function X(D,P){for(var W=-1,ie=D==null?0:D.length,Qe=0,Me=[];++W<ie;){var gt=D[W];P(gt,W,D)&&(Me[Qe++]=gt)}return Me}function te(D,P){for(var W=-1,ie=P.length,Qe=D.length;++W<ie;)D[Qe+W]=P[W];return D}function pe(D,P){for(var W=-1,ie=D==null?0:D.length;++W<ie;)if(P(D[W],W,D))return!0;return!1}function ye(D,P){for(var W=-1,ie=Array(D);++W<D;)ie[W]=P(W);return ie}function De(D){return function(P){return D(P)}}function Le(D,P){return D.has(P)}function Ve(D,P){return D==null?void 0:D[P]}function ze(D){var P=-1,W=Array(D.size);return D.forEach(function(ie,Qe){W[++P]=[Qe,ie]}),W}function ft(D,P){return function(W){return D(P(W))}}function It(D){var P=-1,W=Array(D.size);return D.forEach(function(ie){W[++P]=ie}),W}var Ze=Array.prototype,At=Function.prototype,Dt=Object.prototype,Bt=B["__core-js_shared__"],hn=At.toString,Xt=Dt.hasOwnProperty,gn=function(){var D=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||"");return D?"Symbol(src)_1."+D:""}(),Ar=Dt.toString,Mr=RegExp("^"+hn.call(Xt).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),er=Ae?B.Buffer:void 0,cr=B.Symbol,kr=B.Uint8Array,fr=Dt.propertyIsEnumerable,wr=Ze.splice,tr=cr?cr.toStringTag:void 0,io=Object.getOwnPropertySymbols,ui=er?er.isBuffer:void 0,ao=ft(Object.keys,Object),zi=Cr(B,"DataView"),No=Cr(B,"Map"),so=Cr(B,"Promise"),jr=Cr(B,"Set"),li=Cr(B,"WeakMap"),Lo=Cr(Object,"create"),Rs=dr(zi),uo=dr(No),vl=dr(so),Sg=dr(jr),yl=dr(li),kf=cr?cr.prototype:void 0,bl=kf?kf.valueOf:void 0;function qn(D){var P=-1,W=D==null?0:D.length;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Dg(){this.__data__=Lo?Lo(null):{},this.size=0}function xg(D){var P=this.has(D)&&delete this.__data__[D];return this.size-=P?1:0,P}function Ag(D){var P=this.__data__;if(Lo){var W=P[D];return W===r?void 0:W}return Xt.call(P,D)?P[D]:void 0}function kg(D){var P=this.__data__;return Lo?P[D]!==void 0:Xt.call(P,D)}function _g(D,P){var W=this.__data__;return this.size+=this.has(D)?0:1,W[D]=Lo&&P===void 0?r:P,this}qn.prototype.clear=Dg,qn.prototype.delete=xg,qn.prototype.get=Ag,qn.prototype.has=kg,qn.prototype.set=_g;function Gn(D){var P=-1,W=D==null?0:D.length;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Og(){this.__data__=[],this.size=0}function Bg(D){var P=this.__data__,W=ha(P,D);if(W<0)return!1;var ie=P.length-1;return W==ie?P.pop():wr.call(P,W,1),--this.size,!0}function Tg(D){var P=this.__data__,W=ha(P,D);return W<0?void 0:P[W][1]}function Fg(D){return ha(this.__data__,D)>-1}function Pg(D,P){var W=this.__data__,ie=ha(W,D);return ie<0?(++this.size,W.push([D,P])):W[ie][1]=P,this}Gn.prototype.clear=Og,Gn.prototype.delete=Bg,Gn.prototype.get=Tg,Gn.prototype.has=Fg,Gn.prototype.set=Pg;function $r(D){var P=-1,W=D==null?0:D.length;for(this.clear();++P<W;){var ie=D[P];this.set(ie[0],ie[1])}}function Ms(){this.size=0,this.__data__={hash:new qn,map:new(No||Gn),string:new qn}}function Ig(D){var P=_r(this,D).delete(D);return this.size-=P?1:0,P}function js(D){return _r(this,D).get(D)}function Ng(D){return _r(this,D).has(D)}function Lg(D,P){var W=_r(this,D),ie=W.size;return W.set(D,P),this.size+=W.size==ie?0:1,this}$r.prototype.clear=Ms,$r.prototype.delete=Ig,$r.prototype.get=js,$r.prototype.has=Ng,$r.prototype.set=Lg;function zs(D){var P=-1,W=D==null?0:D.length;for(this.__data__=new $r;++P<W;)this.add(D[P])}function wl(D){return this.__data__.set(D,r),this}function pa(D){return this.__data__.has(D)}zs.prototype.add=zs.prototype.push=wl,zs.prototype.has=pa;function lo(D){var P=this.__data__=new Gn(D);this.size=P.size}function $l(){this.__data__=new Gn,this.size=0}function Rg(D){var P=this.__data__,W=P.delete(D);return this.size=P.size,W}function Mg(D){return this.__data__.get(D)}function jg(D){return this.__data__.has(D)}function _f(D,P){var W=this.__data__;if(W instanceof Gn){var ie=W.__data__;if(!No||ie.length<n-1)return ie.push([D,P]),this.size=++W.size,this;W=this.__data__=new $r(ie)}return W.set(D,P),this.size=W.size,this}lo.prototype.clear=$l,lo.prototype.delete=Rg,lo.prototype.get=Mg,lo.prototype.has=jg,lo.prototype.set=_f;function Of(D,P){var W=Vs(D),ie=!W&&El(D),Qe=!W&&!ie&&Us(D),Me=!W&&!ie&&!Qe&&Uf(D),gt=W||ie||Qe||Me,Et=gt?ye(D.length,String):[],mt=Et.length;for(var xt in D)(P||Xt.call(D,xt))&&!(gt&&(xt=="length"||Qe&&(xt=="offset"||xt=="parent")||Me&&(xt=="buffer"||xt=="byteLength"||xt=="byteOffset")||Nf(xt,mt)))&&Et.push(xt);return Et}function ha(D,P){for(var W=D.length;W--;)if(zf(D[W][0],P))return W;return-1}function ga(D,P,W){var ie=P(D);return Vs(D)?ie:te(ie,W(D))}function ma(D){return D==null?D===void 0?V:w:tr&&tr in Object(D)?Ro(D):jf(D)}function Cl(D){return jo(D)&&ma(D)==s}function va(D,P,W,ie,Qe){return D===P?!0:D==null||P==null||!jo(D)&&!jo(P)?D!==D&&P!==P:Bf(D,P,W,ie,va,Qe)}function Bf(D,P,W,ie,Qe,Me){var gt=Vs(D),Et=Vs(P),mt=gt?l:Mo(D),xt=Et?l:Mo(P);mt=mt==s?y:mt,xt=xt==s?y:xt;var un=mt==y,pr=xt==y,mn=mt==xt;if(mn&&Us(D)){if(!Us(P))return!1;gt=!0,un=!1}if(mn&&!un)return Me||(Me=new lo),gt||Uf(D)?ya(D,P,W,ie,Qe,Me):Vg(D,P,mt,W,ie,Qe,Me);if(!(W&o)){var jt=un&&Xt.call(D,"__wrapped__"),Rn=pr&&Xt.call(P,"__wrapped__");if(jt||Rn){var fi=jt?D.value():D,zo=Rn?P.value():P;return Me||(Me=new lo),Qe(fi,zo,W,ie,Me)}}return mn?(Me||(Me=new lo),Pf(D,P,W,ie,Qe,Me)):!1}function zg(D){if(!Vf(D)||Rf(D))return!1;var P=Hs(D)?Mr:H;return P.test(dr(D))}function Tf(D){return jo(D)&&Dl(D.length)&&!!L[ma(D)]}function Ff(D){if(!Mf(D))return ao(D);var P=[];for(var W in Object(D))Xt.call(D,W)&&W!="constructor"&&P.push(W);return P}function ya(D,P,W,ie,Qe,Me){var gt=W&o,Et=D.length,mt=P.length;if(Et!=mt&&!(gt&&mt>Et))return!1;var xt=Me.get(D);if(xt&&Me.get(P))return xt==P;var un=-1,pr=!0,mn=W&i?new zs:void 0;for(Me.set(D,P),Me.set(P,D);++un<Et;){var jt=D[un],Rn=P[un];if(ie)var fi=gt?ie(Rn,jt,un,P,D,Me):ie(jt,Rn,un,D,P,Me);if(fi!==void 0){if(fi)continue;pr=!1;break}if(mn){if(!pe(P,function(zo,Vi){if(!Le(mn,Vi)&&(jt===zo||Qe(jt,zo,W,ie,Me)))return mn.push(Vi)})){pr=!1;break}}else if(!(jt===Rn||Qe(jt,Rn,W,ie,Me))){pr=!1;break}}return Me.delete(D),Me.delete(P),pr}function Vg(D,P,W,ie,Qe,Me,gt){switch(W){case de:if(D.byteLength!=P.byteLength||D.byteOffset!=P.byteOffset)return!1;D=D.buffer,P=P.buffer;case oe:return!(D.byteLength!=P.byteLength||!Me(new kr(D),new kr(P)));case d:case p:case b:return zf(+D,+P);case h:return D.name==P.name&&D.message==P.message;case A:case T:return D==P+"";case $:var Et=ze;case O:var mt=ie&o;if(Et||(Et=It),D.size!=P.size&&!mt)return!1;var xt=gt.get(D);if(xt)return xt==P;ie|=i,gt.set(D,P);var un=ya(Et(D),Et(P),ie,Qe,Me,gt);return gt.delete(D),un;case z:if(bl)return bl.call(D)==bl.call(P)}return!1}function Pf(D,P,W,ie,Qe,Me){var gt=W&o,Et=ci(D),mt=Et.length,xt=ci(P),un=xt.length;if(mt!=un&&!gt)return!1;for(var pr=mt;pr--;){var mn=Et[pr];if(!(gt?mn in P:Xt.call(P,mn)))return!1}var jt=Me.get(D);if(jt&&Me.get(P))return jt==P;var Rn=!0;Me.set(D,P),Me.set(P,D);for(var fi=gt;++pr<mt;){mn=Et[pr];var zo=D[mn],Vi=P[mn];if(ie)var Hg=gt?ie(Vi,zo,mn,P,D,Me):ie(zo,Vi,mn,D,P,Me);if(!(Hg===void 0?zo===Vi||Qe(zo,Vi,W,ie,Me):Hg)){Rn=!1;break}fi||(fi=mn=="constructor")}if(Rn&&!fi){var Al=D.constructor,nr=P.constructor;Al!=nr&&"constructor"in D&&"constructor"in P&&!(typeof Al=="function"&&Al instanceof Al&&typeof nr=="function"&&nr instanceof nr)&&(Rn=!1)}return Me.delete(D),Me.delete(P),Rn}function ci(D){return ga(D,xl,If)}function _r(D,P){var W=D.__data__;return Lf(P)?W[typeof P=="string"?"string":"hash"]:W.map}function Cr(D,P){var W=Ve(D,P);return zg(W)?W:void 0}function Ro(D){var P=Xt.call(D,tr),W=D[tr];try{D[tr]=void 0;var ie=!0}catch{}var Qe=Ar.call(D);return ie&&(P?D[tr]=W:delete D[tr]),Qe}var If=io?function(D){return D==null?[]:(D=Object(D),X(io(D),function(P){return fr.call(D,P)}))}:Mt,Mo=ma;(zi&&Mo(new zi(new ArrayBuffer(1)))!=de||No&&Mo(new No)!=$||so&&Mo(so.resolve())!=S||jr&&Mo(new jr)!=O||li&&Mo(new li)!=ue)&&(Mo=function(D){var P=ma(D),W=P==y?D.constructor:void 0,ie=W?dr(W):"";if(ie)switch(ie){case Rs:return de;case uo:return $;case vl:return S;case Sg:return O;case yl:return ue}return P});function Nf(D,P){return P=P==null?a:P,!!P&&(typeof D=="number"||I.test(D))&&D>-1&&D%1==0&&D<P}function Lf(D){var P=typeof D;return P=="string"||P=="number"||P=="symbol"||P=="boolean"?D!=="__proto__":D===null}function Rf(D){return!!gn&&gn in D}function Mf(D){var P=D&&D.constructor,W=typeof P=="function"&&P.prototype||Dt;return D===W}function jf(D){return Ar.call(D)}function dr(D){if(D!=null){try{return hn.call(D)}catch{}try{return D+""}catch{}}return""}function zf(D,P){return D===P||D!==D&&P!==P}var El=Cl(function(){return arguments}())?Cl:function(D){return jo(D)&&Xt.call(D,"callee")&&!fr.call(D,"callee")},Vs=Array.isArray;function Sl(D){return D!=null&&Dl(D.length)&&!Hs(D)}var Us=ui||Nt;function Ug(D,P){return va(D,P)}function Hs(D){if(!Vf(D))return!1;var P=ma(D);return P==m||P==C||P==f||P==x}function Dl(D){return typeof D=="number"&&D>-1&&D%1==0&&D<=a}function Vf(D){var P=typeof D;return D!=null&&(P=="object"||P=="function")}function jo(D){return D!=null&&typeof D=="object"}var Uf=ae?De(ae):Tf;function xl(D){return Sl(D)?Of(D):Ff(D)}function Mt(){return[]}function Nt(){return!1}e.exports=Ug});xr("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"}}),xr("zh-CN",{tableModule:{deleteCol:"\u5220\u9664\u5217",deleteRow:"\u5220\u9664\u884C",deleteTable:"\u5220\u9664\u8868\u683C",widthAuto:"\u5BBD\u5EA6\u81EA\u9002\u5E94",insertCol:"\u63D2\u5165\u5217",insertRow:"\u63D2\u5165\u884C",insertTable:"\u63D2\u5165\u8868\u683C",header:"\u8868\u5934"}});var WF=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qF(e){var t={exports:{}};return e(t,t.exports),t.exports}var ds,qv,Gv=function(e){return e&&e.Math==Math&&e},at=Gv(typeof globalThis=="object"&&globalThis)||Gv(typeof window=="object"&&window)||Gv(typeof self=="object"&&self)||Gv(typeof WF=="object"&&WF)||function(){return this}()||Function("return this")(),Fn=function(e){try{return!!e()}catch{return!0}},ps=!Fn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),th=Function.prototype.call,Pn=th.bind?th.bind(th):function(){return th.apply(th,arguments)},GF={}.propertyIsEnumerable,KF=Object.getOwnPropertyDescriptor,nce={f:KF&&!GF.call({1:2},1)?function(e){var t=KF(this,e);return!!t&&t.enumerable}:GF},qC=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},YF=Function.prototype,GC=YF.bind,KC=YF.call,rce=GC&&GC.bind(KC),pt=GC?function(e){return e&&rce(KC,e)}:function(e){return e&&function(){return KC.apply(e,arguments)}},oce=pt({}.toString),ice=pt("".slice),hs=function(e){return ice(oce(e),8,-1)},YC=at.Object,ace=pt("".split),JF=Fn(function(){return!YC("z").propertyIsEnumerable(0)})?function(e){return hs(e)=="String"?ace(e,""):YC(e)}:YC,sce=at.TypeError,gs=function(e){if(e==null)throw sce("Can't call method on "+e);return e},nh=function(e){return JF(gs(e))},lr=function(e){return typeof e=="function"},Oo=function(e){return typeof e=="object"?e!==null:lr(e)},uce=function(e){return lr(e)?e:void 0},rh=function(e,t){return arguments.length<2?uce(at[e]):at[e]&&at[e][t]},XF=pt({}.isPrototypeOf),JC=rh("navigator","userAgent")||"",ZF=at.process,QF=at.Deno,eP=ZF&&ZF.versions||QF&&QF.version,tP=eP&&eP.v8;tP&&(qv=(ds=tP.split("."))[0]>0&&ds[0]<4?1:+(ds[0]+ds[1])),!qv&&JC&&(!(ds=JC.match(/Edge\/(\d+)/))||ds[1]>=74)&&(ds=JC.match(/Chrome\/(\d+)/))&&(qv=+ds[1]);var XC=qv,ZC=!!Object.getOwnPropertySymbols&&!Fn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&XC&&XC<41}),QC=ZC&&!Symbol.sham&&typeof Symbol.iterator=="symbol",lce=at.Object,eE=QC?function(e){return typeof e=="symbol"}:function(e){var t=rh("Symbol");return lr(t)&&XF(t.prototype,lce(e))},cce=at.String,nP=function(e){try{return cce(e)}catch{return"Object"}},fce=at.TypeError,rP=function(e){if(lr(e))return e;throw fce(nP(e)+" is not a function")},tE=function(e,t){var n=e[t];return n==null?void 0:rP(n)},dce=at.TypeError,pce=Object.defineProperty,nE=function(e,t){try{pce(at,e,{value:t,configurable:!0,writable:!0})}catch{at[e]=t}return t},ms=at["__core-js_shared__"]||nE("__core-js_shared__",{}),rE=qF(function(e){(e.exports=function(t,n){return ms[t]||(ms[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),hce=at.Object,oE=function(e){return hce(gs(e))},gce=pt({}.hasOwnProperty),Bo=Object.hasOwn||function(e,t){return gce(oE(e),t)},mce=0,vce=Math.random(),yce=pt(1 .toString),oP=function(e){return"Symbol("+(e===void 0?"":e)+")_"+yce(++mce+vce,36)},oh=rE("wks"),Xu=at.Symbol,iP=Xu&&Xu.for,bce=QC?Xu:Xu&&Xu.withoutSetter||oP,To=function(e){if(!Bo(oh,e)||!ZC&&typeof oh[e]!="string"){var t="Symbol."+e;ZC&&Bo(Xu,e)?oh[e]=Xu[e]:oh[e]=QC&&iP?iP(t):bce(t)}return oh[e]},wce=at.TypeError,$ce=To("toPrimitive"),Cce=function(e,t){if(!Oo(e)||eE(e))return e;var n,r=tE(e,$ce);if(r){if(t===void 0&&(t="default"),n=Pn(r,e,t),!Oo(n)||eE(n))return n;throw wce("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&lr(a=o.toString)&&!Oo(s=Pn(a,o))||lr(a=o.valueOf)&&!Oo(s=Pn(a,o))||i!=="string"&&lr(a=o.toString)&&!Oo(s=Pn(a,o)))return s;throw dce("Can't convert object to primitive value")}(e,t)},iE=function(e){var t=Cce(e,"string");return eE(t)?t:t+""},aE=at.document,Ece=Oo(aE)&&Oo(aE.createElement),sE=function(e){return Ece?aE.createElement(e):{}},aP=!ps&&!Fn(function(){return Object.defineProperty(sE("div"),"a",{get:function(){return 7}}).a!=7}),sP=Object.getOwnPropertyDescriptor,uP={f:ps?sP:function(e,t){if(e=nh(e),t=iE(t),aP)try{return sP(e,t)}catch{}if(Bo(e,t))return qC(!Pn(nce.f,e,t),e[t])}},Sce=at.String,Dce=at.TypeError,Fo=function(e){if(Oo(e))return e;throw Dce(Sce(e)+" is not an object")},xce=at.TypeError,lP=Object.defineProperty,ih={f:ps?lP:function(e,t,n){if(Fo(e),t=iE(t),Fo(n),aP)try{return lP(e,t,n)}catch{}if("get"in n||"set"in n)throw xce("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Yc=ps?function(e,t,n){return ih.f(e,t,qC(1,n))}:function(e,t,n){return e[t]=n,e},Ace=pt(Function.toString);lr(ms.inspectSource)||(ms.inspectSource=function(e){return Ace(e)});var Kv,ah,Yv,uE=ms.inspectSource,cP=at.WeakMap,kce=lr(cP)&&/native code/.test(uE(cP)),fP=rE("keys"),dP=function(e){return fP[e]||(fP[e]=oP(e))},lE={},cE=at.TypeError,_ce=at.WeakMap;if(kce||ms.state){var Zu=ms.state||(ms.state=new _ce),Oce=pt(Zu.get),pP=pt(Zu.has),Bce=pt(Zu.set);Kv=function(e,t){if(pP(Zu,e))throw new cE("Object already initialized");return t.facade=e,Bce(Zu,e,t),t},ah=function(e){return Oce(Zu,e)||{}},Yv=function(e){return pP(Zu,e)}}else{var Jc=dP("state");lE[Jc]=!0,Kv=function(e,t){if(Bo(e,Jc))throw new cE("Object already initialized");return t.facade=e,Yc(e,Jc,t),t},ah=function(e){return Bo(e,Jc)?e[Jc]:{}},Yv=function(e){return Bo(e,Jc)}}var fE={set:Kv,get:ah,has:Yv,enforce:function(e){return Yv(e)?ah(e):Kv(e,{})},getterFor:function(e){return function(t){var n;if(!Oo(t)||(n=ah(t)).type!==e)throw cE("Incompatible receiver, "+e+" required");return n}}},hP=Function.prototype,Tce=ps&&Object.getOwnPropertyDescriptor,dE=Bo(hP,"name"),pE={EXISTS:dE,PROPER:dE&&function(){}.name==="something",CONFIGURABLE:dE&&(!ps||ps&&Tce(hP,"name").configurable)},sh=qF(function(e){var t=pE.CONFIGURABLE,n=fE.get,r=fE.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;lr(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Bo(s,"name")||t&&s.name!==m)&&Yc(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==at?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Yc(i,a,s)):p?i[a]=s:nE(a,s)})(Function.prototype,"toString",function(){return lr(this)&&n(this).source||uE(this)})}),Fce=Math.ceil,Pce=Math.floor,Jv=function(e){var t=+e;return t!=t||t===0?0:(t>0?Pce:Fce)(t)},Ice=Math.max,Nce=Math.min,uh=function(e,t){var n=Jv(e);return n<0?Ice(n+t,0):Nce(n,t)},Lce=Math.min,hE=function(e){return e>0?Lce(Jv(e),9007199254740991):0},Xv=function(e){return hE(e.length)},gP=function(e){return function(t,n,r){var o,i=nh(t),a=Xv(i),s=uh(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Rce={includes:gP(!0),indexOf:gP(!1)}.indexOf,mP=pt([].push),vP=function(e,t){var n,r=nh(e),o=0,i=[];for(n in r)!Bo(lE,n)&&Bo(r,n)&&mP(i,n);for(;t.length>o;)Bo(r,n=t[o++])&&(~Rce(i,n)||mP(i,n));return i},Zv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mce=Zv.concat("length","prototype"),jce={f:Object.getOwnPropertyNames||function(e){return vP(e,Mce)}},zce={f:Object.getOwnPropertySymbols},Vce=pt([].concat),Uce=rh("Reflect","ownKeys")||function(e){var t=jce.f(Fo(e)),n=zce.f;return n?Vce(t,n(e)):t},Hce=function(e,t){for(var n=Uce(t),r=ih.f,o=uP.f,i=0;i<n.length;i++){var a=n[i];Bo(e,a)||r(e,a,o(t,a))}},Wce=/#|\.prototype\./,lh=function(e,t){var n=Gce[qce(e)];return n==Yce||n!=Kce&&(lr(t)?Fn(t):!!t)},qce=lh.normalize=function(e){return String(e).replace(Wce,".").toLowerCase()},Gce=lh.data={},Kce=lh.NATIVE="N",Yce=lh.POLYFILL="P",Jce=lh,Xce=uP.f,vs=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?at:f?at[s]||nE(s,{}):(at[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Xce(n,r))&&a.value:n[r],!Jce(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;Hce(i,o)}(e.sham||o&&o.sham)&&Yc(i,"sham",!0),sh(n,r,i,e)}},yP={};yP[To("toStringTag")]="z";var bP,gE=String(yP)==="[object z]",Zce=To("toStringTag"),Qce=at.Object,efe=hs(function(){return arguments}())=="Arguments",mE=gE?hs:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Qce(e),Zce))=="string"?n:efe?hs(t):(r=hs(t))=="Object"&&lr(t.callee)?"Arguments":r},tfe=at.String,yr=function(e){if(mE(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return tfe(e)},nfe=/"/g,rfe=pt("".replace);vs({target:"String",proto:!0,forced:(bP="anchor",Fn(function(){var e=""[bP]('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return t="a",n="name",r=e,o=yr(gs(this)),i="<"+t,n!==""&&(i+=" "+n+'="'+rfe(yr(r),nfe,"&quot;")+'"'),i+">"+o+"</"+t+">";var t,n,r,o,i}});var Qv,wP=function(){var e=Fo(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},vE=at.RegExp,yE=Fn(function(){var e=vE("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),ofe=yE||Fn(function(){return!vE("a","y").sticky}),$P={BROKEN_CARET:yE||Fn(function(){var e=vE("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:ofe,UNSUPPORTED_Y:yE},ife=Object.keys||function(e){return vP(e,Zv)},afe=ps?Object.defineProperties:function(e,t){Fo(e);for(var n,r=nh(t),o=ife(t),i=o.length,a=0;i>a;)ih.f(e,n=o[a++],r[n]);return e},sfe=rh("document","documentElement"),CP=dP("IE_PROTO"),bE=function(){},EP=function(e){return"<script>"+e+"<\/script>"},SP=function(e){e.write(EP("")),e.close();var t=e.parentWindow.Object;return e=null,t},e1=function(){try{Qv=new ActiveXObject("htmlfile")}catch{}var e,t;e1=typeof document<"u"?document.domain&&Qv?SP(Qv):((t=sE("iframe")).style.display="none",sfe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(EP("document.F=Object")),e.close(),e.F):SP(Qv);for(var n=Zv.length;n--;)delete e1.prototype[Zv[n]];return e1()};lE[CP]=!0;var DP,wE,xP=Object.create||function(e,t){var n;return e!==null?(bE.prototype=Fo(e),n=new bE,bE.prototype=null,n[CP]=e):n=e1(),t===void 0?n:afe(n,t)},ufe=at.RegExp,lfe=Fn(function(){var e=ufe(".","s");return!(e.dotAll&&e.exec(`
144
144
  `)&&e.flags==="s")}),cfe=at.RegExp,ffe=Fn(function(){var e=cfe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),dfe=fE.get,pfe=rE("native-string-replace",String.prototype.replace),t1=RegExp.prototype.exec,$E=t1,hfe=pt("".charAt),gfe=pt("".indexOf),mfe=pt("".replace),CE=pt("".slice),EE=(wE=/b*/g,Pn(t1,DP=/a/,"a"),Pn(t1,wE,"a"),DP.lastIndex!==0||wE.lastIndex!==0),AP=$P.BROKEN_CARET,SE=/()??/.exec("")[1]!==void 0;(EE||SE||AP||lfe||ffe)&&($E=function(e){var t,n,r,o,i,a,s,l=this,f=dfe(l),d=yr(e),p=f.raw;if(p)return p.lastIndex=l.lastIndex,t=Pn($E,p,d),l.lastIndex=p.lastIndex,t;var h=f.groups,m=AP&&l.sticky,C=Pn(wP,l),$=l.source,b=0,w=d;if(m&&(C=mfe(C,"y",""),gfe(C,"g")===-1&&(C+="g"),w=CE(d,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&hfe(d,l.lastIndex-1)!==`
145
145
  `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),SE&&(n=new RegExp("^"+$+"$(?!\\s)",C)),EE&&(r=l.lastIndex),o=Pn(t1,m?n:l,w),m?o?(o.input=CE(o.input,b),o[0]=CE(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:EE&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),SE&&o&&o.length>1&&Pn(pfe,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=xP(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var ch=$E;vs({target:"RegExp",proto:!0,forced:/./.exec!==ch},{exec:ch});var n1=Array.isArray||function(e){return hs(e)=="Array"},kP=function(){},vfe=[],_P=rh("Reflect","construct"),DE=/^\s*(?:class|function)\b/,yfe=pt(DE.exec),bfe=!DE.exec(kP),fh=function(e){if(!lr(e))return!1;try{return _P(kP,vfe,e),!0}catch{return!1}},xE=!_P||Fn(function(){var e;return fh(fh.call)||!fh(Object)||!fh(function(){e=!0})||e})?function(e){if(!lr(e))return!1;switch(mE(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return bfe||!!yfe(DE,uE(e))}:fh,OP=function(e,t,n){var r=iE(t);r in e?ih.f(e,r,qC(0,n)):e[r]=n},wfe=To("species"),AE=function(e){return XC>=51||!Fn(function(){var t=[];return(t.constructor={})[wfe]=function(){return{foo:1}},t[e](Boolean).foo!==1})},$fe=pt([].slice),Cfe=AE("slice"),Efe=To("species"),kE=at.Array,Sfe=Math.max;function oi(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function BP(e){var t=e.selection;if(t==null)return!1;var n=oi(_.nodes(e,{match:function(i){return R.checkNodeType(i,"table-cell")}}),1)[0];if(n){var r=oi(n,2)[1],o=_.start(e,r);if(nt.equals(t.anchor,o))return!0}return!1}function TP(e,t){var n,r,o=_.nodes(e,{at:t,match:function(l){return R.getNodeType(l)==="table"}}),i=!1;try{for(var a=function(l){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&l[f],p=0;if(d)return d.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&p>=l.length&&(l=void 0),{value:l&&l[p++],done:!l}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),s=a.next();!s.done;s=a.next())s.value,i=!0}catch(l){n={error:l}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}vs({target:"Array",proto:!0,forced:!Cfe},{slice:function(e,t){var n,r,o,i=nh(this),a=Xv(i),s=uh(e,a),l=uh(t===void 0?a:t,a);if(n1(i)&&(n=i.constructor,(xE(n)&&(n===kE||n1(n.prototype))||Oo(n)&&(n=n[Efe])===null)&&(n=void 0),n===kE||n===void 0))return $fe(i,s,l);for(r=new(n===void 0?kE:n)(Sfe(l-s,0)),o=0;s<l;s++,o++)s in i&&OP(r,o,i[s]);return r.length=o,r}});var FP=pt(pt.bind),Dfe=To("species"),PP=at.Array,xfe=function(e,t){return new(function(n){var r;return n1(n)&&(r=n.constructor,(xE(r)&&(r===PP||n1(r.prototype))||Oo(r)&&(r=r[Dfe])===null)&&(r=void 0)),r===void 0?PP:r}(e))(t===0?0:t)},IP=pt([].push),ys=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=oE(l),$=JF(C),b=function(A,O){return rP(A),O===void 0?A:FP?FP(A,O):function(){return A.apply(O,arguments)}}(f,d),w=Xv($),y=0,S=p||xfe,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:IP(x,h)}else switch(e){case 4:return!1;case 7:IP(x,h)}return i?-1:r||o?o:x}},r1={forEach:ys(0),map:ys(1),filter:ys(2),some:ys(3),every:ys(4),find:ys(5),findIndex:ys(6),filterReject:ys(7)},Afe=r1.map;vs({target:"Array",proto:!0,forced:!AE("map")},{map:function(e){return Afe(this,e,arguments.length>1?arguments[1]:void 0)}});var kfe=gE?{}.toString:function(){return"[object "+mE(this)+"]"};function o1(e){var t=e.children||[];return t.length===0?[]:(t[0]||{}).children||[]}function NP(e){return o1(e).every(function(t){return!!t.isHeader})}gE||sh(Object.prototype,"toString",kfe,{unsafe:!0});var _fe=pE.PROPER,_E=RegExp.prototype,LP=_E.toString,Ofe=pt(wP),Bfe=Fn(function(){return LP.call({source:"a",flags:"b"})!="/a/b"}),Tfe=_fe&&LP.name!="toString";(Bfe||Tfe)&&sh(RegExp.prototype,"toString",function(){var e=Fo(this),t=yr(e.source),n=e.flags;return"/"+t+"/"+yr(n===void 0&&XF(_E,e)&&!("flags"in _E)?Ofe(e):n)},{unsafe:!0});var OE=To("unscopables"),BE=Array.prototype;BE[OE]==null&&ih.f(BE,OE,{configurable:!0,value:xP(null)});var RP,Ffe=r1.find,MP=!0;"find"in[]&&Array(1).find(function(){MP=!1}),vs({target:"Array",proto:!0,forced:MP},{find:function(e){return Ffe(this,e,arguments.length>1?arguments[1]:void 0)}}),RP="find",BE[OE][RP]=!0;var TE=Function.prototype,jP=TE.apply,Pfe=TE.bind,zP=TE.call,VP=typeof Reflect=="object"&&Reflect.apply||(Pfe?zP.bind(jP):function(){return zP.apply(jP,arguments)}),Ife=To("species"),FE=RegExp.prototype,UP=function(e,t,n,r){var o=To(e),i=!Fn(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!Fn(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[Ife]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=pt(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=pt(f),$=d.exec;return $===ch||$===FE.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});sh(String.prototype,e,l[0]),sh(FE,o,l[1])}r&&Yc(FE[o],"sham",!0)},Nfe=To("match"),Lfe=at.TypeError,Rfe=To("species"),Mfe=function(e,t){var n,r=Fo(e).constructor;return r===void 0||(n=Fo(r)[Rfe])==null?t:function(o){if(xE(o))return o;throw Lfe(nP(o)+" is not a constructor")}(n)},jfe=pt("".charAt),HP=pt("".charCodeAt),zfe=pt("".slice),WP=function(e){return function(t,n){var r,o,i=yr(gs(t)),a=Jv(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=HP(i,a))<55296||r>56319||a+1===s||(o=HP(i,a+1))<56320||o>57343?e?jfe(i,a):r:e?zfe(i,a,a+2):o-56320+(r-55296<<10)+65536}},Vfe={codeAt:WP(!1),charAt:WP(!0)}.charAt,qP=function(e,t,n){return t+(n?Vfe(e,t).length:1)},Ufe=at.Array,Hfe=Math.max,GP=function(e,t,n){for(var r=Xv(e),o=uh(t,r),i=uh(n===void 0?r:n,r),a=Ufe(Hfe(i-o,0)),s=0;o<i;o++,s++)OP(a,s,e[o]);return a.length=s,a},Wfe=at.TypeError,PE=function(e,t){var n=e.exec;if(lr(n)){var r=Pn(n,e,t);return r!==null&&Fo(r),r}if(hs(e)==="RegExp")return Pn(ch,e,t);throw Wfe("RegExp#exec called on incompatible receiver")},Xc=$P.UNSUPPORTED_Y,qfe=Math.min,KP=[].push,Gfe=pt(/./.exec),Zc=pt(KP),dh=pt("".slice);UP("split",function(e,t,n){var r;return r="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,s,l=yr(gs(this)),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o===void 0)return[l];if(!Oo(a=o)||!((s=a[Nfe])!==void 0?s:hs(a)=="RegExp"))return Pn(t,l,o,f);for(var d,p,h,m=[],C=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),$=0,b=new RegExp(o.source,C+"g");(d=Pn(ch,b,l))&&!((p=b.lastIndex)>$&&(Zc(m,dh(l,$,d.index)),d.length>1&&d.index<l.length&&VP(KP,m,GP(d,1)),h=d[0].length,$=p,m.length>=f));)b.lastIndex===d.index&&b.lastIndex++;return $===l.length?!h&&Gfe(b,"")||Zc(m,""):Zc(m,dh(l,$)),m.length>f?GP(m,0,f):m}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:Pn(t,this,o,i)}:t,[function(o,i){var a=gs(this),s=o==null?void 0:tE(o,e);return s?Pn(s,o,a,i):Pn(r,yr(a),o,i)},function(o,i){var a=Fo(this),s=yr(o),l=n(r,a,s,i,r!==t);if(l.done)return l.value;var f=Mfe(a,RegExp),d=a.unicode,p=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Xc?"g":"y"),h=new f(Xc?"^(?:"+a.source+")":a,p),m=i===void 0?4294967295:i>>>0;if(m===0)return[];if(s.length===0)return PE(h,s)===null?[s]:[];for(var C=0,$=0,b=[];$<s.length;){h.lastIndex=Xc?0:$;var w,y=PE(h,Xc?dh(s,$):s);if(y===null||(w=qfe(hE(h.lastIndex+(Xc?$:0)),s.length))===C)$=qP(s,$,d);else{if(Zc(b,dh(s,C,$)),b.length===m)return b;for(var S=1;S<=y.length-1;S++)if(Zc(b,y[S]),b.length===m)return b;$=C=w}}return Zc(b,dh(s,C)),b}]},!!Fn(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Xc);var IE=`
146
146
  \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,YP=pt("".replace),i1="["+IE+"]",Kfe=RegExp("^"+i1+i1+"*"),Yfe=RegExp(i1+i1+"*$"),NE=function(e){return function(t){var n=yr(gs(t));return 1&e&&(n=YP(n,Kfe,"")),2&e&&(n=YP(n,Yfe,"")),n}},Jfe={start:NE(1),end:NE(2),trim:NE(3)},Xfe=pE.PROPER,Zfe=Jfe.trim;function JP(e){return e.length?e[0].tagName.toLowerCase():""}vs({target:"String",proto:!0,forced:function(e){return Fn(function(){return!!IE[e]()||"\u200B\x85\u180E"[e]()!=="\u200B\x85\u180E"||Xfe&&IE[e].name!==e})}("trim")},{trim:function(){return Zfe(this)}}),vs({global:!0},{globalThis:at}),vo&&(U.fn.append=vo),yi&&(U.fn.on=yi),Ba&&(U.fn.focus=Ba),mo&&(U.fn.attr=mo),vi&&(U.fn.val=vi),Oa&&(U.fn.html=Oa),Hl&&(U.fn.dataset=Hl),zl&&(U.fn.addClass=zl),Vl&&(U.fn.removeClass=Vl),Kl&&(U.fn.children=Kl),D0&&(U.fn.each=D0),Gl&&(U.fn.find=Gl);var ph=!1,XP=0,ZP=0,hh=null,gh=null,mh=U("body");function QP(e){ph=!1,gh=null,hh=null,mh.off("mousemove",eI),mh.off("mouseup",QP)}mh.on("mousedown",function(e){var t=e.target;if((t.tagName==="TH"||t.tagName==="TD")&&t.style.cursor==="col-resize"){t.style.cursor="auto",e.preventDefault(),ph=!0;var n=e.clientX;XP=n;var r=t.getBoundingClientRect().width;ZP=r,mh.on("mousemove",eI),mh.on("mouseup",QP)}});var eI=uu(function(e){if(ph&&gh!=null&&hh!=null){e.preventDefault();var t=e.clientX,n=ZP+(t-XP);(n=Math.floor(100*n)/100)<30&&(n=30),ee.setNodes(gh,{width:n.toString()},{at:hh})}},100),Qfe={type:"table",renderElem:function(e,t,n){var r=function(f,d){if(f.isDisabled())return!1;var p=f.selection;if(p==null||re.isCollapsed(p))return!0;var h=p.anchor,m=p.focus,C=R.findPath(f,d),$=_.start(f,C),b=_.end(f,C),w=nt.compare(h,b)<=0&&nt.compare(h,$)>=0,y=nt.compare(m,b)<=0&&nt.compare(m,$)>=0;return!!(w&&y&&J.equals(h.path.slice(0,3),m.path.slice(0,3)))}(n,e),o=e.width,i=o===void 0?"auto":o,a=R.isNodeSelected(n,e),s=o1(e),l=Ke("div",{className:"table-container","data-selected":a,on:{mousedown:function(f){if(f.target.tagName==="DIV"&&f.preventDefault(),!n.isDisabled()){var d=R.findPath(n,e),p=_.start(n,d),h=n.selection;h!=null?h.anchor.path[0]!==d[0]&&n.select(p):n.select(p)}}}},Ke("table",{width:i,contentEditable:r},Ke("colgroup",null,s.map(function(f){var d=f.width;return Ke("col",{width:d===void 0?"auto":d})})),Ke("tbody",null,t)));return l}},ede={type:"table-row",renderElem:function(e,t,n){return Ke("tr",null,t)}},tde={type:"table-cell",renderElem:function(e,t,n){var r=function(h,m){var C=R.getParentNode(h,m);if(C==null)return!1;var $=R.getParentNode(h,C);return $!=null&&o1($).some(function(b){return b===m})}(n,e),o=e,i=o.colSpan,a=i===void 0?1:i,s=o.rowSpan,l=s===void 0?1:s,f=o.isHeader,d=f!==void 0&&f;if(!r)return Ke("td",{colSpan:a,rowSpan:l},t);var p=Ke(d?"th":"td",{colSpan:a,rowSpan:l,style:{borderRightWidth:"3px"},on:{mousemove:uu(function(h){var m=this.elm;if(m!=null){var C=m.getBoundingClientRect(),$=C.left,b=C.width,w=C.top,y=C.height,S=h.clientX,x=h.clientY;ph||(S>$+b-5&&S<$+b&&x>w&&x<w+y?(m.style.cursor="col-resize",gh=n,hh=R.findPath(n,e)):ph||(m.style.cursor="auto",gh=null,hh=null))}},100)}},t);return p}},nde={type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(n===void 0?"auto":n)+';"><tbody>'+t+"</tbody></table>"}},rde={type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},ode={type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,o=r===void 0?1:r,i=n.rowSpan,a=i===void 0?1:i,s=n.isHeader,l=s!==void 0&&s,f=n.width,d=l?"th":"td";return"<"+d+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(f===void 0?"auto":f)+'">'+t+"</"+d+">"}},ide={selector:"table",preParseHtml:function(e){var t=U(e);if(JP(t)!=="table")return e;var n=t.find("tbody");if(n.length===0)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}},ade=r1.filter;vs({target:"Array",proto:!0,forced:!AE("filter")},{filter:function(e){return ade(this,e,arguments.length>1?arguments[1]:void 0)}});var sde=Math.floor,LE=pt("".charAt),ude=pt("".replace),RE=pt("".slice),lde=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,cde=/\$([$&'`]|\d{1,2})/g,fde=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=cde;return o!==void 0&&(o=oE(o),l=lde),ude(i,l,function(f,d){var p;switch(LE(d,0)){case"$":return"$";case"&":return e;case"`":return RE(t,0,n);case"'":return RE(t,a);case"<":p=o[RE(d,1,-1)];break;default:var h=+d;if(h===0)return f;if(h>s){var m=sde(h/10);return m===0?f:m<=s?r[m-1]===void 0?LE(d,1):r[m-1]+LE(d,1):f}p=r[h-1]}return p===void 0?"":p})},ME=To("replace"),dde=Math.max,pde=Math.min,hde=pt([].concat),jE=pt([].push),tI=pt("".indexOf),nI=pt("".slice),gde="a".replace(/./,"$0")==="$0",rI=!!/./[ME]&&/./[ME]("a","$0")==="";UP("replace",function(e,t,n){var r=rI?"$":"$0";return[function(o,i){var a=gs(this),s=o==null?void 0:tE(o,ME);return s?Pn(s,o,a,i):Pn(t,yr(a),o,i)},function(o,i){var a=Fo(this),s=yr(o);if(typeof i=="string"&&tI(i,r)===-1&&tI(i,"$<")===-1){var l=n(t,a,s,i);if(l.done)return l.value}var f=lr(i);f||(i=yr(i));var d=a.global;if(d){var p=a.unicode;a.lastIndex=0}for(var h=[];;){var m=PE(a,s);if(m===null||(jE(h,m),!d))break;yr(m[0])===""&&(a.lastIndex=qP(s,hE(a.lastIndex),p))}for(var C,$="",b=0,w=0;w<h.length;w++){for(var y=yr((m=h[w])[0]),S=dde(pde(Jv(m.index),s.length),0),x=[],A=1;A<m.length;A++)jE(x,(C=m[A])===void 0?C:String(C));var O=m.groups;if(f){var T=hde([y],x,S,s);O!==void 0&&jE(T,O);var z=yr(VP(i,void 0,T))}else z=fde(y,s,S,x,O,i);S>=b&&($+=nI(s,b,S)+z,b=S+y.length)}return $+nI(s,b)}]},!!Fn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!gde||rI);var mde={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e);(t=t.filter(function(s){return!!xe.isText(s)||!!n.isInline(s)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:JP(r)==="th",colSpan:o,rowSpan:i,width:a,children:t}}},vde={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(r){return R.getNodeType(r)==="table-cell"})}}},yde={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=U(e),o="auto";return function(i,a){for(var s="",l=(i.attr("style")||"").split(";"),f=l.length,d=0;d<f;d++){var p=l[d];if(p){var h=p.split(":");h[0].trim()===a&&(s=h[1].trim())}}return s}(r,"width")==="100%"&&(o="100%"),r.attr("width")==="100%"&&(o="100%"),{type:"table",width:o,children:t.filter(function(i){return R.getNodeType(i)==="table-row"})}}},bde=function(){function e(){this.title=$e("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!R.getSelectedElems(t).some(function(r){var o=R.getNodeType(r);return o==="pre"||o==="table"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getPanelContentElem=function(t){var n=this;if(this.$content)return this.$content[0];for(var r=U('<div class="w-e-panel-content-table"></div>'),o=U("<span>0 &times; 0</span>"),i=U("<table></table>"),a=0;a<10;a++){for(var s=U("<tr></tr>"),l=0;l<10;l++){var f=U("<td></td>");f.attr("data-x",l.toString()),f.attr("data-y",a.toString()),s.append(f),f.on("mouseenter",function(d){var p=d.target;if(p!=null){var h=U(p).dataset(),m=h.x,C=h.y;o[0].innerHTML=m+1+" &times; "+(C+1),i.children().each(function($){U($).children().each(function(b){var w=U(b),y=w.dataset(),S=y.x,x=y.y;S<=m&&x<=C?w.addClass("active"):w.removeClass("active")})})}}),f.on("click",function(d){d.preventDefault();var p=d.target;if(p!=null){var h=U(p).dataset(),m=h.x,C=h.y;n.insertTable(t,C+1,m+1)}})}i.append(s)}return r.append(i),r.append(o),this.$content=r,r[0]},e.prototype.insertTable=function(t,n,r){var o=parseInt(n,10),i=parseInt(r,10);if(o&&i&&!(o<=0||i<=0)){R.isSelectedEmptyParagraph(t)&&ee.removeNodes(t,{mode:"highest"});var a=function(s,l){for(var f=[],d=0;d<s;d++){for(var p=[],h=0;h<l;h++){var m={type:"table-cell",children:[{text:""}]};d===0&&(m.isHeader=!0),p.push(m)}f.push({type:"table-row",children:p})}return{type:"table",width:"auto",children:f}}(o,i);ee.insertNodes(t,a,{mode:"highest"})}},e}(),wde=function(){function e(){this.title=$e("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||R.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||ee.removeNodes(t,{mode:"highest"})},e}(),$de=function(){function e(){this.title=$e("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=oi(_.nodes(t,{match:function(m){return R.checkNodeType(m,"table-cell")},universal:!0}),1),o=oi(r[0],2),i=o[0],a=o[1],s=R.getParentNode(t,i),l=(s==null?void 0:s.children.length)||0;if(l!==0){for(var f={type:"table-row",children:[]},d=0;d<l;d++)f.children.push({type:"table-cell",children:[{text:""}]});var p=J.parent(a),h=J.next(p);ee.insertNodes(t,f,{at:h})}}},e}(),Cde=function(){function e(){this.title=$e("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"table-row")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=oi(_.nodes(t,{match:function(l){return R.checkNodeType(l,"table-row")},universal:!0}),1),o=oi(r[0],2),i=o[0],a=o[1],s=R.getParentNode(t,i);((s==null?void 0:s.children.length)||0)<=1?ee.removeNodes(t,{mode:"highest"}):ee.removeNodes(t,{at:a})}},e}(),oI={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},zE=sE("span").classList,iI=zE&&zE.constructor&&zE.constructor.prototype,Ede=iI===Object.prototype?void 0:iI,Sde=r1.forEach,Dde=function(e,t){var n=[][e];return!!n&&Fn(function(){n.call(null,t||function(){throw 1},1)})}("forEach"),VE=Dde?[].forEach:function(e){return Sde(this,e,arguments.length>1?arguments[1]:void 0)},aI=function(e){if(e&&e.forEach!==VE)try{Yc(e,"forEach",VE)}catch{e.forEach=VE}};for(var UE in oI)oI[UE]&&aI(at[UE]&&at[UE].prototype);aI(Ede);var xde=function(){function e(){this.title=$e("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=oi(_.nodes(t,{match:function(f){return R.checkNodeType(f,"table-cell")},universal:!0}),1),o=oi(r[0],2),i=o[0],a=o[1],s=R.getParentNode(t,i);if(s!=null){var l=R.getParentNode(t,s);l!=null&&(l.children||[]).forEach(function(f,d){Pe.isElement(f)&&(f.children||[]).forEach(function(p){var h=R.findPath(t,p);if(h.length===a.length&&HF(h.slice(-1),a.slice(-1))){var m={type:"table-cell",children:[{text:""}]};d===0&&NP(l)&&(m.isHeader=!0),ee.insertNodes(t,m,{at:h})}})})}}},e}(),Ade=function(){function e(){this.title=$e("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"table-cell")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=oi(_.nodes(t,{match:function(d){return R.checkNodeType(d,"table-cell")},universal:!0}),1),o=oi(r[0],2),i=o[0],a=o[1],s=R.getParentNode(t,i),l=(s==null?void 0:s.children.length)||0;if(!s||l<=1)ee.removeNodes(t,{mode:"highest"});else{var f=R.getParentNode(t,s);f!=null&&(f.children||[]).forEach(function(d){Pe.isElement(d)&&(d.children||[]).forEach(function(p){var h=R.findPath(t,p);h.length===a.length&&HF(h.slice(-1),a.slice(-1))&&ee.removeNodes(t,{at:h})})})}}},e}(),kde=function(){function e(){this.title=$e("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=R.getSelectedNodeByType(t,"table");return n!=null&&NP(n)},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=!n,o=R.getSelectedNodeByType(t,"table");o!=null&&o1(o).forEach(function(i){return ee.setNodes(t,{isHeader:r},{at:R.findPath(t,i)})})}},e}(),_de=function(){function e(){this.title=$e("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=R.getSelectedNodeByType(t,"table");return n!=null&&n.width==="100%"},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||R.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r={width:n?"auto":"100%"};ee.setNodes(t,r,{mode:"highest"})}},e}(),Ode={renderElems:[Qfe,ede,tde],elemsToHtml:[nde,rde,ode],preParseHtml:[ide],parseElemsHtml:[mde,vde,yde],menus:[{key:"insertTable",factory:function(){return new bde}},{key:"deleteTable",factory:function(){return new wde}},{key:"insertTableRow",factory:function(){return new $de}},{key:"deleteTableRow",factory:function(){return new Cde}},{key:"insertTableCol",factory:function(){return new xde}},{key:"deleteTableCol",factory:function(){return new Ade}},{key:"tableHeader",factory:function(){return new kde}},{key:"tableFullWidth",factory:function(){return new _de}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,i=e.insertData,a=e.handleTab,s=e.selectAll,l=e;return l.insertBreak=function(){R.getSelectedNodeByType(l,"table")==null?t():l.insertText(`
@@ -158,15 +158,15 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,w
158
158
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
159
159
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
160
160
  PERFORMANCE OF THIS SOFTWARE.
161
- ***************************************************************************** */var a1=function(){return a1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a1.apply(this,arguments)};function s1(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(f){try{l(r.next(f))}catch(d){i(d)}}function s(f){try{l(r.throw(f))}catch(d){i(d)}}function l(f){var d;f.done?o(f.value):(d=f.value,d instanceof n?d:new n(function(p){p(d)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function u1(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(f){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!((o=o.length>0&&o[o.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){a.label=d[1];break}if(d[0]===6&&a.label<o[1]){a.label=o[1],o=d;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(d);break}o[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(p){d=[6,p],r=0}finally{n=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([l,f])}}}function Bde(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qu(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Tde(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Bde(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(i){return new Promise(function(a,s){(function(l,f,d,p){Promise.resolve(p).then(function(h){l({value:h,done:d})},f)})(a,s,(i=e[o](i)).done,i.value)})}}}var sI=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function HE(e){var t={exports:{}};return e(t,t.exports),t.exports}var bs,l1,c1=function(e){return e&&e.Math==Math&&e},Se=c1(typeof globalThis=="object"&&globalThis)||c1(typeof window=="object"&&window)||c1(typeof self=="object"&&self)||c1(typeof sI=="object"&&sI)||function(){return this}()||Function("return this")(),qt=function(e){try{return!!e()}catch{return!0}},Bi=!qt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),vh=Function.prototype.call,Ut=vh.bind?vh.bind(vh):function(){return vh.apply(vh,arguments)},uI={}.propertyIsEnumerable,lI=Object.getOwnPropertyDescriptor,Fde={f:lI&&!uI.call({1:2},1)?function(e){var t=lI(this,e);return!!t&&t.enumerable}:uI},f1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},cI=Function.prototype,WE=cI.bind,qE=cI.call,Pde=WE&&WE.bind(qE),Xe=WE?function(e){return e&&Pde(qE,e)}:function(e){return e&&function(){return qE.apply(e,arguments)}},Ide=Xe({}.toString),Nde=Xe("".slice),Ti=function(e){return Nde(Ide(e),8,-1)},GE=Se.Object,Lde=Xe("".split),KE=qt(function(){return!GE("z").propertyIsEnumerable(0)})?function(e){return Ti(e)=="String"?Lde(e,""):GE(e)}:GE,Rde=Se.TypeError,yh=function(e){if(e==null)throw Rde("Can't call method on "+e);return e},ws=function(e){return KE(yh(e))},Pt=function(e){return typeof e=="function"},Yt=function(e){return typeof e=="object"?e!==null:Pt(e)},Mde=function(e){return Pt(e)?e:void 0},el=function(e,t){return arguments.length<2?Mde(Se[e]):Se[e]&&Se[e][t]},bh=Xe({}.isPrototypeOf),Qc=el("navigator","userAgent")||"",fI=Se.process,dI=Se.Deno,pI=fI&&fI.versions||dI&&dI.version,hI=pI&&pI.v8;hI&&(l1=(bs=hI.split("."))[0]>0&&bs[0]<4?1:+(bs[0]+bs[1])),!l1&&Qc&&(!(bs=Qc.match(/Edge\/(\d+)/))||bs[1]>=74)&&(bs=Qc.match(/Chrome\/(\d+)/))&&(l1=+bs[1]);var wh=l1,YE=!!Object.getOwnPropertySymbols&&!qt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&wh&&wh<41}),JE=YE&&!Symbol.sham&&typeof Symbol.iterator=="symbol",jde=Se.Object,XE=JE?function(e){return typeof e=="symbol"}:function(e){var t=el("Symbol");return Pt(t)&&bh(t.prototype,jde(e))},zde=Se.String,d1=function(e){try{return zde(e)}catch{return"Object"}},Vde=Se.TypeError,$s=function(e){if(Pt(e))return e;throw Vde(d1(e)+" is not a function")},$h=function(e,t){var n=e[t];return n==null?void 0:$s(n)},Ude=Se.TypeError,Hde=Object.defineProperty,ZE=function(e,t){try{Hde(Se,e,{value:t,configurable:!0,writable:!0})}catch{Se[e]=t}return t},Cs=Se["__core-js_shared__"]||ZE("__core-js_shared__",{}),QE=HE(function(e){(e.exports=function(t,n){return Cs[t]||(Cs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Wde=Se.Object,p1=function(e){return Wde(yh(e))},qde=Xe({}.hasOwnProperty),In=Object.hasOwn||function(e,t){return qde(p1(e),t)},Gde=0,Kde=Math.random(),Yde=Xe(1 .toString),eS=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Yde(++Gde+Kde,36)},Ch=QE("wks"),tl=Se.Symbol,gI=tl&&tl.for,Jde=JE?tl:tl&&tl.withoutSetter||eS,Sn=function(e){if(!In(Ch,e)||!YE&&typeof Ch[e]!="string"){var t="Symbol."+e;YE&&In(tl,e)?Ch[e]=tl[e]:Ch[e]=JE&&gI?gI(t):Jde(t)}return Ch[e]},Xde=Se.TypeError,Zde=Sn("toPrimitive"),Qde=function(e,t){if(!Yt(e)||XE(e))return e;var n,r=$h(e,Zde);if(r){if(t===void 0&&(t="default"),n=Ut(r,e,t),!Yt(n)||XE(n))return n;throw Xde("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&Pt(a=o.toString)&&!Yt(s=Ut(a,o))||Pt(a=o.valueOf)&&!Yt(s=Ut(a,o))||i!=="string"&&Pt(a=o.toString)&&!Yt(s=Ut(a,o)))return s;throw Ude("Can't convert object to primitive value")}(e,t)},tS=function(e){var t=Qde(e,"string");return XE(t)?t:t+""},nS=Se.document,epe=Yt(nS)&&Yt(nS.createElement),Eh=function(e){return epe?nS.createElement(e):{}},mI=!Bi&&!qt(function(){return Object.defineProperty(Eh("div"),"a",{get:function(){return 7}}).a!=7}),vI=Object.getOwnPropertyDescriptor,rS={f:Bi?vI:function(e,t){if(e=ws(e),t=tS(t),mI)try{return vI(e,t)}catch{}if(In(e,t))return f1(!Ut(Fde.f,e,t),e[t])}},tpe=Se.String,npe=Se.TypeError,Xn=function(e){if(Yt(e))return e;throw npe(tpe(e)+" is not an object")},rpe=Se.TypeError,yI=Object.defineProperty,la={f:Bi?yI:function(e,t,n){if(Xn(e),t=tS(t),Xn(n),mI)try{return yI(e,t,n)}catch{}if("get"in n||"set"in n)throw rpe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ca=Bi?function(e,t,n){return la.f(e,t,f1(1,n))}:function(e,t,n){return e[t]=n,e},ope=Xe(Function.toString);Pt(Cs.inspectSource)||(Cs.inspectSource=function(e){return ope(e)});var h1,Sh,g1,m1=Cs.inspectSource,bI=Se.WeakMap,wI=Pt(bI)&&/native code/.test(m1(bI)),$I=QE("keys"),oS=function(e){return $I[e]||($I[e]=eS(e))},v1={},iS=Se.TypeError,ipe=Se.WeakMap;if(wI||Cs.state){var nl=Cs.state||(Cs.state=new ipe),ape=Xe(nl.get),CI=Xe(nl.has),spe=Xe(nl.set);h1=function(e,t){if(CI(nl,e))throw new iS("Object already initialized");return t.facade=e,spe(nl,e,t),t},Sh=function(e){return ape(nl,e)||{}},g1=function(e){return CI(nl,e)}}else{var ef=oS("state");v1[ef]=!0,h1=function(e,t){if(In(e,ef))throw new iS("Object already initialized");return t.facade=e,ca(e,ef,t),t},Sh=function(e){return In(e,ef)?e[ef]:{}},g1=function(e){return In(e,ef)}}var eo={set:h1,get:Sh,has:g1,enforce:function(e){return g1(e)?Sh(e):h1(e,{})},getterFor:function(e){return function(t){var n;if(!Yt(t)||(n=Sh(t)).type!==e)throw iS("Incompatible receiver, "+e+" required");return n}}},EI=Function.prototype,upe=Bi&&Object.getOwnPropertyDescriptor,aS=In(EI,"name"),tf={EXISTS:aS,PROPER:aS&&function(){}.name==="something",CONFIGURABLE:aS&&(!Bi||Bi&&upe(EI,"name").configurable)},to=HE(function(e){var t=tf.CONFIGURABLE,n=eo.get,r=eo.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;Pt(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!In(s,"name")||t&&s.name!==m)&&ca(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==Se?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:ca(i,a,s)):p?i[a]=s:ZE(a,s)})(Function.prototype,"toString",function(){return Pt(this)&&n(this).source||m1(this)})}),lpe=Math.ceil,cpe=Math.floor,y1=function(e){var t=+e;return t!=t||t===0?0:(t>0?cpe:lpe)(t)},fpe=Math.max,dpe=Math.min,Dh=function(e,t){var n=y1(e);return n<0?fpe(n+t,0):dpe(n,t)},ppe=Math.min,SI=function(e){return e>0?ppe(y1(e),9007199254740991):0},xh=function(e){return SI(e.length)},DI=function(e){return function(t,n,r){var o,i=ws(t),a=xh(i),s=Dh(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},xI={includes:DI(!0),indexOf:DI(!1)},hpe=xI.indexOf,AI=Xe([].push),kI=function(e,t){var n,r=ws(e),o=0,i=[];for(n in r)!In(v1,n)&&In(r,n)&&AI(i,n);for(;t.length>o;)In(r,n=t[o++])&&(~hpe(i,n)||AI(i,n));return i},b1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gpe=b1.concat("length","prototype"),w1={f:Object.getOwnPropertyNames||function(e){return kI(e,gpe)}},mpe={f:Object.getOwnPropertySymbols},vpe=Xe([].concat),ype=el("Reflect","ownKeys")||function(e){var t=w1.f(Xn(e)),n=mpe.f;return n?vpe(t,n(e)):t},bpe=function(e,t){for(var n=ype(t),r=la.f,o=rS.f,i=0;i<n.length;i++){var a=n[i];In(e,a)||r(e,a,o(t,a))}},wpe=/#|\.prototype\./,Ah=function(e,t){var n=Cpe[$pe(e)];return n==Spe||n!=Epe&&(Pt(t)?qt(t):!!t)},$pe=Ah.normalize=function(e){return String(e).replace(wpe,".").toLowerCase()},Cpe=Ah.data={},Epe=Ah.NATIVE="N",Spe=Ah.POLYFILL="P",$1=Ah,Dpe=rS.f,Rr=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?Se:f?Se[s]||ZE(s,{}):(Se[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Dpe(n,r))&&a.value:n[r],!$1(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;bpe(i,o)}(e.sham||o&&o.sham)&&ca(i,"sham",!0),to(n,r,i,e)}},_I={};_I[Sn("toStringTag")]="z";var kh,sS=String(_I)==="[object z]",xpe=Sn("toStringTag"),Ape=Se.Object,kpe=Ti(function(){return arguments}())=="Arguments",C1=sS?Ti:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Ape(e),xpe))=="string"?n:kpe?Ti(t):(r=Ti(t))=="Object"&&Pt(t.callee)?"Arguments":r},_pe=Se.String,Po=function(e){if(C1(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return _pe(e)},uS=`
161
+ ***************************************************************************** */var a1=function(){return a1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a1.apply(this,arguments)};function s1(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(f){try{l(r.next(f))}catch(d){i(d)}}function s(f){try{l(r.throw(f))}catch(d){i(d)}}function l(f){var d;f.done?o(f.value):(d=f.value,d instanceof n?d:new n(function(p){p(d)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function u1(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(f){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!((o=o.length>0&&o[o.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){a.label=d[1];break}if(d[0]===6&&a.label<o[1]){a.label=o[1],o=d;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(d);break}o[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(p){d=[6,p],r=0}finally{n=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([l,f])}}}function Bde(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qu(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Tde(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Bde(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(i){return new Promise(function(a,s){(function(l,f,d,p){Promise.resolve(p).then(function(h){l({value:h,done:d})},f)})(a,s,(i=e[o](i)).done,i.value)})}}}var sI=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function HE(e){var t={exports:{}};return e(t,t.exports),t.exports}var bs,l1,c1=function(e){return e&&e.Math==Math&&e},Se=c1(typeof globalThis=="object"&&globalThis)||c1(typeof window=="object"&&window)||c1(typeof self=="object"&&self)||c1(typeof sI=="object"&&sI)||function(){return this}()||Function("return this")(),qt=function(e){try{return!!e()}catch{return!0}},Bi=!qt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),vh=Function.prototype.call,Ut=vh.bind?vh.bind(vh):function(){return vh.apply(vh,arguments)},uI={}.propertyIsEnumerable,lI=Object.getOwnPropertyDescriptor,Fde={f:lI&&!uI.call({1:2},1)?function(e){var t=lI(this,e);return!!t&&t.enumerable}:uI},f1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},cI=Function.prototype,WE=cI.bind,qE=cI.call,Pde=WE&&WE.bind(qE),Xe=WE?function(e){return e&&Pde(qE,e)}:function(e){return e&&function(){return qE.apply(e,arguments)}},Ide=Xe({}.toString),Nde=Xe("".slice),Ti=function(e){return Nde(Ide(e),8,-1)},GE=Se.Object,Lde=Xe("".split),KE=qt(function(){return!GE("z").propertyIsEnumerable(0)})?function(e){return Ti(e)=="String"?Lde(e,""):GE(e)}:GE,Rde=Se.TypeError,yh=function(e){if(e==null)throw Rde("Can't call method on "+e);return e},ws=function(e){return KE(yh(e))},Pt=function(e){return typeof e=="function"},Yt=function(e){return typeof e=="object"?e!==null:Pt(e)},Mde=function(e){return Pt(e)?e:void 0},el=function(e,t){return arguments.length<2?Mde(Se[e]):Se[e]&&Se[e][t]},bh=Xe({}.isPrototypeOf),Qc=el("navigator","userAgent")||"",fI=Se.process,dI=Se.Deno,pI=fI&&fI.versions||dI&&dI.version,hI=pI&&pI.v8;hI&&(l1=(bs=hI.split("."))[0]>0&&bs[0]<4?1:+(bs[0]+bs[1])),!l1&&Qc&&(!(bs=Qc.match(/Edge\/(\d+)/))||bs[1]>=74)&&(bs=Qc.match(/Chrome\/(\d+)/))&&(l1=+bs[1]);var wh=l1,YE=!!Object.getOwnPropertySymbols&&!qt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&wh&&wh<41}),JE=YE&&!Symbol.sham&&typeof Symbol.iterator=="symbol",jde=Se.Object,XE=JE?function(e){return typeof e=="symbol"}:function(e){var t=el("Symbol");return Pt(t)&&bh(t.prototype,jde(e))},zde=Se.String,d1=function(e){try{return zde(e)}catch{return"Object"}},Vde=Se.TypeError,$s=function(e){if(Pt(e))return e;throw Vde(d1(e)+" is not a function")},$h=function(e,t){var n=e[t];return n==null?void 0:$s(n)},Ude=Se.TypeError,Hde=Object.defineProperty,ZE=function(e,t){try{Hde(Se,e,{value:t,configurable:!0,writable:!0})}catch{Se[e]=t}return t},Cs=Se["__core-js_shared__"]||ZE("__core-js_shared__",{}),QE=HE(function(e){(e.exports=function(t,n){return Cs[t]||(Cs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Wde=Se.Object,p1=function(e){return Wde(yh(e))},qde=Xe({}.hasOwnProperty),In=Object.hasOwn||function(e,t){return qde(p1(e),t)},Gde=0,Kde=Math.random(),Yde=Xe(1 .toString),eS=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Yde(++Gde+Kde,36)},Ch=QE("wks"),tl=Se.Symbol,gI=tl&&tl.for,Jde=JE?tl:tl&&tl.withoutSetter||eS,Sn=function(e){if(!In(Ch,e)||!YE&&typeof Ch[e]!="string"){var t="Symbol."+e;YE&&In(tl,e)?Ch[e]=tl[e]:Ch[e]=JE&&gI?gI(t):Jde(t)}return Ch[e]},Xde=Se.TypeError,Zde=Sn("toPrimitive"),Qde=function(e,t){if(!Yt(e)||XE(e))return e;var n,r=$h(e,Zde);if(r){if(t===void 0&&(t="default"),n=Ut(r,e,t),!Yt(n)||XE(n))return n;throw Xde("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&Pt(a=o.toString)&&!Yt(s=Ut(a,o))||Pt(a=o.valueOf)&&!Yt(s=Ut(a,o))||i!=="string"&&Pt(a=o.toString)&&!Yt(s=Ut(a,o)))return s;throw Ude("Can't convert object to primitive value")}(e,t)},tS=function(e){var t=Qde(e,"string");return XE(t)?t:t+""},nS=Se.document,epe=Yt(nS)&&Yt(nS.createElement),Eh=function(e){return epe?nS.createElement(e):{}},mI=!Bi&&!qt(function(){return Object.defineProperty(Eh("div"),"a",{get:function(){return 7}}).a!=7}),vI=Object.getOwnPropertyDescriptor,rS={f:Bi?vI:function(e,t){if(e=ws(e),t=tS(t),mI)try{return vI(e,t)}catch{}if(In(e,t))return f1(!Ut(Fde.f,e,t),e[t])}},tpe=Se.String,npe=Se.TypeError,Xn=function(e){if(Yt(e))return e;throw npe(tpe(e)+" is not an object")},rpe=Se.TypeError,yI=Object.defineProperty,la={f:Bi?yI:function(e,t,n){if(Xn(e),t=tS(t),Xn(n),mI)try{return yI(e,t,n)}catch{}if("get"in n||"set"in n)throw rpe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ca=Bi?function(e,t,n){return la.f(e,t,f1(1,n))}:function(e,t,n){return e[t]=n,e},ope=Xe(Function.toString);Pt(Cs.inspectSource)||(Cs.inspectSource=function(e){return ope(e)});var h1,Sh,g1,m1=Cs.inspectSource,bI=Se.WeakMap,wI=Pt(bI)&&/native code/.test(m1(bI)),$I=QE("keys"),oS=function(e){return $I[e]||($I[e]=eS(e))},v1={},iS=Se.TypeError,ipe=Se.WeakMap;if(wI||Cs.state){var nl=Cs.state||(Cs.state=new ipe),ape=Xe(nl.get),CI=Xe(nl.has),spe=Xe(nl.set);h1=function(e,t){if(CI(nl,e))throw new iS("Object already initialized");return t.facade=e,spe(nl,e,t),t},Sh=function(e){return ape(nl,e)||{}},g1=function(e){return CI(nl,e)}}else{var ef=oS("state");v1[ef]=!0,h1=function(e,t){if(In(e,ef))throw new iS("Object already initialized");return t.facade=e,ca(e,ef,t),t},Sh=function(e){return In(e,ef)?e[ef]:{}},g1=function(e){return In(e,ef)}}var to={set:h1,get:Sh,has:g1,enforce:function(e){return g1(e)?Sh(e):h1(e,{})},getterFor:function(e){return function(t){var n;if(!Yt(t)||(n=Sh(t)).type!==e)throw iS("Incompatible receiver, "+e+" required");return n}}},EI=Function.prototype,upe=Bi&&Object.getOwnPropertyDescriptor,aS=In(EI,"name"),tf={EXISTS:aS,PROPER:aS&&function(){}.name==="something",CONFIGURABLE:aS&&(!Bi||Bi&&upe(EI,"name").configurable)},no=HE(function(e){var t=tf.CONFIGURABLE,n=to.get,r=to.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;Pt(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!In(s,"name")||t&&s.name!==m)&&ca(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==Se?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:ca(i,a,s)):p?i[a]=s:ZE(a,s)})(Function.prototype,"toString",function(){return Pt(this)&&n(this).source||m1(this)})}),lpe=Math.ceil,cpe=Math.floor,y1=function(e){var t=+e;return t!=t||t===0?0:(t>0?cpe:lpe)(t)},fpe=Math.max,dpe=Math.min,Dh=function(e,t){var n=y1(e);return n<0?fpe(n+t,0):dpe(n,t)},ppe=Math.min,SI=function(e){return e>0?ppe(y1(e),9007199254740991):0},xh=function(e){return SI(e.length)},DI=function(e){return function(t,n,r){var o,i=ws(t),a=xh(i),s=Dh(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},xI={includes:DI(!0),indexOf:DI(!1)},hpe=xI.indexOf,AI=Xe([].push),kI=function(e,t){var n,r=ws(e),o=0,i=[];for(n in r)!In(v1,n)&&In(r,n)&&AI(i,n);for(;t.length>o;)In(r,n=t[o++])&&(~hpe(i,n)||AI(i,n));return i},b1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gpe=b1.concat("length","prototype"),w1={f:Object.getOwnPropertyNames||function(e){return kI(e,gpe)}},mpe={f:Object.getOwnPropertySymbols},vpe=Xe([].concat),ype=el("Reflect","ownKeys")||function(e){var t=w1.f(Xn(e)),n=mpe.f;return n?vpe(t,n(e)):t},bpe=function(e,t){for(var n=ype(t),r=la.f,o=rS.f,i=0;i<n.length;i++){var a=n[i];In(e,a)||r(e,a,o(t,a))}},wpe=/#|\.prototype\./,Ah=function(e,t){var n=Cpe[$pe(e)];return n==Spe||n!=Epe&&(Pt(t)?qt(t):!!t)},$pe=Ah.normalize=function(e){return String(e).replace(wpe,".").toLowerCase()},Cpe=Ah.data={},Epe=Ah.NATIVE="N",Spe=Ah.POLYFILL="P",$1=Ah,Dpe=rS.f,Rr=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?Se:f?Se[s]||ZE(s,{}):(Se[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Dpe(n,r))&&a.value:n[r],!$1(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;bpe(i,o)}(e.sham||o&&o.sham)&&ca(i,"sham",!0),no(n,r,i,e)}},_I={};_I[Sn("toStringTag")]="z";var kh,sS=String(_I)==="[object z]",xpe=Sn("toStringTag"),Ape=Se.Object,kpe=Ti(function(){return arguments}())=="Arguments",C1=sS?Ti:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=Ape(e),xpe))=="string"?n:kpe?Ti(t):(r=Ti(t))=="Object"&&Pt(t.callee)?"Arguments":r},_pe=Se.String,Po=function(e){if(C1(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return _pe(e)},uS=`
162
162
  \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,OI=Xe("".replace),E1="["+uS+"]",Ope=RegExp("^"+E1+E1+"*"),Bpe=RegExp(E1+E1+"*$"),lS=function(e){return function(t){var n=Po(yh(t));return 1&e&&(n=OI(n,Ope,"")),2&e&&(n=OI(n,Bpe,"")),n}},Tpe={start:lS(1),end:lS(2),trim:lS(3)},Fpe=tf.PROPER,Ppe=Tpe.trim;function BI(e){return e.length?e[0].tagName.toLowerCase():""}function TI(e,t,n){t===void 0&&(t="auto"),n===void 0&&(n="auto");var r=U(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML}Rr({target:"String",proto:!0,forced:(kh="trim",qt(function(){return!!uS[kh]()||"\u200B\x85\u180E"[kh]()!=="\u200B\x85\u180E"||Fpe&&uS[kh].name!==kh}))},{trim:function(){return Ppe(this)}}),Rr({global:!0},{globalThis:Se}),vo&&(U.fn.append=vo),yi&&(U.fn.on=yi),Ba&&(U.fn.focus=Ba),mo&&(U.fn.attr=mo),vi&&(U.fn.val=vi),Oa&&(U.fn.html=Oa),ql&&(U.fn.parent=ql),Ul&&(U.fn.hasClass=Ul),Jl&&(U.fn.empty=Jl);var Ipe={type:"video",renderElem:function(e,t,n){var r,o=e,i=o.src,a=i===void 0?"":i,s=o.poster,l=s===void 0?"":s,f=o.width,d=f===void 0?"auto":f,p=o.height,h=p===void 0?"auto":p,m=R.isNodeSelected(n,e);if(a.trim().indexOf("<iframe ")===0){var C=TI(a,d,h);r=Ke("div",{className:"w-e-textarea-video-container","data-selected":m?"true":"",innerHTML:C})}else{var $=Ke("video",{poster:l,controls:!0},Ke("source",{src:a,type:"video/mp4"}),`Sorry, your browser doesn't support embedded videos.
163
163
  \u62B1\u6B49\uFF0C\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 video \u89C6\u9891`);d!=="auto"&&($.data.width=d),h!=="auto"&&($.data.height=h),r=Ke("div",{className:"w-e-textarea-video-container","data-selected":m?"true":""},$)}return Xl("div",{props:{contentEditable:!1},on:{mousedown:function(b){return b.preventDefault()}}},r)}},S1,Npe={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,o=r===void 0?"":r,i=n.poster,a=i===void 0?"":i,s=n.width,l=s===void 0?"auto":s,f=n.height,d=f===void 0?"auto":f,p=`<div data-w-e-type="video" data-w-e-is-void>
164
164
  `;return o.trim().indexOf("<iframe ")===0?p+=TI(o,l,d):p+='<video poster="'+a+'" controls="true" width="'+l+'" height="'+d+'"><source src="'+o+'" type="video/mp4"/></video>',p+=`
165
- </div>`}},Lpe=Object.keys||function(e){return kI(e,b1)},Rpe=Bi?Object.defineProperties:function(e,t){Xn(e);for(var n,r=ws(t),o=Lpe(t),i=o.length,a=0;i>a;)la.f(e,n=o[a++],r[n]);return e},cS=el("document","documentElement"),FI=oS("IE_PROTO"),fS=function(){},PI=function(e){return"<script>"+e+"<\/script>"},II=function(e){e.write(PI("")),e.close();var t=e.parentWindow.Object;return e=null,t},D1=function(){try{S1=new ActiveXObject("htmlfile")}catch{}var e,t;D1=typeof document<"u"?document.domain&&S1?II(S1):((t=Eh("iframe")).style.display="none",cS.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(PI("document.F=Object")),e.close(),e.F):II(S1);for(var n=b1.length;n--;)delete D1.prototype[b1[n]];return D1()};v1[FI]=!0;var dS=Object.create||function(e,t){var n;return e!==null?(fS.prototype=Xn(e),n=new fS,fS.prototype=null,n[FI]=e):n=D1(),t===void 0?n:Rpe(n,t)},pS=Sn("unscopables"),hS=Array.prototype;hS[pS]==null&&la.f(hS,pS,{configurable:!0,value:dS(null)});var _h=function(e){hS[pS][e]=!0},Mpe=xI.includes;Rr({target:"Array",proto:!0},{includes:function(e){return Mpe(this,e,arguments.length>1?arguments[1]:void 0)}}),_h("includes");var jpe={selector:"iframe,video,p",preParseHtml:function(e){var t=U(e),n=t;if(BI(t)==="p"){var r=t.children();if(r.length===1){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=U(o))}}var a=BI(n);if(a!=="iframe"&&a!=="video"||n.parent().attr("data-w-e-type")==="video")return n[0];var s=U('<div data-w-e-type="video" data-w-e-is-void></div>');return s.append(n),s[0]}},NI=Xe(Xe.bind),Oh=function(e,t){return $s(e),t===void 0?e:NI?NI(e,t):function(){return e.apply(t,arguments)}},x1=Array.isArray||function(e){return Ti(e)=="Array"},LI=function(){},zpe=[],RI=el("Reflect","construct"),gS=/^\s*(?:class|function)\b/,Vpe=Xe(gS.exec),Upe=!gS.exec(LI),Bh=function(e){if(!Pt(e))return!1;try{return RI(LI,zpe,e),!0}catch{return!1}},mS=!RI||qt(function(){var e;return Bh(Bh.call)||!Bh(Object)||!Bh(function(){e=!0})||e})?function(e){if(!Pt(e))return!1;switch(C1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Upe||!!Vpe(gS,m1(e))}:Bh,Hpe=Sn("species"),MI=Se.Array,Wpe=function(e,t){return new(function(n){var r;return x1(n)&&(r=n.constructor,(mS(r)&&(r===MI||x1(r.prototype))||Yt(r)&&(r=r[Hpe])===null)&&(r=void 0)),r===void 0?MI:r}(e))(t===0?0:t)},jI=Xe([].push),Es=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=p1(l),$=KE(C),b=Oh(f,d),w=xh($),y=0,S=p||Wpe,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:jI(x,h)}else switch(e){case 4:return!1;case 7:jI(x,h)}return i?-1:r||o?o:x}},vS={forEach:Es(0),map:Es(1),filter:Es(2),some:Es(3),every:Es(4),find:Es(5),findIndex:Es(6),filterReject:Es(7)},qpe=vS.find,zI=!0;"find"in[]&&Array(1).find(function(){zI=!1}),Rr({target:"Array",proto:!0,forced:zI},{find:function(e){return qpe(this,e,arguments.length>1?arguments[1]:void 0)}}),_h("find");var Gpe=sS?{}.toString:function(){return"[object "+C1(this)+"]"};function VI(e,t,n,r){return t===void 0&&(t=""),n===void 0&&(n="auto"),r===void 0&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]}}sS||to(Object.prototype,"toString",Gpe,{unsafe:!0});var UI,yS,Kpe={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=U(e),o="",i="",a="auto",s="auto",l=r.find("iframe");if(l.length>0)return a=l.attr("width")||"auto",s=l.attr("height")||"auto",VI(o=l[0].outerHTML,i,a,s);var f=r.find("video");return(o=f.attr("src")||"")||f.length>0&&(o=f.find("source").attr("src")||""),a=f.attr("width")||"auto",s=f.attr("height")||"auto",VI(o,i=f.attr("poster")||"",a,s)}},HI=function(){var e=Xn(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},bS=Se.RegExp,wS=qt(function(){var e=bS("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Ype=wS||qt(function(){return!bS("a","y").sticky}),Jpe={BROKEN_CARET:wS||qt(function(){var e=bS("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Ype,UNSUPPORTED_Y:wS},Xpe=Se.RegExp,Zpe=qt(function(){var e=Xpe(".","s");return!(e.dotAll&&e.exec(`
166
- `)&&e.flags==="s")}),Qpe=Se.RegExp,ehe=qt(function(){var e=Qpe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),the=eo.get,nhe=QE("native-string-replace",String.prototype.replace),A1=RegExp.prototype.exec,$S=A1,rhe=Xe("".charAt),ohe=Xe("".indexOf),ihe=Xe("".replace),CS=Xe("".slice),ES=(yS=/b*/g,Ut(A1,UI=/a/,"a"),Ut(A1,yS,"a"),UI.lastIndex!==0||yS.lastIndex!==0),WI=Jpe.BROKEN_CARET,SS=/()??/.exec("")[1]!==void 0;(ES||SS||WI||Zpe||ehe)&&($S=function(e){var t,n,r,o,i,a,s,l=this,f=the(l),d=Po(e),p=f.raw;if(p)return p.lastIndex=l.lastIndex,t=Ut($S,p,d),l.lastIndex=p.lastIndex,t;var h=f.groups,m=WI&&l.sticky,C=Ut(HI,l),$=l.source,b=0,w=d;if(m&&(C=ihe(C,"y",""),ohe(C,"g")===-1&&(C+="g"),w=CS(d,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&rhe(d,l.lastIndex-1)!==`
167
- `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),SS&&(n=new RegExp("^"+$+"$(?!\\s)",C)),ES&&(r=l.lastIndex),o=Ut(A1,m?n:l,w),m?o?(o.input=CS(o.input,b),o[0]=CS(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:ES&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),SS&&o&&o.length>1&&Ut(nhe,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=dS(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var k1=$S;Rr({target:"RegExp",proto:!0,forced:/./.exec!==k1},{exec:k1});var DS=Function.prototype,qI=DS.apply,ahe=DS.bind,GI=DS.call,KI=typeof Reflect=="object"&&Reflect.apply||(ahe?GI.bind(qI):function(){return GI.apply(qI,arguments)}),she=Sn("species"),xS=RegExp.prototype,uhe=Xe("".charAt),YI=Xe("".charCodeAt),lhe=Xe("".slice),JI=function(e){return function(t,n){var r,o,i=Po(yh(t)),a=y1(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=YI(i,a))<55296||r>56319||a+1===s||(o=YI(i,a+1))<56320||o>57343?e?uhe(i,a):r:e?lhe(i,a,a+2):o-56320+(r-55296<<10)+65536}},XI={codeAt:JI(!1),charAt:JI(!0)},che=XI.charAt,fhe=function(e,t,n){return t+(n?che(e,t).length:1)},dhe=Math.floor,AS=Xe("".charAt),phe=Xe("".replace),kS=Xe("".slice),hhe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ghe=/\$([$&'`]|\d{1,2})/g,mhe=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=ghe;return o!==void 0&&(o=p1(o),l=hhe),phe(i,l,function(f,d){var p;switch(AS(d,0)){case"$":return"$";case"&":return e;case"`":return kS(t,0,n);case"'":return kS(t,a);case"<":p=o[kS(d,1,-1)];break;default:var h=+d;if(h===0)return f;if(h>s){var m=dhe(h/10);return m===0?f:m<=s?r[m-1]===void 0?AS(d,1):r[m-1]+AS(d,1):f}p=r[h-1]}return p===void 0?"":p})},vhe=Se.TypeError,yhe=function(e,t){var n=e.exec;if(Pt(n)){var r=Ut(n,e,t);return r!==null&&Xn(r),r}if(Ti(e)==="RegExp")return Ut(k1,e,t);throw vhe("RegExp#exec called on incompatible receiver")},_S=Sn("replace"),bhe=Math.max,whe=Math.min,$he=Xe([].concat),OS=Xe([].push),ZI=Xe("".indexOf),QI=Xe("".slice),Che="a".replace(/./,"$0")==="$0",eN=!!/./[_S]&&/./[_S]("a","$0")==="";function tN(e){return e===void 0&&(e="r"),e+"-"+LA()}(function(e,t,n,r){var o=Sn(e),i=!qt(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!qt(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[she]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=Xe(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=Xe(f),$=d.exec;return $===k1||$===xS.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});to(String.prototype,e,l[0]),to(xS,o,l[1])}r&&ca(xS[o],"sham",!0)})("replace",function(e,t,n){var r=eN?"$":"$0";return[function(o,i){var a=yh(this),s=o==null?void 0:$h(o,_S);return s?Ut(s,o,a,i):Ut(t,Po(a),o,i)},function(o,i){var a=Xn(this),s=Po(o);if(typeof i=="string"&&ZI(i,r)===-1&&ZI(i,"$<")===-1){var l=n(t,a,s,i);if(l.done)return l.value}var f=Pt(i);f||(i=Po(i));var d=a.global;if(d){var p=a.unicode;a.lastIndex=0}for(var h=[];;){var m=yhe(a,s);if(m===null||(OS(h,m),!d))break;Po(m[0])===""&&(a.lastIndex=fhe(s,SI(a.lastIndex),p))}for(var C,$="",b=0,w=0;w<h.length;w++){for(var y=Po((m=h[w])[0]),S=bhe(whe(y1(m.index),s.length),0),x=[],A=1;A<m.length;A++)OS(x,(C=m[A])===void 0?C:String(C));var O=m.groups;if(f){var T=$he([y],x,S,s);O!==void 0&&OS(T,O);var z=Po(KI(i,void 0,T))}else z=mhe(y,s,S,x,O,i);S>=b&&($+=QI(s,b,S)+z,b=S+y.length)}return $+QI(s,b)}]},!!qt(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Che||eN);var _1=Se.Promise,O1=function(e,t,n){for(var r in t)to(e,r,t[r],n);return e},Ehe=Se.String,She=Se.TypeError,nf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Xe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return Xn(r),function(i){if(typeof i=="object"||Pt(i))return i;throw She("Can't set "+Ehe(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),Dhe=la.f,nN=Sn("toStringTag"),B1=function(e,t,n){e&&!In(e=n?e:e.prototype,nN)&&Dhe(e,nN,{configurable:!0,value:t})},rN=Sn("species"),xhe=Se.TypeError,BS=function(e,t){if(bh(t,e))return e;throw xhe("Incorrect invocation")},rf={},Ahe=Sn("iterator"),khe=Array.prototype,_he=Sn("iterator"),oN=function(e){if(e!=null)return $h(e,_he)||$h(e,"@@iterator")||rf[C1(e)]},Ohe=Se.TypeError,iN=function(e,t,n){var r,o;Xn(e);try{if(!(r=$h(e,"return"))){if(t==="throw")throw n;return n}r=Ut(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return Xn(r),n},Bhe=Se.TypeError,T1=function(e,t){this.stopped=e,this.result=t},aN=T1.prototype,F1=function(e,t,n){var r,o,i,a,s,l,f,d,p=n&&n.that,h=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),$=Oh(t,p),b=function(y){return r&&iN(r,"normal",y),new T1(!0,y)},w=function(y){return h?(Xn(y),C?$(y[0],y[1],b):$(y[0],y[1])):C?$(y,b):$(y)};if(m)r=e;else{if(!(o=oN(e)))throw Bhe(d1(e)+" is not iterable");if((d=o)!==void 0&&(rf.Array===d||khe[Ahe]===d)){for(i=0,a=xh(e);a>i;i++)if((s=w(e[i]))&&bh(aN,s))return s;return new T1(!1)}r=function(y,S){var x=arguments.length<2?oN(y):S;if($s(x))return Xn(Ut(x,y));throw Ohe(d1(y)+" is not iterable")}(e,o)}for(l=r.next;!(f=Ut(l,r)).done;){try{s=w(f.value)}catch(y){iN(r,"throw",y)}if(typeof s=="object"&&s&&bh(aN,s))return s}return new T1(!1)},sN=Sn("iterator"),uN=!1;try{var The=0,lN={next:function(){return{done:!!The++}},return:function(){uN=!0}};lN[sN]=function(){return this},Array.from(lN,function(){throw 2})}catch{}var Th,of,cN,TS,fN=function(e,t){if(!t&&!uN)return!1;var n=!1;try{var r={};r[sN]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},Fhe=Se.TypeError,Phe=Sn("species"),Ihe=function(e,t){var n,r=Xn(e).constructor;return r===void 0||(n=Xn(r)[Phe])==null?t:function(o){if(mS(o))return o;throw Fhe(d1(o)+" is not a constructor")}(n)},dN=Xe([].slice),pN=/(?:ipad|iphone|ipod).*applewebkit/i.test(Qc),Ss=Ti(Se.process)=="process",FS=Se.setImmediate,PS=Se.clearImmediate,Nhe=Se.process,IS=Se.Dispatch,Lhe=Se.Function,hN=Se.MessageChannel,Rhe=Se.String,NS=0,Fh={};try{Th=Se.location}catch{}var LS=function(e){if(In(Fh,e)){var t=Fh[e];delete Fh[e],t()}},RS=function(e){return function(){LS(e)}},gN=function(e){LS(e.data)},mN=function(e){Se.postMessage(Rhe(e),Th.protocol+"//"+Th.host)};FS&&PS||(FS=function(e){var t=dN(arguments,1);return Fh[++NS]=function(){KI(Pt(e)?e:Lhe(e),void 0,t)},of(NS),NS},PS=function(e){delete Fh[e]},Ss?of=function(e){Nhe.nextTick(RS(e))}:IS&&IS.now?of=function(e){IS.now(RS(e))}:hN&&!pN?(TS=(cN=new hN).port2,cN.port1.onmessage=gN,of=Oh(TS.postMessage,TS)):Se.addEventListener&&Pt(Se.postMessage)&&!Se.importScripts&&Th&&Th.protocol!=="file:"&&!qt(mN)?(of=mN,Se.addEventListener("message",gN,!1)):of="onreadystatechange"in Eh("script")?function(e){cS.appendChild(Eh("script")).onreadystatechange=function(){cS.removeChild(this),LS(e)}}:function(e){setTimeout(RS(e),0)});var Ph,rl,Ih,af,MS,jS,zS,vN,yN={set:FS,clear:PS},Mhe=/ipad|iphone|ipod/i.test(Qc)&&Se.Pebble!==void 0,jhe=/web0s(?!.*chrome)/i.test(Qc),zhe=rS.f,VS=yN.set,bN=Se.MutationObserver||Se.WebKitMutationObserver,wN=Se.document,$N=Se.process,P1=Se.Promise,CN=zhe(Se,"queueMicrotask"),EN=CN&&CN.value;EN||(Ph=function(){var e,t;for(Ss&&(e=$N.domain)&&e.exit();rl;){t=rl.fn,rl=rl.next;try{t()}catch(n){throw rl?af():Ih=void 0,n}}Ih=void 0,e&&e.enter()},pN||Ss||jhe||!bN||!wN?!Mhe&&P1&&P1.resolve?((zS=P1.resolve(void 0)).constructor=P1,vN=Oh(zS.then,zS),af=function(){vN(Ph)}):Ss?af=function(){$N.nextTick(Ph)}:(VS=Oh(VS,Se),af=function(){VS(Ph)}):(MS=!0,jS=wN.createTextNode(""),new bN(Ph).observe(jS,{characterData:!0}),af=function(){jS.data=MS=!MS}));var US,SN,DN,xN,AN=EN||function(e){var t={fn:e,next:void 0};Ih&&(Ih.next=t),rl||(rl=t,af()),Ih=t},Vhe=function(e){var t,n;this.promise=new e(function(r,o){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=o}),this.resolve=$s(t),this.reject=$s(n)},HS={f:function(e){return new Vhe(e)}},WS=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},Uhe=typeof window=="object",kN=yN.set,Hhe=Sn("species"),Fi="Promise",_N=eo.getterFor(Fi),Whe=eo.set,qhe=eo.getterFor(Fi),ol=_1&&_1.prototype,Pi=_1,Nh=ol,ON=Se.TypeError,qS=Se.document,GS=Se.process,sf=HS.f,Ghe=sf,Khe=!!(qS&&qS.createEvent&&Se.dispatchEvent),BN=Pt(Se.PromiseRejectionEvent),TN=!1,Lh=$1(Fi,function(){var e=m1(Pi),t=e!==String(Pi);if(!t&&wh===66)return!0;if(wh>=51&&/native code/.test(e))return!1;var n=new Pi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[Hhe]=r,!(TN=n.then(function(){})instanceof r)||!t&&Uhe&&!BN}),Yhe=Lh||!fN(function(e){Pi.all(e).catch(function(){})}),FN=function(e){var t;return!(!Yt(e)||!Pt(t=e.then))&&t},KS=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;AN(function(){for(var r=e.value,o=e.state==1,i=0;n.length>i;){var a,s,l,f=n[i++],d=o?f.ok:f.fail,p=f.resolve,h=f.reject,m=f.domain;try{d?(o||(e.rejection===2&&Xhe(e),e.rejection=1),d===!0?a=r:(m&&m.enter(),a=d(r),m&&(m.exit(),l=!0)),a===f.promise?h(ON("Promise-chain cycle")):(s=FN(a))?Ut(s,a,p,h):p(a)):h(r)}catch(C){m&&!l&&m.exit(),h(C)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Jhe(e)})}},PN=function(e,t,n){var r,o;Khe?((r=qS.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Se.dispatchEvent(r)):r={promise:t,reason:n},!BN&&(o=Se["on"+e])?o(r):e==="unhandledrejection"&&function(i,a){var s=Se.console;s&&s.error&&(arguments.length==1?s.error(i):s.error(i,a))}("Unhandled promise rejection",n)},Jhe=function(e){Ut(kN,Se,function(){var t,n=e.facade,r=e.value;if(IN(e)&&(t=WS(function(){Ss?GS.emit("unhandledRejection",r,n):PN("unhandledrejection",n,r)}),e.rejection=Ss||IN(e)?2:1,t.error))throw t.value})},IN=function(e){return e.rejection!==1&&!e.parent},Xhe=function(e){Ut(kN,Se,function(){var t=e.facade;Ss?GS.emit("rejectionHandled",t):PN("rejectionhandled",t,e.value)})},uf=function(e,t,n){return function(r){e(t,r,n)}},lf=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,KS(e,!0))},YS=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw ON("Promise can't be resolved itself");var r=FN(t);r?AN(function(){var o={done:!1};try{Ut(r,t,uf(YS,o,e),uf(lf,o,e))}catch(i){lf(o,i,e)}}):(e.value=t,e.state=1,KS(e,!1))}catch(o){lf({done:!1},o,e)}}};if(Lh&&(Nh=(Pi=function(e){BS(this,Nh),$s(e),Ut(US,this);var t=_N(this);try{e(uf(YS,t),uf(lf,t))}catch(n){lf(t,n)}}).prototype,(US=function(e){Whe(this,{type:Fi,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=O1(Nh,{then:function(e,t){var n=qhe(this),r=n.reactions,o=sf(Ihe(this,Pi));return o.ok=!Pt(e)||e,o.fail=Pt(t)&&t,o.domain=Ss?GS.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&KS(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),SN=function(){var e=new US,t=_N(e);this.promise=e,this.resolve=uf(YS,t),this.reject=uf(lf,t)},HS.f=sf=function(e){return e===Pi||e===DN?new SN(e):Ghe(e)},Pt(_1)&&ol!==Object.prototype)){xN=ol.then,TN||(to(ol,"then",function(e,t){var n=this;return new Pi(function(r,o){Ut(xN,n,r,o)}).then(e,t)},{unsafe:!0}),to(ol,"catch",Nh.catch,{unsafe:!0}));try{delete ol.constructor}catch{}nf&&nf(ol,Nh)}function Rh(e,t,n){return n===void 0&&(n=""),s1(this,void 0,void 0,function(){var r,o,i,a,s,l,f;return u1(this,function(d){switch(d.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig("insertVideo"),o=r.onInsertedVideo,i=r.checkVideo,a=r.parseVideoSrc,[4,i(t,n)]):[2];case 1:return typeof(s=d.sent())=="string"?(e.alert(s,"error"),[2]):s==null?[2]:[4,a(t)];case 2:return(l=d.sent()).trim().indexOf("<iframe ")!==0&&(l=l.replace(/</g,"&lt;").replace(/>/g,"&gt;")),f={type:"video",src:l,poster:n,children:[{text:""}]},Promise.resolve().then(function(){ee.insertNodes(e,f)}),o(f),[2]}})})}function JS(){return tN("w-e-insert-video")}Rr({global:!0,wrap:!0,forced:Lh},{Promise:Pi}),B1(Pi,Fi,!1),function(e){var t=el(e),n=la.f;Bi&&t&&!t[rN]&&n(t,rN,{configurable:!0,get:function(){return this}})}(Fi),DN=el(Fi),Rr({target:Fi,stat:!0,forced:Lh},{reject:function(e){var t=sf(this);return Ut(t.reject,void 0,e),t.promise}}),Rr({target:Fi,stat:!0,forced:Lh},{resolve:function(e){return function(t,n){if(Xn(t),Yt(n)&&n.constructor===t)return n;var r=HS.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Rr({target:Fi,stat:!0,forced:Yhe},{all:function(e){var t=this,n=sf(t),r=n.resolve,o=n.reject,i=WS(function(){var a=$s(t.resolve),s=[],l=0,f=1;F1(e,function(d){var p=l++,h=!1;f++,Ut(a,t,d).then(function(m){h||(h=!0,s[p]=m,--f||r(s))},o)}),--f||r(s)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=sf(t),r=n.reject,o=WS(function(){var i=$s(t.resolve);F1(e,function(a){Ut(i,t,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Zhe=function(){function e(){this.title=$e("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=JS(),this.posterInputId=JS(),this.buttonId=JS()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!R.getSelectedElems(t).some(function(r){var o=R.getNodeType(r);return o==="pre"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.posterInputId,a=r.buttonId,s=Qu(Pr($e("videoModule.videoSrc"),o,$e("videoModule.videoSrcPlaceHolder")),2),l=s[0],f=s[1],d=Qu(Pr($e("videoModule.videoPoster"),i,$e("videoModule.videoPosterPlaceHolder")),2),p=d[0],h=d[1],m=U(f),C=U(h),$=Qu(_u(a,$e("videoModule.ok")),1)[0];if(this.$content==null){var b=U("<div></div>");b.on("click","#"+a,function(y){return s1(n,void 0,void 0,function(){var S,x;return u1(this,function(A){switch(A.label){case 0:return y.preventDefault(),S=b.find("#"+o).val().trim(),x=b.find("#"+i).val().trim(),[4,Rh(t,S,x)];case 1:return A.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=b}var w=this.$content;return w.empty(),w.append(l),w.append(p),w.append($),m.val(""),C.val(""),setTimeout(function(){m.focus()}),w[0]},e}(),Qhe=Xe([].join),ege=KE!=Object,tge=function(e,t){var n=[][e];return!!n&&qt(function(){n.call(null,t||function(){throw 1},1)})}("join",",");Rr({target:"Array",proto:!0,forced:ege||!tge},{join:function(e){return Qhe(ws(this),e===void 0?",":e)}});var il,NN,LN,nge=!qt(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),RN=oS("IE_PROTO"),XS=Se.Object,rge=XS.prototype,I1=nge?XS.getPrototypeOf:function(e){var t=p1(e);if(In(t,RN))return t[RN];var n=t.constructor;return Pt(n)&&t instanceof n?n.prototype:t instanceof XS?rge:null},ZS=Sn("iterator"),MN=!1;[].keys&&("next"in(LN=[].keys())?(NN=I1(I1(LN)))!==Object.prototype&&(il=NN):MN=!0);var oge=il==null||qt(function(){var e={};return il[ZS].call(e)!==e});oge&&(il={}),Pt(il[ZS])||to(il,ZS,function(){return this});var QS={IteratorPrototype:il,BUGGY_SAFARI_ITERATORS:MN},ige=QS.IteratorPrototype,age=function(){return this},sge=tf.PROPER,uge=tf.CONFIGURABLE,jN=QS.IteratorPrototype,N1=QS.BUGGY_SAFARI_ITERATORS,Mh=Sn("iterator"),lge=function(){return this},zN=function(e,t,n,r,o,i,a){(function(w,y,S,x){var A=y+" Iterator";w.prototype=dS(ige,{next:f1(+!x,S)}),B1(w,A,!1),rf[A]=age})(n,t,r);var s,l,f,d=function(w){if(w===o&&$)return $;if(!N1&&w in m)return m[w];switch(w){case"keys":case"values":case"entries":return function(){return new n(this,w)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,m=e.prototype,C=m[Mh]||m["@@iterator"]||o&&m[o],$=!N1&&C||d(o),b=t=="Array"&&m.entries||C;if(b&&(s=I1(b.call(new e)))!==Object.prototype&&s.next&&(I1(s)!==jN&&(nf?nf(s,jN):Pt(s[Mh])||to(s,Mh,lge)),B1(s,p,!0)),sge&&o=="values"&&C&&C.name!=="values"&&(uge?ca(m,"name","values"):(h=!0,$=function(){return Ut(C,this)})),o)if(l={values:d("values"),keys:i?$:d("keys"),entries:d("entries")},a)for(f in l)(N1||h||!(f in m))&&to(m,f,l[f]);else Rr({target:t,proto:!0,forced:N1||h},l);return m[Mh]!==$&&to(m,Mh,$,{name:o}),rf[t]=$,l},cge=eo.set,fge=eo.getterFor("Array Iterator"),jh=zN(Array,"Array",function(e,t){cge(this,{type:"Array Iterator",target:ws(e),index:0,kind:t})},function(){var e=fge(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");rf.Arguments=rf.Array,_h("keys"),_h("values"),_h("entries");var dge=XI.charAt,pge=eo.set,hge=eo.getterFor("String Iterator");zN(String,"String",function(e){pge(this,{type:"String Iterator",string:Po(e),index:0})},function(){var e,t=hge(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=dge(n,r),t.index+=e.length,{value:e,done:!1})});var VN=function(e,t,n){var r=tS(t);r in e?la.f(e,r,f1(0,n)):e[r]=n},gge=Se.Array,mge=Math.max,UN=w1.f,HN=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vge=function(e){try{return UN(e)}catch{return function(n,r,o){for(var i=xh(n),a=Dh(r,i),s=Dh(o===void 0?i:o,i),l=gge(mge(s-a,0)),f=0;a<s;a++,f++)VN(l,f,n[a]);return l.length=f,l}(HN)}},yge={f:function(e){return HN&&Ti(e)=="Window"?vge(e):UN(ws(e))}},WN=qt(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),L1=Object.isExtensible,al=qt(function(){L1(1)})||WN?function(e){return!!Yt(e)&&(!WN||Ti(e)!="ArrayBuffer")&&(!L1||L1(e))}:L1,bge=!qt(function(){return Object.isExtensible(Object.preventExtensions({}))}),e5=HE(function(e){var t=la.f,n=!1,r=eS("meta"),o=0,i=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=w1.f,l=Xe([].splice),f={};f[r]=1,s(f).length&&(w1.f=function(d){for(var p=s(d),h=0,m=p.length;h<m;h++)if(p[h]===r){l(p,h,1);break}return p},Rr({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:yge.f}))},fastKey:function(s,l){if(!Yt(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!In(s,r)){if(!al(s))return"F";if(!l)return"E";i(s)}return s[r].objectID},getWeakData:function(s,l){if(!In(s,r)){if(!al(s))return!0;if(!l)return!1;i(s)}return s[r].weakData},onFreeze:function(s){return bge&&n&&al(s)&&!In(s,r)&&i(s),s}};v1[r]=!0}),R1=e5.getWeakData,wge=eo.set,$ge=eo.getterFor,Cge=vS.find,Ege=vS.findIndex,Sge=Xe([].splice),Dge=0,M1=function(e){return e.frozen||(e.frozen=new qN)},qN=function(){this.entries=[]},t5=function(e,t){return Cge(e.entries,function(n){return n[0]===t})};qN.prototype={get:function(e){var t=t5(this,e);if(t)return t[1]},has:function(e){return!!t5(this,e)},set:function(e,t){var n=t5(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Ege(this.entries,function(n){return n[0]===e});return~t&&Sge(this.entries,t,1),!!~t}};var zh,GN={getConstructor:function(e,t,n,r){var o=e(function(l,f){BS(l,i),wge(l,{type:t,id:Dge++,frozen:void 0}),f!=null&&F1(f,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=$ge(t),s=function(l,f,d){var p=a(l),h=R1(Xn(f),!0);return h===!0?M1(p).set(f,d):h[p.id]=d,l};return O1(i,{delete:function(l){var f=a(this);if(!Yt(l))return!1;var d=R1(l);return d===!0?M1(f).delete(l):d&&In(d,f.id)&&delete d[f.id]},has:function(l){var f=a(this);if(!Yt(l))return!1;var d=R1(l);return d===!0?M1(f).has(l):d&&In(d,f.id)}}),O1(i,n?{get:function(l){var f=a(this);if(Yt(l)){var d=R1(l);return d===!0?M1(f).get(l):d?d[f.id]:void 0}},set:function(l,f){return s(this,l,f)}}:{add:function(l){return s(this,l,!0)}}),o}},j1=eo.enforce,xge=!Se.ActiveXObject&&"ActiveXObject"in Se,KN=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Age=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=Se[e],s=a&&a.prototype,l=a,f={},d=function(b){var w=Xe(s[b]);to(s,b,b=="add"?function(y){return w(this,y===0?0:y),this}:b=="delete"?function(y){return!(o&&!Yt(y))&&w(this,y===0?0:y)}:b=="get"?function(y){return o&&!Yt(y)?void 0:w(this,y===0?0:y)}:b=="has"?function(y){return!(o&&!Yt(y))&&w(this,y===0?0:y)}:function(y,S){return w(this,y===0?0:y,S),this})};if($1(e,!Pt(a)||!(o||s.forEach&&!qt(function(){new a().entries().next()}))))l=n.getConstructor(t,e,r,i),e5.enable();else if($1(e,!0)){var p=new l,h=p[i](o?{}:-0,1)!=p,m=qt(function(){p.has(1)}),C=fN(function(b){new a(b)}),$=!o&&qt(function(){for(var b=new a,w=5;w--;)b[i](w,w);return!b.has(-0)});C||((l=t(function(b,w){BS(b,s);var y=function(S,x,A){var O,T;return nf&&Pt(O=x.constructor)&&O!==A&&Yt(T=O.prototype)&&T!==A.prototype&&nf(S,T),S}(new a,b,l);return w!=null&&F1(w,y[i],{that:y,AS_ENTRIES:r}),y})).prototype=s,s.constructor=l),(m||$)&&(d("delete"),d("has"),r&&d("get")),($||h)&&d(i),o&&s.clear&&delete s.clear}return f[e]=l,Rr({global:!0,forced:l!=a},f),B1(l,e),o||n.setStrong(l,e,r),l}("WeakMap",KN,GN);if(wI&&xge){zh=GN.getConstructor(KN,"WeakMap",!0),e5.enable();var Vh=Age.prototype,YN=Xe(Vh.delete),z1=Xe(Vh.has),JN=Xe(Vh.get),XN=Xe(Vh.set);O1(Vh,{delete:function(e){if(Yt(e)&&!al(e)){var t=j1(this);return t.frozen||(t.frozen=new zh),YN(this,e)||t.frozen.delete(e)}return YN(this,e)},has:function(e){if(Yt(e)&&!al(e)){var t=j1(this);return t.frozen||(t.frozen=new zh),z1(this,e)||t.frozen.has(e)}return z1(this,e)},get:function(e){if(Yt(e)&&!al(e)){var t=j1(this);return t.frozen||(t.frozen=new zh),z1(this,e)?JN(this,e):t.frozen.get(e)}return JN(this,e)},set:function(e,t){if(Yt(e)&&!al(e)){var n=j1(this);n.frozen||(n.frozen=new zh),z1(this,e)?XN(this,e,t):n.frozen.set(e,t)}else XN(this,e,t);return this}})}var ZN={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},n5=Eh("span").classList,QN=n5&&n5.constructor&&n5.constructor.prototype,kge=QN===Object.prototype?void 0:QN,r5=Sn("iterator"),eL=Sn("toStringTag"),o5=jh.values,tL=function(e,t){if(e){if(e[r5]!==o5)try{ca(e,r5,o5)}catch{e[r5]=o5}if(e[eL]||ca(e,eL,t),ZN[t]){for(var n in jh)if(e[n]!==jh[n])try{ca(e,n,jh[n])}catch{e[n]=jh[n]}}}};for(var i5 in ZN)tL(Se[i5]&&Se[i5].prototype,i5);tL(kge,"DOMTokenList");var _ge=tf.EXISTS,Oge=la.f,nL=Function.prototype,Bge=Xe(nL.toString),rL=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Tge=Xe(rL.exec);Bi&&!_ge&&Oge(nL,"name",{configurable:!0,get:function(){try{return Tge(rL,Bge(this))[1]}catch{return""}}});var Fge=Sn("species"),Pge=function(e){return wh>=51||!qt(function(){var t=[];return(t.constructor={})[Fge]=function(){return{foo:1}},t[e](Boolean).foo!==1})}("slice"),Ige=Sn("species"),a5=Se.Array,Nge=Math.max;function oL(e){return e.getMenuConfig("uploadVideo")}Rr({target:"Array",proto:!0,forced:!Pge},{slice:function(e,t){var n,r,o,i=ws(this),a=xh(i),s=Dh(e,a),l=Dh(t===void 0?a:t,a);if(x1(i)&&(n=i.constructor,(mS(n)&&(n===a5||x1(n.prototype))||Yt(n)&&(n=n[Ige])===null)&&(n=void 0),n===a5||n===void 0))return dN(i,s,l);for(r=new(n===void 0?a5:n)(Nge(l-s,0)),o=0;s<l;s++,o++)s in i&&VN(r,o,i[s]);return r.length=o,r}});var iL=new WeakMap;function Lge(e,t){return s1(this,void 0,void 0,function(){var n,r,o,i;return u1(this,function(a){switch(a.label){case 0:return n=function(s){var l=iL.get(s);if(l!=null)return l;var f=oL(s),d=f.onSuccess,p=f.onProgress,h=f.onFailed,m=f.customInsert,C=f.onError;return l=Y4(a1(a1({},f),{onProgress:function($){s.showProgressBar($),p&&p($)},onSuccess:function($,b){if(m)return m(b,function(z,V){return Rh(s,z,V)}),void d($,b);var w=b.errno,y=w===void 0?1:w,S=b.data,x=S===void 0?{}:S;if(y===0){var A=x.url,O=A===void 0?"":A,T=x.poster;Rh(s,O,T===void 0?"":T),d($,b)}else h($,b)},onError:function($,b,w){C($,b,w)}})),iL.set(s,l),l}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}var Rge=function(){function e(){this.title=$e("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(d,p){return Rh(t,d,p)});else{var s="";i.length>0&&(s='accept="'+i.join(", ")+'"');var l=U("body"),f=U('<input type="file" '+s+" multiple/>");f.hide(),l.append(f),f.click(),f.on("change",function(){var d=f[0].files;(function(p,h){var m,C;s1(this,void 0,void 0,function(){var $,b,w,y,S,x;return u1(this,function(A){switch(A.label){case 0:if(h==null)return[2];$=Array.prototype.slice.call(h),b=oL(p).customUpload,A.label=1;case 1:A.trys.push([1,9,10,15]),w=Tde($),A.label=2;case 2:return[4,w.next()];case 3:return(y=A.sent()).done?[3,8]:(S=y.value,b?[4,b(S,function(O,T){return Rh(p,O,T)})]:[3,5]);case 4:return A.sent(),[3,7];case 5:return[4,Lge(p,S)];case 6:A.sent(),A.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return x=A.sent(),m={error:x},[3,15];case 10:return A.trys.push([10,,13,14]),y&&!y.done&&(C=w.return)?[4,C.call(w)]:[3,12];case 11:A.sent(),A.label=12;case 12:return[3,14];case 13:if(m)throw m.error;return[7];case 14:return[7];case 15:return[2]}})})})(t,d)})}},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!R.getSelectedElems(t).some(function(r){var o=R.getNodeType(r);return o==="pre"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},e}(),Mge=tf.PROPER,s5=RegExp.prototype,aL=s5.toString,jge=Xe(HI),zge=qt(function(){return aL.call({source:"a",flags:"b"})!="/a/b"}),Vge=Mge&&aL.name!="toString";function u5(){return tN("w-e-insert-video")}(zge||Vge)&&to(RegExp.prototype,"toString",function(){var e=Xn(this),t=Po(e.source),n=e.flags;return"/"+t+"/"+Po(n===void 0&&bh(s5,e)&&!("flags"in s5)?jge(e):n)},{unsafe:!0});var Uge=function(){function e(){this.title=$e("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=u5(),this.heightInputId=u5(),this.buttonId=u5()}return e.prototype.getSelectedVideoNode=function(t){return R.getSelectedNodeByType(t,"video")},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedVideoNode(t)==null},e.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=n.widthInputId,o=n.heightInputId,i=n.buttonId,a=Qu(Pr($e("videoModule.width"),r,"auto"),2),s=a[0],l=a[1],f=U(l),d=Qu(Pr($e("videoModule.height"),o,"auto"),2),p=d[0],h=d[1],m=U(h),C=Qu(_u(i,$e("videoModule.ok")),1)[0];if(this.$content==null){var $=U("<div></div>");$.on("click","#"+i,function(O){O.preventDefault();var T=$.find("#"+r).val().trim(),z=$.find("#"+o).val().trim(),V=parseInt(T),ue=parseInt(z),oe=V?V.toString():"auto",de=ue?ue.toString():"auto";t.restoreSelection(),ee.setNodes(t,{width:oe,height:de},{match:function(me){return R.checkNodeType(me,"video")}}),t.hidePanelOrModal()}),this.$content=$}var b=this.$content;b.empty(),b.append(s),b.append(p),b.append(C);var w=this.getSelectedVideoNode(t);if(w==null)return b[0];var y=w.width,S=y===void 0?"auto":y,x=w.height,A=x===void 0?"auto":x;return f.val(S),m.val(A),setTimeout(function(){f.focus()}),b[0]},e}(),Hge={renderElems:[Ipe],elemsToHtml:[Npe],preParseHtml:[jpe],parseElemsHtml:[Kpe],menus:[{key:"insertVideo",factory:function(){return new Zhe},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Rge},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new Uge}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(o){return o.type==="video"||t(o)},r.normalizeNode=function(o){var i=Qu(o,2),a=i[0],s=i[1];return R.getNodeType(a)==="video"&&R.isLastNode(r,a)&&ee.insertNodes(r,R.genEmptyParagraph(),{at:[s[0]+1]}),n([a,s])},r}};xr("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),xr("zh-CN",{uploadImgModule:{uploadImage:"\u4E0A\u4F20\u56FE\u7247",uploadError:"{{fileName}} \u4E0A\u4F20\u51FA\u9519"}});var sL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l5(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ds,V1,U1=function(e){return e&&e.Math==Math&&e},Ce=U1(typeof globalThis=="object"&&globalThis)||U1(typeof window=="object"&&window)||U1(typeof self=="object"&&self)||U1(typeof sL=="object"&&sL)||function(){return this}()||Function("return this")(),Jt=function(e){try{return!!e()}catch{return!0}},Ii=!Jt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Uh=Function.prototype.call,_t=Uh.bind?Uh.bind(Uh):function(){return Uh.apply(Uh,arguments)},uL={}.propertyIsEnumerable,lL=Object.getOwnPropertyDescriptor,Wge={f:lL&&!uL.call({1:2},1)?function(e){var t=lL(this,e);return!!t&&t.enumerable}:uL},H1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},cL=Function.prototype,c5=cL.bind,f5=cL.call,qge=c5&&c5.bind(f5),st=c5?function(e){return e&&qge(f5,e)}:function(e){return e&&function(){return f5.apply(e,arguments)}},Gge=st({}.toString),Kge=st("".slice),ii=function(e){return Kge(Gge(e),8,-1)},d5=Ce.Object,Yge=st("".split),p5=Jt(function(){return!d5("z").propertyIsEnumerable(0)})?function(e){return ii(e)=="String"?Yge(e,""):d5(e)}:d5,Jge=Ce.TypeError,Hh=function(e){if(e==null)throw Jge("Can't call method on "+e);return e},xs=function(e){return p5(Hh(e))},Rt=function(e){return typeof e=="function"},Gt=function(e){return typeof e=="object"?e!==null:Rt(e)},Xge=function(e){return Rt(e)?e:void 0},sl=function(e,t){return arguments.length<2?Xge(Ce[e]):Ce[e]&&Ce[e][t]},Wh=st({}.isPrototypeOf),cf=sl("navigator","userAgent")||"",fL=Ce.process,dL=Ce.Deno,pL=fL&&fL.versions||dL&&dL.version,hL=pL&&pL.v8;hL&&(V1=(Ds=hL.split("."))[0]>0&&Ds[0]<4?1:+(Ds[0]+Ds[1])),!V1&&cf&&(!(Ds=cf.match(/Edge\/(\d+)/))||Ds[1]>=74)&&(Ds=cf.match(/Chrome\/(\d+)/))&&(V1=+Ds[1]);var qh=V1,h5=!!Object.getOwnPropertySymbols&&!Jt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&qh&&qh<41}),g5=h5&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Zge=Ce.Object,m5=g5?function(e){return typeof e=="symbol"}:function(e){var t=sl("Symbol");return Rt(t)&&Wh(t.prototype,Zge(e))},Qge=Ce.String,W1=function(e){try{return Qge(e)}catch{return"Object"}},e0e=Ce.TypeError,As=function(e){if(Rt(e))return e;throw e0e(W1(e)+" is not a function")},Gh=function(e,t){var n=e[t];return n==null?void 0:As(n)},t0e=Ce.TypeError,n0e=Object.defineProperty,v5=function(e,t){try{n0e(Ce,e,{value:t,configurable:!0,writable:!0})}catch{Ce[e]=t}return t},ks=Ce["__core-js_shared__"]||v5("__core-js_shared__",{}),y5=l5(function(e){(e.exports=function(t,n){return ks[t]||(ks[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),r0e=Ce.Object,b5=function(e){return r0e(Hh(e))},o0e=st({}.hasOwnProperty),Nn=Object.hasOwn||function(e,t){return o0e(b5(e),t)},i0e=0,a0e=Math.random(),s0e=st(1 .toString),w5=function(e){return"Symbol("+(e===void 0?"":e)+")_"+s0e(++i0e+a0e,36)},Kh=y5("wks"),ul=Ce.Symbol,gL=ul&&ul.for,u0e=g5?ul:ul&&ul.withoutSetter||w5,Dn=function(e){if(!Nn(Kh,e)||!h5&&typeof Kh[e]!="string"){var t="Symbol."+e;h5&&Nn(ul,e)?Kh[e]=ul[e]:Kh[e]=g5&&gL?gL(t):u0e(t)}return Kh[e]},l0e=Ce.TypeError,c0e=Dn("toPrimitive"),f0e=function(e,t){if(!Gt(e)||m5(e))return e;var n,r=Gh(e,c0e);if(r){if(t===void 0&&(t="default"),n=_t(r,e,t),!Gt(n)||m5(n))return n;throw l0e("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&Rt(a=o.toString)&&!Gt(s=_t(a,o))||Rt(a=o.valueOf)&&!Gt(s=_t(a,o))||i!=="string"&&Rt(a=o.toString)&&!Gt(s=_t(a,o)))return s;throw t0e("Can't convert object to primitive value")}(e,t)},$5=function(e){var t=f0e(e,"string");return m5(t)?t:t+""},C5=Ce.document,d0e=Gt(C5)&&Gt(C5.createElement),Yh=function(e){return d0e?C5.createElement(e):{}},mL=!Ii&&!Jt(function(){return Object.defineProperty(Yh("div"),"a",{get:function(){return 7}}).a!=7}),vL=Object.getOwnPropertyDescriptor,E5={f:Ii?vL:function(e,t){if(e=xs(e),t=$5(t),mL)try{return vL(e,t)}catch{}if(Nn(e,t))return H1(!_t(Wge.f,e,t),e[t])}},p0e=Ce.String,h0e=Ce.TypeError,Zn=function(e){if(Gt(e))return e;throw h0e(p0e(e)+" is not an object")},g0e=Ce.TypeError,yL=Object.defineProperty,fa={f:Ii?yL:function(e,t,n){if(Zn(e),t=$5(t),Zn(n),mL)try{return yL(e,t,n)}catch{}if("get"in n||"set"in n)throw g0e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ni=Ii?function(e,t,n){return fa.f(e,t,H1(1,n))}:function(e,t,n){return e[t]=n,e},m0e=st(Function.toString);Rt(ks.inspectSource)||(ks.inspectSource=function(e){return m0e(e)});var q1,Jh,G1,K1=ks.inspectSource,bL=Ce.WeakMap,wL=Rt(bL)&&/native code/.test(K1(bL)),$L=y5("keys"),S5=function(e){return $L[e]||($L[e]=w5(e))},Y1={},D5=Ce.TypeError,v0e=Ce.WeakMap;if(wL||ks.state){var ll=ks.state||(ks.state=new v0e),y0e=st(ll.get),CL=st(ll.has),b0e=st(ll.set);q1=function(e,t){if(CL(ll,e))throw new D5("Object already initialized");return t.facade=e,b0e(ll,e,t),t},Jh=function(e){return y0e(ll,e)||{}},G1=function(e){return CL(ll,e)}}else{var ff=S5("state");Y1[ff]=!0,q1=function(e,t){if(Nn(e,ff))throw new D5("Object already initialized");return t.facade=e,Ni(e,ff,t),t},Jh=function(e){return Nn(e,ff)?e[ff]:{}},G1=function(e){return Nn(e,ff)}}var no={set:q1,get:Jh,has:G1,enforce:function(e){return G1(e)?Jh(e):q1(e,{})},getterFor:function(e){return function(t){var n;if(!Gt(t)||(n=Jh(t)).type!==e)throw D5("Incompatible receiver, "+e+" required");return n}}},EL=Function.prototype,w0e=Ii&&Object.getOwnPropertyDescriptor,x5=Nn(EL,"name"),Xh={EXISTS:x5,PROPER:x5&&function(){}.name==="something",CONFIGURABLE:x5&&(!Ii||Ii&&w0e(EL,"name").configurable)},ro=l5(function(e){var t=Xh.CONFIGURABLE,n=no.get,r=no.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;Rt(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Nn(s,"name")||t&&s.name!==m)&&Ni(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==Ce?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Ni(i,a,s)):p?i[a]=s:v5(a,s)})(Function.prototype,"toString",function(){return Rt(this)&&n(this).source||K1(this)})}),$0e=Math.ceil,C0e=Math.floor,A5=function(e){var t=+e;return t!=t||t===0?0:(t>0?C0e:$0e)(t)},E0e=Math.max,S0e=Math.min,Zh=function(e,t){var n=A5(e);return n<0?E0e(n+t,0):S0e(n,t)},D0e=Math.min,SL=function(e){return e>0?D0e(A5(e),9007199254740991):0},Qh=function(e){return SL(e.length)},DL=function(e){return function(t,n,r){var o,i=xs(t),a=Qh(i),s=Zh(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},x0e={includes:DL(!0),indexOf:DL(!1)}.indexOf,xL=st([].push),AL=function(e,t){var n,r=xs(e),o=0,i=[];for(n in r)!Nn(Y1,n)&&Nn(r,n)&&xL(i,n);for(;t.length>o;)Nn(r,n=t[o++])&&(~x0e(i,n)||xL(i,n));return i},J1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],A0e=J1.concat("length","prototype"),X1={f:Object.getOwnPropertyNames||function(e){return AL(e,A0e)}},k0e={f:Object.getOwnPropertySymbols},_0e=st([].concat),O0e=sl("Reflect","ownKeys")||function(e){var t=X1.f(Zn(e)),n=k0e.f;return n?_0e(t,n(e)):t},B0e=function(e,t){for(var n=O0e(t),r=fa.f,o=E5.f,i=0;i<n.length;i++){var a=n[i];Nn(e,a)||r(e,a,o(t,a))}},T0e=/#|\.prototype\./,eg=function(e,t){var n=P0e[F0e(e)];return n==N0e||n!=I0e&&(Rt(t)?Jt(t):!!t)},F0e=eg.normalize=function(e){return String(e).replace(T0e,".").toLowerCase()},P0e=eg.data={},I0e=eg.NATIVE="N",N0e=eg.POLYFILL="P",Z1=eg,L0e=E5.f,Li=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?Ce:f?Ce[s]||v5(s,{}):(Ce[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=L0e(n,r))&&a.value:n[r],!Z1(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;B0e(i,o)}(e.sham||o&&o.sham)&&Ni(i,"sham",!0),ro(n,r,i,e)}},Q1=Array.isArray||function(e){return ii(e)=="Array"},kL={};kL[Dn("toStringTag")]="z";var _L,k5=String(kL)==="[object z]",R0e=Dn("toStringTag"),M0e=Ce.Object,j0e=ii(function(){return arguments}())=="Arguments",ey=k5?ii:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=M0e(e),R0e))=="string"?n:j0e?ii(t):(r=ii(t))=="Object"&&Rt(t.callee)?"Arguments":r},OL=function(){},z0e=[],BL=sl("Reflect","construct"),_5=/^\s*(?:class|function)\b/,V0e=st(_5.exec),U0e=!_5.exec(OL),tg=function(e){if(!Rt(e))return!1;try{return BL(OL,z0e,e),!0}catch{return!1}},O5=!BL||Jt(function(){var e;return tg(tg.call)||!tg(Object)||!tg(function(){e=!0})||e})?function(e){if(!Rt(e))return!1;switch(ey(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return U0e||!!V0e(_5,K1(e))}:tg,TL=function(e,t,n){var r=$5(t);r in e?fa.f(e,r,H1(0,n)):e[r]=n},H0e=Dn("species"),FL=st([].slice),W0e=(_L="slice",qh>=51||!Jt(function(){var e=[];return(e.constructor={})[H0e]=function(){return{foo:1}},e[_L](Boolean).foo!==1})),q0e=Dn("species"),B5=Ce.Array,G0e=Math.max;Li({target:"Array",proto:!0,forced:!W0e},{slice:function(e,t){var n,r,o,i=xs(this),a=Qh(i),s=Zh(e,a),l=Zh(t===void 0?a:t,a);if(Q1(i)&&(n=i.constructor,(O5(n)&&(n===B5||Q1(n.prototype))||Gt(n)&&(n=n[q0e])===null)&&(n=void 0),n===B5||n===void 0))return FL(i,s,l);for(r=new(n===void 0?B5:n)(G0e(l-s,0)),o=0;s<l;s++,o++)s in i&&TL(r,o,i[s]);return r.length=o,r}});var K0e=k5?{}.toString:function(){return"[object "+ey(this)+"]"};k5||ro(Object.prototype,"toString",K0e,{unsafe:!0});var ty,Y0e=Ce.String,_s=function(e){if(ey(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Y0e(e)},PL=function(){var e=Zn(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},T5=Ce.RegExp,F5=Jt(function(){var e=T5("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),J0e=F5||Jt(function(){return!T5("a","y").sticky}),IL={BROKEN_CARET:F5||Jt(function(){var e=T5("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:J0e,UNSUPPORTED_Y:F5},X0e=Object.keys||function(e){return AL(e,J1)},Z0e=Ii?Object.defineProperties:function(e,t){Zn(e);for(var n,r=xs(t),o=X0e(t),i=o.length,a=0;i>a;)fa.f(e,n=o[a++],r[n]);return e},P5=sl("document","documentElement"),NL=S5("IE_PROTO"),I5=function(){},LL=function(e){return"<script>"+e+"<\/script>"},RL=function(e){e.write(LL("")),e.close();var t=e.parentWindow.Object;return e=null,t},ny=function(){try{ty=new ActiveXObject("htmlfile")}catch{}var e,t;ny=typeof document<"u"?document.domain&&ty?RL(ty):((t=Yh("iframe")).style.display="none",P5.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(LL("document.F=Object")),e.close(),e.F):RL(ty);for(var n=J1.length;n--;)delete ny.prototype[J1[n]];return ny()};Y1[NL]=!0;var ML,N5,L5=Object.create||function(e,t){var n;return e!==null?(I5.prototype=Zn(e),n=new I5,I5.prototype=null,n[NL]=e):n=ny(),t===void 0?n:Z0e(n,t)},Q0e=Ce.RegExp,eme=Jt(function(){var e=Q0e(".","s");return!(e.dotAll&&e.exec(`
168
- `)&&e.flags==="s")}),tme=Ce.RegExp,nme=Jt(function(){var e=tme("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),rme=no.get,ome=y5("native-string-replace",String.prototype.replace),ry=RegExp.prototype.exec,R5=ry,ime=st("".charAt),ame=st("".indexOf),sme=st("".replace),M5=st("".slice),j5=(N5=/b*/g,_t(ry,ML=/a/,"a"),_t(ry,N5,"a"),ML.lastIndex!==0||N5.lastIndex!==0),jL=IL.BROKEN_CARET,z5=/()??/.exec("")[1]!==void 0;(j5||z5||jL||eme||nme)&&(R5=function(e){var t,n,r,o,i,a,s,l=this,f=rme(l),d=_s(e),p=f.raw;if(p)return p.lastIndex=l.lastIndex,t=_t(R5,p,d),l.lastIndex=p.lastIndex,t;var h=f.groups,m=jL&&l.sticky,C=_t(PL,l),$=l.source,b=0,w=d;if(m&&(C=sme(C,"y",""),ame(C,"g")===-1&&(C+="g"),w=M5(d,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&ime(d,l.lastIndex-1)!==`
169
- `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),z5&&(n=new RegExp("^"+$+"$(?!\\s)",C)),j5&&(r=l.lastIndex),o=_t(ry,m?n:l,w),m?o?(o.input=M5(o.input,b),o[0]=M5(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:j5&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),z5&&o&&o.length>1&&_t(ome,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=L5(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var ng=R5;Li({target:"RegExp",proto:!0,forced:/./.exec!==ng},{exec:ng});var V5=Function.prototype,zL=V5.apply,ume=V5.bind,VL=V5.call,UL=typeof Reflect=="object"&&Reflect.apply||(ume?VL.bind(zL):function(){return VL.apply(zL,arguments)}),lme=Dn("species"),U5=RegExp.prototype,cme=Dn("match"),fme=Ce.TypeError,dme=Dn("species"),HL=function(e,t){var n,r=Zn(e).constructor;return r===void 0||(n=Zn(r)[dme])==null?t:function(o){if(O5(o))return o;throw fme(W1(o)+" is not a constructor")}(n)},pme=st("".charAt),WL=st("".charCodeAt),hme=st("".slice),qL=function(e){return function(t,n){var r,o,i=_s(Hh(t)),a=A5(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=WL(i,a))<55296||r>56319||a+1===s||(o=WL(i,a+1))<56320||o>57343?e?pme(i,a):r:e?hme(i,a,a+2):o-56320+(r-55296<<10)+65536}},GL={codeAt:qL(!1),charAt:qL(!0)},gme=GL.charAt,mme=function(e,t,n){return t+(n?gme(e,t).length:1)},vme=Ce.Array,yme=Math.max,H5=function(e,t,n){for(var r=Qh(e),o=Zh(t,r),i=Zh(n===void 0?r:n,r),a=vme(yme(i-o,0)),s=0;o<i;o++,s++)TL(a,s,e[o]);return a.length=s,a},bme=Ce.TypeError,KL=function(e,t){var n=e.exec;if(Rt(n)){var r=_t(n,e,t);return r!==null&&Zn(r),r}if(ii(e)==="RegExp")return _t(ng,e,t);throw bme("RegExp#exec called on incompatible receiver")},df=IL.UNSUPPORTED_Y,wme=Math.min,YL=[].push,$me=st(/./.exec),pf=st(YL),rg=st("".slice);(function(e,t,n,r){var o=Dn(e),i=!Jt(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!Jt(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[lme]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=st(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=st(f),$=d.exec;return $===ng||$===U5.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});ro(String.prototype,e,l[0]),ro(U5,o,l[1])}r&&Ni(U5[o],"sham",!0)})("split",function(e,t,n){var r;return r="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,s,l=_s(Hh(this)),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o===void 0)return[l];if(!Gt(a=o)||!((s=a[cme])!==void 0?s:ii(a)=="RegExp"))return _t(t,l,o,f);for(var d,p,h,m=[],C=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),$=0,b=new RegExp(o.source,C+"g");(d=_t(ng,b,l))&&!((p=b.lastIndex)>$&&(pf(m,rg(l,$,d.index)),d.length>1&&d.index<l.length&&UL(YL,m,H5(d,1)),h=d[0].length,$=p,m.length>=f));)b.lastIndex===d.index&&b.lastIndex++;return $===l.length?!h&&$me(b,"")||pf(m,""):pf(m,rg(l,$)),m.length>f?H5(m,0,f):m}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:_t(t,this,o,i)}:t,[function(o,i){var a=Hh(this),s=o==null?void 0:Gh(o,e);return s?_t(s,o,a,i):_t(r,_s(a),o,i)},function(o,i){var a=Zn(this),s=_s(o),l=n(r,a,s,i,r!==t);if(l.done)return l.value;var f=HL(a,RegExp),d=a.unicode,p=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(df?"g":"y"),h=new f(df?"^(?:"+a.source+")":a,p),m=i===void 0?4294967295:i>>>0;if(m===0)return[];if(s.length===0)return KL(h,s)===null?[s]:[];for(var C=0,$=0,b=[];$<s.length;){h.lastIndex=df?0:$;var w,y=KL(h,df?rg(s,$):s);if(y===null||(w=wme(SL(h.lastIndex+(df?$:0)),s.length))===C)$=mme(s,$,d);else{if(pf(b,rg(s,C,$)),b.length===m)return b;for(var S=1;S<=y.length-1;S++)if(pf(b,y[S]),b.length===m)return b;$=C=w}}return pf(b,rg(s,C)),b}]},!!Jt(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),df);/*! *****************************************************************************
165
+ </div>`}},Lpe=Object.keys||function(e){return kI(e,b1)},Rpe=Bi?Object.defineProperties:function(e,t){Xn(e);for(var n,r=ws(t),o=Lpe(t),i=o.length,a=0;i>a;)la.f(e,n=o[a++],r[n]);return e},cS=el("document","documentElement"),FI=oS("IE_PROTO"),fS=function(){},PI=function(e){return"<script>"+e+"<\/script>"},II=function(e){e.write(PI("")),e.close();var t=e.parentWindow.Object;return e=null,t},D1=function(){try{S1=new ActiveXObject("htmlfile")}catch{}var e,t;D1=typeof document<"u"?document.domain&&S1?II(S1):((t=Eh("iframe")).style.display="none",cS.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(PI("document.F=Object")),e.close(),e.F):II(S1);for(var n=b1.length;n--;)delete D1.prototype[b1[n]];return D1()};v1[FI]=!0;var dS=Object.create||function(e,t){var n;return e!==null?(fS.prototype=Xn(e),n=new fS,fS.prototype=null,n[FI]=e):n=D1(),t===void 0?n:Rpe(n,t)},pS=Sn("unscopables"),hS=Array.prototype;hS[pS]==null&&la.f(hS,pS,{configurable:!0,value:dS(null)});var _h=function(e){hS[pS][e]=!0},Mpe=xI.includes;Rr({target:"Array",proto:!0},{includes:function(e){return Mpe(this,e,arguments.length>1?arguments[1]:void 0)}}),_h("includes");var jpe={selector:"iframe,video,p",preParseHtml:function(e){var t=U(e),n=t;if(BI(t)==="p"){var r=t.children();if(r.length===1){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=U(o))}}var a=BI(n);if(a!=="iframe"&&a!=="video"||n.parent().attr("data-w-e-type")==="video")return n[0];var s=U('<div data-w-e-type="video" data-w-e-is-void></div>');return s.append(n),s[0]}},NI=Xe(Xe.bind),Oh=function(e,t){return $s(e),t===void 0?e:NI?NI(e,t):function(){return e.apply(t,arguments)}},x1=Array.isArray||function(e){return Ti(e)=="Array"},LI=function(){},zpe=[],RI=el("Reflect","construct"),gS=/^\s*(?:class|function)\b/,Vpe=Xe(gS.exec),Upe=!gS.exec(LI),Bh=function(e){if(!Pt(e))return!1;try{return RI(LI,zpe,e),!0}catch{return!1}},mS=!RI||qt(function(){var e;return Bh(Bh.call)||!Bh(Object)||!Bh(function(){e=!0})||e})?function(e){if(!Pt(e))return!1;switch(C1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Upe||!!Vpe(gS,m1(e))}:Bh,Hpe=Sn("species"),MI=Se.Array,Wpe=function(e,t){return new(function(n){var r;return x1(n)&&(r=n.constructor,(mS(r)&&(r===MI||x1(r.prototype))||Yt(r)&&(r=r[Hpe])===null)&&(r=void 0)),r===void 0?MI:r}(e))(t===0?0:t)},jI=Xe([].push),Es=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=p1(l),$=KE(C),b=Oh(f,d),w=xh($),y=0,S=p||Wpe,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:jI(x,h)}else switch(e){case 4:return!1;case 7:jI(x,h)}return i?-1:r||o?o:x}},vS={forEach:Es(0),map:Es(1),filter:Es(2),some:Es(3),every:Es(4),find:Es(5),findIndex:Es(6),filterReject:Es(7)},qpe=vS.find,zI=!0;"find"in[]&&Array(1).find(function(){zI=!1}),Rr({target:"Array",proto:!0,forced:zI},{find:function(e){return qpe(this,e,arguments.length>1?arguments[1]:void 0)}}),_h("find");var Gpe=sS?{}.toString:function(){return"[object "+C1(this)+"]"};function VI(e,t,n,r){return t===void 0&&(t=""),n===void 0&&(n="auto"),r===void 0&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]}}sS||no(Object.prototype,"toString",Gpe,{unsafe:!0});var UI,yS,Kpe={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=U(e),o="",i="",a="auto",s="auto",l=r.find("iframe");if(l.length>0)return a=l.attr("width")||"auto",s=l.attr("height")||"auto",VI(o=l[0].outerHTML,i,a,s);var f=r.find("video");return(o=f.attr("src")||"")||f.length>0&&(o=f.find("source").attr("src")||""),a=f.attr("width")||"auto",s=f.attr("height")||"auto",VI(o,i=f.attr("poster")||"",a,s)}},HI=function(){var e=Xn(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},bS=Se.RegExp,wS=qt(function(){var e=bS("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Ype=wS||qt(function(){return!bS("a","y").sticky}),Jpe={BROKEN_CARET:wS||qt(function(){var e=bS("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Ype,UNSUPPORTED_Y:wS},Xpe=Se.RegExp,Zpe=qt(function(){var e=Xpe(".","s");return!(e.dotAll&&e.exec(`
166
+ `)&&e.flags==="s")}),Qpe=Se.RegExp,ehe=qt(function(){var e=Qpe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),the=to.get,nhe=QE("native-string-replace",String.prototype.replace),A1=RegExp.prototype.exec,$S=A1,rhe=Xe("".charAt),ohe=Xe("".indexOf),ihe=Xe("".replace),CS=Xe("".slice),ES=(yS=/b*/g,Ut(A1,UI=/a/,"a"),Ut(A1,yS,"a"),UI.lastIndex!==0||yS.lastIndex!==0),WI=Jpe.BROKEN_CARET,SS=/()??/.exec("")[1]!==void 0;(ES||SS||WI||Zpe||ehe)&&($S=function(e){var t,n,r,o,i,a,s,l=this,f=the(l),d=Po(e),p=f.raw;if(p)return p.lastIndex=l.lastIndex,t=Ut($S,p,d),l.lastIndex=p.lastIndex,t;var h=f.groups,m=WI&&l.sticky,C=Ut(HI,l),$=l.source,b=0,w=d;if(m&&(C=ihe(C,"y",""),ohe(C,"g")===-1&&(C+="g"),w=CS(d,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&rhe(d,l.lastIndex-1)!==`
167
+ `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),SS&&(n=new RegExp("^"+$+"$(?!\\s)",C)),ES&&(r=l.lastIndex),o=Ut(A1,m?n:l,w),m?o?(o.input=CS(o.input,b),o[0]=CS(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:ES&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),SS&&o&&o.length>1&&Ut(nhe,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=dS(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var k1=$S;Rr({target:"RegExp",proto:!0,forced:/./.exec!==k1},{exec:k1});var DS=Function.prototype,qI=DS.apply,ahe=DS.bind,GI=DS.call,KI=typeof Reflect=="object"&&Reflect.apply||(ahe?GI.bind(qI):function(){return GI.apply(qI,arguments)}),she=Sn("species"),xS=RegExp.prototype,uhe=Xe("".charAt),YI=Xe("".charCodeAt),lhe=Xe("".slice),JI=function(e){return function(t,n){var r,o,i=Po(yh(t)),a=y1(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=YI(i,a))<55296||r>56319||a+1===s||(o=YI(i,a+1))<56320||o>57343?e?uhe(i,a):r:e?lhe(i,a,a+2):o-56320+(r-55296<<10)+65536}},XI={codeAt:JI(!1),charAt:JI(!0)},che=XI.charAt,fhe=function(e,t,n){return t+(n?che(e,t).length:1)},dhe=Math.floor,AS=Xe("".charAt),phe=Xe("".replace),kS=Xe("".slice),hhe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ghe=/\$([$&'`]|\d{1,2})/g,mhe=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=ghe;return o!==void 0&&(o=p1(o),l=hhe),phe(i,l,function(f,d){var p;switch(AS(d,0)){case"$":return"$";case"&":return e;case"`":return kS(t,0,n);case"'":return kS(t,a);case"<":p=o[kS(d,1,-1)];break;default:var h=+d;if(h===0)return f;if(h>s){var m=dhe(h/10);return m===0?f:m<=s?r[m-1]===void 0?AS(d,1):r[m-1]+AS(d,1):f}p=r[h-1]}return p===void 0?"":p})},vhe=Se.TypeError,yhe=function(e,t){var n=e.exec;if(Pt(n)){var r=Ut(n,e,t);return r!==null&&Xn(r),r}if(Ti(e)==="RegExp")return Ut(k1,e,t);throw vhe("RegExp#exec called on incompatible receiver")},_S=Sn("replace"),bhe=Math.max,whe=Math.min,$he=Xe([].concat),OS=Xe([].push),ZI=Xe("".indexOf),QI=Xe("".slice),Che="a".replace(/./,"$0")==="$0",eN=!!/./[_S]&&/./[_S]("a","$0")==="";function tN(e){return e===void 0&&(e="r"),e+"-"+LA()}(function(e,t,n,r){var o=Sn(e),i=!qt(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!qt(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[she]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=Xe(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=Xe(f),$=d.exec;return $===k1||$===xS.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});no(String.prototype,e,l[0]),no(xS,o,l[1])}r&&ca(xS[o],"sham",!0)})("replace",function(e,t,n){var r=eN?"$":"$0";return[function(o,i){var a=yh(this),s=o==null?void 0:$h(o,_S);return s?Ut(s,o,a,i):Ut(t,Po(a),o,i)},function(o,i){var a=Xn(this),s=Po(o);if(typeof i=="string"&&ZI(i,r)===-1&&ZI(i,"$<")===-1){var l=n(t,a,s,i);if(l.done)return l.value}var f=Pt(i);f||(i=Po(i));var d=a.global;if(d){var p=a.unicode;a.lastIndex=0}for(var h=[];;){var m=yhe(a,s);if(m===null||(OS(h,m),!d))break;Po(m[0])===""&&(a.lastIndex=fhe(s,SI(a.lastIndex),p))}for(var C,$="",b=0,w=0;w<h.length;w++){for(var y=Po((m=h[w])[0]),S=bhe(whe(y1(m.index),s.length),0),x=[],A=1;A<m.length;A++)OS(x,(C=m[A])===void 0?C:String(C));var O=m.groups;if(f){var T=$he([y],x,S,s);O!==void 0&&OS(T,O);var z=Po(KI(i,void 0,T))}else z=mhe(y,s,S,x,O,i);S>=b&&($+=QI(s,b,S)+z,b=S+y.length)}return $+QI(s,b)}]},!!qt(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Che||eN);var _1=Se.Promise,O1=function(e,t,n){for(var r in t)no(e,r,t[r],n);return e},Ehe=Se.String,She=Se.TypeError,nf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Xe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return Xn(r),function(i){if(typeof i=="object"||Pt(i))return i;throw She("Can't set "+Ehe(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),Dhe=la.f,nN=Sn("toStringTag"),B1=function(e,t,n){e&&!In(e=n?e:e.prototype,nN)&&Dhe(e,nN,{configurable:!0,value:t})},rN=Sn("species"),xhe=Se.TypeError,BS=function(e,t){if(bh(t,e))return e;throw xhe("Incorrect invocation")},rf={},Ahe=Sn("iterator"),khe=Array.prototype,_he=Sn("iterator"),oN=function(e){if(e!=null)return $h(e,_he)||$h(e,"@@iterator")||rf[C1(e)]},Ohe=Se.TypeError,iN=function(e,t,n){var r,o;Xn(e);try{if(!(r=$h(e,"return"))){if(t==="throw")throw n;return n}r=Ut(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return Xn(r),n},Bhe=Se.TypeError,T1=function(e,t){this.stopped=e,this.result=t},aN=T1.prototype,F1=function(e,t,n){var r,o,i,a,s,l,f,d,p=n&&n.that,h=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),$=Oh(t,p),b=function(y){return r&&iN(r,"normal",y),new T1(!0,y)},w=function(y){return h?(Xn(y),C?$(y[0],y[1],b):$(y[0],y[1])):C?$(y,b):$(y)};if(m)r=e;else{if(!(o=oN(e)))throw Bhe(d1(e)+" is not iterable");if((d=o)!==void 0&&(rf.Array===d||khe[Ahe]===d)){for(i=0,a=xh(e);a>i;i++)if((s=w(e[i]))&&bh(aN,s))return s;return new T1(!1)}r=function(y,S){var x=arguments.length<2?oN(y):S;if($s(x))return Xn(Ut(x,y));throw Ohe(d1(y)+" is not iterable")}(e,o)}for(l=r.next;!(f=Ut(l,r)).done;){try{s=w(f.value)}catch(y){iN(r,"throw",y)}if(typeof s=="object"&&s&&bh(aN,s))return s}return new T1(!1)},sN=Sn("iterator"),uN=!1;try{var The=0,lN={next:function(){return{done:!!The++}},return:function(){uN=!0}};lN[sN]=function(){return this},Array.from(lN,function(){throw 2})}catch{}var Th,of,cN,TS,fN=function(e,t){if(!t&&!uN)return!1;var n=!1;try{var r={};r[sN]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},Fhe=Se.TypeError,Phe=Sn("species"),Ihe=function(e,t){var n,r=Xn(e).constructor;return r===void 0||(n=Xn(r)[Phe])==null?t:function(o){if(mS(o))return o;throw Fhe(d1(o)+" is not a constructor")}(n)},dN=Xe([].slice),pN=/(?:ipad|iphone|ipod).*applewebkit/i.test(Qc),Ss=Ti(Se.process)=="process",FS=Se.setImmediate,PS=Se.clearImmediate,Nhe=Se.process,IS=Se.Dispatch,Lhe=Se.Function,hN=Se.MessageChannel,Rhe=Se.String,NS=0,Fh={};try{Th=Se.location}catch{}var LS=function(e){if(In(Fh,e)){var t=Fh[e];delete Fh[e],t()}},RS=function(e){return function(){LS(e)}},gN=function(e){LS(e.data)},mN=function(e){Se.postMessage(Rhe(e),Th.protocol+"//"+Th.host)};FS&&PS||(FS=function(e){var t=dN(arguments,1);return Fh[++NS]=function(){KI(Pt(e)?e:Lhe(e),void 0,t)},of(NS),NS},PS=function(e){delete Fh[e]},Ss?of=function(e){Nhe.nextTick(RS(e))}:IS&&IS.now?of=function(e){IS.now(RS(e))}:hN&&!pN?(TS=(cN=new hN).port2,cN.port1.onmessage=gN,of=Oh(TS.postMessage,TS)):Se.addEventListener&&Pt(Se.postMessage)&&!Se.importScripts&&Th&&Th.protocol!=="file:"&&!qt(mN)?(of=mN,Se.addEventListener("message",gN,!1)):of="onreadystatechange"in Eh("script")?function(e){cS.appendChild(Eh("script")).onreadystatechange=function(){cS.removeChild(this),LS(e)}}:function(e){setTimeout(RS(e),0)});var Ph,rl,Ih,af,MS,jS,zS,vN,yN={set:FS,clear:PS},Mhe=/ipad|iphone|ipod/i.test(Qc)&&Se.Pebble!==void 0,jhe=/web0s(?!.*chrome)/i.test(Qc),zhe=rS.f,VS=yN.set,bN=Se.MutationObserver||Se.WebKitMutationObserver,wN=Se.document,$N=Se.process,P1=Se.Promise,CN=zhe(Se,"queueMicrotask"),EN=CN&&CN.value;EN||(Ph=function(){var e,t;for(Ss&&(e=$N.domain)&&e.exit();rl;){t=rl.fn,rl=rl.next;try{t()}catch(n){throw rl?af():Ih=void 0,n}}Ih=void 0,e&&e.enter()},pN||Ss||jhe||!bN||!wN?!Mhe&&P1&&P1.resolve?((zS=P1.resolve(void 0)).constructor=P1,vN=Oh(zS.then,zS),af=function(){vN(Ph)}):Ss?af=function(){$N.nextTick(Ph)}:(VS=Oh(VS,Se),af=function(){VS(Ph)}):(MS=!0,jS=wN.createTextNode(""),new bN(Ph).observe(jS,{characterData:!0}),af=function(){jS.data=MS=!MS}));var US,SN,DN,xN,AN=EN||function(e){var t={fn:e,next:void 0};Ih&&(Ih.next=t),rl||(rl=t,af()),Ih=t},Vhe=function(e){var t,n;this.promise=new e(function(r,o){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=o}),this.resolve=$s(t),this.reject=$s(n)},HS={f:function(e){return new Vhe(e)}},WS=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},Uhe=typeof window=="object",kN=yN.set,Hhe=Sn("species"),Fi="Promise",_N=to.getterFor(Fi),Whe=to.set,qhe=to.getterFor(Fi),ol=_1&&_1.prototype,Pi=_1,Nh=ol,ON=Se.TypeError,qS=Se.document,GS=Se.process,sf=HS.f,Ghe=sf,Khe=!!(qS&&qS.createEvent&&Se.dispatchEvent),BN=Pt(Se.PromiseRejectionEvent),TN=!1,Lh=$1(Fi,function(){var e=m1(Pi),t=e!==String(Pi);if(!t&&wh===66)return!0;if(wh>=51&&/native code/.test(e))return!1;var n=new Pi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[Hhe]=r,!(TN=n.then(function(){})instanceof r)||!t&&Uhe&&!BN}),Yhe=Lh||!fN(function(e){Pi.all(e).catch(function(){})}),FN=function(e){var t;return!(!Yt(e)||!Pt(t=e.then))&&t},KS=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;AN(function(){for(var r=e.value,o=e.state==1,i=0;n.length>i;){var a,s,l,f=n[i++],d=o?f.ok:f.fail,p=f.resolve,h=f.reject,m=f.domain;try{d?(o||(e.rejection===2&&Xhe(e),e.rejection=1),d===!0?a=r:(m&&m.enter(),a=d(r),m&&(m.exit(),l=!0)),a===f.promise?h(ON("Promise-chain cycle")):(s=FN(a))?Ut(s,a,p,h):p(a)):h(r)}catch(C){m&&!l&&m.exit(),h(C)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Jhe(e)})}},PN=function(e,t,n){var r,o;Khe?((r=qS.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Se.dispatchEvent(r)):r={promise:t,reason:n},!BN&&(o=Se["on"+e])?o(r):e==="unhandledrejection"&&function(i,a){var s=Se.console;s&&s.error&&(arguments.length==1?s.error(i):s.error(i,a))}("Unhandled promise rejection",n)},Jhe=function(e){Ut(kN,Se,function(){var t,n=e.facade,r=e.value;if(IN(e)&&(t=WS(function(){Ss?GS.emit("unhandledRejection",r,n):PN("unhandledrejection",n,r)}),e.rejection=Ss||IN(e)?2:1,t.error))throw t.value})},IN=function(e){return e.rejection!==1&&!e.parent},Xhe=function(e){Ut(kN,Se,function(){var t=e.facade;Ss?GS.emit("rejectionHandled",t):PN("rejectionhandled",t,e.value)})},uf=function(e,t,n){return function(r){e(t,r,n)}},lf=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,KS(e,!0))},YS=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw ON("Promise can't be resolved itself");var r=FN(t);r?AN(function(){var o={done:!1};try{Ut(r,t,uf(YS,o,e),uf(lf,o,e))}catch(i){lf(o,i,e)}}):(e.value=t,e.state=1,KS(e,!1))}catch(o){lf({done:!1},o,e)}}};if(Lh&&(Nh=(Pi=function(e){BS(this,Nh),$s(e),Ut(US,this);var t=_N(this);try{e(uf(YS,t),uf(lf,t))}catch(n){lf(t,n)}}).prototype,(US=function(e){Whe(this,{type:Fi,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=O1(Nh,{then:function(e,t){var n=qhe(this),r=n.reactions,o=sf(Ihe(this,Pi));return o.ok=!Pt(e)||e,o.fail=Pt(t)&&t,o.domain=Ss?GS.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&KS(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),SN=function(){var e=new US,t=_N(e);this.promise=e,this.resolve=uf(YS,t),this.reject=uf(lf,t)},HS.f=sf=function(e){return e===Pi||e===DN?new SN(e):Ghe(e)},Pt(_1)&&ol!==Object.prototype)){xN=ol.then,TN||(no(ol,"then",function(e,t){var n=this;return new Pi(function(r,o){Ut(xN,n,r,o)}).then(e,t)},{unsafe:!0}),no(ol,"catch",Nh.catch,{unsafe:!0}));try{delete ol.constructor}catch{}nf&&nf(ol,Nh)}function Rh(e,t,n){return n===void 0&&(n=""),s1(this,void 0,void 0,function(){var r,o,i,a,s,l,f;return u1(this,function(d){switch(d.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig("insertVideo"),o=r.onInsertedVideo,i=r.checkVideo,a=r.parseVideoSrc,[4,i(t,n)]):[2];case 1:return typeof(s=d.sent())=="string"?(e.alert(s,"error"),[2]):s==null?[2]:[4,a(t)];case 2:return(l=d.sent()).trim().indexOf("<iframe ")!==0&&(l=l.replace(/</g,"&lt;").replace(/>/g,"&gt;")),f={type:"video",src:l,poster:n,children:[{text:""}]},Promise.resolve().then(function(){ee.insertNodes(e,f)}),o(f),[2]}})})}function JS(){return tN("w-e-insert-video")}Rr({global:!0,wrap:!0,forced:Lh},{Promise:Pi}),B1(Pi,Fi,!1),function(e){var t=el(e),n=la.f;Bi&&t&&!t[rN]&&n(t,rN,{configurable:!0,get:function(){return this}})}(Fi),DN=el(Fi),Rr({target:Fi,stat:!0,forced:Lh},{reject:function(e){var t=sf(this);return Ut(t.reject,void 0,e),t.promise}}),Rr({target:Fi,stat:!0,forced:Lh},{resolve:function(e){return function(t,n){if(Xn(t),Yt(n)&&n.constructor===t)return n;var r=HS.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Rr({target:Fi,stat:!0,forced:Yhe},{all:function(e){var t=this,n=sf(t),r=n.resolve,o=n.reject,i=WS(function(){var a=$s(t.resolve),s=[],l=0,f=1;F1(e,function(d){var p=l++,h=!1;f++,Ut(a,t,d).then(function(m){h||(h=!0,s[p]=m,--f||r(s))},o)}),--f||r(s)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=sf(t),r=n.reject,o=WS(function(){var i=$s(t.resolve);F1(e,function(a){Ut(i,t,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Zhe=function(){function e(){this.title=$e("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=JS(),this.posterInputId=JS(),this.buttonId=JS()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!R.getSelectedElems(t).some(function(r){var o=R.getNodeType(r);return o==="pre"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,i=r.posterInputId,a=r.buttonId,s=Qu(Pr($e("videoModule.videoSrc"),o,$e("videoModule.videoSrcPlaceHolder")),2),l=s[0],f=s[1],d=Qu(Pr($e("videoModule.videoPoster"),i,$e("videoModule.videoPosterPlaceHolder")),2),p=d[0],h=d[1],m=U(f),C=U(h),$=Qu(_u(a,$e("videoModule.ok")),1)[0];if(this.$content==null){var b=U("<div></div>");b.on("click","#"+a,function(y){return s1(n,void 0,void 0,function(){var S,x;return u1(this,function(A){switch(A.label){case 0:return y.preventDefault(),S=b.find("#"+o).val().trim(),x=b.find("#"+i).val().trim(),[4,Rh(t,S,x)];case 1:return A.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=b}var w=this.$content;return w.empty(),w.append(l),w.append(p),w.append($),m.val(""),C.val(""),setTimeout(function(){m.focus()}),w[0]},e}(),Qhe=Xe([].join),ege=KE!=Object,tge=function(e,t){var n=[][e];return!!n&&qt(function(){n.call(null,t||function(){throw 1},1)})}("join",",");Rr({target:"Array",proto:!0,forced:ege||!tge},{join:function(e){return Qhe(ws(this),e===void 0?",":e)}});var il,NN,LN,nge=!qt(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),RN=oS("IE_PROTO"),XS=Se.Object,rge=XS.prototype,I1=nge?XS.getPrototypeOf:function(e){var t=p1(e);if(In(t,RN))return t[RN];var n=t.constructor;return Pt(n)&&t instanceof n?n.prototype:t instanceof XS?rge:null},ZS=Sn("iterator"),MN=!1;[].keys&&("next"in(LN=[].keys())?(NN=I1(I1(LN)))!==Object.prototype&&(il=NN):MN=!0);var oge=il==null||qt(function(){var e={};return il[ZS].call(e)!==e});oge&&(il={}),Pt(il[ZS])||no(il,ZS,function(){return this});var QS={IteratorPrototype:il,BUGGY_SAFARI_ITERATORS:MN},ige=QS.IteratorPrototype,age=function(){return this},sge=tf.PROPER,uge=tf.CONFIGURABLE,jN=QS.IteratorPrototype,N1=QS.BUGGY_SAFARI_ITERATORS,Mh=Sn("iterator"),lge=function(){return this},zN=function(e,t,n,r,o,i,a){(function(w,y,S,x){var A=y+" Iterator";w.prototype=dS(ige,{next:f1(+!x,S)}),B1(w,A,!1),rf[A]=age})(n,t,r);var s,l,f,d=function(w){if(w===o&&$)return $;if(!N1&&w in m)return m[w];switch(w){case"keys":case"values":case"entries":return function(){return new n(this,w)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,m=e.prototype,C=m[Mh]||m["@@iterator"]||o&&m[o],$=!N1&&C||d(o),b=t=="Array"&&m.entries||C;if(b&&(s=I1(b.call(new e)))!==Object.prototype&&s.next&&(I1(s)!==jN&&(nf?nf(s,jN):Pt(s[Mh])||no(s,Mh,lge)),B1(s,p,!0)),sge&&o=="values"&&C&&C.name!=="values"&&(uge?ca(m,"name","values"):(h=!0,$=function(){return Ut(C,this)})),o)if(l={values:d("values"),keys:i?$:d("keys"),entries:d("entries")},a)for(f in l)(N1||h||!(f in m))&&no(m,f,l[f]);else Rr({target:t,proto:!0,forced:N1||h},l);return m[Mh]!==$&&no(m,Mh,$,{name:o}),rf[t]=$,l},cge=to.set,fge=to.getterFor("Array Iterator"),jh=zN(Array,"Array",function(e,t){cge(this,{type:"Array Iterator",target:ws(e),index:0,kind:t})},function(){var e=fge(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");rf.Arguments=rf.Array,_h("keys"),_h("values"),_h("entries");var dge=XI.charAt,pge=to.set,hge=to.getterFor("String Iterator");zN(String,"String",function(e){pge(this,{type:"String Iterator",string:Po(e),index:0})},function(){var e,t=hge(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=dge(n,r),t.index+=e.length,{value:e,done:!1})});var VN=function(e,t,n){var r=tS(t);r in e?la.f(e,r,f1(0,n)):e[r]=n},gge=Se.Array,mge=Math.max,UN=w1.f,HN=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vge=function(e){try{return UN(e)}catch{return function(n,r,o){for(var i=xh(n),a=Dh(r,i),s=Dh(o===void 0?i:o,i),l=gge(mge(s-a,0)),f=0;a<s;a++,f++)VN(l,f,n[a]);return l.length=f,l}(HN)}},yge={f:function(e){return HN&&Ti(e)=="Window"?vge(e):UN(ws(e))}},WN=qt(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),L1=Object.isExtensible,al=qt(function(){L1(1)})||WN?function(e){return!!Yt(e)&&(!WN||Ti(e)!="ArrayBuffer")&&(!L1||L1(e))}:L1,bge=!qt(function(){return Object.isExtensible(Object.preventExtensions({}))}),e5=HE(function(e){var t=la.f,n=!1,r=eS("meta"),o=0,i=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=w1.f,l=Xe([].splice),f={};f[r]=1,s(f).length&&(w1.f=function(d){for(var p=s(d),h=0,m=p.length;h<m;h++)if(p[h]===r){l(p,h,1);break}return p},Rr({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:yge.f}))},fastKey:function(s,l){if(!Yt(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!In(s,r)){if(!al(s))return"F";if(!l)return"E";i(s)}return s[r].objectID},getWeakData:function(s,l){if(!In(s,r)){if(!al(s))return!0;if(!l)return!1;i(s)}return s[r].weakData},onFreeze:function(s){return bge&&n&&al(s)&&!In(s,r)&&i(s),s}};v1[r]=!0}),R1=e5.getWeakData,wge=to.set,$ge=to.getterFor,Cge=vS.find,Ege=vS.findIndex,Sge=Xe([].splice),Dge=0,M1=function(e){return e.frozen||(e.frozen=new qN)},qN=function(){this.entries=[]},t5=function(e,t){return Cge(e.entries,function(n){return n[0]===t})};qN.prototype={get:function(e){var t=t5(this,e);if(t)return t[1]},has:function(e){return!!t5(this,e)},set:function(e,t){var n=t5(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Ege(this.entries,function(n){return n[0]===e});return~t&&Sge(this.entries,t,1),!!~t}};var zh,GN={getConstructor:function(e,t,n,r){var o=e(function(l,f){BS(l,i),wge(l,{type:t,id:Dge++,frozen:void 0}),f!=null&&F1(f,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=$ge(t),s=function(l,f,d){var p=a(l),h=R1(Xn(f),!0);return h===!0?M1(p).set(f,d):h[p.id]=d,l};return O1(i,{delete:function(l){var f=a(this);if(!Yt(l))return!1;var d=R1(l);return d===!0?M1(f).delete(l):d&&In(d,f.id)&&delete d[f.id]},has:function(l){var f=a(this);if(!Yt(l))return!1;var d=R1(l);return d===!0?M1(f).has(l):d&&In(d,f.id)}}),O1(i,n?{get:function(l){var f=a(this);if(Yt(l)){var d=R1(l);return d===!0?M1(f).get(l):d?d[f.id]:void 0}},set:function(l,f){return s(this,l,f)}}:{add:function(l){return s(this,l,!0)}}),o}},j1=to.enforce,xge=!Se.ActiveXObject&&"ActiveXObject"in Se,KN=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Age=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=Se[e],s=a&&a.prototype,l=a,f={},d=function(b){var w=Xe(s[b]);no(s,b,b=="add"?function(y){return w(this,y===0?0:y),this}:b=="delete"?function(y){return!(o&&!Yt(y))&&w(this,y===0?0:y)}:b=="get"?function(y){return o&&!Yt(y)?void 0:w(this,y===0?0:y)}:b=="has"?function(y){return!(o&&!Yt(y))&&w(this,y===0?0:y)}:function(y,S){return w(this,y===0?0:y,S),this})};if($1(e,!Pt(a)||!(o||s.forEach&&!qt(function(){new a().entries().next()}))))l=n.getConstructor(t,e,r,i),e5.enable();else if($1(e,!0)){var p=new l,h=p[i](o?{}:-0,1)!=p,m=qt(function(){p.has(1)}),C=fN(function(b){new a(b)}),$=!o&&qt(function(){for(var b=new a,w=5;w--;)b[i](w,w);return!b.has(-0)});C||((l=t(function(b,w){BS(b,s);var y=function(S,x,A){var O,T;return nf&&Pt(O=x.constructor)&&O!==A&&Yt(T=O.prototype)&&T!==A.prototype&&nf(S,T),S}(new a,b,l);return w!=null&&F1(w,y[i],{that:y,AS_ENTRIES:r}),y})).prototype=s,s.constructor=l),(m||$)&&(d("delete"),d("has"),r&&d("get")),($||h)&&d(i),o&&s.clear&&delete s.clear}return f[e]=l,Rr({global:!0,forced:l!=a},f),B1(l,e),o||n.setStrong(l,e,r),l}("WeakMap",KN,GN);if(wI&&xge){zh=GN.getConstructor(KN,"WeakMap",!0),e5.enable();var Vh=Age.prototype,YN=Xe(Vh.delete),z1=Xe(Vh.has),JN=Xe(Vh.get),XN=Xe(Vh.set);O1(Vh,{delete:function(e){if(Yt(e)&&!al(e)){var t=j1(this);return t.frozen||(t.frozen=new zh),YN(this,e)||t.frozen.delete(e)}return YN(this,e)},has:function(e){if(Yt(e)&&!al(e)){var t=j1(this);return t.frozen||(t.frozen=new zh),z1(this,e)||t.frozen.has(e)}return z1(this,e)},get:function(e){if(Yt(e)&&!al(e)){var t=j1(this);return t.frozen||(t.frozen=new zh),z1(this,e)?JN(this,e):t.frozen.get(e)}return JN(this,e)},set:function(e,t){if(Yt(e)&&!al(e)){var n=j1(this);n.frozen||(n.frozen=new zh),z1(this,e)?XN(this,e,t):n.frozen.set(e,t)}else XN(this,e,t);return this}})}var ZN={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},n5=Eh("span").classList,QN=n5&&n5.constructor&&n5.constructor.prototype,kge=QN===Object.prototype?void 0:QN,r5=Sn("iterator"),eL=Sn("toStringTag"),o5=jh.values,tL=function(e,t){if(e){if(e[r5]!==o5)try{ca(e,r5,o5)}catch{e[r5]=o5}if(e[eL]||ca(e,eL,t),ZN[t]){for(var n in jh)if(e[n]!==jh[n])try{ca(e,n,jh[n])}catch{e[n]=jh[n]}}}};for(var i5 in ZN)tL(Se[i5]&&Se[i5].prototype,i5);tL(kge,"DOMTokenList");var _ge=tf.EXISTS,Oge=la.f,nL=Function.prototype,Bge=Xe(nL.toString),rL=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Tge=Xe(rL.exec);Bi&&!_ge&&Oge(nL,"name",{configurable:!0,get:function(){try{return Tge(rL,Bge(this))[1]}catch{return""}}});var Fge=Sn("species"),Pge=function(e){return wh>=51||!qt(function(){var t=[];return(t.constructor={})[Fge]=function(){return{foo:1}},t[e](Boolean).foo!==1})}("slice"),Ige=Sn("species"),a5=Se.Array,Nge=Math.max;function oL(e){return e.getMenuConfig("uploadVideo")}Rr({target:"Array",proto:!0,forced:!Pge},{slice:function(e,t){var n,r,o,i=ws(this),a=xh(i),s=Dh(e,a),l=Dh(t===void 0?a:t,a);if(x1(i)&&(n=i.constructor,(mS(n)&&(n===a5||x1(n.prototype))||Yt(n)&&(n=n[Ige])===null)&&(n=void 0),n===a5||n===void 0))return dN(i,s,l);for(r=new(n===void 0?a5:n)(Nge(l-s,0)),o=0;s<l;s++,o++)s in i&&VN(r,o,i[s]);return r.length=o,r}});var iL=new WeakMap;function Lge(e,t){return s1(this,void 0,void 0,function(){var n,r,o,i;return u1(this,function(a){switch(a.label){case 0:return n=function(s){var l=iL.get(s);if(l!=null)return l;var f=oL(s),d=f.onSuccess,p=f.onProgress,h=f.onFailed,m=f.customInsert,C=f.onError;return l=Y4(a1(a1({},f),{onProgress:function($){s.showProgressBar($),p&&p($)},onSuccess:function($,b){if(m)return m(b,function(z,V){return Rh(s,z,V)}),void d($,b);var w=b.errno,y=w===void 0?1:w,S=b.data,x=S===void 0?{}:S;if(y===0){var A=x.url,O=A===void 0?"":A,T=x.poster;Rh(s,O,T===void 0?"":T),d($,b)}else h($,b)},onError:function($,b,w){C($,b,w)}})),iL.set(s,l),l}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}var Rge=function(){function e(){this.title=$e("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(d,p){return Rh(t,d,p)});else{var s="";i.length>0&&(s='accept="'+i.join(", ")+'"');var l=U("body"),f=U('<input type="file" '+s+" multiple/>");f.hide(),l.append(f),f.click(),f.on("change",function(){var d=f[0].files;(function(p,h){var m,C;s1(this,void 0,void 0,function(){var $,b,w,y,S,x;return u1(this,function(A){switch(A.label){case 0:if(h==null)return[2];$=Array.prototype.slice.call(h),b=oL(p).customUpload,A.label=1;case 1:A.trys.push([1,9,10,15]),w=Tde($),A.label=2;case 2:return[4,w.next()];case 3:return(y=A.sent()).done?[3,8]:(S=y.value,b?[4,b(S,function(O,T){return Rh(p,O,T)})]:[3,5]);case 4:return A.sent(),[3,7];case 5:return[4,Lge(p,S)];case 6:A.sent(),A.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return x=A.sent(),m={error:x},[3,15];case 10:return A.trys.push([10,,13,14]),y&&!y.done&&(C=w.return)?[4,C.call(w)]:[3,12];case 11:A.sent(),A.label=12;case 12:return[3,14];case 13:if(m)throw m.error;return[7];case 14:return[7];case 15:return[2]}})})})(t,d)})}},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!re.isCollapsed(n)||!!R.getSelectedElems(t).some(function(r){var o=R.getNodeType(r);return o==="pre"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},e}(),Mge=tf.PROPER,s5=RegExp.prototype,aL=s5.toString,jge=Xe(HI),zge=qt(function(){return aL.call({source:"a",flags:"b"})!="/a/b"}),Vge=Mge&&aL.name!="toString";function u5(){return tN("w-e-insert-video")}(zge||Vge)&&no(RegExp.prototype,"toString",function(){var e=Xn(this),t=Po(e.source),n=e.flags;return"/"+t+"/"+Po(n===void 0&&bh(s5,e)&&!("flags"in s5)?jge(e):n)},{unsafe:!0});var Uge=function(){function e(){this.title=$e("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=u5(),this.heightInputId=u5(),this.buttonId=u5()}return e.prototype.getSelectedVideoNode=function(t){return R.getSelectedNodeByType(t,"video")},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedVideoNode(t)==null},e.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=n.widthInputId,o=n.heightInputId,i=n.buttonId,a=Qu(Pr($e("videoModule.width"),r,"auto"),2),s=a[0],l=a[1],f=U(l),d=Qu(Pr($e("videoModule.height"),o,"auto"),2),p=d[0],h=d[1],m=U(h),C=Qu(_u(i,$e("videoModule.ok")),1)[0];if(this.$content==null){var $=U("<div></div>");$.on("click","#"+i,function(O){O.preventDefault();var T=$.find("#"+r).val().trim(),z=$.find("#"+o).val().trim(),V=parseInt(T),ue=parseInt(z),oe=V?V.toString():"auto",de=ue?ue.toString():"auto";t.restoreSelection(),ee.setNodes(t,{width:oe,height:de},{match:function(me){return R.checkNodeType(me,"video")}}),t.hidePanelOrModal()}),this.$content=$}var b=this.$content;b.empty(),b.append(s),b.append(p),b.append(C);var w=this.getSelectedVideoNode(t);if(w==null)return b[0];var y=w.width,S=y===void 0?"auto":y,x=w.height,A=x===void 0?"auto":x;return f.val(S),m.val(A),setTimeout(function(){f.focus()}),b[0]},e}(),Hge={renderElems:[Ipe],elemsToHtml:[Npe],preParseHtml:[jpe],parseElemsHtml:[Kpe],menus:[{key:"insertVideo",factory:function(){return new Zhe},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Rge},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new Uge}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(o){return o.type==="video"||t(o)},r.normalizeNode=function(o){var i=Qu(o,2),a=i[0],s=i[1];return R.getNodeType(a)==="video"&&R.isLastNode(r,a)&&ee.insertNodes(r,R.genEmptyParagraph(),{at:[s[0]+1]}),n([a,s])},r}};xr("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),xr("zh-CN",{uploadImgModule:{uploadImage:"\u4E0A\u4F20\u56FE\u7247",uploadError:"{{fileName}} \u4E0A\u4F20\u51FA\u9519"}});var sL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l5(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ds,V1,U1=function(e){return e&&e.Math==Math&&e},Ce=U1(typeof globalThis=="object"&&globalThis)||U1(typeof window=="object"&&window)||U1(typeof self=="object"&&self)||U1(typeof sL=="object"&&sL)||function(){return this}()||Function("return this")(),Jt=function(e){try{return!!e()}catch{return!0}},Ii=!Jt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Uh=Function.prototype.call,_t=Uh.bind?Uh.bind(Uh):function(){return Uh.apply(Uh,arguments)},uL={}.propertyIsEnumerable,lL=Object.getOwnPropertyDescriptor,Wge={f:lL&&!uL.call({1:2},1)?function(e){var t=lL(this,e);return!!t&&t.enumerable}:uL},H1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},cL=Function.prototype,c5=cL.bind,f5=cL.call,qge=c5&&c5.bind(f5),st=c5?function(e){return e&&qge(f5,e)}:function(e){return e&&function(){return f5.apply(e,arguments)}},Gge=st({}.toString),Kge=st("".slice),ii=function(e){return Kge(Gge(e),8,-1)},d5=Ce.Object,Yge=st("".split),p5=Jt(function(){return!d5("z").propertyIsEnumerable(0)})?function(e){return ii(e)=="String"?Yge(e,""):d5(e)}:d5,Jge=Ce.TypeError,Hh=function(e){if(e==null)throw Jge("Can't call method on "+e);return e},xs=function(e){return p5(Hh(e))},Rt=function(e){return typeof e=="function"},Gt=function(e){return typeof e=="object"?e!==null:Rt(e)},Xge=function(e){return Rt(e)?e:void 0},sl=function(e,t){return arguments.length<2?Xge(Ce[e]):Ce[e]&&Ce[e][t]},Wh=st({}.isPrototypeOf),cf=sl("navigator","userAgent")||"",fL=Ce.process,dL=Ce.Deno,pL=fL&&fL.versions||dL&&dL.version,hL=pL&&pL.v8;hL&&(V1=(Ds=hL.split("."))[0]>0&&Ds[0]<4?1:+(Ds[0]+Ds[1])),!V1&&cf&&(!(Ds=cf.match(/Edge\/(\d+)/))||Ds[1]>=74)&&(Ds=cf.match(/Chrome\/(\d+)/))&&(V1=+Ds[1]);var qh=V1,h5=!!Object.getOwnPropertySymbols&&!Jt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&qh&&qh<41}),g5=h5&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Zge=Ce.Object,m5=g5?function(e){return typeof e=="symbol"}:function(e){var t=sl("Symbol");return Rt(t)&&Wh(t.prototype,Zge(e))},Qge=Ce.String,W1=function(e){try{return Qge(e)}catch{return"Object"}},e0e=Ce.TypeError,As=function(e){if(Rt(e))return e;throw e0e(W1(e)+" is not a function")},Gh=function(e,t){var n=e[t];return n==null?void 0:As(n)},t0e=Ce.TypeError,n0e=Object.defineProperty,v5=function(e,t){try{n0e(Ce,e,{value:t,configurable:!0,writable:!0})}catch{Ce[e]=t}return t},ks=Ce["__core-js_shared__"]||v5("__core-js_shared__",{}),y5=l5(function(e){(e.exports=function(t,n){return ks[t]||(ks[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),r0e=Ce.Object,b5=function(e){return r0e(Hh(e))},o0e=st({}.hasOwnProperty),Nn=Object.hasOwn||function(e,t){return o0e(b5(e),t)},i0e=0,a0e=Math.random(),s0e=st(1 .toString),w5=function(e){return"Symbol("+(e===void 0?"":e)+")_"+s0e(++i0e+a0e,36)},Kh=y5("wks"),ul=Ce.Symbol,gL=ul&&ul.for,u0e=g5?ul:ul&&ul.withoutSetter||w5,Dn=function(e){if(!Nn(Kh,e)||!h5&&typeof Kh[e]!="string"){var t="Symbol."+e;h5&&Nn(ul,e)?Kh[e]=ul[e]:Kh[e]=g5&&gL?gL(t):u0e(t)}return Kh[e]},l0e=Ce.TypeError,c0e=Dn("toPrimitive"),f0e=function(e,t){if(!Gt(e)||m5(e))return e;var n,r=Gh(e,c0e);if(r){if(t===void 0&&(t="default"),n=_t(r,e,t),!Gt(n)||m5(n))return n;throw l0e("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&Rt(a=o.toString)&&!Gt(s=_t(a,o))||Rt(a=o.valueOf)&&!Gt(s=_t(a,o))||i!=="string"&&Rt(a=o.toString)&&!Gt(s=_t(a,o)))return s;throw t0e("Can't convert object to primitive value")}(e,t)},$5=function(e){var t=f0e(e,"string");return m5(t)?t:t+""},C5=Ce.document,d0e=Gt(C5)&&Gt(C5.createElement),Yh=function(e){return d0e?C5.createElement(e):{}},mL=!Ii&&!Jt(function(){return Object.defineProperty(Yh("div"),"a",{get:function(){return 7}}).a!=7}),vL=Object.getOwnPropertyDescriptor,E5={f:Ii?vL:function(e,t){if(e=xs(e),t=$5(t),mL)try{return vL(e,t)}catch{}if(Nn(e,t))return H1(!_t(Wge.f,e,t),e[t])}},p0e=Ce.String,h0e=Ce.TypeError,Zn=function(e){if(Gt(e))return e;throw h0e(p0e(e)+" is not an object")},g0e=Ce.TypeError,yL=Object.defineProperty,fa={f:Ii?yL:function(e,t,n){if(Zn(e),t=$5(t),Zn(n),mL)try{return yL(e,t,n)}catch{}if("get"in n||"set"in n)throw g0e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ni=Ii?function(e,t,n){return fa.f(e,t,H1(1,n))}:function(e,t,n){return e[t]=n,e},m0e=st(Function.toString);Rt(ks.inspectSource)||(ks.inspectSource=function(e){return m0e(e)});var q1,Jh,G1,K1=ks.inspectSource,bL=Ce.WeakMap,wL=Rt(bL)&&/native code/.test(K1(bL)),$L=y5("keys"),S5=function(e){return $L[e]||($L[e]=w5(e))},Y1={},D5=Ce.TypeError,v0e=Ce.WeakMap;if(wL||ks.state){var ll=ks.state||(ks.state=new v0e),y0e=st(ll.get),CL=st(ll.has),b0e=st(ll.set);q1=function(e,t){if(CL(ll,e))throw new D5("Object already initialized");return t.facade=e,b0e(ll,e,t),t},Jh=function(e){return y0e(ll,e)||{}},G1=function(e){return CL(ll,e)}}else{var ff=S5("state");Y1[ff]=!0,q1=function(e,t){if(Nn(e,ff))throw new D5("Object already initialized");return t.facade=e,Ni(e,ff,t),t},Jh=function(e){return Nn(e,ff)?e[ff]:{}},G1=function(e){return Nn(e,ff)}}var ro={set:q1,get:Jh,has:G1,enforce:function(e){return G1(e)?Jh(e):q1(e,{})},getterFor:function(e){return function(t){var n;if(!Gt(t)||(n=Jh(t)).type!==e)throw D5("Incompatible receiver, "+e+" required");return n}}},EL=Function.prototype,w0e=Ii&&Object.getOwnPropertyDescriptor,x5=Nn(EL,"name"),Xh={EXISTS:x5,PROPER:x5&&function(){}.name==="something",CONFIGURABLE:x5&&(!Ii||Ii&&w0e(EL,"name").configurable)},oo=l5(function(e){var t=Xh.CONFIGURABLE,n=ro.get,r=ro.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;Rt(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Nn(s,"name")||t&&s.name!==m)&&Ni(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==Ce?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Ni(i,a,s)):p?i[a]=s:v5(a,s)})(Function.prototype,"toString",function(){return Rt(this)&&n(this).source||K1(this)})}),$0e=Math.ceil,C0e=Math.floor,A5=function(e){var t=+e;return t!=t||t===0?0:(t>0?C0e:$0e)(t)},E0e=Math.max,S0e=Math.min,Zh=function(e,t){var n=A5(e);return n<0?E0e(n+t,0):S0e(n,t)},D0e=Math.min,SL=function(e){return e>0?D0e(A5(e),9007199254740991):0},Qh=function(e){return SL(e.length)},DL=function(e){return function(t,n,r){var o,i=xs(t),a=Qh(i),s=Zh(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},x0e={includes:DL(!0),indexOf:DL(!1)}.indexOf,xL=st([].push),AL=function(e,t){var n,r=xs(e),o=0,i=[];for(n in r)!Nn(Y1,n)&&Nn(r,n)&&xL(i,n);for(;t.length>o;)Nn(r,n=t[o++])&&(~x0e(i,n)||xL(i,n));return i},J1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],A0e=J1.concat("length","prototype"),X1={f:Object.getOwnPropertyNames||function(e){return AL(e,A0e)}},k0e={f:Object.getOwnPropertySymbols},_0e=st([].concat),O0e=sl("Reflect","ownKeys")||function(e){var t=X1.f(Zn(e)),n=k0e.f;return n?_0e(t,n(e)):t},B0e=function(e,t){for(var n=O0e(t),r=fa.f,o=E5.f,i=0;i<n.length;i++){var a=n[i];Nn(e,a)||r(e,a,o(t,a))}},T0e=/#|\.prototype\./,eg=function(e,t){var n=P0e[F0e(e)];return n==N0e||n!=I0e&&(Rt(t)?Jt(t):!!t)},F0e=eg.normalize=function(e){return String(e).replace(T0e,".").toLowerCase()},P0e=eg.data={},I0e=eg.NATIVE="N",N0e=eg.POLYFILL="P",Z1=eg,L0e=E5.f,Li=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?Ce:f?Ce[s]||v5(s,{}):(Ce[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=L0e(n,r))&&a.value:n[r],!Z1(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;B0e(i,o)}(e.sham||o&&o.sham)&&Ni(i,"sham",!0),oo(n,r,i,e)}},Q1=Array.isArray||function(e){return ii(e)=="Array"},kL={};kL[Dn("toStringTag")]="z";var _L,k5=String(kL)==="[object z]",R0e=Dn("toStringTag"),M0e=Ce.Object,j0e=ii(function(){return arguments}())=="Arguments",ey=k5?ii:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=M0e(e),R0e))=="string"?n:j0e?ii(t):(r=ii(t))=="Object"&&Rt(t.callee)?"Arguments":r},OL=function(){},z0e=[],BL=sl("Reflect","construct"),_5=/^\s*(?:class|function)\b/,V0e=st(_5.exec),U0e=!_5.exec(OL),tg=function(e){if(!Rt(e))return!1;try{return BL(OL,z0e,e),!0}catch{return!1}},O5=!BL||Jt(function(){var e;return tg(tg.call)||!tg(Object)||!tg(function(){e=!0})||e})?function(e){if(!Rt(e))return!1;switch(ey(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return U0e||!!V0e(_5,K1(e))}:tg,TL=function(e,t,n){var r=$5(t);r in e?fa.f(e,r,H1(0,n)):e[r]=n},H0e=Dn("species"),FL=st([].slice),W0e=(_L="slice",qh>=51||!Jt(function(){var e=[];return(e.constructor={})[H0e]=function(){return{foo:1}},e[_L](Boolean).foo!==1})),q0e=Dn("species"),B5=Ce.Array,G0e=Math.max;Li({target:"Array",proto:!0,forced:!W0e},{slice:function(e,t){var n,r,o,i=xs(this),a=Qh(i),s=Zh(e,a),l=Zh(t===void 0?a:t,a);if(Q1(i)&&(n=i.constructor,(O5(n)&&(n===B5||Q1(n.prototype))||Gt(n)&&(n=n[q0e])===null)&&(n=void 0),n===B5||n===void 0))return FL(i,s,l);for(r=new(n===void 0?B5:n)(G0e(l-s,0)),o=0;s<l;s++,o++)s in i&&TL(r,o,i[s]);return r.length=o,r}});var K0e=k5?{}.toString:function(){return"[object "+ey(this)+"]"};k5||oo(Object.prototype,"toString",K0e,{unsafe:!0});var ty,Y0e=Ce.String,_s=function(e){if(ey(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Y0e(e)},PL=function(){var e=Zn(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},T5=Ce.RegExp,F5=Jt(function(){var e=T5("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),J0e=F5||Jt(function(){return!T5("a","y").sticky}),IL={BROKEN_CARET:F5||Jt(function(){var e=T5("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:J0e,UNSUPPORTED_Y:F5},X0e=Object.keys||function(e){return AL(e,J1)},Z0e=Ii?Object.defineProperties:function(e,t){Zn(e);for(var n,r=xs(t),o=X0e(t),i=o.length,a=0;i>a;)fa.f(e,n=o[a++],r[n]);return e},P5=sl("document","documentElement"),NL=S5("IE_PROTO"),I5=function(){},LL=function(e){return"<script>"+e+"<\/script>"},RL=function(e){e.write(LL("")),e.close();var t=e.parentWindow.Object;return e=null,t},ny=function(){try{ty=new ActiveXObject("htmlfile")}catch{}var e,t;ny=typeof document<"u"?document.domain&&ty?RL(ty):((t=Yh("iframe")).style.display="none",P5.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(LL("document.F=Object")),e.close(),e.F):RL(ty);for(var n=J1.length;n--;)delete ny.prototype[J1[n]];return ny()};Y1[NL]=!0;var ML,N5,L5=Object.create||function(e,t){var n;return e!==null?(I5.prototype=Zn(e),n=new I5,I5.prototype=null,n[NL]=e):n=ny(),t===void 0?n:Z0e(n,t)},Q0e=Ce.RegExp,eme=Jt(function(){var e=Q0e(".","s");return!(e.dotAll&&e.exec(`
168
+ `)&&e.flags==="s")}),tme=Ce.RegExp,nme=Jt(function(){var e=tme("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),rme=ro.get,ome=y5("native-string-replace",String.prototype.replace),ry=RegExp.prototype.exec,R5=ry,ime=st("".charAt),ame=st("".indexOf),sme=st("".replace),M5=st("".slice),j5=(N5=/b*/g,_t(ry,ML=/a/,"a"),_t(ry,N5,"a"),ML.lastIndex!==0||N5.lastIndex!==0),jL=IL.BROKEN_CARET,z5=/()??/.exec("")[1]!==void 0;(j5||z5||jL||eme||nme)&&(R5=function(e){var t,n,r,o,i,a,s,l=this,f=rme(l),d=_s(e),p=f.raw;if(p)return p.lastIndex=l.lastIndex,t=_t(R5,p,d),l.lastIndex=p.lastIndex,t;var h=f.groups,m=jL&&l.sticky,C=_t(PL,l),$=l.source,b=0,w=d;if(m&&(C=sme(C,"y",""),ame(C,"g")===-1&&(C+="g"),w=M5(d,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&ime(d,l.lastIndex-1)!==`
169
+ `)&&($="(?: "+$+")",w=" "+w,b++),n=new RegExp("^(?:"+$+")",C)),z5&&(n=new RegExp("^"+$+"$(?!\\s)",C)),j5&&(r=l.lastIndex),o=_t(ry,m?n:l,w),m?o?(o.input=M5(o.input,b),o[0]=M5(o[0],b),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:j5&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),z5&&o&&o.length>1&&_t(ome,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&h)for(o.groups=a=L5(null),i=0;i<h.length;i++)a[(s=h[i])[0]]=o[s[1]];return o});var ng=R5;Li({target:"RegExp",proto:!0,forced:/./.exec!==ng},{exec:ng});var V5=Function.prototype,zL=V5.apply,ume=V5.bind,VL=V5.call,UL=typeof Reflect=="object"&&Reflect.apply||(ume?VL.bind(zL):function(){return VL.apply(zL,arguments)}),lme=Dn("species"),U5=RegExp.prototype,cme=Dn("match"),fme=Ce.TypeError,dme=Dn("species"),HL=function(e,t){var n,r=Zn(e).constructor;return r===void 0||(n=Zn(r)[dme])==null?t:function(o){if(O5(o))return o;throw fme(W1(o)+" is not a constructor")}(n)},pme=st("".charAt),WL=st("".charCodeAt),hme=st("".slice),qL=function(e){return function(t,n){var r,o,i=_s(Hh(t)),a=A5(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=WL(i,a))<55296||r>56319||a+1===s||(o=WL(i,a+1))<56320||o>57343?e?pme(i,a):r:e?hme(i,a,a+2):o-56320+(r-55296<<10)+65536}},GL={codeAt:qL(!1),charAt:qL(!0)},gme=GL.charAt,mme=function(e,t,n){return t+(n?gme(e,t).length:1)},vme=Ce.Array,yme=Math.max,H5=function(e,t,n){for(var r=Qh(e),o=Zh(t,r),i=Zh(n===void 0?r:n,r),a=vme(yme(i-o,0)),s=0;o<i;o++,s++)TL(a,s,e[o]);return a.length=s,a},bme=Ce.TypeError,KL=function(e,t){var n=e.exec;if(Rt(n)){var r=_t(n,e,t);return r!==null&&Zn(r),r}if(ii(e)==="RegExp")return _t(ng,e,t);throw bme("RegExp#exec called on incompatible receiver")},df=IL.UNSUPPORTED_Y,wme=Math.min,YL=[].push,$me=st(/./.exec),pf=st(YL),rg=st("".slice);(function(e,t,n,r){var o=Dn(e),i=!Jt(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),a=i&&!Jt(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[lme]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!i||!a||n){var s=st(/./[o]),l=t(o,""[e],function(f,d,p,h,m){var C=st(f),$=d.exec;return $===ng||$===U5.exec?i&&!m?{done:!0,value:s(d,p,h)}:{done:!0,value:C(p,d,h)}:{done:!1}});oo(String.prototype,e,l[0]),oo(U5,o,l[1])}r&&Ni(U5[o],"sham",!0)})("split",function(e,t,n){var r;return r="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,s,l=_s(Hh(this)),f=i===void 0?4294967295:i>>>0;if(f===0)return[];if(o===void 0)return[l];if(!Gt(a=o)||!((s=a[cme])!==void 0?s:ii(a)=="RegExp"))return _t(t,l,o,f);for(var d,p,h,m=[],C=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),$=0,b=new RegExp(o.source,C+"g");(d=_t(ng,b,l))&&!((p=b.lastIndex)>$&&(pf(m,rg(l,$,d.index)),d.length>1&&d.index<l.length&&UL(YL,m,H5(d,1)),h=d[0].length,$=p,m.length>=f));)b.lastIndex===d.index&&b.lastIndex++;return $===l.length?!h&&$me(b,"")||pf(m,""):pf(m,rg(l,$)),m.length>f?H5(m,0,f):m}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:_t(t,this,o,i)}:t,[function(o,i){var a=Hh(this),s=o==null?void 0:Gh(o,e);return s?_t(s,o,a,i):_t(r,_s(a),o,i)},function(o,i){var a=Zn(this),s=_s(o),l=n(r,a,s,i,r!==t);if(l.done)return l.value;var f=HL(a,RegExp),d=a.unicode,p=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(df?"g":"y"),h=new f(df?"^(?:"+a.source+")":a,p),m=i===void 0?4294967295:i>>>0;if(m===0)return[];if(s.length===0)return KL(h,s)===null?[s]:[];for(var C=0,$=0,b=[];$<s.length;){h.lastIndex=df?0:$;var w,y=KL(h,df?rg(s,$):s);if(y===null||(w=wme(SL(h.lastIndex+(df?$:0)),s.length))===C)$=mme(s,$,d);else{if(pf(b,rg(s,C,$)),b.length===m)return b;for(var S=1;S<=y.length-1;S++)if(pf(b,y[S]),b.length===m)return b;$=C=w}}return pf(b,rg(s,C)),b}]},!!Jt(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),df);/*! *****************************************************************************
170
170
  Copyright (c) Microsoft Corporation.
171
171
 
172
172
  Permission to use, copy, modify, and/or distribute this software for any
@@ -179,7 +179,7 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,w
179
179
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
180
180
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
181
181
  PERFORMANCE OF THIS SOFTWARE.
182
- ***************************************************************************** */var oy=function(){return oy=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oy.apply(this,arguments)};function W5(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(f){try{l(r.next(f))}catch(d){i(d)}}function s(f){try{l(r.throw(f))}catch(d){i(d)}}function l(f){var d;f.done?o(f.value):(d=f.value,d instanceof n?d:new n(function(p){p(d)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function q5(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(f){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!((o=o.length>0&&o[o.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){a.label=d[1];break}if(d[0]===6&&a.label<o[1]){a.label=o[1],o=d;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(d);break}o[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(p){d=[6,p],r=0}finally{n=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([l,f])}}}function Cme(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Eme(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Cme(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(i){return new Promise(function(a,s){(function(l,f,d,p){Promise.resolve(p).then(function(h){l({value:h,done:d})},f)})(a,s,(i=e[o](i)).done,i.value)})}}}var G5=Dn("unscopables"),K5=Array.prototype;K5[G5]==null&&fa.f(K5,G5,{configurable:!0,value:L5(null)});var cl,JL,XL,Y5=function(e){K5[G5][e]=!0},hf={},Sme=!Jt(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),ZL=S5("IE_PROTO"),J5=Ce.Object,Dme=J5.prototype,iy=Sme?J5.getPrototypeOf:function(e){var t=b5(e);if(Nn(t,ZL))return t[ZL];var n=t.constructor;return Rt(n)&&t instanceof n?n.prototype:t instanceof J5?Dme:null},X5=Dn("iterator"),QL=!1;[].keys&&("next"in(XL=[].keys())?(JL=iy(iy(XL)))!==Object.prototype&&(cl=JL):QL=!0);var xme=cl==null||Jt(function(){var e={};return cl[X5].call(e)!==e});xme&&(cl={}),Rt(cl[X5])||ro(cl,X5,function(){return this});var Z5={IteratorPrototype:cl,BUGGY_SAFARI_ITERATORS:QL},Ame=fa.f,eR=Dn("toStringTag"),ay=function(e,t,n){e&&!Nn(e=n?e:e.prototype,eR)&&Ame(e,eR,{configurable:!0,value:t})},kme=Z5.IteratorPrototype,_me=function(){return this},Ome=Ce.String,Bme=Ce.TypeError,gf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=st(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return Zn(r),function(i){if(typeof i=="object"||Rt(i))return i;throw Bme("Can't set "+Ome(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),Tme=Xh.PROPER,Fme=Xh.CONFIGURABLE,tR=Z5.IteratorPrototype,sy=Z5.BUGGY_SAFARI_ITERATORS,og=Dn("iterator"),Pme=function(){return this},nR=function(e,t,n,r,o,i,a){(function(w,y,S,x){var A=y+" Iterator";w.prototype=L5(kme,{next:H1(+!x,S)}),ay(w,A,!1),hf[A]=_me})(n,t,r);var s,l,f,d=function(w){if(w===o&&$)return $;if(!sy&&w in m)return m[w];switch(w){case"keys":case"values":case"entries":return function(){return new n(this,w)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,m=e.prototype,C=m[og]||m["@@iterator"]||o&&m[o],$=!sy&&C||d(o),b=t=="Array"&&m.entries||C;if(b&&(s=iy(b.call(new e)))!==Object.prototype&&s.next&&(iy(s)!==tR&&(gf?gf(s,tR):Rt(s[og])||ro(s,og,Pme)),ay(s,p,!0)),Tme&&o=="values"&&C&&C.name!=="values"&&(Fme?Ni(m,"name","values"):(h=!0,$=function(){return _t(C,this)})),o)if(l={values:d("values"),keys:i?$:d("keys"),entries:d("entries")},a)for(f in l)(sy||h||!(f in m))&&ro(m,f,l[f]);else Li({target:t,proto:!0,forced:sy||h},l);return m[og]!==$&&ro(m,og,$,{name:o}),hf[t]=$,l},Ime=no.set,Nme=no.getterFor("Array Iterator"),ig=nR(Array,"Array",function(e,t){Ime(this,{type:"Array Iterator",target:xs(e),index:0,kind:t})},function(){var e=Nme(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");hf.Arguments=hf.Array,Y5("keys"),Y5("values"),Y5("entries");var Lme=GL.charAt,Rme=no.set,Mme=no.getterFor("String Iterator");nR(String,"String",function(e){Rme(this,{type:"String Iterator",string:_s(e),index:0})},function(){var e,t=Mme(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Lme(n,r),t.index+=e.length,{value:e,done:!1})});var uy=function(e,t,n){for(var r in t)ro(e,r,t[r],n);return e},rR=X1.f,oR=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],jme={f:function(e){return oR&&ii(e)=="Window"?function(t){try{return rR(t)}catch{return H5(oR)}}(e):rR(xs(e))}},iR=Jt(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),ly=Object.isExtensible,fl=Jt(function(){ly(1)})||iR?function(e){return!!Gt(e)&&(!iR||ii(e)!="ArrayBuffer")&&(!ly||ly(e))}:ly,zme=!Jt(function(){return Object.isExtensible(Object.preventExtensions({}))}),Q5=l5(function(e){var t=fa.f,n=!1,r=w5("meta"),o=0,i=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=X1.f,l=st([].splice),f={};f[r]=1,s(f).length&&(X1.f=function(d){for(var p=s(d),h=0,m=p.length;h<m;h++)if(p[h]===r){l(p,h,1);break}return p},Li({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:jme.f}))},fastKey:function(s,l){if(!Gt(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!Nn(s,r)){if(!fl(s))return"F";if(!l)return"E";i(s)}return s[r].objectID},getWeakData:function(s,l){if(!Nn(s,r)){if(!fl(s))return!0;if(!l)return!1;i(s)}return s[r].weakData},onFreeze:function(s){return zme&&n&&fl(s)&&!Nn(s,r)&&i(s),s}};Y1[r]=!0}),aR=st(st.bind),ag=function(e,t){return As(e),t===void 0?e:aR?aR(e,t):function(){return e.apply(t,arguments)}},Vme=Dn("iterator"),Ume=Array.prototype,Hme=Dn("iterator"),sR=function(e){if(e!=null)return Gh(e,Hme)||Gh(e,"@@iterator")||hf[ey(e)]},Wme=Ce.TypeError,uR=function(e,t,n){var r,o;Zn(e);try{if(!(r=Gh(e,"return"))){if(t==="throw")throw n;return n}r=_t(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return Zn(r),n},qme=Ce.TypeError,cy=function(e,t){this.stopped=e,this.result=t},lR=cy.prototype,fy=function(e,t,n){var r,o,i,a,s,l,f,d,p=n&&n.that,h=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),$=ag(t,p),b=function(y){return r&&uR(r,"normal",y),new cy(!0,y)},w=function(y){return h?(Zn(y),C?$(y[0],y[1],b):$(y[0],y[1])):C?$(y,b):$(y)};if(m)r=e;else{if(!(o=sR(e)))throw qme(W1(e)+" is not iterable");if((d=o)!==void 0&&(hf.Array===d||Ume[Vme]===d)){for(i=0,a=Qh(e);a>i;i++)if((s=w(e[i]))&&Wh(lR,s))return s;return new cy(!1)}r=function(y,S){var x=arguments.length<2?sR(y):S;if(As(x))return Zn(_t(x,y));throw Wme(W1(y)+" is not iterable")}(e,o)}for(l=r.next;!(f=_t(l,r)).done;){try{s=w(f.value)}catch(y){uR(r,"throw",y)}if(typeof s=="object"&&s&&Wh(lR,s))return s}return new cy(!1)},Gme=Ce.TypeError,e6=function(e,t){if(Wh(t,e))return e;throw Gme("Incorrect invocation")},cR=Dn("iterator"),fR=!1;try{var Kme=0,dR={next:function(){return{done:!!Kme++}},return:function(){fR=!0}};dR[cR]=function(){return this},Array.from(dR,function(){throw 2})}catch{}var pR=function(e,t){if(!t&&!fR)return!1;var n=!1;try{var r={};r[cR]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},Yme=Dn("species"),hR=Ce.Array,Jme=function(e,t){return new(function(n){var r;return Q1(n)&&(r=n.constructor,(O5(r)&&(r===hR||Q1(r.prototype))||Gt(r)&&(r=r[Yme])===null)&&(r=void 0)),r===void 0?hR:r}(e))(t===0?0:t)},gR=st([].push),Os=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=b5(l),$=p5(C),b=ag(f,d),w=Qh($),y=0,S=p||Jme,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:gR(x,h)}else switch(e){case 4:return!1;case 7:gR(x,h)}return i?-1:r||o?o:x}},t6={forEach:Os(0),map:Os(1),filter:Os(2),some:Os(3),every:Os(4),find:Os(5),findIndex:Os(6),filterReject:Os(7)},dy=Q5.getWeakData,Xme=no.set,Zme=no.getterFor,Qme=t6.find,eve=t6.findIndex,tve=st([].splice),nve=0,py=function(e){return e.frozen||(e.frozen=new mR)},mR=function(){this.entries=[]},n6=function(e,t){return Qme(e.entries,function(n){return n[0]===t})};mR.prototype={get:function(e){var t=n6(this,e);if(t)return t[1]},has:function(e){return!!n6(this,e)},set:function(e,t){var n=n6(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=eve(this.entries,function(n){return n[0]===e});return~t&&tve(this.entries,t,1),!!~t}};var sg,vR={getConstructor:function(e,t,n,r){var o=e(function(l,f){e6(l,i),Xme(l,{type:t,id:nve++,frozen:void 0}),f!=null&&fy(f,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=Zme(t),s=function(l,f,d){var p=a(l),h=dy(Zn(f),!0);return h===!0?py(p).set(f,d):h[p.id]=d,l};return uy(i,{delete:function(l){var f=a(this);if(!Gt(l))return!1;var d=dy(l);return d===!0?py(f).delete(l):d&&Nn(d,f.id)&&delete d[f.id]},has:function(l){var f=a(this);if(!Gt(l))return!1;var d=dy(l);return d===!0?py(f).has(l):d&&Nn(d,f.id)}}),uy(i,n?{get:function(l){var f=a(this);if(Gt(l)){var d=dy(l);return d===!0?py(f).get(l):d?d[f.id]:void 0}},set:function(l,f){return s(this,l,f)}}:{add:function(l){return s(this,l,!0)}}),o}},hy=no.enforce,rve=!Ce.ActiveXObject&&"ActiveXObject"in Ce,yR=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},ove=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=Ce[e],s=a&&a.prototype,l=a,f={},d=function(b){var w=st(s[b]);ro(s,b,b=="add"?function(y){return w(this,y===0?0:y),this}:b=="delete"?function(y){return!(o&&!Gt(y))&&w(this,y===0?0:y)}:b=="get"?function(y){return o&&!Gt(y)?void 0:w(this,y===0?0:y)}:b=="has"?function(y){return!(o&&!Gt(y))&&w(this,y===0?0:y)}:function(y,S){return w(this,y===0?0:y,S),this})};if(Z1(e,!Rt(a)||!(o||s.forEach&&!Jt(function(){new a().entries().next()}))))l=n.getConstructor(t,e,r,i),Q5.enable();else if(Z1(e,!0)){var p=new l,h=p[i](o?{}:-0,1)!=p,m=Jt(function(){p.has(1)}),C=pR(function(b){new a(b)}),$=!o&&Jt(function(){for(var b=new a,w=5;w--;)b[i](w,w);return!b.has(-0)});C||((l=t(function(b,w){e6(b,s);var y=function(S,x,A){var O,T;return gf&&Rt(O=x.constructor)&&O!==A&&Gt(T=O.prototype)&&T!==A.prototype&&gf(S,T),S}(new a,b,l);return w!=null&&fy(w,y[i],{that:y,AS_ENTRIES:r}),y})).prototype=s,s.constructor=l),(m||$)&&(d("delete"),d("has"),r&&d("get")),($||h)&&d(i),o&&s.clear&&delete s.clear}return f[e]=l,Li({global:!0,forced:l!=a},f),ay(l,e),o||n.setStrong(l,e,r),l}("WeakMap",yR,vR);if(wL&&rve){sg=vR.getConstructor(yR,"WeakMap",!0),Q5.enable();var ug=ove.prototype,bR=st(ug.delete),gy=st(ug.has),wR=st(ug.get),$R=st(ug.set);uy(ug,{delete:function(e){if(Gt(e)&&!fl(e)){var t=hy(this);return t.frozen||(t.frozen=new sg),bR(this,e)||t.frozen.delete(e)}return bR(this,e)},has:function(e){if(Gt(e)&&!fl(e)){var t=hy(this);return t.frozen||(t.frozen=new sg),gy(this,e)||t.frozen.has(e)}return gy(this,e)},get:function(e){if(Gt(e)&&!fl(e)){var t=hy(this);return t.frozen||(t.frozen=new sg),gy(this,e)?wR(this,e):t.frozen.get(e)}return wR(this,e)},set:function(e,t){if(Gt(e)&&!fl(e)){var n=hy(this);n.frozen||(n.frozen=new sg),gy(this,e)?$R(this,e,t):n.frozen.set(e,t)}else $R(this,e,t);return this}})}var my={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},r6=Yh("span").classList,CR=r6&&r6.constructor&&r6.constructor.prototype,ER=CR===Object.prototype?void 0:CR,o6=Dn("iterator"),SR=Dn("toStringTag"),i6=ig.values,DR=function(e,t){if(e){if(e[o6]!==i6)try{Ni(e,o6,i6)}catch{e[o6]=i6}if(e[SR]||Ni(e,SR,t),my[t]){for(var n in ig)if(e[n]!==ig[n])try{Ni(e,n,ig[n])}catch{e[n]=ig[n]}}}};for(var a6 in my)DR(Ce[a6]&&Ce[a6].prototype,a6);DR(ER,"DOMTokenList");var xR=function(e,t){var n=[][e];return!!n&&Jt(function(){n.call(null,t||function(){throw 1},1)})},ive=t6.forEach,s6=xR("forEach")?[].forEach:function(e){return ive(this,e,arguments.length>1?arguments[1]:void 0)},AR=function(e){if(e&&e.forEach!==s6)try{Ni(e,"forEach",s6)}catch{e.forEach=s6}};for(var u6 in my)my[u6]&&AR(Ce[u6]&&Ce[u6].prototype);AR(ER);var lg,mf,kR,l6,vy=Ce.Promise,_R=Dn("species"),OR=/(?:ipad|iphone|ipod).*applewebkit/i.test(cf),Bs=ii(Ce.process)=="process",c6=Ce.setImmediate,f6=Ce.clearImmediate,ave=Ce.process,d6=Ce.Dispatch,sve=Ce.Function,BR=Ce.MessageChannel,uve=Ce.String,p6=0,cg={};try{lg=Ce.location}catch{}var h6=function(e){if(Nn(cg,e)){var t=cg[e];delete cg[e],t()}},g6=function(e){return function(){h6(e)}},TR=function(e){h6(e.data)},FR=function(e){Ce.postMessage(uve(e),lg.protocol+"//"+lg.host)};c6&&f6||(c6=function(e){var t=FL(arguments,1);return cg[++p6]=function(){UL(Rt(e)?e:sve(e),void 0,t)},mf(p6),p6},f6=function(e){delete cg[e]},Bs?mf=function(e){ave.nextTick(g6(e))}:d6&&d6.now?mf=function(e){d6.now(g6(e))}:BR&&!OR?(l6=(kR=new BR).port2,kR.port1.onmessage=TR,mf=ag(l6.postMessage,l6)):Ce.addEventListener&&Rt(Ce.postMessage)&&!Ce.importScripts&&lg&&lg.protocol!=="file:"&&!Jt(FR)?(mf=FR,Ce.addEventListener("message",TR,!1)):mf="onreadystatechange"in Yh("script")?function(e){P5.appendChild(Yh("script")).onreadystatechange=function(){P5.removeChild(this),h6(e)}}:function(e){setTimeout(g6(e),0)});var fg,dl,dg,vf,m6,v6,y6,PR,IR={set:c6,clear:f6},lve=/ipad|iphone|ipod/i.test(cf)&&Ce.Pebble!==void 0,cve=/web0s(?!.*chrome)/i.test(cf),fve=E5.f,b6=IR.set,NR=Ce.MutationObserver||Ce.WebKitMutationObserver,LR=Ce.document,RR=Ce.process,yy=Ce.Promise,MR=fve(Ce,"queueMicrotask"),jR=MR&&MR.value;jR||(fg=function(){var e,t;for(Bs&&(e=RR.domain)&&e.exit();dl;){t=dl.fn,dl=dl.next;try{t()}catch(n){throw dl?vf():dg=void 0,n}}dg=void 0,e&&e.enter()},OR||Bs||cve||!NR||!LR?!lve&&yy&&yy.resolve?((y6=yy.resolve(void 0)).constructor=yy,PR=ag(y6.then,y6),vf=function(){PR(fg)}):Bs?vf=function(){RR.nextTick(fg)}:(b6=ag(b6,Ce),vf=function(){b6(fg)}):(m6=!0,v6=LR.createTextNode(""),new NR(fg).observe(v6,{characterData:!0}),vf=function(){v6.data=m6=!m6}));var w6,zR,VR,UR,HR=jR||function(e){var t={fn:e,next:void 0};dg&&(dg.next=t),dl||(dl=t,vf()),dg=t},dve=function(e){var t,n;this.promise=new e(function(r,o){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=o}),this.resolve=As(t),this.reject=As(n)},$6={f:function(e){return new dve(e)}},C6=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},pve=typeof window=="object",WR=IR.set,hve=Dn("species"),Ri="Promise",qR=no.getterFor(Ri),gve=no.set,mve=no.getterFor(Ri),pl=vy&&vy.prototype,Mi=vy,pg=pl,GR=Ce.TypeError,E6=Ce.document,S6=Ce.process,yf=$6.f,vve=yf,yve=!!(E6&&E6.createEvent&&Ce.dispatchEvent),KR=Rt(Ce.PromiseRejectionEvent),YR=!1,hg=Z1(Ri,function(){var e=K1(Mi),t=e!==String(Mi);if(!t&&qh===66)return!0;if(qh>=51&&/native code/.test(e))return!1;var n=new Mi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[hve]=r,!(YR=n.then(function(){})instanceof r)||!t&&pve&&!KR}),bve=hg||!pR(function(e){Mi.all(e).catch(function(){})}),JR=function(e){var t;return!(!Gt(e)||!Rt(t=e.then))&&t},D6=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;HR(function(){for(var r=e.value,o=e.state==1,i=0;n.length>i;){var a,s,l,f=n[i++],d=o?f.ok:f.fail,p=f.resolve,h=f.reject,m=f.domain;try{d?(o||(e.rejection===2&&$ve(e),e.rejection=1),d===!0?a=r:(m&&m.enter(),a=d(r),m&&(m.exit(),l=!0)),a===f.promise?h(GR("Promise-chain cycle")):(s=JR(a))?_t(s,a,p,h):p(a)):h(r)}catch(C){m&&!l&&m.exit(),h(C)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&wve(e)})}},XR=function(e,t,n){var r,o;yve?((r=E6.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Ce.dispatchEvent(r)):r={promise:t,reason:n},!KR&&(o=Ce["on"+e])?o(r):e==="unhandledrejection"&&function(i,a){var s=Ce.console;s&&s.error&&(arguments.length==1?s.error(i):s.error(i,a))}("Unhandled promise rejection",n)},wve=function(e){_t(WR,Ce,function(){var t,n=e.facade,r=e.value;if(ZR(e)&&(t=C6(function(){Bs?S6.emit("unhandledRejection",r,n):XR("unhandledrejection",n,r)}),e.rejection=Bs||ZR(e)?2:1,t.error))throw t.value})},ZR=function(e){return e.rejection!==1&&!e.parent},$ve=function(e){_t(WR,Ce,function(){var t=e.facade;Bs?S6.emit("rejectionHandled",t):XR("rejectionhandled",t,e.value)})},bf=function(e,t,n){return function(r){e(t,r,n)}},wf=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,D6(e,!0))},x6=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw GR("Promise can't be resolved itself");var r=JR(t);r?HR(function(){var o={done:!1};try{_t(r,t,bf(x6,o,e),bf(wf,o,e))}catch(i){wf(o,i,e)}}):(e.value=t,e.state=1,D6(e,!1))}catch(o){wf({done:!1},o,e)}}};if(hg&&(pg=(Mi=function(e){e6(this,pg),As(e),_t(w6,this);var t=qR(this);try{e(bf(x6,t),bf(wf,t))}catch(n){wf(t,n)}}).prototype,(w6=function(e){gve(this,{type:Ri,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=uy(pg,{then:function(e,t){var n=mve(this),r=n.reactions,o=yf(HL(this,Mi));return o.ok=!Rt(e)||e,o.fail=Rt(t)&&t,o.domain=Bs?S6.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&D6(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),zR=function(){var e=new w6,t=qR(e);this.promise=e,this.resolve=bf(x6,t),this.reject=bf(wf,t)},$6.f=yf=function(e){return e===Mi||e===VR?new zR(e):vve(e)},Rt(vy)&&pl!==Object.prototype)){UR=pl.then,YR||(ro(pl,"then",function(e,t){var n=this;return new Mi(function(r,o){_t(UR,n,r,o)}).then(e,t)},{unsafe:!0}),ro(pl,"catch",pg.catch,{unsafe:!0}));try{delete pl.constructor}catch{}gf&&gf(pl,pg)}Li({global:!0,wrap:!0,forced:hg},{Promise:Mi}),ay(Mi,Ri,!1),function(e){var t=sl(e),n=fa.f;Ii&&t&&!t[_R]&&n(t,_R,{configurable:!0,get:function(){return this}})}(Ri),VR=sl(Ri),Li({target:Ri,stat:!0,forced:hg},{reject:function(e){var t=yf(this);return _t(t.reject,void 0,e),t.promise}}),Li({target:Ri,stat:!0,forced:hg},{resolve:function(e){return function(t,n){if(Zn(t),Gt(n)&&n.constructor===t)return n;var r=$6.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Li({target:Ri,stat:!0,forced:bve},{all:function(e){var t=this,n=yf(t),r=n.resolve,o=n.reject,i=C6(function(){var a=As(t.resolve),s=[],l=0,f=1;fy(e,function(d){var p=l++,h=!1;f++,_t(a,t,d).then(function(m){h||(h=!0,s[p]=m,--f||r(s))},o)}),--f||r(s)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=yf(t),r=n.reject,o=C6(function(){var i=As(t.resolve);fy(e,function(a){_t(i,t,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Cve=Xh.PROPER,A6=RegExp.prototype,QR=A6.toString,Eve=st(PL),Sve=Jt(function(){return QR.call({source:"a",flags:"b"})!="/a/b"}),Dve=Cve&&QR.name!="toString";(Sve||Dve)&&ro(RegExp.prototype,"toString",function(){var e=Zn(this),t=_s(e.source),n=e.flags;return"/"+t+"/"+_s(n===void 0&&Wh(A6,e)&&!("flags"in A6)?Eve(e):n)},{unsafe:!0});var xve=Xh.EXISTS,Ave=fa.f,eM=Function.prototype,kve=st(eM.toString),tM=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,_ve=st(tM.exec);Ii&&!xve&&Ave(eM,"name",{configurable:!0,get:function(){try{return _ve(tM,kve(this))[1]}catch{return""}}});var nM=new WeakMap;function rM(e){return e.getMenuConfig("uploadImage")}function Ove(e,t){return W5(this,void 0,void 0,function(){return q5(this,function(n){return[2,new Promise(function(r){var o=new FileReader;o.readAsDataURL(t),o.onload=function(){var i=o.result;if(i){var a=i.toString(),s=a.indexOf("data:image")===0?"":a;Nu(e,a,t.name,s),r("ok")}}})]})})}function Bve(e,t){return W5(this,void 0,void 0,function(){var n,r,o,i;return q5(this,function(a){switch(a.label){case 0:return n=function(s){var l=nM.get(s);if(l!=null)return l;var f=rM(s),d=f.onSuccess,p=f.onProgress,h=f.onFailed,m=f.customInsert,C=f.onError;return l=Y4(oy(oy({},f),{onProgress:function($){s.showProgressBar($),p&&p($)},onSuccess:function($,b){if(m)return m(b,function(ue,oe,de){return Nu(s,ue,oe,de)}),void d($,b);var w=b.errno,y=w===void 0?1:w,S=b.data,x=S===void 0?{}:S;if(y===0){if(Array.isArray(x))x.forEach(function(ue){var oe=ue.url,de=oe===void 0?"":oe,me=ue.alt,_e=me===void 0?"":me,Ee=ue.href;Nu(s,de,_e,Ee===void 0?"":Ee)});else{var A=x.url,O=A===void 0?"":A,T=x.alt,z=T===void 0?"":T,V=x.href;Nu(s,O,z,V===void 0?"":V)}d($,b)}else h($,b)},onError:function($,b,w){C($,b,w)}})),nM.set(s,l),l}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}function oM(e,t){var n,r;return W5(this,void 0,void 0,function(){var o,i,a,s,l,f,d,p,h;return q5(this,function(m){switch(m.label){case 0:if(t==null)return[2];o=Array.prototype.slice.call(t),i=rM(e),a=i.customUpload,s=i.base64LimitSize,m.label=1;case 1:m.trys.push([1,11,12,17]),l=Eme(o),m.label=2;case 2:return[4,l.next()];case 3:return(f=m.sent()).done?[3,10]:(d=f.value,p=d.size,s&&p<=s?[4,Ove(e,d)]:[3,5]);case 4:return m.sent(),[3,9];case 5:return a?[4,a(d,function(C,$,b){return Nu(e,C,$,b)})]:[3,7];case 6:return m.sent(),[3,9];case 7:return[4,Bve(e,d)];case 8:m.sent(),m.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return h=m.sent(),n={error:h},[3,17];case 12:return m.trys.push([12,,15,16]),f&&!f.done&&(r=l.return)?[4,r.call(l)]:[3,14];case 13:m.sent(),m.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var Tve=st([].join),Fve=p5!=Object,Pve=xR("join",",");Li({target:"Array",proto:!0,forced:Fve||!Pve},{join:function(e){return Tve(xs(this),e===void 0?",":e)}}),vo&&(U.fn.append=vo),yi&&(U.fn.on=yi),Yl&&(U.fn.remove=Yl),vi&&(U.fn.val=vi),FA&&(U.fn.click=FA),Wl&&(U.fn.hide=Wl);var Ive=function(){function e(){this.title=$e("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return Qm(t)},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(d,p,h){return Nu(t,d,p,h)});else{var s="";i.length>0&&(s='accept="'+i.join(", ")+'"');var l=U("body"),f=U('<input type="file" '+s+" multiple/>");f.hide(),l.append(f),f.click(),f.on("change",function(){var d=f[0].files;oM(t,d)})}},e}(),Nve={menus:[{key:"uploadImage",factory:function(){return new Ive},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(Qm(n))t(r);else if(r.getData("text/plain"))t(r);else{var o=r.files;o.length<=0?t(r):Array.prototype.slice.call(o).some(function(i){return function(a,s){var l=typeof Symbol=="function"&&a[Symbol.iterator];if(!l)return a;var f,d,p=l.call(a),h=[];try{for(;(s===void 0||s-- >0)&&!(f=p.next()).done;)h.push(f.value)}catch(m){d={error:m}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(d)throw d.error}}return h}(i.type.split("/"),1)[0]==="image"})?oM(e,o):t(r)}},n}};xr("en",{highLightModule:{selectLang:"Language"}}),xr("zh-CN",{highLightModule:{selectLang:"\u9009\u62E9\u8BED\u8A00"}});var by=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function k6(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ts,wy,$y=function(e){return e&&e.Math==Math&&e},ct=$y(typeof globalThis=="object"&&globalThis)||$y(typeof window=="object"&&window)||$y(typeof self=="object"&&self)||$y(typeof by=="object"&&by)||function(){return this}()||Function("return this")(),Lve=Object.defineProperty,_6=function(e,t){try{Lve(ct,e,{value:t,configurable:!0,writable:!0})}catch{ct[e]=t}return t},Fs=ct["__core-js_shared__"]||_6("__core-js_shared__",{}),O6=k6(function(e){(e.exports=function(t,n){return Fs[t]||(Fs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),iM=Function.prototype,B6=iM.bind,T6=iM.call,Rve=B6&&B6.bind(T6),Ot=B6?function(e){return e&&Rve(T6,e)}:function(e){return e&&function(){return T6.apply(e,arguments)}},Mve=ct.TypeError,$f=function(e){if(e==null)throw Mve("Can't call method on "+e);return e},jve=ct.Object,F6=function(e){return jve($f(e))},zve=Ot({}.hasOwnProperty),Io=Object.hasOwn||function(e,t){return zve(F6(e),t)},Vve=0,Uve=Math.random(),Hve=Ot(1 .toString),aM=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Hve(++Vve+Uve,36)},br=function(e){return typeof e=="function"},Wve=function(e){return br(e)?e:void 0},gg=function(e,t){return arguments.length<2?Wve(ct[e]):ct[e]&&ct[e][t]},P6=gg("navigator","userAgent")||"",sM=ct.process,uM=ct.Deno,lM=sM&&sM.versions||uM&&uM.version,cM=lM&&lM.v8;cM&&(wy=(Ts=cM.split("."))[0]>0&&Ts[0]<4?1:+(Ts[0]+Ts[1])),!wy&&P6&&(!(Ts=P6.match(/Edge\/(\d+)/))||Ts[1]>=74)&&(Ts=P6.match(/Chrome\/(\d+)/))&&(wy=+Ts[1]);var fM=wy,Qn=function(e){try{return!!e()}catch{return!0}},I6=!!Object.getOwnPropertySymbols&&!Qn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&fM&&fM<41}),N6=I6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",mg=O6("wks"),hl=ct.Symbol,dM=hl&&hl.for,qve=N6?hl:hl&&hl.withoutSetter||aM,Ps=function(e){if(!Io(mg,e)||!I6&&typeof mg[e]!="string"){var t="Symbol."+e;I6&&Io(hl,e)?mg[e]=hl[e]:mg[e]=N6&&dM?dM(t):qve(t)}return mg[e]},pM={};pM[Ps("toStringTag")]="z";var L6=String(pM)==="[object z]",ji=!Qn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ai=function(e){return typeof e=="object"?e!==null:br(e)},R6=ct.document,Gve=ai(R6)&&ai(R6.createElement),M6=function(e){return Gve?R6.createElement(e):{}},hM=!ji&&!Qn(function(){return Object.defineProperty(M6("div"),"a",{get:function(){return 7}}).a!=7}),Kve=ct.String,Yve=ct.TypeError,si=function(e){if(ai(e))return e;throw Yve(Kve(e)+" is not an object")},vg=Function.prototype.call,Wn=vg.bind?vg.bind(vg):function(){return vg.apply(vg,arguments)},gM=Ot({}.isPrototypeOf),Jve=ct.Object,j6=N6?function(e){return typeof e=="symbol"}:function(e){var t=gg("Symbol");return br(t)&&gM(t.prototype,Jve(e))},Xve=ct.String,mM=function(e){try{return Xve(e)}catch{return"Object"}},Zve=ct.TypeError,vM=function(e){if(br(e))return e;throw Zve(mM(e)+" is not a function")},yM=function(e,t){var n=e[t];return n==null?void 0:vM(n)},Qve=ct.TypeError,e1e=ct.TypeError,t1e=Ps("toPrimitive"),n1e=function(e,t){if(!ai(e)||j6(e))return e;var n,r=yM(e,t1e);if(r){if(t===void 0&&(t="default"),n=Wn(r,e,t),!ai(n)||j6(n))return n;throw e1e("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&br(a=o.toString)&&!ai(s=Wn(a,o))||br(a=o.valueOf)&&!ai(s=Wn(a,o))||i!=="string"&&br(a=o.toString)&&!ai(s=Wn(a,o)))return s;throw Qve("Can't convert object to primitive value")}(e,t)},z6=function(e){var t=n1e(e,"string");return j6(t)?t:t+""},r1e=ct.TypeError,bM=Object.defineProperty,Cy={f:ji?bM:function(e,t,n){if(si(e),t=z6(t),si(n),hM)try{return bM(e,t,n)}catch{}if("get"in n||"set"in n)throw r1e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},V6=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Cf=ji?function(e,t,n){return Cy.f(e,t,V6(1,n))}:function(e,t,n){return e[t]=n,e},o1e=Ot(Function.toString);br(Fs.inspectSource)||(Fs.inspectSource=function(e){return o1e(e)});var Ey,yg,Sy,U6=Fs.inspectSource,wM=ct.WeakMap,i1e=br(wM)&&/native code/.test(U6(wM)),$M=O6("keys"),CM=function(e){return $M[e]||($M[e]=aM(e))},H6={},W6=ct.TypeError,a1e=ct.WeakMap;if(i1e||Fs.state){var gl=Fs.state||(Fs.state=new a1e),s1e=Ot(gl.get),EM=Ot(gl.has),u1e=Ot(gl.set);Ey=function(e,t){if(EM(gl,e))throw new W6("Object already initialized");return t.facade=e,u1e(gl,e,t),t},yg=function(e){return s1e(gl,e)||{}},Sy=function(e){return EM(gl,e)}}else{var Ef=CM("state");H6[Ef]=!0,Ey=function(e,t){if(Io(e,Ef))throw new W6("Object already initialized");return t.facade=e,Cf(e,Ef,t),t},yg=function(e){return Io(e,Ef)?e[Ef]:{}},Sy=function(e){return Io(e,Ef)}}var q6={set:Ey,get:yg,has:Sy,enforce:function(e){return Sy(e)?yg(e):Ey(e,{})},getterFor:function(e){return function(t){var n;if(!ai(t)||(n=yg(t)).type!==e)throw W6("Incompatible receiver, "+e+" required");return n}}},SM=Function.prototype,l1e=ji&&Object.getOwnPropertyDescriptor,G6=Io(SM,"name"),DM={EXISTS:G6,PROPER:G6&&function(){}.name==="something",CONFIGURABLE:G6&&(!ji||ji&&l1e(SM,"name").configurable)},bg=k6(function(e){var t=DM.CONFIGURABLE,n=q6.get,r=q6.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;br(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Io(s,"name")||t&&s.name!==m)&&Cf(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==ct?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Cf(i,a,s)):p?i[a]=s:_6(a,s)})(Function.prototype,"toString",function(){return br(this)&&n(this).source||U6(this)})}),c1e=Ot({}.toString),f1e=Ot("".slice),Is=function(e){return f1e(c1e(e),8,-1)},d1e=Ps("toStringTag"),p1e=ct.Object,h1e=Is(function(){return arguments}())=="Arguments",K6=L6?Is:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=p1e(e),d1e))=="string"?n:h1e?Is(t):(r=Is(t))=="Object"&&br(t.callee)?"Arguments":r},g1e=L6?{}.toString:function(){return"[object "+K6(this)+"]"};L6||bg(Object.prototype,"toString",g1e,{unsafe:!0});var m1e,xM,AM={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},Y6=M6("span").classList,kM=Y6&&Y6.constructor&&Y6.constructor.prototype,v1e=kM===Object.prototype?void 0:kM,_M=Ot(Ot.bind),J6=ct.Object,y1e=Ot("".split),X6=Qn(function(){return!J6("z").propertyIsEnumerable(0)})?function(e){return Is(e)=="String"?y1e(e,""):J6(e)}:J6,b1e=Math.ceil,w1e=Math.floor,Z6=function(e){var t=+e;return t!=t||t===0?0:(t>0?w1e:b1e)(t)},$1e=Math.min,OM=function(e){return e>0?$1e(Z6(e),9007199254740991):0},Q6=function(e){return OM(e.length)},BM=Array.isArray||function(e){return Is(e)=="Array"},TM=function(){},C1e=[],FM=gg("Reflect","construct"),eD=/^\s*(?:class|function)\b/,E1e=Ot(eD.exec),S1e=!eD.exec(TM),wg=function(e){if(!br(e))return!1;try{return FM(TM,C1e,e),!0}catch{return!1}},PM=!FM||Qn(function(){var e;return wg(wg.call)||!wg(Object)||!wg(function(){e=!0})||e})?function(e){if(!br(e))return!1;switch(K6(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return S1e||!!E1e(eD,U6(e))}:wg,D1e=Ps("species"),IM=ct.Array,x1e=function(e,t){return new(function(n){var r;return BM(n)&&(r=n.constructor,(PM(r)&&(r===IM||BM(r.prototype))||ai(r)&&(r=r[D1e])===null)&&(r=void 0)),r===void 0?IM:r}(e))(t===0?0:t)},NM=Ot([].push),Ns=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=F6(l),$=X6(C),b=function(A,O){return vM(A),O===void 0?A:_M?_M(A,O):function(){return A.apply(O,arguments)}}(f,d),w=Q6($),y=0,S=p||x1e,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:NM(x,h)}else switch(e){case 4:return!1;case 7:NM(x,h)}return i?-1:r||o?o:x}},A1e={forEach:Ns(0),map:Ns(1),filter:Ns(2),some:Ns(3),every:Ns(4),find:Ns(5),findIndex:Ns(6),filterReject:Ns(7)}.forEach,tD=!!(xM=[].forEach)&&Qn(function(){xM.call(null,m1e||function(){throw 1},1)})?[].forEach:function(e){return A1e(this,e,arguments.length>1?arguments[1]:void 0)},LM=function(e){if(e&&e.forEach!==tD)try{Cf(e,"forEach",tD)}catch{e.forEach=tD}};for(var nD in AM)AM[nD]&&LM(ct[nD]&&ct[nD].prototype);LM(v1e);var RM={}.propertyIsEnumerable,MM=Object.getOwnPropertyDescriptor,jM={f:MM&&!RM.call({1:2},1)?function(e){var t=MM(this,e);return!!t&&t.enumerable}:RM},Dy=function(e){return X6($f(e))},zM=Object.getOwnPropertyDescriptor,VM={f:ji?zM:function(e,t){if(e=Dy(e),t=z6(t),hM)try{return zM(e,t)}catch{}if(Io(e,t))return V6(!Wn(jM.f,e,t),e[t])}},k1e=Math.max,_1e=Math.min,rD=function(e,t){var n=Z6(e);return n<0?k1e(n+t,0):_1e(n,t)},UM=function(e){return function(t,n,r){var o,i=Dy(t),a=Q6(i),s=rD(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},O1e={includes:UM(!0),indexOf:UM(!1)}.indexOf,HM=Ot([].push),WM=function(e,t){var n,r=Dy(e),o=0,i=[];for(n in r)!Io(H6,n)&&Io(r,n)&&HM(i,n);for(;t.length>o;)Io(r,n=t[o++])&&(~O1e(i,n)||HM(i,n));return i},xy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],B1e=xy.concat("length","prototype"),T1e={f:Object.getOwnPropertyNames||function(e){return WM(e,B1e)}},qM={f:Object.getOwnPropertySymbols},F1e=Ot([].concat),P1e=gg("Reflect","ownKeys")||function(e){var t=T1e.f(si(e)),n=qM.f;return n?F1e(t,n(e)):t},I1e=function(e,t){for(var n=P1e(t),r=Cy.f,o=VM.f,i=0;i<n.length;i++){var a=n[i];Io(e,a)||r(e,a,o(t,a))}},N1e=/#|\.prototype\./,$g=function(e,t){var n=R1e[L1e(e)];return n==j1e||n!=M1e&&(br(t)?Qn(t):!!t)},L1e=$g.normalize=function(e){return String(e).replace(N1e,".").toLowerCase()},R1e=$g.data={},M1e=$g.NATIVE="N",j1e=$g.POLYFILL="P",z1e=$g,V1e=VM.f,Ay=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?ct:f?ct[s]||_6(s,{}):(ct[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=V1e(n,r))&&a.value:n[r],!z1e(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;I1e(i,o)}(e.sham||o&&o.sham)&&Cf(i,"sham",!0),bg(n,r,i,e)}},ky=Object.keys||function(e){return WM(e,xy)},Sf=Object.assign,GM=Object.defineProperty,U1e=Ot([].concat),KM=!Sf||Qn(function(){if(ji&&Sf({b:1},Sf(GM({},"a",{enumerable:!0,get:function(){GM(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(o){t[o]=o}),Sf({},e)[n]!=7||ky(Sf({},t)).join("")!=r})?function(e,t){for(var n=F6(e),r=arguments.length,o=1,i=qM.f,a=jM.f;r>o;)for(var s,l=X6(arguments[o++]),f=i?U1e(ky(l),i(l)):ky(l),d=f.length,p=0;d>p;)s=f[p++],ji&&!Wn(a,l,s)||(n[s]=l[s]);return n}:Sf;Ay({target:"Object",stat:!0,forced:Object.assign!==KM},{assign:KM});var YM=k6(function(e){var t=function(n){var r=/\blang(?:uage)?-([\w-]+)\b/i,o=0,i={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function b(w){return w instanceof s?new s(w.type,b(w.content),w.alias):Array.isArray(w)?w.map(b):w.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++o}),b.__id},clone:function b(w,y){var S,x;switch(y=y||{},a.util.type(w)){case"Object":if(x=a.util.objId(w),y[x])return y[x];for(var A in S={},y[x]=S,w)w.hasOwnProperty(A)&&(S[A]=b(w[A],y));return S;case"Array":return x=a.util.objId(w),y[x]?y[x]:(S=[],y[x]=S,w.forEach(function(O,T){S[T]=b(O,y)}),S);default:return w}},getLanguage:function(b){for(;b&&!r.test(b.className);)b=b.parentElement;return b?(b.className.match(r)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(b){var w=document.getElementsByTagName("script");for(var y in w)if(w[y].src==b)return w[y]}return null}},isActive:function(b,w,y){for(var S="no-"+w;b;){var x=b.classList;if(x.contains(w))return!0;if(x.contains(S))return!1;b=b.parentElement}return!!y}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(b,w){var y=a.util.clone(a.languages[b]);for(var S in w)y[S]=w[S];return y},insertBefore:function(b,w,y,S){var x=(S=S||a.languages)[b],A={};for(var O in x)if(x.hasOwnProperty(O)){if(O==w)for(var T in y)y.hasOwnProperty(T)&&(A[T]=y[T]);y.hasOwnProperty(O)||(A[O]=x[O])}var z=S[b];return S[b]=A,a.languages.DFS(a.languages,function(V,ue){ue===z&&V!=b&&(this[V]=A)}),A},DFS:function b(w,y,S,x){x=x||{};var A=a.util.objId;for(var O in w)if(w.hasOwnProperty(O)){y.call(w,O,w[O],S||O);var T=w[O],z=a.util.type(T);z!=="Object"||x[A(T)]?z!=="Array"||x[A(T)]||(x[A(T)]=!0,b(T,y,O,x)):(x[A(T)]=!0,b(T,y,null,x))}}},plugins:{},highlightAll:function(b,w){a.highlightAllUnder(document,b,w)},highlightAllUnder:function(b,w,y){var S={callback:y,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),a.hooks.run("before-all-elements-highlight",S);for(var x,A=0;x=S.elements[A++];)a.highlightElement(x,w===!0,S.callback)},highlightElement:function(b,w,y){var S=a.util.getLanguage(b),x=a.languages[S];b.className=b.className.replace(r,"").replace(/\s+/g," ")+" language-"+S;var A=b.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&(A.className=A.className.replace(r,"").replace(/\s+/g," ")+" language-"+S);var O={element:b,language:S,grammar:x,code:b.textContent};function T(V){O.highlightedCode=V,a.hooks.run("before-insert",O),O.element.innerHTML=O.highlightedCode,a.hooks.run("after-highlight",O),a.hooks.run("complete",O),y&&y.call(O.element)}if(a.hooks.run("before-sanity-check",O),(A=O.element.parentElement)&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!O.code)return a.hooks.run("complete",O),void(y&&y.call(O.element));if(a.hooks.run("before-highlight",O),O.grammar)if(w&&n.Worker){var z=new Worker(a.filename);z.onmessage=function(V){T(V.data)},z.postMessage(JSON.stringify({language:O.language,code:O.code,immediateClose:!0}))}else T(a.highlight(O.code,O.grammar,O.language));else T(a.util.encode(O.code))},highlight:function(b,w,y){var S={code:b,grammar:w,language:y};return a.hooks.run("before-tokenize",S),S.tokens=a.tokenize(S.code,S.grammar),a.hooks.run("after-tokenize",S),s.stringify(a.util.encode(S.tokens),S.language)},tokenize:function(b,w){var y=w.rest;if(y){for(var S in y)w[S]=y[S];delete w.rest}var x=new d;return p(x,x.head,b),f(b,x,w,x.head,0),function(A){for(var O=[],T=A.head.next;T!==A.tail;)O.push(T.value),T=T.next;return O}(x)},hooks:{all:{},add:function(b,w){var y=a.hooks.all;y[b]=y[b]||[],y[b].push(w)},run:function(b,w){var y=a.hooks.all[b];if(y&&y.length)for(var S,x=0;S=y[x++];)S(w)}},Token:s};function s(b,w,y,S){this.type=b,this.content=w,this.alias=y,this.length=0|(S||"").length}function l(b,w,y,S){b.lastIndex=w;var x=b.exec(y);if(x&&S&&x[1]){var A=x[1].length;x.index+=A,x[0]=x[0].slice(A)}return x}function f(b,w,y,S,x,A){for(var O in y)if(y.hasOwnProperty(O)&&y[O]){var T=y[O];T=Array.isArray(T)?T:[T];for(var z=0;z<T.length;++z){if(A&&A.cause==O+","+z)return;var V=T[z],ue=V.inside,oe=!!V.lookbehind,de=!!V.greedy,me=V.alias;if(de&&!V.pattern.global){var _e=V.pattern.toString().match(/[imsuy]*$/)[0];V.pattern=RegExp(V.pattern.source,_e+"g")}for(var Ee=V.pattern||V,Be=S.next,Fe=x;Be!==w.tail&&!(A&&Fe>=A.reach);Fe+=Be.value.length,Be=Be.next){var je=Be.value;if(w.length>b.length)return;if(!(je instanceof s)){var Ue,Oe=1;if(de){if(!(Ue=l(Ee,Fe,b,oe)))break;var Je=Ue.index,G=Ue.index+Ue[0].length,H=Fe;for(H+=Be.value.length;Je>=H;)H+=(Be=Be.next).value.length;if(Fe=H-=Be.value.length,Be.value instanceof s)continue;for(var I=Be;I!==w.tail&&(H<G||typeof I.value=="string");I=I.next)Oe++,H+=I.value.length;Oe--,je=b.slice(Fe,H),Ue.index-=Fe}else if(!(Ue=l(Ee,0,je,oe)))continue;Je=Ue.index;var L=Ue[0],Y=je.slice(0,Je),q=je.slice(Je+L.length),B=Fe+je.length;A&&B>A.reach&&(A.reach=B);var ce=Be.prev;if(Y&&(ce=p(w,ce,Y),Fe+=Y.length),h(w,ce,Oe),Be=p(w,ce,new s(O,ue?a.tokenize(L,ue):L,me,L)),q&&p(w,Be,q),Oe>1){var ge={cause:O+","+z,reach:B};f(b,w,y,Be.prev,Fe,ge),A&&ge.reach>A.reach&&(A.reach=ge.reach)}}}}}}function d(){var b={value:null,prev:null,next:null},w={value:null,prev:b,next:null};b.next=w,this.head=b,this.tail=w,this.length=0}function p(b,w,y){var S=w.next,x={value:y,prev:w,next:S};return w.next=x,S.prev=x,b.length++,x}function h(b,w,y){for(var S=w.next,x=0;x<y&&S!==b.tail;x++)S=S.next;w.next=S,S.prev=w,b.length-=x}if(n.Prism=a,s.stringify=function b(w,y){if(typeof w=="string")return w;if(Array.isArray(w)){var S="";return w.forEach(function(z){S+=b(z,y)}),S}var x={type:w.type,content:b(w.content,y),tag:"span",classes:["token",w.type],attributes:{},language:y},A=w.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(x.classes,A):x.classes.push(A)),a.hooks.run("wrap",x);var O="";for(var T in x.attributes)O+=" "+T+'="'+(x.attributes[T]||"").replace(/"/g,"&quot;")+'"';return"<"+x.tag+' class="'+x.classes.join(" ")+'"'+O+">"+x.content+"</"+x.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(b){var w=JSON.parse(b.data),y=w.language,S=w.code,x=w.immediateClose;n.postMessage(a.highlight(S,a.languages[y],y)),x&&n.close()},!1)),a;var m=a.util.currentScript();function C(){a.manual||a.highlightAll()}if(m&&(a.filename=m.src,m.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var $=document.readyState;$==="loading"||$==="interactive"&&m&&m.defer?document.addEventListener("DOMContentLoaded",C):window.requestAnimationFrame?window.requestAnimationFrame(C):window.setTimeout(C,16)}return a}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});/**
182
+ ***************************************************************************** */var oy=function(){return oy=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oy.apply(this,arguments)};function W5(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(f){try{l(r.next(f))}catch(d){i(d)}}function s(f){try{l(r.throw(f))}catch(d){i(d)}}function l(f){var d;f.done?o(f.value):(d=f.value,d instanceof n?d:new n(function(p){p(d)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function q5(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(f){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&d[0]?r.return:d[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,d[1])).done)return o;switch(r=0,o&&(d=[2&d[0],o.value]),d[0]){case 0:case 1:o=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,r=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!((o=o.length>0&&o[o.length-1])||d[0]!==6&&d[0]!==2)){a=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]<o[3])){a.label=d[1];break}if(d[0]===6&&a.label<o[1]){a.label=o[1],o=d;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(d);break}o[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(e,a)}catch(p){d=[6,p],r=0}finally{n=o=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([l,f])}}}function Cme(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Eme(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Cme(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(i){return new Promise(function(a,s){(function(l,f,d,p){Promise.resolve(p).then(function(h){l({value:h,done:d})},f)})(a,s,(i=e[o](i)).done,i.value)})}}}var G5=Dn("unscopables"),K5=Array.prototype;K5[G5]==null&&fa.f(K5,G5,{configurable:!0,value:L5(null)});var cl,JL,XL,Y5=function(e){K5[G5][e]=!0},hf={},Sme=!Jt(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),ZL=S5("IE_PROTO"),J5=Ce.Object,Dme=J5.prototype,iy=Sme?J5.getPrototypeOf:function(e){var t=b5(e);if(Nn(t,ZL))return t[ZL];var n=t.constructor;return Rt(n)&&t instanceof n?n.prototype:t instanceof J5?Dme:null},X5=Dn("iterator"),QL=!1;[].keys&&("next"in(XL=[].keys())?(JL=iy(iy(XL)))!==Object.prototype&&(cl=JL):QL=!0);var xme=cl==null||Jt(function(){var e={};return cl[X5].call(e)!==e});xme&&(cl={}),Rt(cl[X5])||oo(cl,X5,function(){return this});var Z5={IteratorPrototype:cl,BUGGY_SAFARI_ITERATORS:QL},Ame=fa.f,eR=Dn("toStringTag"),ay=function(e,t,n){e&&!Nn(e=n?e:e.prototype,eR)&&Ame(e,eR,{configurable:!0,value:t})},kme=Z5.IteratorPrototype,_me=function(){return this},Ome=Ce.String,Bme=Ce.TypeError,gf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=st(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return Zn(r),function(i){if(typeof i=="object"||Rt(i))return i;throw Bme("Can't set "+Ome(i)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),Tme=Xh.PROPER,Fme=Xh.CONFIGURABLE,tR=Z5.IteratorPrototype,sy=Z5.BUGGY_SAFARI_ITERATORS,og=Dn("iterator"),Pme=function(){return this},nR=function(e,t,n,r,o,i,a){(function(w,y,S,x){var A=y+" Iterator";w.prototype=L5(kme,{next:H1(+!x,S)}),ay(w,A,!1),hf[A]=_me})(n,t,r);var s,l,f,d=function(w){if(w===o&&$)return $;if(!sy&&w in m)return m[w];switch(w){case"keys":case"values":case"entries":return function(){return new n(this,w)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,m=e.prototype,C=m[og]||m["@@iterator"]||o&&m[o],$=!sy&&C||d(o),b=t=="Array"&&m.entries||C;if(b&&(s=iy(b.call(new e)))!==Object.prototype&&s.next&&(iy(s)!==tR&&(gf?gf(s,tR):Rt(s[og])||oo(s,og,Pme)),ay(s,p,!0)),Tme&&o=="values"&&C&&C.name!=="values"&&(Fme?Ni(m,"name","values"):(h=!0,$=function(){return _t(C,this)})),o)if(l={values:d("values"),keys:i?$:d("keys"),entries:d("entries")},a)for(f in l)(sy||h||!(f in m))&&oo(m,f,l[f]);else Li({target:t,proto:!0,forced:sy||h},l);return m[og]!==$&&oo(m,og,$,{name:o}),hf[t]=$,l},Ime=ro.set,Nme=ro.getterFor("Array Iterator"),ig=nR(Array,"Array",function(e,t){Ime(this,{type:"Array Iterator",target:xs(e),index:0,kind:t})},function(){var e=Nme(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");hf.Arguments=hf.Array,Y5("keys"),Y5("values"),Y5("entries");var Lme=GL.charAt,Rme=ro.set,Mme=ro.getterFor("String Iterator");nR(String,"String",function(e){Rme(this,{type:"String Iterator",string:_s(e),index:0})},function(){var e,t=Mme(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Lme(n,r),t.index+=e.length,{value:e,done:!1})});var uy=function(e,t,n){for(var r in t)oo(e,r,t[r],n);return e},rR=X1.f,oR=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],jme={f:function(e){return oR&&ii(e)=="Window"?function(t){try{return rR(t)}catch{return H5(oR)}}(e):rR(xs(e))}},iR=Jt(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),ly=Object.isExtensible,fl=Jt(function(){ly(1)})||iR?function(e){return!!Gt(e)&&(!iR||ii(e)!="ArrayBuffer")&&(!ly||ly(e))}:ly,zme=!Jt(function(){return Object.isExtensible(Object.preventExtensions({}))}),Q5=l5(function(e){var t=fa.f,n=!1,r=w5("meta"),o=0,i=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=X1.f,l=st([].splice),f={};f[r]=1,s(f).length&&(X1.f=function(d){for(var p=s(d),h=0,m=p.length;h<m;h++)if(p[h]===r){l(p,h,1);break}return p},Li({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:jme.f}))},fastKey:function(s,l){if(!Gt(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!Nn(s,r)){if(!fl(s))return"F";if(!l)return"E";i(s)}return s[r].objectID},getWeakData:function(s,l){if(!Nn(s,r)){if(!fl(s))return!0;if(!l)return!1;i(s)}return s[r].weakData},onFreeze:function(s){return zme&&n&&fl(s)&&!Nn(s,r)&&i(s),s}};Y1[r]=!0}),aR=st(st.bind),ag=function(e,t){return As(e),t===void 0?e:aR?aR(e,t):function(){return e.apply(t,arguments)}},Vme=Dn("iterator"),Ume=Array.prototype,Hme=Dn("iterator"),sR=function(e){if(e!=null)return Gh(e,Hme)||Gh(e,"@@iterator")||hf[ey(e)]},Wme=Ce.TypeError,uR=function(e,t,n){var r,o;Zn(e);try{if(!(r=Gh(e,"return"))){if(t==="throw")throw n;return n}r=_t(r,e)}catch(i){o=!0,r=i}if(t==="throw")throw n;if(o)throw r;return Zn(r),n},qme=Ce.TypeError,cy=function(e,t){this.stopped=e,this.result=t},lR=cy.prototype,fy=function(e,t,n){var r,o,i,a,s,l,f,d,p=n&&n.that,h=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),$=ag(t,p),b=function(y){return r&&uR(r,"normal",y),new cy(!0,y)},w=function(y){return h?(Zn(y),C?$(y[0],y[1],b):$(y[0],y[1])):C?$(y,b):$(y)};if(m)r=e;else{if(!(o=sR(e)))throw qme(W1(e)+" is not iterable");if((d=o)!==void 0&&(hf.Array===d||Ume[Vme]===d)){for(i=0,a=Qh(e);a>i;i++)if((s=w(e[i]))&&Wh(lR,s))return s;return new cy(!1)}r=function(y,S){var x=arguments.length<2?sR(y):S;if(As(x))return Zn(_t(x,y));throw Wme(W1(y)+" is not iterable")}(e,o)}for(l=r.next;!(f=_t(l,r)).done;){try{s=w(f.value)}catch(y){uR(r,"throw",y)}if(typeof s=="object"&&s&&Wh(lR,s))return s}return new cy(!1)},Gme=Ce.TypeError,e6=function(e,t){if(Wh(t,e))return e;throw Gme("Incorrect invocation")},cR=Dn("iterator"),fR=!1;try{var Kme=0,dR={next:function(){return{done:!!Kme++}},return:function(){fR=!0}};dR[cR]=function(){return this},Array.from(dR,function(){throw 2})}catch{}var pR=function(e,t){if(!t&&!fR)return!1;var n=!1;try{var r={};r[cR]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},Yme=Dn("species"),hR=Ce.Array,Jme=function(e,t){return new(function(n){var r;return Q1(n)&&(r=n.constructor,(O5(r)&&(r===hR||Q1(r.prototype))||Gt(r)&&(r=r[Yme])===null)&&(r=void 0)),r===void 0?hR:r}(e))(t===0?0:t)},gR=st([].push),Os=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=b5(l),$=p5(C),b=ag(f,d),w=Qh($),y=0,S=p||Jme,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:gR(x,h)}else switch(e){case 4:return!1;case 7:gR(x,h)}return i?-1:r||o?o:x}},t6={forEach:Os(0),map:Os(1),filter:Os(2),some:Os(3),every:Os(4),find:Os(5),findIndex:Os(6),filterReject:Os(7)},dy=Q5.getWeakData,Xme=ro.set,Zme=ro.getterFor,Qme=t6.find,eve=t6.findIndex,tve=st([].splice),nve=0,py=function(e){return e.frozen||(e.frozen=new mR)},mR=function(){this.entries=[]},n6=function(e,t){return Qme(e.entries,function(n){return n[0]===t})};mR.prototype={get:function(e){var t=n6(this,e);if(t)return t[1]},has:function(e){return!!n6(this,e)},set:function(e,t){var n=n6(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=eve(this.entries,function(n){return n[0]===e});return~t&&tve(this.entries,t,1),!!~t}};var sg,vR={getConstructor:function(e,t,n,r){var o=e(function(l,f){e6(l,i),Xme(l,{type:t,id:nve++,frozen:void 0}),f!=null&&fy(f,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=Zme(t),s=function(l,f,d){var p=a(l),h=dy(Zn(f),!0);return h===!0?py(p).set(f,d):h[p.id]=d,l};return uy(i,{delete:function(l){var f=a(this);if(!Gt(l))return!1;var d=dy(l);return d===!0?py(f).delete(l):d&&Nn(d,f.id)&&delete d[f.id]},has:function(l){var f=a(this);if(!Gt(l))return!1;var d=dy(l);return d===!0?py(f).has(l):d&&Nn(d,f.id)}}),uy(i,n?{get:function(l){var f=a(this);if(Gt(l)){var d=dy(l);return d===!0?py(f).get(l):d?d[f.id]:void 0}},set:function(l,f){return s(this,l,f)}}:{add:function(l){return s(this,l,!0)}}),o}},hy=ro.enforce,rve=!Ce.ActiveXObject&&"ActiveXObject"in Ce,yR=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},ove=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=r?"set":"add",a=Ce[e],s=a&&a.prototype,l=a,f={},d=function(b){var w=st(s[b]);oo(s,b,b=="add"?function(y){return w(this,y===0?0:y),this}:b=="delete"?function(y){return!(o&&!Gt(y))&&w(this,y===0?0:y)}:b=="get"?function(y){return o&&!Gt(y)?void 0:w(this,y===0?0:y)}:b=="has"?function(y){return!(o&&!Gt(y))&&w(this,y===0?0:y)}:function(y,S){return w(this,y===0?0:y,S),this})};if(Z1(e,!Rt(a)||!(o||s.forEach&&!Jt(function(){new a().entries().next()}))))l=n.getConstructor(t,e,r,i),Q5.enable();else if(Z1(e,!0)){var p=new l,h=p[i](o?{}:-0,1)!=p,m=Jt(function(){p.has(1)}),C=pR(function(b){new a(b)}),$=!o&&Jt(function(){for(var b=new a,w=5;w--;)b[i](w,w);return!b.has(-0)});C||((l=t(function(b,w){e6(b,s);var y=function(S,x,A){var O,T;return gf&&Rt(O=x.constructor)&&O!==A&&Gt(T=O.prototype)&&T!==A.prototype&&gf(S,T),S}(new a,b,l);return w!=null&&fy(w,y[i],{that:y,AS_ENTRIES:r}),y})).prototype=s,s.constructor=l),(m||$)&&(d("delete"),d("has"),r&&d("get")),($||h)&&d(i),o&&s.clear&&delete s.clear}return f[e]=l,Li({global:!0,forced:l!=a},f),ay(l,e),o||n.setStrong(l,e,r),l}("WeakMap",yR,vR);if(wL&&rve){sg=vR.getConstructor(yR,"WeakMap",!0),Q5.enable();var ug=ove.prototype,bR=st(ug.delete),gy=st(ug.has),wR=st(ug.get),$R=st(ug.set);uy(ug,{delete:function(e){if(Gt(e)&&!fl(e)){var t=hy(this);return t.frozen||(t.frozen=new sg),bR(this,e)||t.frozen.delete(e)}return bR(this,e)},has:function(e){if(Gt(e)&&!fl(e)){var t=hy(this);return t.frozen||(t.frozen=new sg),gy(this,e)||t.frozen.has(e)}return gy(this,e)},get:function(e){if(Gt(e)&&!fl(e)){var t=hy(this);return t.frozen||(t.frozen=new sg),gy(this,e)?wR(this,e):t.frozen.get(e)}return wR(this,e)},set:function(e,t){if(Gt(e)&&!fl(e)){var n=hy(this);n.frozen||(n.frozen=new sg),gy(this,e)?$R(this,e,t):n.frozen.set(e,t)}else $R(this,e,t);return this}})}var my={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},r6=Yh("span").classList,CR=r6&&r6.constructor&&r6.constructor.prototype,ER=CR===Object.prototype?void 0:CR,o6=Dn("iterator"),SR=Dn("toStringTag"),i6=ig.values,DR=function(e,t){if(e){if(e[o6]!==i6)try{Ni(e,o6,i6)}catch{e[o6]=i6}if(e[SR]||Ni(e,SR,t),my[t]){for(var n in ig)if(e[n]!==ig[n])try{Ni(e,n,ig[n])}catch{e[n]=ig[n]}}}};for(var a6 in my)DR(Ce[a6]&&Ce[a6].prototype,a6);DR(ER,"DOMTokenList");var xR=function(e,t){var n=[][e];return!!n&&Jt(function(){n.call(null,t||function(){throw 1},1)})},ive=t6.forEach,s6=xR("forEach")?[].forEach:function(e){return ive(this,e,arguments.length>1?arguments[1]:void 0)},AR=function(e){if(e&&e.forEach!==s6)try{Ni(e,"forEach",s6)}catch{e.forEach=s6}};for(var u6 in my)my[u6]&&AR(Ce[u6]&&Ce[u6].prototype);AR(ER);var lg,mf,kR,l6,vy=Ce.Promise,_R=Dn("species"),OR=/(?:ipad|iphone|ipod).*applewebkit/i.test(cf),Bs=ii(Ce.process)=="process",c6=Ce.setImmediate,f6=Ce.clearImmediate,ave=Ce.process,d6=Ce.Dispatch,sve=Ce.Function,BR=Ce.MessageChannel,uve=Ce.String,p6=0,cg={};try{lg=Ce.location}catch{}var h6=function(e){if(Nn(cg,e)){var t=cg[e];delete cg[e],t()}},g6=function(e){return function(){h6(e)}},TR=function(e){h6(e.data)},FR=function(e){Ce.postMessage(uve(e),lg.protocol+"//"+lg.host)};c6&&f6||(c6=function(e){var t=FL(arguments,1);return cg[++p6]=function(){UL(Rt(e)?e:sve(e),void 0,t)},mf(p6),p6},f6=function(e){delete cg[e]},Bs?mf=function(e){ave.nextTick(g6(e))}:d6&&d6.now?mf=function(e){d6.now(g6(e))}:BR&&!OR?(l6=(kR=new BR).port2,kR.port1.onmessage=TR,mf=ag(l6.postMessage,l6)):Ce.addEventListener&&Rt(Ce.postMessage)&&!Ce.importScripts&&lg&&lg.protocol!=="file:"&&!Jt(FR)?(mf=FR,Ce.addEventListener("message",TR,!1)):mf="onreadystatechange"in Yh("script")?function(e){P5.appendChild(Yh("script")).onreadystatechange=function(){P5.removeChild(this),h6(e)}}:function(e){setTimeout(g6(e),0)});var fg,dl,dg,vf,m6,v6,y6,PR,IR={set:c6,clear:f6},lve=/ipad|iphone|ipod/i.test(cf)&&Ce.Pebble!==void 0,cve=/web0s(?!.*chrome)/i.test(cf),fve=E5.f,b6=IR.set,NR=Ce.MutationObserver||Ce.WebKitMutationObserver,LR=Ce.document,RR=Ce.process,yy=Ce.Promise,MR=fve(Ce,"queueMicrotask"),jR=MR&&MR.value;jR||(fg=function(){var e,t;for(Bs&&(e=RR.domain)&&e.exit();dl;){t=dl.fn,dl=dl.next;try{t()}catch(n){throw dl?vf():dg=void 0,n}}dg=void 0,e&&e.enter()},OR||Bs||cve||!NR||!LR?!lve&&yy&&yy.resolve?((y6=yy.resolve(void 0)).constructor=yy,PR=ag(y6.then,y6),vf=function(){PR(fg)}):Bs?vf=function(){RR.nextTick(fg)}:(b6=ag(b6,Ce),vf=function(){b6(fg)}):(m6=!0,v6=LR.createTextNode(""),new NR(fg).observe(v6,{characterData:!0}),vf=function(){v6.data=m6=!m6}));var w6,zR,VR,UR,HR=jR||function(e){var t={fn:e,next:void 0};dg&&(dg.next=t),dl||(dl=t,vf()),dg=t},dve=function(e){var t,n;this.promise=new e(function(r,o){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=o}),this.resolve=As(t),this.reject=As(n)},$6={f:function(e){return new dve(e)}},C6=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},pve=typeof window=="object",WR=IR.set,hve=Dn("species"),Ri="Promise",qR=ro.getterFor(Ri),gve=ro.set,mve=ro.getterFor(Ri),pl=vy&&vy.prototype,Mi=vy,pg=pl,GR=Ce.TypeError,E6=Ce.document,S6=Ce.process,yf=$6.f,vve=yf,yve=!!(E6&&E6.createEvent&&Ce.dispatchEvent),KR=Rt(Ce.PromiseRejectionEvent),YR=!1,hg=Z1(Ri,function(){var e=K1(Mi),t=e!==String(Mi);if(!t&&qh===66)return!0;if(qh>=51&&/native code/.test(e))return!1;var n=new Mi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[hve]=r,!(YR=n.then(function(){})instanceof r)||!t&&pve&&!KR}),bve=hg||!pR(function(e){Mi.all(e).catch(function(){})}),JR=function(e){var t;return!(!Gt(e)||!Rt(t=e.then))&&t},D6=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;HR(function(){for(var r=e.value,o=e.state==1,i=0;n.length>i;){var a,s,l,f=n[i++],d=o?f.ok:f.fail,p=f.resolve,h=f.reject,m=f.domain;try{d?(o||(e.rejection===2&&$ve(e),e.rejection=1),d===!0?a=r:(m&&m.enter(),a=d(r),m&&(m.exit(),l=!0)),a===f.promise?h(GR("Promise-chain cycle")):(s=JR(a))?_t(s,a,p,h):p(a)):h(r)}catch(C){m&&!l&&m.exit(),h(C)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&wve(e)})}},XR=function(e,t,n){var r,o;yve?((r=E6.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Ce.dispatchEvent(r)):r={promise:t,reason:n},!KR&&(o=Ce["on"+e])?o(r):e==="unhandledrejection"&&function(i,a){var s=Ce.console;s&&s.error&&(arguments.length==1?s.error(i):s.error(i,a))}("Unhandled promise rejection",n)},wve=function(e){_t(WR,Ce,function(){var t,n=e.facade,r=e.value;if(ZR(e)&&(t=C6(function(){Bs?S6.emit("unhandledRejection",r,n):XR("unhandledrejection",n,r)}),e.rejection=Bs||ZR(e)?2:1,t.error))throw t.value})},ZR=function(e){return e.rejection!==1&&!e.parent},$ve=function(e){_t(WR,Ce,function(){var t=e.facade;Bs?S6.emit("rejectionHandled",t):XR("rejectionhandled",t,e.value)})},bf=function(e,t,n){return function(r){e(t,r,n)}},wf=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,D6(e,!0))},x6=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw GR("Promise can't be resolved itself");var r=JR(t);r?HR(function(){var o={done:!1};try{_t(r,t,bf(x6,o,e),bf(wf,o,e))}catch(i){wf(o,i,e)}}):(e.value=t,e.state=1,D6(e,!1))}catch(o){wf({done:!1},o,e)}}};if(hg&&(pg=(Mi=function(e){e6(this,pg),As(e),_t(w6,this);var t=qR(this);try{e(bf(x6,t),bf(wf,t))}catch(n){wf(t,n)}}).prototype,(w6=function(e){gve(this,{type:Ri,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=uy(pg,{then:function(e,t){var n=mve(this),r=n.reactions,o=yf(HL(this,Mi));return o.ok=!Rt(e)||e,o.fail=Rt(t)&&t,o.domain=Bs?S6.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&D6(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),zR=function(){var e=new w6,t=qR(e);this.promise=e,this.resolve=bf(x6,t),this.reject=bf(wf,t)},$6.f=yf=function(e){return e===Mi||e===VR?new zR(e):vve(e)},Rt(vy)&&pl!==Object.prototype)){UR=pl.then,YR||(oo(pl,"then",function(e,t){var n=this;return new Mi(function(r,o){_t(UR,n,r,o)}).then(e,t)},{unsafe:!0}),oo(pl,"catch",pg.catch,{unsafe:!0}));try{delete pl.constructor}catch{}gf&&gf(pl,pg)}Li({global:!0,wrap:!0,forced:hg},{Promise:Mi}),ay(Mi,Ri,!1),function(e){var t=sl(e),n=fa.f;Ii&&t&&!t[_R]&&n(t,_R,{configurable:!0,get:function(){return this}})}(Ri),VR=sl(Ri),Li({target:Ri,stat:!0,forced:hg},{reject:function(e){var t=yf(this);return _t(t.reject,void 0,e),t.promise}}),Li({target:Ri,stat:!0,forced:hg},{resolve:function(e){return function(t,n){if(Zn(t),Gt(n)&&n.constructor===t)return n;var r=$6.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Li({target:Ri,stat:!0,forced:bve},{all:function(e){var t=this,n=yf(t),r=n.resolve,o=n.reject,i=C6(function(){var a=As(t.resolve),s=[],l=0,f=1;fy(e,function(d){var p=l++,h=!1;f++,_t(a,t,d).then(function(m){h||(h=!0,s[p]=m,--f||r(s))},o)}),--f||r(s)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=yf(t),r=n.reject,o=C6(function(){var i=As(t.resolve);fy(e,function(a){_t(i,t,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Cve=Xh.PROPER,A6=RegExp.prototype,QR=A6.toString,Eve=st(PL),Sve=Jt(function(){return QR.call({source:"a",flags:"b"})!="/a/b"}),Dve=Cve&&QR.name!="toString";(Sve||Dve)&&oo(RegExp.prototype,"toString",function(){var e=Zn(this),t=_s(e.source),n=e.flags;return"/"+t+"/"+_s(n===void 0&&Wh(A6,e)&&!("flags"in A6)?Eve(e):n)},{unsafe:!0});var xve=Xh.EXISTS,Ave=fa.f,eM=Function.prototype,kve=st(eM.toString),tM=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,_ve=st(tM.exec);Ii&&!xve&&Ave(eM,"name",{configurable:!0,get:function(){try{return _ve(tM,kve(this))[1]}catch{return""}}});var nM=new WeakMap;function rM(e){return e.getMenuConfig("uploadImage")}function Ove(e,t){return W5(this,void 0,void 0,function(){return q5(this,function(n){return[2,new Promise(function(r){var o=new FileReader;o.readAsDataURL(t),o.onload=function(){var i=o.result;if(i){var a=i.toString(),s=a.indexOf("data:image")===0?"":a;Nu(e,a,t.name,s),r("ok")}}})]})})}function Bve(e,t){return W5(this,void 0,void 0,function(){var n,r,o,i;return q5(this,function(a){switch(a.label){case 0:return n=function(s){var l=nM.get(s);if(l!=null)return l;var f=rM(s),d=f.onSuccess,p=f.onProgress,h=f.onFailed,m=f.customInsert,C=f.onError;return l=Y4(oy(oy({},f),{onProgress:function($){s.showProgressBar($),p&&p($)},onSuccess:function($,b){if(m)return m(b,function(ue,oe,de){return Nu(s,ue,oe,de)}),void d($,b);var w=b.errno,y=w===void 0?1:w,S=b.data,x=S===void 0?{}:S;if(y===0){if(Array.isArray(x))x.forEach(function(ue){var oe=ue.url,de=oe===void 0?"":oe,me=ue.alt,_e=me===void 0?"":me,Ee=ue.href;Nu(s,de,_e,Ee===void 0?"":Ee)});else{var A=x.url,O=A===void 0?"":A,T=x.alt,z=T===void 0?"":T,V=x.href;Nu(s,O,z,V===void 0?"":V)}d($,b)}else h($,b)},onError:function($,b,w){C($,b,w)}})),nM.set(s,l),l}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}function oM(e,t){var n,r;return W5(this,void 0,void 0,function(){var o,i,a,s,l,f,d,p,h;return q5(this,function(m){switch(m.label){case 0:if(t==null)return[2];o=Array.prototype.slice.call(t),i=rM(e),a=i.customUpload,s=i.base64LimitSize,m.label=1;case 1:m.trys.push([1,11,12,17]),l=Eme(o),m.label=2;case 2:return[4,l.next()];case 3:return(f=m.sent()).done?[3,10]:(d=f.value,p=d.size,s&&p<=s?[4,Ove(e,d)]:[3,5]);case 4:return m.sent(),[3,9];case 5:return a?[4,a(d,function(C,$,b){return Nu(e,C,$,b)})]:[3,7];case 6:return m.sent(),[3,9];case 7:return[4,Bve(e,d)];case 8:m.sent(),m.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return h=m.sent(),n={error:h},[3,17];case 12:return m.trys.push([12,,15,16]),f&&!f.done&&(r=l.return)?[4,r.call(l)]:[3,14];case 13:m.sent(),m.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var Tve=st([].join),Fve=p5!=Object,Pve=xR("join",",");Li({target:"Array",proto:!0,forced:Fve||!Pve},{join:function(e){return Tve(xs(this),e===void 0?",":e)}}),vo&&(U.fn.append=vo),yi&&(U.fn.on=yi),Yl&&(U.fn.remove=Yl),vi&&(U.fn.val=vi),FA&&(U.fn.click=FA),Wl&&(U.fn.hide=Wl);var Ive=function(){function e(){this.title=$e("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return Qm(t)},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(d,p,h){return Nu(t,d,p,h)});else{var s="";i.length>0&&(s='accept="'+i.join(", ")+'"');var l=U("body"),f=U('<input type="file" '+s+" multiple/>");f.hide(),l.append(f),f.click(),f.on("change",function(){var d=f[0].files;oM(t,d)})}},e}(),Nve={menus:[{key:"uploadImage",factory:function(){return new Ive},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(Qm(n))t(r);else if(r.getData("text/plain"))t(r);else{var o=r.files;o.length<=0?t(r):Array.prototype.slice.call(o).some(function(i){return function(a,s){var l=typeof Symbol=="function"&&a[Symbol.iterator];if(!l)return a;var f,d,p=l.call(a),h=[];try{for(;(s===void 0||s-- >0)&&!(f=p.next()).done;)h.push(f.value)}catch(m){d={error:m}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(d)throw d.error}}return h}(i.type.split("/"),1)[0]==="image"})?oM(e,o):t(r)}},n}};xr("en",{highLightModule:{selectLang:"Language"}}),xr("zh-CN",{highLightModule:{selectLang:"\u9009\u62E9\u8BED\u8A00"}});var by=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function k6(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ts,wy,$y=function(e){return e&&e.Math==Math&&e},ct=$y(typeof globalThis=="object"&&globalThis)||$y(typeof window=="object"&&window)||$y(typeof self=="object"&&self)||$y(typeof by=="object"&&by)||function(){return this}()||Function("return this")(),Lve=Object.defineProperty,_6=function(e,t){try{Lve(ct,e,{value:t,configurable:!0,writable:!0})}catch{ct[e]=t}return t},Fs=ct["__core-js_shared__"]||_6("__core-js_shared__",{}),O6=k6(function(e){(e.exports=function(t,n){return Fs[t]||(Fs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),iM=Function.prototype,B6=iM.bind,T6=iM.call,Rve=B6&&B6.bind(T6),Ot=B6?function(e){return e&&Rve(T6,e)}:function(e){return e&&function(){return T6.apply(e,arguments)}},Mve=ct.TypeError,$f=function(e){if(e==null)throw Mve("Can't call method on "+e);return e},jve=ct.Object,F6=function(e){return jve($f(e))},zve=Ot({}.hasOwnProperty),Io=Object.hasOwn||function(e,t){return zve(F6(e),t)},Vve=0,Uve=Math.random(),Hve=Ot(1 .toString),aM=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Hve(++Vve+Uve,36)},br=function(e){return typeof e=="function"},Wve=function(e){return br(e)?e:void 0},gg=function(e,t){return arguments.length<2?Wve(ct[e]):ct[e]&&ct[e][t]},P6=gg("navigator","userAgent")||"",sM=ct.process,uM=ct.Deno,lM=sM&&sM.versions||uM&&uM.version,cM=lM&&lM.v8;cM&&(wy=(Ts=cM.split("."))[0]>0&&Ts[0]<4?1:+(Ts[0]+Ts[1])),!wy&&P6&&(!(Ts=P6.match(/Edge\/(\d+)/))||Ts[1]>=74)&&(Ts=P6.match(/Chrome\/(\d+)/))&&(wy=+Ts[1]);var fM=wy,Qn=function(e){try{return!!e()}catch{return!0}},I6=!!Object.getOwnPropertySymbols&&!Qn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&fM&&fM<41}),N6=I6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",mg=O6("wks"),hl=ct.Symbol,dM=hl&&hl.for,qve=N6?hl:hl&&hl.withoutSetter||aM,Ps=function(e){if(!Io(mg,e)||!I6&&typeof mg[e]!="string"){var t="Symbol."+e;I6&&Io(hl,e)?mg[e]=hl[e]:mg[e]=N6&&dM?dM(t):qve(t)}return mg[e]},pM={};pM[Ps("toStringTag")]="z";var L6=String(pM)==="[object z]",ji=!Qn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ai=function(e){return typeof e=="object"?e!==null:br(e)},R6=ct.document,Gve=ai(R6)&&ai(R6.createElement),M6=function(e){return Gve?R6.createElement(e):{}},hM=!ji&&!Qn(function(){return Object.defineProperty(M6("div"),"a",{get:function(){return 7}}).a!=7}),Kve=ct.String,Yve=ct.TypeError,si=function(e){if(ai(e))return e;throw Yve(Kve(e)+" is not an object")},vg=Function.prototype.call,Wn=vg.bind?vg.bind(vg):function(){return vg.apply(vg,arguments)},gM=Ot({}.isPrototypeOf),Jve=ct.Object,j6=N6?function(e){return typeof e=="symbol"}:function(e){var t=gg("Symbol");return br(t)&&gM(t.prototype,Jve(e))},Xve=ct.String,mM=function(e){try{return Xve(e)}catch{return"Object"}},Zve=ct.TypeError,vM=function(e){if(br(e))return e;throw Zve(mM(e)+" is not a function")},yM=function(e,t){var n=e[t];return n==null?void 0:vM(n)},Qve=ct.TypeError,e1e=ct.TypeError,t1e=Ps("toPrimitive"),n1e=function(e,t){if(!ai(e)||j6(e))return e;var n,r=yM(e,t1e);if(r){if(t===void 0&&(t="default"),n=Wn(r,e,t),!ai(n)||j6(n))return n;throw e1e("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(o,i){var a,s;if(i==="string"&&br(a=o.toString)&&!ai(s=Wn(a,o))||br(a=o.valueOf)&&!ai(s=Wn(a,o))||i!=="string"&&br(a=o.toString)&&!ai(s=Wn(a,o)))return s;throw Qve("Can't convert object to primitive value")}(e,t)},z6=function(e){var t=n1e(e,"string");return j6(t)?t:t+""},r1e=ct.TypeError,bM=Object.defineProperty,Cy={f:ji?bM:function(e,t,n){if(si(e),t=z6(t),si(n),hM)try{return bM(e,t,n)}catch{}if("get"in n||"set"in n)throw r1e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},V6=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Cf=ji?function(e,t,n){return Cy.f(e,t,V6(1,n))}:function(e,t,n){return e[t]=n,e},o1e=Ot(Function.toString);br(Fs.inspectSource)||(Fs.inspectSource=function(e){return o1e(e)});var Ey,yg,Sy,U6=Fs.inspectSource,wM=ct.WeakMap,i1e=br(wM)&&/native code/.test(U6(wM)),$M=O6("keys"),CM=function(e){return $M[e]||($M[e]=aM(e))},H6={},W6=ct.TypeError,a1e=ct.WeakMap;if(i1e||Fs.state){var gl=Fs.state||(Fs.state=new a1e),s1e=Ot(gl.get),EM=Ot(gl.has),u1e=Ot(gl.set);Ey=function(e,t){if(EM(gl,e))throw new W6("Object already initialized");return t.facade=e,u1e(gl,e,t),t},yg=function(e){return s1e(gl,e)||{}},Sy=function(e){return EM(gl,e)}}else{var Ef=CM("state");H6[Ef]=!0,Ey=function(e,t){if(Io(e,Ef))throw new W6("Object already initialized");return t.facade=e,Cf(e,Ef,t),t},yg=function(e){return Io(e,Ef)?e[Ef]:{}},Sy=function(e){return Io(e,Ef)}}var q6={set:Ey,get:yg,has:Sy,enforce:function(e){return Sy(e)?yg(e):Ey(e,{})},getterFor:function(e){return function(t){var n;if(!ai(t)||(n=yg(t)).type!==e)throw W6("Incompatible receiver, "+e+" required");return n}}},SM=Function.prototype,l1e=ji&&Object.getOwnPropertyDescriptor,G6=Io(SM,"name"),DM={EXISTS:G6,PROPER:G6&&function(){}.name==="something",CONFIGURABLE:G6&&(!ji||ji&&l1e(SM,"name").configurable)},bg=k6(function(e){var t=DM.CONFIGURABLE,n=q6.get,r=q6.enforce,o=String(String).split("String");(e.exports=function(i,a,s,l){var f,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,h=!!l&&!!l.noTargetGet,m=l&&l.name!==void 0?l.name:a;br(s)&&(String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Io(s,"name")||t&&s.name!==m)&&Cf(s,"name",m),(f=r(s)).source||(f.source=o.join(typeof m=="string"?m:""))),i!==ct?(d?!h&&i[a]&&(p=!0):delete i[a],p?i[a]=s:Cf(i,a,s)):p?i[a]=s:_6(a,s)})(Function.prototype,"toString",function(){return br(this)&&n(this).source||U6(this)})}),c1e=Ot({}.toString),f1e=Ot("".slice),Is=function(e){return f1e(c1e(e),8,-1)},d1e=Ps("toStringTag"),p1e=ct.Object,h1e=Is(function(){return arguments}())=="Arguments",K6=L6?Is:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(t=p1e(e),d1e))=="string"?n:h1e?Is(t):(r=Is(t))=="Object"&&br(t.callee)?"Arguments":r},g1e=L6?{}.toString:function(){return"[object "+K6(this)+"]"};L6||bg(Object.prototype,"toString",g1e,{unsafe:!0});var m1e,xM,AM={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},Y6=M6("span").classList,kM=Y6&&Y6.constructor&&Y6.constructor.prototype,v1e=kM===Object.prototype?void 0:kM,_M=Ot(Ot.bind),J6=ct.Object,y1e=Ot("".split),X6=Qn(function(){return!J6("z").propertyIsEnumerable(0)})?function(e){return Is(e)=="String"?y1e(e,""):J6(e)}:J6,b1e=Math.ceil,w1e=Math.floor,Z6=function(e){var t=+e;return t!=t||t===0?0:(t>0?w1e:b1e)(t)},$1e=Math.min,OM=function(e){return e>0?$1e(Z6(e),9007199254740991):0},Q6=function(e){return OM(e.length)},BM=Array.isArray||function(e){return Is(e)=="Array"},TM=function(){},C1e=[],FM=gg("Reflect","construct"),eD=/^\s*(?:class|function)\b/,E1e=Ot(eD.exec),S1e=!eD.exec(TM),wg=function(e){if(!br(e))return!1;try{return FM(TM,C1e,e),!0}catch{return!1}},PM=!FM||Qn(function(){var e;return wg(wg.call)||!wg(Object)||!wg(function(){e=!0})||e})?function(e){if(!br(e))return!1;switch(K6(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return S1e||!!E1e(eD,U6(e))}:wg,D1e=Ps("species"),IM=ct.Array,x1e=function(e,t){return new(function(n){var r;return BM(n)&&(r=n.constructor,(PM(r)&&(r===IM||BM(r.prototype))||ai(r)&&(r=r[D1e])===null)&&(r=void 0)),r===void 0?IM:r}(e))(t===0?0:t)},NM=Ot([].push),Ns=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,i=e==6,a=e==7,s=e==5||i;return function(l,f,d,p){for(var h,m,C=F6(l),$=X6(C),b=function(A,O){return vM(A),O===void 0?A:_M?_M(A,O):function(){return A.apply(O,arguments)}}(f,d),w=Q6($),y=0,S=p||x1e,x=t?S(l,w):n||a?S(l,0):void 0;w>y;y++)if((s||y in $)&&(m=b(h=$[y],y,C),e))if(t)x[y]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:NM(x,h)}else switch(e){case 4:return!1;case 7:NM(x,h)}return i?-1:r||o?o:x}},A1e={forEach:Ns(0),map:Ns(1),filter:Ns(2),some:Ns(3),every:Ns(4),find:Ns(5),findIndex:Ns(6),filterReject:Ns(7)}.forEach,tD=!!(xM=[].forEach)&&Qn(function(){xM.call(null,m1e||function(){throw 1},1)})?[].forEach:function(e){return A1e(this,e,arguments.length>1?arguments[1]:void 0)},LM=function(e){if(e&&e.forEach!==tD)try{Cf(e,"forEach",tD)}catch{e.forEach=tD}};for(var nD in AM)AM[nD]&&LM(ct[nD]&&ct[nD].prototype);LM(v1e);var RM={}.propertyIsEnumerable,MM=Object.getOwnPropertyDescriptor,jM={f:MM&&!RM.call({1:2},1)?function(e){var t=MM(this,e);return!!t&&t.enumerable}:RM},Dy=function(e){return X6($f(e))},zM=Object.getOwnPropertyDescriptor,VM={f:ji?zM:function(e,t){if(e=Dy(e),t=z6(t),hM)try{return zM(e,t)}catch{}if(Io(e,t))return V6(!Wn(jM.f,e,t),e[t])}},k1e=Math.max,_1e=Math.min,rD=function(e,t){var n=Z6(e);return n<0?k1e(n+t,0):_1e(n,t)},UM=function(e){return function(t,n,r){var o,i=Dy(t),a=Q6(i),s=rD(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},O1e={includes:UM(!0),indexOf:UM(!1)}.indexOf,HM=Ot([].push),WM=function(e,t){var n,r=Dy(e),o=0,i=[];for(n in r)!Io(H6,n)&&Io(r,n)&&HM(i,n);for(;t.length>o;)Io(r,n=t[o++])&&(~O1e(i,n)||HM(i,n));return i},xy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],B1e=xy.concat("length","prototype"),T1e={f:Object.getOwnPropertyNames||function(e){return WM(e,B1e)}},qM={f:Object.getOwnPropertySymbols},F1e=Ot([].concat),P1e=gg("Reflect","ownKeys")||function(e){var t=T1e.f(si(e)),n=qM.f;return n?F1e(t,n(e)):t},I1e=function(e,t){for(var n=P1e(t),r=Cy.f,o=VM.f,i=0;i<n.length;i++){var a=n[i];Io(e,a)||r(e,a,o(t,a))}},N1e=/#|\.prototype\./,$g=function(e,t){var n=R1e[L1e(e)];return n==j1e||n!=M1e&&(br(t)?Qn(t):!!t)},L1e=$g.normalize=function(e){return String(e).replace(N1e,".").toLowerCase()},R1e=$g.data={},M1e=$g.NATIVE="N",j1e=$g.POLYFILL="P",z1e=$g,V1e=VM.f,Ay=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,f=e.stat;if(n=l?ct:f?ct[s]||_6(s,{}):(ct[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=V1e(n,r))&&a.value:n[r],!z1e(l?r:s+(f?".":"#")+r,e.forced)&&o!==void 0){if(typeof i==typeof o)continue;I1e(i,o)}(e.sham||o&&o.sham)&&Cf(i,"sham",!0),bg(n,r,i,e)}},ky=Object.keys||function(e){return WM(e,xy)},Sf=Object.assign,GM=Object.defineProperty,U1e=Ot([].concat),KM=!Sf||Qn(function(){if(ji&&Sf({b:1},Sf(GM({},"a",{enumerable:!0,get:function(){GM(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(o){t[o]=o}),Sf({},e)[n]!=7||ky(Sf({},t)).join("")!=r})?function(e,t){for(var n=F6(e),r=arguments.length,o=1,i=qM.f,a=jM.f;r>o;)for(var s,l=X6(arguments[o++]),f=i?U1e(ky(l),i(l)):ky(l),d=f.length,p=0;d>p;)s=f[p++],ji&&!Wn(a,l,s)||(n[s]=l[s]);return n}:Sf;Ay({target:"Object",stat:!0,forced:Object.assign!==KM},{assign:KM});var YM=k6(function(e){var t=function(n){var r=/\blang(?:uage)?-([\w-]+)\b/i,o=0,i={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function b(w){return w instanceof s?new s(w.type,b(w.content),w.alias):Array.isArray(w)?w.map(b):w.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++o}),b.__id},clone:function b(w,y){var S,x;switch(y=y||{},a.util.type(w)){case"Object":if(x=a.util.objId(w),y[x])return y[x];for(var A in S={},y[x]=S,w)w.hasOwnProperty(A)&&(S[A]=b(w[A],y));return S;case"Array":return x=a.util.objId(w),y[x]?y[x]:(S=[],y[x]=S,w.forEach(function(O,T){S[T]=b(O,y)}),S);default:return w}},getLanguage:function(b){for(;b&&!r.test(b.className);)b=b.parentElement;return b?(b.className.match(r)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(b){var w=document.getElementsByTagName("script");for(var y in w)if(w[y].src==b)return w[y]}return null}},isActive:function(b,w,y){for(var S="no-"+w;b;){var x=b.classList;if(x.contains(w))return!0;if(x.contains(S))return!1;b=b.parentElement}return!!y}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(b,w){var y=a.util.clone(a.languages[b]);for(var S in w)y[S]=w[S];return y},insertBefore:function(b,w,y,S){var x=(S=S||a.languages)[b],A={};for(var O in x)if(x.hasOwnProperty(O)){if(O==w)for(var T in y)y.hasOwnProperty(T)&&(A[T]=y[T]);y.hasOwnProperty(O)||(A[O]=x[O])}var z=S[b];return S[b]=A,a.languages.DFS(a.languages,function(V,ue){ue===z&&V!=b&&(this[V]=A)}),A},DFS:function b(w,y,S,x){x=x||{};var A=a.util.objId;for(var O in w)if(w.hasOwnProperty(O)){y.call(w,O,w[O],S||O);var T=w[O],z=a.util.type(T);z!=="Object"||x[A(T)]?z!=="Array"||x[A(T)]||(x[A(T)]=!0,b(T,y,O,x)):(x[A(T)]=!0,b(T,y,null,x))}}},plugins:{},highlightAll:function(b,w){a.highlightAllUnder(document,b,w)},highlightAllUnder:function(b,w,y){var S={callback:y,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),a.hooks.run("before-all-elements-highlight",S);for(var x,A=0;x=S.elements[A++];)a.highlightElement(x,w===!0,S.callback)},highlightElement:function(b,w,y){var S=a.util.getLanguage(b),x=a.languages[S];b.className=b.className.replace(r,"").replace(/\s+/g," ")+" language-"+S;var A=b.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&(A.className=A.className.replace(r,"").replace(/\s+/g," ")+" language-"+S);var O={element:b,language:S,grammar:x,code:b.textContent};function T(V){O.highlightedCode=V,a.hooks.run("before-insert",O),O.element.innerHTML=O.highlightedCode,a.hooks.run("after-highlight",O),a.hooks.run("complete",O),y&&y.call(O.element)}if(a.hooks.run("before-sanity-check",O),(A=O.element.parentElement)&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!O.code)return a.hooks.run("complete",O),void(y&&y.call(O.element));if(a.hooks.run("before-highlight",O),O.grammar)if(w&&n.Worker){var z=new Worker(a.filename);z.onmessage=function(V){T(V.data)},z.postMessage(JSON.stringify({language:O.language,code:O.code,immediateClose:!0}))}else T(a.highlight(O.code,O.grammar,O.language));else T(a.util.encode(O.code))},highlight:function(b,w,y){var S={code:b,grammar:w,language:y};return a.hooks.run("before-tokenize",S),S.tokens=a.tokenize(S.code,S.grammar),a.hooks.run("after-tokenize",S),s.stringify(a.util.encode(S.tokens),S.language)},tokenize:function(b,w){var y=w.rest;if(y){for(var S in y)w[S]=y[S];delete w.rest}var x=new d;return p(x,x.head,b),f(b,x,w,x.head,0),function(A){for(var O=[],T=A.head.next;T!==A.tail;)O.push(T.value),T=T.next;return O}(x)},hooks:{all:{},add:function(b,w){var y=a.hooks.all;y[b]=y[b]||[],y[b].push(w)},run:function(b,w){var y=a.hooks.all[b];if(y&&y.length)for(var S,x=0;S=y[x++];)S(w)}},Token:s};function s(b,w,y,S){this.type=b,this.content=w,this.alias=y,this.length=0|(S||"").length}function l(b,w,y,S){b.lastIndex=w;var x=b.exec(y);if(x&&S&&x[1]){var A=x[1].length;x.index+=A,x[0]=x[0].slice(A)}return x}function f(b,w,y,S,x,A){for(var O in y)if(y.hasOwnProperty(O)&&y[O]){var T=y[O];T=Array.isArray(T)?T:[T];for(var z=0;z<T.length;++z){if(A&&A.cause==O+","+z)return;var V=T[z],ue=V.inside,oe=!!V.lookbehind,de=!!V.greedy,me=V.alias;if(de&&!V.pattern.global){var _e=V.pattern.toString().match(/[imsuy]*$/)[0];V.pattern=RegExp(V.pattern.source,_e+"g")}for(var Ee=V.pattern||V,Be=S.next,Fe=x;Be!==w.tail&&!(A&&Fe>=A.reach);Fe+=Be.value.length,Be=Be.next){var je=Be.value;if(w.length>b.length)return;if(!(je instanceof s)){var Ue,Oe=1;if(de){if(!(Ue=l(Ee,Fe,b,oe)))break;var Je=Ue.index,G=Ue.index+Ue[0].length,H=Fe;for(H+=Be.value.length;Je>=H;)H+=(Be=Be.next).value.length;if(Fe=H-=Be.value.length,Be.value instanceof s)continue;for(var I=Be;I!==w.tail&&(H<G||typeof I.value=="string");I=I.next)Oe++,H+=I.value.length;Oe--,je=b.slice(Fe,H),Ue.index-=Fe}else if(!(Ue=l(Ee,0,je,oe)))continue;Je=Ue.index;var L=Ue[0],Y=je.slice(0,Je),q=je.slice(Je+L.length),B=Fe+je.length;A&&B>A.reach&&(A.reach=B);var ce=Be.prev;if(Y&&(ce=p(w,ce,Y),Fe+=Y.length),h(w,ce,Oe),Be=p(w,ce,new s(O,ue?a.tokenize(L,ue):L,me,L)),q&&p(w,Be,q),Oe>1){var ge={cause:O+","+z,reach:B};f(b,w,y,Be.prev,Fe,ge),A&&ge.reach>A.reach&&(A.reach=ge.reach)}}}}}}function d(){var b={value:null,prev:null,next:null},w={value:null,prev:b,next:null};b.next=w,this.head=b,this.tail=w,this.length=0}function p(b,w,y){var S=w.next,x={value:y,prev:w,next:S};return w.next=x,S.prev=x,b.length++,x}function h(b,w,y){for(var S=w.next,x=0;x<y&&S!==b.tail;x++)S=S.next;w.next=S,S.prev=w,b.length-=x}if(n.Prism=a,s.stringify=function b(w,y){if(typeof w=="string")return w;if(Array.isArray(w)){var S="";return w.forEach(function(z){S+=b(z,y)}),S}var x={type:w.type,content:b(w.content,y),tag:"span",classes:["token",w.type],attributes:{},language:y},A=w.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(x.classes,A):x.classes.push(A)),a.hooks.run("wrap",x);var O="";for(var T in x.attributes)O+=" "+T+'="'+(x.attributes[T]||"").replace(/"/g,"&quot;")+'"';return"<"+x.tag+' class="'+x.classes.join(" ")+'"'+O+">"+x.content+"</"+x.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(b){var w=JSON.parse(b.data),y=w.language,S=w.code,x=w.immediateClose;n.postMessage(a.highlight(S,a.languages[y],y)),x&&n.close()},!1)),a;var m=a.util.currentScript();function C(){a.manual||a.highlightAll()}if(m&&(a.filename=m.src,m.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var $=document.readyState;$==="loading"||$==="interactive"&&m&&m.defer?document.addEventListener("DOMContentLoaded",C):window.requestAnimationFrame?window.requestAnimationFrame(C):window.setTimeout(C,16)}return a}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});/**
183
183
  * Prism: Lightweight, robust, elegant syntax highlighting
184
184
  *
185
185
  * @license MIT <https://opensource.org/licenses/MIT>
@@ -203,4 +203,4 @@ Textarea height < 300px . This may be cause modal and hoverbar position error`,w
203
203
  PERFORMANCE OF THIS SOFTWARE.
204
204
  ***************************************************************************** */var pn=function(){return pn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},pn.apply(this,arguments)},Ln=function(){function e(){throw new Error(`\u4E0D\u80FD\u5B9E\u4F8B\u5316
205
205
  Can not construct a instance`)}return e.setEditorConfig=function(t){t===void 0&&(t={}),this.editorConfig=pn(pn({},this.editorConfig),t)},e.setSimpleEditorConfig=function(t){t===void 0&&(t={}),this.simpleEditorConfig=pn(pn({},this.simpleEditorConfig),t)},e.setToolbarConfig=function(t){t===void 0&&(t={}),this.toolbarConfig=pn(pn({},this.toolbarConfig),t)},e.setSimpleToolbarConfig=function(t){t===void 0&&(t={}),this.simpleToolbarConfig=pn(pn({},this.simpleToolbarConfig),t)},e.registerPlugin=function(t){this.plugins.push(t)},e.registerMenu=function(t,n){kZ(t,n)},e.registerRenderElem=function(t){QQ(t)},e.registerRenderStyle=function(t){ZQ(t)},e.registerElemToHtml=function(t){LZ(t)},e.registerStyleToHtml=function(t){NZ(t)},e.registerPreParseHtml=function(t){aQ(t)},e.registerParseElemHtml=function(t){uQ(t)},e.registerParseStyleHtml=function(t){sQ(t)},e.registerModule=function(t){ml(t)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function ml(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,l=e.parseStyleHtml,f=e.editorPlugin;t&&t.forEach(function(d){return Ln.registerMenu(d)}),n&&n.forEach(function(d){return Ln.registerRenderElem(d)}),r&&Ln.registerRenderStyle(r),o&&o.forEach(function(d){return Ln.registerElemToHtml(d)}),i&&Ln.registerStyleToHtml(i),a&&a.forEach(function(d){return Ln.registerPreParseHtml(d)}),s&&s.forEach(function(d){return Ln.registerParseElemHtml(d)}),l&&Ln.registerParseStyleHtml(l),f&&Ln.registerPlugin(f)}$se.forEach(function(e){return ml(e)}),ml(tce),ml(Ode),ml(Hge),ml(Nve),ml(xye);var _ye='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',Oye='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',pj='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',Bye='<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',Tye='<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>';function Fye(){return["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:$e("editor.more"),iconSvg:Bye,menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:$e("editor.justify"),iconSvg:Oye,menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:$e("editor.indent"),iconSvg:_ye,menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:$e("editor.image"),iconSvg:pj,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:$e("editor.video"),iconSvg:Tye,menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]}function Pye(){return["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:$e("editor.image"),iconSvg:pj,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]}var hj={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}};function Iye(){return pn(pn({},hj),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})}function Nye(){return hj}function Lye(){return{hoverbarKeys:Iye()}}function Rye(){return{hoverbarKeys:Nye()}}function Mye(){return{toolbarKeys:Fye()}}function jye(){return{toolbarKeys:Pye()}}var zye=Lye();Ln.setEditorConfig(pn(pn({},zye),{decorate:dj}));var Vye=Rye();Ln.setSimpleEditorConfig(pn(pn({},Vye),{decorate:dj}));var Uye=Mye();Ln.setToolbarConfig(Uye);var Hye=jye();Ln.setSimpleToolbarConfig(Hye);function gj(e){e===void 0&&(e={});var t=e.selector,n=t===void 0?"":t,r=e.content,o=r===void 0?[]:r,i=e.html,a=e.config,s=a===void 0?{}:a,l=e.mode,f=l===void 0?"default":l,d=f==="simple"?Ln.simpleEditorConfig:Ln.editorConfig,p=pn(pn({},d.hoverbarKeys||{}),s.hoverbarKeys||{}),h=$ee({selector:n,config:pn(pn(pn({},d),s),{hoverbarKeys:p}),content:o,html:i,plugins:Ln.plugins});return h}function mj(e){var t=e.selector,n=e.editor,r=e.config,o=r===void 0?{}:r,i=e.mode,a=i===void 0?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var s=a==="simple"?Ln.simpleToolbarConfig:Ln.toolbarConfig,l=xee(n,{selector:t,config:pn(pn({},s),o)});return l}var Wye={};const qye=Object.freeze(Object.defineProperty({__proto__:null,Boot:Ln,DomEditor:R,SlateEditor:_,SlateElement:Pe,SlateLocation:FU,SlateNode:we,SlatePath:J,SlatePoint:nt,SlateRange:re,SlateText:xe,SlateTransforms:ee,Toolbar:s7,createEditor:gj,createToolbar:mj,createUploader:Y4,default:Wye,genModalButtonElems:_u,genModalInputElems:Pr,genModalTextareaElems:gee,i18nAddResources:xr,i18nChangeLanguage:$7,i18nGetResources:qee,t:$e},Symbol.toStringTag,{value:"Module"}));var Gye=Object.defineProperty,Kye=Object.defineProperties,Yye=Object.getOwnPropertyDescriptors,vj=Object.getOwnPropertySymbols,Jye=Object.prototype.hasOwnProperty,Xye=Object.prototype.propertyIsEnumerable,yj=(e,t,n)=>t in e?Gye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zye=(e,t)=>{for(var n in t||(t={}))Jye.call(t,n)&&yj(e,n,t[n]);if(vj)for(var n of vj(t))Xye.call(t,n)&&yj(e,n,t[n]);return e},Qye=(e,t)=>Kye(e,Yye(t));function Ls(e){let t=`\u8BF7\u4F7F\u7528 '@${e}' \u4E8B\u4EF6\uFF0C\u4E0D\u8981\u653E\u5728 props \u4E2D`;return t+=`
206
- Please use '@${e}' event instead of props`,t}var bj=(e,t)=>{for(const[n,r]of t)e[n]=r;return e};const ebe=g.defineComponent({props:{mode:{type:String,default:"default"},defaultContent:{type:Array,default:[]},defaultHtml:{type:String,default:""},defaultConfig:{type:Object,default:{}},modelValue:{type:String,default:""}},setup(e,t){const n=g.ref(null),r=g.shallowRef(null),o=g.ref(""),i=()=>{if(!n.value)return;const s=g.toRaw(e.defaultContent);gj({selector:n.value,mode:e.mode,content:s||[],html:e.defaultHtml||e.modelValue||"",config:Qye(Zye({},e.defaultConfig),{onCreated(l){if(r.value=l,t.emit("onCreated",l),e.defaultConfig.onCreated){const f=Ls("onCreated");throw new Error(f)}},onChange(l){const f=l.getHtml();if(o.value=f,t.emit("update:modelValue",f),t.emit("onChange",l),e.defaultConfig.onChange){const d=Ls("onChange");throw new Error(d)}},onDestroyed(l){if(t.emit("onDestroyed",l),e.defaultConfig.onDestroyed){const f=Ls("onDestroyed");throw new Error(f)}},onMaxLength(l){if(t.emit("onMaxLength",l),e.defaultConfig.onMaxLength){const f=Ls("onMaxLength");throw new Error(f)}},onFocus(l){if(t.emit("onFocus",l),e.defaultConfig.onFocus){const f=Ls("onFocus");throw new Error(f)}},onBlur(l){if(t.emit("onBlur",l),e.defaultConfig.onBlur){const f=Ls("onBlur");throw new Error(f)}},customAlert(l,f){if(t.emit("customAlert",l,f),e.defaultConfig.customAlert){const d=Ls("customAlert");throw new Error(d)}},customPaste:(l,f)=>{if(e.defaultConfig.customPaste){const p=Ls("customPaste");throw new Error(p)}let d;return t.emit("customPaste",l,f,p=>{d=p}),d}})})};function a(s){const l=r.value;l!=null&&l.setHtml(s)}return g.onMounted(()=>{i()}),g.watch(()=>e.modelValue,s=>{s!==o.value&&a(s)}),{box:n}}}),tbe={ref:"box",style:{height:"100%"}};function nbe(e,t,n,r,o,i){return g.openBlock(),g.createElementBlock("div",tbe,null,512)}var rbe=bj(ebe,[["render",nbe]]);const obe=g.defineComponent({props:{editor:{type:Object},mode:{type:String,default:"default"},defaultConfig:{type:Object,default:{}}},setup(e){const t=g.ref(null),n=r=>{if(!!t.value){if(r==null)throw new Error("Not found instance of Editor when create <Toolbar/> component");R.getToolbar(r)||mj({editor:r,selector:t.value||"<div></div>",mode:e.mode,config:e.defaultConfig})}};return g.watchEffect(()=>{const{editor:r}=e;r!=null&&n(r)}),{selector:t}}}),ibe={ref:"selector"};function abe(e,t,n,r,o,i){return g.openBlock(),g.createElementBlock("div",ibe,null,512)}var sbe=bj(obe,[["render",abe]]);const wSe="",ube=g.defineComponent({name:"JwtEditor",components:{Editor:rbe,Toolbar:sbe},props:{modelValue:{type:String,default:""},uploadUrl:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=g.shallowRef(),r=g.ref("<p>hello</p>"),o=g.computed(()=>e.modelValue||""),i=[{type:"paragraph",children:[{text:"\u4E00\u884C\u6587\u5B57"}]}],a=g.reactive({defaultContent:i,initOnce:!1}),s={insertKeys:{index:22,keys:["uploadAttachment"]}},l={placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9...",MENU_CONF:{},hoverbarKeys:{attachment:{menuKeys:["downloadAttachment"]}}};l.MENU_CONF.uploadImage={server:e.uploadUrl,maxFileSize:20*1024*1024,headers:{Accept:"text/x-json",Authorization:window.localStorage.getItem("admin-token")},timeout:60*1e3,withCredentials:!0},l.MENU_CONF.uploadVideo={server:e.uploadUrl,headers:{Accept:"text/x-json",Authorization:window.localStorage.getItem("admin-token")},withCredentials:!0},l.MENU_CONF.uploadAttachment={server:e.uploadUrl,headers:{Accept:"text/x-json",Authorization:window.localStorage.getItem("admin-token")}};const f=y=>{n.value=y},d=y=>{t("update:modelValue",w(y))},p=y=>{console.log("destroyed",y)},h=y=>{console.log("focus",y)},m=y=>{t("update:modelValue",w(y))},C=(y,S)=>{alert(`\u3010\u81EA\u5B9A\u4E49\u63D0\u793A\u3011${S} - ${y}`)},$=(y,S,x)=>{console.log("ClipboardEvent \u7C98\u8D34\u4E8B\u4EF6\u5BF9\u8C61",S),y.insertText("xxx"),S.preventDefault(),x(!1)},b=()=>{const y=n.value;y!=null&&(y.select([]),y.deleteFragment(),ee.setNodes(y,{type:"paragraph"},{mode:"highest"}),y.dangerouslyInsertHtml(o.value),a.initOnce=!0)},w=y=>{let S=y.getHtml();const x=S.match(/<span data-w-e-type="attachment"(?:[^<])*<\/span>/g);return x==null||x.map(A=>{var z;var O=(z=A.match(/http(?:[^"])*/g))==null?void 0:z[0],T=A.match(/>(?:[^<])*/)[0].slice(1);S=S.replace(`>${T}<`,`><a href="${O}" download="${T}">${T}</a><`)}),S};return g.watch(()=>e.modelValue,y=>{g.nextTick(()=>{a.initOnce||y&&y!=="<p><br></p>"&&b()})}),g.onMounted(()=>{const y=sessionStorage.getItem("language")||localStorage.getItem("language");if(y){const S=y.includes("zh")?"zh-CN":"en";$7(S)}}),g.onBeforeUnmount(()=>{const y=n.value;y!=null&&y.destroy()}),{...g.toRefs(a),editorRef:n,valueHtml:r,mode:"default",defaultHtml:o,toolbarConfig:s,editorConfig:l,handleCreated:f,handleChange:d,handleDestroyed:p,handleFocus:h,handleBlur:m,customAlert:C,customPaste:$,updateContent:b}}}),lbe={class:"base-wang-editor-wrapper",style:{border:"1px solid #ccc"}};function cbe(e,t,n,r,o,i){const a=g.resolveComponent("Toolbar"),s=g.resolveComponent("Editor");return g.openBlock(),g.createElementBlock("div",lbe,[g.createVNode(a,{"default-config":e.toolbarConfig,editor:e.editorRef,mode:e.mode,style:{"border-bottom":"1px solid #ccc"}},null,8,["default-config","editor","mode"]),g.createVNode(s,{"default-config":e.editorConfig,"default-html":e.defaultHtml,mode:e.mode,style:{height:"500px","overflow-y":"hidden"},onCustomAlert:e.customAlert,onOnBlur:e.handleBlur,onOnChange:e.handleChange,onOnCreated:e.handleCreated,onOnDestroyed:e.handleDestroyed,onOnFocus:e.handleFocus},null,8,["default-config","default-html","mode","onCustomAlert","onOnBlur","onOnChange","onOnCreated","onOnDestroyed","onOnFocus"])])}const fbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(ube,[["render",cbe],["__scopeId","data-v-515cc044"]])},Symbol.toStringTag,{value:"Module"})),CSe="",dbe=g.defineComponent({name:"JwtForm",components:{},props:{modelValue:{require:!0,type:[Object,Function],default:()=>{}},config:{require:!0,type:[Object,Function],default:()=>{}},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}},uploadImgUrl:{type:String,default:""},uploadRichTextUrl:{type:String,default:""},responseKey:{type:String,default:"relative_path"}},emits:["submit","reset","update:modelValue","addSuccess","editSuccess","get-detail-success","error"],setup(e,{emit:t}){const n=g.reactive({loading:!1,datePickerRange:[]}),r=g.computed(()=>{var $,b;if(e.config){let w=Ht.copy(e.config)||{};return(($=w==null?void 0:w.formList)==null?void 0:$.length)&&Ht.hasArray(w==null?void 0:w.formList)&&(w.formList=(b=w==null?void 0:w.formList)==null?void 0:b.map(y=>{var S,x,A,O,T,z;return y.formEvents||(y.formEvents={}),(S=y==null?void 0:y.labelAttrs)!=null&&S.label&&(y.labelAttrs.label=(e==null?void 0:e.translateTitle((x=y==null?void 0:y.labelAttrs)==null?void 0:x.label))||((A=y==null?void 0:y.labelAttrs)==null?void 0:A.label)),(O=y==null?void 0:y.formAttrs)!=null&&O.placeholder&&(y.formAttrs.placeholder=(e==null?void 0:e.translateTitle((T=y==null?void 0:y.formAttrs)==null?void 0:T.placeholder))||((z=y==null?void 0:y.formAttrs)==null?void 0:z.placeholder)),y.type==="submit"&&(y.submit&&!y.submit.attrs&&(y.submit.attrs={}),y.submit&&!y.submit.events&&(y.submit.events={}),y.reset&&!y.reset.attrs&&(y.reset.attrs={}),y.reset&&!y.reset.events&&(y.reset.events={}),y.submit&&y.submit.title&&(y.submit.title=(e==null?void 0:e.translateTitle(y.submit.title))||y.submit.title),y.reset&&y.reset.title&&(y.reset.title=(e==null?void 0:e.translateTitle(y.reset.title))||y.reset.title)),y})),w}return{}}),o=g.ref(null),i=g.computed({get:()=>e.modelValue?s(e.modelValue):(r.value.formList.forEach($=>{$.value!==void 0&&(i[$.key]=$.value)}),i),set:$=>{t("update:modelValue",$)}}),a=g.computed(()=>{const $=[];return r.value.formList.forEach(b=>{$.push(b.key)}),$}),s=($={})=>(r.value.formList.forEach(b=>{var z,V,ue;const{key:w,type:y,startKey:S,endKey:x,formAttrs:A}=b,O=(A==null?void 0:A.multiple)||!1,T=(A==null?void 0:A.valueType)||"";$[w]&&y==="inputNumber"?$[w]=+$[w]:O?Ht.isArray($[w])||(T==="number"?$[w]=$[w]?(V=(z=$[w])==null?void 0:z.split(","))==null?void 0:V.map(oe=>+oe):[]:$[w]=$[w]?(ue=$[w])==null?void 0:ue.split(","):[]):y==="datePickerRange"?p([$[S]||"",$[x]||""]):$[w]=$[w]===""||$[w]===void 0?b.value:$[w]}),$),l=async()=>{let $=!0;return await o.value.validate(b=>{$=b}),$},f=async()=>{var b,w,y,S,x,A,O,T;if(!!await l())if(((w=(b=r==null?void 0:r.value)==null?void 0:b.api)==null?void 0:w.add)||((S=(y=r==null?void 0:r.value)==null?void 0:y.api)==null?void 0:S.update)){let z={};((x=r.value)==null?void 0:x.formEditParams)&&Ht.hasObject((A=r.value)==null?void 0:A.formEditParams)&&Object.assign(z,((O=r.value)==null?void 0:O.formEditParams)||{}),(T=a==null?void 0:a.value)!=null&&T.length?a.value.forEach(V=>{V&&(z[V]=i.value[V])}):z=Object.assign({},i.value),r.value.formList.map(V=>{var ue,oe,de;if((ue=V==null?void 0:V.formAttrs)!=null&&ue.multiple)if((de=(oe=V==null?void 0:V.formAttrs)==null?void 0:oe.props)!=null&&de.checkStrictly){const me=[];z[V.key].map(Ee=>{me.push(Ee[Ee.length-1])});const _e=OV(me);z[V.key]=Ht.isArray(_e)?_e.join(","):""}else z[V.key]=Ht.isArray(z[V.key])?z[V.key].join(","):z[V.key]}),n.loading=!0,i.value.id?(z.id=i.value.id,e.request({url:r.value.api.update,method:"post",data:z}).then(V=>{V.id&&(n.loading=!1,i.value.id=V.id),t("editSuccess",V)}).catch(()=>{n.loading=!1,t("error")})):e.request({url:r.value.api.add,method:"post",data:z}).then(V=>{n.loading=!1,t("addSuccess",V)}).catch(()=>{n.loading=!1,t("error")})}else t("submit",e.modelValue)},d=($,b)=>{const{startKey:w,endKey:y}=b,S=b.formAttrs.format||"YYYY-MM-DD HH:mm:ss";b.formAttrs.type&&b.formAttrs.type.includes("range")&&(i.value[w]=$?eu.default($[0]).format(S):"",i.value[y]=$?eu.default($[1]).format(S):"")},p=$=>{const{startVal:b,endVal:w}=$;n.datePickerRange=[b,w]},h=()=>{o.value.resetFields(),t("reset",e.modelValue)},m=($,b,w)=>{var y,S,x,A,O;if($&&$.length)if(((y=w.formAttrs)==null?void 0:y.multiple)||((x=(S=w==null?void 0:w.formAttrs)==null?void 0:S.props)==null?void 0:x.multiple)){let T=[];(O=(A=w==null?void 0:w.formAttrs)==null?void 0:A.props)!=null&&O.checkStrictly?T=$:$.map(z=>{T.push(z[z.length-1])}),i.value[b]=T}else i.value[b]=$[$.length-1];else i.value[b]=""},C=()=>{var $,b,w,y,S,x,A,O;((b=($=r.value)==null?void 0:$.api)==null?void 0:b.detail)&&((y=(w=r.value)==null?void 0:w.api)==null?void 0:y.detailParams)&&((O=(S=r.value)==null?void 0:S.api)==null?void 0:O.detailParams[((A=(x=r.value)==null?void 0:x.api)==null?void 0:A.detailParamsKey)||"id"])&&e.request({url:r.value.api.detail,method:"get",params:r.value.api.detailParams}).then(T=>{let z=s(T);i.value=z,t("get-detail-success",T)})};return g.onBeforeMount(()=>{C()}),g.onMounted(()=>{}),{formRef:o,...g.toRefs(n),formConfig:r,appModel:i,appModelParams:a,formSubmit:f,formReset:h,formValidate:l,handleCascaderChange:m,getDetail:C,datePickerChange:d,setDatePickerRange:p,handleFormListData:s}}});function pbe(e,t,n,r,o,i){var I,L,Y;const a=g.resolveComponent("el-radio-button"),s=g.resolveComponent("el-radio"),l=g.resolveComponent("el-radio-group"),f=g.resolveComponent("el-checkbox-button"),d=g.resolveComponent("el-checkbox"),p=g.resolveComponent("el-checkbox-group"),h=g.resolveComponent("el-input"),m=g.resolveComponent("el-autocomplete"),C=g.resolveComponent("el-input-number"),$=g.resolveComponent("el-option"),b=g.resolveComponent("el-option-group"),w=g.resolveComponent("el-select"),y=g.resolveComponent("jwt-select-server"),S=g.resolveComponent("el-cascader"),x=g.resolveComponent("jwt-cascader-server"),A=g.resolveComponent("el-cascader-panel"),O=g.resolveComponent("el-switch"),T=g.resolveComponent("el-slider"),z=g.resolveComponent("el-time-picker"),V=g.resolveComponent("el-time-select"),ue=g.resolveComponent("el-date-picker"),oe=g.resolveComponent("jwt-upload-image"),de=g.resolveComponent("jwt-tags"),me=g.resolveComponent("el-rate"),_e=g.resolveComponent("jwt-rate-icon"),Ee=g.resolveComponent("el-color-picker"),Be=g.resolveComponent("el-transfer"),Fe=g.resolveComponent("jwt-icon-select"),je=g.resolveComponent("jwt-editor"),Ue=g.resolveComponent("el-button"),Oe=g.resolveComponent("el-form-item"),Je=g.resolveComponent("el-col"),G=g.resolveComponent("el-row"),H=g.resolveComponent("el-form");return(L=(I=e.formConfig)==null?void 0:I.formList)!=null&&L.length?(g.openBlock(),g.createBlock(H,g.mergeProps({key:0},(Y=e.formConfig)==null?void 0:Y.formAttrs,{ref:"formRef",class:"app-form-container",model:e.appModel}),{default:g.withCtx(()=>[g.createVNode(G,{gutter:10},{default:g.withCtx(()=>{var q;return[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList((q=e.formConfig)==null?void 0:q.formList,(B,ce)=>{var ge,Ae;return g.openBlock(),g.createBlock(Je,g.mergeProps({key:ce,class:[(Ae=(ge=e.formConfig)==null?void 0:ge.formAttrs)!=null&&Ae.inline?"el-col-dl":"db"]},B==null?void 0:B.layoutAttrs),{default:g.withCtx(()=>[B.type!=="slot"?(g.openBlock(),g.createBlock(Oe,g.mergeProps({key:0},B.labelAttrs,{key:ce,prop:B.key}),{default:g.withCtx(()=>[B.type==="radio"?(g.openBlock(),g.createBlock(l,g.mergeProps({key:0,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),{default:g.withCtx(()=>[B.isButton?(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:0},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(a,g.mergeProps(j.attrs,{key:ve},g.toHandlers(j.events)),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title),1)]),_:2},1040))),128)):(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:1},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(s,g.mergeProps(j.attrs,{key:ve},g.toHandlers(j.events)),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title),1)]),_:2},1040))),128))]),_:2},1040,["modelValue","onUpdate:modelValue"])):B.type==="checkbox"?(g.openBlock(),g.createBlock(p,{key:1,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},{default:g.withCtx(()=>[B.isButton?(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:0},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(f,g.mergeProps(j.attrs,{key:ve}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title),1)]),_:2},1040))),128)):(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:1},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(d,g.mergeProps(j.attrs,{key:ve,label:j.value}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title||j.label),1)]),_:2},1040,["label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):B.type==="hidden"?(g.openBlock(),g.createBlock(h,g.mergeProps({key:2,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j,type:"hidden"},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="input"?(g.openBlock(),g.createBlock(h,g.mergeProps({key:3,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.prefix?{name:"prefix",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.prefix,{},void 0,!0)]),key:"0"}:void 0,B.formSlot&&B.formSlot.suffix?{name:"suffix",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.suffix,{},void 0,!0)]),key:"1"}:void 0,B.formSlot&&B.formSlot.prepend?{name:"prepend",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.prepend,{},void 0,!0)]),key:"2"}:void 0,B.formSlot&&B.formSlot.append?{name:"append",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.append,{},void 0,!0)]),key:"3"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="autocomplete"?(g.openBlock(),g.createBlock(m,g.mergeProps({key:4,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="inputNumber"?(g.openBlock(),g.createBlock(C,g.mergeProps({key:5,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j,"controls-position":"right"},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="select"?(g.openBlock(),g.createBlock(w,g.mergeProps({key:6,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({default:g.withCtx(()=>[B.formSlot&&B.formSlot.default?g.renderSlot(e.$slots,B.formSlot.default,{key:0},void 0,!0):(g.openBlock(),g.createElementBlock(g.Fragment,{key:1},[B.isGroup?(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:0},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(b,{key:ve,disabled:j.disabled,label:j.label},{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(j.options,(ae,X)=>(g.openBlock(),g.createBlock($,g.mergeProps(ae,{key:X}),null,16))),128))]),_:2},1032,["disabled","label"]))),128)):(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:1},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock($,g.mergeProps(j,{key:ve}),null,16))),128))],64))]),_:2},[B.formSlot&&B.formSlot.prefix?{name:"prefix",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.prefix,{},void 0,!0)]),key:"0"}:void 0,B.formSlot&&B.formSlot.empty?{name:"empty",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.empty,{},void 0,!0)]),key:"1"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="selectServer"?(g.openBlock(),g.createBlock(y,g.mergeProps({key:7,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"fill-url":e.fillUrl,request:e.request},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue","fill-url","request"])):B.type==="cascader"?(g.openBlock(),g.createBlock(S,g.mergeProps({key:8,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{class:"w"},g.toHandlers(B.formEvents),{onChange:j=>e.handleCascaderChange(j,B.key,B)}),g.createSlots({_:2},[B.formSlot&&B.formSlot.default?{name:"default",fn:g.withCtx(({node:j,data:ve})=>[g.renderSlot(e.$slots,B.formSlot.default,{data:ve,node:j},void 0,!0)]),key:"0"}:void 0,B.formSlot&&B.formSlot.empty?{name:"empty",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.empty,{},void 0,!0)]),key:"1"}:void 0]),1040,["modelValue","onUpdate:modelValue","onChange"])):B.type==="cascaderServer"?(g.openBlock(),g.createBlock(x,g.mergeProps({key:9,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"fill-url":e.fillUrl,request:e.request},g.toHandlers(B.formEvents),{onChange:j=>e.handleCascaderChange(j,B.key,B)}),null,16,["modelValue","onUpdate:modelValue","fill-url","request","onChange"])):B.type==="cascaderPanel"?(g.openBlock(),g.createBlock(A,g.mergeProps({key:10,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.default?{name:"default",fn:g.withCtx(({node:j,data:ve})=>[g.renderSlot(e.$slots,B.formSlot.default,{data:ve,node:j},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="switch"?(g.openBlock(),g.createBlock(O,g.mergeProps({key:11,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"active-value":1,"inactive-value":0},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="slider"?(g.openBlock(),g.createBlock(T,g.mergeProps({key:12,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="timePicker"?(g.openBlock(),g.createBlock(z,g.mergeProps({key:13,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"value-format":"HH:mm:ss"},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="timeSelect"?(g.openBlock(),g.createBlock(V,g.mergeProps({key:14,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="datePicker"?(g.openBlock(),g.createBlock(ue,g.mergeProps({key:15,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.rangeSeparator?{name:"range-separator",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.rangeSeparator,{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="datePickerRange"?(g.openBlock(),g.createBlock(ue,g.mergeProps({key:16,modelValue:e.datePickerRange,"onUpdate:modelValue":t[0]||(t[0]=j=>e.datePickerRange=j)},B.formAttrs,g.toHandlers(B.formEvents),{onChange:j=>e.datePickerChange(j,B)}),g.createSlots({_:2},[B.formSlot&&B.formSlot.rangeSeparator?{name:"range-separator",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.rangeSeparator,{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onChange"])):B.type==="uploadImg"?(g.openBlock(),g.createBlock(oe,g.mergeProps({key:17,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"fill-url":e.fillUrl,"response-key":e.responseKey,"upload-url":e.uploadImgUrl,"translate-title":e.translateTitle},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue","fill-url","response-key","upload-url","translate-title"])):B.type==="tag"?(g.openBlock(),g.createBlock(de,g.mergeProps({key:18,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="rate"?(g.openBlock(),g.createBlock(me,g.mergeProps({key:19,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="baseRate"?(g.openBlock(),g.createBlock(_e,g.mergeProps({key:20,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="colorPicker"?(g.openBlock(),g.createBlock(Ee,g.mergeProps({key:21,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="transfer"?(g.openBlock(),g.createBlock(Be,g.mergeProps({key:22,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.default?{name:"default",fn:g.withCtx(({option:j})=>[g.renderSlot(e.$slots,B.formSlot.default,{option:j},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="icon"?(g.openBlock(),g.createBlock(Fe,g.mergeProps({key:23,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="richText"?(g.openBlock(),g.createBlock(je,g.mergeProps({key:24,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"upload-url":e.uploadRichTextUrl},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue","upload-url"])):B.type==="submit"?(g.openBlock(),g.createElementBlock(g.Fragment,{key:25},[B.submit?(g.openBlock(),g.createBlock(Ue,g.mergeProps({key:0},B.submit.attrs,{loading:e.loading},g.toHandlers(B.submit.events),{onClick:e.formSubmit}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(B.submit.title),1)]),_:2},1040,["loading","onClick"])):g.createCommentVNode("",!0),B.reset?(g.openBlock(),g.createBlock(Ue,g.mergeProps({key:1},B.reset.attrs,{loading:e.loading},g.toHandlers(B.reset.events),{onClick:e.formReset}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(B.reset.title),1)]),_:2},1040,["loading","onClick"])):g.createCommentVNode("",!0)],64)):g.createCommentVNode("",!0)]),_:2},1040,["prop"])):g.createCommentVNode("",!0),B.type==="slot"?g.renderSlot(e.$slots,B.name,{key:1,model:e.appModel},void 0,!0):g.createCommentVNode("",!0)]),_:2},1040,["class"])}),128))]}),_:3})]),_:3},16,["model"])):g.createCommentVNode("",!0)}const hbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(dbe,[["render",pbe],["__scopeId","data-v-ab4eb56a"]])},Symbol.toStringTag,{value:"Module"})),gbe=g.defineComponent({name:"JwtHeaderButton",props:{loading:{type:Boolean,default:!1},currentPath:{type:String,default:"/"},menusObj:{type:Object,default:()=>{}},selectionRow:{type:Array,default:()=>[]},actionList:{type:Array,default:()=>[]},fileImportApi:{type:String,default:""}},emits:["header-action"],setup(e,{emit:t}){let n=g.computed(()=>{const a=((e==null?void 0:e.menusObj)||{})[e==null?void 0:e.currentPath];return a&&a.operations.length?a.operations.filter(s=>{let l=s.show_header;if(e.actionList&&e.actionList.length){const{code:f}=s;l=l&&e.actionList.includes(f)}return l}):[]});return{headers:g.computed(()=>({Authorization:sessionStorage.getItem("admin-token")||localStorage.getItem("admin-token")})),headerButtonActions:n,handleHeaderAction:a=>{t("header-action",a)},handleSuccess:a=>{Mn.ElMessage({message:a.msg,type:a.code===0?"success":"error"})}}}}),mbe={key:0,class:"table-header-actions fx"};function vbe(e,t,n,r,o,i){const a=g.resolveComponent("jwt-icon"),s=g.resolveComponent("el-button"),l=g.resolveComponent("el-upload");return e.headerButtonActions.length?(g.openBlock(),g.createElementBlock("div",mbe,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.headerButtonActions,(f,d)=>(g.openBlock(),g.createElementBlock(g.Fragment,{key:d},[f.code.includes("importF")?(g.openBlock(),g.createBlock(l,{key:0,"file-list":e.fileList,"onUpdate:file-list":t[0]||(t[0]=p=>e.fileList=p),action:e.fileImportApi,"before-remove":e.beforeRemove,class:"ml10",headers:e.headers,name:"filedata","on-success":e.handleSuccess,"show-file-list":!1},{default:g.withCtx(()=>[g.createVNode(s,{loading:e.loading,type:"primary"},{default:g.withCtx(()=>[f.icon&&!e.loading?(g.openBlock(),g.createBlock(a,{key:0,icon:f.icon},null,8,["icon"])):g.createCommentVNode("",!0),g.createTextVNode(" "+g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["loading"])]),_:2},1032,["file-list","action","before-remove","headers","on-success"])):(g.openBlock(),g.createBlock(s,{key:1,disabled:(f.code.includes("delete")||f.code.includes("batch"))&&!e.selectionRow.length,loading:e.loading,type:f.code.includes("delete")?"danger":"primary",onClick:p=>e.handleHeaderAction(f)},{default:g.withCtx(()=>[f.icon&&!e.loading?(g.openBlock(),g.createBlock(a,{key:0,icon:f.icon},null,8,["icon"])):g.createCommentVNode("",!0),g.createTextVNode(" "+g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["disabled","loading","type","onClick"]))],64))),128))])):g.createCommentVNode("",!0)}const ybe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(gbe,[["render",vbe]])},Symbol.toStringTag,{value:"Module"})),bbe=g.defineComponent({name:"JwtIcon",props:{icon:{type:String,default:"settings-3-line"},size:{type:[String,Number],default:16}},setup(e){return{iconName:g.computed(()=>`ri-${e.icon}`)}}});function wbe(e,t,n,r,o,i){return g.openBlock(),g.createElementBlock("i",{class:g.normalizeClass(e.iconName),style:g.normalizeStyle({"font-size":e.size+"px"})},null,6)}const $be=Object.freeze(Object.defineProperty({__proto__:null,default:jn(bbe,[["render",wbe]])},Symbol.toStringTag,{value:"Module"})),Cbe={Arrows:{"arrow-left-up":"corner,\u5DE6\u4E0A","arrow-up":"send,\u7BAD\u5934,\u5411\u4E0A,\u53D1\u9001","arrow-right-up":"send,corner,\u53F3\u4E0A,\u53D1\u9001","arrow-right":"forward,\u7BAD\u5934,\u5411\u53F3","arrow-right-down":"corner,\u53F3\u4E0B","arrow-down":"receive,\u7BAD\u5934,\u5411\u4E0B,\u63A5\u6536,\u6536\u6B3E","arrow-left-down":"receive,corner,\u7BAD\u5934,\u5DE6\u4E0B,\u63A5\u6536,\u6536\u6B3E","arrow-left":"backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","corner-right-up":"arrow,\u7BAD\u5934,\u53F3\u4E0A","corner-up-left":"arrow,\u7BAD\u5934,\u4E0A\u5DE6","corner-up-right":"arrow,\u7BAD\u5934,\u4E0A\u53F3","corner-right-down":"arrow,\u7BAD\u5934,\u53F3\u4E0B","corner-down-left":"arrow,\u7BAD\u5934,\u4E0B\u5DE6","corner-left-up":"arrow,\u7BAD\u5934,\u5DE6\u4E0A","corner-left-down":"arrow,\u7BAD\u5934,\u5DE6\u4E0B","corner-down-right":"arrow,\u7BAD\u5934,\u4E0B\u53F3","arrow-up-circle":"\u7BAD\u5934,\u5411\u4E0A","arrow-right-circle":"forward,\u7BAD\u5934,\u5411\u53F3","arrow-down-circle":"\u7BAD\u5934,\u5411\u4E0B,\u4E0B\u8F7D","arrow-left-circle":"backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","arrow-up-s":"chevron,\u7BAD\u5934,\u5411\u4E0A","arrow-right-s":"chevron,forward,\u7BAD\u5934,\u5411\u53F3","arrow-down-s":"chevron,\u7BAD\u5934,\u5411\u4E0B","arrow-left-s":"chevron,backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","skip-up":"arrow,unfold,top,\u7F6E\u9876,\u5C55\u5F00,\u6536\u8D77","skip-right":"arrow,unfold,next,\u8DF3\u8FC7,\u5C55\u5F00,\u6536\u8D77","skip-down":"arrow,unfold,next,\u8DF3\u8FC7,\u5C55\u5F00,\u6536\u8D77","skip-left":"arrow,unfold,bottom,\u5C55\u5F00,\u6536\u8D77","arrow-left-right":"exchange,swap,\u7BAD\u5934,\u5DE6\u53F3,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","arrow-up-down":"exchange,swap,\u7BAD\u5934,\u4E0A\u4E0B,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","arrow-drop-up":"chevron,\u7BAD\u5934,\u5411\u4E0A","arrow-drop-right":"chevron,forward,\u7BAD\u5934,\u5411\u53F3","arrow-drop-down":"chevron,\u7BAD\u5934,\u5411\u4E0B","arrow-drop-left":"chevron,backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","arrow-up-double":"unfold,top,chevron,\u5C55\u5F00,\u6536\u8D77","arrow-right-double":"unfold,chevron,\u5C55\u5F00,\u6536\u8D77","arrow-down-double":"unfold,chevron,\u5C55\u5F00,\u6536\u8D77","arrow-left-double":"unfold,chevron,\u5C55\u5F00,\u6536\u8D77","corner-up-left-double":"arrow,replay-all,\u56DE\u590D\u5168\u90E8","corner-up-right-double":"arrow,forward-all,\u8F6C\u53D1\u5168\u90E8","expand-left":"arrow,slide,pull,unfold","expand-right":"arrow,\u5C55\u5F00,\u6536\u8D77,\u53F3","contract-left":"arrow,slide,pull,fold","contract-right":"arrow,slide,pull,fold,\u5C55\u5F00,\u6536\u8D77,\u53F3","expand-up-down":"arrow,unfold,dropdown,switch,\u5C55\u5F00","expand-left-right":"arrow,unfold,dropdown,switch","contract-up-down":"arrow,fold,\u6536\u8D77","contract-left-right":"arrow,fold,\u6536\u8D77","drag-move-2":"arrow,\u62D6\u62FD,\u79FB\u52A8,\u7BAD\u5934","drag-move":"arrow,\u62D6\u62FD,\u79FB\u52A8,\u7BAD\u5934","arrow-go-back":"undo,\u7BAD\u5934,\u8FD4\u56DE,\u64A4\u9500,\u64A4\u56DE","arrow-go-forward":"redo,\u7BAD\u5934,\u91CD\u505A,\u64A4\u9500,\u64A4\u56DE","arrow-turn-forward":"\u7BAD\u5934,\u6389\u5934","arrow-turn-back":"\u7BAD\u5934,\u6389\u5934"},Buildings:{home:"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-2":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-3":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-4":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-5":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-6":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-7":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-8":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-gear":"house,\u623F\u5B50,\u5DE5\u5382","home-wifi":"smart home,\u623F\u5B50,\u5BB6\u5177,\u667A\u80FD\u5BB6\u5C45","home-smile":"house,smart home,smile,\u623F\u5B50,\u667A\u80FD\u5BB6\u5C45,\u5FAE\u7B11","home-smile-2":"house,smart home,smile,\u623F\u5B50,\u667A\u80FD\u5BB6\u5C45,\u5FAE\u7B11","home-heart":"house,\u5FC3,\u623F\u5B50,\u5BB6,\u4E3B\u9875,\u5B64\u513F\u9662","home-office":"\u5C45\u5BB6\u529E\u516C",building:"city,office,enterprise,\u5EFA\u7B51,\u57CE\u5E02,\u697C,\u529E\u516C\u697C,\u5199\u5B57\u697C,\u4F01\u4E1A","building-2":"city,office,construction,enterprise,\u57CE\u5E02,\u5EFA\u7B51,\u697C,\u4F01\u4E1A","building-3":"factory,plant,enterprise,\u5DE5\u5382,\u5EFA\u7B51,\u697C,\u4F01\u4E1A","building-4":"city,office,enterprise,\u5EFA\u7B51,\u57CE\u5E02,\u697C,\u529E\u516C\u697C,\u5199\u5B57\u697C,\u4F01\u4E1A",hotel:"building,hotel,office,enterprise,tavern,\u5EFA\u7B51,\u9152\u5E97,\u697C,\u529E\u516C\u697C,\u5199\u5B57\u697C,\u4F01\u4E1A",community:"building,hotel,\u793E\u533A,\u5EFA\u7B51,\u9152\u5E97",school:"college,university,\u5B66\u6821,\u5B66\u9662",government:"building,\u653F\u5E9C,\u5EFA\u7B51,\u5927\u4F1A\u5802",bank:"bank,finance,savings,banking,\u94F6\u884C,\u4EA4\u6613\u6240",store:"shop,mall,supermarket,retail,\u5546\u5E97,\u8D85\u5E02,\u5E97\u94FA,\u5546\u5BB6","store-2":"shop,mall,supermarket,retail,\u5546\u5E97,\u8D85\u5E02,\u5E97\u94FA,\u5546\u5BB6","store-3":"shop,mall,supermarket,retail,\u5546\u5E97,\u8D85\u5E02,\u5E97\u94FA,\u5546\u5BB6",hospital:"medical,health,\u533B\u9662","ancient-gate":"historical,genre,scenic,trip,travel,\u65C5\u884C,\u65C5\u6E38,\u57CE\u95E8,\u53E4\u4EE3,\u5386\u53F2,\u666F\u533A","ancient-pavilion":"historical,genre,scenic,trip,travel,\u65C5\u884C,\u65C5\u6E38,\u51C9\u4EAD,\u53E4\u4EE3,\u5386\u53F2,\u666F\u533A"},Business:{mail:"envelope,email,inbox,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u4EF6\u7BB1","mail-open":"envelope,email,inbox,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u4EF6\u7BB1","mail-send":"envelope,email,inbox,zoom,whoosh,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u53D1\u9001,\u53D1\u4EF6\u7BB1","mail-unread":"envelope,email,inbox,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u672A\u8BFB","mail-add":"envelope,email,inbox,add,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u65B0\u589E,\u6DFB\u52A0","mail-check":"envelope,email,inbox,read,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u5DF2\u8BFB","mail-close":"envelope,email,inbox,failed,x,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u5931\u8D25","mail-download":"envelope,email,inbox,download,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u4E0B\u8F7D","mail-forbid":"envelope,email,inbox,privacy,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u7981\u6B62","mail-lock":"envelope,email,inbox,lock,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u52A0\u5BC6","mail-settings":"envelope,email,inbox,settings,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u8BBE\u7F6E","mail-star":"envelope,email,inbox,favorite,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u85CF,\u559C\u6B22","mail-volume":"envelope,email,inbox,promotional email,email campaign,subscription,sound,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u4EF6\u7BB1,\u63A8\u5E7F,\u8BA2\u9605",inbox:"\u6536\u4EF6\u7BB1","inbox-archive":"\u6536\u4EF6\u7BB1,\u5F52\u6863,\u6536\u7EB3","inbox-unarchive":"unzip,unpack,extract,\u6536\u4EF6\u7BB1,\u53D6\u6D88\u5F52\u6863,\u8FD8\u539F,\u89E3\u538B\u7F29",cloud:"weather,\u4E91\u7AEF","cloud-off":"offline-mode,connection-fail,slash,weather,\u4E91\u7AEF,\u65AD\u7F51,\u65E0\u4FE1\u53F7,\u8FDE\u63A5\u5931\u8D25",attachment:"annex,paperclip,\u9644\u4EF6,\u66F2\u522B\u9488",profile:"id,\u6863\u6848,\u8D44\u6599,\u8EAB\u4EFD\u8BC1,\u8BC1\u4EF6",archive:"box,\u6536\u7EB3,\u5F52\u6863,\u5B58\u6863,\u76D2\u5B50,\u7EB8\u7BB1","archive-drawer":"night table,\u6536\u7EB3,\u62BD\u5C49,\u5F52\u6863,\u5B58\u6863,\u5E8A\u5934\u67DC",at:"@,mention,\u63D0\u5230,\u5728",award:"medal,achievement,badge,\u6210\u5C31,\u5956\u724C,\u91D1\u724C,\u52CB\u7AE0",medal:"award,achievement,badge,\u6210\u5C31,\u5956\u724C,\u91D1\u724C,\u52CB\u7AE0","medal-2":"award,achievement,badge,\u6210\u5C31,\u5956\u724C,\u91D1\u724C,\u52CB\u7AE0","bar-chart":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u97F5\u5F8B,\u8282\u594F","bar-chart-horizontal":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u97F5\u5F8B,\u8282\u594F","bar-chart-2":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u6392\u884C,\u8282\u594F","bar-chart-box":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u8282\u594F","bar-chart-grouped":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u5206\u7EC4","bubble-chart":"data,analysis,statistics,circles,\u6C14\u6CE1\u56FE,\u7EDF\u8BA1","pie-chart":"data,analysis,\u997C\u56FE,\u997C\u72B6\u56FE,\u6570\u636E,\u5206\u6790","pie-chart-2":"data,analysis,\u997C\u56FE,\u997C\u72B6\u56FE,\u6570\u636E,\u5206\u6790","pie-chart-box":"data,analysis,\u997C\u56FE,\u997C\u72B6\u56FE,\u6570\u636E,\u5206\u6790","donut-chart":"data,analysis,circle,pie,\u73AF\u5F62\u56FE,\u6570\u636E,\u5206\u6790","line-chart":"data,analysis,stats,\u6298\u7EBF\u56FE,\u6570\u636E,\u5206\u6790",bookmark:"tag,\u4E66\u7B7E,\u6807\u8BB0","bookmark-2":"tag,\u4E66\u7B7E,\u6807\u8BB0","bookmark-3":"tag,\u4E66\u7B7E,\u6807\u8BB0,\u8363\u8A89",briefcase:"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-2":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-3":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-4":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-5":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305",calculator:"\u8BA1\u7B97\u5668,\u8BA1\u7B97\u673A",calendar:"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-2":"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-event":"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-todo":"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-check":"date,plan,schedule,agenda,check-in,punch,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868,\u7B7E\u5230,\u6253\u5361","customer-service":"headset,headphones,earphones,\u5BA2\u670D,\u552E\u540E,\u8033\u673A,\u8033\u9EA6","customer-service-2":"headset,headphones,earphones,smile,\u5BA2\u670D,\u552E\u540E,\u8033\u673A,\u8033\u9EA6",flag:"banner,pin,\u65D7\u5E1C,\u65D7\u5B50,\u56FD\u65D7,\u6807\u8BB0","flag-2":"banner,pin,\u65D7\u5E1C,\u65D7\u5B50,\u56FD\u65D7,\u6807\u8BB0",global:"earth,union,world,language,\u5730\u7403,\u8054\u5408,\u4E16\u754C,\u5168\u7403,\u8BED\u8A00",honour:"honor,glory,\u9526\u65D7,\u8363\u8A89,\u8363\u8000,\u519B\u8854",links:"connection,address,\u8054\u7CFB,\u94FE\u63A5,\u5730\u5740",printer:"\u6253\u5370\u673A","printer-cloud":"network,\u6253\u5370\u673A,\u4E91\u6253\u5370","record-mail":"voice mail,tape,\u5F55\u97F3,\u7559\u8A00,\u8BED\u97F3\u4FE1\u7BB1,\u78C1\u5E26",reply:"forward,\u56DE\u590D\u5168\u90E8,\u56DE\u590D\u6240\u6709","reply-all":"forward,\u56DE\u590D,\u7B54\u590D,\u7559\u8A00,\u8F6C\u53D1","send-plane":"\u53D1\u9001,\u7EB8\u98DE\u673A","send-plane-2":"\u53D1\u9001,\u7EB8\u98DE\u673A",projector:"projection,meeting,\u6295\u5F71\u4EEA,\u4F1A\u8BAE\u5BA4","projector-2":"projection,meeting,\u6295\u5F71\u4EEA,\u4F1A\u8BAE\u5BA4,\u6781\u7C73",slideshow:"presentation,meeting,PPT,keynote,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4","slideshow-2":"presentation,meeting,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4","slideshow-3":"presentation,meeting,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u89C6\u9891\u4F1A\u8BAE,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4","slideshow-4":"presentation,meeting,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u53EF\u89C6\u5BF9\u8BB2,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4",presentation:"teaching,training,\u6F14\u8BB2,\u8001\u5E08,\u57F9\u8BAD",window:"browser,program,web,\u7A97\u53E3,\u6D4F\u89C8\u5668,\u7A0B\u5E8F,\u7F51\u7AD9","window-2":"browser,program,web,\u7A97\u53E3,\u6D4F\u89C8\u5668,\u7A0B\u5E8F,\u7F51\u7AD9",stack:"layers,\u56FE\u5C42,\u53E0\u52A0,\u5806\u6808",service:"heart,handshake,cooperation,client,\u670D\u52A1,\u63E1\u624B,\u5FC3,\u5408\u4F5C",registered:"\u6CE8\u518C,\u5546\u6807",trademark:"\u6CE8\u518C,\u5546\u6807",advertisement:"ad,\u5E7F\u544A,\u63A8\u5E7F",copyleft:"\u8457\u4F50\u6743",copyright:"\u7248\u6743","creative-commons":"\u77E5\u8BC6\u5171\u4EAB","creative-commons-by":"attribution,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u7F72\u540D","creative-commons-nc":"noncommercial,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u975E\u5546\u4E1A\u7528\u9014","creative-commons-nd":"no derivative works,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u7981\u6B62\u6F14\u7ECE","creative-commons-sa":"share alike,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB","creative-commons-zero":"cc0,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB"},Communication:{"chat-1":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-2":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-3":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-4":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA",message:"chat,comment,reply,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","message-2":"chat,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","message-3":"chat,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-check":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u5DF2\u9605","chat-delete":"message,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u6E05\u9664,\u5220\u9664","chat-forward":"message,comment,\u6D88\u606F,\u804A\u5929,\u8F6C\u53D1","chat-upload":"message,comment,\u6D88\u606F,\u804A\u5929,\u4E0A\u4F20","chat-download":"message,comment,\u6D88\u606F,\u4E0B\u8F7D","chat-new":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-settings":"message,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BBE\u7F6E","chat-smile":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-smile-2":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-smile-3":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-heart":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u5FC3,\u70B9\u8D5E,\u6536\u85CF","chat-off":"message,reply,comment,slash,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u7981\u6B62,\u5173\u95ED",feedback:"message,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u53CD\u9988",discuss:"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BA8\u8BBA,\u7FA4\u804A","question-answer":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BA8\u8BBA,\u7FA4\u804A",questionnaire:"message,comment,help,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BA8\u8BBA,\u8C03\u67E5\u95EE\u5377,\u5E2E\u52A9","video-chat":"message,comment,\u6D88\u606F,\u89C6\u9891\u804A\u5929","chat-voice":"message,comment,\u6D88\u606F,\u8BED\u97F3\u6D88\u606F","chat-quote":"message,reply,comment,\u6D88\u606F,\u5F15\u7528\u56DE\u590D","chat-follow-up":"message,reply,comment,\u6D88\u606F,+1,\u8DDF\u5E16","chat-poll":"message,vote,questionnaire,\u6D88\u606F,\u6295\u7968,\u95EE\u5377\u8C03\u67E5","chat-history":"message,\u5386\u53F2\u6D88\u606F,\u6D88\u606F\u8BB0\u5F55","chat-private":"message,\u79C1\u5BC6\u6D88\u606F,\u5BC6\u804A",speak:"voice,\u8BB2\u8BDD,\u58F0\u97F3"},Design:{pencil:"edit,\u94C5\u7B14,\u7F16\u8F91",edit:"pencil,\u94C5\u7B14,\u7F16\u8F91","edit-2":"pencil,\u94C5\u7B14,\u7F16\u8F91","ball-pen":"\u5706\u73E0\u7B14","quill-pen":"\u7FBD\u6BDB\u7B14,\u94A2\u7B14,\u7F16\u8F91","pen-nib":"\u94A2\u7B14,\u7B14\u5C16","ink-bottle":"\u58A8\u6C34\u74F6","mark-pen":"\u9A6C\u514B\u7B14",markup:"\u6807\u8BB0,\u9A6C\u514B","edit-box":"\u7F16\u8F91","edit-circle":"\u7F16\u8F91",sip:"\u5438\u7BA1,\u53D6\u8272\u5668",brush:"\u7B14\u5237,\u753B\u7B14,\u5237\u5B50","brush-2":"\u5237\u5B50","brush-3":"\u5237\u5B50","brush-4":"\u5237\u5B50","paint-brush":"\u586B\u8272,\u586B\u5145,\u5237\u5B50",contrast:"brightness,tonalit,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03","contrast-2":"moon,dark,brightness,tonalit,\u6708\u4EAE,\u591C\u95F4,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03",drop:"water,blur,\u6A21\u7CCA,\u6C34,\u6EF4","blur-off":"water,drop,slash,\u6A21\u7CCA,\u6C34,\u6EF4,\u7981\u6B62,\u5173\u95ED","contrast-drop":"water,brightness,tonalit,\u6C34,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03,\u6EF4","contrast-drop-2":"water,brightness,tonalit,\u6C34,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03,\u6EF4",compasses:"\u5706\u89C4","compasses-2":"\u5706\u89C4",scissors:"\u526A\u5200,\u88C1\u526A","scissors-cut":"\u526A\u5200,\u88C1\u526A","scissors-2":"\u526A\u5200,\u88C1\u526A,\u622A\u5C4F",slice:"knife,\u5207\u56FE,\u5207\u7247,\u5200",eraser:"remove formatting,\u6A61\u76AE,\u64E6\u9664,\u6E05\u9664\u683C\u5F0F",ruler:"\u5C3A\u5B50","ruler-2":"\u5C3A\u5B50","pencil-ruler":"design,\u94C5\u7B14,\u5C3A\u5B50,\u6587\u5177,\u8BBE\u8BA1","pencil-ruler-2":"design,\u94C5\u7B14,\u5C3A\u5B50,\u6587\u5177,\u8BBE\u8BA1","t-box":"\u6587\u5B57,\u5B57\u4F53,\u5B57\u53F7","input-method":"\u8F93\u5165\u6CD5,\u6587\u5B57",artboard:"grid,crop,\u753B\u677F,\u88C1\u5207","artboard-2":"\u753B\u677F",crop:"\u88C1\u5207","crop-2":"\u88C1\u5207",screenshot:"capture,\u5C4F\u5E55\u622A\u56FE,\u622A\u5C4F","screenshot-2":"capture,\u5C4F\u5E55\u622A\u56FE,\u622A\u5C4F",focus:"aim,target,\u7126\u70B9,\u805A\u7126,\u76EE\u6807,\u9776\u5FC3","focus-2":"aim,target,bullseye,\u7126\u70B9,\u805A\u7126,\u76EE\u6807,\u9776\u5FC3","focus-3":"aim,target,bullseye,\u7126\u70B9,\u805A\u7126,\u76EE\u6807,\u9776\u5FC3",paint:"\u586B\u8272,\u586B\u5145,\u6CB9\u6F06\u6876",palette:"\u8C03\u8272\u76D8,\u8272\u677F",pantone:"\u8272\u677F,\u6F58\u901A\u8272,\u8272\u53F7",shape:"border,\u5F62\u72B6,\u63CF\u8FB9,\u8FB9\u6846","shape-2":"border,\u5F62\u72B6,\u63CF\u8FB9,\u8FB9\u6846",magic:"fantasy,magic stick,beautify,wand,\u9B54\u6CD5\u68D2,\u7F8E\u5316,\u5E7B\u60F3,\u9B54\u5E7B",anticlockwise:"rotate,left,counterclockwise,\u5DE6\u7FFB\u8F6C,\u5DE6\u65CB\u8F6C","anticlockwise-2":"rotate,left,counterclockwise,\u5DE6\u7FFB\u8F6C,\u5DE6\u65CB\u8F6C",clockwise:"rotate,right,\u53F3\u7FFB\u8F6C,\u53F3\u65CB\u8F6C","clockwise-2":"rotate,right,\u53F3\u7FFB\u8F6C,\u53F3\u65CB\u8F6C",hammer:"tool,\u9524\u5B50",tools:"settings,screwdriver,configuration,\u5DE5\u5177,\u8BBE\u7F6E","drag-drop":"drag and drop,mouse,\u62D6\u62FD,\u9F20\u6807",table:"\u8868\u683C","table-alt":"\u8868\u683C",layout:"\u5E03\u5C40","layout-2":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-3":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-4":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-5":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-6":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-column":"\u5DE6\u53F3\u5E03\u5C40","layout-row":"\u4E0A\u4E0B\u5E03\u5C40","layout-top":"\u9876\u90E8\u5E03\u5C40,\u9876\u90E8\u5BFC\u822A","layout-right":"\u53F3\u4FA7\u5E03\u5C40,\u53F3\u4FA7\u5BFC\u822A","layout-bottom":"\u5E95\u90E8\u5E03\u5C40,\u5E95\u90E8\u5BFC\u822A","layout-left":"\u5DE6\u4FA7\u5E03\u5C40,\u5DE6\u4FA7\u5BFC\u822A","layout-top-2":"\u9876\u90E8\u5E03\u5C40,\u9876\u90E8\u5BFC\u822A","layout-right-2":"\u53F3\u4FA7\u5E03\u5C40,\u53F3\u4FA7\u5BFC\u822A","layout-bottom-2":"\u5E95\u90E8\u5E03\u5C40,\u5E95\u90E8\u5BFC\u822A","layout-left-2":"\u5DE6\u4FA7\u5E03\u5C40,\u5DE6\u4FA7\u5BFC\u822A","layout-grid":"\u5361\u7247\u5E03\u5C40,\u7F51\u683C","layout-masonry":"collage,\u7011\u5E03\u6D41\u5E03\u5C40,\u62FC\u8D34\u753B",collage:"\u7011\u5E03\u6D41\u5E03\u5C40,\u62FC\u8D34\u753B",grid:"table,\u7F51\u683C,\u8868\u683C"},Development:{bug:"\u866B\u5B50","bug-2":"\u866B\u5B50",code:"\u4EE3\u7801,\u7F16\u7A0B","code-s":"\u4EE3\u7801,\u7F16\u7A0B","code-s-slash":"\u4EE3\u7801,\u7F16\u7A0B","code-box":"\u4EE3\u7801,\u7F16\u7A0B","terminal-box":"code,command line,prompt,\u7EC8\u7AEF,\u4EE3\u7801,\u547D\u4EE4\u884C",terminal:"code,command line,prompt,\u7EC8\u7AEF,\u4EE3\u7801,\u547D\u4EE4\u884C","terminal-window":"code,command line,browser,app,ui,\u7EC8\u7AEF,\u4EE3\u7801,\u547D\u4EE4\u884C",parentheses:"code,math,\u5C0F\u62EC\u53F7",brackets:"code,math,\u4E2D\u62EC\u53F7",braces:"code,math,\u5927\u62EC\u53F7,\u82B1\u62EC\u53F7",command:"apple key,place of interest,modified key,\u82B1\u952E,\u82F9\u679C\u952E",cursor:"mouse,pointer,arrow,\u6307\u9488,\u9F20\u6807","git-commit":"node,onewheel,circle line,dot line,history point,\u63D0\u4EA4","git-pull-request":"\u5408\u5E76\u7533\u8BF7","git-merge":"combine,unite,branch,split,fork,diverge,\u5408\u5E76","git-branch":"combine,unite,split,fork,diverge,\u5206\u652F","git-repository":"book,bookmark,\u4ED3\u5E93","git-repository-commits":"book,upload,\u4ED3\u5E93,\u63D0\u4EA4","git-repository-private":"lock,secure,\u79C1\u5BC6\u4ED3\u5E93,\u79C1\u4EBA\u4ED3\u5E93",html5:"html,h5,web",css3:"css,web,styles",javascript:"js,\u811A\u672C"},Device:{tv:"television,antenna,rabbet ears,\u7535\u89C6","tv-2":"monitor,display,screen,television,\u7535\u89C6,\u663E\u793A\u5668",computer:"pc,monitor,display,screen,\u7535\u8111,\u663E\u793A\u5668",mac:"monitor,imac,display,computer,screen,\u663E\u793A\u5668",macbook:"laptop,computer,\u7B14\u8BB0\u672C",cellphone:"\u624B\u673A,\u7535\u8BDD",smartphone:"mobile,\u624B\u673A",tablet:"\u5E73\u677F\u7535\u8111",device:"\u8BBE\u5907",phone:"\u7535\u8BDD",database:"storage,resource,bars,progress,\u6570\u636E\u5E93,\u5B58\u50A8","database-2":"storage,discs,silo,platter,\u6570\u636E\u5E93,\u5B58\u50A8",server:"\u670D\u52A1\u5668","hard-drive":"disc,storage,\u786C\u76D8,\u5B58\u50A8","hard-drive-2":"disc,server,storage,\u786C\u76D8,\u670D\u52A1\u5668,\u5B58\u50A8",install:"\u5B89\u88C5",uninstall:"\u5378\u8F7D",save:"floppy,\u4FDD\u5B58,\u8F6F\u76D8","save-2":"floppy,\u4FDD\u5B58,\u8F6F\u76D8","save-3":"floppy,\u4FDD\u5B58,\u8F6F\u76D8","sd-card":"\u5185\u5B58\u5361","sd-card-mini":"\u5185\u5B58\u5361","sim-card":"\u7535\u8BDD\u5361","sim-card-2":"\u7535\u8BDD\u5361","dual-sim-1":"sim card,\u7535\u8BDD\u5361,\u5361\u69FD,\u53CC\u5361\u53CC\u5F85","dual-sim-2":"sim card,\u7535\u8BDD\u5361,\u5361\u69FD,\u53CC\u5361\u53CC\u5F85","u-disk":"U\u76D8,\u4F18\u76D8",battery:"\u7535\u6C60","battery-charge":"\u7535\u6C60,\u5145\u7535","battery-low":"\u7535\u6C60,\u4F4E\u7535\u91CF","battery-2":"\u7535\u6C60","battery-2-charge":"\u7535\u6C60,\u5145\u7535","battery-saver":"\u7535\u6C60,\u7701\u7535\u6A21\u5F0F","battery-share":"\u7535\u6C60\u5171\u4EAB,\u5171\u4EAB\u7535\u91CF",cast:"mirroring,\u6295\u5C4F,\u65E0\u7EBF,\u5E7F\u64AD",airplay:"mirroring,\u6295\u5C4F,\u65E0\u7EBF",cpu:"\u4E2D\u592E\u5904\u7406\u5668",gradienter:"\u6C34\u5E73\u4EEA",keyboard:"input,\u952E\u76D8,\u8F93\u5165","keyboard-box":"input,\u952E\u76D8,\u8F93\u5165",mouse:"\u9F20\u6807",sensor:"capacitor,\u4F20\u611F\u5668,\u7535\u5BB9\u5668",router:"wifi,signal tower,radio,station,\u8DEF\u7531\u5668,\u4FE1\u53F7\u5854,\u5E7F\u64AD,\u57FA\u7AD9,\u6D41\u91CF",radar:"satellite receiver,\u96F7\u8FBE,\u536B\u661F\u63A5\u6536\u5668,\u9505",gamepad:"consoles,controller,\u6E38\u620F\u624B\u67C4","remote-control":"controller,\u9065\u63A7\u5668","remote-control-2":"controller,\u9065\u63A7\u5668","device-recover":"\u6062\u590D\u51FA\u5382\u8BBE\u7F6E",hotspot:"\u624B\u673A\u70ED\u70B9","phone-find":"\u627E\u56DE\u624B\u673A","phone-lock":"\u9501\u5B9A\u624B\u673A","rotate-lock":"\u9501\u5B9A\u65CB\u8F6C\u5C4F\u5E55",restart:"reload,refresh,\u91CD\u542F","shut-down":"power off,\u5173\u673A",fingerprint:"\u6307\u7EB9","fingerprint-2":"\u6307\u7EB9",barcode:"scan,\u626B\u7801,\u6761\u5F62\u7801,\u6761\u7801","barcode-box":"scan,\u626B\u7801,\u6761\u5F62\u7801,\u6761\u7801","qr-code":"\u4E8C\u7EF4\u7801","qr-scan":"\u4E8C\u7EF4\u7801,\u626B\u63CF","qr-scan-2":"\u4E8C\u7EF4\u7801,\u626B\u63CF",scan:"\u626B\u63CF","scan-2":"\u626B\u63CF",rss:"feed,subscribe,\u8BA2\u9605",gps:"signal,\u5B9A\u4F4D,\u4FE1\u53F7","base-station":"wifi,signal tower,router,cast,\u57FA\u7AD9,\u4FE1\u53F7\u5854,\u8DEF\u7531\u5668,\u5E7F\u64AD,\u6D41\u91CF",bluetooth:"wireless,\u84DD\u7259,\u65E0\u7EBF","bluetooth-connect":"wireless,\u84DD\u7259,\u8FDE\u63A5,\u65E0\u7EBF",wifi:"\u65E0\u7EBF\u7F51","wifi-off":"slash,offline,connection-fail,\u65E0\u7EBF\u7F51,\u5173\u95ED,\u65AD\u7F51,\u94FE\u63A5\u5931\u8D25","signal-wifi":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-1":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-2":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-3":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-error":"cellular,offline,connection-fail,\u65E0\u7EBF\u7F51,\u65AD\u7F51,\u94FE\u63A5\u5931\u8D25,\u65E0\u4FE1\u53F7","signal-wifi-off":"cellular,slash,offline,connection-fail,\u65E0\u7EBF\u7F51,\u5173\u95ED,\u65AD\u7F51,\u94FE\u63A5\u5931\u8D25","wireless-charging":"power,flash,\u65E0\u7EBF\u5145\u7535,\u95EA\u5145","dashboard-2":"\u4EEA\u8868\u76D8","dashboard-3":"\u4EEA\u8868\u76D8",usb:"\u4F18\u76D8"},Document:{file:"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-2":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-3":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-4":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","sticky-note":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA,\u4FBF\u7B7E\u7EB8,\u4FBF\u5229\u8D34","sticky-note-2":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA,\u4FBF\u7B7E\u7EB8,\u4FBF\u5229\u8D34","file-edit":"\u6587\u4EF6,\u6587\u6863,\u7F16\u8F91",draft:"\u8349\u7A3F\u7BB1,\u6587\u4EF6,\u6587\u6863,\u7F16\u8F91","file-paper":"\u6587\u4EF6,\u6587\u6863,\u7EB8,\u8C31","file-paper-2":"\u6587\u4EF6,\u6587\u6863,\u7EB8,\u8C31","file-text":"\u6587\u4EF6,\u6587\u6863,\u6587\u672C","file-list":"\u6E05\u5355,\u5217\u8868","file-list-2":"\u6E05\u5355,\u5217\u8868","file-list-3":"newspaper,\u6E05\u5355,\u5217\u8868,\u62A5\u7EB8",bill:"\u8D26\u5355","file-copy":"duplicate,clone,\u590D\u5236,\u514B\u9686","file-copy-2":"duplicate,clone,\u590D\u5236,\u514B\u9686",clipboard:"copy,\u590D\u5236,\u526A\u5207\u677F",survey:"research,questionnaire,clipboard,checkboxes,form,census,\u8C03\u67E5,\u95EE\u5377,\u8C03\u7814",article:"newspaper,document,publisher,print,page,word,file,publication,\u6587\u7AE0,\u62A5\u7EB8",newspaper:"\u62A5\u7EB8","file-zip":"7z,rar,\u538B\u7F29\u5305","file-mark":"\u6587\u4EF6,\u6587\u6863,\u6807\u8BB0",task:"todo,\u4EFB\u52A1,\u5F85\u529E",todo:"\u5F85\u529E",book:"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50","book-mark":"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50,\u4E66\u7B7E","book-2":"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50","book-3":"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50","book-open":"read,booklet,magazine,\u4E66,\u9605\u8BFB,\u5C0F\u518C\u5B50,\u6742\u5FD7","book-read":"booklet,magazine,\u4E66,\u9605\u8BFB,\u5C0F\u518C\u5B50,\u6742\u5FD7","contacts-book":"\u901A\u8BAF\u5F55,\u8054\u7CFB\u4EBA","contacts-book-2":"\u901A\u8BAF\u5F55,\u8054\u7CFB\u4EBA","contacts-book-upload":"upload,\u901A\u8BAF\u5F55,\u8054\u7CFB\u4EBA,\u4E0A\u4F20",booklet:"notebook,\u624B\u518C,\u7B14\u8BB0\u672C,\u5C0F\u518C\u5B50","file-code":"config,\u6587\u4EF6,\u6587\u6863,\u4EE3\u7801,\u811A\u672C,\u914D\u7F6E\u6587\u4EF6","file-pdf":"\u6587\u4EF6,\u6587\u6863","file-word":"\u6587\u6863","file-ppt":"\u6587\u4EF6,\u6587\u6863","file-excel":"\u6587\u6863,\u8868\u5355","file-word-2":"\u6587\u6863","file-ppt-2":"\u6587\u4EF6,\u6587\u6863","file-excel-2":"\u6587\u6863,\u8868\u5355","file-hwp":"\u6587\u4EF6,\u6587\u6863,hangul word processor",keynote:"\u6F14\u793A\u6587\u7A3F,\u5E7B\u706F\u7247,\u8BB2\u6F14",numbers:"\u8868\u683C",pages:"website,browser,ui,blocks,prototype,\u6587\u7A3F","file-search":"\u6587\u4EF6,\u6587\u6863,\u641C\u7D22","file-add":"page,document,new,plus,add,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-reduce":"page,document,subtract,delete,\u6587\u4EF6,\u6587\u6863,\u51CF","file-settings":"page,document,cog,gear,\u6587\u4EF6,\u6587\u6863,\u8BBE\u7F6E","file-upload":"page,document,\u6587\u4EF6,\u6587\u6863,\u4E0A\u4F20","file-transfer":"page,document,\u6587\u4EF6,\u6587\u6863,\u4F20\u8F93","file-download":"page,document,\u6587\u4EF6,\u6587\u6863,\u4E0B\u8F7D","file-lock":"page,document,\u6587\u4EF6,\u6587\u6863,\u9501","file-chart":"page,document,report,\u6587\u4EF6,\u6587\u6863,\u67F1\u72B6\u56FE,\u62A5\u8868","file-chart-2":"report,\u6587\u4EF6,\u6587\u6863,\u997C\u56FE,\u62A5\u8868","file-music":"\u6587\u4EF6,\u6587\u6863,\u97F3\u4E50","file-gif":"\u6587\u4EF6,\u6587\u6863,\u52A8\u56FE","file-forbid":"\u6587\u4EF6,\u6587\u6863,\u7981\u7528","file-info":"\u6587\u4EF6,\u6587\u6863,\u4FE1\u606F","file-warning":"page,document,paper,!,alert,important,exclamation,\u6587\u4EF6,\u6587\u6863,\u8B66\u544A,\u63D0\u9192","file-unknow":"\u6587\u4EF6,\u6587\u6863,\u672A\u77E5,\u95EE\u53F7","file-user":"\u6587\u4EF6,\u6587\u6863,\u7528\u6237","file-shield":"protected,secured,\u6587\u4EF6,\u6587\u6863,\u76FE\u724C,\u4FDD\u62A4,\u5B89\u5168","file-shield-2":"protected,secured,\u6587\u4EF6,\u6587\u6863,\u76FE\u724C,\u4FDD\u62A4,\u5B89\u5168","file-damage":"breakdown,broken,corrupt,\u6587\u4EF6,\u6587\u6863,\u635F\u574F,\u7834\u635F,\u7834\u88C2","file-history":"record,\u6587\u4EF6,\u6587\u6863,\u8BB0\u5F55,\u5386\u53F2","file-shred":"shredder,shred,destroy,cut,\u6587\u6863,\u9500\u6BC1,\u788E\u7EB8\u673A,\u7834\u88C2,\u7C89\u788E","file-cloud":"network,\u6587\u4EF6,\u6587\u6863,\u4E91",folder:"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-2":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-3":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-4":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-5":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863",folders:"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6279\u91CF","folder-add":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6DFB\u52A0","folder-reduce":"directory,file,remove,subtract,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u51CF","folder-settings":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u8BBE\u7F6E","folder-upload":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4E0A\u4F20","folder-transfer":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4F20\u8F93","folder-download":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4E0B\u8F7D","folder-lock":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u9501","folder-chart":"report,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u67F1\u72B6\u56FE,\u62A5\u8868","folder-chart-2":"report,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u997C\u56FE,\u62A5\u8868","folder-music":"directory,file,audio,sound,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u97F3\u4E50","folder-forbid":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u7981\u7528","folder-info":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4FE1\u606F","folder-warning":"!,alert,important,exclamation,alert,directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u8B66\u544A,\u63D0\u9192","folder-unknow":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u672A\u77E5","folder-user":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u7528\u6237","folder-shield":"directory,file,protected,secured,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4FDD\u62A4,\u76FE\u724C,\u5B89\u5168","folder-shield-2":"directory,file,protected,secured,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4FDD\u62A4,\u76FE\u724C,\u5B89\u5168","folder-shared":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u5206\u4EAB","folder-received":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u63A5\u6536","folder-open":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6253\u5F00","folder-keyhole":"directory,encryption,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6253\u5F00,\u52A0\u5BC6\u6587\u6863","folder-zip":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6253\u5F00,\u538B\u7F29","folder-history":"directory,file,record,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u8BB0\u5F55,\u5386\u53F2",markdown:"arrow,\u7BAD\u5934,\u4E0B"},Editor:{bold:"\u52A0\u7C97",italic:"\u659C\u4F53",heading:"\u6807\u9898",text:"\u5B57\u4F53","font-color":"\u6587\u5B57\u8272",overline:"\u4E0A\u5212\u7EBF","font-size":"\u5B57\u53F7,\u5B57\u4F53\u5927\u5C0F","font-size-2":"\u5B57\u53F7,\u5B57\u4F53\u5927\u5C0F",underline:"\u4E0B\u5212\u7EBF",emphasis:"\u7740\u91CD\u53F7","emphasis-cn":"\u7740\u91CD\u53F7",strikethrough:"remove formatting,del,\u5220\u9664\u7EBF","strikethrough-2":"remove formatting,del,\u5220\u9664\u7EBF","format-clear":"remove formatting,\u6E05\u9664\u683C\u5F0F","align-left":"ragged right,\u5DE6\u5BF9\u9F50","align-center":"\u5C45\u4E2D\u5BF9\u9F50","align-right":"ragged left,\u53F3\u5BF9\u9F50","align-justify":"four,lines,ruled,left-right,full width,\u6392\u5217\u5BF9\u9F50","align-top":"two arrows up,double-up,start,\u9876\u90E8\u5BF9\u9F50","align-vertically":"centered,middle,balance,\u5782\u76F4\u5BF9\u9F50","align-bottom":"two arrows down,double-down,end,\u5E95\u90E8\u5BF9\u9F50","list-check":"check list,\u6E05\u5355\u5217\u8868","list-check-2":"check list,\u6E05\u5355\u5217\u8868","list-ordered":"number list,\u6709\u5E8F\u5217\u8868","list-unordered":"bullet list,\u65E0\u5E8F\u5217\u8868","indent-decrease":"indent more,quote,\u7F29\u8FDB","indent-increase":"indent less,quote,\u7F29\u8FDB","line-height":"leading,\u884C\u9AD8","text-spacing":"letter spacing,character spacing,kerning,tracking,\u5B57\u95F4\u8DDD","text-wrap":"return,\u6587\u672C\u6362\u884C","attachment-2":"annex,paperclip,\u9644\u4EF6,\u66F2\u522B\u9488",link:"connection,address,\u8054\u7CFB,\u94FE\u63A5,\u5730\u5740","link-unlink":"connection,remove address,\u53BB\u9664\u94FE\u63A5","link-m":"connection,address,\u8054\u7CFB,\u94FE\u63A5,\u5730\u5740","link-unlink-m":"connection,remove address,\u53BB\u9664\u94FE\u63A5",separator:"\u5206\u5272\u7EBF",space:"\u7A7A\u683C","page-separator":"insert,\u5206\u9875\u7B26,\u63D2\u5165","code-view":"\u4EE3\u7801\u89C6\u56FE","double-quotes-l":"left,quotaion marks,\u53CC\u5F15\u53F7","double-quotes-r":"right,quotaion marks,\u53CC\u5F15\u53F7","single-quotes-l":"left,quotaion marks,\u5355\u5F15\u53F7","single-quotes-r":"right,quotaion marks,\u5355\u5F15\u53F7","table-2":"\u8868\u683C",subscript:"\u89D2\u6807,\u4E0B\u6807,\u811A\u6CE8","subscript-2":"\u89D2\u6807,\u4E0B\u6807,\u811A\u6CE8",superscript:"\u89D2\u6807,\u4E0A\u6807","superscript-2":"\u89D2\u6807,\u4E0A\u6807",paragraph:"\xB6,pilcrow,\u6BB5\u843D","text-direction-l":"\u6587\u672C\u5DE6\u5BF9\u9F50","text-direction-r":"\u6587\u672C\u5DE6\u5BF9\u9F50",functions:"\u03A3,sum,sigma,\u529F\u80FD",omega:"\u03A9,horseshoe,\u7279\u6B8A\u7B26\u53F7",hashtag:"#,pound,number,\u4E95\u53F7",asterisk:"*,all,everything,wildcard,\u661F\u53F7","question-mark":"?,\u95EE\u53F7",translate:"translator,\u7FFB\u8BD1","translate-2":"translator,\u7FFB\u8BD1","a-b":"a/b testing,ab testing,split test,either-or,ab\u6D4B\u8BD5","english-input":"\u82F1\u6587\u8F93\u5165\u6CD5","pinyin-input":"\u62FC\u97F3\u8F93\u5165\u6CD5","wubi-input":"\u4E94\u7B14\u8F93\u5165\u6CD5","input-cursor-move":"\u79FB\u52A8\u8F93\u5165\u5149\u6807","number-1":"1,\u4E00,\u6570\u5B57","number-2":"2,\u4E8C,\u6570\u5B57","number-3":"3,\u4E09,\u6570\u5B57","number-4":"4,\u56DB,\u6570\u5B57","number-5":"5,\u4E94,\u6570\u5B57","number-6":"6,\u516D,\u6570\u5B57","number-7":"7,\u4E03,\u6570\u5B57","number-8":"8,\u516B,\u6570\u5B57","number-9":"9,\u4E5D,\u6570\u5B57","number-0":"0,\u96F6,\u6570\u5B57","sort-asc":"ranking,ordering,sorting,ascending,descending,\u5347\u5E8F\u6392\u5217,\u6392\u5E8F","sort-desc":"ranking,ordering,\u964D\u5E8F\u6392\u5217,\u6392\u5E8F","bring-forward":"arrange,\u5C42\u7EA7,\u5411\u4E0A\u4E00\u5C42","send-backward":"arrange,\u5C42\u7EA7,\u5411\u4E0B\u4E00\u5C42","bring-to-front":"arrange,\u5C42\u7EA7,\u79FB\u5230\u6700\u524D\u9762","send-to-back":"arrange,\u5C42\u7EA7,\u79FB\u5230\u6700\u540E\u9762","h-1":"heading,\u4E00\u7EA7\u6807\u9898","h-2":"heading,\u4E00\u7EA7\u6807\u9898","h-3":"heading,\u4E00\u7EA7\u6807\u9898","h-4":"heading,\u4E00\u7EA7\u6807\u9898","h-5":"heading,\u4E00\u7EA7\u6807\u9898","h-6":"heading,\u4E00\u7EA7\u6807\u9898","insert-column-left":"\u6DFB\u52A0\u5217,\u5DE6\u4FA7","insert-column-right":"\u6DFB\u52A0\u5217,\u53F3\u4FA7","insert-row-top":"\u6DFB\u52A0\u884C,\u9876\u90E8","insert-row-bottom":"\u6DFB\u52A0\u884C,\u5E95\u90E8","delete-column":"\u5220\u9664\u5217,\u5E95\u90E8","delete-row":"\u6DFB\u52A0\u884C,\u5E95\u90E8","merge-cells-horizontal":"\u5408\u5E76\u5355\u5143\u683C","merge-cells-vertical":"\u5408\u5E76\u5355\u5143\u683C","split-cells-horizontal":"\u62C6\u5206\u5355\u5143\u683C","split-cells-vertical":"\u62C6\u5206\u5355\u5143\u683C","flow-chart":"\u6D41\u7A0B\u56FE","mind-map":"mindmap,\u8111\u56FE,\u601D\u7EF4\u5BFC\u56FE","node-tree":"\u8282\u70B9,\u5C42\u7EA7\u5173\u7CFB\u56FE","organization-chart":"\u7EC4\u7EC7\u67B6\u6784\u56FE,\u5C40\u57DF\u7F51","rounded-corner":"\u5706\u89D2",sketching:"signature,\u624B\u5199,\u624B\u7ED8,\u7B7E\u540D"},Finance:{wallet:"pocketbook,\u94B1\u5305,\u5361\u5305","wallet-2":"money clip,\u94B1\u5305,\u5361\u5305","wallet-3":"money clip,\u94B1\u5305,\u5361\u5305","bank-card":"credit,purchase,payment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361,\u8D2D\u4E70,\u6D88\u8D39,\u652F\u4ED8","bank-card-2":"credit,purchase,payment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361,\u8D2D\u4E70,\u6D88\u8D39,\u652F\u4ED8","secure-payment":"credit,purchase,payment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361,\u8D2D\u4E70,\u6D88\u8D39,\u652F\u4ED8,\u5B89\u5168",refund:"credit card,repayment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361\u8FD8\u6B3E","refund-2":"credit card,repayment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361\u8FD8\u6B3E",safe:"vault,secure,\u4FDD\u9669\u67DC,\u4FDD\u9669\u7BB1","safe-2":"vault,insecure,unlocked,\u4FDD\u9669\u67DC,\u4FDD\u9669\u7BB1","price-tag":"label,\u6807\u7B7E,\u4EF7\u7B7E","price-tag-2":"label,\u6807\u7B7E,\u4EF7\u7B7E","price-tag-3":"label,\u6807\u7B7E,\u4EF7\u7B7E",ticket:"coupon,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","ticket-2":"coupon,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238",coupon:"ticket,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-2":"ticket,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-3":"ticket,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-4":"\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-5":"\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","shopping-bag":"purse,\u8D2D\u7269\u888B,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-bag-2":"\u8D2D\u7269\u888B,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-bag-3":"\u8D2D\u7269\u888B,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-basket":"\u8D2D\u7269\u7BEE,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-basket-2":"\u8D2D\u7269\u7BEE,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-cart":"\u8D2D\u7269\u8F66,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-cart-2":"\u8D2D\u7269\u8F66,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE",vip:"\u4F1A\u5458","vip-crown":"king,queen,\u7687\u51A0,\u4F1A\u5458,\u56FD\u738B,\u5973\u738B,\u738B\u540E","vip-crown-2":"king,queen,\u7687\u51A0,\u4F1A\u5458,\u56FD\u738B,\u5973\u738B,\u738B\u540E","vip-diamond":"\u94BB\u77F3,\u4F1A\u5458",trophy:"\u5956\u54C1,\u5956\u676F,\u91D1\u676F",exchange:"swap,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","exchange-box":"swap,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362",swap:"exchange,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","swap-box":"exchange,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","exchange-dollar":"swap,transfer,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362,\u7F8E\u5143,\u8F6C\u8D26","exchange-cny":"swap,transfer,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362,\u4EBA\u6C11\u5E01,\u8F6C\u8D26","exchange-funds":"swap,transfer,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362,\u57FA\u91D1,\u80A1\u7968,\u8F6C\u8D26","increase-decrease":"\u8BA1\u7B97\u5668",percent:"\u767E\u5206\u4E4B,\u767E\u5206\u6BD4","copper-coin":"currency,payment,\u94DC\u5E01,\u786C\u5E01,\u8D27\u5E01,\u94B1,\u652F\u4ED8","copper-diamond":"currency,coins,\u91D1\u5E01,\u94BB\u77F3,\u8D27\u5E01,\u94B1,\u652F\u4ED8","money-cny-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u4EBA\u6C11\u5E01","money-cny-circle":"currency,coins,\u91D1\u5E01,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u4EBA\u6C11\u5E01","money-dollar-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u7F8E\u5143","money-dollar-circle":"currency,coins,\u91D1\u5E01,payment,cent,penny,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u7F8E\u5143,\u7F8E\u5206,\u4FBF\u58EB","money-euro-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u6B27\u5143","money-euro-circle":"currency,coins,\u91D1\u5E01,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u6B27\u5143","money-pound-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u82F1\u9551","money-pound-circle":"currency,coins,\u91D1\u5E01,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u82F1\u9551","bit-coin":"currency,payment,\u8D27\u5E01,\u94B1,\u6BD4\u7279\u5E01",coin:"\u91D1\u5E01,\u786C\u5E01",cash:"\u73B0\u91D1,\u949E\u7968",coins:"\u91D1\u5E01,\u786C\u5E01",currency:"cash,payment,\u8D27\u5E01,\u94B1",funds:"foundation,stock,\u57FA\u91D1,\u80A1\u7968","funds-box":"foundation,stock,\u57FA\u91D1,\u80A1\u7968","red-packet":"\u7EA2\u5305","water-flash":"\u6C34\u7535\u8D39",stock:"\u80A1\u7968",auction:"hammer,gavel,\u62CD\u5356,\u9524\u5B50",gift:"present,\u793C\u7269","gift-2":"present,\u793C\u7269","hand-coin":"donate,business,\u6350\u8D60","hand-heart":"help,donate,volunteer,welfare,\u5E2E\u52A9,\u7231\u5FC3,\u6350\u8D60,\u5FD7\u613F\u8005,\u516C\u76CA","24-hours":"last,24\u5C0F\u65F6\u8425\u4E1A",nft:"token",p2p:"trade,\u70B9\u5BF9\u70B9,\u4EA4\u6613","token-swap":"\u4EE3\u5E01,\u5151\u6362"},"Health & Medical":{heart:"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF","heart-2":"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF","heart-3":"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF","heart-add":"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF",dislike:"like,love,remove favorite,\u5FC3,\u4E0D\u559C\u6B22,\u53D6\u6D88\u6536\u85CF",hearts:"romance,\u7231\u60C5,\u6D6A\u6F2B,\u5FC3","heart-pulse":"heart rate,\u8109\u640F,\u5FC3\u7387",pulse:"wave,heart rate,\u8109\u640F,\u5FC3\u7387,\u6CE2",empathize:"care,heart,\u540C\u7406\u5FC3,\u5173\u7231,\u5FC3",nurse:"doctors,\u533B\u751F,\u62A4\u58EB",dossier:"\u75C5\u4F8B","health-book":"\u5065\u5EB7\u624B\u518C,\u533B\u7597\u624B\u518C","first-aid-kit":"case,\u6025\u6551\u7BB1",capsule:"medicine, \u80F6\u56CA,\u836F","medicine-bottle":"\u836F\u74F6",flask:"testing,experimental,experiment,\u70E7\u74F6,\u5B9E\u9A8C,\u8BD5\u9A8C","test-tube":"testing,experimental,experiment,\u8BD5\u7BA1,\u5B9E\u9A8C,\u8BD5\u9A8C",microscope:"testing,experimental,experiment,\u663E\u5FAE\u955C,\u5B9E\u9A8C,\u8BD5\u9A8C","hand-sanitizer":"alcohol,\u9152\u7CBE\u6D88\u6BD2\u6D17\u624B\u6DB2","mental-health":"\u5FC3\u7406\u5065\u5EB7",psychotherapy:"\u5FC3\u7406\u6CBB\u7597",stethoscope:"\u542C\u8BCA\u5668",syringe:"\u6CE8\u5C04\u5668",thermometer:"\u4F53\u6E29\u8BA1","infrared-thermometer":"\u7EA2\u5916\u7EBF\u4F53\u6E29\u8BA1,\u4F53\u6E29\u67AA","surgical-mask":"\u5916\u79D1\u533B\u7528\u53E3\u7F69",virus:"\u75C5\u6BD2",lungs:"\u80BA\u90E8","rest-time":"close,\u4F11\u606F\u65F6\u95F4,\u6253\u70CA",zzz:"\u7761\u89C9",brain:"think,\u5927\u8111,\u601D\u8003"},Logos:{alipay:"zhifubao,\u652F\u4ED8\u5B9D",amazon:"\u4E9A\u9A6C\u900A",android:"applications,\u5B89\u5353,\u5E94\u7528",angularjs:"angular,programing framework","app-store":"applications,\u82F9\u679C\u5E94\u7528\u5546\u5E97",apple:"\u82F9\u679C",baidu:"du,claw,\u767E\u5EA6,\u722A",bard:"google,ai,magic,star,shining,sparkling,twinkle,\u4EBA\u5DE5\u667A\u80FD,\u9B54\u6CD5,\u661F\u661F,\u95EA\u70C1",behance:"behance",bilibili:"\u54D4\u54E9\u54D4\u54E9",bootstrap:"",centos:"linux,system,\u7CFB\u7EDF",chrome:"\u8C37\u6B4C\u6D4F\u89C8\u5668",codepen:"\u4EE3\u7801\u7B14",copilot:"github,\u98DE\u884C\u5458",coreos:"linux,system,\u7CFB\u7EDF",dingding:"\u9489\u9489",discord:"game,chat",disqus:"comments",douban:"\u8C46\u74E3",dribbble:"\u8FFD\u6CE2",drive:"google drive,\u8C37\u6B4C\u4E91\u7AEF\u786C\u76D8",dropbox:"\u591A\u5B9D\u7BB1",edge:"microsoft edge,edge\u6D4F\u89C8\u5668","edge-new":"microsoft-edge,\u6D4F\u89C8\u5668",evernote:"\u5370\u8C61\u7B14\u8BB0",facebook:"\u8138\u4E66","facebook-circle":"\u8138\u4E66","facebook-box":"\u8138\u4E66",finder:"macintosh,\u4EFF\u8FBE",firefox:"\u706B\u72D0\u6D4F\u89C8\u5668",flickr:"",flutter:"google",gatsby:"gatsby",github:"github",gitlab:"gitlab",google:"\u8C37\u6B4C","google-play":"applications,\u8C37\u6B4C\u5E94\u7528\u5546\u5E97","honor-of-kings":"game,\u738B\u8005\u8363\u8000",ie:"internet explorer,\u6D4F\u89C8\u5668",instagram:"\u7167\u7247\u5899",invision:"invision","kakao-talk":"kakao talk,chat",line:"\u8FDE\u6211",linkedin:"\u9886\u82F1","linkedin-box":"\u9886\u82F1","microsoft-loop":"Doc,\u7B14\u8BB0",mastercard:"bank card,\u94F6\u884C\u5361",mastodon:"mastodon,\u957F\u6BDB\u8C61",medium:"\u5A92\u4F53",messenger:"facebook,\u8138\u4E66,\u4FE1\u4F7F",meta:"\u5143",microsoft:"windows,\u7A97\u6237,\u5FAE\u8F6F","mini-program":"\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F","netease-cloud-music":"netease cloud music,\u7F51\u6613\u4E91\u97F3\u4E50",netflix:"\u7F51\u98DE",notion:"notes,doc,\u7B14\u8BB0,\u6587\u6863",npmjs:"npm,nodejs",openai:"\u4EBA\u5DE5\u667A\u80FD","open-source":"opensource,\u5F00\u6E90",opera:"\u6B27\u670B\u6D4F\u89C8\u5668",patreon:"donate,money,\u6350\u8D60,\u6253\u8D4F",paypal:"\u8D1D\u5B9D",pinterest:"\u62FC\u8DA3",pixelfed:"photography,pixelfed",playstation:"ps","product-hunt":"product hunt",qq:"penguin,tencent,\u817E\u8BAF,\u4F01\u9E45",reactjs:"react,programing framework,facebook",reddit:"reddit",remixicon:"remix icon,\u56FE\u6807",safari:"safari\u6D4F\u89C8\u5668",skype:"skype",slack:"slack",snapchat:"ghost,\u8272\u62C9\u5E03,\u5E7D\u7075",soundcloud:"\u58F0\u4E91",spectrum:"spectrum",spotify:"music,\u97F3\u4E50","stack-overflow":"stack overflow",stackshare:"share,\u5206\u4EAB,\u6280\u672F\u6808",steam:"game,store",switch:"nintendo,\u4EFB\u5929\u5802",taobao:"\u6DD8\u5B9D",telegram:"telegram",tiktok:"\u6296\u97F3",trello:"trello",tumblr:"\u6C64\u535A\u4E50",twitch:"twitch",twitter:"\u63A8\u7279",ubuntu:"linux,system,\u7CFB\u7EDF",unsplash:"photos",vimeo:"\u89C6\u9891",visa:"bank card,\u94F6\u884C\u5361",vuejs:"vue,programing framework",wechat:"\u5FAE\u4FE1","wechat-2":"\u5FAE\u4FE1","wechat-channels":"\u5FAE\u4FE1\u89C6\u9891\u53F7","wechat-pay":"\u5FAE\u4FE1\u652F\u4ED8",weibo:"\u65B0\u6D6A\u5FAE\u535A",whatsapp:"\u74E6\u6B21\u827E\u666E",windows:"microsoft,\u7A97\u6237,\u5FAE\u8F6F",wordpress:"blog,\u535A\u5BA2",xbox:"xbox",xing:"xing",youtube:"\u4F18\u5154,\u6CB9\u7BA1",zcool:"zcool,\u7AD9\u9177",zhihu:"\u77E5\u4E4E"},Map:{"map-pin":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-2":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-3":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-4":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-5":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-add":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u65B0\u589E,\u6DFB\u52A0","map-pin-range":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u8303\u56F4","map-pin-time":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u65F6\u95F4","map-pin-user":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u7528\u6237","pin-distance":"\u5750\u6807,\u8DDD\u79BB",pushpin:"\u56FE\u9489",unpin:"\u56FE\u9489,\u53D6\u6D88\u56FA\u5B9A","pushpin-2":"\u56FE\u9489",compass:"navigation,safari,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-2":"navigation,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-3":"navigation,safari,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-4":"navigation,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-discover":"navigation,direction,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22",anchor:"\u951A","china-railway":"\u4E2D\u94C1,\u94C1\u8DEF,\u706B\u8F66","space-ship":"\u592A\u7A7A\u98DE\u8239",rocket:"\u706B\u7BAD","rocket-2":"space ship,\u706B\u7BAD,\u592A\u7A7A\u98DE\u8239",map:"navigation,travel,\u5730\u56FE,\u5BFC\u822A,\u65C5\u884C","map-2":"location,navigation,travel,\u5730\u56FE,\u5B9A\u4F4D,\u5BFC\u822A,\u65C5\u884C","treasure-map":"thriller,adventure,\u5730\u56FE,\u85CF\u5B9D\u56FE","road-map":"navigation,travel,\u5730\u56FE,\u5BFC\u822A,\u65C5\u884C",earth:"global,union,world,language,\u5730\u7403,\u5168\u7403,\u8054\u5408,\u4E16\u754C,\u8BED\u8A00",globe:"earth,\u5730\u7403\u4EEA",parking:"\u505C\u8F66\u573A","parking-box":"\u505C\u8F66\u573A",route:"path,\u8DEF\u7EBF",guide:"path,\u6307\u5F15,\u8DEF\u7EBF","gas-station":"\u52A0\u6C14\u7AD9,\u52A0\u6CB9\u7AD9","charging-pile":"\u5145\u7535\u6869","charging-pile-2":"\u5145\u7535\u6869",car:"\u6C7D\u8F66","car-washing":"\u6C7D\u8F66,\u6D17\u8F66",roadster:"car,\u6C7D\u8F66,\u8DD1\u8F66",taxi:"car,\u51FA\u79DF\u8F66,\u6C7D\u8F66","taxi-wifi":"car,\u51FA\u79DF\u8F66,\u6C7D\u8F66","police-car":"\u6C7D\u8F66,\u8B66\u8F66",bus:"\u5927\u5DF4,\u5DF4\u58EB","bus-2":"\u5927\u5DF4,\u5DF4\u58EB","bus-wifi":"\u5927\u5DF4,\u5DF4\u58EB",truck:"van,delivery,\u5361\u8F66,\u8D27\u8F66,\u8FD0\u8F93",train:"\u706B\u8F66","train-wifi":"\u706B\u8F66",subway:"\u5730\u94C1","subway-wifi":"\u5730\u94C1","flight-takeoff":"airplane,plane,origin,\u8D77\u98DE,\u51FA\u53D1,\u59CB\u53D1,\u8D77\u70B9,\u98DE\u673A","flight-land":"airplane,plane,destination,\u7740\u9646,\u5230\u8FBE,\u62B5\u8FBE,\u7EC8\u70B9,\u98DE\u673A",plane:"fight,\u98DE\u673A,\u822A\u73ED",sailboat:"\u5E06\u8239",ship:"\u8F6E\u8239,\u822A\u6D77,\u6D77\u8FD0","ship-2":"\u8F6E\u8239",bike:"\u81EA\u884C\u8F66","e-bike":"take out,takeaway,\u7535\u52A8\u8F66,\u5916\u5356","e-bike-2":"take out,takeaway,\u7535\u52A8\u8F66,\u5916\u5356",takeaway:"take out,takeaway,\u7535\u52A8\u8F66,\u5916\u5356",motorbike:"\u6469\u6258\u8F66",caravan:"\u623F\u8F66",walk:"\u6B65\u884C",run:"\u5954\u8DD1,\u8DD1\u6B65",riding:"bike,\u9A91\u884C,\u81EA\u884C\u8F66",barricade:"\u8DEF\u969C",footprint:"\u811A\u5370,\u8DB3\u8FF9","traffic-light":"\u4EA4\u901A,\u4FE1\u53F7\u706F","signal-tower":"base station,antenna,\u4FE1\u53F7\u5854,\u57FA\u7AD9,\u5929\u7EBF",restaurant:"\u9910\u5385,\u996D\u5E97","restaurant-2":"\u9910\u5385,\u996D\u5E97",cup:"tea,coffee,\u676F\u5B50,\u5496\u5561,\u8336",goblet:"cup,wine glass,\u9AD8\u811A\u676F,\u9152\u676F","hotel-bed":"\u9152\u5E97,\u5E8A",navigation:"gps,\u5BFC\u822A",oil:"\u6C7D\u6CB9,\u673A\u6CB9",direction:"right,\u65B9\u5411,\u53F3\u8F6C",steering:"drive,\u65B9\u5411\u76D8,\u9A7E\u8F66","steering-2":"drive,\u65B9\u5411\u76D8,\u9A7E\u8F66",lifebuoy:"life ring,\u6551\u751F\u5708",passport:"passports,\u62A4\u7167",suitcase:"travel,\u65C5\u884C,\u884C\u674E\u7BB1","suitcase-2":"travel,\u65C5\u884C,\u884C\u674E\u7BB1,\u62C9\u6746\u7BB1","suitcase-3":"travel,\u65C5\u884C,boarding case,\u884C\u674E\u7BB1,\u62C9\u6746\u7BB1,\u767B\u673A\u7BB1","luggage-deposit":"consignment,\u884C\u674E\u7BB1,\u884C\u674E\u5BC4\u5B58,\u6258\u8FD0","luggage-cart":"\u884C\u674E\u8F66"},Media:{image:"picture,photo,\u56FE\u7247,\u7167\u7247","image-2":"picture,photo,\u56FE\u7247,\u7167\u7247","image-add":"picture,photo,\u56FE\u7247,\u7167\u7247,\u6DFB\u52A0","image-edit":"picture,photo,\u56FE\u7247,\u7167\u7247,\u7F16\u8F91",landscape:"picture,image,photo,\u56FE\u7247,\u7167\u7247",gallery:"picture,image,\u56FE\u7247,\u76F8\u518C","gallery-upload":"picture,image,\u56FE\u7247,\u76F8\u518C,\u4E0A\u4F20",video:"\u89C6\u9891",movie:"film,video,\u7535\u5F71,\u786C\u76D8,\u89C6\u9891","movie-2":"film,video,\u7535\u5F71,\u786C\u76D8,\u89C6\u9891",film:"movie,video,\u5F71\u7247,\u7535\u5F71,\u89C6\u9891",clapperboard:"movie,film,\u573A\u8BB0\u677F,\u7535\u5F71",vidicon:"video,camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891","vidicon-2":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A",live:"video,camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u76F4\u64AD","video-add":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u6DFB\u52A0","video-upload":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u4E0A\u4F20","video-download":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u4E0B\u8F7D",dv:"vidicon,camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A",camera:"photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247","camera-off":"photo,slash,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247,\u7981\u6B62,\u5173\u95ED","camera-2":"photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247","camera-3":"photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247","camera-lens":"aperture,photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247,\u670B\u53CB\u5708","camera-switch":"\u7167\u76F8\u673A,\u62CD\u7167,\u7FFB\u8F6C",polaroid:"camera,\u76F8\u673A,\u5B9D\u4E3D\u6765","polaroid-2":"camera,\u76F8\u673A,\u5B9D\u4E3D\u6765","phone-camera":"\u624B\u673A\u76F8\u673A,\u624B\u673A\u6444\u50CF\u5934",webcam:"\u6444\u50CF\u5934",mv:"music video,\u97F3\u4E50",music:"\u97F3\u4E50","music-2":"\u97F3\u4E50",disc:"music,album,\u97F3\u4E50,\u5531\u7247",album:"music,\u5531\u7247,\u97F3\u4E50",dvd:"cd,dvd,record,\u5149\u76D8,\u523B\u5F55",headphone:"music,headset,\u8033\u673A,\u97F3\u4E50",radio:"\u6536\u97F3\u673A,\u7535\u53F0","radio-2":"\u6536\u97F3\u673A,\u7535\u53F0",tape:"\u5F55\u97F3,\u78C1\u5E26",mic:"record,voice,\u8BDD\u7B52,\u8BED\u97F3,\u5F55\u97F3,\u58F0\u97F3","mic-2":"record,voice,\u8BDD\u7B52,\u8BED\u97F3,\u5F55\u97F3,\u58F0\u97F3","mic-off":"record,voice,slash,\u5173\u95ED\u8BDD\u7B52,\u5173\u95ED\u8BED\u97F3,\u5F55\u97F3,\u5173\u95ED\u58F0\u97F3,\u9759\u97F3,\u7981\u6B62","volume-down":"trumpet,sound,speaker,\u97F3\u91CF\u4F4E,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668","volume-mute":"trumpet,sound,off,\u97F3\u91CF\u4F4E,\u5587\u53ED,\u58F0\u97F3,\u9759\u97F3","volume-up":"trumpet,sound,speaker,\u97F3\u91CF\u9AD8,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668","volume-vibrate":"trumpet,sound,speaker,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668,\u9707\u52A8\u6A21\u5F0F","volume-off-vibrate":"trumpet,sound,speaker,\u9759\u97F3,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668,\u9759\u97F3\u6A21\u5F0F",speaker:"\u97F3\u54CD","speaker-2":"\u97F3\u54CD","speaker-3":"\u97F3\u54CD","surround-sound":"\u73AF\u7ED5\u7ACB\u4F53\u58F0",broadcast:"\u5E7F\u64AD",notification:"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-2":"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-3":"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-4":"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-off":"bell,alarm,silent,slash,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192,\u514D\u6253\u6270,\u9759\u97F3,\u5173\u95ED,\u7981\u6B62","play-circle":"start,\u64AD\u653E,\u5F00\u59CB","pause-circle":"\u6682\u505C","record-circle":"\u5F55\u97F3","stop-circle":"\u505C\u6B62",eject:"\u63A8\u51FA",play:"start,\u64AD\u653E,\u5F00\u59CB",pause:"\u6682\u505C",stop:"\u505C\u6B62",rewind:"fast,\u5FEB\u9000",speed:"fast,\u5FEB\u8FDB","skip-back":"\u4E0A\u4E00\u66F2","skip-forward":"\u4E0B\u4E00\u66F2","play-mini":"\u64AD\u653E","pause-mini":"\u6682\u505C","stop-mini":"\u505C\u6B62","rewind-mini":"fast,\u5FEB\u9000","speed-mini":"fast,\u5FEB\u8FDB","skip-back-mini":"\u4E0A\u4E00\u66F2","skip-forward-mini":"\u4E0B\u4E00\u66F2","replay-5":"playback,\u91CD\u64AD,\u56DE\u653E","forward-5":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7","replay-10":"playback,\u91CD\u64AD,\u56DE\u653E","forward-10":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7","replay-15":"playback,\u91CD\u64AD,\u56DE\u653E","forward-15":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7","replay-30":"playback,\u91CD\u64AD,\u56DE\u653E","forward-30":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7",memories:"\u56DE\u5FC6",repeat:"swap,\u4EA4\u6362,\u5FAA\u73AF\u64AD\u653E","repeat-2":"swap,\u4EA4\u6362,\u5FAA\u73AF\u64AD\u653E","repeat-one":"\u5355\u66F2\u5FAA\u73AF","order-play":"\u987A\u5E8F\u64AD\u653E",shuffle:"\u968F\u673A\u64AD\u653E","play-list":"\u64AD\u653E\u5217\u8868","play-list-2":"\u64AD\u653E\u5217\u8868","play-list-add":"\u5217\u8868,\u6DFB\u52A0",fullscreen:"maximize,\u5168\u5C4F,\u6700\u5927\u5316","fullscreen-exit":"minimize,\u9000\u51FA\u5168\u5C4F,\u6700\u5C0F\u5316",equalizer:"sliders,controls,settings,filter,\u5747\u8861\u5668,\u63A7\u5236\u5668,\u8BBE\u7F6E,\u7B5B\u9009","sound-module":"sliders,controls,settings,filter,\u5747\u8861\u5668,\u63A7\u5236\u5668,\u8BBE\u7F6E,\u7B5B\u9009",rhythm:"\u8282\u594F,\u97F5\u5F8B",voiceprint:"\u58F0\u7EB9","speed-up":"dashboard,\u5FEB,\u52A0\u901F,\u4EEA\u8868\u76D8","slow-down":"dashboard,\u6162,\u51CF\u901F,\u4EEA\u8868\u76D8",hq:"high quality,\u9AD8\u8D28\u91CF,\u9AD8\u54C1\u8D28",hd:"high definition,\u9AD8\u6E05\u6670\u5EA6","4k":"high definition,high quality,\u9AD8\u6E05\u6670\u5EA6,\u9AD8\u54C1\u8D28,\u8D85\u6E05","closed-captioning":"\u9690\u85CF\u5B57\u5E55","aspect-ratio":"\u5BBD\u9AD8\u6BD4,\u6BD4\u4F8B","picture-in-picture":"\u753B\u4E2D\u753B,\u5C0F\u7A97","picture-in-picture-2":"\u753B\u4E2D\u753B,\u5C0F\u7A97","picture-in-picture-exit":"\u9000\u51FA\u753B\u4E2D\u753B,\u9000\u51FA\u5C0F\u7A97"},System:{apps:"\u5E94\u7528","apps-2":"\u5E94\u7528",function:"layout,\u529F\u80FD,\u5E94\u7528,\u5361\u7247\u5E03\u5C40",dashboard:"\u4EEA\u8868\u76D8",menu:"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-2":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-3":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-4":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-5":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-add":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305,\u6DFB\u52A0","menu-fold":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305,\u6536\u8D77,\u5C55\u5F00","menu-unfold":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305,\u6536\u8D77,\u5C55\u5F00",more:"ellipsis,\u66F4\u591A,\u7701\u7565","more-2":"ellipsis,\u66F4\u591A,\u7701\u7565",star:"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22","star-s":"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22,\u534A\u661F","star-half":"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22","star-half-s":"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22,\u534A\u661F",settings:"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-2":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-3":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-4":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-5":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-6":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","list-settings":"\u5217\u8868,\u8BBE\u7F6E",forbid:"slash,ban,\u7981\u6B62,\u7981\u7528","forbid-2":"slash,ban,\u7981\u6B62,\u7981\u7528",information:"\u4FE1\u606F","error-warning":"!,alert,important,alert,exclamation,\u8B66\u544A,\u9519\u8BEF",question:"help,\u95EE\u53F7,\u5E2E\u52A9",alert:"\u63D0\u9192,\u8B66\u544A",spam:"alert,\u5783\u573E\u90AE\u4EF6,\u8B66\u544A","spam-2":"alert,\u5783\u573E\u90AE\u4EF6,\u8B66\u544A","spam-3":"alert,\u5783\u573E\u90AE\u4EF6,\u8B66\u544A","checkbox-blank":"\u590D\u9009\u6846,\u7A7A",checkbox:"\u590D\u9009\u6846","checkbox-indeterminate":"\u590D\u9009\u6846","add-box":"plus,new,\u590D\u9009\u6846,\u6DFB\u52A0,\u52A0\u53F7,\u65B0\u589E","checkbox-blank-circle":"\u590D\u9009\u6846,\u7A7A","checkbox-circle":"\u590D\u9009\u6846","indeterminate-circle":"slash,ban,\u590D\u9009\u6846,\u7981","add-circle":"plus,new,\u590D\u9009\u6846,\u6DFB\u52A0,\u52A0\u53F7,\u65B0\u589E","close-circle":"cancel,remove,delete,empty,x,\u5173\u95ED,\u53D6\u6D88,\u79FB\u9664,\u5220\u9664,\u6E05\u7A7A","radio-button":"\u5355\u9009\u6846","checkbox-multiple-blank":"\u590D\u9009\u6846,\u7A7A","checkbox-multiple":"\u590D\u9009\u6846,\u7A7A",check:"\u5BF9\u52FE","check-double":"read,done,double-tick,\u53CC\u5BF9\u52FE,\u5DF2\u8BFB",close:"cancel,remove,delete,empty,x,\u5173\u95ED,\u53D6\u6D88,\u79FB\u9664,\u5220\u9664,\u6E05\u7A7A",add:"plus,new,\u6DFB\u52A0,\u65B0\u589E,\u52A0\u53F7",subtract:"\u51CF",divide:"\u9664\u4EE5",equal:"sum,result,\u7B49\u4E8E",download:"receive,\u4E0B\u8F7D,\u63A5\u6536",upload:"send,\u4E0A\u4F20,\u53D1\u9001","download-2":"\u4E0B\u8F7D","upload-2":"\u4E0A\u4F20","download-cloud":"\u4E0B\u8F7D,\u4E91","download-cloud-2":"\u4E0B\u8F7D,\u4E91","upload-cloud":"\u4E0A\u4F20,\u4E91","upload-cloud-2":"\u4E0A\u4F20,\u4E91","login-box":"sign in,\u767B\u5F55","logout-box":"sign out,\u767B\u51FA,\u6CE8\u9500","logout-box-r":"sign out,\u767B\u51FA,\u6CE8\u9500","login-circle":"sign in,\u767B\u5F55","logout-circle":"sign out,\u767B\u51FA,\u6CE8\u9500","logout-circle-r":"sign out,\u767B\u51FA,\u6CE8\u9500",refresh:"reload,repeat,replace,reset,restart,synchronization,spinner,loader,update,\u5237\u65B0,\u91CD\u65B0\u52A0\u8F7D,\u91CD\u590D,\u91CD\u7F6E,\u66FF\u6362,\u91CD\u542F,\u540C\u6B65,\u66F4\u65B0",shield:"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1","shield-cross":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u95EA\u7535","shield-flash":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1","shield-star":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u661F\u661F","shield-user":"safety,protect,user protected,guarantor,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u7528\u6237","shield-keyhole":"safety,protect,guarantor,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u94A5\u5319\u5B54","shield-check":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1","delete-back":"backspace,\u5220\u9664,\u9000\u683C","delete-back-2":"backspace,\u5220\u9664,\u9000\u683C","delete-bin":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-2":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-3":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-4":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-5":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-6":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-7":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876",lock:"security,password,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801","lock-2":"security,password,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801","lock-password":"security,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801","lock-unlock":"security,password,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801",eye:"watch,view,\u773C\u775B,\u67E5\u770B","eye-off":"slash,\u773C\u775B,\u4E0D\u53EF\u89C1,\u5173\u95ED,\u7981\u6B62","eye-2":"watch,view,\u773C\u775B,\u67E5\u770B","eye-close":"x,\u95ED\u773C",search:"\u641C\u7D22,\u653E\u5927\u955C","search-2":"\u641C\u7D22,\u653E\u5927\u955C","search-eye":"\u641C\u7D22,\u653E\u5927\u955C,\u773C\u775B","zoom-in":"\u653E\u5927,\u653E\u5927\u955C","zoom-out":"\u7F29\u5C0F,\u653E\u5927\u955C","find-replace":"\u67E5\u627E,\u641C\u7D22,\u66FF\u6362",share:"\u5206\u4EAB,\u8F6C\u53D1","share-box":"\u5206\u4EAB,\u8F6C\u53D1","share-circle":"\u5206\u4EAB,\u8F6C\u53D1","share-forward":"\u5206\u4EAB,\u8F6C\u53D1","share-forward-2":"\u5206\u4EAB,\u8F6C\u53D1","share-forward-box":"\u5206\u4EAB,\u8F6C\u53D1","side-bar":"\u4FA7\u8FB9\u680F",time:"clock,\u65F6\u95F4,\u65F6\u949F,\u949F\u8868",timer:"chronograph,stopwatch,\u79D2\u8868,\u8BA1\u65F6\u5668","timer-2":"chronograph,stopwatch,\u79D2\u8868,\u8BA1\u65F6\u5668","timer-flash":"chronograph,stopwatch,\u79D2\u8868,\u8BA1\u65F6\u5668,\u95EA\u7535",alarm:"\u95F9\u949F",history:"record,recent,time machine,\u5386\u53F2\u8BB0\u5F55,\u6700\u8FD1","hourglass-2":"time,history,recent,duration,\u6C99\u6F0F,\u65F6\u95F4,\u5386\u53F2\u8BB0\u5F55,\u6700\u8FD1",hourglass:"time,history,recent,duration,\u6C99\u6F0F,\u65F6\u95F4,\u5386\u53F2\u8BB0\u5F55,\u6700\u8FD1","thumb-up":"like,good,\u559C\u6B22,\u597D","thumb-down":"dislike,bad,\u4E0D\u559C\u6B22,\u4E0D\u597D","alarm-warning":"alert,report,police light,\u544A\u8B66,\u4E3E\u62A5,\u8B66\u706F","notification-badge":"red dot,\u901A\u77E5,\u5C0F\u7EA2\u70B9",toggle:"switch,\u5F00\u5173,\u89E6\u53D1\u5668",filter:"filtration,\u7B5B\u9009,\u8FC7\u6EE4","filter-2":"filtration,\u7B5B\u9009,\u8FC7\u6EE4","filter-3":"filtration,\u7B5B\u9009,\u8FC7\u6EE4","filter-off":"filtration,clear-filter,\u7B5B\u9009,\u8FC7\u6EE4",loader:"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-2":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-3":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-4":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-5":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","external-link":"\u5916\u94FE","loop-left":"reload,repeat,replace,reset,restart,synchronization,spinner,loader,update,\u5237\u65B0,\u91CD\u65B0\u52A0\u8F7D,\u91CD\u590D,\u91CD\u7F6E,\u66FF\u6362,\u91CD\u542F,\u540C\u6B65,\u66F4\u65B0","loop-right":"reload,repeat,replace,reset,restart,synchronization,spinner,loader,update,\u5237\u65B0,\u91CD\u65B0\u52A0\u8F7D,\u91CD\u590D,\u91CD\u7F6E,\u66FF\u6362,\u91CD\u542F,\u540C\u6B65,\u66F4\u65B0"},"User & Faces":{user:"\u7528\u6237,person,people","user-2":"\u7528\u6237,person,people","user-3":"\u7528\u6237,person,people","user-4":"\u7528\u6237,person,people","user-5":"\u7528\u6237,person,people","user-6":"\u7528\u6237,person,people","user-smile":"\u7528\u6237,\u5FAE\u7B11,person,people","account-box":"\u7528\u6237,\u8D26\u6237,person,people","account-circle":"\u7528\u6237,\u8D26\u6237,person,people","account-pin-box":"\u7528\u6237,\u8D26\u6237,person,people","account-pin-circle":"\u7528\u6237,\u8D26\u6237,person,people","user-add":"\u7528\u6237,\u6DFB\u52A0,\u65B0\u589E,person,people","user-follow":"\u5173\u6CE8,person,people","user-unfollow":"\u7528\u6237,\u53D6\u6D88\u5173\u6CE8,person,people","user-shared":"transfer,\u7528\u6237,\u6211\u5206\u4EAB\u7684,\u53D1\u9001,person,people","user-shared-2":"transfer,\u7528\u6237,\u6211\u5206\u4EAB\u7684,\u53D1\u9001,person,people","user-received":"\u7528\u6237,\u6211\u63A5\u6536\u7684,\u6536\u53D6,person,people","user-received-2":"\u7528\u6237,\u6211\u63A5\u6536\u7684,\u6536\u53D6,person,people","user-location":"\u7528\u6237,\u5B9A\u4F4D,person,people","user-search":"\u7528\u6237,\u67E5\u627E,person,people","user-settings":"admin,\u7528\u6237,\u8BBE\u7F6E,\u7BA1\u7406\u5458,person,people","user-star":"\u7528\u6237,\u5173\u6CE8,person,people","user-heart":"\u7528\u6237,\u5173\u6CE8,person,people",admin:"admin,\u7528\u6237,\u7BA1\u7406\u5458,person,people",contacts:"\u8054\u7CFB\u4EBA",group:"team,\u56E2\u961F,\u7FA4\u7EC4,person,people","group-2":"team,\u56E2\u961F,\u7FA4\u7EC4,person,people",team:"\u56E2\u961F,\u5C0F\u7EC4,\u7FA4\u4E3B,person,people","user-voice":"\u7528\u6237,\u5F55\u97F3,\u6F14\u8BB2",emotion:"\u8868\u60C5,\u7B11\u8138","emotion-2":"\u8868\u60C5,\u7B11\u8138","emotion-happy":"\u8868\u60C5,\u5F00\u5FC3","emotion-normal":"\u8868\u60C5,\u4E00\u822C","emotion-unhappy":"\u8868\u60C5,\u4E0D\u5F00\u5FC3","emotion-laugh":"comedy,happy,\u8868\u60C5,\u5927\u7B11,\u7B11\u8138,\u5F00\u5FC3,\u559C\u5267","emotion-sad":"drama,tears,\u60B2\u5267,\u54ED\u6CE3,\u6CEA",skull:"ghost,\u9AB7\u9AC5,\u9B3C\u602A","skull-2":"ghost,horror,thriller,\u9AB7\u9AC5,\u9B3C\u602A,\u6050\u60E7,\u6050\u6016",men:"gender,man,male,\u7537\u4EBA,\u7537\u6027",women:"gender,woman,female,\u5973\u4EBA,\u5973\u6027",travesti:"\u5973\u4EBA,\u5973\u6027",genderless:"\u5973\u4EBA,\u5973\u6027","open-arm":"\u5F20\u5F00\u53CC\u81C2","body-scan":"gesture recognition,body,\u626B\u63CF\u8EAB\u4F53,\u4F53\u6001\u8BC6\u522B,\u52A8\u4F5C\u4E4B\u522B,\u624B\u52BF\u8BC6\u522B",parent:"patriarch,\u7236\u6BCD,\u4EB2\u5B50,\u5BB6\u957F",robot:"mechanic,\u673A\u5668\u4EBA",aliens:"science fiction,ET,\u5916\u661F\u4EBA,\u79D1\u5E7B\u5C0F\u8BF4","bear-smile":"cartoon,anime,cartoon,\u5C0F\u718A,\u5FAE\u7B11,\u513F\u7AE5,\u52A8\u753B\u7247,\u5361\u901A,\u52A8\u6F2B",mickey:"cartoon,disney,\u8FEA\u58EB\u5C3C,\u7C73\u8001\u9F20,\u5FAE\u7B11,\u513F\u7AE5,\u52A8\u753B\u7247",criminal:"horror,thriller,\u7F6A\u72AF,\u72AF\u7F6A,\u6050\u6016",ghost:"horror,thriller,\u9B3C\u602A,\u6050\u6016,\u6050\u60E7","ghost-2":"horror,\u9B3C\u602A,\u6050\u6016,\u6050\u60E7","ghost-smile":"\u9B3C\u602A,\u7B11","star-smile":"animation,\u52A8\u753B,\u5FAE\u7B11,\u661F\u661F",spy:"incognito mode,detective,secret,\u95F4\u8C0D,\u4FA6\u63A2,\u65E0\u75D5\u6A21\u5F0F,\u9690\u79C1\u6A21\u5F0F"},Weather:{sun:"light mode,sunny,\u592A\u9633,\u767D\u5929\u6A21\u5F0F,\u6674\u5929",moon:"dark mode,night,\u6708\u4EAE,\u591C\u95F4\u6A21\u5F0F,\u6708\u7259",flashlight:"\u95EA\u7535",cloudy:"\u591A\u4E91","cloudy-2":"\u591A\u4E91",mist:"\u96FE\u6C14,\u96FE\u973E",foggy:"\u5927\u96FE","cloud-windy":"\u98CE",windy:"\u5927\u98CE,\u522E\u98CE",rainy:"\u4E0B\u96E8,\u96E8\u5929",drizzle:"\u5C0F\u96E8",showers:"\u4E2D\u96E8","heavy-showers":"\u5927\u96E8",thunderstorms:"\u96F7\u66B4,\u96F7\u9635\u96E8",hail:"\u51B0\u96F9",snowy:"\u4E0B\u96EA,\u96EA\u5929","sun-cloudy":"\u6674\u8F6C\u591A\u4E91","moon-cloudy":"\u591C\u95F4\u591A\u4E91",tornado:"\u9F99\u5377\u98CE",typhoon:"cyclone,tornado,\u9F99\u5377\u98CE,\u65CB\u98CE,\u53F0\u98CE",haze:"\u9634\u973E,\u8584\u96FE","haze-2":"\u9634\u973E,\u8584\u96FE","sun-foggy":"\u8584\u96FE","moon-foggy":"\u8584\u96FE","moon-clear":"\u591C\u95F4\u6A21\u5F0F,\u591C\u95F4\u65E0\u4E91","temp-hot":"temperature,\u6E29\u5EA6,\u9AD8\u6E29,\u70ED","temp-cold":"temperature,\u6E29\u5EA6,\u4F4E\u6E29,\u51B7",celsius:"temperature,\u6E29\u5EA6,\u6444\u6C0F\u5EA6",fahrenheit:"temperature,\u6E29\u5EA6,\u534E\u6C0F\u5EA6",fire:"hot,\u706B,\u70ED\u95E8",blaze:"\u706B\u707E",earthquake:"\u5730\u9707",flood:"\u6D2A\u6C34",meteor:"\u6D41\u661F,\u9668\u77F3",rainbow:"\u5F69\u8679",shining:"star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1","shining-2":"star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1",sparkling:"shining,star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1","sparkling-2":"shining,star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1"},Others:{basketball:"sports,\u8FD0\u52A8,\u7BEE\u7403",bell:"cartoon,anime,doraemon,\u94C3\u94DB,\u54C6\u5566A\u68A6,\u5361\u901A,\u52A8\u6F2B",billiards:"sports,\u8FD0\u52A8,\u53F0\u7403,8",boxing:"sports,\u8FD0\u52A8,\u62F3\u51FB",cake:"anniversary,\u86CB\u7CD5","cake-2":"anniversary,\u86CB\u7CD5","cake-3":"\u86CB\u7CD5","door-lock":"\u95E8\u9501","door-lock-box":"\u95E8\u9501",football:"sports,\u8FD0\u52A8,\u8DB3\u7403",game:"pac man,\u6E38\u620F,\u5403\u8C46\u4EBA",handbag:"fashion,\u65F6\u5C1A,\u624B\u63D0\u5305,\u5973\u5305",key:"password,\u94A5\u5319,\u5BC6\u7801","key-2":"password,\u94A5\u5319,\u5BC6\u7801",knife:"\u5200","knife-blood":"crime,\u5200,\u72AF\u7F6A,\u8840,\u6740\u4EBA",lightbulb:"energy,creativity,\u706F\u6CE1,\u80FD\u6E90","lightbulb-flash":"energy,creativity,\u706F\u6CE1,\u80FD\u6E90,\u95EA\u7535",outlet:"\u63D2\u5EA7","outlet-2":"\u63D2\u5EA7",plug:"\u4E8C\u811A\u63D2\u5934","plug-2":"\u4E09\u811A\u63D2\u5934","ping-pong":"sports,table tennis,\u8FD0\u52A8,\u4E52\u4E53\u7403",reserved:"\u5DF2\u9884\u5B9A",shirt:"clothes,\u886C\u886B,\u8863\u670D",sword:"war,\u5200\u5251,\u6218\u4E89,\u6218\u6597,\u7384\u5E7B","t-shirt":"skin,theme,T\u6064,\u76AE\u80A4,\u4E3B\u9898","t-shirt-2":"skin,theme,T\u6064,\u76AE\u80A4,\u4E3B\u9898","t-shirt-air":"dry,T\u6064,\u98CE\u5E72,\u70D8\u5E72",umbrella:"protect,\u96E8\u4F1E,\u4FDD\u62A4","character-recognition":"ocr,\u6587\u5B57\u8BC6\u522B","voice-recognition":"asr,\u8BED\u97F3\u8BC6\u522B",leaf:"energy,ecology,\u6811\u53F6,\u8282\u80FD,\u73AF\u4FDD,\u8BED\u97F3\u8BC6\u522B",plant:"\u690D\u7269",seedling:"\u6811\u82D7,\u690D\u7269",recycle:"recyclable,\u53EF\u56DE\u6536","scales-2":"\u53A8\u623F\u79F0",scales:"balance,\u79F0,\u5929\u5E73,\u5929\u79E4","scales-3":"balance,\u79F0,\u5929\u5E73,\u5929\u79E4",fridge:"refrigerator,\u7535\u51B0\u7BB1",wheelchair:"accessbility,\u8F6E\u6905,\u53EF\u8BBF\u95EE\u6027,\u8F85\u52A9\u529F\u80FD",cactus:"desertr,\u4ED9\u4EBA\u638C,\u6C99\u6F20",door:"\u95E8","door-open":"\u5F00\u95E8","door-closed":"\u5173\u95E8","graduation-cap":"cap,school,student,\u6BD5\u4E1A,\u5E3D\u5B50,\u5B66\u6821,\u5B66\u751F","box-1":"instance,\u76D2\u5B50,\u5B9E\u4F8B","box-2":"instance,\u76D2\u5B50,\u5B9E\u4F8B","box-3":"instance,3d,\u76D2\u5B50,\u5B9E\u4F8B,\u7ACB\u4F53",candle:"\u8721\u70DB",cross:"tomb,\u5341\u5B57\u67B6,\u575F\u5893"}};let Ty={},Af=[];for(const[e,t]of Object.entries(Cbe))for(const[n,r]of Object.entries(t))e==="Editor"?(Ty[n]=r,Af.push(n)):(Ty[`${n}-fill`]=r,Ty[`${n}-line`]=r,Af.push(`${n}-fill`,`${n}-line`));Af.sort();const xSe="",wj=16,Ebe=g.defineComponent({name:"JwtIconSelect",props:{modelValue:{type:String,default:"settings-3-line"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=g.reactive({searchVal:"",listData:Af.slice(0,wj),allIconData:[],pagination:{pageNo:1,pageSize:wj,total:Af.length,layout:"total, prev, next"}}),r=g.computed({get:()=>e.modelValue||"settings-3-line",set:f=>{t("update:modelValue",f)}}),o=f=>{n.pagination.pageSize=f},i=f=>{n.pagination.pageNo=f,l()},a=f=>{r.value=f,t("change",f)},s=()=>{n.pagination.pageNo=1,l()},l=()=>{let f=[];if(n.searchVal)for(const[d,p]of Object.entries(Ty))p.includes(n.searchVal)&&f.push(d);else f=Af;n.pagination.total=f.length,n.listData=f.slice((n.pagination.pageNo-1)*16,n.pagination.pageNo*16)};return{...g.toRefs(n),selectIcon:r,handleSearchIcon:s,handleSelectIcon:a,handleSizeChange:o,handleCurrentChange:i}}}),Sbe=(e=>(g.pushScopeId("data-v-bfbf0d74"),e=e(),g.popScopeId(),e))(()=>g.createElementVNode("span",{style:{padding:"0 5px"}},"\u56FE\u6807\u9009\u62E9\u5668",-1)),Dbe={class:"jwt-icon-select-wrapper"};function xbe(e,t,n,r,o,i){const a=g.resolveComponent("jwt-icon"),s=g.resolveComponent("el-button"),l=g.resolveComponent("el-input"),f=g.resolveComponent("el-col"),d=g.resolveComponent("el-row"),p=g.resolveComponent("el-card"),h=g.resolveComponent("el-pagination"),m=g.resolveComponent("el-popover");return g.openBlock(),g.createBlock(m,{trigger:"click",width:300},{reference:g.withCtx(()=>[g.createVNode(s,null,{default:g.withCtx(()=>[g.createVNode(a,{icon:e.selectIcon},null,8,["icon"]),Sbe,g.createVNode(a,{icon:"arrow-down-s-line"})]),_:1})]),default:g.withCtx(()=>[g.createElementVNode("div",Dbe,[g.createVNode(d,null,{default:g.withCtx(()=>[g.createVNode(f,{span:18},{default:g.withCtx(()=>[g.createVNode(l,{modelValue:e.searchVal,"onUpdate:modelValue":t[0]||(t[0]=C=>e.searchVal=C),clearable:"",placeholder:"",onKeydown:g.withKeys(e.handleSearchIcon,["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),g.createVNode(f,{offset:1,span:4},{default:g.withCtx(()=>[g.createVNode(s,{type:"primary",onClick:e.handleSearchIcon},{default:g.withCtx(()=>[g.createTextVNode("\u67E5\u8BE2")]),_:1},8,["onClick"])]),_:1})]),_:1}),g.createVNode(d,{class:"icon-list",gutter:10},{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.listData,(C,$)=>(g.openBlock(),g.createBlock(f,{key:$,span:6},{default:g.withCtx(()=>[g.createVNode(p,{"body-style":{padding:"5px",textAlign:"center"},shadow:"hover",onClick:b=>e.handleSelectIcon(C)},{default:g.withCtx(()=>[g.createVNode(a,{icon:C,size:"30"},null,8,["icon"])]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),g.createVNode(d,{class:"pagination",justify:"center"},{default:g.withCtx(()=>[g.createVNode(f,{span:18},{default:g.withCtx(()=>[g.createVNode(h,{background:"","current-page":e.pagination.pageNo,layout:e.pagination.layout,"page-size":e.pagination.pageSize,total:e.pagination.total,onCurrentChange:e.handleCurrentChange,onSizeChange:e.handleSizeChange},null,8,["current-page","layout","page-size","total","onCurrentChange","onSizeChange"])]),_:1})]),_:1})])]),_:1})}const Abe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Ebe,[["render",xbe],["__scopeId","data-v-bfbf0d74"]])},Symbol.toStringTag,{value:"Module"})),_Se="",kbe=g.defineComponent({name:"JwtImage",inheritAttrs:!1,props:{fit:{type:String,default:"cover"},src:{type:String,default:""},type:{type:String,default:""},fillUrl:{type:Function,default:null}},emits:["table-action"],setup(e){const t=g.useAttrs(),n=i=>e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(i):i,r=g.computed(()=>n(e.src)),o=g.computed(()=>({search:"search-line",add:"add-circle-line",delete:"delete-bin-line"})[e.type]);return{attrs:t,imgPath:r,icon:o}}}),_be={key:0,class:"base-image-mask"};function Obe(e,t,n,r,o,i){const a=g.resolveComponent("el-image"),s=g.resolveComponent("jwt-icon");return g.openBlock(),g.createElementBlock("div",g.mergeProps({class:"base-image-wrapper"},e.attrs),[g.createVNode(a,g.mergeProps({fit:e.fit,"preview-src-list":[e.imgPath],"preview-teleported":"",src:e.imgPath},e.attrs),null,16,["fit","preview-src-list","src"]),e.icon?(g.openBlock(),g.createElementBlock("div",_be,[g.createVNode(s,{icon:e.icon,size:"36"},null,8,["icon"])])):g.createCommentVNode("",!0)],16)}const Bbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(kbe,[["render",Obe],["__scopeId","data-v-29cb1537"]])},Symbol.toStringTag,{value:"Module"})),BSe="",Tbe=g.defineComponent({name:"JwtInput",components:{},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:null},defaultBg:{type:String,default:"red"},changeBg:{type:String,default:"blue"},textColor:{type:String,default:""}},emits:["update:modelValue","blur"],setup(e,{emit:t}){const n=g.useAttrs(),r=g.reactive({oldVal:e.modelValue}),o=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),i=g.computed(()=>r.oldVal!==o.value),a=()=>{r.oldVal!==o.value&&(r.oldVal=o.value,t("blur",o.value))};return g.onMounted(()=>{}),{...g.toRefs(r),attrs:n,inputModel:o,newValDiffOldVal:i,handleBlur:a}}});function Fbe(e,t,n,r,o,i){const a=g.resolveComponent("el-input");return g.openBlock(),g.createBlock(a,g.mergeProps({modelValue:e.inputModel,"onUpdate:modelValue":t[0]||(t[0]=s=>e.inputModel=s),class:"input-change-style",style:{backgroundColor:`${e.newValDiffOldVal?e.changeBg:e.defaultBg}`,color:e.textColor}},e.attrs,{onBlur:e.handleBlur}),null,16,["modelValue","style","onBlur"])}const Pbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Tbe,[["render",Fbe],["__scopeId","data-v-04712864"]])},Symbol.toStringTag,{value:"Module"})),FSe="",Ibe=g.defineComponent({name:"JwtRateIcon",props:{modelValue:{type:[Number,String],default:0},size:{type:[Number,String],default:18},disabled:{type:Boolean,default:!1},voidIcon:{type:String,default:"star-line"},icon:{type:String,default:"star-fill"},color:{type:String,default:"#f7ba2a"},voidColor:{type:String,default:"#c6d1de"},max:{type:[Number,String],default:5}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=g.computed(()=>Math.min(+e.max,10)),r=g.reactive({activeIndex:e.modelValue,hoverIndex:e.modelValue});g.watchEffect(()=>{r.activeIndex=e.modelValue,r.hoverIndex=e.modelValue});const o=l=>{e.disabled||(r.hoverIndex=l+1)},i=()=>{e.disabled||(r.hoverIndex=r.activeIndex)},a=l=>{e.disabled||(r.activeIndex=l+1,r.hoverInde=l+1,t("update:modelValue",l+1),t("change",l+1))},s=()=>{e.disabled||(r.activeIndex=0,r.hoverInde=0,t("update:modelValue",0),t("change",0))};return{...g.toRefs(r),maxLenIcon:n,handleMouseenter:o,handleMouseleave:i,handleChange:a,handleDblclick:s}}}),Nbe={class:"base-rate-icon"};function Lbe(e,t,n,r,o,i){const a=g.resolveComponent("jwt-icon");return g.openBlock(),g.createElementBlock("div",Nbe,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.maxLenIcon,(s,l)=>(g.openBlock(),g.createBlock(a,{key:l,class:"mr5 cp",icon:e.hoverIndex>l?e.icon:e.voidIcon,style:g.normalizeStyle({fontSize:e.size+"px",color:e.hoverIndex>l?e.color:e.voidColor}),onClick:g.withModifiers(f=>e.handleChange(l),["stop"]),onDblclick:f=>e.handleDblclick(l),onMouseenter:f=>e.handleMouseenter(l),onMouseleave:e.handleMouseleave},null,8,["icon","style","onClick","onDblclick","onMouseenter","onMouseleave"]))),128))])}const Rbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Ibe,[["render",Lbe],["__scopeId","data-v-7df1a692"]])},Symbol.toStringTag,{value:"Module"})),ISe="",Mbe=g.defineComponent({name:"JwtSelectServer",components:{},props:{listApi:{type:String,default:""},searchKey:{type:String,default:"title"},labelKey:{type:String,default:"title"},valueKey:{type:String,default:"id"},avatarKey:{type:String,default:""},exParams:{type:Object,default:()=>{}},modelValue:{type:[String,Number,Array],default:""},searchValueKey:{type:Boolean,default:!1},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null}},emits:["update:modelValue","change","select"],setup(e,{emit:t}){const n=g.reactive({content:"",listData:[],searchVal:"",timer:null}),r=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),o=(s=!1)=>{const{listApi:l,searchKey:f,valueKey:d,searchValueKey:p}=e;if(!l)return;const h={sort:"id",order:"desc",per_page:100,...e.exParams};h[f]=n.searchVal,s&&p&&(h[d]=r.value||""),e.request({url:l,method:"get",params:h}).then(m=>{n.listData=m.data})},i=s=>{if(t("change",s),s){const{valueKey:l}=e,f=n.listData.find(d=>d[l]===s);t("select",f)}},a=s=>{n.searchVal=s,s?(clearTimeout(n.timer),n.timer=setTimeout(()=>{o()},500)):o()};return g.onMounted(()=>{setTimeout(()=>{o(!0)},50)}),{selectModel:r,...g.toRefs(n),handleSelectChange:i,remoteMethod:a,getDataList:o}}}),jbe={key:0,class:"fxm ptb10"},zbe=["src"],Vbe={class:"ml10"};function Ube(e,t,n,r,o,i){const a=g.resolveComponent("el-option"),s=g.resolveComponent("el-select");return g.openBlock(),g.createBlock(s,{modelValue:e.selectModel,"onUpdate:modelValue":t[0]||(t[0]=l=>e.selectModel=l),clearable:"",filterable:"",placeholder:"",remote:"","remote-method":e.remoteMethod,onChange:e.handleSelectChange},{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.listData,(l,f)=>(g.openBlock(),g.createBlock(a,{key:f,class:g.normalizeClass({"avatar-logo":e.avatarKey}),label:l[e.labelKey],value:l[e.valueKey]},{default:g.withCtx(()=>[e.avatarKey?(g.openBlock(),g.createElementBlock("div",jbe,[g.createElementVNode("img",{class:"w40 r100px",src:e.fillUrl(l[e.avatarKey])},null,8,zbe),g.createElementVNode("span",Vbe,g.toDisplayString(l[e.labelKey]),1)])):g.createCommentVNode("",!0)]),_:2},1032,["class","label","value"]))),128))]),_:1},8,["modelValue","remote-method","onChange"])}const Hbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Mbe,[["render",Ube]])},Symbol.toStringTag,{value:"Module"})),LSe="",RSe="",Wbe={"page-sizes":[10,20,30,40,50,100],"page-size":10,layout:"total, sizes, prev, pager, next, jumper"},qbe=g.defineComponent({name:"JwtTable",components:{},props:{config:{require:!0,type:Object,default:()=>{}},tableHeight:{type:[String,Number],default:null},request:{type:Function,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null},uploadUrl:{type:String,default:""},uploadRichTextUrl:{type:String,default:""},responseKey:{type:String,default:"relative_path"},userMenusAuth:{type:Object,default:()=>{}},route:{type:Object,default:()=>{}},router:{type:Object,default:()=>{}}},emits:["selection-change","list-change","header-action","table-action","add-handle","edit-handle","add-success","edit-success","delete-success","table-current-change","tablelist-change","get-detail-success","click-cell"],setup(e,{emit:t}){var ve,ae;const n=g.reactive({tableData:[],ajaxLoading:!1,submitLoading:!1,refreshTable:!1}),{proxy:r}=g.getCurrentInstance(),o=g.useSlots();let i=go.exports.merge({headerActions:{list:[]},headerActionsShow:!0,tableAttr:{stripe:!0,border:!0,fit:!0,highlightCurrentRow:!0},tableColumn:[],tableListApi:null,tableListParams:{},tableDeleteApi:null,tableDeleteParams:{},tableExportApi:"",tableExportPathKey:"",pagination:Wbe,showPagination:!0,editBox:{title:(e==null?void 0:e.translateTitle("\u7CFB\u7EDF"))||"\u7CFB\u7EDF",dialog:{width:"960px",top:"7vh"},form:{api:{add:null,update:null},formAttrs:{},formList:[]},footer:{confirm:{title:(e==null?void 0:e.translateTitle("\u786E\u8BA4"))||"\u786E\u8BA4",attrs:{type:"primary"}},cancel:{title:(e==null?void 0:e.translateTitle("\u53D6\u6D88"))||"\u53D6\u6D88",attrs:{}}}},tableDrawer:{}},e.config);const a=g.computed(()=>{var te;return(te=e==null?void 0:e.config)==null?void 0:te.tableColumn.map(pe=>(pe.isEdit=!!(pe.editType||pe.dateTimeFormat||pe.isImg),pe))}),s=g.reactive({currentPage:1,pageCount:1,pageSize:i.pagination["page-sizes"][0],totalCount:1,sort:((ve=i.tableListParams)==null?void 0:ve.sort)||"id",order:((ae=i.tableListParams)==null?void 0:ae.order)||"desc"}),l=g.reactive({title:"",type:"add",visible:!1,model:{},boxName:"editBox"}),f={"append-to-body":!0,size:"40%"},d=g.shallowReactive({attrs:{...f},visible:!1,headerSlotName:"",contentSlotName:"",footerSlotName:"",api:{},clickCellItem:{},descriptions:{},detailInfo:{},tabsAttrs:{},tabPaneList:[],activeName:""}),p=g.computed(()=>d.descriptionEdit?g.reactive(d.detailInfo):d.detailInfo),h=g.computed(()=>{var X;return((X=d.descriptions)==null?void 0:X.attrs)||{}}),m=g.computed(()=>{var X,te;return((te=(X=d.descriptions)==null?void 0:X.desColumns)==null?void 0:te.map(pe=>{const ye=p.value[pe.prop];return pe.value=rd(ye,pe.formatType,p.value,pe),pe.isEdit=!!(pe.editType||pe.dateTimeFormat||pe.isImg),pe}))||[]}),C=g.computed(()=>d.tabPaneList.find(te=>te.name===d.activeName)),$=g.computed(()=>{var X,te;return((te=(X=e.config)==null?void 0:X.headerActions)==null?void 0:te.list)||[]}),b=g.ref([]),w=g.ref({}),y=g.ref(null),S=g.computed(()=>{const{path:X}=e.route;return X||""}),x=g.computed(()=>e.userMenusAuth||{}),A=g.computed(()=>(e==null?void 0:e.translateTitle("\u52A0\u8F7D\u6570\u636E\u4E2D"))||"\u52A0\u8F7D\u6570\u636E\u4E2D..."),O=(X={})=>{const te=l.boxName,pe={};return i[te].form.formList.forEach(ye=>{var At,Dt,Bt;const{key:De,type:Le,startKey:Ve,endKey:ze,formAttrs:ft}=ye,It=(ft==null?void 0:ft.multiple)||!1,Ze=(ft==null?void 0:ft.valueType)||"";X[De]&&Le==="inputNumber"?pe[De]=+X[De]:It?Ht.isArray(X[De])||(Ze==="number"?pe[De]=X[De]?(Dt=(At=X[De])==null?void 0:At.split(","))==null?void 0:Dt.map(hn=>+hn):[]:pe[De]=X[De]?(Bt=X[De])==null?void 0:Bt.split(","):[]):Le==="datePickerRange"?y.value.setDatePickerRange([X[Ve],X[ze]]):pe[De]=X[De]===""||X[De]===void 0?ye.value:X[De]}),pe},T=()=>{const{query:X}=e.route;if(X.fromJump){for(let[pe,ye]of Object.entries(X))Ht.isArray(ye)&&(X[pe]=ye.map(De=>+De));const te={...w.value,...e.route.query};delete te.fromJump,w.value=te}z()},z=(X={})=>{var pe,ye;const te=go.exports.merge({},i.tableListParams,{page:s.currentPage,per_page:s.pageSize,sort:s.sort||((pe=i.tableListParams)==null?void 0:pe.sort)||"",order:s.order||((ye=i.tableListParams)==null?void 0:ye.order)||""},w.value,X);V(te)},V=X=>{if(!i.tableListApi){i.tableData&&(n.tableData=i.tableData);return}n.ajaxLoading=!0,e.request({url:i.tableListApi,method:"get",params:X}).then(te=>{n.tableData=te.data,s.pageCount=te.totalPage,s.totalCount=te.total,n.ajaxLoading=!1,t("tablelist-change")})},ue=()=>{s.currentPage=1,s.pageSize=i.pagination["page-sizes"][0];const X={page:1,per_page:i.pagination["page-sizes"][0]};w.value={},g.nextTick(()=>{z(X)})},oe=()=>{s.currentPage=1,s.pageSize=i.pagination["page-sizes"][0],z(w.value)},de=X=>{s.currentPage=X,z({page:X})},me=X=>{s.pageSize=X,z({per_page:X})},_e=X=>{b.value=X,t("selection-change",X)},Ee=({prop:X,order:te})=>{s.sort=X,s.order=te==="ascending"?"asc":"desc",z({sort:X,order:te==="ascending"?"asc":"desc"})},Be=X=>{t("table-current-change",X)},Fe=X=>{var ye,De,Le,Ve,ze,ft;const{code:te}=X,pe=((ye=i.headerActions)==null?void 0:ye[te])||((Le=(De=d==null?void 0:d.descriptions)==null?void 0:De.headerActions)==null?void 0:Le[te]);te.startsWith("add")?pe&&((Ve=pe==null?void 0:pe.type)==null?void 0:Ve.includes("editBox"))?(H("",pe),t("add-handle",b.value)):pe&&pe.type==="editRoute"?pe.jumpUrl&&((ze=e==null?void 0:e.router)==null||ze.push({path:pe.jumpUrl,query:pe.jumpParams})):t("add-handle",b.value):te.startsWith("delete")?pe&&pe.event?t(pe.event,b.value):Mn.ElMessageBox.confirm((e==null?void 0:e.translateTitle("\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED"))||"\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",{confirmButtonText:(e==null?void 0:e.translateTitle("\u786E\u5B9A"))||"\u786E\u5B9A",cancelButtonText:(e==null?void 0:e.translateTitle("\u53D6\u6D88"))||"\u53D6\u6D88",type:"warning",customClass:"elMessageBox-wrapper"}).then(()=>{const It=b.value.map(Ze=>Ze.id).join(",");L({id:It})}).catch(()=>{Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u53D6\u6D88\u64CD\u4F5C"))||"\u53D6\u6D88\u64CD\u4F5C\uFF01")}):te.startsWith("exportF")?Y():te.startsWith("importF")?q():pe&&((ft=pe==null?void 0:pe.type)==null?void 0:ft.includes("editBox"))?H("",pe):t("header-action",X,b.value,p.value)},je=(X,te,pe)=>{var Le,Ve,ze;const ye=pe.action[X.code],{code:De}=X;De.startsWith("edit")?ye&&((Le=ye==null?void 0:ye.type)==null?void 0:Le.includes("editBox"))?(H(te,ye),t("edit-handle",te)):ye&&ye.type==="editRoute"?ye.jumpUrl&&((Ve=e==null?void 0:e.router)==null||Ve.push({path:ye.jumpUrl,query:te})):t("edit-handle",te):De.startsWith("delete")?te&&te.event?t(te.event,b.value):Mn.ElMessageBox.confirm((e==null?void 0:e.translateTitle("\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED?"))||"\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",{confirmButtonText:(e==null?void 0:e.translateTitle("\u786E\u5B9A"))||"\u786E\u5B9A",cancelButtonText:(e==null?void 0:e.translateTitle("\u53D6\u6D88"))||"\u53D6\u6D88",type:"warning"}).then(()=>{L({id:te.id})}).catch(()=>{Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u53D6\u6D88\u64CD\u4F5C"))||"\u53D6\u6D88\u64CD\u4F5C\uFF01")}):ye&&ye.type==="editRoute"?e.router.push({path:ye.jumpUrl,query:te}):ye&&((ze=ye==null?void 0:ye.type)==null?void 0:ze.includes("editBox"))?H(te,ye):t("table-action",X,te)},Ue=async X=>{if(X==="confirm"){if(n.submitLoading=!0,!await y.value.formValidate()){n.submitLoading=!1;return}y.value.formSubmit()}X==="cancel"&&(l.visible=!1)},Oe=X=>{l.visible=!1,n.submitLoading=!1,t("list-change"),t("add-success",X),z()},Je=X=>{l.visible=!1,n.submitLoading=!1,t("list-change"),t("edit-success",X),z()},G=()=>{n.submitLoading=!1},H=(X,te)=>{const{editBoxName:pe}=te,ye=pe||"editBox";!e.config[ye]||(l.boxName=ye,l.visible=!0,l.model={},g.nextTick(()=>{var De,Le,Ve;X?(Ve=(Le=(De=i==null?void 0:i[ye])==null?void 0:De.form)==null?void 0:Le.api)!=null&&Ve.detail?I(X,ye):(l.model=O(X),l.model.id=X.id,l.title=i[ye].customTitle?e==null?void 0:e.translateTitle(i[ye].title):(e==null?void 0:e.translateTitle("\u7F16\u8F91"))||"\u7F16\u8F91"+(e==null?void 0:e.translateTitle(i[ye].title)),l.type="edit"):(l.model={},i.editBox.form.formList.forEach(ze=>{ze.value!==void 0&&(l.model[ze.key]=ze.value)}),l.title=i[ye].customTitle?e==null?void 0:e.translateTitle(i[ye].title):(e==null?void 0:e.translateTitle("\u65B0\u5EFA"))||"\u65B0\u5EFA"+(e==null?void 0:e.translateTitle(i[ye].title)),l.type="add")}))},I=(X,te)=>{const pe={id:X.id};e.request({url:i[te].form.api.detail,method:"get",params:pe}).then(ye=>{l.model=O(ye),l.model.id=ye.id,l.title=i[te].customTitle?i[te].title:(e==null?void 0:e.translateTitle("\u7F16\u8F91"))||"\u7F16\u8F91"+(e==null?void 0:e.translateTitle(i[te].title)),l.type="edit",t("get-detail-success",ye)})},L=X=>{e.request({url:i.tableDeleteApi,method:"post",data:X}).then(()=>{t("delete-success"),oe()})},Y=()=>{if(!i.tableExportApi){Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u5BFC\u51FA\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u5BFC\u51FA\u63A5\u53E3\uFF01");return}if(!n.tableData.length){Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u6682\u65E0\u6570\u636E\u53EF\u5BFC\u51FA\uFF01"))||"\u6682\u65E0\u6570\u636E\u53EF\u5BFC\u51FA\uFF01");return}const X=r.$baseColorfullLoading(0,(e==null?void 0:e.translateTitle("\u6B63\u5728\u4E0B\u8F7D\u4E2D"))||"\u6B63\u5728\u4E0B\u8F7D\u4E2D\u3002\u3002\u3002"),te=go.exports.merge({page:s.currentPage,per_page:s.pageSize,sort:s.sort,order:s.order},i.tableListParams,w.value);e.request({url:i.tableExportApi,method:"get",resType:i.tableExportPathKey?"":"blob",responseType:i.tableExportPathKey?"":"blob",timeout:120*1e3,params:te}).then(pe=>{let ye="";pe&&i.tableExportPathKey&&pe[i.tableExportPathKey]?ye=pe[i.tableExportPathKey]:ye=window.URL.createObjectURL(new Blob([pe]));let De=document.createElement("a");De.style.display="none",De.href=ye,De.setAttribute("download",`${i.tableExportName||(e==null?void 0:e.translateTitle("\u6587\u4EF6"))||"\u6587\u4EF6"}-${eu.default().format("YYYY-MM-DD")}`),document.body.appendChild(De),De.click(),X.close()})},q=()=>{if(!i.tableFileImportApi){Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u6587\u4EF6\u4E0A\u4F20\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u6587\u4EF6\u4E0A\u4F20\u63A5\u53E3\uFF01");return}},B=(X,te,pe=!0)=>{X[`isEdit${te.prop}`]=pe},ce=(X={},te={},pe="table")=>{var ft,It,Ze,At,Dt;const{id:ye}=X,{prop:De}=te;if(!ye)return;var Le={id:ye};Le[De]=X[De];const Ve={table:{url:i.tableUpdateApi,des:"tableUpdateApi"},drawDes:{url:((ft=d==null?void 0:d.api)==null?void 0:ft.update)||((Ze=(It=d==null?void 0:d.descriptions)==null?void 0:It.api)==null?void 0:Ze.update)||((Dt=(At=i.tableDrawer)==null?void 0:At.api)==null?void 0:Dt.update),des:"drawerConfig.api.update || appConfig.tableDrawer.api.update"}};let ze=Ve[pe].url;if(!ze)return Mn.ElMessage.info(`${(e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u7F16\u8F91\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u7F16\u8F91\u63A5\u53E3\uFF01"}${Ve[pe].des}`);e.request({url:ze,method:"post",data:Le}).then(()=>{X[`isEdit${De}`]=!1,pe==="drawDes"&&(n.refreshTable=!0)})},ge=(X="",te={},pe="id",ye="id")=>{if(!X)return Mn.ElMessage.info(`${(e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u8BE6\u60C5\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u8BE6\u60C5\u63A5\u53E3\uFF01"}`);const De={};De[pe]=bb(ye,te),e.request({url:X,method:"get",params:De}).then(Le=>{d.detailInfo=Le})},Ae=(X,te)=>{var pe,ye,De,Le,Ve,ze,ft,It,Ze,At,Dt,Bt,hn,Xt,gn,Ar,Mr,er,cr,kr,fr,wr,tr,oo,ui,io,zi,No;if(t("click-cell",X,te),te.drawerConfig){d.headerSlotName=(pe=te==null?void 0:te.drawerConfig)==null?void 0:pe.headerSlotName,d.contentSlotName=(ye=te==null?void 0:te.drawerConfig)==null?void 0:ye.contentSlotName,d.footerSlotName=(De=te==null?void 0:te.drawerConfig)==null?void 0:De.footerSlotName;const ao=(Le=te==null?void 0:te.drawerConfig)==null?void 0:Le.desListName;ao&&i.tableDrawer[ao]&&(d.descriptions=i.tableDrawer[ao],(ze=(Ve=i.tableDrawer[ao])==null?void 0:Ve.desColumns)!=null&&ze.length&&(d.descriptionEdit=(It=(ft=i.tableDrawer[ao])==null?void 0:ft.desColumns)==null?void 0:It.some(so=>!!so.editType))),d.attrs=go.exports.merge(f,((Ze=te.drawerConfig)==null?void 0:Ze.attrs)||{}),d.api=go.exports.merge({},((At=te.drawerConfig)==null?void 0:At.api)||{}),d.clickCellItem=te;const jr=(Dt=te==null?void 0:te.drawerConfig)==null?void 0:Dt.tabPaneName;jr&&i.tableDrawer[jr]&&(d.tabPaneList=((Bt=i==null?void 0:i.tableDrawer[jr])==null?void 0:Bt.tabPaneList)||[],d.activeName=((hn=i==null?void 0:i.tableDrawer[jr])==null?void 0:hn.activeName)||((gn=(Xt=i==null?void 0:i.tableDrawer[jr])==null?void 0:Xt.tabPaneList[0])==null?void 0:gn.name),d.tabsAttrs=((Ar=i==null?void 0:i.tableDrawer[jr])==null?void 0:Ar.tabsAttrs)||{});const li=((er=(Mr=te==null?void 0:te.drawerConfig)==null?void 0:Mr.api)==null?void 0:er.detail)||((kr=(cr=i.tableDrawer)==null?void 0:cr.api)==null?void 0:kr.detail),Lo=((wr=(fr=te==null?void 0:te.drawerConfig)==null?void 0:fr.api)==null?void 0:wr.searchKey)||((oo=(tr=i.tableDrawer)==null?void 0:tr.api)==null?void 0:oo.searchKey),Rs=((io=(ui=te==null?void 0:te.drawerConfig)==null?void 0:ui.api)==null?void 0:io.valueKey)||((No=(zi=i.tableDrawer)==null?void 0:zi.api)==null?void 0:No.valueKey);d.detailInfo=X,li&&ge(li,X,Lo,Rs),g.nextTick(()=>{d.visible=!0})}},j=()=>{n.refreshTable&&(z(),n.refreshTable=!1),d.visible=!1};return g.watch(e,X=>{i=go.exports.merge(i,X.config),X.config.tableData&&(n.tableData=X.config.tableData||[])}),g.onBeforeMount(()=>{T()}),{slots:o,...g.toRefs(n),currentPagePath:S,appConfig:i,pagination:s,editBoxInfo:l,tableDrawerConfig:d,selectionRow:b,tableSearchModel:w,editBoxRef:y,dayjs:eu.default,userMenusAuthObj:x,loadingText:A,appTableColumn:a,drawerTopDesAttrs:h,drawerTopDesColumns:m,currentComponent:C,headerActionList:$,tableDrawerDetailInfo:p,onSearchSubmit:oe,onSearchReset:ue,handleEdit:H,handleCurrentChange:de,handleSizeChange:me,handleSelectionChange:_e,handleTableCurrentChange:Be,handleSortChange:Ee,handleHeaderAction:Fe,handleTableAction:je,handleGetDetail:I,handleBox:Ue,filterVal:rd,initSearch:T,handleAddSuccess:Oe,handleEditSuccess:Je,handleEditRow:B,handleEditRowProp:ce,handleError:G,handleImportRequest:q,handleClickRow:Ae,handleCloseDrawer:j}}}),Gbe={class:"app-table-wrapper"},Kbe={class:"table-header-wrapper fx"},Ybe={class:"fx pr10"},Jbe=["onClick"],Xbe={class:"fxr"},Zbe={class:"dialog-footer"},Qbe=["onClick"];function e2e(e,t,n,r,o,i){var A,O,T,z;const a=g.resolveComponent("jwt-form"),s=g.resolveComponent("jwt-header-button"),l=g.resolveComponent("jwt-table-button"),f=g.resolveComponent("jwt-column-item"),d=g.resolveComponent("el-table-column"),p=g.resolveComponent("el-table"),h=g.resolveComponent("el-pagination"),m=g.resolveComponent("el-button"),C=g.resolveComponent("el-dialog"),$=g.resolveComponent("el-descriptions-item"),b=g.resolveComponent("el-descriptions"),w=g.resolveComponent("el-card"),y=g.resolveComponent("jwt-tabs"),S=g.resolveComponent("el-drawer"),x=g.resolveDirective("loading");return g.openBlock(),g.createElementBlock(g.Fragment,null,[g.createElementVNode("div",Gbe,[g.renderSlot(e.$slots,"search-before",{},void 0,!0),g.createElementVNode("div",Kbe,[(T=(O=(A=e.appConfig)==null?void 0:A.tableSearch)==null?void 0:O.formList)!=null&&T.length?(g.openBlock(),g.createBlock(a,{key:0,modelValue:e.tableSearchModel,"onUpdate:modelValue":t[0]||(t[0]=V=>e.tableSearchModel=V),class:"app-table-search",config:e.appConfig.tableSearch,"fill-url":e.fillUrl,request:e.request,"response-key":e.responseKey,"translate-title":e.translateTitle,"upload-img-url":e.uploadUrl,"upload-rich-text-url":e.uploadRichTextUrl,onReset:e.onSearchReset,onSubmit:e.onSearchSubmit},null,8,["modelValue","config","fill-url","request","response-key","translate-title","upload-img-url","upload-rich-text-url","onReset","onSubmit"])):g.createCommentVNode("",!0)]),g.createElementVNode("div",Ybe,[g.renderSlot(e.$slots,"header-button-before",{},void 0,!0),e.appConfig.headerActionsShow?(g.openBlock(),g.createBlock(s,{key:0,"action-list":e.headerActionList,"current-path":e.currentPagePath,"file-import-api":e.appConfig.tableFileImportApi,loading:e.ajaxLoading,"menus-obj":e.userMenusAuth,"selection-row":e.selectionRow,onHeaderAction:e.handleHeaderAction},null,8,["action-list","current-path","file-import-api","loading","menus-obj","selection-row","onHeaderAction"])):g.createCommentVNode("",!0),g.renderSlot(e.$slots,"header-button-after",{},void 0,!0)]),g.renderSlot(e.$slots,"table-before",{},void 0,!0),g.withDirectives((g.openBlock(),g.createBlock(p,g.mergeProps(e.appConfig.tableAttr,{ref:"tableRef",class:"mt15",data:e.tableData,"element-loading-spinner":"el-icon-loading","element-loading-text":e.loadingText,height:e.tableHeight,onCurrentChange:e.handleTableCurrentChange,onSelectionChange:e.handleSelectionChange,onSortChange:e.handleSortChange}),{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.appTableColumn,(V,ue)=>(g.openBlock(),g.createBlock(d,{key:ue,align:V.align||"center",fixed:V.fixed,label:e.translateTitle(V==null?void 0:V.label)||(V==null?void 0:V.label),"min-width":V.minWidth?V.minWidth:null,prop:V.prop,sortable:V.sortable,type:V.type,width:V.width?V.width:null},g.createSlots({_:2},[V.type?void 0:{name:"default",fn:g.withCtx(({row:oe,$index:de})=>[V.action?(g.openBlock(),g.createElementBlock(g.Fragment,{key:0},[g.renderSlot(e.$slots,"action-before",{scope:oe},void 0,!0),g.createVNode(l,{config:V,"current-path":e.currentPagePath,"menus-obj":e.userMenusAuthObj,row:oe,"show-button-num":e.appConfig.tableButtonNum,onTableAction:me=>e.handleTableAction(me,oe,V)},null,8,["config","current-path","menus-obj","row","show-button-num","onTableAction"]),g.renderSlot(e.$slots,"action-after",{scope:oe},void 0,!0)],64)):g.renderSlot(e.$slots,V.prop,{key:1,index:ue,scope:oe},()=>[V.isEdit?(g.openBlock(),g.createBlock(f,{key:0,"fill-url":e.fillUrl,index:de,item:V,row:oe,"upload-url":e.uploadUrl,onChange:e.handleEditRowProp,onClickCell:e.handleClickRow},null,8,["fill-url","index","item","row","upload-url","onChange","onClickCell"])):(g.openBlock(),g.createElementBlock("div",{key:1,class:"dl",onClick:me=>e.handleClickRow(oe,V)},[V.preUnit?(g.openBlock(),g.createElementBlock("span",{key:0,class:g.normalizeClass(V.preUnitCls)},g.toDisplayString(V.preUnit),3)):g.createCommentVNode("",!0),g.createElementVNode("span",{class:g.normalizeClass(V.class)},g.toDisplayString(e.filterVal(oe[V.prop],"",oe,V)),3),V.sufUnit?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(V.sufUnitCls)},g.toDisplayString(V.sufUnit),3)):g.createCommentVNode("",!0)],8,Jbe))],!0)]),key:"0"}]),1032,["align","fixed","label","min-width","prop","sortable","type","width"]))),128))]),_:3},16,["data","element-loading-text","height","onCurrentChange","onSelectionChange","onSortChange"])),[[x,e.ajaxLoading]]),g.createElementVNode("div",Xbe,[e.appConfig.showPagination?(g.openBlock(),g.createBlock(h,g.mergeProps({key:0},e.appConfig.pagination,{class:"app-pagination","current-page":e.pagination.currentPage,disabled:e.ajaxLoading,"page-count":e.pagination.pageCount,"page-size":e.pagination.pageSize,total:e.pagination.totalCount,onCurrentChange:e.handleCurrentChange,onSizeChange:e.handleSizeChange}),null,16,["current-page","disabled","page-count","page-size","total","onCurrentChange","onSizeChange"])):g.createCommentVNode("",!0)])]),g.createVNode(C,g.mergeProps({modelValue:e.editBoxInfo.visible,"onUpdate:modelValue":t[2]||(t[2]=V=>e.editBoxInfo.visible=V)},e.appConfig[e.editBoxInfo.boxName].dialog,{"append-to-body":"",center:"",class:"jwt-dialog-wrapper","destroy-on-close":"","lock-scroll":"",title:e.editBoxInfo.title}),g.createSlots({default:g.withCtx(()=>[e.editBoxInfo.visible?(g.openBlock(),g.createBlock(a,{key:0,ref:"editBoxRef",modelValue:e.editBoxInfo.model,"onUpdate:modelValue":t[1]||(t[1]=V=>e.editBoxInfo.model=V),config:e.appConfig[e.editBoxInfo.boxName].form,"fill-url":e.fillUrl,request:e.request,"response-key":e.responseKey,"translate-title":e.translateTitle,"upload-img-url":e.uploadUrl,"upload-rich-text-url":e.uploadRichTextUrl,onAddSuccess:e.handleAddSuccess,onEditSuccess:e.handleEditSuccess,onError:e.handleError},g.createSlots({_:2},[g.renderList(e.appConfig[e.editBoxInfo.boxName].form.formList,V=>({name:V.name,fn:g.withCtx(()=>[g.renderSlot(e.$slots,V.name,{model:e.editBoxInfo.model},void 0,!0)])}))]),1032,["modelValue","config","fill-url","request","response-key","translate-title","upload-img-url","upload-rich-text-url","onAddSuccess","onEditSuccess","onError"])):g.createCommentVNode("",!0)]),_:2},[(z=e.appConfig[e.editBoxInfo.boxName])!=null&&z.footer?{name:"footer",fn:g.withCtx(()=>[g.createElementVNode("div",Zbe,[g.renderSlot(e.$slots,"dialog-footer-before",{model:e.editBoxInfo.model},void 0,!0),(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.appConfig[e.editBoxInfo.boxName].footer,(V,ue)=>(g.openBlock(),g.createBlock(m,g.mergeProps(V.attrs,{key:ue,loading:e.submitLoading,onClick:oe=>e.handleBox(V.action)}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(e.translateTitle(V.title)||V.title),1)]),_:2},1040,["loading","onClick"]))),128)),g.renderSlot(e.$slots,"dialog-footer-after",{model:e.editBoxInfo.model},void 0,!0)])]),key:"0"}:void 0]),1040,["modelValue","title"]),g.createVNode(S,g.mergeProps({modelValue:e.tableDrawerConfig.visible,"onUpdate:modelValue":t[3]||(t[3]=V=>e.tableDrawerConfig.visible=V)},e.tableDrawerConfig.attrs,{onClose:e.handleCloseDrawer}),{header:g.withCtx(()=>[g.renderSlot(e.$slots,e.tableDrawerConfig.headerSlotName,{scope:e.tableDrawerDetailInfo},void 0,!0)]),default:g.withCtx(()=>{var V;return[e.drawerTopDesColumns.length?(g.openBlock(),g.createBlock(w,{key:0},{default:g.withCtx(()=>{var ue;return[g.createVNode(b,g.mergeProps(e.drawerTopDesAttrs,{class:"mb15",title:e.translateTitle((ue=e.drawerTopDesAttrs)==null?void 0:ue.title)||""}),{title:g.withCtx(()=>{var oe,de;return[g.renderSlot(e.$slots,((de=(oe=e.tableDrawerConfig)==null?void 0:oe.descriptions)==null?void 0:de.titleSlotName)||"",{scope:e.tableDrawerDetailInfo},void 0,!0)]}),extra:g.withCtx(()=>{var oe,de;return[g.renderSlot(e.$slots,((de=(oe=e.tableDrawerConfig)==null?void 0:oe.descriptions)==null?void 0:de.extraSlotName)||"",{scope:e.tableDrawerDetailInfo},()=>{var me,_e,Ee,Be,Fe,je;return[(Ee=(_e=(me=e.tableDrawerConfig)==null?void 0:me.descriptions)==null?void 0:_e.headerActions)!=null&&Ee.list.length?(g.openBlock(),g.createBlock(s,{key:0,"action-list":(je=(Fe=(Be=e.tableDrawerConfig)==null?void 0:Be.descriptions)==null?void 0:Fe.headerActions)==null?void 0:je.list,"current-path":e.currentPagePath,"file-import-api":e.appConfig.tableFileImportApi,loading:e.ajaxLoading,"menus-obj":e.userMenusAuth,"selection-row":e.selectionRow,onHeaderAction:e.handleHeaderAction},null,8,["action-list","current-path","file-import-api","loading","menus-obj","selection-row","onHeaderAction"])):g.createCommentVNode("",!0)]},!0)]}),default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.drawerTopDesColumns,(oe,de)=>(g.openBlock(),g.createBlock($,g.mergeProps({key:de},oe,{label:e.translateTitle(oe.label)}),{default:g.withCtx(()=>[g.renderSlot(e.$slots,oe.prop,{index:de,scope:e.tableDrawerDetailInfo},()=>[oe.isEdit?(g.openBlock(),g.createBlock(f,{key:0,"fill-url":e.fillUrl,index:de,item:oe,row:e.tableDrawerDetailInfo,"upload-url":e.uploadUrl,onChange:me=>e.handleEditRowProp(e.tableDrawerDetailInfo,oe,"drawDes"),onClickCell:e.handleClickRow},null,8,["fill-url","index","item","row","upload-url","onChange","onClickCell"])):(g.openBlock(),g.createElementBlock("div",{key:1,class:"dl",onClick:me=>e.handleClickRow(e.tableDrawerDetailInfo,oe)},[oe.preUnit?(g.openBlock(),g.createElementBlock("span",{key:0,class:g.normalizeClass(oe.preUnitCls)},g.toDisplayString(oe.preUnit),3)):g.createCommentVNode("",!0),g.createElementVNode("span",{class:g.normalizeClass(oe.class)},g.toDisplayString(e.filterVal(e.tableDrawerDetailInfo[oe.prop],"",e.tableDrawerDetailInfo,oe)),3),oe.sufUnit?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(oe.sufUnitCls)},g.toDisplayString(oe.sufUnit),3)):g.createCommentVNode("",!0)],8,Qbe))],!0)]),_:2},1040,["label"]))),128))]),_:3},16,["title"])]}),_:3})):g.createCommentVNode("",!0),g.renderSlot(e.$slots,"drawer-content-before",{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},void 0,!0),g.renderSlot(e.$slots,(V=e.tableDrawerConfig)==null?void 0:V.contentSlotName,{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},()=>[e.tableDrawerConfig.tabPaneList.length?(g.openBlock(),g.createBlock(y,{key:0,config:e.tableDrawerConfig,info:e.tableDrawerDetailInfo,"translate-title":e.translateTitle},null,8,["config","info","translate-title"])):g.createCommentVNode("",!0)],!0),g.renderSlot(e.$slots,"drawer-content-after",{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},void 0,!0),g.renderSlot(e.$slots,"drawerCoustom",{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},void 0,!0)]}),footer:g.withCtx(()=>{var V;return[g.renderSlot(e.$slots,(V=e.tableDrawerConfig)==null?void 0:V.footerSlotName,{scope:e.tableDrawerDetailInfo},void 0,!0)]}),_:3},16,["modelValue","onClose"])],64)}const t2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(qbe,[["render",e2e],["__scopeId","data-v-11ec38e8"]])},Symbol.toStringTag,{value:"Module"})),n2e=g.defineComponent({name:"JwtTableButton",props:{currentPath:{type:String,default:"/"},menusObj:{type:Object,default:()=>{}},config:{type:Object,default:()=>{}},row:{type:Object,default:()=>{}},operationName:{type:String,default:"operations"},showButtonNum:{type:Number,default:2}},emits:["table-action"],setup(e,{emit:t}){const{currentPath:n,menusObj:r,operationName:o}=e,i=g.computed(()=>{var l;return((l=e.config)==null?void 0:l.action)||{}});return{tableButtonActions:g.computed(()=>{var d,p,h;const l=r[n],f=((p=(d=e==null?void 0:e.config)==null?void 0:d.action)==null?void 0:p.list)||[];return(h=l==null?void 0:l[o])!=null&&h.length?l[o].filter(m=>{var $,b,w,y;let C=m.show_table;if(f!=null&&f.length){const{code:S}=m;C=C&&f.includes(S)}return((b=($=i==null?void 0:i.value)==null?void 0:$[m.code])==null?void 0:b.condition)&&Ht.isFunction(i.value[m.code].condition)&&(C=C&&i.value[m.code].condition(e.row)),((y=(w=i==null?void 0:i.value)==null?void 0:w[m.code])==null?void 0:y.disabledFun)&&Ht.isFunction(i.value[m.code].disabledFun)&&(m.disabled=i.value[m.code].disabledFun(e.row)),C}):[]}),handleTableAction:l=>{t("table-action",l)}}}}),r2e={class:"table-actions"},o2e={class:"fx fxwp"};function i2e(e,t,n,r,o,i){const a=g.resolveComponent("el-button"),s=g.resolveComponent("vab-icon"),l=g.resolveComponent("el-popover");return g.openBlock(),g.createElementBlock("div",r2e,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.tableButtonActions,(f,d)=>(g.openBlock(),g.createElementBlock(g.Fragment,{key:d},[e.showButtonNum&&d<e.showButtonNum?(g.openBlock(),g.createBlock(a,{key:0,class:g.normalizeClass([f.code.includes("delete")?"cd":""]),disabled:f.disabled,link:"",size:"small",type:"primary",onClick:p=>e.handleTableAction(f)},{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["class","disabled","onClick"])):g.createCommentVNode("",!0)],64))),128)),e.showButtonNum&&e.tableButtonActions.length>e.showButtonNum?(g.openBlock(),g.createBlock(l,{key:0,placement:"bottom",trigger:"hover",width:150},{reference:g.withCtx(()=>[g.createVNode(s,{class:"ml5",icon:"more-fill"})]),default:g.withCtx(()=>[g.createElementVNode("div",o2e,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.tableButtonActions,(f,d)=>(g.openBlock(),g.createElementBlock("div",{key:d},[g.createVNode(a,{class:g.normalizeClass([f.code.includes("delete")?"cd":""]),disabled:f.disabled,link:"",size:"small",type:"primary",onClick:p=>e.handleTableAction(f)},{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["class","disabled","onClick"])]))),128))])]),_:1})):g.createCommentVNode("",!0)])}const a2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(n2e,[["render",i2e]])},Symbol.toStringTag,{value:"Module"})),zSe="",s2e={"page-sizes":[10,20,30,40,50,100],"page-size":10,layout:"total, sizes, prev, pager, next, jumper"},u2e=g.defineComponent({name:"JwtTableOnly",components:{},props:{config:{require:!0,type:Object,default:()=>{}},tableHeight:{type:[String,Number],default:null},request:{type:Function,require:!0,default:()=>{}},uploadUrl:{type:String,default:""},fillUrl:{type:Function,default:null},userMenusAuth:{type:Object,default:()=>{}}},emits:["selection-change","list-change","header-action","table-action","add-handle","edit-handle","add-success","edit-success","delete-success","table-current-change","tablelist-change","get-detail-success"],setup(e,{emit:t}){const n=g.reactive({tableData:[],ajaxLoading:!1,submitLoading:!1});let r=g.reactive(go.exports.merge({tableAttr:{stripe:!0,border:!0,fit:!0,highlightCurrentRow:!0},tableColumn:[],tableListApi:null,tableListParams:{},tableDeleteApi:null,tableDeleteParams:{},pagination:s2e,showPagination:!0},e.config));const o=g.reactive({currentPage:1,pageCount:1,pageSize:r.pagination["page-sizes"][0],totalCount:1,sort:"id",order:"desc"}),i=g.ref([]),a=g.ref({}),s=g.ref(null),l=g.computed(()=>e.userMenusAuth||{}),f=()=>{d()},d=()=>{const T=go.exports.merge({page:o.currentPage,per_page:o.pageSize,sort:o.sort,order:o.order},r.tableListParams,a.value);p(T)},p=T=>{if(!r.tableListApi){r.tableData&&(n.tableData=r.tableData);return}n.ajaxLoading=!0,e.request({url:r.tableListApi,method:"get",params:T}).then(z=>{n.tableData=z.data,o.pageCount=z.totalPage,o.totalCount=z.total,n.ajaxLoading=!1,t("tablelist-change")})},h=()=>{o.currentPage=1,o.pageSize=r.pagination["page-sizes"][0],d()},m=()=>{o.currentPage=1,o.pageSize=r.pagination["page-sizes"][0],d(a.value)},C=T=>{o.currentPage=T,d()},$=T=>{o.pageSize=T,d()},b=(T,z="")=>T===null||T===""||T===void 0?"-":z?eu.default(T).format(z):T,w=T=>{i.value=T,t("selection-change",T)},y=({prop:T,order:z})=>{o.sort=T,o.order=z==="ascending"?"asc":"desc",d()},S=T=>{t("table-current-change",T)},x=(T,z,V=!0)=>{T[`isEdit${z.prop}`]=V},A=(T,z)=>{const{id:V}=T,{prop:ue}=z;if(!!V){var oe={id:V};if(oe[ue]=T[ue],!r.tableUpdateApi)return Mn.ElMessage.info("\u8BF7\u914D\u7F6E\u7F16\u8F91\u63A5\u53E3\uFF01tableUpdateApi");e.request({url:r.tableUpdateApi,method:"post",data:oe}).then(()=>{T[`isEdit${ue}`]=!1})}},O=T=>e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(T):T;return g.watch(e,T=>{r=go.exports.merge(r,T.config),T.config.tableData&&(n.tableData=T.config.tableData||[])}),g.onBeforeMount(()=>{f()}),{...g.toRefs(n),appConfig:r,pagination:o,selectionRow:i,tableSearchModel:a,editBoxRef:s,dayjs:eu.default,userMenusAuthObj:l,onSearchSubmit:m,onSearchReset:h,handleCurrentChange:C,handleSizeChange:$,handleSelectionChange:w,handleTableCurrentChange:S,handleSortChange:y,filterVal:b,initSearch:f,handleEditRow:x,handleEditRowProp:A,handleFillUrl:O}}}),l2e={class:"app-table-wrapper"},c2e=["onDblclick"],f2e={class:"image-slot wh fxmc"},d2e={class:"fxr"};function p2e(e,t,n,r,o,i){const a=g.resolveComponent("el-input"),s=g.resolveComponent("el-input-number"),l=g.resolveComponent("jwt-upload-image"),f=g.resolveComponent("el-switch"),d=g.resolveComponent("jwt-icon"),p=g.resolveComponent("el-image"),h=g.resolveComponent("el-table-column"),m=g.resolveComponent("el-table"),C=g.resolveComponent("el-pagination"),$=g.resolveDirective("loading");return g.openBlock(),g.createElementBlock("div",l2e,[g.renderSlot(e.$slots,"table-before",{},void 0,!0),g.withDirectives((g.openBlock(),g.createBlock(m,g.mergeProps(e.appConfig.tableAttr,{ref:"tableRef",class:"mt15",data:e.tableData,"element-loading-spinner":"el-icon-loading","element-loading-text":"\u52A0\u8F7D\u6570\u636E\u4E2D...",height:e.tableHeight,onCurrentChange:e.handleTableCurrentChange,onSelectionChange:e.handleSelectionChange,onSortChange:e.handleSortChange}),{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.appConfig.tableColumn,(b,w)=>(g.openBlock(),g.createBlock(h,{key:w,align:b.align||"center",fixed:b.fixed,label:b.label,"min-width":b.minWidth?b.minWidth:null,prop:b.prop,sortable:b.sortable,type:b.type,width:b.width?b.width:null},g.createSlots({_:2},[b.type?void 0:{name:"default",fn:g.withCtx(({row:y,$index:S})=>[b.dateTimeFormat?(g.openBlock(),g.createElementBlock(g.Fragment,{key:0},[g.createTextVNode(g.toDisplayString(e.filterVal(y[b.prop],b.dateTimeFormat)),1)],64)):b.editType?(g.openBlock(),g.createElementBlock(g.Fragment,{key:1},[b.editType==="input"?(g.openBlock(),g.createBlock(a,{key:0,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,type:"text",onKeydown:g.withKeys(x=>e.handleEditRowProp(y,b),["enter"])},null,8,["modelValue","onUpdate:modelValue","onKeydown"])):b.editType==="inputNumber"?(g.openBlock(),g.createBlock(s,{key:1,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,"controls-position":"right",min:0,onBlur:x=>e.handleEditRowProp(y,b)},null,8,["modelValue","onUpdate:modelValue","onBlur"])):b.editType==="uploadImg"?(g.openBlock(),g.createBlock(l,{key:2,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,"fill-url":e.fillUrl,"upload-url":e.uploadUrl,onOnChange:x=>e.handleEditRowProp(y,b)},null,8,["modelValue","onUpdate:modelValue","fill-url","upload-url","onOnChange"])):b.editType==="switch"?(g.openBlock(),g.createBlock(f,{key:3,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,"active-value":1,"inactive-value":0,onChange:x=>e.handleEditRowProp(y,b)},null,8,["modelValue","onUpdate:modelValue","onChange"])):g.createCommentVNode("",!0)],64)):b.editInput?(g.openBlock(),g.createElementBlock(g.Fragment,{key:2},[g.withDirectives(g.createElementVNode("div",{onDblclick:x=>e.handleEditRow(y,b)},g.toDisplayString(e.filterVal(y[b.prop])),41,c2e),[[g.vShow,!y[`isEdit${b.prop}`]]]),g.withDirectives(g.createVNode(a,{modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,type:"text",onBlur:x=>e.handleEditRowProp(y,b),onKeyup:g.withKeys(x=>e.handleEditRowProp(y,b),["enter"])},null,8,["modelValue","onUpdate:modelValue","onBlur","onKeyup"]),[[g.vShow,y[`isEdit${b.prop}`]]])],64)):b.isImg?(g.openBlock(),g.createBlock(p,{key:3,"preview-src-list":[e.handleFillUrl(y[b.prop])],"preview-teleported":"",size:80,src:e.handleFillUrl(y[b.prop]),teleported:""},{error:g.withCtx(()=>[g.createElementVNode("div",f2e,[g.createVNode(d,{class:"g9",icon:"image-line",style:{"font-size":"40px"}})])]),_:2},1032,["preview-src-list","src"])):g.renderSlot(e.$slots,b.prop,{key:4,index:S,scope:y},()=>[g.createTextVNode(g.toDisplayString(e.filterVal(y[b.prop])),1)],!0)]),key:"0"}]),1032,["align","fixed","label","min-width","prop","sortable","type","width"]))),128))]),_:3},16,["data","height","onCurrentChange","onSelectionChange","onSortChange"])),[[$,e.ajaxLoading]]),g.createElementVNode("div",d2e,[e.appConfig.showPagination?(g.openBlock(),g.createBlock(C,g.mergeProps({key:0},e.appConfig.pagination,{class:"app-pagination","current-page":e.pagination.currentPage,disabled:e.ajaxLoading,"page-count":e.pagination.pageCount,"page-size":e.pagination.pageSize,total:e.pagination.totalCount,onCurrentChange:e.handleCurrentChange,onSizeChange:e.handleSizeChange}),null,16,["current-page","disabled","page-count","page-size","total","onCurrentChange","onSizeChange"])):g.createCommentVNode("",!0)])])}const h2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(u2e,[["render",p2e],["__scopeId","data-v-8542559f"]])},Symbol.toStringTag,{value:"Module"})),g2e=g.defineComponent({name:"JwtTabs",props:{config:{type:Object,require:!0,default:()=>{}},info:{type:Object,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}}},emits:["tab-click"],setup(e,{emit:t}){var i,a,s;const n=g.ref(((i=e.config)==null?void 0:i.activeName)||((s=(a=e.config)==null?void 0:a.tabPaneList[0])==null?void 0:s.name)),r=g.computed(()=>e.config.tabPaneList.find(f=>f.name===n.value)),o=(l,f)=>{t("tab-click",l,f)};return g.onBeforeMount(()=>{}),{activeName:n,currentComponent:r,handleClick:o}}});function m2e(e,t,n,r,o,i){var l;const a=g.resolveComponent("el-tab-pane"),s=g.resolveComponent("el-tabs");return g.openBlock(),g.createBlock(s,g.mergeProps({modelValue:e.activeName,"onUpdate:modelValue":t[0]||(t[0]=f=>e.activeName=f)},(l=e.config)==null?void 0:l.tabsAttrs,{onTabClick:e.handleClick}),{default:g.withCtx(()=>{var f,d;return[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList((f=e.config)==null?void 0:f.tabPaneList,(p,h)=>(g.openBlock(),g.createBlock(a,g.mergeProps({key:h},p,{label:e.translateTitle(p.label)}),null,16,["label"]))),128)),(g.openBlock(),g.createBlock(g.KeepAlive,null,[(g.openBlock(),g.createBlock(g.resolveDynamicComponent(e.currentComponent.component),{info:e.info,params:((d=e.currentComponent)==null?void 0:d.params)||{}},null,8,["info","params"]))],1024))]}),_:1},16,["modelValue","onTabClick"])}const v2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(g2e,[["render",m2e]])},Symbol.toStringTag,{value:"Module"})),HSe="",y2e=g.defineComponent({name:"JwtTags",props:{modelValue:{type:[String,Array],default:""},btnTitle:{type:String,default:"\u6DFB\u52A0"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=g.ref(null),r=g.reactive({tagList:[],inputVisible:!1,inputValue:"",initOnce:!1}),o=()=>{var d;if(r.initOnce)return;let f=[];return e.modelValue&&Ht.isString(e.modelValue)&&(f=(d=e==null?void 0:e.modelValue)==null?void 0:d.split(",")),r.initOnce=!0,f};g.watch(()=>e.modelValue,f=>{r.initOnce||(f?r.tagList=o():r.tagList=[])},{immediate:!0});const i=()=>{r.inputVisible=!0,g.nextTick(()=>{var f,d;(d=(f=n.value)==null?void 0:f.input)==null||d.focus()})},a=f=>{r.tagList.splice(r.tagList.indexOf(f),1),s()},s=()=>{const f=r.tagList.join(",");t("update:modelValue",f)},l=()=>{r.inputValue&&r.tagList.push(r.inputValue),r.inputVisible=!1,r.inputValue="",s()};return g.onUpdated(()=>{}),g.onBeforeMount(()=>{r.initOnce=!1}),{...g.toRefs(r),inputRef:n,showInput:i,handleClose:a,handleInputConfirm:l}}});function b2e(e,t,n,r,o,i){const a=g.resolveComponent("el-tag"),s=g.resolveComponent("el-input"),l=g.resolveComponent("el-button");return g.openBlock(),g.createElementBlock(g.Fragment,null,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.tagList,f=>(g.openBlock(),g.createBlock(a,{key:f,class:"mx-1",closable:"","disable-transitions":!1,onClose:d=>e.handleClose(f)},{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(f),1)]),_:2},1032,["onClose"]))),128)),e.inputVisible?(g.openBlock(),g.createBlock(s,{key:0,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[0]||(t[0]=f=>e.inputValue=f),class:"w120",size:"small",onBlur:e.handleInputConfirm,onKeyup:g.withKeys(e.handleInputConfirm,["enter"])},null,8,["modelValue","onBlur","onKeyup"])):(g.openBlock(),g.createBlock(l,{key:1,class:"button-new-tag",size:"small",onClick:e.showInput},{default:g.withCtx(()=>[g.createTextVNode(" + "+g.toDisplayString(e.btnTitle),1)]),_:1},8,["onClick"]))],64)}const w2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(y2e,[["render",b2e],["__scopeId","data-v-8d0666c2"]])},Symbol.toStringTag,{value:"Module"})),qSe="",$2e=g.defineComponent({name:"JwtUploadImage",props:{uploadUrl:{type:String,default:""},modelValue:{type:[String,Array],default:null},limitSize:{type:[String,Number],default:2048},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},listType:{type:String,default:"picture-card"},limit:{type:[String,Number],default:10},fillUrl:{type:Function,default:null},uploadParam:{type:Object,default:()=>{}},responseKey:{type:String,default:"relative_path"},translateTitle:{type:Function,require:!0,default:()=>{}},copyImgUploade:{type:Boolean,default:!1}},emits:["update:modelValue","onChange"],setup(e,{emit:t}){const n=g.ref(null),r=g.reactive({fileList:[],dialogVisible:!1,dialogImageUrl:"",initOnce:!1,onUploadProgress:!1,textarea:""}),o=b=>(e==null?void 0:e.translateTitle(b))||b,i=b=>e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(b):b,a=g.computed(()=>{var b;return e.multiple?!1:!!((b=e==null?void 0:e.modelValue)!=null&&b.length)||r.onUploadProgress}),s=()=>{if(r.initOnce)return;let b=[];if(e.multiple)if(Ht.hasArray(e.modelValue))e.modelValue.map(w=>{w&&b.push({url:i(w),org_url:w,name:i(w)})});else if(Ht.isString(e.modelValue))e.modelValue.split(",").map(w=>{w&&b.push({url:i(w),org_url:w,name:i(w)})});else return r.initOnce=!1,[];else b=e.modelValue?[{url:i(e.modelValue),org_url:e.modelValue,name:i(e.modelValue)}]:[];return r.initOnce=!0,b};g.watch(()=>e.modelValue,b=>{g.nextTick(()=>{if(!r.initOnce)if(b){const w=s();r.fileList=w}else r.fileList=[]})});const l=g.computed(()=>({Authorization:sessionStorage.getItem("admin-token")||localStorage.getItem("admin-token")})),f=b=>{if(!e.uploadUrl)return Mn.ElMessage.error(o("\u8BF7\u914D\u7F6E\u4E0A\u4F20\u7684\u8DEF\u5F84\u5730\u5740\uFF01"));const w=b.type,y=parseInt(e.limitSize),S=y/1024,x=b.size/1024<y;let O=["image/jpeg","image/png","image/gif","image/webp"].includes(w);O||Mn.ElMessage.error(o("\u4E0A\u4F20\u56FE\u7247\u53EA\u80FD\u662F JPG,PNG,GIF,WEBP \u683C\u5F0F!")),x||(S>1?Mn.ElMessage.error(g.toRefs(`\u4E0A\u4F20\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 ${S}MB!`)):Mn.ElMessage.error(o(`\u4E0A\u4F20\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 ${y}KB!`)));const T=O&&x;return T&&(r.onUploadProgress=!0),T},d=()=>{r.onUploadProgress=!1},p=(b,w,y)=>{r.onUploadProgress=!1,b.code===0?m(y):(Mn.ElMessage.error(b.msg),this.dialogVisible=!1)},h=(b,w)=>{m(w)},m=b=>{const{responseKey:w}=e;r.initOnce=!0;let y=[];b.map(S=>{var A,O,T;const x=(w?(O=(A=S==null?void 0:S.response)==null?void 0:A.data)==null?void 0:O[w]:(T=S==null?void 0:S.response)==null?void 0:T.data)||S.org_url;x&&y.push(x)}),e.multiple?(t("update:modelValue",y),t("onChange",y)):(t("update:modelValue",y[0]||""),t("onChange",y[0]||""))},C=b=>{r.dialogImageUrl=b.url,r.dialogVisible=!0},$=b=>{var y;console.log("handlePaste e :>> ",b);let w=b.clipboardData.items[0];if(console.log("items :>> ",w,w.type),a.value)return Mn.ElMessage.error(o("\u53EA\u80FD\u4E0A\u4F20\u4E00\u5F20\u56FE\u7247"));if(!w)return Mn.ElMessage.error(o("\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u672C\u5730\u56FE\u7247\u7C98\u8D34"));if((y=w==null?void 0:w.type)!=null&&y.includes("image")){let S=w.getAsFile();n.value.handleStart(S),n.value.submit()}else return r.textarea="",Mn.ElMessage.error(o("\u7C98\u8D34\u5185\u5BB9\u975E\u56FE\u7247"))};return g.onBeforeMount(()=>{r.fileList=[],r.initOnce=!1}),{uploadRef:n,...g.toRefs(r),headers:l,showOnlyOne:a,handleRemove:h,handleBeforeUpload:f,handleUploadSuccess:p,handlePictureCardPreview:C,handleUploadError:d,handlePaste:$,t:o}}}),C2e={class:"w"},E2e=["src"];function S2e(e,t,n,r,o,i){const a=g.resolveComponent("el-input"),s=g.resolveComponent("jwt-icon"),l=g.resolveComponent("el-upload"),f=g.resolveComponent("el-dialog");return g.openBlock(),g.createElementBlock("div",C2e,[e.copyImgUploade?(g.openBlock(),g.createBlock(a,{key:0,modelValue:e.textarea,"onUpdate:modelValue":t[0]||(t[0]=d=>e.textarea=d),class:"mb10 paste-img-wrapper",placeholder:e.t("\u5728\u6B64\u5904\u7C98\u8D34\u56FE\u7247\u5373\u4E0A\u4F20"),rows:2,type:"textarea",onPaste:e.handlePaste},null,8,["modelValue","placeholder","onPaste"])):g.createCommentVNode("",!0),g.createVNode(l,{ref:"uploadRef",action:e.uploadUrl,"before-upload":e.handleBeforeUpload,class:g.normalizeClass({onlyOne:e.showOnlyOne}),data:e.uploadParam,disabled:e.disabled,"file-list":e.fileList,headers:e.headers,"list-type":e.listType,multiple:e.multiple,name:"filedata","on-error":e.handleUploadError,"on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"on-success":e.handleUploadSuccess,"show-file-list":!0,"with-credentials":""},{default:g.withCtx(()=>[g.createVNode(s,{icon:"add-line",size:40})]),_:1},8,["action","before-upload","class","data","disabled","file-list","headers","list-type","multiple","on-error","on-preview","on-remove","on-success"]),g.createVNode(f,{modelValue:e.dialogVisible,"onUpdate:modelValue":t[1]||(t[1]=d=>e.dialogVisible=d),"append-to-body":""},{default:g.withCtx(()=>[g.createElementVNode("img",{src:e.dialogImageUrl,style:{width:"100%"},"w-full":""},null,8,E2e)]),_:1},8,["modelValue"])])}const D2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn($2e,[["render",S2e]])},Symbol.toStringTag,{value:"Module"}));var $j={exports:{}};const x2e=VV(qye);(function(e,t){(function(n,r){e.exports=r(x2e)})(self,n=>(()=>{var r={857:s=>{s.exports=n}},o={};function i(s){var l=o[s];if(l!==void 0)return l.exports;var f=o[s]={exports:{}};return r[s](f,f.exports,i),f.exports}i.d=(s,l)=>{for(var f in l)i.o(l,f)&&!i.o(s,f)&&Object.defineProperty(s,f,{enumerable:!0,get:l[f]})},i.o=(s,l)=>Object.prototype.hasOwnProperty.call(s,l),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{default:()=>H});var s=i(857);(0,s.i18nAddResources)("en",{attachment:{upload:"Upload Attachment",download:"Download Attachment"}}),(0,s.i18nAddResources)("zh-CN",{attachment:{upload:"\u4E0A\u4F20\u9644\u4EF6",download:"\u4E0B\u8F7D\u9644\u4EF6"}});function l(I,L,Y,q,B){return{sel:I,data:L,children:Y,text:q,elm:B,key:L===void 0?void 0:L.key}}const f=Array.isArray;function d(I){return typeof I=="string"||typeof I=="number"||I instanceof String||I instanceof Number}function p(I,L,Y){if(I.ns="http://www.w3.org/2000/svg",Y!=="foreignObject"&&L!==void 0)for(let q=0;q<L.length;++q){const B=L[q];if(typeof B=="string")continue;const ce=B.data;ce!==void 0&&p(ce,B.children,B.sel)}}function h(I,L,Y){let q,B,ce,ge={};if(Y!==void 0?(L!==null&&(ge=L),f(Y)?q=Y:d(Y)?B=Y.toString():Y&&Y.sel&&(q=[Y])):L!=null&&(f(L)?q=L:d(L)?B=L.toString():L&&L.sel?q=[L]:ge=L),q!==void 0)for(ce=0;ce<q.length;++ce)d(q[ce])&&(q[ce]=l(void 0,void 0,void 0,q[ce],void 0));return I[0]!=="s"||I[1]!=="v"||I[2]!=="g"||I.length!==3&&I[3]!=="."&&I[3]!=="#"||p(ge,q,I),l(I,ge,q,B,void 0)}const m={type:"attachment",renderElem:function(I,L,Y){var q=Y.isDisabled(),B=s.DomEditor.isNodeSelected(Y,I),ce=I,ge=ce.fileName,Ae=ge===void 0?"":ge,j=ce.link,ve=j===void 0?"":j;return h("span",{props:{contentEditable:!1},style:{display:"inline-block",marginLeft:"3px",marginRight:"3px",border:B&&!q?"2px solid var(--w-e-textarea-selected-border-color)":"2px solid transparent",borderRadius:"3px",padding:"0 3px",backgroundColor:"#f1f1f1",cursor:q?"pointer":"inherit"},on:{click:function(){q&&ve&&window.open(ve,"_blank")}}},[h("img",{props:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAv5JREFUWEetl1nITVEUx3/fo5LkyRQeFA+SIS8eZHhQimRKMhMSoogyR5QxMs9DkplQEhFvxihCKUWkpCTP9P9a+1p3f2efe869367T3Xeftdf/v9e012mi9cZQYDzQBxgIfANeAO+BDSmYplbCX58HAnwFFgNXY7zWIHABmBQpfg10A9pH64OAZ36tUQLngClO4XVgC/DU1iYCF937N+aiylIjBM4A05xy+XljwqV/3bpkKjFRL4GTwMyU0gwSY4Abtn4NGBdk6iFwFJhbAjyI/gLaAR+BnvUSOATML2j22BCvgL7AbyPS/L6MBfYDC3NOrlS8BLzNcIGi/4mtPwSGlbXAHmBJDriCSgQU5UrJmIT8Ptb277OaUNgCu4BlBcCDSFWUGzFfCXV6WaEQge3A8hLgcSquBjbnBWxeDGwFVtXwuT9ZfHLtlY4wFB9xxUwGoViLfVGzxuCymqyXC57KAilb1wC44kVxUxM8i8Bs4HgJn8cnV6YoYwqBxwR6A/eBzrY7Vh5SLeUW1QjVisLgMQEFyQTbfQqY5ZTVAp8HHC4L7gnocrhiCj5ZpdKvxlJgd45b5gDHcsDzKmQlC3zUrwS2mcJ+wAPXWMRumQHIWimzh04pVSErBG4Do0zLaOCWzX2rpeZjqgPT/GwB8FTMNK+HQqSerZNJKgjVUGro9Go2NXwJnQycLwGebFYCgS9AF1PYEfhu8wXAQZurfh8AutcoMnGDGrvN8f5vAQVg6FJGAndNqq211SE1qzbb9evLaylw74I1wCbTvgLY4ZAGAzeBDhH6kYzmRARyfR6fILhAd7XubI0fQC/gpxNuY23YcOCDdbrP3fvSJw97/W14B5D5NR4DQ2K2if91g3sXaN4V+OxAlN+LgD8J4B7WbJTpjluoivuB6cBpJ6VquBd4BAST67tP1tHFIxKlfJ6KAb8+AriXcWqlarCUf60ashY4UdBlVWKpjkgRvzP6+MjSf9nA39UDHsdAlg7VhgFAf3sk89IefXq3+NotS+QfmNG0IS7jBhcAAAAASUVORK5CYII="},style:{width:"1em",marginRight:"0.1em",minWidth:"0",minHeight:"0"}}),Ae])}};function C(I){return I!==null&&typeof I=="object"&&"constructor"in I&&I.constructor===Object}function $(I={},L={}){Object.keys(L).forEach(Y=>{I[Y]===void 0?I[Y]=L[Y]:C(L[Y])&&C(I[Y])&&Object.keys(L[Y]).length>0&&$(I[Y],L[Y])})}const b={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function w(){const I=typeof document<"u"?document:{};return $(I,b),I}const y={document:b,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:I=>typeof setTimeout>"u"?(I(),null):setTimeout(I,0),cancelAnimationFrame(I){typeof setTimeout<"u"&&clearTimeout(I)}};function S(){const I=typeof window<"u"?window:{};return $(I,y),I}class x extends Array{constructor(L){typeof L=="number"?super(L):(super(...L||[]),function(Y){const q=Y.__proto__;Object.defineProperty(Y,"__proto__",{get:()=>q,set(B){q.__proto__=B}})}(this))}}function A(I,L){const Y=S(),q=w();let B=[];if(!L&&I instanceof x)return I;if(!I)return new x(B);if(typeof I=="string"){const ce=I.trim();if(ce.indexOf("<")>=0&&ce.indexOf(">")>=0){let ge="div";ce.indexOf("<li")===0&&(ge="ul"),ce.indexOf("<tr")===0&&(ge="tbody"),ce.indexOf("<td")!==0&&ce.indexOf("<th")!==0||(ge="tr"),ce.indexOf("<tbody")===0&&(ge="table"),ce.indexOf("<option")===0&&(ge="select");const Ae=q.createElement(ge);Ae.innerHTML=ce;for(let j=0;j<Ae.childNodes.length;j+=1)B.push(Ae.childNodes[j])}else B=function(ge,Ae){if(typeof ge!="string")return[ge];const j=[],ve=Ae.querySelectorAll(ge);for(let ae=0;ae<ve.length;ae+=1)j.push(ve[ae]);return j}(I.trim(),L||q)}else if(I.nodeType||I===Y||I===q)B.push(I);else if(Array.isArray(I)){if(I instanceof x)return I;B=I}return new x(function(ce){const ge=[];for(let Ae=0;Ae<ce.length;Ae+=1)ge.indexOf(ce[Ae])===-1&&ge.push(ce[Ae]);return ge}(B))}function O(...I){let[L,Y,q,B]=I;function ce(ve){const ae=ve.target;if(!ae)return;const X=ve.target.dom7EventData||[];if(X.indexOf(ve)<0&&X.unshift(ve),A(ae).is(Y))q.apply(ae,X);else{const te=A(ae).parents();for(let pe=0;pe<te.length;pe+=1)A(te[pe]).is(Y)&&q.apply(te[pe],X)}}function ge(ve){const ae=ve&&ve.target&&ve.target.dom7EventData||[];ae.indexOf(ve)<0&&ae.unshift(ve),q.apply(this,ae)}typeof I[1]=="function"&&([L,q,B]=I,Y=void 0),B||(B=!1);const Ae=L.split(" ");let j;for(let ve=0;ve<this.length;ve+=1){const ae=this[ve];if(Y)for(j=0;j<Ae.length;j+=1){const X=Ae[j];ae.dom7LiveListeners||(ae.dom7LiveListeners={}),ae.dom7LiveListeners[X]||(ae.dom7LiveListeners[X]=[]),ae.dom7LiveListeners[X].push({listener:q,proxyListener:ce}),ae.addEventListener(X,ce,B)}else for(j=0;j<Ae.length;j+=1){const X=Ae[j];ae.dom7Listeners||(ae.dom7Listeners={}),ae.dom7Listeners[X]||(ae.dom7Listeners[X]=[]),ae.dom7Listeners[X].push({listener:q,proxyListener:ge}),ae.addEventListener(X,ge,B)}}return this}function T(){for(let I=0;I<this.length;I+=1)this[I].style.display="none";return this}function z(...I){let L;const Y=w();for(let q=0;q<I.length;q+=1){L=I[q];for(let B=0;B<this.length;B+=1)if(typeof L=="string"){const ce=Y.createElement("div");for(ce.innerHTML=L;ce.firstChild;)this[B].appendChild(ce.firstChild)}else if(L instanceof x)for(let ce=0;ce<L.length;ce+=1)this[B].appendChild(L[ce]);else this[B].appendChild(L)}return this}A.fn=x.prototype;const V="resize scroll".split(" ");function ue(I){return function(...L){if(L[0]===void 0){for(let Y=0;Y<this.length;Y+=1)V.indexOf(I)<0&&(I in this[Y]?this[Y][I]():A(this[Y]).trigger(I));return this}return this.on(I,...L)}}const oe=ue("click"),de=A;T&&(de.fn.hide=T),z&&(de.fn.append=z),oe&&(de.fn.click=oe),O&&(de.fn.on=O);const me=de;var _e=function(){return _e=Object.assign||function(I){for(var L,Y=1,q=arguments.length;Y<q;Y++)for(var B in L=arguments[Y])Object.prototype.hasOwnProperty.call(L,B)&&(I[B]=L[B]);return I},_e.apply(this,arguments)},Ee=function(I,L,Y,q){return new(Y||(Y=Promise))(function(B,ce){function ge(ve){try{j(q.next(ve))}catch(ae){ce(ae)}}function Ae(ve){try{j(q.throw(ve))}catch(ae){ce(ae)}}function j(ve){var ae;ve.done?B(ve.value):(ae=ve.value,ae instanceof Y?ae:new Y(function(X){X(ae)})).then(ge,Ae)}j((q=q.apply(I,L||[])).next())})},Be=function(I,L){var Y,q,B,ce,ge={label:0,sent:function(){if(1&B[0])throw B[1];return B[1]},trys:[],ops:[]};return ce={next:Ae(0),throw:Ae(1),return:Ae(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Ae(j){return function(ve){return function(ae){if(Y)throw new TypeError("Generator is already executing.");for(;ge;)try{if(Y=1,q&&(B=2&ae[0]?q.return:ae[0]?q.throw||((B=q.return)&&B.call(q),0):q.next)&&!(B=B.call(q,ae[1])).done)return B;switch(q=0,B&&(ae=[2&ae[0],B.value]),ae[0]){case 0:case 1:B=ae;break;case 4:return ge.label++,{value:ae[1],done:!1};case 5:ge.label++,q=ae[1],ae=[0];continue;case 7:ae=ge.ops.pop(),ge.trys.pop();continue;default:if(!((B=(B=ge.trys).length>0&&B[B.length-1])||ae[0]!==6&&ae[0]!==2)){ge=0;continue}if(ae[0]===3&&(!B||ae[1]>B[0]&&ae[1]<B[3])){ge.label=ae[1];break}if(ae[0]===6&&ge.label<B[1]){ge.label=B[1],B=ae;break}if(B&&ge.label<B[2]){ge.label=B[2],ge.ops.push(ae);break}B[2]&&ge.ops.pop(),ge.trys.pop();continue}ae=L.call(I,ge)}catch(X){ae=[6,X],q=0}finally{Y=B=0}if(5&ae[0])throw ae[1];return{value:ae[0]?ae[1]:void 0,done:!0}}([j,ve])}}};function Fe(I){return I.getMenuConfig("uploadAttachment")}function je(I,L,Y){if(L&&Y){I.restoreSelection();var q={type:"attachment",fileName:L,link:Y,children:[{text:""}]};I.insertNode(q),I.move(1);var B=Fe(I).onInsertedAttachment;B&&B(q)}}function Ue(I,L){return Ee(this,void 0,void 0,function(){var Y,q,B,ce;return Be(this,function(ge){switch(ge.label){case 0:return Y=function(Ae){var j=Oe.get(Ae);if(j!=null)return j;var ve=Fe(Ae),ae=ve.onSuccess,X=ve.onProgress,te=ve.onFailed,pe=ve.customInsert,ye=ve.onError;return j=(0,s.createUploader)(_e(_e({},ve),{onProgress:function(De){Ae.showProgressBar(De),X&&X(De)},onSuccess:function(De,Le){if(pe)pe(Le,De,function(Dt,Bt){return je(Ae,Dt,Bt)});else{var Ve=Le.errno,ze=Ve===void 0?1:Ve,ft=Le.data,It=ft===void 0?{}:ft;if(ze!==0)return console.error("'".concat(De.name,"' upload failed"),Le),void te(De,Le);var Ze=It.url,At=Ze===void 0?"":Ze;je(Ae,De.name,At),ae(De,Le)}},onError:function(De,Le,Ve){var ze=De.name;console.error("'".concat(ze," upload error"),Le,Ve),ye&&ye(De,Le,Ve)}})),Oe.set(Ae,j),j}(I),q=L.name,B=L.type,ce=L.size,Y.addFile({name:q,type:B,size:ce,data:L}),[4,Y.upload()];case 1:return ge.sent(),[2]}})})}var Oe=new WeakMap;const Je=function(){function I(){this.title=(0,s.t)("attachment.upload"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M665.821116 327.053068l-64.958782-64.926783-324.79391 324.729911c-53.822991 53.790991-53.822991 141.053355 0 194.844347s141.053355 53.790991 194.876346 0l389.752692-389.688693a229.531696 229.531696 0 0 0 0-324.729912 229.627694 229.627694 0 0 0-324.761911 0L126.727224 476.458266l-0.863984 0.831985c-125.085655 125.085655-125.085655 327.833853 0 452.887508 125.053655 125.053655 327.865853 125.053655 452.983507 0l0.831984-0.863984 0.031999 0.032 279.322763-279.290764-64.990781-64.926782-279.322763 279.258764-0.831984 0.831984a228.731711 228.731711 0 0 1-323.065943 0 228.603714 228.603714 0 0 1 0-322.969944l0.895983-0.831985-0.031999-0.063998L600.958332 132.208721c53.694993-53.726993 141.149353-53.726993 194.876346 0s53.694993 141.149353 0 194.844347L406.081986 716.741761c-17.919664 17.919664-47.039118 17.919664-64.958782 0a45.983138 45.983138 0 0 1 0-64.926783L665.917114 327.053068z"></path></svg>',this.tag="button"}return I.prototype.getValue=function(L){return""},I.prototype.isActive=function(L){return!1},I.prototype.exec=function(L,Y){var q=this.getMenuConfig(L),B=q.allowedFileTypes,ce=B===void 0?[]:B,ge=q.customBrowseAndUpload;if(ge)ge(function(ae,X){return je(L,ae,X)});else{var Ae="";ce.length>0&&(Ae='accept="'.concat(ce.join(", "),'"'));var j=me("body"),ve=me('<input type="file" '.concat(Ae," multiple/>"));ve.hide(),j.append(ve),ve.click(),ve.on("change",function(){var ae=ve[0].files;(function(X,te){var pe,ye;Ee(this,void 0,void 0,function(){var De,Le,Ve,ze,ft,It;return Be(this,function(Ze){switch(Ze.label){case 0:if(te==null)return[2];De=Array.prototype.slice.call(te),Le=Fe(X).customUpload,Ze.label=1;case 1:Ze.trys.push([1,9,10,15]),Ve=function(At){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Dt,Bt=At[Symbol.asyncIterator];return Bt?Bt.call(At):(At=typeof __values=="function"?__values(At):At[Symbol.iterator](),Dt={},hn("next"),hn("throw"),hn("return"),Dt[Symbol.asyncIterator]=function(){return this},Dt);function hn(Xt){Dt[Xt]=At[Xt]&&function(gn){return new Promise(function(Ar,Mr){(function(er,cr,kr,fr){Promise.resolve(fr).then(function(wr){er({value:wr,done:kr})},cr)})(Ar,Mr,(gn=At[Xt](gn)).done,gn.value)})}}}(De),Ze.label=2;case 2:return[4,Ve.next()];case 3:return(ze=Ze.sent()).done?[3,8]:(ft=ze.value,Le?[4,Le(ft,function(At,Dt){return je(X,At,Dt)})]:[3,5]);case 4:return Ze.sent(),[3,7];case 5:return[4,Ue(X,ft)];case 6:Ze.sent(),Ze.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return It=Ze.sent(),pe={error:It},[3,15];case 10:return Ze.trys.push([10,,13,14]),ze&&!ze.done&&(ye=Ve.return)?[4,ye.call(Ve)]:[3,12];case 11:Ze.sent(),Ze.label=12;case 12:return[3,14];case 13:if(pe)throw pe.error;return[7];case 14:return[7];case 15:return[2]}})})})(L,ae)})}},I.prototype.isDisabled=function(L){var Y=L.selection;if(Y==null||s.SlateRange.isExpanded(Y))return!0;var q=s.DomEditor.getSelectedElems(L);return!!q.some(function(B){return L.isVoid(B)})||!!q.some(function(B){return s.DomEditor.getNodeType(B)==="pre"})},I.prototype.getMenuConfig=function(L){return L.getMenuConfig("uploadAttachment")},I}(),G=function(){function I(){this.title=(0,s.t)("attachment.download"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M736 448l-256 256-256-256h160V64h192v384z m-256 256H0v256h960v-256H480z m416 128h-128v-64h128v64z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return I.prototype.getValue=function(L){var Y=this.getSelectedElem(L);return Y==null?"":Y.link},I.prototype.isActive=function(L){return!1},I.prototype.exec=function(L,Y){Y&&typeof Y=="string"&&window.open(Y,"_blank")},I.prototype.isDisabled=function(L){var Y=L.selection;return Y==null||!!s.SlateRange.isExpanded(Y)||this.getSelectedElem(L)==null},I.prototype.getSelectedElem=function(L){var Y=s.DomEditor.getSelectedNodeByType(L,"attachment");return Y==null?null:Y},I}(),H={editorPlugin:function(I){var L=I.isInline,Y=I.isVoid,q=I;return q.isInline=function(B){return s.DomEditor.getNodeType(B)==="attachment"||L(B)},q.isVoid=function(B){return s.DomEditor.getNodeType(B)==="attachment"||Y(B)},q},renderElems:[m],elemsToHtml:[{type:"attachment",elemToHtml:function(I,L){var Y=I,q=Y.link,B=q===void 0?"":q,ce=Y.fileName,ge=ce===void 0?"":ce;return'<a data-w-e-type="attachment" data-w-e-is-void data-w-e-is-inline href="'.concat(B,'" download="').concat(ge,'">').concat(ge,"</a>")}}],parseElemsHtml:[{selector:'a[data-w-e-type="attachment"]',parseElemHtml:function(I,L,Y){return{type:"attachment",link:I.getAttribute("href")||"",fileName:I.getAttribute("download")||"",children:[{text:""}]}}}],menus:[{key:"uploadAttachment",factory:function(){return new Je},config:{server:"",fieldName:"wangeditor-uploaded-attachment",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(I){return I},onProgress:function(I){},onSuccess:function(I,L){},onFailed:function(I,L){},onError:function(I,L,Y){},onInsertedAttachment:function(I){}}},{key:"downloadAttachment",factory:function(){return new G}}]}})(),a})())})($j);const A2e=zV($j.exports),KSe="",k2e=e=>{const t=Object.assign({"./JwtCascaderArea/index.vue":DV,"./JwtCascaderServer/index.vue":kV,"./JwtColumnItme/index.vue":jV,"./JwtDesTable/index.vue":WV,"./JwtEditor/index.vue":fbe,"./JwtForm/index.vue":hbe,"./JwtHeaderButton/index.vue":ybe,"./JwtIcon/index.vue":$be,"./JwtIconSelect/index.vue":Abe,"./JwtImage/index.vue":Bbe,"./JwtInput/index.vue":Pbe,"./JwtRateIcon/index.vue":Rbe,"./JwtSelectServer/index.vue":Hbe,"./JwtTable/index.vue":t2e,"./JwtTableButton/index.vue":a2e,"./JwtTableOnly/index.vue":h2e,"./JwtTabs/index.vue":v2e,"./JwtTags/index.vue":w2e,"./JwtUploadImage/index.vue":D2e});for(const n in t){const r=t[n];e.component(r.default.name,r.default||r)}};Ln.registerModule(A2e),qi.setupJwt=k2e,Object.defineProperties(qi,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
206
+ Please use '@${e}' event instead of props`,t}var bj=(e,t)=>{for(const[n,r]of t)e[n]=r;return e};const ebe=g.defineComponent({props:{mode:{type:String,default:"default"},defaultContent:{type:Array,default:[]},defaultHtml:{type:String,default:""},defaultConfig:{type:Object,default:{}},modelValue:{type:String,default:""}},setup(e,t){const n=g.ref(null),r=g.shallowRef(null),o=g.ref(""),i=()=>{if(!n.value)return;const s=g.toRaw(e.defaultContent);gj({selector:n.value,mode:e.mode,content:s||[],html:e.defaultHtml||e.modelValue||"",config:Qye(Zye({},e.defaultConfig),{onCreated(l){if(r.value=l,t.emit("onCreated",l),e.defaultConfig.onCreated){const f=Ls("onCreated");throw new Error(f)}},onChange(l){const f=l.getHtml();if(o.value=f,t.emit("update:modelValue",f),t.emit("onChange",l),e.defaultConfig.onChange){const d=Ls("onChange");throw new Error(d)}},onDestroyed(l){if(t.emit("onDestroyed",l),e.defaultConfig.onDestroyed){const f=Ls("onDestroyed");throw new Error(f)}},onMaxLength(l){if(t.emit("onMaxLength",l),e.defaultConfig.onMaxLength){const f=Ls("onMaxLength");throw new Error(f)}},onFocus(l){if(t.emit("onFocus",l),e.defaultConfig.onFocus){const f=Ls("onFocus");throw new Error(f)}},onBlur(l){if(t.emit("onBlur",l),e.defaultConfig.onBlur){const f=Ls("onBlur");throw new Error(f)}},customAlert(l,f){if(t.emit("customAlert",l,f),e.defaultConfig.customAlert){const d=Ls("customAlert");throw new Error(d)}},customPaste:(l,f)=>{if(e.defaultConfig.customPaste){const p=Ls("customPaste");throw new Error(p)}let d;return t.emit("customPaste",l,f,p=>{d=p}),d}})})};function a(s){const l=r.value;l!=null&&l.setHtml(s)}return g.onMounted(()=>{i()}),g.watch(()=>e.modelValue,s=>{s!==o.value&&a(s)}),{box:n}}}),tbe={ref:"box",style:{height:"100%"}};function nbe(e,t,n,r,o,i){return g.openBlock(),g.createElementBlock("div",tbe,null,512)}var rbe=bj(ebe,[["render",nbe]]);const obe=g.defineComponent({props:{editor:{type:Object},mode:{type:String,default:"default"},defaultConfig:{type:Object,default:{}}},setup(e){const t=g.ref(null),n=r=>{if(!!t.value){if(r==null)throw new Error("Not found instance of Editor when create <Toolbar/> component");R.getToolbar(r)||mj({editor:r,selector:t.value||"<div></div>",mode:e.mode,config:e.defaultConfig})}};return g.watchEffect(()=>{const{editor:r}=e;r!=null&&n(r)}),{selector:t}}}),ibe={ref:"selector"};function abe(e,t,n,r,o,i){return g.openBlock(),g.createElementBlock("div",ibe,null,512)}var sbe=bj(obe,[["render",abe]]);const wSe="",ube=g.defineComponent({name:"JwtEditor",components:{Editor:rbe,Toolbar:sbe},props:{modelValue:{type:String,default:""},uploadUrl:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=g.shallowRef(),r=g.ref("<p>hello</p>"),o=g.computed(()=>e.modelValue||""),i=[{type:"paragraph",children:[{text:"\u4E00\u884C\u6587\u5B57"}]}],a=g.reactive({defaultContent:i,initOnce:!1}),s={insertKeys:{index:22,keys:["uploadAttachment"]}},l={placeholder:"\u8BF7\u8F93\u5165\u5185\u5BB9...",MENU_CONF:{},hoverbarKeys:{attachment:{menuKeys:["downloadAttachment"]}}};l.MENU_CONF.uploadImage={server:e.uploadUrl,maxFileSize:20*1024*1024,headers:{Accept:"text/x-json",Authorization:window.localStorage.getItem("admin-token")},timeout:60*1e3,withCredentials:!0},l.MENU_CONF.uploadVideo={server:e.uploadUrl,headers:{Accept:"text/x-json",Authorization:window.localStorage.getItem("admin-token")},withCredentials:!0},l.MENU_CONF.uploadAttachment={server:e.uploadUrl,headers:{Accept:"text/x-json",Authorization:window.localStorage.getItem("admin-token")}};const f=y=>{n.value=y},d=y=>{t("update:modelValue",w(y))},p=y=>{console.log("destroyed",y)},h=y=>{console.log("focus",y)},m=y=>{t("update:modelValue",w(y))},C=(y,S)=>{alert(`\u3010\u81EA\u5B9A\u4E49\u63D0\u793A\u3011${S} - ${y}`)},$=(y,S,x)=>{console.log("ClipboardEvent \u7C98\u8D34\u4E8B\u4EF6\u5BF9\u8C61",S),y.insertText("xxx"),S.preventDefault(),x(!1)},b=()=>{const y=n.value;y!=null&&(y.select([]),y.deleteFragment(),ee.setNodes(y,{type:"paragraph"},{mode:"highest"}),y.dangerouslyInsertHtml(o.value),a.initOnce=!0)},w=y=>{let S=y.getHtml();const x=S.match(/<span data-w-e-type="attachment"(?:[^<])*<\/span>/g);return x==null||x.map(A=>{var z;var O=(z=A.match(/http(?:[^"])*/g))==null?void 0:z[0],T=A.match(/>(?:[^<])*/)[0].slice(1);S=S.replace(`>${T}<`,`><a href="${O}" download="${T}">${T}</a><`)}),S};return g.watch(()=>e.modelValue,y=>{g.nextTick(()=>{a.initOnce||y&&y!=="<p><br></p>"&&b()})}),g.onMounted(()=>{const y=sessionStorage.getItem("language")||localStorage.getItem("language");if(y){const S=y.includes("zh")?"zh-CN":"en";$7(S)}}),g.onBeforeUnmount(()=>{const y=n.value;y!=null&&y.destroy()}),{...g.toRefs(a),editorRef:n,valueHtml:r,mode:"default",defaultHtml:o,toolbarConfig:s,editorConfig:l,handleCreated:f,handleChange:d,handleDestroyed:p,handleFocus:h,handleBlur:m,customAlert:C,customPaste:$,updateContent:b}}}),lbe={class:"base-wang-editor-wrapper",style:{border:"1px solid #ccc"}};function cbe(e,t,n,r,o,i){const a=g.resolveComponent("Toolbar"),s=g.resolveComponent("Editor");return g.openBlock(),g.createElementBlock("div",lbe,[g.createVNode(a,{"default-config":e.toolbarConfig,editor:e.editorRef,mode:e.mode,style:{"border-bottom":"1px solid #ccc"}},null,8,["default-config","editor","mode"]),g.createVNode(s,{"default-config":e.editorConfig,"default-html":e.defaultHtml,mode:e.mode,style:{height:"500px","overflow-y":"hidden"},onCustomAlert:e.customAlert,onOnBlur:e.handleBlur,onOnChange:e.handleChange,onOnCreated:e.handleCreated,onOnDestroyed:e.handleDestroyed,onOnFocus:e.handleFocus},null,8,["default-config","default-html","mode","onCustomAlert","onOnBlur","onOnChange","onOnCreated","onOnDestroyed","onOnFocus"])])}const fbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(ube,[["render",cbe],["__scopeId","data-v-515cc044"]])},Symbol.toStringTag,{value:"Module"})),CSe="",dbe=g.defineComponent({name:"JwtForm",components:{},props:{modelValue:{require:!0,type:[Object,Function],default:()=>{}},config:{require:!0,type:[Object,Function],default:()=>{}},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}},uploadImgUrl:{type:String,default:""},uploadRichTextUrl:{type:String,default:""},responseKey:{type:String,default:"relative_path"}},emits:["submit","reset","update:modelValue","addSuccess","editSuccess","get-detail-success","error"],setup(e,{emit:t}){const n=g.reactive({loading:!1,datePickerRange:[]}),r=g.computed(()=>{var $,b;if(e.config){let w=Ht.copy(e.config)||{};return(($=w==null?void 0:w.formList)==null?void 0:$.length)&&Ht.hasArray(w==null?void 0:w.formList)&&(w.formList=(b=w==null?void 0:w.formList)==null?void 0:b.map(y=>{var S,x,A,O,T,z;return y.formEvents||(y.formEvents={}),(S=y==null?void 0:y.labelAttrs)!=null&&S.label&&(y.labelAttrs.label=(e==null?void 0:e.translateTitle((x=y==null?void 0:y.labelAttrs)==null?void 0:x.label))||((A=y==null?void 0:y.labelAttrs)==null?void 0:A.label)),(O=y==null?void 0:y.formAttrs)!=null&&O.placeholder&&(y.formAttrs.placeholder=(e==null?void 0:e.translateTitle((T=y==null?void 0:y.formAttrs)==null?void 0:T.placeholder))||((z=y==null?void 0:y.formAttrs)==null?void 0:z.placeholder)),y.type==="submit"&&(y.submit&&!y.submit.attrs&&(y.submit.attrs={}),y.submit&&!y.submit.events&&(y.submit.events={}),y.reset&&!y.reset.attrs&&(y.reset.attrs={}),y.reset&&!y.reset.events&&(y.reset.events={}),y.submit&&y.submit.title&&(y.submit.title=(e==null?void 0:e.translateTitle(y.submit.title))||y.submit.title),y.reset&&y.reset.title&&(y.reset.title=(e==null?void 0:e.translateTitle(y.reset.title))||y.reset.title)),y})),w}return{}}),o=g.ref(null),i=g.computed({get:()=>e.modelValue?s(e.modelValue):(r.value.formList.forEach($=>{$.value!==void 0&&(i[$.key]=$.value)}),i),set:$=>{t("update:modelValue",$)}}),a=g.computed(()=>{const $=[];return r.value.formList.forEach(b=>{$.push(b.key)}),$}),s=($={})=>(r.value.formList.forEach(b=>{var z,V,ue;const{key:w,type:y,startKey:S,endKey:x,formAttrs:A}=b,O=(A==null?void 0:A.multiple)||!1,T=(A==null?void 0:A.valueType)||"";$[w]&&y==="inputNumber"?$[w]=+$[w]:O?Ht.isArray($[w])||(T==="number"?$[w]=$[w]?(V=(z=$[w])==null?void 0:z.split(","))==null?void 0:V.map(oe=>+oe):[]:$[w]=$[w]?(ue=$[w])==null?void 0:ue.split(","):[]):y==="datePickerRange"?p([$[S]||"",$[x]||""]):$[w]=$[w]===""||$[w]===void 0?b.value:$[w]}),$),l=async()=>{let $=!0;return await o.value.validate(b=>{$=b}),$},f=async()=>{var b,w,y,S,x,A,O,T;if(!!await l())if(((w=(b=r==null?void 0:r.value)==null?void 0:b.api)==null?void 0:w.add)||((S=(y=r==null?void 0:r.value)==null?void 0:y.api)==null?void 0:S.update)){let z={};((x=r.value)==null?void 0:x.formEditParams)&&Ht.hasObject((A=r.value)==null?void 0:A.formEditParams)&&Object.assign(z,((O=r.value)==null?void 0:O.formEditParams)||{}),(T=a==null?void 0:a.value)!=null&&T.length?a.value.forEach(V=>{V&&(z[V]=i.value[V])}):z=Object.assign({},i.value),r.value.formList.map(V=>{var ue,oe,de;if((ue=V==null?void 0:V.formAttrs)!=null&&ue.multiple)if((de=(oe=V==null?void 0:V.formAttrs)==null?void 0:oe.props)!=null&&de.checkStrictly){const me=[];z[V.key].map(Ee=>{me.push(Ee[Ee.length-1])});const _e=OV(me);z[V.key]=Ht.isArray(_e)?_e.join(","):""}else z[V.key]=Ht.isArray(z[V.key])?z[V.key].join(","):z[V.key]}),n.loading=!0,i.value.id?(z.id=i.value.id,e.request({url:r.value.api.update,method:"post",data:z}).then(V=>{V.id&&(n.loading=!1,i.value.id=V.id),t("editSuccess",V)}).catch(()=>{n.loading=!1,t("error")})):e.request({url:r.value.api.add,method:"post",data:z}).then(V=>{n.loading=!1,t("addSuccess",V)}).catch(()=>{n.loading=!1,t("error")})}else t("submit",e.modelValue)},d=($,b)=>{const{startKey:w,endKey:y}=b,S=b.formAttrs.format||"YYYY-MM-DD HH:mm:ss";b.formAttrs.type&&b.formAttrs.type.includes("range")&&(i.value[w]=$?eu.default($[0]).format(S):"",i.value[y]=$?eu.default($[1]).format(S):"")},p=$=>{const{startVal:b,endVal:w}=$;n.datePickerRange=[b,w]},h=()=>{o.value.resetFields(),t("reset",e.modelValue)},m=($,b,w)=>{var y,S,x,A,O;if($&&$.length)if(((y=w.formAttrs)==null?void 0:y.multiple)||((x=(S=w==null?void 0:w.formAttrs)==null?void 0:S.props)==null?void 0:x.multiple)){let T=[];(O=(A=w==null?void 0:w.formAttrs)==null?void 0:A.props)!=null&&O.checkStrictly?T=$:$.map(z=>{T.push(z[z.length-1])}),i.value[b]=T}else i.value[b]=$[$.length-1];else i.value[b]=""},C=()=>{var $,b,w,y,S,x,A,O;((b=($=r.value)==null?void 0:$.api)==null?void 0:b.detail)&&((y=(w=r.value)==null?void 0:w.api)==null?void 0:y.detailParams)&&((O=(S=r.value)==null?void 0:S.api)==null?void 0:O.detailParams[((A=(x=r.value)==null?void 0:x.api)==null?void 0:A.detailParamsKey)||"id"])&&e.request({url:r.value.api.detail,method:"get",params:r.value.api.detailParams}).then(T=>{let z=s(T);i.value=z,t("get-detail-success",T)})};return g.onBeforeMount(()=>{C()}),g.onMounted(()=>{}),{formRef:o,...g.toRefs(n),formConfig:r,appModel:i,appModelParams:a,formSubmit:f,formReset:h,formValidate:l,handleCascaderChange:m,getDetail:C,datePickerChange:d,setDatePickerRange:p,handleFormListData:s}}});function pbe(e,t,n,r,o,i){var I,L,Y;const a=g.resolveComponent("el-radio-button"),s=g.resolveComponent("el-radio"),l=g.resolveComponent("el-radio-group"),f=g.resolveComponent("el-checkbox-button"),d=g.resolveComponent("el-checkbox"),p=g.resolveComponent("el-checkbox-group"),h=g.resolveComponent("el-input"),m=g.resolveComponent("el-autocomplete"),C=g.resolveComponent("el-input-number"),$=g.resolveComponent("el-option"),b=g.resolveComponent("el-option-group"),w=g.resolveComponent("el-select"),y=g.resolveComponent("jwt-select-server"),S=g.resolveComponent("el-cascader"),x=g.resolveComponent("jwt-cascader-server"),A=g.resolveComponent("el-cascader-panel"),O=g.resolveComponent("el-switch"),T=g.resolveComponent("el-slider"),z=g.resolveComponent("el-time-picker"),V=g.resolveComponent("el-time-select"),ue=g.resolveComponent("el-date-picker"),oe=g.resolveComponent("jwt-upload-image"),de=g.resolveComponent("jwt-tags"),me=g.resolveComponent("el-rate"),_e=g.resolveComponent("jwt-rate-icon"),Ee=g.resolveComponent("el-color-picker"),Be=g.resolveComponent("el-transfer"),Fe=g.resolveComponent("jwt-icon-select"),je=g.resolveComponent("jwt-editor"),Ue=g.resolveComponent("el-button"),Oe=g.resolveComponent("el-form-item"),Je=g.resolveComponent("el-col"),G=g.resolveComponent("el-row"),H=g.resolveComponent("el-form");return(L=(I=e.formConfig)==null?void 0:I.formList)!=null&&L.length?(g.openBlock(),g.createBlock(H,g.mergeProps({key:0},(Y=e.formConfig)==null?void 0:Y.formAttrs,{ref:"formRef",class:"app-form-container",model:e.appModel}),{default:g.withCtx(()=>[g.createVNode(G,{gutter:10},{default:g.withCtx(()=>{var q;return[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList((q=e.formConfig)==null?void 0:q.formList,(B,ce)=>{var ge,Ae;return g.openBlock(),g.createBlock(Je,g.mergeProps({key:ce,class:[(Ae=(ge=e.formConfig)==null?void 0:ge.formAttrs)!=null&&Ae.inline?"el-col-dl":"db"]},B==null?void 0:B.layoutAttrs),{default:g.withCtx(()=>[B.type!=="slot"?(g.openBlock(),g.createBlock(Oe,g.mergeProps({key:0},B.labelAttrs,{key:ce,prop:B.key}),{default:g.withCtx(()=>[B.type==="radio"?(g.openBlock(),g.createBlock(l,g.mergeProps({key:0,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),{default:g.withCtx(()=>[B.isButton?(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:0},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(a,g.mergeProps(j.attrs,{key:ve},g.toHandlers(j.events)),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title),1)]),_:2},1040))),128)):(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:1},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(s,g.mergeProps(j.attrs,{key:ve},g.toHandlers(j.events)),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title),1)]),_:2},1040))),128))]),_:2},1040,["modelValue","onUpdate:modelValue"])):B.type==="checkbox"?(g.openBlock(),g.createBlock(p,{key:1,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},{default:g.withCtx(()=>[B.isButton?(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:0},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(f,g.mergeProps(j.attrs,{key:ve}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title),1)]),_:2},1040))),128)):(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:1},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(d,g.mergeProps(j.attrs,{key:ve,label:j.value}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(j.title||j.label),1)]),_:2},1040,["label"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])):B.type==="hidden"?(g.openBlock(),g.createBlock(h,g.mergeProps({key:2,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j,type:"hidden"},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="input"?(g.openBlock(),g.createBlock(h,g.mergeProps({key:3,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.prefix?{name:"prefix",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.prefix,{},void 0,!0)]),key:"0"}:void 0,B.formSlot&&B.formSlot.suffix?{name:"suffix",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.suffix,{},void 0,!0)]),key:"1"}:void 0,B.formSlot&&B.formSlot.prepend?{name:"prepend",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.prepend,{},void 0,!0)]),key:"2"}:void 0,B.formSlot&&B.formSlot.append?{name:"append",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.append,{},void 0,!0)]),key:"3"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="autocomplete"?(g.openBlock(),g.createBlock(m,g.mergeProps({key:4,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="inputNumber"?(g.openBlock(),g.createBlock(C,g.mergeProps({key:5,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j,"controls-position":"right"},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="select"?(g.openBlock(),g.createBlock(w,g.mergeProps({key:6,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({default:g.withCtx(()=>[B.formSlot&&B.formSlot.default?g.renderSlot(e.$slots,B.formSlot.default,{key:0},void 0,!0):(g.openBlock(),g.createElementBlock(g.Fragment,{key:1},[B.isGroup?(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:0},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock(b,{key:ve,disabled:j.disabled,label:j.label},{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(j.options,(ae,X)=>(g.openBlock(),g.createBlock($,g.mergeProps(ae,{key:X}),null,16))),128))]),_:2},1032,["disabled","label"]))),128)):(g.openBlock(!0),g.createElementBlock(g.Fragment,{key:1},g.renderList(B.options,(j,ve)=>(g.openBlock(),g.createBlock($,g.mergeProps(j,{key:ve}),null,16))),128))],64))]),_:2},[B.formSlot&&B.formSlot.prefix?{name:"prefix",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.prefix,{},void 0,!0)]),key:"0"}:void 0,B.formSlot&&B.formSlot.empty?{name:"empty",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.empty,{},void 0,!0)]),key:"1"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="selectServer"?(g.openBlock(),g.createBlock(y,g.mergeProps({key:7,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"fill-url":e.fillUrl,request:e.request},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue","fill-url","request"])):B.type==="cascader"?(g.openBlock(),g.createBlock(S,g.mergeProps({key:8,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{class:"w"},g.toHandlers(B.formEvents),{onChange:j=>e.handleCascaderChange(j,B.key,B)}),g.createSlots({_:2},[B.formSlot&&B.formSlot.default?{name:"default",fn:g.withCtx(({node:j,data:ve})=>[g.renderSlot(e.$slots,B.formSlot.default,{data:ve,node:j},void 0,!0)]),key:"0"}:void 0,B.formSlot&&B.formSlot.empty?{name:"empty",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.empty,{},void 0,!0)]),key:"1"}:void 0]),1040,["modelValue","onUpdate:modelValue","onChange"])):B.type==="cascaderServer"?(g.openBlock(),g.createBlock(x,g.mergeProps({key:9,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"fill-url":e.fillUrl,request:e.request},g.toHandlers(B.formEvents),{onChange:j=>e.handleCascaderChange(j,B.key,B)}),null,16,["modelValue","onUpdate:modelValue","fill-url","request","onChange"])):B.type==="cascaderPanel"?(g.openBlock(),g.createBlock(A,g.mergeProps({key:10,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.default?{name:"default",fn:g.withCtx(({node:j,data:ve})=>[g.renderSlot(e.$slots,B.formSlot.default,{data:ve,node:j},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="switch"?(g.openBlock(),g.createBlock(O,g.mergeProps({key:11,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"active-value":1,"inactive-value":0},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="slider"?(g.openBlock(),g.createBlock(T,g.mergeProps({key:12,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="timePicker"?(g.openBlock(),g.createBlock(z,g.mergeProps({key:13,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"value-format":"HH:mm:ss"},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="timeSelect"?(g.openBlock(),g.createBlock(V,g.mergeProps({key:14,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="datePicker"?(g.openBlock(),g.createBlock(ue,g.mergeProps({key:15,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.rangeSeparator?{name:"range-separator",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.rangeSeparator,{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="datePickerRange"?(g.openBlock(),g.createBlock(ue,g.mergeProps({key:16,modelValue:e.datePickerRange,"onUpdate:modelValue":t[0]||(t[0]=j=>e.datePickerRange=j)},B.formAttrs,g.toHandlers(B.formEvents),{onChange:j=>e.datePickerChange(j,B)}),g.createSlots({_:2},[B.formSlot&&B.formSlot.rangeSeparator?{name:"range-separator",fn:g.withCtx(()=>[g.renderSlot(e.$slots,B.formSlot.rangeSeparator,{},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onChange"])):B.type==="uploadImg"?(g.openBlock(),g.createBlock(oe,g.mergeProps({key:17,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"fill-url":e.fillUrl,"response-key":e.responseKey,"upload-url":e.uploadImgUrl,"translate-title":e.translateTitle},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue","fill-url","response-key","upload-url","translate-title"])):B.type==="tag"?(g.openBlock(),g.createBlock(de,g.mergeProps({key:18,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="rate"?(g.openBlock(),g.createBlock(me,g.mergeProps({key:19,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="baseRate"?(g.openBlock(),g.createBlock(_e,g.mergeProps({key:20,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="colorPicker"?(g.openBlock(),g.createBlock(Ee,g.mergeProps({key:21,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="transfer"?(g.openBlock(),g.createBlock(Be,g.mergeProps({key:22,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),g.createSlots({_:2},[B.formSlot&&B.formSlot.default?{name:"default",fn:g.withCtx(({option:j})=>[g.renderSlot(e.$slots,B.formSlot.default,{option:j},void 0,!0)]),key:"0"}:void 0]),1040,["modelValue","onUpdate:modelValue"])):B.type==="icon"?(g.openBlock(),g.createBlock(Fe,g.mergeProps({key:23,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue"])):B.type==="richText"?(g.openBlock(),g.createBlock(je,g.mergeProps({key:24,modelValue:e.appModel[B.key],"onUpdate:modelValue":j=>e.appModel[B.key]=j},B.formAttrs,{"upload-url":e.uploadRichTextUrl},g.toHandlers(B.formEvents)),null,16,["modelValue","onUpdate:modelValue","upload-url"])):B.type==="submit"?(g.openBlock(),g.createElementBlock(g.Fragment,{key:25},[B.submit?(g.openBlock(),g.createBlock(Ue,g.mergeProps({key:0},B.submit.attrs,{loading:e.loading},g.toHandlers(B.submit.events),{onClick:e.formSubmit}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(B.submit.title),1)]),_:2},1040,["loading","onClick"])):g.createCommentVNode("",!0),B.reset?(g.openBlock(),g.createBlock(Ue,g.mergeProps({key:1},B.reset.attrs,{loading:e.loading},g.toHandlers(B.reset.events),{onClick:e.formReset}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(B.reset.title),1)]),_:2},1040,["loading","onClick"])):g.createCommentVNode("",!0)],64)):g.createCommentVNode("",!0)]),_:2},1040,["prop"])):g.createCommentVNode("",!0),B.type==="slot"?g.renderSlot(e.$slots,B.name,{key:1,model:e.appModel},void 0,!0):g.createCommentVNode("",!0)]),_:2},1040,["class"])}),128))]}),_:3})]),_:3},16,["model"])):g.createCommentVNode("",!0)}const hbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(dbe,[["render",pbe],["__scopeId","data-v-ab4eb56a"]])},Symbol.toStringTag,{value:"Module"})),gbe=g.defineComponent({name:"JwtHeaderButton",props:{loading:{type:Boolean,default:!1},currentPath:{type:String,default:"/"},menusObj:{type:Object,default:()=>{}},selectionRow:{type:Array,default:()=>[]},actionList:{type:Array,default:()=>[]},fileImportApi:{type:String,default:""}},emits:["header-action"],setup(e,{emit:t}){let n=g.computed(()=>{const a=((e==null?void 0:e.menusObj)||{})[e==null?void 0:e.currentPath];return a&&a.operations.length?a.operations.filter(s=>{let l=s.show_header;if(e.actionList&&e.actionList.length){const{code:f}=s;l=l&&e.actionList.includes(f)}return l}):[]});return{headers:g.computed(()=>({Authorization:sessionStorage.getItem("admin-token")||localStorage.getItem("admin-token")})),headerButtonActions:n,handleHeaderAction:a=>{t("header-action",a)},handleSuccess:a=>{Mn.ElMessage({message:a.msg,type:a.code===0?"success":"error"})}}}}),mbe={key:0,class:"table-header-actions fx"};function vbe(e,t,n,r,o,i){const a=g.resolveComponent("jwt-icon"),s=g.resolveComponent("el-button"),l=g.resolveComponent("el-upload");return e.headerButtonActions.length?(g.openBlock(),g.createElementBlock("div",mbe,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.headerButtonActions,(f,d)=>(g.openBlock(),g.createElementBlock(g.Fragment,{key:d},[f.code.includes("importF")?(g.openBlock(),g.createBlock(l,{key:0,"file-list":e.fileList,"onUpdate:file-list":t[0]||(t[0]=p=>e.fileList=p),action:e.fileImportApi,"before-remove":e.beforeRemove,class:"ml10",headers:e.headers,name:"filedata","on-success":e.handleSuccess,"show-file-list":!1},{default:g.withCtx(()=>[g.createVNode(s,{loading:e.loading,type:"primary"},{default:g.withCtx(()=>[f.icon&&!e.loading?(g.openBlock(),g.createBlock(a,{key:0,icon:f.icon},null,8,["icon"])):g.createCommentVNode("",!0),g.createTextVNode(" "+g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["loading"])]),_:2},1032,["file-list","action","before-remove","headers","on-success"])):(g.openBlock(),g.createBlock(s,{key:1,disabled:(f.code.includes("delete")||f.code.includes("batch"))&&!e.selectionRow.length,loading:e.loading,type:f.code.includes("delete")?"danger":"primary",onClick:p=>e.handleHeaderAction(f)},{default:g.withCtx(()=>[f.icon&&!e.loading?(g.openBlock(),g.createBlock(a,{key:0,icon:f.icon},null,8,["icon"])):g.createCommentVNode("",!0),g.createTextVNode(" "+g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["disabled","loading","type","onClick"]))],64))),128))])):g.createCommentVNode("",!0)}const ybe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(gbe,[["render",vbe]])},Symbol.toStringTag,{value:"Module"})),bbe=g.defineComponent({name:"JwtIcon",props:{icon:{type:String,default:"settings-3-line"},size:{type:[String,Number],default:16}},setup(e){return{iconName:g.computed(()=>`ri-${e.icon}`)}}});function wbe(e,t,n,r,o,i){return g.openBlock(),g.createElementBlock("i",{class:g.normalizeClass(e.iconName),style:g.normalizeStyle({"font-size":e.size+"px"})},null,6)}const $be=Object.freeze(Object.defineProperty({__proto__:null,default:jn(bbe,[["render",wbe]])},Symbol.toStringTag,{value:"Module"})),Cbe={Arrows:{"arrow-left-up":"corner,\u5DE6\u4E0A","arrow-up":"send,\u7BAD\u5934,\u5411\u4E0A,\u53D1\u9001","arrow-right-up":"send,corner,\u53F3\u4E0A,\u53D1\u9001","arrow-right":"forward,\u7BAD\u5934,\u5411\u53F3","arrow-right-down":"corner,\u53F3\u4E0B","arrow-down":"receive,\u7BAD\u5934,\u5411\u4E0B,\u63A5\u6536,\u6536\u6B3E","arrow-left-down":"receive,corner,\u7BAD\u5934,\u5DE6\u4E0B,\u63A5\u6536,\u6536\u6B3E","arrow-left":"backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","corner-right-up":"arrow,\u7BAD\u5934,\u53F3\u4E0A","corner-up-left":"arrow,\u7BAD\u5934,\u4E0A\u5DE6","corner-up-right":"arrow,\u7BAD\u5934,\u4E0A\u53F3","corner-right-down":"arrow,\u7BAD\u5934,\u53F3\u4E0B","corner-down-left":"arrow,\u7BAD\u5934,\u4E0B\u5DE6","corner-left-up":"arrow,\u7BAD\u5934,\u5DE6\u4E0A","corner-left-down":"arrow,\u7BAD\u5934,\u5DE6\u4E0B","corner-down-right":"arrow,\u7BAD\u5934,\u4E0B\u53F3","arrow-up-circle":"\u7BAD\u5934,\u5411\u4E0A","arrow-right-circle":"forward,\u7BAD\u5934,\u5411\u53F3","arrow-down-circle":"\u7BAD\u5934,\u5411\u4E0B,\u4E0B\u8F7D","arrow-left-circle":"backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","arrow-up-s":"chevron,\u7BAD\u5934,\u5411\u4E0A","arrow-right-s":"chevron,forward,\u7BAD\u5934,\u5411\u53F3","arrow-down-s":"chevron,\u7BAD\u5934,\u5411\u4E0B","arrow-left-s":"chevron,backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","skip-up":"arrow,unfold,top,\u7F6E\u9876,\u5C55\u5F00,\u6536\u8D77","skip-right":"arrow,unfold,next,\u8DF3\u8FC7,\u5C55\u5F00,\u6536\u8D77","skip-down":"arrow,unfold,next,\u8DF3\u8FC7,\u5C55\u5F00,\u6536\u8D77","skip-left":"arrow,unfold,bottom,\u5C55\u5F00,\u6536\u8D77","arrow-left-right":"exchange,swap,\u7BAD\u5934,\u5DE6\u53F3,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","arrow-up-down":"exchange,swap,\u7BAD\u5934,\u4E0A\u4E0B,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","arrow-drop-up":"chevron,\u7BAD\u5934,\u5411\u4E0A","arrow-drop-right":"chevron,forward,\u7BAD\u5934,\u5411\u53F3","arrow-drop-down":"chevron,\u7BAD\u5934,\u5411\u4E0B","arrow-drop-left":"chevron,backward,\u7BAD\u5934,\u5411\u5DE6,\u8FD4\u56DE","arrow-up-double":"unfold,top,chevron,\u5C55\u5F00,\u6536\u8D77","arrow-right-double":"unfold,chevron,\u5C55\u5F00,\u6536\u8D77","arrow-down-double":"unfold,chevron,\u5C55\u5F00,\u6536\u8D77","arrow-left-double":"unfold,chevron,\u5C55\u5F00,\u6536\u8D77","corner-up-left-double":"arrow,replay-all,\u56DE\u590D\u5168\u90E8","corner-up-right-double":"arrow,forward-all,\u8F6C\u53D1\u5168\u90E8","expand-left":"arrow,slide,pull,unfold","expand-right":"arrow,\u5C55\u5F00,\u6536\u8D77,\u53F3","contract-left":"arrow,slide,pull,fold","contract-right":"arrow,slide,pull,fold,\u5C55\u5F00,\u6536\u8D77,\u53F3","expand-up-down":"arrow,unfold,dropdown,switch,\u5C55\u5F00","expand-left-right":"arrow,unfold,dropdown,switch","contract-up-down":"arrow,fold,\u6536\u8D77","contract-left-right":"arrow,fold,\u6536\u8D77","drag-move-2":"arrow,\u62D6\u62FD,\u79FB\u52A8,\u7BAD\u5934","drag-move":"arrow,\u62D6\u62FD,\u79FB\u52A8,\u7BAD\u5934","arrow-go-back":"undo,\u7BAD\u5934,\u8FD4\u56DE,\u64A4\u9500,\u64A4\u56DE","arrow-go-forward":"redo,\u7BAD\u5934,\u91CD\u505A,\u64A4\u9500,\u64A4\u56DE","arrow-turn-forward":"\u7BAD\u5934,\u6389\u5934","arrow-turn-back":"\u7BAD\u5934,\u6389\u5934"},Buildings:{home:"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-2":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-3":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-4":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-5":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-6":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-7":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-8":"house,\u623F\u5B50,\u5BB6,\u4E3B\u9875","home-gear":"house,\u623F\u5B50,\u5DE5\u5382","home-wifi":"smart home,\u623F\u5B50,\u5BB6\u5177,\u667A\u80FD\u5BB6\u5C45","home-smile":"house,smart home,smile,\u623F\u5B50,\u667A\u80FD\u5BB6\u5C45,\u5FAE\u7B11","home-smile-2":"house,smart home,smile,\u623F\u5B50,\u667A\u80FD\u5BB6\u5C45,\u5FAE\u7B11","home-heart":"house,\u5FC3,\u623F\u5B50,\u5BB6,\u4E3B\u9875,\u5B64\u513F\u9662","home-office":"\u5C45\u5BB6\u529E\u516C",building:"city,office,enterprise,\u5EFA\u7B51,\u57CE\u5E02,\u697C,\u529E\u516C\u697C,\u5199\u5B57\u697C,\u4F01\u4E1A","building-2":"city,office,construction,enterprise,\u57CE\u5E02,\u5EFA\u7B51,\u697C,\u4F01\u4E1A","building-3":"factory,plant,enterprise,\u5DE5\u5382,\u5EFA\u7B51,\u697C,\u4F01\u4E1A","building-4":"city,office,enterprise,\u5EFA\u7B51,\u57CE\u5E02,\u697C,\u529E\u516C\u697C,\u5199\u5B57\u697C,\u4F01\u4E1A",hotel:"building,hotel,office,enterprise,tavern,\u5EFA\u7B51,\u9152\u5E97,\u697C,\u529E\u516C\u697C,\u5199\u5B57\u697C,\u4F01\u4E1A",community:"building,hotel,\u793E\u533A,\u5EFA\u7B51,\u9152\u5E97",school:"college,university,\u5B66\u6821,\u5B66\u9662",government:"building,\u653F\u5E9C,\u5EFA\u7B51,\u5927\u4F1A\u5802",bank:"bank,finance,savings,banking,\u94F6\u884C,\u4EA4\u6613\u6240",store:"shop,mall,supermarket,retail,\u5546\u5E97,\u8D85\u5E02,\u5E97\u94FA,\u5546\u5BB6","store-2":"shop,mall,supermarket,retail,\u5546\u5E97,\u8D85\u5E02,\u5E97\u94FA,\u5546\u5BB6","store-3":"shop,mall,supermarket,retail,\u5546\u5E97,\u8D85\u5E02,\u5E97\u94FA,\u5546\u5BB6",hospital:"medical,health,\u533B\u9662","ancient-gate":"historical,genre,scenic,trip,travel,\u65C5\u884C,\u65C5\u6E38,\u57CE\u95E8,\u53E4\u4EE3,\u5386\u53F2,\u666F\u533A","ancient-pavilion":"historical,genre,scenic,trip,travel,\u65C5\u884C,\u65C5\u6E38,\u51C9\u4EAD,\u53E4\u4EE3,\u5386\u53F2,\u666F\u533A"},Business:{mail:"envelope,email,inbox,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u4EF6\u7BB1","mail-open":"envelope,email,inbox,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u4EF6\u7BB1","mail-send":"envelope,email,inbox,zoom,whoosh,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u53D1\u9001,\u53D1\u4EF6\u7BB1","mail-unread":"envelope,email,inbox,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u672A\u8BFB","mail-add":"envelope,email,inbox,add,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u65B0\u589E,\u6DFB\u52A0","mail-check":"envelope,email,inbox,read,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u5DF2\u8BFB","mail-close":"envelope,email,inbox,failed,x,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u5931\u8D25","mail-download":"envelope,email,inbox,download,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u4E0B\u8F7D","mail-forbid":"envelope,email,inbox,privacy,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u7981\u6B62","mail-lock":"envelope,email,inbox,lock,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u52A0\u5BC6","mail-settings":"envelope,email,inbox,settings,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u8BBE\u7F6E","mail-star":"envelope,email,inbox,favorite,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u85CF,\u559C\u6B22","mail-volume":"envelope,email,inbox,promotional email,email campaign,subscription,sound,\u4FE1\u5C01,\u90AE\u7BB1,\u90AE\u4EF6,\u6536\u4EF6\u7BB1,\u63A8\u5E7F,\u8BA2\u9605",inbox:"\u6536\u4EF6\u7BB1","inbox-archive":"\u6536\u4EF6\u7BB1,\u5F52\u6863,\u6536\u7EB3","inbox-unarchive":"unzip,unpack,extract,\u6536\u4EF6\u7BB1,\u53D6\u6D88\u5F52\u6863,\u8FD8\u539F,\u89E3\u538B\u7F29",cloud:"weather,\u4E91\u7AEF","cloud-off":"offline-mode,connection-fail,slash,weather,\u4E91\u7AEF,\u65AD\u7F51,\u65E0\u4FE1\u53F7,\u8FDE\u63A5\u5931\u8D25",attachment:"annex,paperclip,\u9644\u4EF6,\u66F2\u522B\u9488",profile:"id,\u6863\u6848,\u8D44\u6599,\u8EAB\u4EFD\u8BC1,\u8BC1\u4EF6",archive:"box,\u6536\u7EB3,\u5F52\u6863,\u5B58\u6863,\u76D2\u5B50,\u7EB8\u7BB1","archive-drawer":"night table,\u6536\u7EB3,\u62BD\u5C49,\u5F52\u6863,\u5B58\u6863,\u5E8A\u5934\u67DC",at:"@,mention,\u63D0\u5230,\u5728",award:"medal,achievement,badge,\u6210\u5C31,\u5956\u724C,\u91D1\u724C,\u52CB\u7AE0",medal:"award,achievement,badge,\u6210\u5C31,\u5956\u724C,\u91D1\u724C,\u52CB\u7AE0","medal-2":"award,achievement,badge,\u6210\u5C31,\u5956\u724C,\u91D1\u724C,\u52CB\u7AE0","bar-chart":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u97F5\u5F8B,\u8282\u594F","bar-chart-horizontal":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u97F5\u5F8B,\u8282\u594F","bar-chart-2":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u6392\u884C,\u8282\u594F","bar-chart-box":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u8282\u594F","bar-chart-grouped":"statistics,rhythm,\u67F1\u72B6\u56FE,\u7EDF\u8BA1,\u5206\u7EC4","bubble-chart":"data,analysis,statistics,circles,\u6C14\u6CE1\u56FE,\u7EDF\u8BA1","pie-chart":"data,analysis,\u997C\u56FE,\u997C\u72B6\u56FE,\u6570\u636E,\u5206\u6790","pie-chart-2":"data,analysis,\u997C\u56FE,\u997C\u72B6\u56FE,\u6570\u636E,\u5206\u6790","pie-chart-box":"data,analysis,\u997C\u56FE,\u997C\u72B6\u56FE,\u6570\u636E,\u5206\u6790","donut-chart":"data,analysis,circle,pie,\u73AF\u5F62\u56FE,\u6570\u636E,\u5206\u6790","line-chart":"data,analysis,stats,\u6298\u7EBF\u56FE,\u6570\u636E,\u5206\u6790",bookmark:"tag,\u4E66\u7B7E,\u6807\u8BB0","bookmark-2":"tag,\u4E66\u7B7E,\u6807\u8BB0","bookmark-3":"tag,\u4E66\u7B7E,\u6807\u8BB0,\u8363\u8A89",briefcase:"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-2":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-3":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-4":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305","briefcase-5":"bag,baggage,\u516C\u6587\u5305,\u884C\u674E\u7BB1,\u65C5\u884C\u7BB1,\u76AE\u5305",calculator:"\u8BA1\u7B97\u5668,\u8BA1\u7B97\u673A",calendar:"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-2":"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-event":"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-todo":"date,plan,schedule,agenda,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868","calendar-check":"date,plan,schedule,agenda,check-in,punch,\u65E5\u5386,\u65E5\u671F,\u6708\u4EFD,\u8BA1\u5212,\u65E5\u7A0B,\u65F6\u95F4\u8868,\u7B7E\u5230,\u6253\u5361","customer-service":"headset,headphones,earphones,\u5BA2\u670D,\u552E\u540E,\u8033\u673A,\u8033\u9EA6","customer-service-2":"headset,headphones,earphones,smile,\u5BA2\u670D,\u552E\u540E,\u8033\u673A,\u8033\u9EA6",flag:"banner,pin,\u65D7\u5E1C,\u65D7\u5B50,\u56FD\u65D7,\u6807\u8BB0","flag-2":"banner,pin,\u65D7\u5E1C,\u65D7\u5B50,\u56FD\u65D7,\u6807\u8BB0",global:"earth,union,world,language,\u5730\u7403,\u8054\u5408,\u4E16\u754C,\u5168\u7403,\u8BED\u8A00",honour:"honor,glory,\u9526\u65D7,\u8363\u8A89,\u8363\u8000,\u519B\u8854",links:"connection,address,\u8054\u7CFB,\u94FE\u63A5,\u5730\u5740",printer:"\u6253\u5370\u673A","printer-cloud":"network,\u6253\u5370\u673A,\u4E91\u6253\u5370","record-mail":"voice mail,tape,\u5F55\u97F3,\u7559\u8A00,\u8BED\u97F3\u4FE1\u7BB1,\u78C1\u5E26",reply:"forward,\u56DE\u590D\u5168\u90E8,\u56DE\u590D\u6240\u6709","reply-all":"forward,\u56DE\u590D,\u7B54\u590D,\u7559\u8A00,\u8F6C\u53D1","send-plane":"\u53D1\u9001,\u7EB8\u98DE\u673A","send-plane-2":"\u53D1\u9001,\u7EB8\u98DE\u673A",projector:"projection,meeting,\u6295\u5F71\u4EEA,\u4F1A\u8BAE\u5BA4","projector-2":"projection,meeting,\u6295\u5F71\u4EEA,\u4F1A\u8BAE\u5BA4,\u6781\u7C73",slideshow:"presentation,meeting,PPT,keynote,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4","slideshow-2":"presentation,meeting,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4","slideshow-3":"presentation,meeting,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u89C6\u9891\u4F1A\u8BAE,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4","slideshow-4":"presentation,meeting,\u6295\u5F71,\u653E\u6620,\u6F14\u793A,\u6F14\u8BB2,\u53EF\u89C6\u5BF9\u8BB2,\u5E7B\u706F\u7247,\u4F1A\u8BAE\u5BA4",presentation:"teaching,training,\u6F14\u8BB2,\u8001\u5E08,\u57F9\u8BAD",window:"browser,program,web,\u7A97\u53E3,\u6D4F\u89C8\u5668,\u7A0B\u5E8F,\u7F51\u7AD9","window-2":"browser,program,web,\u7A97\u53E3,\u6D4F\u89C8\u5668,\u7A0B\u5E8F,\u7F51\u7AD9",stack:"layers,\u56FE\u5C42,\u53E0\u52A0,\u5806\u6808",service:"heart,handshake,cooperation,client,\u670D\u52A1,\u63E1\u624B,\u5FC3,\u5408\u4F5C",registered:"\u6CE8\u518C,\u5546\u6807",trademark:"\u6CE8\u518C,\u5546\u6807",advertisement:"ad,\u5E7F\u544A,\u63A8\u5E7F",copyleft:"\u8457\u4F50\u6743",copyright:"\u7248\u6743","creative-commons":"\u77E5\u8BC6\u5171\u4EAB","creative-commons-by":"attribution,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u7F72\u540D","creative-commons-nc":"noncommercial,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u975E\u5546\u4E1A\u7528\u9014","creative-commons-nd":"no derivative works,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u7981\u6B62\u6F14\u7ECE","creative-commons-sa":"share alike,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB,\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB","creative-commons-zero":"cc0,copyright,\u7248\u6743,\u77E5\u8BC6\u5171\u4EAB"},Communication:{"chat-1":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-2":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-3":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-4":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA",message:"chat,comment,reply,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","message-2":"chat,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","message-3":"chat,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-check":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u5DF2\u9605","chat-delete":"message,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u6E05\u9664,\u5220\u9664","chat-forward":"message,comment,\u6D88\u606F,\u804A\u5929,\u8F6C\u53D1","chat-upload":"message,comment,\u6D88\u606F,\u804A\u5929,\u4E0A\u4F20","chat-download":"message,comment,\u6D88\u606F,\u4E0B\u8F7D","chat-new":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-settings":"message,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BBE\u7F6E","chat-smile":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-smile-2":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-smile-3":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA","chat-heart":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u5FC3,\u70B9\u8D5E,\u6536\u85CF","chat-off":"message,reply,comment,slash,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u7981\u6B62,\u5173\u95ED",feedback:"message,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u53CD\u9988",discuss:"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BA8\u8BBA,\u7FA4\u804A","question-answer":"message,reply,comment,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BA8\u8BBA,\u7FA4\u804A",questionnaire:"message,comment,help,\u6D88\u606F,\u804A\u5929,\u56DE\u590D,\u8BC4\u8BBA,\u8BA8\u8BBA,\u8C03\u67E5\u95EE\u5377,\u5E2E\u52A9","video-chat":"message,comment,\u6D88\u606F,\u89C6\u9891\u804A\u5929","chat-voice":"message,comment,\u6D88\u606F,\u8BED\u97F3\u6D88\u606F","chat-quote":"message,reply,comment,\u6D88\u606F,\u5F15\u7528\u56DE\u590D","chat-follow-up":"message,reply,comment,\u6D88\u606F,+1,\u8DDF\u5E16","chat-poll":"message,vote,questionnaire,\u6D88\u606F,\u6295\u7968,\u95EE\u5377\u8C03\u67E5","chat-history":"message,\u5386\u53F2\u6D88\u606F,\u6D88\u606F\u8BB0\u5F55","chat-private":"message,\u79C1\u5BC6\u6D88\u606F,\u5BC6\u804A",speak:"voice,\u8BB2\u8BDD,\u58F0\u97F3"},Design:{pencil:"edit,\u94C5\u7B14,\u7F16\u8F91",edit:"pencil,\u94C5\u7B14,\u7F16\u8F91","edit-2":"pencil,\u94C5\u7B14,\u7F16\u8F91","ball-pen":"\u5706\u73E0\u7B14","quill-pen":"\u7FBD\u6BDB\u7B14,\u94A2\u7B14,\u7F16\u8F91","pen-nib":"\u94A2\u7B14,\u7B14\u5C16","ink-bottle":"\u58A8\u6C34\u74F6","mark-pen":"\u9A6C\u514B\u7B14",markup:"\u6807\u8BB0,\u9A6C\u514B","edit-box":"\u7F16\u8F91","edit-circle":"\u7F16\u8F91",sip:"\u5438\u7BA1,\u53D6\u8272\u5668",brush:"\u7B14\u5237,\u753B\u7B14,\u5237\u5B50","brush-2":"\u5237\u5B50","brush-3":"\u5237\u5B50","brush-4":"\u5237\u5B50","paint-brush":"\u586B\u8272,\u586B\u5145,\u5237\u5B50",contrast:"brightness,tonalit,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03","contrast-2":"moon,dark,brightness,tonalit,\u6708\u4EAE,\u591C\u95F4,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03",drop:"water,blur,\u6A21\u7CCA,\u6C34,\u6EF4","blur-off":"water,drop,slash,\u6A21\u7CCA,\u6C34,\u6EF4,\u7981\u6B62,\u5173\u95ED","contrast-drop":"water,brightness,tonalit,\u6C34,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03,\u6EF4","contrast-drop-2":"water,brightness,tonalit,\u6C34,\u5BF9\u6BD4\u5EA6,\u4EAE\u5EA6,\u8272\u8C03,\u6EF4",compasses:"\u5706\u89C4","compasses-2":"\u5706\u89C4",scissors:"\u526A\u5200,\u88C1\u526A","scissors-cut":"\u526A\u5200,\u88C1\u526A","scissors-2":"\u526A\u5200,\u88C1\u526A,\u622A\u5C4F",slice:"knife,\u5207\u56FE,\u5207\u7247,\u5200",eraser:"remove formatting,\u6A61\u76AE,\u64E6\u9664,\u6E05\u9664\u683C\u5F0F",ruler:"\u5C3A\u5B50","ruler-2":"\u5C3A\u5B50","pencil-ruler":"design,\u94C5\u7B14,\u5C3A\u5B50,\u6587\u5177,\u8BBE\u8BA1","pencil-ruler-2":"design,\u94C5\u7B14,\u5C3A\u5B50,\u6587\u5177,\u8BBE\u8BA1","t-box":"\u6587\u5B57,\u5B57\u4F53,\u5B57\u53F7","input-method":"\u8F93\u5165\u6CD5,\u6587\u5B57",artboard:"grid,crop,\u753B\u677F,\u88C1\u5207","artboard-2":"\u753B\u677F",crop:"\u88C1\u5207","crop-2":"\u88C1\u5207",screenshot:"capture,\u5C4F\u5E55\u622A\u56FE,\u622A\u5C4F","screenshot-2":"capture,\u5C4F\u5E55\u622A\u56FE,\u622A\u5C4F",focus:"aim,target,\u7126\u70B9,\u805A\u7126,\u76EE\u6807,\u9776\u5FC3","focus-2":"aim,target,bullseye,\u7126\u70B9,\u805A\u7126,\u76EE\u6807,\u9776\u5FC3","focus-3":"aim,target,bullseye,\u7126\u70B9,\u805A\u7126,\u76EE\u6807,\u9776\u5FC3",paint:"\u586B\u8272,\u586B\u5145,\u6CB9\u6F06\u6876",palette:"\u8C03\u8272\u76D8,\u8272\u677F",pantone:"\u8272\u677F,\u6F58\u901A\u8272,\u8272\u53F7",shape:"border,\u5F62\u72B6,\u63CF\u8FB9,\u8FB9\u6846","shape-2":"border,\u5F62\u72B6,\u63CF\u8FB9,\u8FB9\u6846",magic:"fantasy,magic stick,beautify,wand,\u9B54\u6CD5\u68D2,\u7F8E\u5316,\u5E7B\u60F3,\u9B54\u5E7B",anticlockwise:"rotate,left,counterclockwise,\u5DE6\u7FFB\u8F6C,\u5DE6\u65CB\u8F6C","anticlockwise-2":"rotate,left,counterclockwise,\u5DE6\u7FFB\u8F6C,\u5DE6\u65CB\u8F6C",clockwise:"rotate,right,\u53F3\u7FFB\u8F6C,\u53F3\u65CB\u8F6C","clockwise-2":"rotate,right,\u53F3\u7FFB\u8F6C,\u53F3\u65CB\u8F6C",hammer:"tool,\u9524\u5B50",tools:"settings,screwdriver,configuration,\u5DE5\u5177,\u8BBE\u7F6E","drag-drop":"drag and drop,mouse,\u62D6\u62FD,\u9F20\u6807",table:"\u8868\u683C","table-alt":"\u8868\u683C",layout:"\u5E03\u5C40","layout-2":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-3":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-4":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-5":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-6":"collage,\u5E03\u5C40,\u62FC\u8D34\u753B","layout-column":"\u5DE6\u53F3\u5E03\u5C40","layout-row":"\u4E0A\u4E0B\u5E03\u5C40","layout-top":"\u9876\u90E8\u5E03\u5C40,\u9876\u90E8\u5BFC\u822A","layout-right":"\u53F3\u4FA7\u5E03\u5C40,\u53F3\u4FA7\u5BFC\u822A","layout-bottom":"\u5E95\u90E8\u5E03\u5C40,\u5E95\u90E8\u5BFC\u822A","layout-left":"\u5DE6\u4FA7\u5E03\u5C40,\u5DE6\u4FA7\u5BFC\u822A","layout-top-2":"\u9876\u90E8\u5E03\u5C40,\u9876\u90E8\u5BFC\u822A","layout-right-2":"\u53F3\u4FA7\u5E03\u5C40,\u53F3\u4FA7\u5BFC\u822A","layout-bottom-2":"\u5E95\u90E8\u5E03\u5C40,\u5E95\u90E8\u5BFC\u822A","layout-left-2":"\u5DE6\u4FA7\u5E03\u5C40,\u5DE6\u4FA7\u5BFC\u822A","layout-grid":"\u5361\u7247\u5E03\u5C40,\u7F51\u683C","layout-masonry":"collage,\u7011\u5E03\u6D41\u5E03\u5C40,\u62FC\u8D34\u753B",collage:"\u7011\u5E03\u6D41\u5E03\u5C40,\u62FC\u8D34\u753B",grid:"table,\u7F51\u683C,\u8868\u683C"},Development:{bug:"\u866B\u5B50","bug-2":"\u866B\u5B50",code:"\u4EE3\u7801,\u7F16\u7A0B","code-s":"\u4EE3\u7801,\u7F16\u7A0B","code-s-slash":"\u4EE3\u7801,\u7F16\u7A0B","code-box":"\u4EE3\u7801,\u7F16\u7A0B","terminal-box":"code,command line,prompt,\u7EC8\u7AEF,\u4EE3\u7801,\u547D\u4EE4\u884C",terminal:"code,command line,prompt,\u7EC8\u7AEF,\u4EE3\u7801,\u547D\u4EE4\u884C","terminal-window":"code,command line,browser,app,ui,\u7EC8\u7AEF,\u4EE3\u7801,\u547D\u4EE4\u884C",parentheses:"code,math,\u5C0F\u62EC\u53F7",brackets:"code,math,\u4E2D\u62EC\u53F7",braces:"code,math,\u5927\u62EC\u53F7,\u82B1\u62EC\u53F7",command:"apple key,place of interest,modified key,\u82B1\u952E,\u82F9\u679C\u952E",cursor:"mouse,pointer,arrow,\u6307\u9488,\u9F20\u6807","git-commit":"node,onewheel,circle line,dot line,history point,\u63D0\u4EA4","git-pull-request":"\u5408\u5E76\u7533\u8BF7","git-merge":"combine,unite,branch,split,fork,diverge,\u5408\u5E76","git-branch":"combine,unite,split,fork,diverge,\u5206\u652F","git-repository":"book,bookmark,\u4ED3\u5E93","git-repository-commits":"book,upload,\u4ED3\u5E93,\u63D0\u4EA4","git-repository-private":"lock,secure,\u79C1\u5BC6\u4ED3\u5E93,\u79C1\u4EBA\u4ED3\u5E93",html5:"html,h5,web",css3:"css,web,styles",javascript:"js,\u811A\u672C"},Device:{tv:"television,antenna,rabbet ears,\u7535\u89C6","tv-2":"monitor,display,screen,television,\u7535\u89C6,\u663E\u793A\u5668",computer:"pc,monitor,display,screen,\u7535\u8111,\u663E\u793A\u5668",mac:"monitor,imac,display,computer,screen,\u663E\u793A\u5668",macbook:"laptop,computer,\u7B14\u8BB0\u672C",cellphone:"\u624B\u673A,\u7535\u8BDD",smartphone:"mobile,\u624B\u673A",tablet:"\u5E73\u677F\u7535\u8111",device:"\u8BBE\u5907",phone:"\u7535\u8BDD",database:"storage,resource,bars,progress,\u6570\u636E\u5E93,\u5B58\u50A8","database-2":"storage,discs,silo,platter,\u6570\u636E\u5E93,\u5B58\u50A8",server:"\u670D\u52A1\u5668","hard-drive":"disc,storage,\u786C\u76D8,\u5B58\u50A8","hard-drive-2":"disc,server,storage,\u786C\u76D8,\u670D\u52A1\u5668,\u5B58\u50A8",install:"\u5B89\u88C5",uninstall:"\u5378\u8F7D",save:"floppy,\u4FDD\u5B58,\u8F6F\u76D8","save-2":"floppy,\u4FDD\u5B58,\u8F6F\u76D8","save-3":"floppy,\u4FDD\u5B58,\u8F6F\u76D8","sd-card":"\u5185\u5B58\u5361","sd-card-mini":"\u5185\u5B58\u5361","sim-card":"\u7535\u8BDD\u5361","sim-card-2":"\u7535\u8BDD\u5361","dual-sim-1":"sim card,\u7535\u8BDD\u5361,\u5361\u69FD,\u53CC\u5361\u53CC\u5F85","dual-sim-2":"sim card,\u7535\u8BDD\u5361,\u5361\u69FD,\u53CC\u5361\u53CC\u5F85","u-disk":"U\u76D8,\u4F18\u76D8",battery:"\u7535\u6C60","battery-charge":"\u7535\u6C60,\u5145\u7535","battery-low":"\u7535\u6C60,\u4F4E\u7535\u91CF","battery-2":"\u7535\u6C60","battery-2-charge":"\u7535\u6C60,\u5145\u7535","battery-saver":"\u7535\u6C60,\u7701\u7535\u6A21\u5F0F","battery-share":"\u7535\u6C60\u5171\u4EAB,\u5171\u4EAB\u7535\u91CF",cast:"mirroring,\u6295\u5C4F,\u65E0\u7EBF,\u5E7F\u64AD",airplay:"mirroring,\u6295\u5C4F,\u65E0\u7EBF",cpu:"\u4E2D\u592E\u5904\u7406\u5668",gradienter:"\u6C34\u5E73\u4EEA",keyboard:"input,\u952E\u76D8,\u8F93\u5165","keyboard-box":"input,\u952E\u76D8,\u8F93\u5165",mouse:"\u9F20\u6807",sensor:"capacitor,\u4F20\u611F\u5668,\u7535\u5BB9\u5668",router:"wifi,signal tower,radio,station,\u8DEF\u7531\u5668,\u4FE1\u53F7\u5854,\u5E7F\u64AD,\u57FA\u7AD9,\u6D41\u91CF",radar:"satellite receiver,\u96F7\u8FBE,\u536B\u661F\u63A5\u6536\u5668,\u9505",gamepad:"consoles,controller,\u6E38\u620F\u624B\u67C4","remote-control":"controller,\u9065\u63A7\u5668","remote-control-2":"controller,\u9065\u63A7\u5668","device-recover":"\u6062\u590D\u51FA\u5382\u8BBE\u7F6E",hotspot:"\u624B\u673A\u70ED\u70B9","phone-find":"\u627E\u56DE\u624B\u673A","phone-lock":"\u9501\u5B9A\u624B\u673A","rotate-lock":"\u9501\u5B9A\u65CB\u8F6C\u5C4F\u5E55",restart:"reload,refresh,\u91CD\u542F","shut-down":"power off,\u5173\u673A",fingerprint:"\u6307\u7EB9","fingerprint-2":"\u6307\u7EB9",barcode:"scan,\u626B\u7801,\u6761\u5F62\u7801,\u6761\u7801","barcode-box":"scan,\u626B\u7801,\u6761\u5F62\u7801,\u6761\u7801","qr-code":"\u4E8C\u7EF4\u7801","qr-scan":"\u4E8C\u7EF4\u7801,\u626B\u63CF","qr-scan-2":"\u4E8C\u7EF4\u7801,\u626B\u63CF",scan:"\u626B\u63CF","scan-2":"\u626B\u63CF",rss:"feed,subscribe,\u8BA2\u9605",gps:"signal,\u5B9A\u4F4D,\u4FE1\u53F7","base-station":"wifi,signal tower,router,cast,\u57FA\u7AD9,\u4FE1\u53F7\u5854,\u8DEF\u7531\u5668,\u5E7F\u64AD,\u6D41\u91CF",bluetooth:"wireless,\u84DD\u7259,\u65E0\u7EBF","bluetooth-connect":"wireless,\u84DD\u7259,\u8FDE\u63A5,\u65E0\u7EBF",wifi:"\u65E0\u7EBF\u7F51","wifi-off":"slash,offline,connection-fail,\u65E0\u7EBF\u7F51,\u5173\u95ED,\u65AD\u7F51,\u94FE\u63A5\u5931\u8D25","signal-wifi":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-1":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-2":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-3":"cellular,strength,\u65E0\u7EBF\u7F51,\u4FE1\u53F7","signal-wifi-error":"cellular,offline,connection-fail,\u65E0\u7EBF\u7F51,\u65AD\u7F51,\u94FE\u63A5\u5931\u8D25,\u65E0\u4FE1\u53F7","signal-wifi-off":"cellular,slash,offline,connection-fail,\u65E0\u7EBF\u7F51,\u5173\u95ED,\u65AD\u7F51,\u94FE\u63A5\u5931\u8D25","wireless-charging":"power,flash,\u65E0\u7EBF\u5145\u7535,\u95EA\u5145","dashboard-2":"\u4EEA\u8868\u76D8","dashboard-3":"\u4EEA\u8868\u76D8",usb:"\u4F18\u76D8"},Document:{file:"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-2":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-3":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-4":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","sticky-note":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA,\u4FBF\u7B7E\u7EB8,\u4FBF\u5229\u8D34","sticky-note-2":"new,paper,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA,\u4FBF\u7B7E\u7EB8,\u4FBF\u5229\u8D34","file-edit":"\u6587\u4EF6,\u6587\u6863,\u7F16\u8F91",draft:"\u8349\u7A3F\u7BB1,\u6587\u4EF6,\u6587\u6863,\u7F16\u8F91","file-paper":"\u6587\u4EF6,\u6587\u6863,\u7EB8,\u8C31","file-paper-2":"\u6587\u4EF6,\u6587\u6863,\u7EB8,\u8C31","file-text":"\u6587\u4EF6,\u6587\u6863,\u6587\u672C","file-list":"\u6E05\u5355,\u5217\u8868","file-list-2":"\u6E05\u5355,\u5217\u8868","file-list-3":"newspaper,\u6E05\u5355,\u5217\u8868,\u62A5\u7EB8",bill:"\u8D26\u5355","file-copy":"duplicate,clone,\u590D\u5236,\u514B\u9686","file-copy-2":"duplicate,clone,\u590D\u5236,\u514B\u9686",clipboard:"copy,\u590D\u5236,\u526A\u5207\u677F",survey:"research,questionnaire,clipboard,checkboxes,form,census,\u8C03\u67E5,\u95EE\u5377,\u8C03\u7814",article:"newspaper,document,publisher,print,page,word,file,publication,\u6587\u7AE0,\u62A5\u7EB8",newspaper:"\u62A5\u7EB8","file-zip":"7z,rar,\u538B\u7F29\u5305","file-mark":"\u6587\u4EF6,\u6587\u6863,\u6807\u8BB0",task:"todo,\u4EFB\u52A1,\u5F85\u529E",todo:"\u5F85\u529E",book:"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50","book-mark":"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50,\u4E66\u7B7E","book-2":"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50","book-3":"read,dictionary,booklet,\u4E66,\u9605\u8BFB,\u5B57\u5178,\u5C0F\u518C\u5B50","book-open":"read,booklet,magazine,\u4E66,\u9605\u8BFB,\u5C0F\u518C\u5B50,\u6742\u5FD7","book-read":"booklet,magazine,\u4E66,\u9605\u8BFB,\u5C0F\u518C\u5B50,\u6742\u5FD7","contacts-book":"\u901A\u8BAF\u5F55,\u8054\u7CFB\u4EBA","contacts-book-2":"\u901A\u8BAF\u5F55,\u8054\u7CFB\u4EBA","contacts-book-upload":"upload,\u901A\u8BAF\u5F55,\u8054\u7CFB\u4EBA,\u4E0A\u4F20",booklet:"notebook,\u624B\u518C,\u7B14\u8BB0\u672C,\u5C0F\u518C\u5B50","file-code":"config,\u6587\u4EF6,\u6587\u6863,\u4EE3\u7801,\u811A\u672C,\u914D\u7F6E\u6587\u4EF6","file-pdf":"\u6587\u4EF6,\u6587\u6863","file-word":"\u6587\u6863","file-ppt":"\u6587\u4EF6,\u6587\u6863","file-excel":"\u6587\u6863,\u8868\u5355","file-word-2":"\u6587\u6863","file-ppt-2":"\u6587\u4EF6,\u6587\u6863","file-excel-2":"\u6587\u6863,\u8868\u5355","file-hwp":"\u6587\u4EF6,\u6587\u6863,hangul word processor",keynote:"\u6F14\u793A\u6587\u7A3F,\u5E7B\u706F\u7247,\u8BB2\u6F14",numbers:"\u8868\u683C",pages:"website,browser,ui,blocks,prototype,\u6587\u7A3F","file-search":"\u6587\u4EF6,\u6587\u6863,\u641C\u7D22","file-add":"page,document,new,plus,add,\u6587\u4EF6,\u6587\u6863,\u65B0\u5EFA","file-reduce":"page,document,subtract,delete,\u6587\u4EF6,\u6587\u6863,\u51CF","file-settings":"page,document,cog,gear,\u6587\u4EF6,\u6587\u6863,\u8BBE\u7F6E","file-upload":"page,document,\u6587\u4EF6,\u6587\u6863,\u4E0A\u4F20","file-transfer":"page,document,\u6587\u4EF6,\u6587\u6863,\u4F20\u8F93","file-download":"page,document,\u6587\u4EF6,\u6587\u6863,\u4E0B\u8F7D","file-lock":"page,document,\u6587\u4EF6,\u6587\u6863,\u9501","file-chart":"page,document,report,\u6587\u4EF6,\u6587\u6863,\u67F1\u72B6\u56FE,\u62A5\u8868","file-chart-2":"report,\u6587\u4EF6,\u6587\u6863,\u997C\u56FE,\u62A5\u8868","file-music":"\u6587\u4EF6,\u6587\u6863,\u97F3\u4E50","file-gif":"\u6587\u4EF6,\u6587\u6863,\u52A8\u56FE","file-forbid":"\u6587\u4EF6,\u6587\u6863,\u7981\u7528","file-info":"\u6587\u4EF6,\u6587\u6863,\u4FE1\u606F","file-warning":"page,document,paper,!,alert,important,exclamation,\u6587\u4EF6,\u6587\u6863,\u8B66\u544A,\u63D0\u9192","file-unknow":"\u6587\u4EF6,\u6587\u6863,\u672A\u77E5,\u95EE\u53F7","file-user":"\u6587\u4EF6,\u6587\u6863,\u7528\u6237","file-shield":"protected,secured,\u6587\u4EF6,\u6587\u6863,\u76FE\u724C,\u4FDD\u62A4,\u5B89\u5168","file-shield-2":"protected,secured,\u6587\u4EF6,\u6587\u6863,\u76FE\u724C,\u4FDD\u62A4,\u5B89\u5168","file-damage":"breakdown,broken,corrupt,\u6587\u4EF6,\u6587\u6863,\u635F\u574F,\u7834\u635F,\u7834\u88C2","file-history":"record,\u6587\u4EF6,\u6587\u6863,\u8BB0\u5F55,\u5386\u53F2","file-shred":"shredder,shred,destroy,cut,\u6587\u6863,\u9500\u6BC1,\u788E\u7EB8\u673A,\u7834\u88C2,\u7C89\u788E","file-cloud":"network,\u6587\u4EF6,\u6587\u6863,\u4E91",folder:"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-2":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-3":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-4":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863","folder-5":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863",folders:"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6279\u91CF","folder-add":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6DFB\u52A0","folder-reduce":"directory,file,remove,subtract,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u51CF","folder-settings":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u8BBE\u7F6E","folder-upload":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4E0A\u4F20","folder-transfer":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4F20\u8F93","folder-download":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4E0B\u8F7D","folder-lock":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u9501","folder-chart":"report,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u67F1\u72B6\u56FE,\u62A5\u8868","folder-chart-2":"report,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u997C\u56FE,\u62A5\u8868","folder-music":"directory,file,audio,sound,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u97F3\u4E50","folder-forbid":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u7981\u7528","folder-info":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4FE1\u606F","folder-warning":"!,alert,important,exclamation,alert,directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u8B66\u544A,\u63D0\u9192","folder-unknow":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u672A\u77E5","folder-user":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u7528\u6237","folder-shield":"directory,file,protected,secured,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4FDD\u62A4,\u76FE\u724C,\u5B89\u5168","folder-shield-2":"directory,file,protected,secured,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u4FDD\u62A4,\u76FE\u724C,\u5B89\u5168","folder-shared":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u5206\u4EAB","folder-received":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u63A5\u6536","folder-open":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6253\u5F00","folder-keyhole":"directory,encryption,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6253\u5F00,\u52A0\u5BC6\u6587\u6863","folder-zip":"directory,file,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u6253\u5F00,\u538B\u7F29","folder-history":"directory,file,record,\u6587\u4EF6\u5939,\u76EE\u5F55,\u6587\u6863,\u8BB0\u5F55,\u5386\u53F2",markdown:"arrow,\u7BAD\u5934,\u4E0B"},Editor:{bold:"\u52A0\u7C97",italic:"\u659C\u4F53",heading:"\u6807\u9898",text:"\u5B57\u4F53","font-color":"\u6587\u5B57\u8272",overline:"\u4E0A\u5212\u7EBF","font-size":"\u5B57\u53F7,\u5B57\u4F53\u5927\u5C0F","font-size-2":"\u5B57\u53F7,\u5B57\u4F53\u5927\u5C0F",underline:"\u4E0B\u5212\u7EBF",emphasis:"\u7740\u91CD\u53F7","emphasis-cn":"\u7740\u91CD\u53F7",strikethrough:"remove formatting,del,\u5220\u9664\u7EBF","strikethrough-2":"remove formatting,del,\u5220\u9664\u7EBF","format-clear":"remove formatting,\u6E05\u9664\u683C\u5F0F","align-left":"ragged right,\u5DE6\u5BF9\u9F50","align-center":"\u5C45\u4E2D\u5BF9\u9F50","align-right":"ragged left,\u53F3\u5BF9\u9F50","align-justify":"four,lines,ruled,left-right,full width,\u6392\u5217\u5BF9\u9F50","align-top":"two arrows up,double-up,start,\u9876\u90E8\u5BF9\u9F50","align-vertically":"centered,middle,balance,\u5782\u76F4\u5BF9\u9F50","align-bottom":"two arrows down,double-down,end,\u5E95\u90E8\u5BF9\u9F50","list-check":"check list,\u6E05\u5355\u5217\u8868","list-check-2":"check list,\u6E05\u5355\u5217\u8868","list-ordered":"number list,\u6709\u5E8F\u5217\u8868","list-unordered":"bullet list,\u65E0\u5E8F\u5217\u8868","indent-decrease":"indent more,quote,\u7F29\u8FDB","indent-increase":"indent less,quote,\u7F29\u8FDB","line-height":"leading,\u884C\u9AD8","text-spacing":"letter spacing,character spacing,kerning,tracking,\u5B57\u95F4\u8DDD","text-wrap":"return,\u6587\u672C\u6362\u884C","attachment-2":"annex,paperclip,\u9644\u4EF6,\u66F2\u522B\u9488",link:"connection,address,\u8054\u7CFB,\u94FE\u63A5,\u5730\u5740","link-unlink":"connection,remove address,\u53BB\u9664\u94FE\u63A5","link-m":"connection,address,\u8054\u7CFB,\u94FE\u63A5,\u5730\u5740","link-unlink-m":"connection,remove address,\u53BB\u9664\u94FE\u63A5",separator:"\u5206\u5272\u7EBF",space:"\u7A7A\u683C","page-separator":"insert,\u5206\u9875\u7B26,\u63D2\u5165","code-view":"\u4EE3\u7801\u89C6\u56FE","double-quotes-l":"left,quotaion marks,\u53CC\u5F15\u53F7","double-quotes-r":"right,quotaion marks,\u53CC\u5F15\u53F7","single-quotes-l":"left,quotaion marks,\u5355\u5F15\u53F7","single-quotes-r":"right,quotaion marks,\u5355\u5F15\u53F7","table-2":"\u8868\u683C",subscript:"\u89D2\u6807,\u4E0B\u6807,\u811A\u6CE8","subscript-2":"\u89D2\u6807,\u4E0B\u6807,\u811A\u6CE8",superscript:"\u89D2\u6807,\u4E0A\u6807","superscript-2":"\u89D2\u6807,\u4E0A\u6807",paragraph:"\xB6,pilcrow,\u6BB5\u843D","text-direction-l":"\u6587\u672C\u5DE6\u5BF9\u9F50","text-direction-r":"\u6587\u672C\u5DE6\u5BF9\u9F50",functions:"\u03A3,sum,sigma,\u529F\u80FD",omega:"\u03A9,horseshoe,\u7279\u6B8A\u7B26\u53F7",hashtag:"#,pound,number,\u4E95\u53F7",asterisk:"*,all,everything,wildcard,\u661F\u53F7","question-mark":"?,\u95EE\u53F7",translate:"translator,\u7FFB\u8BD1","translate-2":"translator,\u7FFB\u8BD1","a-b":"a/b testing,ab testing,split test,either-or,ab\u6D4B\u8BD5","english-input":"\u82F1\u6587\u8F93\u5165\u6CD5","pinyin-input":"\u62FC\u97F3\u8F93\u5165\u6CD5","wubi-input":"\u4E94\u7B14\u8F93\u5165\u6CD5","input-cursor-move":"\u79FB\u52A8\u8F93\u5165\u5149\u6807","number-1":"1,\u4E00,\u6570\u5B57","number-2":"2,\u4E8C,\u6570\u5B57","number-3":"3,\u4E09,\u6570\u5B57","number-4":"4,\u56DB,\u6570\u5B57","number-5":"5,\u4E94,\u6570\u5B57","number-6":"6,\u516D,\u6570\u5B57","number-7":"7,\u4E03,\u6570\u5B57","number-8":"8,\u516B,\u6570\u5B57","number-9":"9,\u4E5D,\u6570\u5B57","number-0":"0,\u96F6,\u6570\u5B57","sort-asc":"ranking,ordering,sorting,ascending,descending,\u5347\u5E8F\u6392\u5217,\u6392\u5E8F","sort-desc":"ranking,ordering,\u964D\u5E8F\u6392\u5217,\u6392\u5E8F","bring-forward":"arrange,\u5C42\u7EA7,\u5411\u4E0A\u4E00\u5C42","send-backward":"arrange,\u5C42\u7EA7,\u5411\u4E0B\u4E00\u5C42","bring-to-front":"arrange,\u5C42\u7EA7,\u79FB\u5230\u6700\u524D\u9762","send-to-back":"arrange,\u5C42\u7EA7,\u79FB\u5230\u6700\u540E\u9762","h-1":"heading,\u4E00\u7EA7\u6807\u9898","h-2":"heading,\u4E00\u7EA7\u6807\u9898","h-3":"heading,\u4E00\u7EA7\u6807\u9898","h-4":"heading,\u4E00\u7EA7\u6807\u9898","h-5":"heading,\u4E00\u7EA7\u6807\u9898","h-6":"heading,\u4E00\u7EA7\u6807\u9898","insert-column-left":"\u6DFB\u52A0\u5217,\u5DE6\u4FA7","insert-column-right":"\u6DFB\u52A0\u5217,\u53F3\u4FA7","insert-row-top":"\u6DFB\u52A0\u884C,\u9876\u90E8","insert-row-bottom":"\u6DFB\u52A0\u884C,\u5E95\u90E8","delete-column":"\u5220\u9664\u5217,\u5E95\u90E8","delete-row":"\u6DFB\u52A0\u884C,\u5E95\u90E8","merge-cells-horizontal":"\u5408\u5E76\u5355\u5143\u683C","merge-cells-vertical":"\u5408\u5E76\u5355\u5143\u683C","split-cells-horizontal":"\u62C6\u5206\u5355\u5143\u683C","split-cells-vertical":"\u62C6\u5206\u5355\u5143\u683C","flow-chart":"\u6D41\u7A0B\u56FE","mind-map":"mindmap,\u8111\u56FE,\u601D\u7EF4\u5BFC\u56FE","node-tree":"\u8282\u70B9,\u5C42\u7EA7\u5173\u7CFB\u56FE","organization-chart":"\u7EC4\u7EC7\u67B6\u6784\u56FE,\u5C40\u57DF\u7F51","rounded-corner":"\u5706\u89D2",sketching:"signature,\u624B\u5199,\u624B\u7ED8,\u7B7E\u540D"},Finance:{wallet:"pocketbook,\u94B1\u5305,\u5361\u5305","wallet-2":"money clip,\u94B1\u5305,\u5361\u5305","wallet-3":"money clip,\u94B1\u5305,\u5361\u5305","bank-card":"credit,purchase,payment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361,\u8D2D\u4E70,\u6D88\u8D39,\u652F\u4ED8","bank-card-2":"credit,purchase,payment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361,\u8D2D\u4E70,\u6D88\u8D39,\u652F\u4ED8","secure-payment":"credit,purchase,payment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361,\u8D2D\u4E70,\u6D88\u8D39,\u652F\u4ED8,\u5B89\u5168",refund:"credit card,repayment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361\u8FD8\u6B3E","refund-2":"credit card,repayment,cc,\u94F6\u884C\u5361,\u4FE1\u7528\u5361\u8FD8\u6B3E",safe:"vault,secure,\u4FDD\u9669\u67DC,\u4FDD\u9669\u7BB1","safe-2":"vault,insecure,unlocked,\u4FDD\u9669\u67DC,\u4FDD\u9669\u7BB1","price-tag":"label,\u6807\u7B7E,\u4EF7\u7B7E","price-tag-2":"label,\u6807\u7B7E,\u4EF7\u7B7E","price-tag-3":"label,\u6807\u7B7E,\u4EF7\u7B7E",ticket:"coupon,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","ticket-2":"coupon,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238",coupon:"ticket,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-2":"ticket,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-3":"ticket,\u7968,\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-4":"\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","coupon-5":"\u4F18\u60E0\u5238,\u4EE3\u91D1\u5238","shopping-bag":"purse,\u8D2D\u7269\u888B,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-bag-2":"\u8D2D\u7269\u888B,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-bag-3":"\u8D2D\u7269\u888B,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-basket":"\u8D2D\u7269\u7BEE,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-basket-2":"\u8D2D\u7269\u7BEE,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-cart":"\u8D2D\u7269\u8F66,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE","shopping-cart-2":"\u8D2D\u7269\u8F66,\u8D2D\u4E70,\u6D88\u8D39,\u5546\u57CE",vip:"\u4F1A\u5458","vip-crown":"king,queen,\u7687\u51A0,\u4F1A\u5458,\u56FD\u738B,\u5973\u738B,\u738B\u540E","vip-crown-2":"king,queen,\u7687\u51A0,\u4F1A\u5458,\u56FD\u738B,\u5973\u738B,\u738B\u540E","vip-diamond":"\u94BB\u77F3,\u4F1A\u5458",trophy:"\u5956\u54C1,\u5956\u676F,\u91D1\u676F",exchange:"swap,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","exchange-box":"swap,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362",swap:"exchange,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","swap-box":"exchange,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362","exchange-dollar":"swap,transfer,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362,\u7F8E\u5143,\u8F6C\u8D26","exchange-cny":"swap,transfer,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362,\u4EBA\u6C11\u5E01,\u8F6C\u8D26","exchange-funds":"swap,transfer,\u4EA4\u6362,\u6362\u7B97,\u5151\u6362,\u57FA\u91D1,\u80A1\u7968,\u8F6C\u8D26","increase-decrease":"\u8BA1\u7B97\u5668",percent:"\u767E\u5206\u4E4B,\u767E\u5206\u6BD4","copper-coin":"currency,payment,\u94DC\u5E01,\u786C\u5E01,\u8D27\u5E01,\u94B1,\u652F\u4ED8","copper-diamond":"currency,coins,\u91D1\u5E01,\u94BB\u77F3,\u8D27\u5E01,\u94B1,\u652F\u4ED8","money-cny-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u4EBA\u6C11\u5E01","money-cny-circle":"currency,coins,\u91D1\u5E01,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u4EBA\u6C11\u5E01","money-dollar-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u7F8E\u5143","money-dollar-circle":"currency,coins,\u91D1\u5E01,payment,cent,penny,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u7F8E\u5143,\u7F8E\u5206,\u4FBF\u58EB","money-euro-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u6B27\u5143","money-euro-circle":"currency,coins,\u91D1\u5E01,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u6B27\u5143","money-pound-box":"currency,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u82F1\u9551","money-pound-circle":"currency,coins,\u91D1\u5E01,payment,\u8D27\u5E01,\u94B1,\u652F\u4ED8,\u82F1\u9551","bit-coin":"currency,payment,\u8D27\u5E01,\u94B1,\u6BD4\u7279\u5E01",coin:"\u91D1\u5E01,\u786C\u5E01",cash:"\u73B0\u91D1,\u949E\u7968",coins:"\u91D1\u5E01,\u786C\u5E01",currency:"cash,payment,\u8D27\u5E01,\u94B1",funds:"foundation,stock,\u57FA\u91D1,\u80A1\u7968","funds-box":"foundation,stock,\u57FA\u91D1,\u80A1\u7968","red-packet":"\u7EA2\u5305","water-flash":"\u6C34\u7535\u8D39",stock:"\u80A1\u7968",auction:"hammer,gavel,\u62CD\u5356,\u9524\u5B50",gift:"present,\u793C\u7269","gift-2":"present,\u793C\u7269","hand-coin":"donate,business,\u6350\u8D60","hand-heart":"help,donate,volunteer,welfare,\u5E2E\u52A9,\u7231\u5FC3,\u6350\u8D60,\u5FD7\u613F\u8005,\u516C\u76CA","24-hours":"last,24\u5C0F\u65F6\u8425\u4E1A",nft:"token",p2p:"trade,\u70B9\u5BF9\u70B9,\u4EA4\u6613","token-swap":"\u4EE3\u5E01,\u5151\u6362"},"Health & Medical":{heart:"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF","heart-2":"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF","heart-3":"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF","heart-add":"like,love,favorite,\u5FC3,\u559C\u6B22,\u7231,\u6536\u85CF",dislike:"like,love,remove favorite,\u5FC3,\u4E0D\u559C\u6B22,\u53D6\u6D88\u6536\u85CF",hearts:"romance,\u7231\u60C5,\u6D6A\u6F2B,\u5FC3","heart-pulse":"heart rate,\u8109\u640F,\u5FC3\u7387",pulse:"wave,heart rate,\u8109\u640F,\u5FC3\u7387,\u6CE2",empathize:"care,heart,\u540C\u7406\u5FC3,\u5173\u7231,\u5FC3",nurse:"doctors,\u533B\u751F,\u62A4\u58EB",dossier:"\u75C5\u4F8B","health-book":"\u5065\u5EB7\u624B\u518C,\u533B\u7597\u624B\u518C","first-aid-kit":"case,\u6025\u6551\u7BB1",capsule:"medicine, \u80F6\u56CA,\u836F","medicine-bottle":"\u836F\u74F6",flask:"testing,experimental,experiment,\u70E7\u74F6,\u5B9E\u9A8C,\u8BD5\u9A8C","test-tube":"testing,experimental,experiment,\u8BD5\u7BA1,\u5B9E\u9A8C,\u8BD5\u9A8C",microscope:"testing,experimental,experiment,\u663E\u5FAE\u955C,\u5B9E\u9A8C,\u8BD5\u9A8C","hand-sanitizer":"alcohol,\u9152\u7CBE\u6D88\u6BD2\u6D17\u624B\u6DB2","mental-health":"\u5FC3\u7406\u5065\u5EB7",psychotherapy:"\u5FC3\u7406\u6CBB\u7597",stethoscope:"\u542C\u8BCA\u5668",syringe:"\u6CE8\u5C04\u5668",thermometer:"\u4F53\u6E29\u8BA1","infrared-thermometer":"\u7EA2\u5916\u7EBF\u4F53\u6E29\u8BA1,\u4F53\u6E29\u67AA","surgical-mask":"\u5916\u79D1\u533B\u7528\u53E3\u7F69",virus:"\u75C5\u6BD2",lungs:"\u80BA\u90E8","rest-time":"close,\u4F11\u606F\u65F6\u95F4,\u6253\u70CA",zzz:"\u7761\u89C9",brain:"think,\u5927\u8111,\u601D\u8003"},Logos:{alipay:"zhifubao,\u652F\u4ED8\u5B9D",amazon:"\u4E9A\u9A6C\u900A",android:"applications,\u5B89\u5353,\u5E94\u7528",angularjs:"angular,programing framework","app-store":"applications,\u82F9\u679C\u5E94\u7528\u5546\u5E97",apple:"\u82F9\u679C",baidu:"du,claw,\u767E\u5EA6,\u722A",bard:"google,ai,magic,star,shining,sparkling,twinkle,\u4EBA\u5DE5\u667A\u80FD,\u9B54\u6CD5,\u661F\u661F,\u95EA\u70C1",behance:"behance",bilibili:"\u54D4\u54E9\u54D4\u54E9",bootstrap:"",centos:"linux,system,\u7CFB\u7EDF",chrome:"\u8C37\u6B4C\u6D4F\u89C8\u5668",codepen:"\u4EE3\u7801\u7B14",copilot:"github,\u98DE\u884C\u5458",coreos:"linux,system,\u7CFB\u7EDF",dingding:"\u9489\u9489",discord:"game,chat",disqus:"comments",douban:"\u8C46\u74E3",dribbble:"\u8FFD\u6CE2",drive:"google drive,\u8C37\u6B4C\u4E91\u7AEF\u786C\u76D8",dropbox:"\u591A\u5B9D\u7BB1",edge:"microsoft edge,edge\u6D4F\u89C8\u5668","edge-new":"microsoft-edge,\u6D4F\u89C8\u5668",evernote:"\u5370\u8C61\u7B14\u8BB0",facebook:"\u8138\u4E66","facebook-circle":"\u8138\u4E66","facebook-box":"\u8138\u4E66",finder:"macintosh,\u4EFF\u8FBE",firefox:"\u706B\u72D0\u6D4F\u89C8\u5668",flickr:"",flutter:"google",gatsby:"gatsby",github:"github",gitlab:"gitlab",google:"\u8C37\u6B4C","google-play":"applications,\u8C37\u6B4C\u5E94\u7528\u5546\u5E97","honor-of-kings":"game,\u738B\u8005\u8363\u8000",ie:"internet explorer,\u6D4F\u89C8\u5668",instagram:"\u7167\u7247\u5899",invision:"invision","kakao-talk":"kakao talk,chat",line:"\u8FDE\u6211",linkedin:"\u9886\u82F1","linkedin-box":"\u9886\u82F1","microsoft-loop":"Doc,\u7B14\u8BB0",mastercard:"bank card,\u94F6\u884C\u5361",mastodon:"mastodon,\u957F\u6BDB\u8C61",medium:"\u5A92\u4F53",messenger:"facebook,\u8138\u4E66,\u4FE1\u4F7F",meta:"\u5143",microsoft:"windows,\u7A97\u6237,\u5FAE\u8F6F","mini-program":"\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F","netease-cloud-music":"netease cloud music,\u7F51\u6613\u4E91\u97F3\u4E50",netflix:"\u7F51\u98DE",notion:"notes,doc,\u7B14\u8BB0,\u6587\u6863",npmjs:"npm,nodejs",openai:"\u4EBA\u5DE5\u667A\u80FD","open-source":"opensource,\u5F00\u6E90",opera:"\u6B27\u670B\u6D4F\u89C8\u5668",patreon:"donate,money,\u6350\u8D60,\u6253\u8D4F",paypal:"\u8D1D\u5B9D",pinterest:"\u62FC\u8DA3",pixelfed:"photography,pixelfed",playstation:"ps","product-hunt":"product hunt",qq:"penguin,tencent,\u817E\u8BAF,\u4F01\u9E45",reactjs:"react,programing framework,facebook",reddit:"reddit",remixicon:"remix icon,\u56FE\u6807",safari:"safari\u6D4F\u89C8\u5668",skype:"skype",slack:"slack",snapchat:"ghost,\u8272\u62C9\u5E03,\u5E7D\u7075",soundcloud:"\u58F0\u4E91",spectrum:"spectrum",spotify:"music,\u97F3\u4E50","stack-overflow":"stack overflow",stackshare:"share,\u5206\u4EAB,\u6280\u672F\u6808",steam:"game,store",switch:"nintendo,\u4EFB\u5929\u5802",taobao:"\u6DD8\u5B9D",telegram:"telegram",tiktok:"\u6296\u97F3",trello:"trello",tumblr:"\u6C64\u535A\u4E50",twitch:"twitch",twitter:"\u63A8\u7279",ubuntu:"linux,system,\u7CFB\u7EDF",unsplash:"photos",vimeo:"\u89C6\u9891",visa:"bank card,\u94F6\u884C\u5361",vuejs:"vue,programing framework",wechat:"\u5FAE\u4FE1","wechat-2":"\u5FAE\u4FE1","wechat-channels":"\u5FAE\u4FE1\u89C6\u9891\u53F7","wechat-pay":"\u5FAE\u4FE1\u652F\u4ED8",weibo:"\u65B0\u6D6A\u5FAE\u535A",whatsapp:"\u74E6\u6B21\u827E\u666E",windows:"microsoft,\u7A97\u6237,\u5FAE\u8F6F",wordpress:"blog,\u535A\u5BA2",xbox:"xbox",xing:"xing",youtube:"\u4F18\u5154,\u6CB9\u7BA1",zcool:"zcool,\u7AD9\u9177",zhihu:"\u77E5\u4E4E"},Map:{"map-pin":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-2":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-3":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-4":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-5":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E","map-pin-add":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u65B0\u589E,\u6DFB\u52A0","map-pin-range":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u8303\u56F4","map-pin-time":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u65F6\u95F4","map-pin-user":"location,navigation,\u5730\u56FE,\u5750\u6807,\u5B9A\u4F4D,\u5BFC\u822A,\u4F4D\u7F6E,\u7528\u6237","pin-distance":"\u5750\u6807,\u8DDD\u79BB",pushpin:"\u56FE\u9489",unpin:"\u56FE\u9489,\u53D6\u6D88\u56FA\u5B9A","pushpin-2":"\u56FE\u9489",compass:"navigation,safari,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-2":"navigation,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-3":"navigation,safari,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-4":"navigation,direction,discover,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22","compass-discover":"navigation,direction,\u6307\u5357\u9488,\u5BFC\u822A,\u65B9\u5411,\u53D1\u73B0,\u63A2\u7D22",anchor:"\u951A","china-railway":"\u4E2D\u94C1,\u94C1\u8DEF,\u706B\u8F66","space-ship":"\u592A\u7A7A\u98DE\u8239",rocket:"\u706B\u7BAD","rocket-2":"space ship,\u706B\u7BAD,\u592A\u7A7A\u98DE\u8239",map:"navigation,travel,\u5730\u56FE,\u5BFC\u822A,\u65C5\u884C","map-2":"location,navigation,travel,\u5730\u56FE,\u5B9A\u4F4D,\u5BFC\u822A,\u65C5\u884C","treasure-map":"thriller,adventure,\u5730\u56FE,\u85CF\u5B9D\u56FE","road-map":"navigation,travel,\u5730\u56FE,\u5BFC\u822A,\u65C5\u884C",earth:"global,union,world,language,\u5730\u7403,\u5168\u7403,\u8054\u5408,\u4E16\u754C,\u8BED\u8A00",globe:"earth,\u5730\u7403\u4EEA",parking:"\u505C\u8F66\u573A","parking-box":"\u505C\u8F66\u573A",route:"path,\u8DEF\u7EBF",guide:"path,\u6307\u5F15,\u8DEF\u7EBF","gas-station":"\u52A0\u6C14\u7AD9,\u52A0\u6CB9\u7AD9","charging-pile":"\u5145\u7535\u6869","charging-pile-2":"\u5145\u7535\u6869",car:"\u6C7D\u8F66","car-washing":"\u6C7D\u8F66,\u6D17\u8F66",roadster:"car,\u6C7D\u8F66,\u8DD1\u8F66",taxi:"car,\u51FA\u79DF\u8F66,\u6C7D\u8F66","taxi-wifi":"car,\u51FA\u79DF\u8F66,\u6C7D\u8F66","police-car":"\u6C7D\u8F66,\u8B66\u8F66",bus:"\u5927\u5DF4,\u5DF4\u58EB","bus-2":"\u5927\u5DF4,\u5DF4\u58EB","bus-wifi":"\u5927\u5DF4,\u5DF4\u58EB",truck:"van,delivery,\u5361\u8F66,\u8D27\u8F66,\u8FD0\u8F93",train:"\u706B\u8F66","train-wifi":"\u706B\u8F66",subway:"\u5730\u94C1","subway-wifi":"\u5730\u94C1","flight-takeoff":"airplane,plane,origin,\u8D77\u98DE,\u51FA\u53D1,\u59CB\u53D1,\u8D77\u70B9,\u98DE\u673A","flight-land":"airplane,plane,destination,\u7740\u9646,\u5230\u8FBE,\u62B5\u8FBE,\u7EC8\u70B9,\u98DE\u673A",plane:"fight,\u98DE\u673A,\u822A\u73ED",sailboat:"\u5E06\u8239",ship:"\u8F6E\u8239,\u822A\u6D77,\u6D77\u8FD0","ship-2":"\u8F6E\u8239",bike:"\u81EA\u884C\u8F66","e-bike":"take out,takeaway,\u7535\u52A8\u8F66,\u5916\u5356","e-bike-2":"take out,takeaway,\u7535\u52A8\u8F66,\u5916\u5356",takeaway:"take out,takeaway,\u7535\u52A8\u8F66,\u5916\u5356",motorbike:"\u6469\u6258\u8F66",caravan:"\u623F\u8F66",walk:"\u6B65\u884C",run:"\u5954\u8DD1,\u8DD1\u6B65",riding:"bike,\u9A91\u884C,\u81EA\u884C\u8F66",barricade:"\u8DEF\u969C",footprint:"\u811A\u5370,\u8DB3\u8FF9","traffic-light":"\u4EA4\u901A,\u4FE1\u53F7\u706F","signal-tower":"base station,antenna,\u4FE1\u53F7\u5854,\u57FA\u7AD9,\u5929\u7EBF",restaurant:"\u9910\u5385,\u996D\u5E97","restaurant-2":"\u9910\u5385,\u996D\u5E97",cup:"tea,coffee,\u676F\u5B50,\u5496\u5561,\u8336",goblet:"cup,wine glass,\u9AD8\u811A\u676F,\u9152\u676F","hotel-bed":"\u9152\u5E97,\u5E8A",navigation:"gps,\u5BFC\u822A",oil:"\u6C7D\u6CB9,\u673A\u6CB9",direction:"right,\u65B9\u5411,\u53F3\u8F6C",steering:"drive,\u65B9\u5411\u76D8,\u9A7E\u8F66","steering-2":"drive,\u65B9\u5411\u76D8,\u9A7E\u8F66",lifebuoy:"life ring,\u6551\u751F\u5708",passport:"passports,\u62A4\u7167",suitcase:"travel,\u65C5\u884C,\u884C\u674E\u7BB1","suitcase-2":"travel,\u65C5\u884C,\u884C\u674E\u7BB1,\u62C9\u6746\u7BB1","suitcase-3":"travel,\u65C5\u884C,boarding case,\u884C\u674E\u7BB1,\u62C9\u6746\u7BB1,\u767B\u673A\u7BB1","luggage-deposit":"consignment,\u884C\u674E\u7BB1,\u884C\u674E\u5BC4\u5B58,\u6258\u8FD0","luggage-cart":"\u884C\u674E\u8F66"},Media:{image:"picture,photo,\u56FE\u7247,\u7167\u7247","image-2":"picture,photo,\u56FE\u7247,\u7167\u7247","image-add":"picture,photo,\u56FE\u7247,\u7167\u7247,\u6DFB\u52A0","image-edit":"picture,photo,\u56FE\u7247,\u7167\u7247,\u7F16\u8F91",landscape:"picture,image,photo,\u56FE\u7247,\u7167\u7247",gallery:"picture,image,\u56FE\u7247,\u76F8\u518C","gallery-upload":"picture,image,\u56FE\u7247,\u76F8\u518C,\u4E0A\u4F20",video:"\u89C6\u9891",movie:"film,video,\u7535\u5F71,\u786C\u76D8,\u89C6\u9891","movie-2":"film,video,\u7535\u5F71,\u786C\u76D8,\u89C6\u9891",film:"movie,video,\u5F71\u7247,\u7535\u5F71,\u89C6\u9891",clapperboard:"movie,film,\u573A\u8BB0\u677F,\u7535\u5F71",vidicon:"video,camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891","vidicon-2":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A",live:"video,camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u76F4\u64AD","video-add":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u6DFB\u52A0","video-upload":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u4E0A\u4F20","video-download":"camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A,\u89C6\u9891,\u4E0B\u8F7D",dv:"vidicon,camera,\u6444\u50CF\u673A,\u6444\u5F71\u673A",camera:"photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247","camera-off":"photo,slash,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247,\u7981\u6B62,\u5173\u95ED","camera-2":"photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247","camera-3":"photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247","camera-lens":"aperture,photo,\u7167\u76F8\u673A,\u62CD\u7167,\u7167\u7247,\u670B\u53CB\u5708","camera-switch":"\u7167\u76F8\u673A,\u62CD\u7167,\u7FFB\u8F6C",polaroid:"camera,\u76F8\u673A,\u5B9D\u4E3D\u6765","polaroid-2":"camera,\u76F8\u673A,\u5B9D\u4E3D\u6765","phone-camera":"\u624B\u673A\u76F8\u673A,\u624B\u673A\u6444\u50CF\u5934",webcam:"\u6444\u50CF\u5934",mv:"music video,\u97F3\u4E50",music:"\u97F3\u4E50","music-2":"\u97F3\u4E50",disc:"music,album,\u97F3\u4E50,\u5531\u7247",album:"music,\u5531\u7247,\u97F3\u4E50",dvd:"cd,dvd,record,\u5149\u76D8,\u523B\u5F55",headphone:"music,headset,\u8033\u673A,\u97F3\u4E50",radio:"\u6536\u97F3\u673A,\u7535\u53F0","radio-2":"\u6536\u97F3\u673A,\u7535\u53F0",tape:"\u5F55\u97F3,\u78C1\u5E26",mic:"record,voice,\u8BDD\u7B52,\u8BED\u97F3,\u5F55\u97F3,\u58F0\u97F3","mic-2":"record,voice,\u8BDD\u7B52,\u8BED\u97F3,\u5F55\u97F3,\u58F0\u97F3","mic-off":"record,voice,slash,\u5173\u95ED\u8BDD\u7B52,\u5173\u95ED\u8BED\u97F3,\u5F55\u97F3,\u5173\u95ED\u58F0\u97F3,\u9759\u97F3,\u7981\u6B62","volume-down":"trumpet,sound,speaker,\u97F3\u91CF\u4F4E,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668","volume-mute":"trumpet,sound,off,\u97F3\u91CF\u4F4E,\u5587\u53ED,\u58F0\u97F3,\u9759\u97F3","volume-up":"trumpet,sound,speaker,\u97F3\u91CF\u9AD8,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668","volume-vibrate":"trumpet,sound,speaker,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668,\u9707\u52A8\u6A21\u5F0F","volume-off-vibrate":"trumpet,sound,speaker,\u9759\u97F3,\u5587\u53ED,\u58F0\u97F3,\u626C\u58F0\u5668,\u9759\u97F3\u6A21\u5F0F",speaker:"\u97F3\u54CD","speaker-2":"\u97F3\u54CD","speaker-3":"\u97F3\u54CD","surround-sound":"\u73AF\u7ED5\u7ACB\u4F53\u58F0",broadcast:"\u5E7F\u64AD",notification:"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-2":"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-3":"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-4":"bell,alarm,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192","notification-off":"bell,alarm,silent,slash,\u901A\u77E5,\u94C3\u94DB,\u63D0\u9192,\u514D\u6253\u6270,\u9759\u97F3,\u5173\u95ED,\u7981\u6B62","play-circle":"start,\u64AD\u653E,\u5F00\u59CB","pause-circle":"\u6682\u505C","record-circle":"\u5F55\u97F3","stop-circle":"\u505C\u6B62",eject:"\u63A8\u51FA",play:"start,\u64AD\u653E,\u5F00\u59CB",pause:"\u6682\u505C",stop:"\u505C\u6B62",rewind:"fast,\u5FEB\u9000",speed:"fast,\u5FEB\u8FDB","skip-back":"\u4E0A\u4E00\u66F2","skip-forward":"\u4E0B\u4E00\u66F2","play-mini":"\u64AD\u653E","pause-mini":"\u6682\u505C","stop-mini":"\u505C\u6B62","rewind-mini":"fast,\u5FEB\u9000","speed-mini":"fast,\u5FEB\u8FDB","skip-back-mini":"\u4E0A\u4E00\u66F2","skip-forward-mini":"\u4E0B\u4E00\u66F2","replay-5":"playback,\u91CD\u64AD,\u56DE\u653E","forward-5":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7","replay-10":"playback,\u91CD\u64AD,\u56DE\u653E","forward-10":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7","replay-15":"playback,\u91CD\u64AD,\u56DE\u653E","forward-15":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7","replay-30":"playback,\u91CD\u64AD,\u56DE\u653E","forward-30":"skip,\u5FEB\u8FDB,\u5FEB\u653E,\u8DF3\u8FC7",memories:"\u56DE\u5FC6",repeat:"swap,\u4EA4\u6362,\u5FAA\u73AF\u64AD\u653E","repeat-2":"swap,\u4EA4\u6362,\u5FAA\u73AF\u64AD\u653E","repeat-one":"\u5355\u66F2\u5FAA\u73AF","order-play":"\u987A\u5E8F\u64AD\u653E",shuffle:"\u968F\u673A\u64AD\u653E","play-list":"\u64AD\u653E\u5217\u8868","play-list-2":"\u64AD\u653E\u5217\u8868","play-list-add":"\u5217\u8868,\u6DFB\u52A0",fullscreen:"maximize,\u5168\u5C4F,\u6700\u5927\u5316","fullscreen-exit":"minimize,\u9000\u51FA\u5168\u5C4F,\u6700\u5C0F\u5316",equalizer:"sliders,controls,settings,filter,\u5747\u8861\u5668,\u63A7\u5236\u5668,\u8BBE\u7F6E,\u7B5B\u9009","sound-module":"sliders,controls,settings,filter,\u5747\u8861\u5668,\u63A7\u5236\u5668,\u8BBE\u7F6E,\u7B5B\u9009",rhythm:"\u8282\u594F,\u97F5\u5F8B",voiceprint:"\u58F0\u7EB9","speed-up":"dashboard,\u5FEB,\u52A0\u901F,\u4EEA\u8868\u76D8","slow-down":"dashboard,\u6162,\u51CF\u901F,\u4EEA\u8868\u76D8",hq:"high quality,\u9AD8\u8D28\u91CF,\u9AD8\u54C1\u8D28",hd:"high definition,\u9AD8\u6E05\u6670\u5EA6","4k":"high definition,high quality,\u9AD8\u6E05\u6670\u5EA6,\u9AD8\u54C1\u8D28,\u8D85\u6E05","closed-captioning":"\u9690\u85CF\u5B57\u5E55","aspect-ratio":"\u5BBD\u9AD8\u6BD4,\u6BD4\u4F8B","picture-in-picture":"\u753B\u4E2D\u753B,\u5C0F\u7A97","picture-in-picture-2":"\u753B\u4E2D\u753B,\u5C0F\u7A97","picture-in-picture-exit":"\u9000\u51FA\u753B\u4E2D\u753B,\u9000\u51FA\u5C0F\u7A97"},System:{apps:"\u5E94\u7528","apps-2":"\u5E94\u7528",function:"layout,\u529F\u80FD,\u5E94\u7528,\u5361\u7247\u5E03\u5C40",dashboard:"\u4EEA\u8868\u76D8",menu:"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-2":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-3":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-4":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-5":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305","menu-add":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305,\u6DFB\u52A0","menu-fold":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305,\u6536\u8D77,\u5C55\u5F00","menu-unfold":"navigation,hamburger,\u5BFC\u822A,\u83DC\u5355,\u6C49\u5821\u5305,\u6536\u8D77,\u5C55\u5F00",more:"ellipsis,\u66F4\u591A,\u7701\u7565","more-2":"ellipsis,\u66F4\u591A,\u7701\u7565",star:"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22","star-s":"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22,\u534A\u661F","star-half":"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22","star-half-s":"favorite,like,mark,\u661F\u661F,\u661F\u6807,\u559C\u6B22,\u534A\u661F",settings:"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-2":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-3":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-4":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-5":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","settings-6":"edit,gear,preferences,\u504F\u597D\u8BBE\u7F6E,\u7F16\u8F91,\u9F7F\u8F6E","list-settings":"\u5217\u8868,\u8BBE\u7F6E",forbid:"slash,ban,\u7981\u6B62,\u7981\u7528","forbid-2":"slash,ban,\u7981\u6B62,\u7981\u7528",information:"\u4FE1\u606F","error-warning":"!,alert,important,alert,exclamation,\u8B66\u544A,\u9519\u8BEF",question:"help,\u95EE\u53F7,\u5E2E\u52A9",alert:"\u63D0\u9192,\u8B66\u544A",spam:"alert,\u5783\u573E\u90AE\u4EF6,\u8B66\u544A","spam-2":"alert,\u5783\u573E\u90AE\u4EF6,\u8B66\u544A","spam-3":"alert,\u5783\u573E\u90AE\u4EF6,\u8B66\u544A","checkbox-blank":"\u590D\u9009\u6846,\u7A7A",checkbox:"\u590D\u9009\u6846","checkbox-indeterminate":"\u590D\u9009\u6846","add-box":"plus,new,\u590D\u9009\u6846,\u6DFB\u52A0,\u52A0\u53F7,\u65B0\u589E","checkbox-blank-circle":"\u590D\u9009\u6846,\u7A7A","checkbox-circle":"\u590D\u9009\u6846","indeterminate-circle":"slash,ban,\u590D\u9009\u6846,\u7981","add-circle":"plus,new,\u590D\u9009\u6846,\u6DFB\u52A0,\u52A0\u53F7,\u65B0\u589E","close-circle":"cancel,remove,delete,empty,x,\u5173\u95ED,\u53D6\u6D88,\u79FB\u9664,\u5220\u9664,\u6E05\u7A7A","radio-button":"\u5355\u9009\u6846","checkbox-multiple-blank":"\u590D\u9009\u6846,\u7A7A","checkbox-multiple":"\u590D\u9009\u6846,\u7A7A",check:"\u5BF9\u52FE","check-double":"read,done,double-tick,\u53CC\u5BF9\u52FE,\u5DF2\u8BFB",close:"cancel,remove,delete,empty,x,\u5173\u95ED,\u53D6\u6D88,\u79FB\u9664,\u5220\u9664,\u6E05\u7A7A",add:"plus,new,\u6DFB\u52A0,\u65B0\u589E,\u52A0\u53F7",subtract:"\u51CF",divide:"\u9664\u4EE5",equal:"sum,result,\u7B49\u4E8E",download:"receive,\u4E0B\u8F7D,\u63A5\u6536",upload:"send,\u4E0A\u4F20,\u53D1\u9001","download-2":"\u4E0B\u8F7D","upload-2":"\u4E0A\u4F20","download-cloud":"\u4E0B\u8F7D,\u4E91","download-cloud-2":"\u4E0B\u8F7D,\u4E91","upload-cloud":"\u4E0A\u4F20,\u4E91","upload-cloud-2":"\u4E0A\u4F20,\u4E91","login-box":"sign in,\u767B\u5F55","logout-box":"sign out,\u767B\u51FA,\u6CE8\u9500","logout-box-r":"sign out,\u767B\u51FA,\u6CE8\u9500","login-circle":"sign in,\u767B\u5F55","logout-circle":"sign out,\u767B\u51FA,\u6CE8\u9500","logout-circle-r":"sign out,\u767B\u51FA,\u6CE8\u9500",refresh:"reload,repeat,replace,reset,restart,synchronization,spinner,loader,update,\u5237\u65B0,\u91CD\u65B0\u52A0\u8F7D,\u91CD\u590D,\u91CD\u7F6E,\u66FF\u6362,\u91CD\u542F,\u540C\u6B65,\u66F4\u65B0",shield:"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1","shield-cross":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u95EA\u7535","shield-flash":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1","shield-star":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u661F\u661F","shield-user":"safety,protect,user protected,guarantor,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u7528\u6237","shield-keyhole":"safety,protect,guarantor,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1,\u94A5\u5319\u5B54","shield-check":"safety,protect,\u76FE\u724C,\u536B\u58EB,\u5B89\u5168,\u9632\u5FA1","delete-back":"backspace,\u5220\u9664,\u9000\u683C","delete-back-2":"backspace,\u5220\u9664,\u9000\u683C","delete-bin":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-2":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-3":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-4":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-5":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-6":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876","delete-bin-7":"trash,remove,ash-bin,garbage,dustbin,uninstall,\u5378\u8F7D,\u5220\u9664,\u5783\u573E\u6876",lock:"security,password,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801","lock-2":"security,password,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801","lock-password":"security,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801","lock-unlock":"security,password,\u9501\u5B50,\u5B89\u5168,\u5BC6\u7801",eye:"watch,view,\u773C\u775B,\u67E5\u770B","eye-off":"slash,\u773C\u775B,\u4E0D\u53EF\u89C1,\u5173\u95ED,\u7981\u6B62","eye-2":"watch,view,\u773C\u775B,\u67E5\u770B","eye-close":"x,\u95ED\u773C",search:"\u641C\u7D22,\u653E\u5927\u955C","search-2":"\u641C\u7D22,\u653E\u5927\u955C","search-eye":"\u641C\u7D22,\u653E\u5927\u955C,\u773C\u775B","zoom-in":"\u653E\u5927,\u653E\u5927\u955C","zoom-out":"\u7F29\u5C0F,\u653E\u5927\u955C","find-replace":"\u67E5\u627E,\u641C\u7D22,\u66FF\u6362",share:"\u5206\u4EAB,\u8F6C\u53D1","share-box":"\u5206\u4EAB,\u8F6C\u53D1","share-circle":"\u5206\u4EAB,\u8F6C\u53D1","share-forward":"\u5206\u4EAB,\u8F6C\u53D1","share-forward-2":"\u5206\u4EAB,\u8F6C\u53D1","share-forward-box":"\u5206\u4EAB,\u8F6C\u53D1","side-bar":"\u4FA7\u8FB9\u680F",time:"clock,\u65F6\u95F4,\u65F6\u949F,\u949F\u8868",timer:"chronograph,stopwatch,\u79D2\u8868,\u8BA1\u65F6\u5668","timer-2":"chronograph,stopwatch,\u79D2\u8868,\u8BA1\u65F6\u5668","timer-flash":"chronograph,stopwatch,\u79D2\u8868,\u8BA1\u65F6\u5668,\u95EA\u7535",alarm:"\u95F9\u949F",history:"record,recent,time machine,\u5386\u53F2\u8BB0\u5F55,\u6700\u8FD1","hourglass-2":"time,history,recent,duration,\u6C99\u6F0F,\u65F6\u95F4,\u5386\u53F2\u8BB0\u5F55,\u6700\u8FD1",hourglass:"time,history,recent,duration,\u6C99\u6F0F,\u65F6\u95F4,\u5386\u53F2\u8BB0\u5F55,\u6700\u8FD1","thumb-up":"like,good,\u559C\u6B22,\u597D","thumb-down":"dislike,bad,\u4E0D\u559C\u6B22,\u4E0D\u597D","alarm-warning":"alert,report,police light,\u544A\u8B66,\u4E3E\u62A5,\u8B66\u706F","notification-badge":"red dot,\u901A\u77E5,\u5C0F\u7EA2\u70B9",toggle:"switch,\u5F00\u5173,\u89E6\u53D1\u5668",filter:"filtration,\u7B5B\u9009,\u8FC7\u6EE4","filter-2":"filtration,\u7B5B\u9009,\u8FC7\u6EE4","filter-3":"filtration,\u7B5B\u9009,\u8FC7\u6EE4","filter-off":"filtration,clear-filter,\u7B5B\u9009,\u8FC7\u6EE4",loader:"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-2":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-3":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-4":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","loader-5":"loader,spinner,ajax,waiting,delay,\u52A0\u8F7D\u4E2D,\u8F7D\u5165\u4E2D,\u6B63\u5728\u52A0\u8F7D","external-link":"\u5916\u94FE","loop-left":"reload,repeat,replace,reset,restart,synchronization,spinner,loader,update,\u5237\u65B0,\u91CD\u65B0\u52A0\u8F7D,\u91CD\u590D,\u91CD\u7F6E,\u66FF\u6362,\u91CD\u542F,\u540C\u6B65,\u66F4\u65B0","loop-right":"reload,repeat,replace,reset,restart,synchronization,spinner,loader,update,\u5237\u65B0,\u91CD\u65B0\u52A0\u8F7D,\u91CD\u590D,\u91CD\u7F6E,\u66FF\u6362,\u91CD\u542F,\u540C\u6B65,\u66F4\u65B0"},"User & Faces":{user:"\u7528\u6237,person,people","user-2":"\u7528\u6237,person,people","user-3":"\u7528\u6237,person,people","user-4":"\u7528\u6237,person,people","user-5":"\u7528\u6237,person,people","user-6":"\u7528\u6237,person,people","user-smile":"\u7528\u6237,\u5FAE\u7B11,person,people","account-box":"\u7528\u6237,\u8D26\u6237,person,people","account-circle":"\u7528\u6237,\u8D26\u6237,person,people","account-pin-box":"\u7528\u6237,\u8D26\u6237,person,people","account-pin-circle":"\u7528\u6237,\u8D26\u6237,person,people","user-add":"\u7528\u6237,\u6DFB\u52A0,\u65B0\u589E,person,people","user-follow":"\u5173\u6CE8,person,people","user-unfollow":"\u7528\u6237,\u53D6\u6D88\u5173\u6CE8,person,people","user-shared":"transfer,\u7528\u6237,\u6211\u5206\u4EAB\u7684,\u53D1\u9001,person,people","user-shared-2":"transfer,\u7528\u6237,\u6211\u5206\u4EAB\u7684,\u53D1\u9001,person,people","user-received":"\u7528\u6237,\u6211\u63A5\u6536\u7684,\u6536\u53D6,person,people","user-received-2":"\u7528\u6237,\u6211\u63A5\u6536\u7684,\u6536\u53D6,person,people","user-location":"\u7528\u6237,\u5B9A\u4F4D,person,people","user-search":"\u7528\u6237,\u67E5\u627E,person,people","user-settings":"admin,\u7528\u6237,\u8BBE\u7F6E,\u7BA1\u7406\u5458,person,people","user-star":"\u7528\u6237,\u5173\u6CE8,person,people","user-heart":"\u7528\u6237,\u5173\u6CE8,person,people",admin:"admin,\u7528\u6237,\u7BA1\u7406\u5458,person,people",contacts:"\u8054\u7CFB\u4EBA",group:"team,\u56E2\u961F,\u7FA4\u7EC4,person,people","group-2":"team,\u56E2\u961F,\u7FA4\u7EC4,person,people",team:"\u56E2\u961F,\u5C0F\u7EC4,\u7FA4\u4E3B,person,people","user-voice":"\u7528\u6237,\u5F55\u97F3,\u6F14\u8BB2",emotion:"\u8868\u60C5,\u7B11\u8138","emotion-2":"\u8868\u60C5,\u7B11\u8138","emotion-happy":"\u8868\u60C5,\u5F00\u5FC3","emotion-normal":"\u8868\u60C5,\u4E00\u822C","emotion-unhappy":"\u8868\u60C5,\u4E0D\u5F00\u5FC3","emotion-laugh":"comedy,happy,\u8868\u60C5,\u5927\u7B11,\u7B11\u8138,\u5F00\u5FC3,\u559C\u5267","emotion-sad":"drama,tears,\u60B2\u5267,\u54ED\u6CE3,\u6CEA",skull:"ghost,\u9AB7\u9AC5,\u9B3C\u602A","skull-2":"ghost,horror,thriller,\u9AB7\u9AC5,\u9B3C\u602A,\u6050\u60E7,\u6050\u6016",men:"gender,man,male,\u7537\u4EBA,\u7537\u6027",women:"gender,woman,female,\u5973\u4EBA,\u5973\u6027",travesti:"\u5973\u4EBA,\u5973\u6027",genderless:"\u5973\u4EBA,\u5973\u6027","open-arm":"\u5F20\u5F00\u53CC\u81C2","body-scan":"gesture recognition,body,\u626B\u63CF\u8EAB\u4F53,\u4F53\u6001\u8BC6\u522B,\u52A8\u4F5C\u4E4B\u522B,\u624B\u52BF\u8BC6\u522B",parent:"patriarch,\u7236\u6BCD,\u4EB2\u5B50,\u5BB6\u957F",robot:"mechanic,\u673A\u5668\u4EBA",aliens:"science fiction,ET,\u5916\u661F\u4EBA,\u79D1\u5E7B\u5C0F\u8BF4","bear-smile":"cartoon,anime,cartoon,\u5C0F\u718A,\u5FAE\u7B11,\u513F\u7AE5,\u52A8\u753B\u7247,\u5361\u901A,\u52A8\u6F2B",mickey:"cartoon,disney,\u8FEA\u58EB\u5C3C,\u7C73\u8001\u9F20,\u5FAE\u7B11,\u513F\u7AE5,\u52A8\u753B\u7247",criminal:"horror,thriller,\u7F6A\u72AF,\u72AF\u7F6A,\u6050\u6016",ghost:"horror,thriller,\u9B3C\u602A,\u6050\u6016,\u6050\u60E7","ghost-2":"horror,\u9B3C\u602A,\u6050\u6016,\u6050\u60E7","ghost-smile":"\u9B3C\u602A,\u7B11","star-smile":"animation,\u52A8\u753B,\u5FAE\u7B11,\u661F\u661F",spy:"incognito mode,detective,secret,\u95F4\u8C0D,\u4FA6\u63A2,\u65E0\u75D5\u6A21\u5F0F,\u9690\u79C1\u6A21\u5F0F"},Weather:{sun:"light mode,sunny,\u592A\u9633,\u767D\u5929\u6A21\u5F0F,\u6674\u5929",moon:"dark mode,night,\u6708\u4EAE,\u591C\u95F4\u6A21\u5F0F,\u6708\u7259",flashlight:"\u95EA\u7535",cloudy:"\u591A\u4E91","cloudy-2":"\u591A\u4E91",mist:"\u96FE\u6C14,\u96FE\u973E",foggy:"\u5927\u96FE","cloud-windy":"\u98CE",windy:"\u5927\u98CE,\u522E\u98CE",rainy:"\u4E0B\u96E8,\u96E8\u5929",drizzle:"\u5C0F\u96E8",showers:"\u4E2D\u96E8","heavy-showers":"\u5927\u96E8",thunderstorms:"\u96F7\u66B4,\u96F7\u9635\u96E8",hail:"\u51B0\u96F9",snowy:"\u4E0B\u96EA,\u96EA\u5929","sun-cloudy":"\u6674\u8F6C\u591A\u4E91","moon-cloudy":"\u591C\u95F4\u591A\u4E91",tornado:"\u9F99\u5377\u98CE",typhoon:"cyclone,tornado,\u9F99\u5377\u98CE,\u65CB\u98CE,\u53F0\u98CE",haze:"\u9634\u973E,\u8584\u96FE","haze-2":"\u9634\u973E,\u8584\u96FE","sun-foggy":"\u8584\u96FE","moon-foggy":"\u8584\u96FE","moon-clear":"\u591C\u95F4\u6A21\u5F0F,\u591C\u95F4\u65E0\u4E91","temp-hot":"temperature,\u6E29\u5EA6,\u9AD8\u6E29,\u70ED","temp-cold":"temperature,\u6E29\u5EA6,\u4F4E\u6E29,\u51B7",celsius:"temperature,\u6E29\u5EA6,\u6444\u6C0F\u5EA6",fahrenheit:"temperature,\u6E29\u5EA6,\u534E\u6C0F\u5EA6",fire:"hot,\u706B,\u70ED\u95E8",blaze:"\u706B\u707E",earthquake:"\u5730\u9707",flood:"\u6D2A\u6C34",meteor:"\u6D41\u661F,\u9668\u77F3",rainbow:"\u5F69\u8679",shining:"star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1","shining-2":"star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1",sparkling:"shining,star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1","sparkling-2":"shining,star,magic,ai,twinkle,\u661F\u661F,\u9B54\u6CD5,\u95EA\u70C1"},Others:{basketball:"sports,\u8FD0\u52A8,\u7BEE\u7403",bell:"cartoon,anime,doraemon,\u94C3\u94DB,\u54C6\u5566A\u68A6,\u5361\u901A,\u52A8\u6F2B",billiards:"sports,\u8FD0\u52A8,\u53F0\u7403,8",boxing:"sports,\u8FD0\u52A8,\u62F3\u51FB",cake:"anniversary,\u86CB\u7CD5","cake-2":"anniversary,\u86CB\u7CD5","cake-3":"\u86CB\u7CD5","door-lock":"\u95E8\u9501","door-lock-box":"\u95E8\u9501",football:"sports,\u8FD0\u52A8,\u8DB3\u7403",game:"pac man,\u6E38\u620F,\u5403\u8C46\u4EBA",handbag:"fashion,\u65F6\u5C1A,\u624B\u63D0\u5305,\u5973\u5305",key:"password,\u94A5\u5319,\u5BC6\u7801","key-2":"password,\u94A5\u5319,\u5BC6\u7801",knife:"\u5200","knife-blood":"crime,\u5200,\u72AF\u7F6A,\u8840,\u6740\u4EBA",lightbulb:"energy,creativity,\u706F\u6CE1,\u80FD\u6E90","lightbulb-flash":"energy,creativity,\u706F\u6CE1,\u80FD\u6E90,\u95EA\u7535",outlet:"\u63D2\u5EA7","outlet-2":"\u63D2\u5EA7",plug:"\u4E8C\u811A\u63D2\u5934","plug-2":"\u4E09\u811A\u63D2\u5934","ping-pong":"sports,table tennis,\u8FD0\u52A8,\u4E52\u4E53\u7403",reserved:"\u5DF2\u9884\u5B9A",shirt:"clothes,\u886C\u886B,\u8863\u670D",sword:"war,\u5200\u5251,\u6218\u4E89,\u6218\u6597,\u7384\u5E7B","t-shirt":"skin,theme,T\u6064,\u76AE\u80A4,\u4E3B\u9898","t-shirt-2":"skin,theme,T\u6064,\u76AE\u80A4,\u4E3B\u9898","t-shirt-air":"dry,T\u6064,\u98CE\u5E72,\u70D8\u5E72",umbrella:"protect,\u96E8\u4F1E,\u4FDD\u62A4","character-recognition":"ocr,\u6587\u5B57\u8BC6\u522B","voice-recognition":"asr,\u8BED\u97F3\u8BC6\u522B",leaf:"energy,ecology,\u6811\u53F6,\u8282\u80FD,\u73AF\u4FDD,\u8BED\u97F3\u8BC6\u522B",plant:"\u690D\u7269",seedling:"\u6811\u82D7,\u690D\u7269",recycle:"recyclable,\u53EF\u56DE\u6536","scales-2":"\u53A8\u623F\u79F0",scales:"balance,\u79F0,\u5929\u5E73,\u5929\u79E4","scales-3":"balance,\u79F0,\u5929\u5E73,\u5929\u79E4",fridge:"refrigerator,\u7535\u51B0\u7BB1",wheelchair:"accessbility,\u8F6E\u6905,\u53EF\u8BBF\u95EE\u6027,\u8F85\u52A9\u529F\u80FD",cactus:"desertr,\u4ED9\u4EBA\u638C,\u6C99\u6F20",door:"\u95E8","door-open":"\u5F00\u95E8","door-closed":"\u5173\u95E8","graduation-cap":"cap,school,student,\u6BD5\u4E1A,\u5E3D\u5B50,\u5B66\u6821,\u5B66\u751F","box-1":"instance,\u76D2\u5B50,\u5B9E\u4F8B","box-2":"instance,\u76D2\u5B50,\u5B9E\u4F8B","box-3":"instance,3d,\u76D2\u5B50,\u5B9E\u4F8B,\u7ACB\u4F53",candle:"\u8721\u70DB",cross:"tomb,\u5341\u5B57\u67B6,\u575F\u5893"}};let Ty={},Af=[];for(const[e,t]of Object.entries(Cbe))for(const[n,r]of Object.entries(t))e==="Editor"?(Ty[n]=r,Af.push(n)):(Ty[`${n}-fill`]=r,Ty[`${n}-line`]=r,Af.push(`${n}-fill`,`${n}-line`));Af.sort();const xSe="",wj=16,Ebe=g.defineComponent({name:"JwtIconSelect",props:{modelValue:{type:String,default:"settings-3-line"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=g.reactive({searchVal:"",listData:Af.slice(0,wj),allIconData:[],pagination:{pageNo:1,pageSize:wj,total:Af.length,layout:"total, prev, next"}}),r=g.computed({get:()=>e.modelValue||"settings-3-line",set:f=>{t("update:modelValue",f)}}),o=f=>{n.pagination.pageSize=f},i=f=>{n.pagination.pageNo=f,l()},a=f=>{r.value=f,t("change",f)},s=()=>{n.pagination.pageNo=1,l()},l=()=>{let f=[];if(n.searchVal)for(const[d,p]of Object.entries(Ty))p.includes(n.searchVal)&&f.push(d);else f=Af;n.pagination.total=f.length,n.listData=f.slice((n.pagination.pageNo-1)*16,n.pagination.pageNo*16)};return{...g.toRefs(n),selectIcon:r,handleSearchIcon:s,handleSelectIcon:a,handleSizeChange:o,handleCurrentChange:i}}}),Sbe=(e=>(g.pushScopeId("data-v-bfbf0d74"),e=e(),g.popScopeId(),e))(()=>g.createElementVNode("span",{style:{padding:"0 5px"}},"\u56FE\u6807\u9009\u62E9\u5668",-1)),Dbe={class:"jwt-icon-select-wrapper"};function xbe(e,t,n,r,o,i){const a=g.resolveComponent("jwt-icon"),s=g.resolveComponent("el-button"),l=g.resolveComponent("el-input"),f=g.resolveComponent("el-col"),d=g.resolveComponent("el-row"),p=g.resolveComponent("el-card"),h=g.resolveComponent("el-pagination"),m=g.resolveComponent("el-popover");return g.openBlock(),g.createBlock(m,{trigger:"click",width:300},{reference:g.withCtx(()=>[g.createVNode(s,null,{default:g.withCtx(()=>[g.createVNode(a,{icon:e.selectIcon},null,8,["icon"]),Sbe,g.createVNode(a,{icon:"arrow-down-s-line"})]),_:1})]),default:g.withCtx(()=>[g.createElementVNode("div",Dbe,[g.createVNode(d,null,{default:g.withCtx(()=>[g.createVNode(f,{span:18},{default:g.withCtx(()=>[g.createVNode(l,{modelValue:e.searchVal,"onUpdate:modelValue":t[0]||(t[0]=C=>e.searchVal=C),clearable:"",placeholder:"",onKeydown:g.withKeys(e.handleSearchIcon,["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),g.createVNode(f,{offset:1,span:4},{default:g.withCtx(()=>[g.createVNode(s,{type:"primary",onClick:e.handleSearchIcon},{default:g.withCtx(()=>[g.createTextVNode("\u67E5\u8BE2")]),_:1},8,["onClick"])]),_:1})]),_:1}),g.createVNode(d,{class:"icon-list",gutter:10},{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.listData,(C,$)=>(g.openBlock(),g.createBlock(f,{key:$,span:6},{default:g.withCtx(()=>[g.createVNode(p,{"body-style":{padding:"5px",textAlign:"center"},shadow:"hover",onClick:b=>e.handleSelectIcon(C)},{default:g.withCtx(()=>[g.createVNode(a,{icon:C,size:"30"},null,8,["icon"])]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1}),g.createVNode(d,{class:"pagination",justify:"center"},{default:g.withCtx(()=>[g.createVNode(f,{span:18},{default:g.withCtx(()=>[g.createVNode(h,{background:"","current-page":e.pagination.pageNo,layout:e.pagination.layout,"page-size":e.pagination.pageSize,total:e.pagination.total,onCurrentChange:e.handleCurrentChange,onSizeChange:e.handleSizeChange},null,8,["current-page","layout","page-size","total","onCurrentChange","onSizeChange"])]),_:1})]),_:1})])]),_:1})}const Abe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Ebe,[["render",xbe],["__scopeId","data-v-bfbf0d74"]])},Symbol.toStringTag,{value:"Module"})),_Se="",kbe=g.defineComponent({name:"JwtImage",inheritAttrs:!1,props:{fit:{type:String,default:"cover"},src:{type:String,default:""},type:{type:String,default:""},fillUrl:{type:Function,default:null}},emits:["table-action"],setup(e){const t=g.useAttrs(),n=i=>e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(i):i,r=g.computed(()=>n(e.src)),o=g.computed(()=>({search:"search-line",add:"add-circle-line",delete:"delete-bin-line"})[e.type]);return{attrs:t,imgPath:r,icon:o}}}),_be={key:0,class:"base-image-mask"};function Obe(e,t,n,r,o,i){const a=g.resolveComponent("el-image"),s=g.resolveComponent("jwt-icon");return g.openBlock(),g.createElementBlock("div",g.mergeProps({class:"base-image-wrapper"},e.attrs),[g.createVNode(a,g.mergeProps({fit:e.fit,"preview-src-list":[e.imgPath],"preview-teleported":"",src:e.imgPath},e.attrs),null,16,["fit","preview-src-list","src"]),e.icon?(g.openBlock(),g.createElementBlock("div",_be,[g.createVNode(s,{icon:e.icon,size:"36"},null,8,["icon"])])):g.createCommentVNode("",!0)],16)}const Bbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(kbe,[["render",Obe],["__scopeId","data-v-29cb1537"]])},Symbol.toStringTag,{value:"Module"})),BSe="",Tbe=g.defineComponent({name:"JwtInput",components:{},inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:null},defaultBg:{type:String,default:"red"},changeBg:{type:String,default:"blue"},textColor:{type:String,default:""}},emits:["update:modelValue","blur"],setup(e,{emit:t}){const n=g.useAttrs(),r=g.reactive({oldVal:e.modelValue}),o=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),i=g.computed(()=>r.oldVal!==o.value),a=()=>{r.oldVal!==o.value&&(r.oldVal=o.value,t("blur",o.value))};return g.onMounted(()=>{}),{...g.toRefs(r),attrs:n,inputModel:o,newValDiffOldVal:i,handleBlur:a}}});function Fbe(e,t,n,r,o,i){const a=g.resolveComponent("el-input");return g.openBlock(),g.createBlock(a,g.mergeProps({modelValue:e.inputModel,"onUpdate:modelValue":t[0]||(t[0]=s=>e.inputModel=s),class:"input-change-style",style:{backgroundColor:`${e.newValDiffOldVal?e.changeBg:e.defaultBg}`,color:e.textColor}},e.attrs,{onBlur:e.handleBlur}),null,16,["modelValue","style","onBlur"])}const Pbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Tbe,[["render",Fbe],["__scopeId","data-v-04712864"]])},Symbol.toStringTag,{value:"Module"})),FSe="",Ibe=g.defineComponent({name:"JwtRateIcon",props:{modelValue:{type:[Number,String],default:0},size:{type:[Number,String],default:18},disabled:{type:Boolean,default:!1},voidIcon:{type:String,default:"star-line"},icon:{type:String,default:"star-fill"},color:{type:String,default:"#f7ba2a"},voidColor:{type:String,default:"#c6d1de"},max:{type:[Number,String],default:5}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=g.computed(()=>Math.min(+e.max,10)),r=g.reactive({activeIndex:e.modelValue,hoverIndex:e.modelValue});g.watchEffect(()=>{r.activeIndex=e.modelValue,r.hoverIndex=e.modelValue});const o=l=>{e.disabled||(r.hoverIndex=l+1)},i=()=>{e.disabled||(r.hoverIndex=r.activeIndex)},a=l=>{e.disabled||(r.activeIndex=l+1,r.hoverInde=l+1,t("update:modelValue",l+1),t("change",l+1))},s=()=>{e.disabled||(r.activeIndex=0,r.hoverInde=0,t("update:modelValue",0),t("change",0))};return{...g.toRefs(r),maxLenIcon:n,handleMouseenter:o,handleMouseleave:i,handleChange:a,handleDblclick:s}}}),Nbe={class:"base-rate-icon"};function Lbe(e,t,n,r,o,i){const a=g.resolveComponent("jwt-icon");return g.openBlock(),g.createElementBlock("div",Nbe,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.maxLenIcon,(s,l)=>(g.openBlock(),g.createBlock(a,{key:l,class:"mr5 cp",icon:e.hoverIndex>l?e.icon:e.voidIcon,style:g.normalizeStyle({fontSize:e.size+"px",color:e.hoverIndex>l?e.color:e.voidColor}),onClick:g.withModifiers(f=>e.handleChange(l),["stop"]),onDblclick:f=>e.handleDblclick(l),onMouseenter:f=>e.handleMouseenter(l),onMouseleave:e.handleMouseleave},null,8,["icon","style","onClick","onDblclick","onMouseenter","onMouseleave"]))),128))])}const Rbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Ibe,[["render",Lbe],["__scopeId","data-v-7df1a692"]])},Symbol.toStringTag,{value:"Module"})),ISe="",Mbe=g.defineComponent({name:"JwtSelectServer",components:{},props:{listApi:{type:String,default:""},searchKey:{type:String,default:"title"},labelKey:{type:String,default:"title"},valueKey:{type:String,default:"id"},avatarKey:{type:String,default:""},exParams:{type:Object,default:()=>{}},modelValue:{type:[String,Number,Array],default:""},searchValueKey:{type:Boolean,default:!1},request:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null}},emits:["update:modelValue","change","select"],setup(e,{emit:t}){const n=g.reactive({content:"",listData:[],searchVal:"",timer:null}),r=g.computed({get:()=>e.modelValue||"",set:s=>{t("update:modelValue",s)}}),o=(s=!1)=>{const{listApi:l,searchKey:f,valueKey:d,searchValueKey:p}=e;if(!l)return;const h={sort:"id",order:"desc",per_page:100,...e.exParams};h[f]=n.searchVal,s&&p&&(h[d]=r.value||""),e.request({url:l,method:"get",params:h}).then(m=>{n.listData=m.data})},i=s=>{if(t("change",s),s){const{valueKey:l}=e,f=n.listData.find(d=>d[l]===s);t("select",f)}},a=s=>{n.searchVal=s,s?(clearTimeout(n.timer),n.timer=setTimeout(()=>{o()},500)):o()};return g.onMounted(()=>{setTimeout(()=>{o(!0)},50)}),{selectModel:r,...g.toRefs(n),handleSelectChange:i,remoteMethod:a,getDataList:o}}}),jbe={key:0,class:"fxm ptb10"},zbe=["src"],Vbe={class:"ml10"};function Ube(e,t,n,r,o,i){const a=g.resolveComponent("el-option"),s=g.resolveComponent("el-select");return g.openBlock(),g.createBlock(s,{modelValue:e.selectModel,"onUpdate:modelValue":t[0]||(t[0]=l=>e.selectModel=l),clearable:"",filterable:"",placeholder:"",remote:"","remote-method":e.remoteMethod,onChange:e.handleSelectChange},{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.listData,(l,f)=>(g.openBlock(),g.createBlock(a,{key:f,class:g.normalizeClass({"avatar-logo":e.avatarKey}),label:l[e.labelKey],value:l[e.valueKey]},{default:g.withCtx(()=>[e.avatarKey?(g.openBlock(),g.createElementBlock("div",jbe,[g.createElementVNode("img",{class:"w40 r100px",src:e.fillUrl(l[e.avatarKey])},null,8,zbe),g.createElementVNode("span",Vbe,g.toDisplayString(l[e.labelKey]),1)])):g.createCommentVNode("",!0)]),_:2},1032,["class","label","value"]))),128))]),_:1},8,["modelValue","remote-method","onChange"])}const Hbe=Object.freeze(Object.defineProperty({__proto__:null,default:jn(Mbe,[["render",Ube]])},Symbol.toStringTag,{value:"Module"})),LSe="",RSe="",Wbe={"page-sizes":[10,20,30,40,50,100],"page-size":10,layout:"total, sizes, prev, pager, next, jumper"},qbe=g.defineComponent({name:"JwtTable",components:{},props:{config:{require:!0,type:Object,default:()=>{}},tableHeight:{type:[String,Number],default:null},request:{type:Function,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}},fillUrl:{type:Function,default:null},uploadUrl:{type:String,default:""},uploadRichTextUrl:{type:String,default:""},responseKey:{type:String,default:"relative_path"},userMenusAuth:{type:Object,default:()=>{}},route:{type:Object,default:()=>{}},router:{type:Object,default:()=>{}}},emits:["selection-change","list-change","header-action","table-action","add-handle","edit-handle","add-success","edit-success","delete-success","table-current-change","tablelist-change","get-detail-success","click-cell"],setup(e,{emit:t}){var ve,ae;const n=g.reactive({tableData:[],ajaxLoading:!1,submitLoading:!1,refreshTable:!1}),{proxy:r}=g.getCurrentInstance(),o=g.useSlots();let i=Wr.exports.merge({headerActions:{list:[]},headerActionsShow:!0,tableAttr:{stripe:!0,border:!0,fit:!0,highlightCurrentRow:!0},tableColumn:[],tableListApi:null,tableListParams:{},tableDeleteApi:null,tableDeleteParams:{},tableExportApi:"",tableExportPathKey:"",pagination:Wbe,showPagination:!0,editBox:{title:(e==null?void 0:e.translateTitle("\u7CFB\u7EDF"))||"\u7CFB\u7EDF",dialog:{width:"960px",top:"7vh"},form:{api:{add:null,update:null},formAttrs:{},formList:[]},footer:{confirm:{title:(e==null?void 0:e.translateTitle("\u786E\u8BA4"))||"\u786E\u8BA4",attrs:{type:"primary"}},cancel:{title:(e==null?void 0:e.translateTitle("\u53D6\u6D88"))||"\u53D6\u6D88",attrs:{}}}},tableDrawer:{}},e.config);const a=g.computed(()=>{var te;return(te=e==null?void 0:e.config)==null?void 0:te.tableColumn.map(pe=>(pe.isEdit=!!(pe.editType||pe.dateTimeFormat||pe.isImg),pe))}),s=g.reactive({currentPage:1,pageCount:1,pageSize:i.pagination["page-sizes"][0],totalCount:1,sort:((ve=i.tableListParams)==null?void 0:ve.sort)||"id",order:((ae=i.tableListParams)==null?void 0:ae.order)||"desc"}),l=g.reactive({title:"",type:"add",visible:!1,model:{},boxName:"editBox"}),f={"append-to-body":!0,size:"40%"},d=g.shallowReactive({attrs:{...f},visible:!1,headerSlotName:"",contentSlotName:"",footerSlotName:"",api:{},clickCellItem:{},descriptions:{},detailInfo:{},tabsAttrs:{},tabPaneList:[],activeName:""}),p=g.computed(()=>d.descriptionEdit?g.reactive(d.detailInfo):d.detailInfo),h=g.computed(()=>{var X;return((X=d.descriptions)==null?void 0:X.attrs)||{}}),m=g.computed(()=>{var X,te;return((te=(X=d.descriptions)==null?void 0:X.desColumns)==null?void 0:te.map(pe=>{const ye=p.value[pe.prop];return pe.value=rd(ye,pe.formatType,p.value,pe),pe.isEdit=!!(pe.editType||pe.dateTimeFormat||pe.isImg),pe}))||[]}),C=g.computed(()=>d.tabPaneList.find(te=>te.name===d.activeName)),$=g.computed(()=>{var X,te;return((te=(X=e.config)==null?void 0:X.headerActions)==null?void 0:te.list)||[]}),b=g.ref([]),w=g.ref({}),y=g.ref(null),S=g.computed(()=>{const{path:X}=e.route;return X||""}),x=g.computed(()=>e.userMenusAuth||{}),A=g.computed(()=>(e==null?void 0:e.translateTitle("\u52A0\u8F7D\u6570\u636E\u4E2D"))||"\u52A0\u8F7D\u6570\u636E\u4E2D..."),O=(X={})=>{const te=l.boxName,pe={};return i[te].form.formList.forEach(ye=>{var At,Dt,Bt;const{key:De,type:Le,startKey:Ve,endKey:ze,formAttrs:ft}=ye,It=(ft==null?void 0:ft.multiple)||!1,Ze=(ft==null?void 0:ft.valueType)||"";X[De]&&Le==="inputNumber"?pe[De]=+X[De]:It?Ht.isArray(X[De])||(Ze==="number"?pe[De]=X[De]?(Dt=(At=X[De])==null?void 0:At.split(","))==null?void 0:Dt.map(hn=>+hn):[]:pe[De]=X[De]?(Bt=X[De])==null?void 0:Bt.split(","):[]):Le==="datePickerRange"?y.value.setDatePickerRange([X[Ve],X[ze]]):pe[De]=X[De]===""||X[De]===void 0?ye.value:X[De]}),pe},T=()=>{const{query:X}=e.route;if(X.fromJump){for(let[pe,ye]of Object.entries(X))Ht.isArray(ye)&&(X[pe]=ye.map(De=>+De));const te={...w.value,...e.route.query};delete te.fromJump,w.value=te}z()},z=(X={})=>{var pe,ye;const te=Wr.exports.merge({},i.tableListParams,{page:s.currentPage,per_page:s.pageSize,sort:s.sort||((pe=i.tableListParams)==null?void 0:pe.sort)||"",order:s.order||((ye=i.tableListParams)==null?void 0:ye.order)||""},w.value,X);V(te)},V=X=>{if(!i.tableListApi){i.tableData&&(n.tableData=i.tableData);return}n.ajaxLoading=!0,e.request({url:i.tableListApi,method:"get",params:X}).then(te=>{n.tableData=te.data,s.pageCount=te.totalPage,s.totalCount=te.total,n.ajaxLoading=!1,t("tablelist-change")})},ue=()=>{s.currentPage=1,s.pageSize=i.pagination["page-sizes"][0];const X={page:1,per_page:i.pagination["page-sizes"][0]};w.value={},g.nextTick(()=>{z(X)})},oe=()=>{s.currentPage=1,s.pageSize=i.pagination["page-sizes"][0],z(w.value)},de=X=>{s.currentPage=X,z({page:X})},me=X=>{s.pageSize=X,z({per_page:X})},_e=X=>{b.value=X,t("selection-change",X)},Ee=({prop:X,order:te})=>{s.sort=X,s.order=te==="ascending"?"asc":"desc",z({sort:X,order:te==="ascending"?"asc":"desc"})},Be=X=>{t("table-current-change",X)},Fe=X=>{var ye,De,Le,Ve,ze,ft;const{code:te}=X,pe=((ye=i.headerActions)==null?void 0:ye[te])||((Le=(De=d==null?void 0:d.descriptions)==null?void 0:De.headerActions)==null?void 0:Le[te]);te.startsWith("add")?pe&&((Ve=pe==null?void 0:pe.type)==null?void 0:Ve.includes("editBox"))?(H("",pe),t("add-handle",b.value)):pe&&pe.type==="editRoute"?pe.jumpUrl&&((ze=e==null?void 0:e.router)==null||ze.push({path:pe.jumpUrl,query:pe.jumpParams})):t("add-handle",b.value):te.startsWith("delete")?pe&&pe.event?t(pe.event,b.value):Mn.ElMessageBox.confirm((e==null?void 0:e.translateTitle("\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED"))||"\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",{confirmButtonText:(e==null?void 0:e.translateTitle("\u786E\u5B9A"))||"\u786E\u5B9A",cancelButtonText:(e==null?void 0:e.translateTitle("\u53D6\u6D88"))||"\u53D6\u6D88",type:"warning",customClass:"elMessageBox-wrapper"}).then(()=>{const It=b.value.map(Ze=>Ze.id).join(",");L({id:It})}).catch(()=>{Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u53D6\u6D88\u64CD\u4F5C"))||"\u53D6\u6D88\u64CD\u4F5C\uFF01")}):te.startsWith("exportF")?Y():te.startsWith("importF")?q():pe&&((ft=pe==null?void 0:pe.type)==null?void 0:ft.includes("editBox"))?H("",pe):t("header-action",X,b.value,p.value)},je=(X,te,pe)=>{var Le,Ve,ze;const ye=pe.action[X.code],{code:De}=X;De.startsWith("edit")?ye&&((Le=ye==null?void 0:ye.type)==null?void 0:Le.includes("editBox"))?(H(te,ye),t("edit-handle",te)):ye&&ye.type==="editRoute"?ye.jumpUrl&&((Ve=e==null?void 0:e.router)==null||Ve.push({path:ye.jumpUrl,query:te})):t("edit-handle",te):De.startsWith("delete")?te&&te.event?t(te.event,b.value):Mn.ElMessageBox.confirm((e==null?void 0:e.translateTitle("\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED?"))||"\u6B64\u64CD\u4F5C\u5C06\u4F1A\u6C38\u4E45\u5220\u9664\u6570\u636E\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",{confirmButtonText:(e==null?void 0:e.translateTitle("\u786E\u5B9A"))||"\u786E\u5B9A",cancelButtonText:(e==null?void 0:e.translateTitle("\u53D6\u6D88"))||"\u53D6\u6D88",type:"warning"}).then(()=>{L({id:te.id})}).catch(()=>{Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u53D6\u6D88\u64CD\u4F5C"))||"\u53D6\u6D88\u64CD\u4F5C\uFF01")}):ye&&ye.type==="editRoute"?e.router.push({path:ye.jumpUrl,query:te}):ye&&((ze=ye==null?void 0:ye.type)==null?void 0:ze.includes("editBox"))?H(te,ye):t("table-action",X,te)},Ue=async X=>{if(X==="confirm"){if(n.submitLoading=!0,!await y.value.formValidate()){n.submitLoading=!1;return}y.value.formSubmit()}X==="cancel"&&(l.visible=!1)},Oe=X=>{l.visible=!1,n.submitLoading=!1,t("list-change"),t("add-success",X),z()},Je=X=>{l.visible=!1,n.submitLoading=!1,t("list-change"),t("edit-success",X),z()},G=()=>{n.submitLoading=!1},H=(X,te)=>{const{editBoxName:pe}=te,ye=pe||"editBox";!e.config[ye]||(l.boxName=ye,l.visible=!0,l.model={},g.nextTick(()=>{var De,Le,Ve;X?(Ve=(Le=(De=i==null?void 0:i[ye])==null?void 0:De.form)==null?void 0:Le.api)!=null&&Ve.detail?I(X,ye):(l.model=O(X),l.model.id=X.id,l.title=i[ye].customTitle?e==null?void 0:e.translateTitle(i[ye].title):(e==null?void 0:e.translateTitle("\u7F16\u8F91"))||"\u7F16\u8F91"+(e==null?void 0:e.translateTitle(i[ye].title)),l.type="edit"):(l.model={},i.editBox.form.formList.forEach(ze=>{ze.value!==void 0&&(l.model[ze.key]=ze.value)}),l.title=i[ye].customTitle?e==null?void 0:e.translateTitle(i[ye].title):(e==null?void 0:e.translateTitle("\u65B0\u5EFA"))||"\u65B0\u5EFA"+(e==null?void 0:e.translateTitle(i[ye].title)),l.type="add")}))},I=(X,te)=>{const pe={id:X.id};e.request({url:i[te].form.api.detail,method:"get",params:pe}).then(ye=>{l.model=O(ye),l.model.id=ye.id,l.title=i[te].customTitle?i[te].title:(e==null?void 0:e.translateTitle("\u7F16\u8F91"))||"\u7F16\u8F91"+(e==null?void 0:e.translateTitle(i[te].title)),l.type="edit",t("get-detail-success",ye)})},L=X=>{e.request({url:i.tableDeleteApi,method:"post",data:X}).then(()=>{t("delete-success"),oe()})},Y=()=>{if(!i.tableExportApi){Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u5BFC\u51FA\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u5BFC\u51FA\u63A5\u53E3\uFF01");return}if(!n.tableData.length){Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u6682\u65E0\u6570\u636E\u53EF\u5BFC\u51FA\uFF01"))||"\u6682\u65E0\u6570\u636E\u53EF\u5BFC\u51FA\uFF01");return}const X=r.$baseColorfullLoading(0,(e==null?void 0:e.translateTitle("\u6B63\u5728\u4E0B\u8F7D\u4E2D"))||"\u6B63\u5728\u4E0B\u8F7D\u4E2D\u3002\u3002\u3002"),te=Wr.exports.merge({page:s.currentPage,per_page:s.pageSize,sort:s.sort,order:s.order},i.tableListParams,w.value);e.request({url:i.tableExportApi,method:"get",resType:i.tableExportPathKey?"":"blob",responseType:i.tableExportPathKey?"":"blob",timeout:120*1e3,params:te}).then(pe=>{let ye="";pe&&i.tableExportPathKey&&pe[i.tableExportPathKey]?ye=pe[i.tableExportPathKey]:ye=window.URL.createObjectURL(new Blob([pe]));let De=document.createElement("a");De.style.display="none",De.href=ye,De.setAttribute("download",`${i.tableExportName||(e==null?void 0:e.translateTitle("\u6587\u4EF6"))||"\u6587\u4EF6"}-${eu.default().format("YYYY-MM-DD")}`),document.body.appendChild(De),De.click(),X.close()})},q=()=>{if(!i.tableFileImportApi){Mn.ElMessage.info((e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u6587\u4EF6\u4E0A\u4F20\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u6587\u4EF6\u4E0A\u4F20\u63A5\u53E3\uFF01");return}},B=(X,te,pe=!0)=>{X[`isEdit${te.prop}`]=pe},ce=(X={},te={},pe="table")=>{var ft,It,Ze,At,Dt;const{id:ye}=X,{prop:De}=te;if(!ye)return;var Le={id:ye};Le[De]=X[De];const Ve={table:{url:i.tableUpdateApi,des:"tableUpdateApi"},drawDes:{url:((ft=d==null?void 0:d.api)==null?void 0:ft.update)||((Ze=(It=d==null?void 0:d.descriptions)==null?void 0:It.api)==null?void 0:Ze.update)||((Dt=(At=i.tableDrawer)==null?void 0:At.api)==null?void 0:Dt.update),des:"drawerConfig.api.update || appConfig.tableDrawer.api.update"}};let ze=Ve[pe].url;if(!ze)return Mn.ElMessage.info(`${(e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u7F16\u8F91\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u7F16\u8F91\u63A5\u53E3\uFF01"}${Ve[pe].des}`);e.request({url:ze,method:"post",data:Le}).then(()=>{X[`isEdit${De}`]=!1,pe==="drawDes"&&(n.refreshTable=!0)})},ge=(X="",te={},pe="id",ye="id")=>{if(!X)return Mn.ElMessage.info(`${(e==null?void 0:e.translateTitle("\u8BF7\u914D\u7F6E\u8BE6\u60C5\u63A5\u53E3\uFF01"))||"\u8BF7\u914D\u7F6E\u8BE6\u60C5\u63A5\u53E3\uFF01"}`);const De={};De[pe]=bb(ye,te),e.request({url:X,method:"get",params:De}).then(Le=>{d.detailInfo=Le})},Ae=(X,te)=>{var pe,ye,De,Le,Ve,ze,ft,It,Ze,At,Dt,Bt,hn,Xt,gn,Ar,Mr,er,cr,kr,fr,wr,tr,io,ui,ao,zi,No;if(t("click-cell",X,te),te.drawerConfig){d.headerSlotName=(pe=te==null?void 0:te.drawerConfig)==null?void 0:pe.headerSlotName,d.contentSlotName=(ye=te==null?void 0:te.drawerConfig)==null?void 0:ye.contentSlotName,d.footerSlotName=(De=te==null?void 0:te.drawerConfig)==null?void 0:De.footerSlotName;const so=(Le=te==null?void 0:te.drawerConfig)==null?void 0:Le.desListName;so&&i.tableDrawer[so]&&(d.descriptions=i.tableDrawer[so],(ze=(Ve=i.tableDrawer[so])==null?void 0:Ve.desColumns)!=null&&ze.length&&(d.descriptionEdit=(It=(ft=i.tableDrawer[so])==null?void 0:ft.desColumns)==null?void 0:It.some(uo=>!!uo.editType))),d.attrs=Wr.exports.merge(f,((Ze=te.drawerConfig)==null?void 0:Ze.attrs)||{}),d.api=Wr.exports.merge({},((At=te.drawerConfig)==null?void 0:At.api)||{}),d.clickCellItem=te;const jr=(Dt=te==null?void 0:te.drawerConfig)==null?void 0:Dt.tabPaneName;jr&&i.tableDrawer[jr]&&(d.tabPaneList=((Bt=i==null?void 0:i.tableDrawer[jr])==null?void 0:Bt.tabPaneList)||[],d.activeName=((hn=i==null?void 0:i.tableDrawer[jr])==null?void 0:hn.activeName)||((gn=(Xt=i==null?void 0:i.tableDrawer[jr])==null?void 0:Xt.tabPaneList[0])==null?void 0:gn.name),d.tabsAttrs=Wr.exports.merge({class:"mt20"},((Ar=i==null?void 0:i.tableDrawer[jr])==null?void 0:Ar.tabsAttrs)||{}));const li=((er=(Mr=te==null?void 0:te.drawerConfig)==null?void 0:Mr.api)==null?void 0:er.detail)||((kr=(cr=i.tableDrawer)==null?void 0:cr.api)==null?void 0:kr.detail),Lo=((wr=(fr=te==null?void 0:te.drawerConfig)==null?void 0:fr.api)==null?void 0:wr.searchKey)||((io=(tr=i.tableDrawer)==null?void 0:tr.api)==null?void 0:io.searchKey),Rs=((ao=(ui=te==null?void 0:te.drawerConfig)==null?void 0:ui.api)==null?void 0:ao.valueKey)||((No=(zi=i.tableDrawer)==null?void 0:zi.api)==null?void 0:No.valueKey);d.detailInfo=X,li&&ge(li,X,Lo,Rs),g.nextTick(()=>{d.visible=!0})}},j=()=>{n.refreshTable&&(z(),n.refreshTable=!1),d.visible=!1};return g.watch(e,X=>{i=Wr.exports.merge(i,X.config),X.config.tableData&&(n.tableData=X.config.tableData||[])}),g.onBeforeMount(()=>{T()}),{slots:o,...g.toRefs(n),currentPagePath:S,appConfig:i,pagination:s,editBoxInfo:l,tableDrawerConfig:d,selectionRow:b,tableSearchModel:w,editBoxRef:y,dayjs:eu.default,userMenusAuthObj:x,loadingText:A,appTableColumn:a,drawerTopDesAttrs:h,drawerTopDesColumns:m,currentComponent:C,headerActionList:$,tableDrawerDetailInfo:p,onSearchSubmit:oe,onSearchReset:ue,handleEdit:H,handleCurrentChange:de,handleSizeChange:me,handleSelectionChange:_e,handleTableCurrentChange:Be,handleSortChange:Ee,handleHeaderAction:Fe,handleTableAction:je,handleGetDetail:I,handleBox:Ue,filterVal:rd,initSearch:T,handleAddSuccess:Oe,handleEditSuccess:Je,handleEditRow:B,handleEditRowProp:ce,handleError:G,handleImportRequest:q,handleClickRow:Ae,handleCloseDrawer:j}}}),Gbe={class:"app-table-wrapper"},Kbe={class:"table-header-wrapper fx"},Ybe={class:"fx pr10"},Jbe=["onClick"],Xbe={class:"fxr"},Zbe={class:"dialog-footer"},Qbe=["onClick"];function e2e(e,t,n,r,o,i){var A,O,T,z;const a=g.resolveComponent("jwt-form"),s=g.resolveComponent("jwt-header-button"),l=g.resolveComponent("jwt-table-button"),f=g.resolveComponent("jwt-column-item"),d=g.resolveComponent("el-table-column"),p=g.resolveComponent("el-table"),h=g.resolveComponent("el-pagination"),m=g.resolveComponent("el-button"),C=g.resolveComponent("el-dialog"),$=g.resolveComponent("el-descriptions-item"),b=g.resolveComponent("el-descriptions"),w=g.resolveComponent("el-card"),y=g.resolveComponent("jwt-tabs"),S=g.resolveComponent("el-drawer"),x=g.resolveDirective("loading");return g.openBlock(),g.createElementBlock(g.Fragment,null,[g.createElementVNode("div",Gbe,[g.renderSlot(e.$slots,"search-before",{},void 0,!0),g.createElementVNode("div",Kbe,[(T=(O=(A=e.appConfig)==null?void 0:A.tableSearch)==null?void 0:O.formList)!=null&&T.length?(g.openBlock(),g.createBlock(a,{key:0,modelValue:e.tableSearchModel,"onUpdate:modelValue":t[0]||(t[0]=V=>e.tableSearchModel=V),class:"app-table-search",config:e.appConfig.tableSearch,"fill-url":e.fillUrl,request:e.request,"response-key":e.responseKey,"translate-title":e.translateTitle,"upload-img-url":e.uploadUrl,"upload-rich-text-url":e.uploadRichTextUrl,onReset:e.onSearchReset,onSubmit:e.onSearchSubmit},null,8,["modelValue","config","fill-url","request","response-key","translate-title","upload-img-url","upload-rich-text-url","onReset","onSubmit"])):g.createCommentVNode("",!0)]),g.createElementVNode("div",Ybe,[g.renderSlot(e.$slots,"header-button-before",{},void 0,!0),e.appConfig.headerActionsShow?(g.openBlock(),g.createBlock(s,{key:0,"action-list":e.headerActionList,"current-path":e.currentPagePath,"file-import-api":e.appConfig.tableFileImportApi,loading:e.ajaxLoading,"menus-obj":e.userMenusAuth,"selection-row":e.selectionRow,onHeaderAction:e.handleHeaderAction},null,8,["action-list","current-path","file-import-api","loading","menus-obj","selection-row","onHeaderAction"])):g.createCommentVNode("",!0),g.renderSlot(e.$slots,"header-button-after",{},void 0,!0)]),g.renderSlot(e.$slots,"table-before",{},void 0,!0),g.withDirectives((g.openBlock(),g.createBlock(p,g.mergeProps(e.appConfig.tableAttr,{ref:"tableRef",class:"mt15",data:e.tableData,"element-loading-spinner":"el-icon-loading","element-loading-text":e.loadingText,height:e.tableHeight,onCurrentChange:e.handleTableCurrentChange,onSelectionChange:e.handleSelectionChange,onSortChange:e.handleSortChange}),{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.appTableColumn,(V,ue)=>(g.openBlock(),g.createBlock(d,{key:ue,align:V.align||"center",fixed:V.fixed,label:e.translateTitle(V==null?void 0:V.label)||(V==null?void 0:V.label),"min-width":V.minWidth?V.minWidth:null,prop:V.prop,sortable:V.sortable,type:V.type,width:V.width?V.width:null},g.createSlots({_:2},[V.type?void 0:{name:"default",fn:g.withCtx(({row:oe,$index:de})=>[V.action?(g.openBlock(),g.createElementBlock(g.Fragment,{key:0},[g.renderSlot(e.$slots,"action-before",{scope:oe},void 0,!0),g.createVNode(l,{config:V,"current-path":e.currentPagePath,"menus-obj":e.userMenusAuthObj,row:oe,"show-button-num":e.appConfig.tableButtonNum,onTableAction:me=>e.handleTableAction(me,oe,V)},null,8,["config","current-path","menus-obj","row","show-button-num","onTableAction"]),g.renderSlot(e.$slots,"action-after",{scope:oe},void 0,!0)],64)):g.renderSlot(e.$slots,V.prop,{key:1,index:ue,scope:oe},()=>[V.isEdit?(g.openBlock(),g.createBlock(f,{key:0,"fill-url":e.fillUrl,index:de,item:V,row:oe,"upload-url":e.uploadUrl,onChange:e.handleEditRowProp,onClickCell:e.handleClickRow},null,8,["fill-url","index","item","row","upload-url","onChange","onClickCell"])):(g.openBlock(),g.createElementBlock("div",{key:1,class:"dl",onClick:me=>e.handleClickRow(oe,V)},[V.preUnit?(g.openBlock(),g.createElementBlock("span",{key:0,class:g.normalizeClass(V.preUnitCls)},g.toDisplayString(V.preUnit),3)):g.createCommentVNode("",!0),g.createElementVNode("span",{class:g.normalizeClass(V.class)},g.toDisplayString(e.filterVal(oe[V.prop],"",oe,V)),3),V.sufUnit?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(V.sufUnitCls)},g.toDisplayString(V.sufUnit),3)):g.createCommentVNode("",!0)],8,Jbe))],!0)]),key:"0"}]),1032,["align","fixed","label","min-width","prop","sortable","type","width"]))),128))]),_:3},16,["data","element-loading-text","height","onCurrentChange","onSelectionChange","onSortChange"])),[[x,e.ajaxLoading]]),g.createElementVNode("div",Xbe,[e.appConfig.showPagination?(g.openBlock(),g.createBlock(h,g.mergeProps({key:0},e.appConfig.pagination,{class:"app-pagination","current-page":e.pagination.currentPage,disabled:e.ajaxLoading,"page-count":e.pagination.pageCount,"page-size":e.pagination.pageSize,total:e.pagination.totalCount,onCurrentChange:e.handleCurrentChange,onSizeChange:e.handleSizeChange}),null,16,["current-page","disabled","page-count","page-size","total","onCurrentChange","onSizeChange"])):g.createCommentVNode("",!0)])]),g.createVNode(C,g.mergeProps({modelValue:e.editBoxInfo.visible,"onUpdate:modelValue":t[2]||(t[2]=V=>e.editBoxInfo.visible=V)},e.appConfig[e.editBoxInfo.boxName].dialog,{"append-to-body":"",center:"",class:"jwt-dialog-wrapper","destroy-on-close":"","lock-scroll":"",title:e.editBoxInfo.title}),g.createSlots({default:g.withCtx(()=>[e.editBoxInfo.visible?(g.openBlock(),g.createBlock(a,{key:0,ref:"editBoxRef",modelValue:e.editBoxInfo.model,"onUpdate:modelValue":t[1]||(t[1]=V=>e.editBoxInfo.model=V),config:e.appConfig[e.editBoxInfo.boxName].form,"fill-url":e.fillUrl,request:e.request,"response-key":e.responseKey,"translate-title":e.translateTitle,"upload-img-url":e.uploadUrl,"upload-rich-text-url":e.uploadRichTextUrl,onAddSuccess:e.handleAddSuccess,onEditSuccess:e.handleEditSuccess,onError:e.handleError},g.createSlots({_:2},[g.renderList(e.appConfig[e.editBoxInfo.boxName].form.formList,V=>({name:V.name,fn:g.withCtx(()=>[g.renderSlot(e.$slots,V.name,{model:e.editBoxInfo.model},void 0,!0)])}))]),1032,["modelValue","config","fill-url","request","response-key","translate-title","upload-img-url","upload-rich-text-url","onAddSuccess","onEditSuccess","onError"])):g.createCommentVNode("",!0)]),_:2},[(z=e.appConfig[e.editBoxInfo.boxName])!=null&&z.footer?{name:"footer",fn:g.withCtx(()=>[g.createElementVNode("div",Zbe,[g.renderSlot(e.$slots,"dialog-footer-before",{model:e.editBoxInfo.model},void 0,!0),(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.appConfig[e.editBoxInfo.boxName].footer,(V,ue)=>(g.openBlock(),g.createBlock(m,g.mergeProps(V.attrs,{key:ue,loading:e.submitLoading,onClick:oe=>e.handleBox(V.action)}),{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(e.translateTitle(V.title)||V.title),1)]),_:2},1040,["loading","onClick"]))),128)),g.renderSlot(e.$slots,"dialog-footer-after",{model:e.editBoxInfo.model},void 0,!0)])]),key:"0"}:void 0]),1040,["modelValue","title"]),g.createVNode(S,g.mergeProps({modelValue:e.tableDrawerConfig.visible,"onUpdate:modelValue":t[3]||(t[3]=V=>e.tableDrawerConfig.visible=V)},e.tableDrawerConfig.attrs,{onClose:e.handleCloseDrawer}),{header:g.withCtx(()=>[g.renderSlot(e.$slots,e.tableDrawerConfig.headerSlotName,{scope:e.tableDrawerDetailInfo},void 0,!0)]),default:g.withCtx(()=>{var V;return[e.drawerTopDesColumns.length?(g.openBlock(),g.createBlock(w,{key:0},{default:g.withCtx(()=>{var ue;return[g.createVNode(b,g.mergeProps(e.drawerTopDesAttrs,{class:"mb15",title:e.translateTitle((ue=e.drawerTopDesAttrs)==null?void 0:ue.title)||""}),{title:g.withCtx(()=>{var oe,de;return[g.renderSlot(e.$slots,((de=(oe=e.tableDrawerConfig)==null?void 0:oe.descriptions)==null?void 0:de.titleSlotName)||"",{scope:e.tableDrawerDetailInfo},void 0,!0)]}),extra:g.withCtx(()=>{var oe,de;return[g.renderSlot(e.$slots,((de=(oe=e.tableDrawerConfig)==null?void 0:oe.descriptions)==null?void 0:de.extraSlotName)||"",{scope:e.tableDrawerDetailInfo},()=>{var me,_e,Ee,Be,Fe,je;return[(Ee=(_e=(me=e.tableDrawerConfig)==null?void 0:me.descriptions)==null?void 0:_e.headerActions)!=null&&Ee.list.length?(g.openBlock(),g.createBlock(s,{key:0,"action-list":(je=(Fe=(Be=e.tableDrawerConfig)==null?void 0:Be.descriptions)==null?void 0:Fe.headerActions)==null?void 0:je.list,"current-path":e.currentPagePath,"file-import-api":e.appConfig.tableFileImportApi,loading:e.ajaxLoading,"menus-obj":e.userMenusAuth,"selection-row":e.selectionRow,onHeaderAction:e.handleHeaderAction},null,8,["action-list","current-path","file-import-api","loading","menus-obj","selection-row","onHeaderAction"])):g.createCommentVNode("",!0)]},!0)]}),default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.drawerTopDesColumns,(oe,de)=>(g.openBlock(),g.createBlock($,g.mergeProps({key:de},oe,{label:e.translateTitle(oe.label)}),{default:g.withCtx(()=>[g.renderSlot(e.$slots,oe.prop,{index:de,scope:e.tableDrawerDetailInfo},()=>[oe.isEdit?(g.openBlock(),g.createBlock(f,{key:0,"fill-url":e.fillUrl,index:de,item:oe,row:e.tableDrawerDetailInfo,"upload-url":e.uploadUrl,onChange:me=>e.handleEditRowProp(e.tableDrawerDetailInfo,oe,"drawDes"),onClickCell:e.handleClickRow},null,8,["fill-url","index","item","row","upload-url","onChange","onClickCell"])):(g.openBlock(),g.createElementBlock("div",{key:1,class:"dl",onClick:me=>e.handleClickRow(e.tableDrawerDetailInfo,oe)},[oe.preUnit?(g.openBlock(),g.createElementBlock("span",{key:0,class:g.normalizeClass(oe.preUnitCls)},g.toDisplayString(oe.preUnit),3)):g.createCommentVNode("",!0),g.createElementVNode("span",{class:g.normalizeClass(oe.class)},g.toDisplayString(e.filterVal(e.tableDrawerDetailInfo[oe.prop],"",e.tableDrawerDetailInfo,oe)),3),oe.sufUnit?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(oe.sufUnitCls)},g.toDisplayString(oe.sufUnit),3)):g.createCommentVNode("",!0)],8,Qbe))],!0)]),_:2},1040,["label"]))),128))]),_:3},16,["title"])]}),_:3})):g.createCommentVNode("",!0),g.renderSlot(e.$slots,"drawer-content-before",{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},void 0,!0),g.renderSlot(e.$slots,(V=e.tableDrawerConfig)==null?void 0:V.contentSlotName,{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},()=>[e.tableDrawerConfig.tabPaneList.length?(g.openBlock(),g.createBlock(y,{key:0,config:e.tableDrawerConfig,info:e.tableDrawerDetailInfo,"translate-title":e.translateTitle},null,8,["config","info","translate-title"])):g.createCommentVNode("",!0)],!0),g.renderSlot(e.$slots,"drawer-content-after",{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},void 0,!0),g.renderSlot(e.$slots,"drawerCoustom",{row:e.tableDrawerConfig.clickCellItem,scope:e.tableDrawerDetailInfo},void 0,!0)]}),footer:g.withCtx(()=>{var V;return[g.renderSlot(e.$slots,(V=e.tableDrawerConfig)==null?void 0:V.footerSlotName,{scope:e.tableDrawerDetailInfo},void 0,!0)]}),_:3},16,["modelValue","onClose"])],64)}const t2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(qbe,[["render",e2e],["__scopeId","data-v-87da3192"]])},Symbol.toStringTag,{value:"Module"})),n2e=g.defineComponent({name:"JwtTableButton",props:{currentPath:{type:String,default:"/"},menusObj:{type:Object,default:()=>{}},config:{type:Object,default:()=>{}},row:{type:Object,default:()=>{}},operationName:{type:String,default:"operations"},showButtonNum:{type:Number,default:2}},emits:["table-action"],setup(e,{emit:t}){const{currentPath:n,menusObj:r,operationName:o}=e,i=g.computed(()=>{var l;return((l=e.config)==null?void 0:l.action)||{}});return{tableButtonActions:g.computed(()=>{var d,p,h;const l=r[n],f=((p=(d=e==null?void 0:e.config)==null?void 0:d.action)==null?void 0:p.list)||[];return(h=l==null?void 0:l[o])!=null&&h.length?l[o].filter(m=>{var $,b,w,y;let C=m.show_table;if(f!=null&&f.length){const{code:S}=m;C=C&&f.includes(S)}return((b=($=i==null?void 0:i.value)==null?void 0:$[m.code])==null?void 0:b.condition)&&Ht.isFunction(i.value[m.code].condition)&&(C=C&&i.value[m.code].condition(e.row)),((y=(w=i==null?void 0:i.value)==null?void 0:w[m.code])==null?void 0:y.disabledFun)&&Ht.isFunction(i.value[m.code].disabledFun)&&(m.disabled=i.value[m.code].disabledFun(e.row)),C}):[]}),handleTableAction:l=>{t("table-action",l)}}}}),r2e={class:"table-actions"},o2e={class:"fx fxwp"};function i2e(e,t,n,r,o,i){const a=g.resolveComponent("el-button"),s=g.resolveComponent("vab-icon"),l=g.resolveComponent("el-popover");return g.openBlock(),g.createElementBlock("div",r2e,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.tableButtonActions,(f,d)=>(g.openBlock(),g.createElementBlock(g.Fragment,{key:d},[e.showButtonNum&&d<e.showButtonNum?(g.openBlock(),g.createBlock(a,{key:0,class:g.normalizeClass([f.code.includes("delete")?"cd":""]),disabled:f.disabled,link:"",size:"small",type:"primary",onClick:p=>e.handleTableAction(f)},{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["class","disabled","onClick"])):g.createCommentVNode("",!0)],64))),128)),e.showButtonNum&&e.tableButtonActions.length>e.showButtonNum?(g.openBlock(),g.createBlock(l,{key:0,placement:"bottom",trigger:"hover",width:150},{reference:g.withCtx(()=>[g.createVNode(s,{class:"ml5",icon:"more-fill"})]),default:g.withCtx(()=>[g.createElementVNode("div",o2e,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.tableButtonActions,(f,d)=>(g.openBlock(),g.createElementBlock("div",{key:d},[g.createVNode(a,{class:g.normalizeClass([f.code.includes("delete")?"cd":""]),disabled:f.disabled,link:"",size:"small",type:"primary",onClick:p=>e.handleTableAction(f)},{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(f.show_title||f.title),1)]),_:2},1032,["class","disabled","onClick"])]))),128))])]),_:1})):g.createCommentVNode("",!0)])}const a2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(n2e,[["render",i2e]])},Symbol.toStringTag,{value:"Module"})),zSe="",s2e={"page-sizes":[10,20,30,40,50,100],"page-size":10,layout:"total, sizes, prev, pager, next, jumper"},u2e=g.defineComponent({name:"JwtTableOnly",components:{},props:{config:{require:!0,type:Object,default:()=>{}},tableHeight:{type:[String,Number],default:null},request:{type:Function,require:!0,default:()=>{}},uploadUrl:{type:String,default:""},fillUrl:{type:Function,default:null},userMenusAuth:{type:Object,default:()=>{}}},emits:["selection-change","list-change","header-action","table-action","add-handle","edit-handle","add-success","edit-success","delete-success","table-current-change","tablelist-change","get-detail-success"],setup(e,{emit:t}){const n=g.reactive({tableData:[],ajaxLoading:!1,submitLoading:!1});let r=g.reactive(Wr.exports.merge({tableAttr:{stripe:!0,border:!0,fit:!0,highlightCurrentRow:!0},tableColumn:[],tableListApi:null,tableListParams:{},tableDeleteApi:null,tableDeleteParams:{},pagination:s2e,showPagination:!0},e.config));const o=g.reactive({currentPage:1,pageCount:1,pageSize:r.pagination["page-sizes"][0],totalCount:1,sort:"id",order:"desc"}),i=g.ref([]),a=g.ref({}),s=g.ref(null),l=g.computed(()=>e.userMenusAuth||{}),f=()=>{d()},d=()=>{const T=Wr.exports.merge({page:o.currentPage,per_page:o.pageSize,sort:o.sort,order:o.order},r.tableListParams,a.value);p(T)},p=T=>{if(!r.tableListApi){r.tableData&&(n.tableData=r.tableData);return}n.ajaxLoading=!0,e.request({url:r.tableListApi,method:"get",params:T}).then(z=>{n.tableData=z.data,o.pageCount=z.totalPage,o.totalCount=z.total,n.ajaxLoading=!1,t("tablelist-change")})},h=()=>{o.currentPage=1,o.pageSize=r.pagination["page-sizes"][0],d()},m=()=>{o.currentPage=1,o.pageSize=r.pagination["page-sizes"][0],d(a.value)},C=T=>{o.currentPage=T,d()},$=T=>{o.pageSize=T,d()},b=(T,z="")=>T===null||T===""||T===void 0?"-":z?eu.default(T).format(z):T,w=T=>{i.value=T,t("selection-change",T)},y=({prop:T,order:z})=>{o.sort=T,o.order=z==="ascending"?"asc":"desc",d()},S=T=>{t("table-current-change",T)},x=(T,z,V=!0)=>{T[`isEdit${z.prop}`]=V},A=(T,z)=>{const{id:V}=T,{prop:ue}=z;if(!!V){var oe={id:V};if(oe[ue]=T[ue],!r.tableUpdateApi)return Mn.ElMessage.info("\u8BF7\u914D\u7F6E\u7F16\u8F91\u63A5\u53E3\uFF01tableUpdateApi");e.request({url:r.tableUpdateApi,method:"post",data:oe}).then(()=>{T[`isEdit${ue}`]=!1})}},O=T=>e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(T):T;return g.watch(e,T=>{r=Wr.exports.merge(r,T.config),T.config.tableData&&(n.tableData=T.config.tableData||[])}),g.onBeforeMount(()=>{f()}),{...g.toRefs(n),appConfig:r,pagination:o,selectionRow:i,tableSearchModel:a,editBoxRef:s,dayjs:eu.default,userMenusAuthObj:l,onSearchSubmit:m,onSearchReset:h,handleCurrentChange:C,handleSizeChange:$,handleSelectionChange:w,handleTableCurrentChange:S,handleSortChange:y,filterVal:b,initSearch:f,handleEditRow:x,handleEditRowProp:A,handleFillUrl:O}}}),l2e={class:"app-table-wrapper"},c2e=["onDblclick"],f2e={class:"image-slot wh fxmc"},d2e={class:"fxr"};function p2e(e,t,n,r,o,i){const a=g.resolveComponent("el-input"),s=g.resolveComponent("el-input-number"),l=g.resolveComponent("jwt-upload-image"),f=g.resolveComponent("el-switch"),d=g.resolveComponent("jwt-icon"),p=g.resolveComponent("el-image"),h=g.resolveComponent("el-table-column"),m=g.resolveComponent("el-table"),C=g.resolveComponent("el-pagination"),$=g.resolveDirective("loading");return g.openBlock(),g.createElementBlock("div",l2e,[g.renderSlot(e.$slots,"table-before",{},void 0,!0),g.withDirectives((g.openBlock(),g.createBlock(m,g.mergeProps(e.appConfig.tableAttr,{ref:"tableRef",class:"mt15",data:e.tableData,"element-loading-spinner":"el-icon-loading","element-loading-text":"\u52A0\u8F7D\u6570\u636E\u4E2D...",height:e.tableHeight,onCurrentChange:e.handleTableCurrentChange,onSelectionChange:e.handleSelectionChange,onSortChange:e.handleSortChange}),{default:g.withCtx(()=>[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.appConfig.tableColumn,(b,w)=>(g.openBlock(),g.createBlock(h,{key:w,align:b.align||"center",fixed:b.fixed,label:b.label,"min-width":b.minWidth?b.minWidth:null,prop:b.prop,sortable:b.sortable,type:b.type,width:b.width?b.width:null},g.createSlots({_:2},[b.type?void 0:{name:"default",fn:g.withCtx(({row:y,$index:S})=>[b.dateTimeFormat?(g.openBlock(),g.createElementBlock(g.Fragment,{key:0},[g.createTextVNode(g.toDisplayString(e.filterVal(y[b.prop],b.dateTimeFormat)),1)],64)):b.editType?(g.openBlock(),g.createElementBlock(g.Fragment,{key:1},[b.editType==="input"?(g.openBlock(),g.createBlock(a,{key:0,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,type:"text",onKeydown:g.withKeys(x=>e.handleEditRowProp(y,b),["enter"])},null,8,["modelValue","onUpdate:modelValue","onKeydown"])):b.editType==="inputNumber"?(g.openBlock(),g.createBlock(s,{key:1,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,"controls-position":"right",min:0,onBlur:x=>e.handleEditRowProp(y,b)},null,8,["modelValue","onUpdate:modelValue","onBlur"])):b.editType==="uploadImg"?(g.openBlock(),g.createBlock(l,{key:2,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,"fill-url":e.fillUrl,"upload-url":e.uploadUrl,onOnChange:x=>e.handleEditRowProp(y,b)},null,8,["modelValue","onUpdate:modelValue","fill-url","upload-url","onOnChange"])):b.editType==="switch"?(g.openBlock(),g.createBlock(f,{key:3,modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,"active-value":1,"inactive-value":0,onChange:x=>e.handleEditRowProp(y,b)},null,8,["modelValue","onUpdate:modelValue","onChange"])):g.createCommentVNode("",!0)],64)):b.editInput?(g.openBlock(),g.createElementBlock(g.Fragment,{key:2},[g.withDirectives(g.createElementVNode("div",{onDblclick:x=>e.handleEditRow(y,b)},g.toDisplayString(e.filterVal(y[b.prop])),41,c2e),[[g.vShow,!y[`isEdit${b.prop}`]]]),g.withDirectives(g.createVNode(a,{modelValue:y[b.prop],"onUpdate:modelValue":x=>y[b.prop]=x,type:"text",onBlur:x=>e.handleEditRowProp(y,b),onKeyup:g.withKeys(x=>e.handleEditRowProp(y,b),["enter"])},null,8,["modelValue","onUpdate:modelValue","onBlur","onKeyup"]),[[g.vShow,y[`isEdit${b.prop}`]]])],64)):b.isImg?(g.openBlock(),g.createBlock(p,{key:3,"preview-src-list":[e.handleFillUrl(y[b.prop])],"preview-teleported":"",size:80,src:e.handleFillUrl(y[b.prop]),teleported:""},{error:g.withCtx(()=>[g.createElementVNode("div",f2e,[g.createVNode(d,{class:"g9",icon:"image-line",style:{"font-size":"40px"}})])]),_:2},1032,["preview-src-list","src"])):g.renderSlot(e.$slots,b.prop,{key:4,index:S,scope:y},()=>[g.createTextVNode(g.toDisplayString(e.filterVal(y[b.prop])),1)],!0)]),key:"0"}]),1032,["align","fixed","label","min-width","prop","sortable","type","width"]))),128))]),_:3},16,["data","height","onCurrentChange","onSelectionChange","onSortChange"])),[[$,e.ajaxLoading]]),g.createElementVNode("div",d2e,[e.appConfig.showPagination?(g.openBlock(),g.createBlock(C,g.mergeProps({key:0},e.appConfig.pagination,{class:"app-pagination","current-page":e.pagination.currentPage,disabled:e.ajaxLoading,"page-count":e.pagination.pageCount,"page-size":e.pagination.pageSize,total:e.pagination.totalCount,onCurrentChange:e.handleCurrentChange,onSizeChange:e.handleSizeChange}),null,16,["current-page","disabled","page-count","page-size","total","onCurrentChange","onSizeChange"])):g.createCommentVNode("",!0)])])}const h2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(u2e,[["render",p2e],["__scopeId","data-v-8542559f"]])},Symbol.toStringTag,{value:"Module"})),g2e=g.defineComponent({name:"JwtTabs",props:{config:{type:Object,require:!0,default:()=>{}},info:{type:Object,require:!0,default:()=>{}},translateTitle:{type:Function,require:!0,default:()=>{}}},emits:["tab-click"],setup(e,{emit:t}){var i,a,s;const n=g.ref(((i=e.config)==null?void 0:i.activeName)||((s=(a=e.config)==null?void 0:a.tabPaneList[0])==null?void 0:s.name)),r=g.computed(()=>e.config.tabPaneList.find(f=>f.name===n.value)),o=(l,f)=>{t("tab-click",l,f)};return g.onBeforeMount(()=>{}),{activeName:n,currentComponent:r,handleClick:o}}});function m2e(e,t,n,r,o,i){var l;const a=g.resolveComponent("el-tab-pane"),s=g.resolveComponent("el-tabs");return g.openBlock(),g.createBlock(s,g.mergeProps({modelValue:e.activeName,"onUpdate:modelValue":t[0]||(t[0]=f=>e.activeName=f)},(l=e.config)==null?void 0:l.tabsAttrs,{onTabClick:e.handleClick}),{default:g.withCtx(()=>{var f,d;return[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList((f=e.config)==null?void 0:f.tabPaneList,(p,h)=>(g.openBlock(),g.createBlock(a,g.mergeProps({key:h},p,{label:e.translateTitle(p.label)}),null,16,["label"]))),128)),(g.openBlock(),g.createBlock(g.KeepAlive,null,[(g.openBlock(),g.createBlock(g.resolveDynamicComponent(e.currentComponent.component),{info:e.info,params:((d=e.currentComponent)==null?void 0:d.params)||{}},null,8,["info","params"]))],1024))]}),_:1},16,["modelValue","onTabClick"])}const v2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(g2e,[["render",m2e]])},Symbol.toStringTag,{value:"Module"})),HSe="",y2e=g.defineComponent({name:"JwtTags",props:{modelValue:{type:[String,Array],default:""},btnTitle:{type:String,default:"\u6DFB\u52A0"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=g.ref(null),r=g.reactive({tagList:[],inputVisible:!1,inputValue:"",initOnce:!1}),o=()=>{var d;if(r.initOnce)return;let f=[];return e.modelValue&&Ht.isString(e.modelValue)&&(f=(d=e==null?void 0:e.modelValue)==null?void 0:d.split(",")),r.initOnce=!0,f};g.watch(()=>e.modelValue,f=>{r.initOnce||(f?r.tagList=o():r.tagList=[])},{immediate:!0});const i=()=>{r.inputVisible=!0,g.nextTick(()=>{var f,d;(d=(f=n.value)==null?void 0:f.input)==null||d.focus()})},a=f=>{r.tagList.splice(r.tagList.indexOf(f),1),s()},s=()=>{const f=r.tagList.join(",");t("update:modelValue",f)},l=()=>{r.inputValue&&r.tagList.push(r.inputValue),r.inputVisible=!1,r.inputValue="",s()};return g.onUpdated(()=>{}),g.onBeforeMount(()=>{r.initOnce=!1}),{...g.toRefs(r),inputRef:n,showInput:i,handleClose:a,handleInputConfirm:l}}});function b2e(e,t,n,r,o,i){const a=g.resolveComponent("el-tag"),s=g.resolveComponent("el-input"),l=g.resolveComponent("el-button");return g.openBlock(),g.createElementBlock(g.Fragment,null,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(e.tagList,f=>(g.openBlock(),g.createBlock(a,{key:f,class:"mx-1",closable:"","disable-transitions":!1,onClose:d=>e.handleClose(f)},{default:g.withCtx(()=>[g.createTextVNode(g.toDisplayString(f),1)]),_:2},1032,["onClose"]))),128)),e.inputVisible?(g.openBlock(),g.createBlock(s,{key:0,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[0]||(t[0]=f=>e.inputValue=f),class:"w120",size:"small",onBlur:e.handleInputConfirm,onKeyup:g.withKeys(e.handleInputConfirm,["enter"])},null,8,["modelValue","onBlur","onKeyup"])):(g.openBlock(),g.createBlock(l,{key:1,class:"button-new-tag",size:"small",onClick:e.showInput},{default:g.withCtx(()=>[g.createTextVNode(" + "+g.toDisplayString(e.btnTitle),1)]),_:1},8,["onClick"]))],64)}const w2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn(y2e,[["render",b2e],["__scopeId","data-v-8d0666c2"]])},Symbol.toStringTag,{value:"Module"})),qSe="",$2e=g.defineComponent({name:"JwtUploadImage",props:{uploadUrl:{type:String,default:""},modelValue:{type:[String,Array],default:null},limitSize:{type:[String,Number],default:2048},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},listType:{type:String,default:"picture-card"},limit:{type:[String,Number],default:10},fillUrl:{type:Function,default:null},uploadParam:{type:Object,default:()=>{}},responseKey:{type:String,default:"relative_path"},translateTitle:{type:Function,require:!0,default:()=>{}},copyImgUploade:{type:Boolean,default:!1}},emits:["update:modelValue","onChange"],setup(e,{emit:t}){const n=g.ref(null),r=g.reactive({fileList:[],dialogVisible:!1,dialogImageUrl:"",initOnce:!1,onUploadProgress:!1,textarea:""}),o=b=>(e==null?void 0:e.translateTitle(b))||b,i=b=>e.fillUrl&&Ht.isFunction(e.fillUrl)?e.fillUrl(b):b,a=g.computed(()=>{var b;return e.multiple?!1:!!((b=e==null?void 0:e.modelValue)!=null&&b.length)||r.onUploadProgress}),s=()=>{if(r.initOnce)return;let b=[];if(e.multiple)if(Ht.hasArray(e.modelValue))e.modelValue.map(w=>{w&&b.push({url:i(w),org_url:w,name:i(w)})});else if(Ht.isString(e.modelValue))e.modelValue.split(",").map(w=>{w&&b.push({url:i(w),org_url:w,name:i(w)})});else return r.initOnce=!1,[];else b=e.modelValue?[{url:i(e.modelValue),org_url:e.modelValue,name:i(e.modelValue)}]:[];return r.initOnce=!0,b};g.watch(()=>e.modelValue,b=>{g.nextTick(()=>{if(!r.initOnce)if(b){const w=s();r.fileList=w}else r.fileList=[]})});const l=g.computed(()=>({Authorization:sessionStorage.getItem("admin-token")||localStorage.getItem("admin-token")})),f=b=>{if(!e.uploadUrl)return Mn.ElMessage.error(o("\u8BF7\u914D\u7F6E\u4E0A\u4F20\u7684\u8DEF\u5F84\u5730\u5740\uFF01"));const w=b.type,y=parseInt(e.limitSize),S=y/1024,x=b.size/1024<y;let O=["image/jpeg","image/png","image/gif","image/webp"].includes(w);O||Mn.ElMessage.error(o("\u4E0A\u4F20\u56FE\u7247\u53EA\u80FD\u662F JPG,PNG,GIF,WEBP \u683C\u5F0F!")),x||(S>1?Mn.ElMessage.error(g.toRefs(`\u4E0A\u4F20\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 ${S}MB!`)):Mn.ElMessage.error(o(`\u4E0A\u4F20\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 ${y}KB!`)));const T=O&&x;return T&&(r.onUploadProgress=!0),T},d=()=>{r.onUploadProgress=!1},p=(b,w,y)=>{r.onUploadProgress=!1,b.code===0?m(y):(Mn.ElMessage.error(b.msg),this.dialogVisible=!1)},h=(b,w)=>{m(w)},m=b=>{const{responseKey:w}=e;r.initOnce=!0;let y=[];b.map(S=>{var A,O,T;const x=(w?(O=(A=S==null?void 0:S.response)==null?void 0:A.data)==null?void 0:O[w]:(T=S==null?void 0:S.response)==null?void 0:T.data)||S.org_url;x&&y.push(x)}),e.multiple?(t("update:modelValue",y),t("onChange",y)):(t("update:modelValue",y[0]||""),t("onChange",y[0]||""))},C=b=>{r.dialogImageUrl=b.url,r.dialogVisible=!0},$=b=>{var y;console.log("handlePaste e :>> ",b);let w=b.clipboardData.items[0];if(console.log("items :>> ",w,w.type),a.value)return Mn.ElMessage.error(o("\u53EA\u80FD\u4E0A\u4F20\u4E00\u5F20\u56FE\u7247"));if(!w)return Mn.ElMessage.error(o("\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u672C\u5730\u56FE\u7247\u7C98\u8D34"));if((y=w==null?void 0:w.type)!=null&&y.includes("image")){let S=w.getAsFile();n.value.handleStart(S),n.value.submit()}else return r.textarea="",Mn.ElMessage.error(o("\u7C98\u8D34\u5185\u5BB9\u975E\u56FE\u7247"))};return g.onBeforeMount(()=>{r.fileList=[],r.initOnce=!1}),{uploadRef:n,...g.toRefs(r),headers:l,showOnlyOne:a,handleRemove:h,handleBeforeUpload:f,handleUploadSuccess:p,handlePictureCardPreview:C,handleUploadError:d,handlePaste:$,t:o}}}),C2e={class:"w"},E2e=["src"];function S2e(e,t,n,r,o,i){const a=g.resolveComponent("el-input"),s=g.resolveComponent("jwt-icon"),l=g.resolveComponent("el-upload"),f=g.resolveComponent("el-dialog");return g.openBlock(),g.createElementBlock("div",C2e,[e.copyImgUploade?(g.openBlock(),g.createBlock(a,{key:0,modelValue:e.textarea,"onUpdate:modelValue":t[0]||(t[0]=d=>e.textarea=d),class:"mb10 paste-img-wrapper",placeholder:e.t("\u5728\u6B64\u5904\u7C98\u8D34\u56FE\u7247\u5373\u4E0A\u4F20"),rows:2,type:"textarea",onPaste:e.handlePaste},null,8,["modelValue","placeholder","onPaste"])):g.createCommentVNode("",!0),g.createVNode(l,{ref:"uploadRef",action:e.uploadUrl,"before-upload":e.handleBeforeUpload,class:g.normalizeClass({onlyOne:e.showOnlyOne}),data:e.uploadParam,disabled:e.disabled,"file-list":e.fileList,headers:e.headers,"list-type":e.listType,multiple:e.multiple,name:"filedata","on-error":e.handleUploadError,"on-preview":e.handlePictureCardPreview,"on-remove":e.handleRemove,"on-success":e.handleUploadSuccess,"show-file-list":!0,"with-credentials":""},{default:g.withCtx(()=>[g.createVNode(s,{icon:"add-line",size:40})]),_:1},8,["action","before-upload","class","data","disabled","file-list","headers","list-type","multiple","on-error","on-preview","on-remove","on-success"]),g.createVNode(f,{modelValue:e.dialogVisible,"onUpdate:modelValue":t[1]||(t[1]=d=>e.dialogVisible=d),"append-to-body":""},{default:g.withCtx(()=>[g.createElementVNode("img",{src:e.dialogImageUrl,style:{width:"100%"},"w-full":""},null,8,E2e)]),_:1},8,["modelValue"])])}const D2e=Object.freeze(Object.defineProperty({__proto__:null,default:jn($2e,[["render",S2e]])},Symbol.toStringTag,{value:"Module"}));var $j={exports:{}};const x2e=VV(qye);(function(e,t){(function(n,r){e.exports=r(x2e)})(self,n=>(()=>{var r={857:s=>{s.exports=n}},o={};function i(s){var l=o[s];if(l!==void 0)return l.exports;var f=o[s]={exports:{}};return r[s](f,f.exports,i),f.exports}i.d=(s,l)=>{for(var f in l)i.o(l,f)&&!i.o(s,f)&&Object.defineProperty(s,f,{enumerable:!0,get:l[f]})},i.o=(s,l)=>Object.prototype.hasOwnProperty.call(s,l),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var a={};return(()=>{i.r(a),i.d(a,{default:()=>H});var s=i(857);(0,s.i18nAddResources)("en",{attachment:{upload:"Upload Attachment",download:"Download Attachment"}}),(0,s.i18nAddResources)("zh-CN",{attachment:{upload:"\u4E0A\u4F20\u9644\u4EF6",download:"\u4E0B\u8F7D\u9644\u4EF6"}});function l(I,L,Y,q,B){return{sel:I,data:L,children:Y,text:q,elm:B,key:L===void 0?void 0:L.key}}const f=Array.isArray;function d(I){return typeof I=="string"||typeof I=="number"||I instanceof String||I instanceof Number}function p(I,L,Y){if(I.ns="http://www.w3.org/2000/svg",Y!=="foreignObject"&&L!==void 0)for(let q=0;q<L.length;++q){const B=L[q];if(typeof B=="string")continue;const ce=B.data;ce!==void 0&&p(ce,B.children,B.sel)}}function h(I,L,Y){let q,B,ce,ge={};if(Y!==void 0?(L!==null&&(ge=L),f(Y)?q=Y:d(Y)?B=Y.toString():Y&&Y.sel&&(q=[Y])):L!=null&&(f(L)?q=L:d(L)?B=L.toString():L&&L.sel?q=[L]:ge=L),q!==void 0)for(ce=0;ce<q.length;++ce)d(q[ce])&&(q[ce]=l(void 0,void 0,void 0,q[ce],void 0));return I[0]!=="s"||I[1]!=="v"||I[2]!=="g"||I.length!==3&&I[3]!=="."&&I[3]!=="#"||p(ge,q,I),l(I,ge,q,B,void 0)}const m={type:"attachment",renderElem:function(I,L,Y){var q=Y.isDisabled(),B=s.DomEditor.isNodeSelected(Y,I),ce=I,ge=ce.fileName,Ae=ge===void 0?"":ge,j=ce.link,ve=j===void 0?"":j;return h("span",{props:{contentEditable:!1},style:{display:"inline-block",marginLeft:"3px",marginRight:"3px",border:B&&!q?"2px solid var(--w-e-textarea-selected-border-color)":"2px solid transparent",borderRadius:"3px",padding:"0 3px",backgroundColor:"#f1f1f1",cursor:q?"pointer":"inherit"},on:{click:function(){q&&ve&&window.open(ve,"_blank")}}},[h("img",{props:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAv5JREFUWEetl1nITVEUx3/fo5LkyRQeFA+SIS8eZHhQimRKMhMSoogyR5QxMs9DkplQEhFvxihCKUWkpCTP9P9a+1p3f2efe869367T3Xeftdf/v9e012mi9cZQYDzQBxgIfANeAO+BDSmYplbCX58HAnwFFgNXY7zWIHABmBQpfg10A9pH64OAZ36tUQLngClO4XVgC/DU1iYCF937N+aiylIjBM4A05xy+XljwqV/3bpkKjFRL4GTwMyU0gwSY4Abtn4NGBdk6iFwFJhbAjyI/gLaAR+BnvUSOATML2j22BCvgL7AbyPS/L6MBfYDC3NOrlS8BLzNcIGi/4mtPwSGlbXAHmBJDriCSgQU5UrJmIT8Ptb277OaUNgCu4BlBcCDSFWUGzFfCXV6WaEQge3A8hLgcSquBjbnBWxeDGwFVtXwuT9ZfHLtlY4wFB9xxUwGoViLfVGzxuCymqyXC57KAilb1wC44kVxUxM8i8Bs4HgJn8cnV6YoYwqBxwR6A/eBzrY7Vh5SLeUW1QjVisLgMQEFyQTbfQqY5ZTVAp8HHC4L7gnocrhiCj5ZpdKvxlJgd45b5gDHcsDzKmQlC3zUrwS2mcJ+wAPXWMRumQHIWimzh04pVSErBG4Do0zLaOCWzX2rpeZjqgPT/GwB8FTMNK+HQqSerZNJKgjVUGro9Go2NXwJnQycLwGebFYCgS9AF1PYEfhu8wXAQZurfh8AutcoMnGDGrvN8f5vAQVg6FJGAndNqq211SE1qzbb9evLaylw74I1wCbTvgLY4ZAGAzeBDhH6kYzmRARyfR6fILhAd7XubI0fQC/gpxNuY23YcOCDdbrP3fvSJw97/W14B5D5NR4DQ2K2if91g3sXaN4V+OxAlN+LgD8J4B7WbJTpjluoivuB6cBpJ6VquBd4BAST67tP1tHFIxKlfJ6KAb8+AriXcWqlarCUf60ashY4UdBlVWKpjkgRvzP6+MjSf9nA39UDHsdAlg7VhgFAf3sk89IefXq3+NotS+QfmNG0IS7jBhcAAAAASUVORK5CYII="},style:{width:"1em",marginRight:"0.1em",minWidth:"0",minHeight:"0"}}),Ae])}};function C(I){return I!==null&&typeof I=="object"&&"constructor"in I&&I.constructor===Object}function $(I={},L={}){Object.keys(L).forEach(Y=>{I[Y]===void 0?I[Y]=L[Y]:C(L[Y])&&C(I[Y])&&Object.keys(L[Y]).length>0&&$(I[Y],L[Y])})}const b={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function w(){const I=typeof document<"u"?document:{};return $(I,b),I}const y={document:b,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:I=>typeof setTimeout>"u"?(I(),null):setTimeout(I,0),cancelAnimationFrame(I){typeof setTimeout<"u"&&clearTimeout(I)}};function S(){const I=typeof window<"u"?window:{};return $(I,y),I}class x extends Array{constructor(L){typeof L=="number"?super(L):(super(...L||[]),function(Y){const q=Y.__proto__;Object.defineProperty(Y,"__proto__",{get:()=>q,set(B){q.__proto__=B}})}(this))}}function A(I,L){const Y=S(),q=w();let B=[];if(!L&&I instanceof x)return I;if(!I)return new x(B);if(typeof I=="string"){const ce=I.trim();if(ce.indexOf("<")>=0&&ce.indexOf(">")>=0){let ge="div";ce.indexOf("<li")===0&&(ge="ul"),ce.indexOf("<tr")===0&&(ge="tbody"),ce.indexOf("<td")!==0&&ce.indexOf("<th")!==0||(ge="tr"),ce.indexOf("<tbody")===0&&(ge="table"),ce.indexOf("<option")===0&&(ge="select");const Ae=q.createElement(ge);Ae.innerHTML=ce;for(let j=0;j<Ae.childNodes.length;j+=1)B.push(Ae.childNodes[j])}else B=function(ge,Ae){if(typeof ge!="string")return[ge];const j=[],ve=Ae.querySelectorAll(ge);for(let ae=0;ae<ve.length;ae+=1)j.push(ve[ae]);return j}(I.trim(),L||q)}else if(I.nodeType||I===Y||I===q)B.push(I);else if(Array.isArray(I)){if(I instanceof x)return I;B=I}return new x(function(ce){const ge=[];for(let Ae=0;Ae<ce.length;Ae+=1)ge.indexOf(ce[Ae])===-1&&ge.push(ce[Ae]);return ge}(B))}function O(...I){let[L,Y,q,B]=I;function ce(ve){const ae=ve.target;if(!ae)return;const X=ve.target.dom7EventData||[];if(X.indexOf(ve)<0&&X.unshift(ve),A(ae).is(Y))q.apply(ae,X);else{const te=A(ae).parents();for(let pe=0;pe<te.length;pe+=1)A(te[pe]).is(Y)&&q.apply(te[pe],X)}}function ge(ve){const ae=ve&&ve.target&&ve.target.dom7EventData||[];ae.indexOf(ve)<0&&ae.unshift(ve),q.apply(this,ae)}typeof I[1]=="function"&&([L,q,B]=I,Y=void 0),B||(B=!1);const Ae=L.split(" ");let j;for(let ve=0;ve<this.length;ve+=1){const ae=this[ve];if(Y)for(j=0;j<Ae.length;j+=1){const X=Ae[j];ae.dom7LiveListeners||(ae.dom7LiveListeners={}),ae.dom7LiveListeners[X]||(ae.dom7LiveListeners[X]=[]),ae.dom7LiveListeners[X].push({listener:q,proxyListener:ce}),ae.addEventListener(X,ce,B)}else for(j=0;j<Ae.length;j+=1){const X=Ae[j];ae.dom7Listeners||(ae.dom7Listeners={}),ae.dom7Listeners[X]||(ae.dom7Listeners[X]=[]),ae.dom7Listeners[X].push({listener:q,proxyListener:ge}),ae.addEventListener(X,ge,B)}}return this}function T(){for(let I=0;I<this.length;I+=1)this[I].style.display="none";return this}function z(...I){let L;const Y=w();for(let q=0;q<I.length;q+=1){L=I[q];for(let B=0;B<this.length;B+=1)if(typeof L=="string"){const ce=Y.createElement("div");for(ce.innerHTML=L;ce.firstChild;)this[B].appendChild(ce.firstChild)}else if(L instanceof x)for(let ce=0;ce<L.length;ce+=1)this[B].appendChild(L[ce]);else this[B].appendChild(L)}return this}A.fn=x.prototype;const V="resize scroll".split(" ");function ue(I){return function(...L){if(L[0]===void 0){for(let Y=0;Y<this.length;Y+=1)V.indexOf(I)<0&&(I in this[Y]?this[Y][I]():A(this[Y]).trigger(I));return this}return this.on(I,...L)}}const oe=ue("click"),de=A;T&&(de.fn.hide=T),z&&(de.fn.append=z),oe&&(de.fn.click=oe),O&&(de.fn.on=O);const me=de;var _e=function(){return _e=Object.assign||function(I){for(var L,Y=1,q=arguments.length;Y<q;Y++)for(var B in L=arguments[Y])Object.prototype.hasOwnProperty.call(L,B)&&(I[B]=L[B]);return I},_e.apply(this,arguments)},Ee=function(I,L,Y,q){return new(Y||(Y=Promise))(function(B,ce){function ge(ve){try{j(q.next(ve))}catch(ae){ce(ae)}}function Ae(ve){try{j(q.throw(ve))}catch(ae){ce(ae)}}function j(ve){var ae;ve.done?B(ve.value):(ae=ve.value,ae instanceof Y?ae:new Y(function(X){X(ae)})).then(ge,Ae)}j((q=q.apply(I,L||[])).next())})},Be=function(I,L){var Y,q,B,ce,ge={label:0,sent:function(){if(1&B[0])throw B[1];return B[1]},trys:[],ops:[]};return ce={next:Ae(0),throw:Ae(1),return:Ae(2)},typeof Symbol=="function"&&(ce[Symbol.iterator]=function(){return this}),ce;function Ae(j){return function(ve){return function(ae){if(Y)throw new TypeError("Generator is already executing.");for(;ge;)try{if(Y=1,q&&(B=2&ae[0]?q.return:ae[0]?q.throw||((B=q.return)&&B.call(q),0):q.next)&&!(B=B.call(q,ae[1])).done)return B;switch(q=0,B&&(ae=[2&ae[0],B.value]),ae[0]){case 0:case 1:B=ae;break;case 4:return ge.label++,{value:ae[1],done:!1};case 5:ge.label++,q=ae[1],ae=[0];continue;case 7:ae=ge.ops.pop(),ge.trys.pop();continue;default:if(!((B=(B=ge.trys).length>0&&B[B.length-1])||ae[0]!==6&&ae[0]!==2)){ge=0;continue}if(ae[0]===3&&(!B||ae[1]>B[0]&&ae[1]<B[3])){ge.label=ae[1];break}if(ae[0]===6&&ge.label<B[1]){ge.label=B[1],B=ae;break}if(B&&ge.label<B[2]){ge.label=B[2],ge.ops.push(ae);break}B[2]&&ge.ops.pop(),ge.trys.pop();continue}ae=L.call(I,ge)}catch(X){ae=[6,X],q=0}finally{Y=B=0}if(5&ae[0])throw ae[1];return{value:ae[0]?ae[1]:void 0,done:!0}}([j,ve])}}};function Fe(I){return I.getMenuConfig("uploadAttachment")}function je(I,L,Y){if(L&&Y){I.restoreSelection();var q={type:"attachment",fileName:L,link:Y,children:[{text:""}]};I.insertNode(q),I.move(1);var B=Fe(I).onInsertedAttachment;B&&B(q)}}function Ue(I,L){return Ee(this,void 0,void 0,function(){var Y,q,B,ce;return Be(this,function(ge){switch(ge.label){case 0:return Y=function(Ae){var j=Oe.get(Ae);if(j!=null)return j;var ve=Fe(Ae),ae=ve.onSuccess,X=ve.onProgress,te=ve.onFailed,pe=ve.customInsert,ye=ve.onError;return j=(0,s.createUploader)(_e(_e({},ve),{onProgress:function(De){Ae.showProgressBar(De),X&&X(De)},onSuccess:function(De,Le){if(pe)pe(Le,De,function(Dt,Bt){return je(Ae,Dt,Bt)});else{var Ve=Le.errno,ze=Ve===void 0?1:Ve,ft=Le.data,It=ft===void 0?{}:ft;if(ze!==0)return console.error("'".concat(De.name,"' upload failed"),Le),void te(De,Le);var Ze=It.url,At=Ze===void 0?"":Ze;je(Ae,De.name,At),ae(De,Le)}},onError:function(De,Le,Ve){var ze=De.name;console.error("'".concat(ze," upload error"),Le,Ve),ye&&ye(De,Le,Ve)}})),Oe.set(Ae,j),j}(I),q=L.name,B=L.type,ce=L.size,Y.addFile({name:q,type:B,size:ce,data:L}),[4,Y.upload()];case 1:return ge.sent(),[2]}})})}var Oe=new WeakMap;const Je=function(){function I(){this.title=(0,s.t)("attachment.upload"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M665.821116 327.053068l-64.958782-64.926783-324.79391 324.729911c-53.822991 53.790991-53.822991 141.053355 0 194.844347s141.053355 53.790991 194.876346 0l389.752692-389.688693a229.531696 229.531696 0 0 0 0-324.729912 229.627694 229.627694 0 0 0-324.761911 0L126.727224 476.458266l-0.863984 0.831985c-125.085655 125.085655-125.085655 327.833853 0 452.887508 125.053655 125.053655 327.865853 125.053655 452.983507 0l0.831984-0.863984 0.031999 0.032 279.322763-279.290764-64.990781-64.926782-279.322763 279.258764-0.831984 0.831984a228.731711 228.731711 0 0 1-323.065943 0 228.603714 228.603714 0 0 1 0-322.969944l0.895983-0.831985-0.031999-0.063998L600.958332 132.208721c53.694993-53.726993 141.149353-53.726993 194.876346 0s53.694993 141.149353 0 194.844347L406.081986 716.741761c-17.919664 17.919664-47.039118 17.919664-64.958782 0a45.983138 45.983138 0 0 1 0-64.926783L665.917114 327.053068z"></path></svg>',this.tag="button"}return I.prototype.getValue=function(L){return""},I.prototype.isActive=function(L){return!1},I.prototype.exec=function(L,Y){var q=this.getMenuConfig(L),B=q.allowedFileTypes,ce=B===void 0?[]:B,ge=q.customBrowseAndUpload;if(ge)ge(function(ae,X){return je(L,ae,X)});else{var Ae="";ce.length>0&&(Ae='accept="'.concat(ce.join(", "),'"'));var j=me("body"),ve=me('<input type="file" '.concat(Ae," multiple/>"));ve.hide(),j.append(ve),ve.click(),ve.on("change",function(){var ae=ve[0].files;(function(X,te){var pe,ye;Ee(this,void 0,void 0,function(){var De,Le,Ve,ze,ft,It;return Be(this,function(Ze){switch(Ze.label){case 0:if(te==null)return[2];De=Array.prototype.slice.call(te),Le=Fe(X).customUpload,Ze.label=1;case 1:Ze.trys.push([1,9,10,15]),Ve=function(At){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Dt,Bt=At[Symbol.asyncIterator];return Bt?Bt.call(At):(At=typeof __values=="function"?__values(At):At[Symbol.iterator](),Dt={},hn("next"),hn("throw"),hn("return"),Dt[Symbol.asyncIterator]=function(){return this},Dt);function hn(Xt){Dt[Xt]=At[Xt]&&function(gn){return new Promise(function(Ar,Mr){(function(er,cr,kr,fr){Promise.resolve(fr).then(function(wr){er({value:wr,done:kr})},cr)})(Ar,Mr,(gn=At[Xt](gn)).done,gn.value)})}}}(De),Ze.label=2;case 2:return[4,Ve.next()];case 3:return(ze=Ze.sent()).done?[3,8]:(ft=ze.value,Le?[4,Le(ft,function(At,Dt){return je(X,At,Dt)})]:[3,5]);case 4:return Ze.sent(),[3,7];case 5:return[4,Ue(X,ft)];case 6:Ze.sent(),Ze.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return It=Ze.sent(),pe={error:It},[3,15];case 10:return Ze.trys.push([10,,13,14]),ze&&!ze.done&&(ye=Ve.return)?[4,ye.call(Ve)]:[3,12];case 11:Ze.sent(),Ze.label=12;case 12:return[3,14];case 13:if(pe)throw pe.error;return[7];case 14:return[7];case 15:return[2]}})})})(L,ae)})}},I.prototype.isDisabled=function(L){var Y=L.selection;if(Y==null||s.SlateRange.isExpanded(Y))return!0;var q=s.DomEditor.getSelectedElems(L);return!!q.some(function(B){return L.isVoid(B)})||!!q.some(function(B){return s.DomEditor.getNodeType(B)==="pre"})},I.prototype.getMenuConfig=function(L){return L.getMenuConfig("uploadAttachment")},I}(),G=function(){function I(){this.title=(0,s.t)("attachment.download"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M736 448l-256 256-256-256h160V64h192v384z m-256 256H0v256h960v-256H480z m416 128h-128v-64h128v64z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return I.prototype.getValue=function(L){var Y=this.getSelectedElem(L);return Y==null?"":Y.link},I.prototype.isActive=function(L){return!1},I.prototype.exec=function(L,Y){Y&&typeof Y=="string"&&window.open(Y,"_blank")},I.prototype.isDisabled=function(L){var Y=L.selection;return Y==null||!!s.SlateRange.isExpanded(Y)||this.getSelectedElem(L)==null},I.prototype.getSelectedElem=function(L){var Y=s.DomEditor.getSelectedNodeByType(L,"attachment");return Y==null?null:Y},I}(),H={editorPlugin:function(I){var L=I.isInline,Y=I.isVoid,q=I;return q.isInline=function(B){return s.DomEditor.getNodeType(B)==="attachment"||L(B)},q.isVoid=function(B){return s.DomEditor.getNodeType(B)==="attachment"||Y(B)},q},renderElems:[m],elemsToHtml:[{type:"attachment",elemToHtml:function(I,L){var Y=I,q=Y.link,B=q===void 0?"":q,ce=Y.fileName,ge=ce===void 0?"":ce;return'<a data-w-e-type="attachment" data-w-e-is-void data-w-e-is-inline href="'.concat(B,'" download="').concat(ge,'">').concat(ge,"</a>")}}],parseElemsHtml:[{selector:'a[data-w-e-type="attachment"]',parseElemHtml:function(I,L,Y){return{type:"attachment",link:I.getAttribute("href")||"",fileName:I.getAttribute("download")||"",children:[{text:""}]}}}],menus:[{key:"uploadAttachment",factory:function(){return new Je},config:{server:"",fieldName:"wangeditor-uploaded-attachment",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(I){return I},onProgress:function(I){},onSuccess:function(I,L){},onFailed:function(I,L){},onError:function(I,L,Y){},onInsertedAttachment:function(I){}}},{key:"downloadAttachment",factory:function(){return new G}}]}})(),a})())})($j);const A2e=zV($j.exports),KSe="",k2e=e=>{const t=Object.assign({"./JwtCascaderArea/index.vue":DV,"./JwtCascaderServer/index.vue":kV,"./JwtColumnItme/index.vue":jV,"./JwtDesTable/index.vue":WV,"./JwtEditor/index.vue":fbe,"./JwtForm/index.vue":hbe,"./JwtHeaderButton/index.vue":ybe,"./JwtIcon/index.vue":$be,"./JwtIconSelect/index.vue":Abe,"./JwtImage/index.vue":Bbe,"./JwtInput/index.vue":Pbe,"./JwtRateIcon/index.vue":Rbe,"./JwtSelectServer/index.vue":Hbe,"./JwtTable/index.vue":t2e,"./JwtTableButton/index.vue":a2e,"./JwtTableOnly/index.vue":h2e,"./JwtTabs/index.vue":v2e,"./JwtTags/index.vue":w2e,"./JwtUploadImage/index.vue":D2e});for(const n in t){const r=t[n];e.component(r.default.name,r.default||r)}};Ln.registerModule(A2e),qi.setupJwt=k2e,Object.defineProperties(qi,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});