| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-J5XPIE_T.js","assets/use-platform-information-GvgnOcMD.js","assets/vue-vendor-BOX7Kenj.js","assets/index-Bi5GVHNh.js","assets/index-B3z4cY-J.js","assets/index-0YuZXRiG.js","assets/index-CJ6Fn8S6.css","assets/index-DbFAmCx4.js","assets/get-value-by-path-gaYpREJX.js","assets/responsive-observe-4ACH6YSC.js","assets/index-rzOCvHwG.js","assets/use-merge-state-C69jd1NQ.js","assets/index-DMsf4HX_.css","assets/index-B3uzILhh.css","assets/jsencrypt-CEZ5_fMo.js","assets/use-current-user-BSX4uBH3.js","assets/login-HUuKPQAF.js","assets/index-D6qd4jIG.js","assets/index-DbbJtjz-.css","assets/index-D-ogYsHC.js","assets/Login-B0Luvk8I.css","assets/index-B_sgU3NA.css","assets/Register-BVmG2tSo.js","assets/ConversationVoice-BtR91APG.js","assets/index-DLmxG8sq.js","assets/index-DJ09e1LN.css","assets/LayoutExperience-Ko10FIuX.js","assets/Header-CTv4f6sh.js","assets/index-C2wdndJK.js","assets/index-CD0PvSSd.css","assets/index-D6gOYAlE.js","assets/index-AiJAGXR2.css","assets/index-Bs9gCgqm.js","assets/use-logout-jZjvcpyG.js","assets/Header-cJft3Fx3.css","assets/index-kphthXZX.css","assets/index-C4aaWVQB.css","assets/LayoutExperience-BU27yugx.css","assets/ContentContainer-PNEDKuib.js","assets/ContentContainer-CUG7HtNK.css","assets/ChatAsideMenu-BTuqtufz.js","assets/icon-map-MpRwWyE4.js","assets/ChatAsideMenu-kvLBZtUj.css","assets/index-EqmW58ew.css","assets/ConversationVoice-NRxh2pJ3.css","assets/Settings-BI1v2Z93.js","assets/use-responsive-BobxKGcS.js","assets/render-function-L9CkAxUA.js","assets/Settings-CDWsTK6m.css","assets/SettingsProfile-DWTEHymq.js","assets/SettingsPassword-BbsKLFZZ.js","assets/SettingsPassword-PFX0x4M4.css","assets/SettingsPhone-DSBuqSoR.js","assets/SettingsEmail-D84n3wSS.js","assets/SettingsGlobal-DUFS_PRg.js","assets/index-BX5J6YC4.js","assets/resize-observer-BbThJbDI.js","assets/index-BFzQHSKZ.css","assets/index-DB8XhYd-.js","assets/index.es-BW_FzNZC.js","assets/index-FfgmrPkX.js","assets/index-9Lj1qHYO.css","assets/index-Cn63rdj5.js","assets/index-B8BtXJf3.css","assets/SettingsGlobal-B-yc0u3j.css","assets/Denied-Dx1y9-Ia.js","assets/index-BuFlEpVb.js","assets/index-D7FBKgC3.css","assets/Denied-CcvXPTIo.css","assets/LayoutPermission-By_6sw3t.js","assets/LayoutPermission-eX5gWddA.css","assets/AISearch-DzXp3qiO.js","assets/ViewerDocxFromUrl-C4xi7ELn.js","assets/ViewerDocxFromUrl-C8sahLvD.css","assets/index-BYIw8MKV.js","assets/index-Djok-Mpy.css","assets/index-DRnbK_PK.js","assets/index-2wUDe6YU.js","assets/index-DvnnPYiW.css","assets/index-CK6vznkK.css","assets/index-n3SRD8kZ.js","assets/index-Bl_vBcmJ.css","assets/index-DfeFJAR4.js","assets/index-Cwi6GbUi.js","assets/index-DCycX6UI.css","assets/_getTag-FsrOtMIL.js","assets/_getTag-Gq-3qsyj.css","assets/index-Z0pf9V6I.js","assets/index-4OgOBJL6.js","assets/index-D4HPBGwx.css","assets/index-DrzguIJJ.js","assets/index-Bx_zaUiU.css","assets/common-BACxn68e.js","assets/AISearch-aoERyIcc.css","assets/index-Dud9b_YV.css","assets/Conversation-Ci0ffNAk.js","assets/ConversationBoard-CxMBM_22.js","assets/api-conversation-board-C5U9eIxv.js","assets/use-all-agents-B69eKSL4.js","assets/ConversationBoard-Cuaqva05.css","assets/ConversationHistory-B6Smb_MA.js","assets/ConversationHistory-D-OMTUii.css","assets/ConversationQA-Bovcyvjc.js","assets/knowledge-CFu_wmhx.js","assets/jszip.min-BLnegQDd.js","assets/index-VuQqRCEy.js","assets/index-Dnlwo433.css","assets/ConversationQA-3X-dZ7uJ.css","assets/DifyDetail-BGfSbA30.js","assets/index-Bq9gD7uY.js","assets/index-BVfZrCpI.css","assets/DifyDetail-DLbBOYcK.css","assets/Intelligent-DMBP0kGR.js","assets/CardItem-BB34U8Q9.js","assets/CardItem-Cz-bBCAn.css","assets/event-bus-vYvbgsFa.js","assets/rgflow-dify-D5P--Xed.js","assets/index-IJEXIvyK.js","assets/index-saoVbYNb.css","assets/index-FFzLnEHp.js","assets/index-74MVtcfd.css","assets/index-BakPUbgT.js","assets/index-BVwctMIC.css","assets/index-GIzBvwtm.js","assets/index-CwNA0EVQ.css","assets/DeleteModal-CP7XQcuT.js","assets/DeleteModal-iNQF0WLM.css","assets/Intelligent-BbPhzb6s.css","assets/index-DKkYeTy0.css","assets/Knowledge-BfuPyfVv.js","assets/Knowledge-Dz2NbbKC.css","assets/KnowledgeDetail-B230Rvpn.js","assets/index-4ffQG25W.js","assets/index-B36dfyfG.css","assets/KnowledgeDetail-DlpeYnmc.css","assets/Model-Dz5uDBL0.js","assets/Model-CzfDMdp7.css","assets/PermissionAccount-Bv_-la6r.js","assets/Modal-DGs7UI-K.js","assets/Modal-B3R7TkLP.css","assets/Action-mf_Oyybt.js","assets/Action-B0RLxzOe.css","assets/PermissionAccount-0DlZJhT_.css","assets/PermissionGroup-X68EQPEn.js","assets/PermissionGroup-DVyMIOTc.css","assets/PermissionOrganization-C9Io7Hw5.js","assets/TreeParts-D441LazQ.js","assets/TreeParts-DtQ091Og.css","assets/PermissionOrganization-0OggFlT9.css","assets/PermissionResource-CrgKU2sf.js","assets/resource-BJJjyPwv.js","assets/PermissionResource-x7eqo2U5.css","assets/PermissionRole-CnU16xAl.js","assets/PermissionRole-Crw1Mkbp.css","assets/Xiaoshu-CpBEnRRB.js","assets/theme-dark-DcBxHuo1.css","assets/theme-light-BvVdQgY7.css","assets/theme-party-BwRMGfSZ.css"])))=>i.map(i=>d[i]);
- import{i as Mf,g as cl,d as se,c as oe,o as X,a as G,n as ce,b as re,e as x,f as OO,h as DO,r as AO,j as At,k as QK,l as eX,F as mb,m as fi,t as E9,p as ri,q as kr,s as Ao,u as yb,v as hU,w as ca,x as zs,y as xO,z as tX,A as gu,T as nX,B as Z2,C as Y2,D as Yi,E as C9,G as J2,H as S9,I as K2,J as X2,K as _9,L as rX,M as gU,N as LO,O as oX,P as iX,Q as aX,R as sX,S as uX,U as lX,V as cX,W as fX,X as dX,Y as pX}from"./vue-vendor-BOX7Kenj.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();const Ch=Symbol("ArcoConfigProvider");var hX=Object.defineProperty,gX=Object.defineProperties,vX=Object.getOwnPropertyDescriptors,O9=Object.getOwnPropertySymbols,mX=Object.prototype.hasOwnProperty,yX=Object.prototype.propertyIsEnumerable,D9=(e,t,n)=>t in e?hX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bX=(e,t)=>{for(var n in t||(t={}))mX.call(t,n)&&D9(e,n,t[n]);if(O9)for(var n of O9(t))yX.call(t,n)&&D9(e,n,t[n]);return e},wX=(e,t)=>gX(e,vX(t));const kX="A",EX="arco",i3="$arco",PO=e=>{var t;return(t=e==null?void 0:e.componentPrefix)!=null?t:kX},$O=(e,t)=>{var n;t&&t.classPrefix&&(e.config.globalProperties[i3]=wX(bX({},(n=e.config.globalProperties[i3])!=null?n:{}),{classPrefix:t.classPrefix}))},fe=e=>{var t,n,r;const o=cl(),a=Mf(Ch,void 0),i=(r=(n=a==null?void 0:a.prefixCls)!=null?n:(t=o==null?void 0:o.appContext.config.globalProperties[i3])==null?void 0:t.classPrefix)!=null?r:EX;return e?`${i}-${e}`:i},jl=Object.prototype.toString;function jO(e){return jl.call(e)==="[object Array]"}function HHe(e){return jl.call(e)==="[object Null]"}function A9(e){return jl.call(e)==="[object Boolean]"}function CX(e){return jl.call(e)==="[object Object]"}const x9=e=>jl.call(e)==="[object Promise]";function xg(e){return jl.call(e)==="[object String]"}function de(e){return jl.call(e)==="[object Number]"&&e===e}function WHe(e){return e===void 0}function Bu(e){return typeof e=="function"}function VHe(e){return CX(e)&&Object.keys(e).length===0}const qHe=e=>(e==null?void 0:e.$)!==void 0;var le=(e,t)=>{for(const[n,r]of t)e[n]=r;return e};const SX=se({name:"IconDown",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-down`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),_X=["stroke-width","stroke-linecap","stroke-linejoin"],OX=G("path",{d:"M39.6 17.443 24.043 33 8.487 17.443"},null,-1),DX=[OX];function AX(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},DX,14,_X)}var Q2=le(SX,[["render",AX]]);const xX=Object.assign(Q2,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Q2.name,Q2)}}),LX=se({name:"IconLeft",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-left`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),PX=["stroke-width","stroke-linecap","stroke-linejoin"],$X=G("path",{d:"M32 8.4 16.444 23.956 32 39.513"},null,-1),jX=[$X];function TX(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},jX,14,PX)}var ew=le(LX,[["render",TX]]);const IX=Object.assign(ew,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ew.name,ew)}}),NX=se({name:"IconMenuFold",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-menu-fold`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),BX=["stroke-width","stroke-linecap","stroke-linejoin"],FX=G("path",{d:"M42 11H6M42 24H22M42 37H6M13.66 26.912l-4.82-3.118 4.82-3.118v6.236Z"},null,-1),RX=[FX];function MX(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},RX,14,BX)}var tw=le(NX,[["render",MX]]);const zX=Object.assign(tw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+tw.name,tw)}}),UX=se({name:"IconMenuUnfold",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-menu-unfold`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),HX=["stroke-width","stroke-linecap","stroke-linejoin"],WX=G("path",{d:"M6 11h36M22 24h20M6 37h36M8 20.882 12.819 24 8 27.118v-6.236Z"},null,-1),VX=[WX];function qX(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},VX,14,HX)}var nw=le(UX,[["render",qX]]);const GX=Object.assign(nw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+nw.name,nw)}}),ZX=se({name:"IconUp",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-up`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),YX=["stroke-width","stroke-linecap","stroke-linejoin"],JX=G("path",{d:"M39.6 30.557 24.043 15 8.487 30.557"},null,-1),KX=[JX];function XX(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},KX,14,YX)}var rw=le(ZX,[["render",XX]]);const QX=Object.assign(rw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+rw.name,rw)}}),eQ=se({name:"IconCheckCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-check-circle-fill`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),tQ=["stroke-width","stroke-linecap","stroke-linejoin"],nQ=G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm10.207-24.379a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0L22 26.172l-4.878-4.88a1 1 0 0 0-1.415 0l-1.414 1.415a1 1 0 0 0 0 1.414l7 7a1 1 0 0 0 1.414 0l11.5-11.5Z",fill:"currentColor",stroke:"none"},null,-1),rQ=[nQ];function oQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},rQ,14,tQ)}var ow=le(eQ,[["render",oQ]]);const iQ=Object.assign(ow,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ow.name,ow)}}),aQ=se({name:"IconCloseCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-close-circle-fill`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),sQ=["stroke-width","stroke-linecap","stroke-linejoin"],uQ=G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm4.955-27.771-4.95 4.95-4.95-4.95a1 1 0 0 0-1.414 0l-1.414 1.414a1 1 0 0 0 0 1.414l4.95 4.95-4.95 4.95a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414l-4.95-4.95 4.95-4.95a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0Z",fill:"currentColor",stroke:"none"},null,-1),lQ=[uQ];function cQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},lQ,14,sQ)}var iw=le(aQ,[["render",cQ]]);const fQ=Object.assign(iw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+iw.name,iw)}}),dQ=se({name:"IconExclamationCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-exclamation-circle-fill`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),pQ=["stroke-width","stroke-linecap","stroke-linejoin"],hQ=G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm-2-11a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v2Zm4-18a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V15Z",fill:"currentColor",stroke:"none"},null,-1),gQ=[hQ];function vQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},gQ,14,pQ)}var aw=le(dQ,[["render",vQ]]);const vU=Object.assign(aw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+aw.name,aw)}}),mQ=se({name:"IconInfoCircleFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-info-circle-fill`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),yQ=["stroke-width","stroke-linecap","stroke-linejoin"],bQ=G("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4 4 12.954 4 24s8.954 20 20 20Zm2-30a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2Zm0 17h1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1v-8a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v11Z",fill:"currentColor",stroke:"none"},null,-1),wQ=[bQ];function kQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},wQ,14,yQ)}var sw=le(mQ,[["render",kQ]]);const EQ=Object.assign(sw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+sw.name,sw)}}),CQ=se({name:"IconCheckCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-check-circle`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),SQ=["stroke-width","stroke-linecap","stroke-linejoin"],_Q=G("path",{d:"m15 22 7 7 11.5-11.5M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),OQ=[_Q];function DQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},OQ,14,SQ)}var uw=le(CQ,[["render",DQ]]);const AQ=Object.assign(uw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+uw.name,uw)}}),xQ=se({name:"IconClockCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-clock-circle`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),LQ=["stroke-width","stroke-linecap","stroke-linejoin"],PQ=G("path",{d:"M24 14v10h9.5m8.5 0c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),$Q=[PQ];function jQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},$Q,14,LQ)}var lw=le(xQ,[["render",jQ]]);const TQ=Object.assign(lw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+lw.name,lw)}}),IQ=se({name:"IconCloseCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-close-circle`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),NQ=["stroke-width","stroke-linecap","stroke-linejoin"],BQ=G("path",{d:"m17.643 17.643 6.364 6.364m0 0 6.364 6.364m-6.364-6.364 6.364-6.364m-6.364 6.364-6.364 6.364M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),FQ=[BQ];function RQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},FQ,14,NQ)}var cw=le(IQ,[["render",RQ]]);const MQ=Object.assign(cw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+cw.name,cw)}}),zQ=se({name:"IconClose",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-close`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),UQ=["stroke-width","stroke-linecap","stroke-linejoin"],HQ=G("path",{d:"M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142"},null,-1),WQ=[HQ];function VQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},WQ,14,UQ)}var fw=le(zQ,[["render",VQ]]);const mU=Object.assign(fw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+fw.name,fw)}}),qQ=se({name:"IconInfoCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-info-circle`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),GQ=["stroke-width","stroke-linecap","stroke-linejoin"],ZQ=G("path",{d:"M24 20v14m0-16v-4m18 10c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),YQ=[ZQ];function JQ(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},YQ,14,GQ)}var dw=le(qQ,[["render",JQ]]);const KQ=Object.assign(dw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+dw.name,dw)}}),XQ=se({name:"IconMinus",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-minus`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),QQ=["stroke-width","stroke-linecap","stroke-linejoin"],eee=G("path",{d:"M5 24h38"},null,-1),tee=[eee];function nee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},tee,14,QQ)}var pw=le(XQ,[["render",nee]]);const ree=Object.assign(pw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+pw.name,pw)}}),oee=se({name:"IconPlus",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-plus`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),iee=["stroke-width","stroke-linecap","stroke-linejoin"],aee=G("path",{d:"M5 24h38M24 5v38"},null,-1),see=[aee];function uee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},see,14,iee)}var hw=le(oee,[["render",uee]]);const lee=Object.assign(hw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+hw.name,hw)}}),cee=se({name:"IconDownload",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-download`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),fee=["stroke-width","stroke-linecap","stroke-linejoin"],dee=G("path",{d:"m33.072 22.071-9.07 9.071-9.072-9.07M24 5v26m16 4v6H8v-6"},null,-1),pee=[dee];function hee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},pee,14,fee)}var gw=le(cee,[["render",hee]]);const gee=Object.assign(gw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+gw.name,gw)}}),vee=se({name:"IconExport",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-export`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),mee=["stroke-width","stroke-linecap","stroke-linejoin"],yee=G("path",{d:"M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"},null,-1),bee=[yee];function wee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},bee,14,mee)}var vw=le(vee,[["render",wee]]);const kee=Object.assign(vw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+vw.name,vw)}}),Eee=se({name:"IconEye",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-eye`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Cee=["stroke-width","stroke-linecap","stroke-linejoin"],See=G("path",{"clip-rule":"evenodd",d:"M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z"},null,-1),_ee=G("path",{d:"M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"},null,-1),Oee=[See,_ee];function Dee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Oee,14,Cee)}var mw=le(Eee,[["render",Dee]]);const Aee=Object.assign(mw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+mw.name,mw)}}),xee=se({name:"IconMore",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-more`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Lee=["stroke-width","stroke-linecap","stroke-linejoin"],Pee=G("path",{d:"M38 25v-2h2v2h-2ZM23 25v-2h2v2h-2ZM8 25v-2h2v2H8Z",fill:"currentColor",stroke:"none"},null,-1),$ee=G("path",{d:"M38 25v-2h2v2h-2ZM23 25v-2h2v2h-2ZM8 25v-2h2v2H8Z"},null,-1),jee=[Pee,$ee];function Tee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},jee,14,Lee)}var yw=le(xee,[["render",Tee]]);const Iee=Object.assign(yw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+yw.name,yw)}}),Nee=se({name:"IconRefresh",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-refresh`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Bee=["stroke-width","stroke-linecap","stroke-linejoin"],Fee=G("path",{d:"M38.837 18C36.463 12.136 30.715 8 24 8 15.163 8 8 15.163 8 24s7.163 16 16 16c7.455 0 13.72-5.1 15.496-12M40 8v10H30"},null,-1),Ree=[Fee];function Mee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ree,14,Bee)}var bw=le(Nee,[["render",Mee]]);const zee=Object.assign(bw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+bw.name,bw)}}),Uee=se({name:"IconScan",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-scan`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Hee=["stroke-width","stroke-linecap","stroke-linejoin"],Wee=G("path",{d:"M7 17V7h10m24 10V7H31m10 24v10H31M7 31v10h10M5 24h38"},null,-1),Vee=[Wee];function qee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Vee,14,Hee)}var ww=le(Uee,[["render",qee]]);const Gee=Object.assign(ww,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ww.name,ww)}}),Zee=se({name:"IconSearch",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-search`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Yee=["stroke-width","stroke-linecap","stroke-linejoin"],Jee=G("path",{d:"M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485"},null,-1),Kee=[Jee];function Xee(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Kee,14,Yee)}var kw=le(Zee,[["render",Xee]]);const Qee=Object.assign(kw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+kw.name,kw)}}),ete=se({name:"IconSettings",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-settings`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),tte=["stroke-width","stroke-linecap","stroke-linejoin"],nte=G("path",{d:"M18.797 6.732A1 1 0 0 1 19.76 6h8.48a1 1 0 0 1 .964.732l1.285 4.628a1 1 0 0 0 1.213.7l4.651-1.2a1 1 0 0 1 1.116.468l4.24 7.344a1 1 0 0 1-.153 1.2L38.193 23.3a1 1 0 0 0 0 1.402l3.364 3.427a1 1 0 0 1 .153 1.2l-4.24 7.344a1 1 0 0 1-1.116.468l-4.65-1.2a1 1 0 0 0-1.214.7l-1.285 4.628a1 1 0 0 1-.964.732h-8.48a1 1 0 0 1-.963-.732L17.51 36.64a1 1 0 0 0-1.213-.7l-4.65 1.2a1 1 0 0 1-1.116-.468l-4.24-7.344a1 1 0 0 1 .153-1.2L9.809 24.7a1 1 0 0 0 0-1.402l-3.364-3.427a1 1 0 0 1-.153-1.2l4.24-7.344a1 1 0 0 1 1.116-.468l4.65 1.2a1 1 0 0 0 1.213-.7l1.286-4.628Z"},null,-1),rte=G("path",{d:"M30 24a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"},null,-1),ote=[nte,rte];function ite(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ote,14,tte)}var Ew=le(ete,[["render",ite]]);const ate=Object.assign(Ew,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Ew.name,Ew)}}),ste=se({name:"IconSync",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-sync`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),ute=["stroke-width","stroke-linecap","stroke-linejoin"],lte=G("path",{d:"M11.98 11.703c-6.64 6.64-6.64 17.403 0 24.042a16.922 16.922 0 0 0 8.942 4.7M34.603 37.156l1.414-1.415c6.64-6.639 6.64-17.402 0-24.041A16.922 16.922 0 0 0 27.075 7M14.81 11.982l-1.414-1.414-1.414-1.414h2.829v2.828ZM33.192 36.02l1.414 1.414 1.414 1.415h-2.828V36.02Z"},null,-1),cte=[lte];function fte(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},cte,14,ute)}var Cw=le(ste,[["render",fte]]);const dte=Object.assign(Cw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Cw.name,Cw)}}),pte=se({name:"IconUpload",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-upload`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),hte=["stroke-width","stroke-linecap","stroke-linejoin"],gte=G("path",{d:"M14.93 17.071 24.001 8l9.071 9.071m-9.07 16.071v-25M40 35v6H8v-6"},null,-1),vte=[gte];function mte(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},vte,14,hte)}var Sw=le(pte,[["render",mte]]);const yte=Object.assign(Sw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Sw.name,Sw)}}),bte=se({name:"IconVoice",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-voice`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),wte=["stroke-width","stroke-linecap","stroke-linejoin"],kte=G("path",{d:"M41 21v1c0 8.837-7.163 16-16 16h-2c-8.837 0-16-7.163-16-16v-1m17 17v6m0-14a9 9 0 0 1-9-9v-6a9 9 0 1 1 18 0v6a9 9 0 0 1-9 9Z"},null,-1),Ete=[kte];function Cte(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ete,14,wte)}var _w=le(bte,[["render",Cte]]);const Ste=Object.assign(_w,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+_w.name,_w)}}),_te=se({name:"IconCopy",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-copy`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Ote=["stroke-width","stroke-linecap","stroke-linejoin"],Dte=G("path",{d:"M20 6h18a2 2 0 0 1 2 2v22M8 16v24c0 1.105.891 2 1.996 2h20.007A1.99 1.99 0 0 0 32 40.008V15.997A1.997 1.997 0 0 0 30 14H10a2 2 0 0 0-2 2Z"},null,-1),Ate=[Dte];function xte(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ate,14,Ote)}var Ow=le(_te,[["render",xte]]);const Lte=Object.assign(Ow,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Ow.name,Ow)}}),Pte=se({name:"IconDelete",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-delete`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),$te=["stroke-width","stroke-linecap","stroke-linejoin"],jte=G("path",{d:"M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15"},null,-1),Tte=[jte];function Ite(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Tte,14,$te)}var Dw=le(Pte,[["render",Ite]]);const Nte=Object.assign(Dw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Dw.name,Dw)}}),Bte=se({name:"IconEdit",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-edit`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Fte=["stroke-width","stroke-linecap","stroke-linejoin"],Rte=G("path",{d:"m30.48 19.038 5.733-5.734a1 1 0 0 0 0-1.414l-5.586-5.586a1 1 0 0 0-1.414 0l-5.734 5.734m7 7L15.763 33.754a1 1 0 0 1-.59.286l-6.048.708a1 1 0 0 1-1.113-1.069l.477-6.31a1 1 0 0 1 .29-.631l14.7-14.7m7 7-7-7M6 42h36"},null,-1),Mte=[Rte];function zte(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Mte,14,Fte)}var Aw=le(Bte,[["render",zte]]);const Ute=Object.assign(Aw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Aw.name,Aw)}}),Hte=se({name:"IconLineHeight",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-line-height`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Wte=["stroke-width","stroke-linecap","stroke-linejoin"],Vte=G("path",{d:"M4 8h14.5M33 8H18.5m0 0v34"},null,-1),qte=G("path",{d:"M39 9.5 37 13h4l-2-3.5ZM39 38.5 37 35h4l-2 3.5Z",fill:"currentColor",stroke:"none"},null,-1),Gte=G("path",{d:"M39 13h2l-2-3.5-2 3.5h2Zm0 0v22m0 0h2l-2 3.5-2-3.5h2Z"},null,-1),Zte=[Vte,qte,Gte];function Yte(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Zte,14,Wte)}var xw=le(Hte,[["render",Yte]]);const Jte=Object.assign(xw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+xw.name,xw)}}),Kte=se({name:"IconSort",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-sort`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Xte=["stroke-width","stroke-linecap","stroke-linejoin"],Qte=G("path",{d:"M43 9H5m0 30h14m15.5-15H5"},null,-1),ene=[Qte];function tne(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ene,14,Xte)}var Lw=le(Kte,[["render",tne]]);const nne=Object.assign(Lw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Lw.name,Lw)}}),rne=se({name:"IconFullscreenExit",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-fullscreen-exit`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),one=["stroke-width","stroke-linecap","stroke-linejoin"],ine=G("path",{d:"M35 6v8a1 1 0 0 0 1 1h8M13 6v8a1 1 0 0 1-1 1H4m31 27v-8a1 1 0 0 1 1-1h8m-31 9v-8a1 1 0 0 0-1-1H4"},null,-1),ane=[ine];function sne(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ane,14,one)}var Pw=le(rne,[["render",sne]]);const une=Object.assign(Pw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Pw.name,Pw)}}),lne=se({name:"IconFullscreen",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-fullscreen`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),cne=["stroke-width","stroke-linecap","stroke-linejoin"],fne=G("path",{d:"M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8"},null,-1),dne=[fne];function pne(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},dne,14,cne)}var $w=le(lne,[["render",pne]]);const hne=Object.assign($w,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+$w.name,$w)}}),gne=se({name:"IconPlayCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-play-circle`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),vne=["stroke-width","stroke-linecap","stroke-linejoin"],mne=G("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6 6 14.059 6 24s8.059 18 18 18Z"},null,-1),yne=G("path",{d:"M19 17v14l12-7-12-7Z"},null,-1),bne=[mne,yne];function wne(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},bne,14,vne)}var jw=le(gne,[["render",wne]]);const kne=Object.assign(jw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+jw.name,jw)}}),Ene=se({name:"IconRecord",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-record`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Cne=["stroke-width","stroke-linecap","stroke-linejoin"],Sne=G("path",{"clip-rule":"evenodd",d:"M24 6c9.941 0 18 8.059 18 18s-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6Z"},null,-1),_ne=G("path",{d:"M30 24a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z",fill:"currentColor",stroke:"none"},null,-1),One=G("path",{d:"M30 24a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"},null,-1),Dne=[Sne,_ne,One];function Ane(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Dne,14,Cne)}var Tw=le(Ene,[["render",Ane]]);const xne=Object.assign(Tw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Tw.name,Tw)}}),Lne=se({name:"IconSunFill",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-sun-fill`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Pne=["stroke-width","stroke-linecap","stroke-linejoin"],$ne=G("circle",{cx:"24",cy:"24",r:"9",fill:"currentColor",stroke:"none"},null,-1),jne=G("path",{d:"M21 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-5ZM21 37.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-5ZM42.5 21a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5h5ZM10.5 21a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5h5ZM39.203 34.96a.5.5 0 0 1 0 .707l-3.536 3.536a.5.5 0 0 1-.707 0l-3.535-3.536a.5.5 0 0 1 0-.707l3.535-3.535a.5.5 0 0 1 .707 0l3.536 3.535ZM16.575 12.333a.5.5 0 0 1 0 .707l-3.535 3.535a.5.5 0 0 1-.707 0L8.797 13.04a.5.5 0 0 1 0-.707l3.536-3.536a.5.5 0 0 1 .707 0l3.535 3.536ZM13.04 39.203a.5.5 0 0 1-.707 0l-3.536-3.536a.5.5 0 0 1 0-.707l3.536-3.535a.5.5 0 0 1 .707 0l3.536 3.535a.5.5 0 0 1 0 .707l-3.536 3.536ZM35.668 16.575a.5.5 0 0 1-.708 0l-3.535-3.535a.5.5 0 0 1 0-.707l3.535-3.536a.5.5 0 0 1 .708 0l3.535 3.536a.5.5 0 0 1 0 .707l-3.535 3.535Z",fill:"currentColor",stroke:"none"},null,-1),Tne=[$ne,jne];function Ine(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Tne,14,Pne)}var Iw=le(Lne,[["render",Ine]]);const Nne=Object.assign(Iw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Iw.name,Iw)}}),Bne=se({name:"IconApps",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-apps`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Fne=["stroke-width","stroke-linecap","stroke-linejoin"],Rne=G("path",{d:"M7 7h13v13H7zM28 7h13v13H28zM7 28h13v13H7zM28 28h13v13H28z"},null,-1),Mne=[Rne];function zne(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Mne,14,Fne)}var Nw=le(Bne,[["render",zne]]);const Une=Object.assign(Nw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Nw.name,Nw)}}),Hne=se({name:"IconArchive",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-archive`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Wne=["stroke-width","stroke-linecap","stroke-linejoin"],Vne=G("rect",{x:"9",y:"18",width:"30",height:"22",rx:"1"},null,-1),qne=G("path",{d:"M6 9a1 1 0 0 1 1-1h34a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9ZM19 27h10"},null,-1),Gne=[Vne,qne];function Zne(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Gne,14,Wne)}var Bw=le(Hne,[["render",Zne]]);const Yne=Object.assign(Bw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Bw.name,Bw)}}),Jne=se({name:"IconBarChart",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-bar-chart`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Kne=["stroke-width","stroke-linecap","stroke-linejoin"],Xne=G("path",{d:"M41 7H29v34h12V7ZM29 18H18v23h11V18ZM18 29H7v12h11V29Z"},null,-1),Qne=[Xne];function ere(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Qne,14,Kne)}var Fw=le(Jne,[["render",ere]]);const tre=Object.assign(Fw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Fw.name,Fw)}}),nre=se({name:"IconBook",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-book`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),rre=["stroke-width","stroke-linecap","stroke-linejoin"],ore=G("path",{d:"M24 13 7 7v28l17 6 17-6V7l-17 6Zm0 0v27.5M29 18l7-2.5M29 25l7-2.5M29 32l7-2.5M19 18l-7-2.5m7 9.5-7-2.5m7 9.5-7-2.5"},null,-1),ire=[ore];function are(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ire,14,rre)}var Rw=le(nre,[["render",are]]);const sre=Object.assign(Rw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Rw.name,Rw)}}),ure=se({name:"IconBookmark",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-bookmark`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),lre=["stroke-width","stroke-linecap","stroke-linejoin"],cre=G("path",{d:"M16 16h16M16 24h8"},null,-1),fre=G("path",{d:"M24 41H8V6h32v17"},null,-1),dre=G("path",{d:"M30 29h11v13l-5.5-3.5L30 42V29Z"},null,-1),pre=[cre,fre,dre];function hre(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},pre,14,lre)}var Mw=le(ure,[["render",hre]]);const gre=Object.assign(Mw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Mw.name,Mw)}}),vre=se({name:"IconBranch",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-branch`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),mre=["stroke-width","stroke-linecap","stroke-linejoin"],yre=G("path",{d:"M19 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM38 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM19 38a4 4 0 1 1-8 0 4 4 0 0 1 8 0ZM15 15v15m0 3.5V30m0 0c0-5 19-7 19-15"},null,-1),bre=[yre];function wre(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},bre,14,mre)}var zw=le(vre,[["render",wre]]);const kre=Object.assign(zw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+zw.name,zw)}}),Ere=se({name:"IconBug",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-bug`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Cre=["stroke-width","stroke-linecap","stroke-linejoin"],Sre=G("path",{d:"M24 42c-6.075 0-11-4.925-11-11V18h22v13c0 6.075-4.925 11-11 11Zm0 0V23m11 4h8M5 27h8M7 14a4 4 0 0 0 4 4h26a4 4 0 0 0 4-4m0 28v-.5a6.5 6.5 0 0 0-6.5-6.5M7 42v-.5a6.5 6.5 0 0 1 6.5-6.5M17 14a7 7 0 1 1 14 0"},null,-1),_re=[Sre];function Ore(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},_re,14,Cre)}var Uw=le(Ere,[["render",Ore]]);const Dre=Object.assign(Uw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Uw.name,Uw)}}),Are=se({name:"IconBulb",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-bulb`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),xre=["stroke-width","stroke-linecap","stroke-linejoin"],Lre=G("path",{d:"M17 42h14m6-24c0 2.823-.9 5.437-2.43 7.568-1.539 2.147-3.185 4.32-3.77 6.897l-.623 2.756A1 1 0 0 1 29.2 36H18.8a1 1 0 0 1-.976-.779l-.624-2.756c-.584-2.576-2.23-4.75-3.77-6.897A12.94 12.94 0 0 1 11 18c0-7.18 5.82-13 13-13s13 5.82 13 13Z"},null,-1),Pre=[Lre];function $re(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Pre,14,xre)}var Hw=le(Are,[["render",$re]]);const jre=Object.assign(Hw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Hw.name,Hw)}}),Tre=se({name:"IconCalendar",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-calendar`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Ire=["stroke-width","stroke-linecap","stroke-linejoin"],Nre=G("path",{d:"M7 22h34M14 5v8m20-8v8M8 41h32a1 1 0 0 0 1-1V10a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v30a1 1 0 0 0 1 1Z"},null,-1),Bre=[Nre];function Fre(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Bre,14,Ire)}var Ww=le(Tre,[["render",Fre]]);const Rre=Object.assign(Ww,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Ww.name,Ww)}}),Mre=se({name:"IconCamera",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-camera`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),zre=["stroke-width","stroke-linecap","stroke-linejoin"],Ure=G("path",{d:"m33 12-1.862-3.724A.5.5 0 0 0 30.691 8H17.309a.5.5 0 0 0-.447.276L15 12m16 14a7 7 0 1 1-14 0 7 7 0 0 1 14 0ZM7 40h34a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v26a1 1 0 0 0 1 1Z"},null,-1),Hre=[Ure];function Wre(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Hre,14,zre)}var Vw=le(Mre,[["render",Wre]]);const Vre=Object.assign(Vw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Vw.name,Vw)}}),qre=se({name:"IconCloud",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-cloud`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Gre=["stroke-width","stroke-linecap","stroke-linejoin"],Zre=G("path",{d:"M5 29a9 9 0 0 0 9 9h19c5.523 0 10-4.477 10-10 0-5.312-4.142-9.657-9.373-9.98C32.3 12.833 27.598 9 22 9c-6.606 0-11.965 5.338-12 11.935A9 9 0 0 0 5 29Z"},null,-1),Yre=[Zre];function Jre(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Yre,14,Gre)}var qw=le(qre,[["render",Jre]]);const Kre=Object.assign(qw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+qw.name,qw)}}),Xre=se({name:"IconCommand",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-command`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Qre=["stroke-width","stroke-linecap","stroke-linejoin"],eoe=G("path",{d:"M29 19v-6a6 6 0 1 1 6 6h-6Zm0 0v10m0-10H19m10 10v6a6 6 0 1 0 6-6h-6Zm0 0H19m0-10v10m0-10v-6a6 6 0 1 0-6 6h6Zm0 10v6a6 6 0 1 1-6-6h6Z"},null,-1),toe=[eoe];function noe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},toe,14,Qre)}var Gw=le(Xre,[["render",noe]]);const roe=Object.assign(Gw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Gw.name,Gw)}}),ooe=se({name:"IconCommon",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-common`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),ioe=["stroke-width","stroke-linecap","stroke-linejoin"],aoe=G("path",{d:"M24 23 7.652 14.345M24 23l16.366-8.664M24 23v19.438M7 14v20l17 9 17-9V14L24 5 7 14Z"},null,-1),soe=[aoe];function uoe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},soe,14,ioe)}var Zw=le(ooe,[["render",uoe]]);const loe=Object.assign(Zw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Zw.name,Zw)}}),coe=se({name:"IconCompass",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-compass`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),foe=["stroke-width","stroke-linecap","stroke-linejoin"],doe=G("path",{d:"M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),poe=G("path",{d:"m21.177 21.183 10.108-4.717a.2.2 0 0 1 .266.265L26.834 26.84l-10.109 4.717a.2.2 0 0 1-.266-.266l4.718-10.108Z"},null,-1),hoe=[doe,poe];function goe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},hoe,14,foe)}var Yw=le(coe,[["render",goe]]);const voe=Object.assign(Yw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Yw.name,Yw)}}),moe=se({name:"IconComputer",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-computer`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),yoe=["stroke-width","stroke-linecap","stroke-linejoin"],boe=G("path",{d:"M41 7H7v22h34V7Z"},null,-1),woe=G("path",{d:"M23.778 29v10"},null,-1),koe=G("path",{d:"M16 39h16"},null,-1),Eoe=G("path",{d:"m20.243 14.657 5.657 5.657M15.414 22.314l7.071-7.071M24.485 21.728l7.071-7.071"},null,-1),Coe=[boe,woe,koe,Eoe];function Soe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Coe,14,yoe)}var Jw=le(moe,[["render",Soe]]);const _oe=Object.assign(Jw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Jw.name,Jw)}}),Ooe=se({name:"IconCopyright",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-copyright`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Doe=["stroke-width","stroke-linecap","stroke-linejoin"],Aoe=G("path",{d:"M29.292 18a8 8 0 1 0 0 12M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),xoe=[Aoe];function Loe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},xoe,14,Doe)}var Kw=le(Ooe,[["render",Loe]]);const Poe=Object.assign(Kw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Kw.name,Kw)}}),$oe=se({name:"IconDashboard",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-dashboard`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),joe=["stroke-width","stroke-linecap","stroke-linejoin"],Toe=G("path",{d:"M41.808 24c.118 4.63-1.486 9.333-5.21 13m5.21-13h-8.309m8.309 0c-.112-4.38-1.767-8.694-4.627-12M24 6c5.531 0 10.07 2.404 13.18 6M24 6c-5.724 0-10.384 2.574-13.5 6.38M24 6v7.5M37.18 12 31 17.5m-20.5-5.12L17 17.5m-6.5-5.12C6.99 16.662 5.44 22.508 6.53 28m4.872 9c-2.65-2.609-4.226-5.742-4.873-9m0 0 8.97-3.5"},null,-1),Ioe=G("path",{d:"M24 32a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 0V19"},null,-1),Noe=[Toe,Ioe];function Boe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Noe,14,joe)}var Xw=le($oe,[["render",Boe]]);const Foe=Object.assign(Xw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Xw.name,Xw)}}),Roe=se({name:"IconDesktop",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-desktop`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Moe=["stroke-width","stroke-linecap","stroke-linejoin"],zoe=G("path",{d:"M24 32v8m0 0h-9m9 0h9M7 32h34a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1Z"},null,-1),Uoe=[zoe];function Hoe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Uoe,14,Moe)}var Qw=le(Roe,[["render",Hoe]]);const Woe=Object.assign(Qw,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Qw.name,Qw)}}),Voe=se({name:"IconDice",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-dice`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),qoe=["stroke-width","stroke-linecap","stroke-linejoin"],Goe=OO('<rect x="6.998" y="7" width="34" height="34" rx="1.5"></rect><circle cx="16" cy="16" r="2"></circle><circle cx="24" cy="24" r="2"></circle><circle cx="16" cy="32" r="2"></circle><circle cx="32" cy="16" r="2"></circle><circle cx="32" cy="32" r="2"></circle><circle cx="16" cy="16" r="2" fill="currentColor" stroke="none"></circle><circle cx="24" cy="24" r="2" fill="currentColor" stroke="none"></circle><circle cx="16" cy="32" r="2" fill="currentColor" stroke="none"></circle><circle cx="32" cy="16" r="2" fill="currentColor" stroke="none"></circle><circle cx="32" cy="32" r="2" fill="currentColor" stroke="none"></circle>',11),Zoe=[Goe];function Yoe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Zoe,14,qoe)}var e4=le(Voe,[["render",Yoe]]);const Joe=Object.assign(e4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+e4.name,e4)}}),Koe=se({name:"IconDriveFile",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-drive-file`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Xoe=["stroke-width","stroke-linecap","stroke-linejoin"],Qoe=G("path",{d:"M38.5 17H29a1 1 0 0 1-1-1V6.5m0-.5H10a1 1 0 0 0-1 1v34a1 1 0 0 0 1 1h28a1 1 0 0 0 1-1V17L28 6Z"},null,-1),eie=[Qoe];function tie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},eie,14,Xoe)}var t4=le(Koe,[["render",tie]]);const nie=Object.assign(t4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+t4.name,t4)}}),rie=se({name:"IconEar",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-ear`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),oie=["stroke-width","stroke-linecap","stroke-linejoin"],iie=G("path",{d:"M13 15.528C14.32 12.386 18.403 6.977 23.556 7c7.944.036 14.514 8.528 10.116 15.71-4.399 7.181-5.718 10.323-6.598 14.363-.82 3.766-9.288 7.143-11.498-1.515M20 18.5c1-3.083 4.5-4.5 6.5-2 2.85 3.562-3.503 8.312-5.5 12.5"},null,-1),aie=[iie];function sie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},aie,14,oie)}var n4=le(rie,[["render",sie]]);const uie=Object.assign(n4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+n4.name,n4)}}),lie=se({name:"IconEmail",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-email`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),cie=["stroke-width","stroke-linecap","stroke-linejoin"],fie=G("rect",{x:"6",y:"8",width:"36",height:"32",rx:"1"},null,-1),die=G("path",{d:"m37 17-12.43 8.606a1 1 0 0 1-1.14 0L11 17"},null,-1),pie=[fie,die];function hie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},pie,14,cie)}var r4=le(lie,[["render",hie]]);const gie=Object.assign(r4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+r4.name,r4)}}),vie=se({name:"IconEmpty",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-empty`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),mie=["stroke-width","stroke-linecap","stroke-linejoin"],yie=G("path",{d:"M24 5v6m7 1 4-4m-18 4-4-4m28.5 22H28s-1 3-4 3-4-3-4-3H6.5M40 41H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"},null,-1),bie=[yie];function wie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},bie,14,mie)}var o4=le(vie,[["render",wie]]);const kie=Object.assign(o4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+o4.name,o4)}}),Eie=se({name:"IconExperiment",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-experiment`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Cie=["stroke-width","stroke-linecap","stroke-linejoin"],Sie=G("path",{d:"M10.5 7h6m0 0v10.5l-5.25 14M16.5 7h15m0 0h6m-6 0v10.5L37 32.167M11.25 31.5l-2.344 6.853A2 2 0 0 0 10.8 41h26.758a2 2 0 0 0 1.86-2.737L37 32.167M11.25 31.5c1.916 1.833 7.05 4.4 12.25 0s11.166-1.389 13.5.667M26 22.5v.01"},null,-1),_ie=[Sie];function Oie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},_ie,14,Cie)}var i4=le(Eie,[["render",Oie]]);const Die=Object.assign(i4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+i4.name,i4)}}),Aie=se({name:"IconFileAudio",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-file-audio`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),xie=["stroke-width","stroke-linecap","stroke-linejoin"],Lie=G("path",{d:"M37 42H11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h21l7 7v27a2 2 0 0 1-2 2Z"},null,-1),Pie=G("path",{d:"M25 30a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z",fill:"currentColor",stroke:"none"},null,-1),$ie=G("path",{d:"M25 30a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm0 0-.951-12.363a.5.5 0 0 1 .58-.532L30 18"},null,-1),jie=[Lie,Pie,$ie];function Tie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},jie,14,xie)}var a4=le(Aie,[["render",Tie]]);const Iie=Object.assign(a4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+a4.name,a4)}}),Nie=se({name:"IconFileImage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-file-image`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Bie=["stroke-width","stroke-linecap","stroke-linejoin"],Fie=G("path",{d:"m26 33 5-6v6h-5Zm0 0-3-4-4 4h7Zm11 9H11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h21l7 7v27a2 2 0 0 1-2 2ZM17 19h1v1h-1v-1Z"},null,-1),Rie=[Fie];function Mie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Rie,14,Bie)}var s4=le(Nie,[["render",Mie]]);const zie=Object.assign(s4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+s4.name,s4)}}),Uie=se({name:"IconFilePdf",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-file-pdf`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Hie=["stroke-width","stroke-linecap","stroke-linejoin"],Wie=G("path",{d:"M11 42h26a2 2 0 0 0 2-2V13.828a2 2 0 0 0-.586-1.414l-5.828-5.828A2 2 0 0 0 31.172 6H11a2 2 0 0 0-2 2v32a2 2 0 0 0 2 2Z"},null,-1),Vie=G("path",{d:"M22.305 21.028c.874 1.939 3.506 6.265 4.903 8.055 1.747 2.237 3.494 2.685 4.368 2.237.873-.447 1.21-4.548-7.425-2.685-7.523 1.623-7.424 3.58-6.988 4.476.728 1.193 2.522 2.627 5.678-6.266C25.699 18.79 24.489 17 23.277 17c-1.409 0-2.538.805-.972 4.028Z"},null,-1),qie=[Wie,Vie];function Gie(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},qie,14,Hie)}var u4=le(Uie,[["render",Gie]]);const Zie=Object.assign(u4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+u4.name,u4)}}),Yie=se({name:"IconFileVideo",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-file-video`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Jie=["stroke-width","stroke-linecap","stroke-linejoin"],Kie=G("path",{d:"M37 42H11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h21l7 7v27a2 2 0 0 1-2 2Z"},null,-1),Xie=G("path",{d:"M22 27.796v-6l5 3-5 3Z"},null,-1),Qie=[Kie,Xie];function eae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Qie,14,Jie)}var l4=le(Yie,[["render",eae]]);const tae=Object.assign(l4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+l4.name,l4)}}),nae=se({name:"IconFile",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-file`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),rae=["stroke-width","stroke-linecap","stroke-linejoin"],oae=G("path",{d:"M16 21h16m-16 8h10m11 13H11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h21l7 7v27a2 2 0 0 1-2 2Z"},null,-1),iae=[oae];function aae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},iae,14,rae)}var c4=le(nae,[["render",aae]]);const sae=Object.assign(c4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+c4.name,c4)}}),uae=se({name:"IconFire",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-fire`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),lae=["stroke-width","stroke-linecap","stroke-linejoin"],cae=G("path",{d:"M17.577 27.477C20.022 22.579 17.041 12.98 24.546 6c0 0-1.156 15.55 5.36 17.181 2.145.537 2.68-5.369 4.289-8.59 0 0 .536 4.832 2.68 8.59 3.217 7.517-1 14.117-5.896 17.182-4.289 2.684-14.587 2.807-19.835-5.37-4.824-7.516 0-15.57 0-15.57s4.289 12.35 6.433 8.054Z"},null,-1),fae=[cae];function dae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},fae,14,lae)}var f4=le(uae,[["render",dae]]);const pae=Object.assign(f4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+f4.name,f4)}}),hae=se({name:"IconFolderAdd",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-folder-add`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),gae=["stroke-width","stroke-linecap","stroke-linejoin"],vae=G("path",{d:"M24 19v14m-7-7h14M6 13h18l-2.527-3.557a1.077 1.077 0 0 0-.88-.443H7.06C6.474 9 6 9.448 6 10v3Zm0 0h33.882c1.17 0 2.118.895 2.118 2v21c0 1.105-.948 3-2.118 3H8.118C6.948 39 6 38.105 6 37V13Z"},null,-1),mae=[vae];function yae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},mae,14,gae)}var d4=le(hae,[["render",yae]]);const bae=Object.assign(d4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+d4.name,d4)}}),wae=se({name:"IconFolderDelete",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-folder-delete`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),kae=["stroke-width","stroke-linecap","stroke-linejoin"],Eae=G("path",{d:"M17 26h14M6 13h18l-2.527-3.557a1.077 1.077 0 0 0-.88-.443H7.06C6.474 9 6 9.448 6 10v3Zm0 0h33.882c1.17 0 2.118.895 2.118 2v21c0 1.105-.948 3-2.118 3H8.118C6.948 39 6 38.105 6 37V13Z"},null,-1),Cae=[Eae];function Sae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Cae,14,kae)}var p4=le(wae,[["render",Sae]]);const _ae=Object.assign(p4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+p4.name,p4)}}),Oae=se({name:"IconFolder",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-folder`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Dae=["stroke-width","stroke-linecap","stroke-linejoin"],Aae=G("path",{d:"M6 13h18l-2.527-3.557a1.077 1.077 0 0 0-.88-.443H7.06C6.474 9 6 9.448 6 10v3Zm0 0h33.882c1.17 0 2.118.895 2.118 2v21c0 1.105-.948 3-2.118 3H8.118C6.948 39 6 38.105 6 37V13Z"},null,-1),xae=[Aae];function Lae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},xae,14,Dae)}var h4=le(Oae,[["render",Lae]]);const Pae=Object.assign(h4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+h4.name,h4)}}),$ae=se({name:"IconGift",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-gift`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),jae=["stroke-width","stroke-linecap","stroke-linejoin"],Tae=G("path",{d:"M13.45 14.043H8a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h32a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-4.893m-21.657 0c-1.036-2.833-.615-5.6 1.182-6.637 2.152-1.243 5.464.464 7.397 3.812.539.933.914 1.896 1.127 2.825m-9.706 0h9.706m0 0H25.4m0 0a10.31 10.31 0 0 1 1.128-2.825c1.933-3.348 5.244-5.055 7.397-3.812 1.797 1.037 2.217 3.804 1.182 6.637m-9.707 0h9.707M10 26.043a2 2 0 0 1 2-2h24a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H12a2 2 0 0 1-2-2v-13Z"},null,-1),Iae=[Tae];function Nae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Iae,14,jae)}var g4=le($ae,[["render",Nae]]);const Bae=Object.assign(g4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+g4.name,g4)}}),Fae=se({name:"IconIdcard",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-idcard`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Rae=["stroke-width","stroke-linecap","stroke-linejoin"],Mae=G("path",{d:"M11 17h9m-9 7h9m-9 7h5m-8 9h32a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v28a2 2 0 0 0 2 2Z"},null,-1),zae=G("path",{d:"M36 33a7 7 0 1 0-14 0"},null,-1),Uae=G("circle",{cx:"29",cy:"20",r:"4"},null,-1),Hae=[Mae,zae,Uae];function Wae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Hae,14,Rae)}var v4=le(Fae,[["render",Wae]]);const Vae=Object.assign(v4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+v4.name,v4)}}),qae=se({name:"IconImageClose",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-image-close`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Gae=["stroke-width","stroke-linecap","stroke-linejoin"],Zae=OO('<path d="M41 26V9a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v30a2 2 0 0 0 2 2h17"></path><path d="m24 33 9-8.5V27s-2 1-3.5 2.5C27.841 31.159 27 33 27 33h-3Zm0 0-3.5-4.5L17 33h7Z"></path><path d="M20.5 28.5 17 33h7l-3.5-4.5ZM33 24.5 24 33h3s.841-1.841 2.5-3.5C31 28 33 27 33 27v-2.5Z" fill="currentColor" stroke="none"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M46 38a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-4.95-4.782 1.74 1.74-3.045 3.046 3.046 3.046-1.74 1.74-3.047-3.045-3.046 3.046-1.74-1.74 3.046-3.047-3.046-3.046 1.74-1.74 3.046 3.046 3.046-3.046Z" fill="currentColor" stroke="none"></path><path d="M17 15h-2v2h2v-2Z"></path>',5),Yae=[Zae];function Jae(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Yae,14,Gae)}var m4=le(qae,[["render",Jae]]);const Kae=Object.assign(m4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+m4.name,m4)}}),Xae=se({name:"IconImage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-image`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Qae=["stroke-width","stroke-linecap","stroke-linejoin"],ese=G("path",{d:"m24 33 9-9v9h-9Zm0 0-3.5-4.5L17 33h7Zm15 8H9a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h30a2 2 0 0 1 2 2v30a2 2 0 0 1-2 2ZM15 15h2v2h-2v-2Z"},null,-1),tse=G("path",{d:"M33 33v-9l-9 9h9ZM23.5 33l-3-4-3 4h6ZM15 15h2v2h-2z",fill:"currentColor",stroke:"none"},null,-1),nse=[ese,tse];function rse(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},nse,14,Qae)}var y4=le(Xae,[["render",rse]]);const ose=Object.assign(y4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+y4.name,y4)}}),ise=se({name:"IconInteraction",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-interaction`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),ase=["stroke-width","stroke-linecap","stroke-linejoin"],sse=G("path",{d:"M8 19h16m16 0H24m0 0v23m14 0H10a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h28a2 2 0 0 1 2 2v32a2 2 0 0 1-2 2Z"},null,-1),use=[sse];function lse(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},use,14,ase)}var b4=le(ise,[["render",lse]]);const cse=Object.assign(b4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+b4.name,b4)}}),fse=se({name:"IconLanguage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-language`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),dse=["stroke-width","stroke-linecap","stroke-linejoin"],pse=G("path",{d:"m42 43-2.385-6M26 43l2.384-6m11.231 0-.795-2-4.18-10h-1.28l-4.181 10-.795 2m11.231 0h-11.23M17 5l1 5M5 11h26M11 11s1.889 7.826 6.611 12.174C22.333 27.522 30 31 30 31"},null,-1),hse=G("path",{d:"M25 11s-1.889 7.826-6.611 12.174C13.667 27.522 6 31 6 31"},null,-1),gse=[pse,hse];function vse(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},gse,14,dse)}var w4=le(fse,[["render",vse]]);const mse=Object.assign(w4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+w4.name,w4)}}),yse=se({name:"IconLayers",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-layers`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),bse=["stroke-width","stroke-linecap","stroke-linejoin"],wse=G("path",{d:"M24.015 7.017 41 14.62l-16.985 7.605L7.03 14.62l16.985-7.604Z"},null,-1),kse=G("path",{d:"m41 23.255-16.985 7.604L7.03 23.255M40.97 33.412l-16.985 7.605L7 33.412"},null,-1),Ese=[wse,kse];function Cse(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ese,14,bse)}var k4=le(yse,[["render",Cse]]);const Sse=Object.assign(k4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+k4.name,k4)}}),_se=se({name:"IconLayout",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-layout`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Ose=["stroke-width","stroke-linecap","stroke-linejoin"],Dse=G("path",{d:"M19 40V8m23 2a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v28a2 2 0 0 0 2 2h32a2 2 0 0 0 2-2V10Z"},null,-1),Ase=[Dse];function xse(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ase,14,Ose)}var E4=le(_se,[["render",xse]]);const Lse=Object.assign(E4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+E4.name,E4)}}),Pse=se({name:"IconLoading",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-loading`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),$se=["stroke-width","stroke-linecap","stroke-linejoin"],jse=G("path",{d:"M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6"},null,-1),Tse=[jse];function Ise(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Tse,14,$se)}var C4=le(Pse,[["render",Ise]]);const yU=Object.assign(C4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+C4.name,C4)}}),Nse=se({name:"IconLocation",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-location`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Bse=["stroke-width","stroke-linecap","stroke-linejoin"],Fse=G("circle",{cx:"24",cy:"19",r:"5"},null,-1),Rse=G("path",{d:"M39 20.405C39 28.914 24 43 24 43S9 28.914 9 20.405C9 11.897 15.716 5 24 5c8.284 0 15 6.897 15 15.405Z"},null,-1),Mse=[Fse,Rse];function zse(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Mse,14,Bse)}var S4=le(Nse,[["render",zse]]);const Use=Object.assign(S4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+S4.name,S4)}}),Hse=se({name:"IconLock",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-lock`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Wse=["stroke-width","stroke-linecap","stroke-linejoin"],Vse=G("rect",{x:"7",y:"21",width:"34",height:"20",rx:"1"},null,-1),qse=G("path",{d:"M15 21v-6a9 9 0 1 1 18 0v6M24 35v-8"},null,-1),Gse=[Vse,qse];function Zse(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Gse,14,Wse)}var _4=le(Hse,[["render",Zse]]);const Yse=Object.assign(_4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+_4.name,_4)}}),Jse=se({name:"IconLoop",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-loop`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Kse=["stroke-width","stroke-linecap","stroke-linejoin"],Xse=G("path",{d:"M24 38c-7.732 0-14-6.268-14-14 0-3.815 1.526-7.273 4-9.798M24 10c7.732 0 14 6.268 14 14 0 3.815-1.526 7.273-4 9.798M24 7v6l-4-3 4-3Zm0 33v-6l4 3-4 3Z"},null,-1),Qse=[Xse];function eue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Qse,14,Kse)}var O4=le(Jse,[["render",eue]]);const tue=Object.assign(O4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+O4.name,O4)}}),nue=se({name:"IconMan",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-man`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),rue=["stroke-width","stroke-linecap","stroke-linejoin"],oue=G("path",{d:"M40 8 29.68 18.321M31 8h9v9m-7 10c0 7.18-5.82 13-13 13S7 34.18 7 27s5.82-13 13-13 13 5.82 13 13Z"},null,-1),iue=[oue];function aue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},iue,14,rue)}var D4=le(nue,[["render",aue]]);const sue=Object.assign(D4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+D4.name,D4)}}),uue=se({name:"IconMenu",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-menu`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),lue=["stroke-width","stroke-linecap","stroke-linejoin"],cue=G("path",{d:"M5 10h38M5 24h38M5 38h38"},null,-1),fue=[cue];function due(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},fue,14,lue)}var A4=le(uue,[["render",due]]);const pue=Object.assign(A4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+A4.name,A4)}}),hue=se({name:"IconMindMapping",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-mind-mapping`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),gue=["stroke-width","stroke-linecap","stroke-linejoin"],vue=G("path",{d:"M20 10h23M20 24h23M20 38h23M9 12v28m0-28a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 26h7M9 24h7"},null,-1),mue=[vue];function yue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},mue,14,gue)}var x4=le(hue,[["render",yue]]);const bue=Object.assign(x4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+x4.name,x4)}}),wue=se({name:"IconMobile",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-mobile`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),kue=["stroke-width","stroke-linecap","stroke-linejoin"],Eue=G("path",{d:"M17 14h14m6.125 28h-26.25C9.839 42 9 41.105 9 40V8c0-1.105.84-2 1.875-2h26.25C38.16 6 39 6.895 39 8v32c0 1.105-.84 2-1.875 2ZM22 33a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z"},null,-1),Cue=G("circle",{cx:"24",cy:"33",r:"2",fill:"currentColor",stroke:"none"},null,-1),Sue=[Eue,Cue];function _ue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Sue,14,kue)}var L4=le(wue,[["render",_ue]]);const Oue=Object.assign(L4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+L4.name,L4)}}),Due=se({name:"IconMoon",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-moon`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Aue=["stroke-width","stroke-linecap","stroke-linejoin"],xue=G("path",{d:"M39.979 29.241c.11-.344-.23-.654-.574-.544-1.53.487-3.162.75-4.855.75-8.834 0-15.997-7.163-15.997-15.997 0-1.693.263-3.324.75-4.855.11-.344-.2-.684-.544-.574C11.939 10.19 7 16.576 7 24.114 7 33.44 14.56 41 23.886 41c7.538 0 13.923-4.94 16.093-11.759Z"},null,-1),Lue=[xue];function Pue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Lue,14,Aue)}var P4=le(Due,[["render",Pue]]);const $ue=Object.assign(P4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+P4.name,P4)}}),jue=se({name:"IconMosaic",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-mosaic`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Tue=["stroke-width","stroke-linecap","stroke-linejoin"],Iue=G("path",{d:"M6 7h4v4H6V7ZM6 23h4v4H6v-4ZM6 38h4v4H6v-4ZM14 15h4v4h-4v-4ZM14 31h4v4h-4v-4ZM22 7h4v4h-4V7ZM22 23h4v4h-4v-4ZM22 38h4v4h-4v-4ZM30 15h4v4h-4v-4ZM30 31h4v4h-4v-4ZM38 7h4v4h-4V7ZM38 23h4v4h-4v-4ZM38 38h4v4h-4v-4Z",fill:"currentColor",stroke:"none"},null,-1),Nue=G("path",{d:"M6 7h4v4H6V7ZM6 23h4v4H6v-4ZM6 38h4v4H6v-4ZM14 15h4v4h-4v-4ZM14 31h4v4h-4v-4ZM22 7h4v4h-4V7ZM22 23h4v4h-4v-4ZM22 38h4v4h-4v-4ZM30 15h4v4h-4v-4ZM30 31h4v4h-4v-4ZM38 7h4v4h-4V7ZM38 23h4v4h-4v-4ZM38 38h4v4h-4v-4Z"},null,-1),Bue=[Iue,Nue];function Fue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Bue,14,Tue)}var $4=le(jue,[["render",Fue]]);const Rue=Object.assign($4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+$4.name,$4)}}),Mue=se({name:"IconNav",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-nav`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),zue=["stroke-width","stroke-linecap","stroke-linejoin"],Uue=G("path",{d:"M6 19h10m0 0h26m-26 0V9m0 10v10m0 0v10m0-10H6m10 0h26M6 9h36v30H6V9Z"},null,-1),Hue=[Uue];function Wue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Hue,14,zue)}var j4=le(Mue,[["render",Wue]]);const Vue=Object.assign(j4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+j4.name,j4)}}),que=se({name:"IconNotificationClose",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-notification-close`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Gue=["stroke-width","stroke-linecap","stroke-linejoin"],Zue=G("path",{d:"M11 35V22c0-1.835.38-3.58 1.066-5.163M11 35H6m5 0h15.5M24 9c7.18 0 13 5.82 13 13v7.5M24 9V4m0 5a12.94 12.94 0 0 0-6.5 1.74M17 42h14M6 4l36 40"},null,-1),Yue=[Zue];function Jue(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Yue,14,Gue)}var T4=le(que,[["render",Jue]]);const Kue=Object.assign(T4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+T4.name,T4)}}),Xue=se({name:"IconNotification",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-notification`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Que=["stroke-width","stroke-linecap","stroke-linejoin"],ele=G("path",{d:"M24 9c7.18 0 13 5.82 13 13v13H11V22c0-7.18 5.82-13 13-13Zm0 0V4M6 35h36m-25 7h14"},null,-1),tle=[ele];function nle(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},tle,14,Que)}var I4=le(Xue,[["render",nle]]);const rle=Object.assign(I4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+I4.name,I4)}}),ole=se({name:"IconPalette",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-palette`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),ile=["stroke-width","stroke-linecap","stroke-linejoin"],ale=OO('<path d="M31.813 12.02C29.73 10.459 27.013 10 24 10c-9.78 0-17.708 6.987-17.708 15.042 0 8.054 8.97 14.583 18.75 14.583 5.277 0 2.485-5.318 5.73-8.333 2.767-2.574 10.937-1.563 10.937-6.25 0-2.792-.521-5.209-2.605-7.617"></path><path d="M25.042 25.563 42.23 8.375"></path><circle cx="22.5" cy="17.5" r="2.5" fill="currentColor" stroke="none"></circle><circle cx="15.5" cy="20.5" r="2.5" fill="currentColor" stroke="none"></circle><circle cx="14.5" cy="28.5" r="2.5" fill="currentColor" stroke="none"></circle>',5),sle=[ale];function ule(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},sle,14,ile)}var N4=le(ole,[["render",ule]]);const lle=Object.assign(N4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+N4.name,N4)}}),cle=se({name:"IconPen",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-pen`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),fle=["stroke-width","stroke-linecap","stroke-linejoin"],dle=G("path",{d:"m28.364 11.565 7.07 7.071M7.15 32.778 33.313 6.615l7.071 7.071L14.221 39.85h-7.07v-7.07Z"},null,-1),ple=[dle];function hle(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ple,14,fle)}var B4=le(cle,[["render",hle]]);const gle=Object.assign(B4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+B4.name,B4)}}),vle=se({name:"IconPhone",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-phone`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),mle=["stroke-width","stroke-linecap","stroke-linejoin"],yle=G("path",{d:"M6.707 34.284a1 1 0 0 1 0-1.414l5.657-5.657a1 1 0 0 1 1.414 0l4.95 4.95s3.535-1.414 7.778-5.657c4.243-4.243 5.657-7.778 5.657-7.778l-4.95-4.95a1 1 0 0 1 0-1.414l5.657-5.657a1 1 0 0 1 1.414 0l6.01 6.01s3.183 7.425-8.485 19.092c-11.667 11.668-19.092 8.485-19.092 8.485l-6.01-6.01Z"},null,-1),ble=[yle];function wle(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ble,14,mle)}var F4=le(vle,[["render",wle]]);const kle=Object.assign(F4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+F4.name,F4)}}),Ele=se({name:"IconPrinter",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-printer`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Cle=["stroke-width","stroke-linecap","stroke-linejoin"],Sle=G("path",{d:"M14 15V8a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v7m-20 0H7a1 1 0 0 0-1 1v17a1 1 0 0 0 1 1h6m1-19h20m0 0h7a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1h-6m-22 0v6a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1v-6m-22 0v-5a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v5"},null,-1),_le=[Sle];function Ole(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},_le,14,Cle)}var R4=le(Ele,[["render",Ole]]);const Dle=Object.assign(R4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+R4.name,R4)}}),Ale=se({name:"IconPublic",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-public`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),xle=["stroke-width","stroke-linecap","stroke-linejoin"],Lle=G("path",{d:"M15 21.5 6.704 19M15 21.5l4.683 5.152a1 1 0 0 1 .25.814L18 40.976l10.918-16.117a1 1 0 0 0-.298-1.409L21.5 19 15 21.5Zm0 0 6.062-6.995a1 1 0 0 0 .138-1.103L18 7.024M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),Ple=[Lle];function $le(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ple,14,xle)}var M4=le(Ale,[["render",$le]]);const jle=Object.assign(M4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+M4.name,M4)}}),Tle=se({name:"IconPushpin",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-pushpin`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Ile=["stroke-width","stroke-linecap","stroke-linejoin"],Nle=G("path",{d:"M19.921 28.163 7.193 40.89m12.728-12.728 8.884 8.883c.17.17.447.17.617 0l5.12-5.12a7.862 7.862 0 0 0 1.667-8.655.093.093 0 0 1 .02-.102l4.906-4.906a2 2 0 0 0 0-2.828L32.648 6.95a2 2 0 0 0-2.828 0l-4.89 4.889a.126.126 0 0 1-.139.027 7.828 7.828 0 0 0-8.618 1.66l-5.027 5.026a.591.591 0 0 0 0 .836l8.774 8.775Z"},null,-1),Ble=[Nle];function Fle(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ble,14,Ile)}var z4=le(Tle,[["render",Fle]]);const Rle=Object.assign(z4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+z4.name,z4)}}),Mle=se({name:"IconQrcode",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-qrcode`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),zle=["stroke-width","stroke-linecap","stroke-linejoin"],Ule=G("path",{d:"M24 30v4m0 3v6m19-19h-6m-3 0h-4M7 7h17v17H7V7Zm0 25h9v9H7v-9Zm25 0h9v9h-9v-9Zm0-25h9v9h-9V7Zm-18 7h3v3h-3v-3Z"},null,-1),Hle=[Ule];function Wle(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Hle,14,zle)}var U4=le(Mle,[["render",Wle]]);const Vle=Object.assign(U4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+U4.name,U4)}}),qle=se({name:"IconRelation",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-relation`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Gle=["stroke-width","stroke-linecap","stroke-linejoin"],Zle=G("path",{d:"M19.714 14C15.204 15.784 12 20.302 12 25.593c0 1.142.15 2.247.429 3.298m16.285-14.712C32.998 16.073 36 20.471 36 25.593c0 1.07-.131 2.11-.378 3.102m-18.32 7.194a11.676 11.676 0 0 0 13.556-.112"},null,-1),Yle=G("path",{d:"M24 19a6 6 0 1 0 0-12 6 6 0 0 0 0 12ZM36 40a6 6 0 1 0 0-12 6 6 0 0 0 0 12ZM12 40a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z"},null,-1),Jle=[Zle,Yle];function Kle(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Jle,14,Gle)}var H4=le(qle,[["render",Kle]]);const Xle=Object.assign(H4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+H4.name,H4)}}),Qle=se({name:"IconRobotAdd",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-robot-add`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),ece=["stroke-width","stroke-linecap","stroke-linejoin"],tce=G("path",{d:"M24 7v6m0-6h5m-5 0h-5M3 21v11m25 8H9V13h30v11m-7 11h14m-7-7v14M18 26h1v1h-1v-1Zm11 0h1v1h-1v-1Z"},null,-1),nce=[tce];function rce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},nce,14,ece)}var W4=le(Qle,[["render",rce]]);const oce=Object.assign(W4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+W4.name,W4)}}),ice=se({name:"IconRobot",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-robot`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),ace=["stroke-width","stroke-linecap","stroke-linejoin"],sce=G("path",{d:"M18 26h1v1h-1v-1ZM29 26h1v1h-1v-1Z",fill:"currentColor",stroke:"none"},null,-1),uce=G("path",{d:"M24 7v6m0-6h5m-5 0h-5M3 21v11m36 8H9V13h30v29m6-21v11m-27-6h1v1h-1v-1Zm11 0h1v1h-1v-1Z"},null,-1),lce=[sce,uce];function cce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},lce,14,ace)}var V4=le(ice,[["render",cce]]);const fce=Object.assign(V4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+V4.name,V4)}}),dce=se({name:"IconSafe",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-safe`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),pce=["stroke-width","stroke-linecap","stroke-linejoin"],hce=G("path",{d:"m16.825 22.165 6 6 10-10M24 6c7 4 16 5 16 5v15s-2 12-16 16.027C10 38 8 26 8 26V11s9-1 16-5Z"},null,-1),gce=[hce];function vce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},gce,14,pce)}var q4=le(dce,[["render",vce]]);const mce=Object.assign(q4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+q4.name,q4)}}),yce=se({name:"IconSchedule",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-schedule`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),bce=["stroke-width","stroke-linecap","stroke-linejoin"],wce=G("circle",{cx:"24",cy:"24",r:"18"},null,-1),kce=G("path",{d:"M24 13v10l6.5 7"},null,-1),Ece=[wce,kce];function Cce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ece,14,bce)}var G4=le(yce,[["render",Cce]]);const Sce=Object.assign(G4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+G4.name,G4)}}),_ce=se({name:"IconShake",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-shake`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Oce=["stroke-width","stroke-linecap","stroke-linejoin"],Dce=G("path",{d:"M43.092 27.536 31.778 38.849M20.465 4.91 9.15 16.221m9.192 14.85a1 1 0 1 1-1.414-1.415 1 1 0 0 1 1.414 1.414ZM6.323 28.95 19.05 41.678a1 1 0 0 0 1.415 0l21.213-21.213a1 1 0 0 0 0-1.415L28.95 6.322a1 1 0 0 0-1.415 0L6.322 27.536a1 1 0 0 0 0 1.414Z"},null,-1),Ace=G("circle",{cx:"17.637",cy:"30.364",r:"1",transform:"rotate(45 17.637 30.364)",fill:"currentColor",stroke:"none"},null,-1),xce=[Dce,Ace];function Lce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},xce,14,Oce)}var Z4=le(_ce,[["render",Lce]]);const Pce=Object.assign(Z4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Z4.name,Z4)}}),$ce=se({name:"IconSkin",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-skin`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),jce=["stroke-width","stroke-linecap","stroke-linejoin"],Tce=G("path",{d:"M17.936 6H7a1 1 0 0 0-1 1v17.559a1 1 0 0 0 1 1h4V40a1 1 0 0 0 1 1h24a1 1 0 0 0 1-1V25.559h4a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H30.064C28.854 7.23 26.59 9.059 24 9.059S19.147 7.23 17.936 6Z"},null,-1),Ice=[Tce];function Nce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ice,14,jce)}var Y4=le($ce,[["render",Nce]]);const Bce=Object.assign(Y4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Y4.name,Y4)}}),Fce=se({name:"IconStamp",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-stamp`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Rce=["stroke-width","stroke-linecap","stroke-linejoin"],Mce=G("path",{d:"M7 33a1 1 0 0 1 1-1h32a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-7ZM29.081 21.18a8 8 0 1 0-10.163 0L14 32h20l-4.919-10.82Z"},null,-1),zce=[Mce];function Uce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},zce,14,Rce)}var J4=le(Fce,[["render",Uce]]);const Hce=Object.assign(J4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+J4.name,J4)}}),Wce=se({name:"IconStorage",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-storage`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Vce=["stroke-width","stroke-linecap","stroke-linejoin"],qce=G("path",{d:"M7 18h34v12H7V18ZM40 6H8a1 1 0 0 0-1 1v11h34V7a1 1 0 0 0-1-1ZM7 30h34v11a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V30Z"},null,-1),Gce=G("path",{d:"M13.02 36H13v.02h.02V36Z"},null,-1),Zce=G("path",{d:"M13 12v-2h-2v2h2Zm.02 0h2v-2h-2v2Zm0 .02v2h2v-2h-2Zm-.02 0h-2v2h2v-2ZM13 14h.02v-4H13v4Zm-1.98-2v.02h4V12h-4Zm2-1.98H13v4h.02v-4Zm1.98 2V12h-4v.02h4Z",fill:"currentColor",stroke:"none"},null,-1),Yce=G("path",{d:"M13.02 24H13v.02h.02V24Z"},null,-1),Jce=[qce,Gce,Zce,Yce];function Kce(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Jce,14,Vce)}var K4=le(Wce,[["render",Kce]]);const Xce=Object.assign(K4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+K4.name,K4)}}),Qce=se({name:"IconSubscribeAdd",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-subscribe-add`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),efe=["stroke-width","stroke-linecap","stroke-linejoin"],tfe=G("path",{d:"M24.53 6.007H9.97c-.535 0-.97.449-.97 1.003V41.8c0 .148.152.245.28.179l15.25-7.881 14.248 7.88c.129.067.28-.03.28-.179V22.06M27.413 11.023h6.794m0 0H41m-6.794 0V4m0 7.023v7.023"},null,-1),nfe=[tfe];function rfe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},nfe,14,efe)}var X4=le(Qce,[["render",rfe]]);const ofe=Object.assign(X4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+X4.name,X4)}}),ife=se({name:"IconSubscribe",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-subscribe`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),afe=["stroke-width","stroke-linecap","stroke-linejoin"],sfe=G("path",{d:"M9 7v34.667a.2.2 0 0 0 .294.176L24 34l14.706 7.843a.2.2 0 0 0 .294-.176V7a1 1 0 0 0-1-1H10a1 1 0 0 0-1 1Z"},null,-1),ufe=[sfe];function lfe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ufe,14,afe)}var Q4=le(ife,[["render",lfe]]);const cfe=Object.assign(Q4,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+Q4.name,Q4)}}),ffe=se({name:"IconSubscribed",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-subscribed`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),dfe=["stroke-width","stroke-linecap","stroke-linejoin"],pfe=G("path",{d:"m31.289 15.596-9.193 9.193-4.95-4.95M24 34l14.706 7.843a.2.2 0 0 0 .294-.176V7a1 1 0 0 0-1-1H10a1 1 0 0 0-1 1v34.667a.2.2 0 0 0 .294.176L24 34Z"},null,-1),hfe=[pfe];function gfe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},hfe,14,dfe)}var ek=le(ffe,[["render",gfe]]);const vfe=Object.assign(ek,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ek.name,ek)}}),mfe=se({name:"IconSun",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-sun`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),yfe=["stroke-width","stroke-linecap","stroke-linejoin"],bfe=G("circle",{cx:"24",cy:"24",r:"7"},null,-1),wfe=G("path",{d:"M23 7h2v2h-2zM23 39h2v2h-2zM41 23v2h-2v-2zM9 23v2H7v-2zM36.73 35.313l-1.415 1.415-1.414-1.415 1.414-1.414zM14.099 12.686l-1.414 1.415-1.414-1.415 1.414-1.414zM12.687 36.728l-1.414-1.415 1.414-1.414 1.414 1.414zM35.314 14.1 33.9 12.686l1.414-1.414 1.415 1.414z"},null,-1),kfe=G("path",{fill:"currentColor",stroke:"none",d:"M23 7h2v2h-2zM23 39h2v2h-2zM41 23v2h-2v-2zM9 23v2H7v-2zM36.73 35.313l-1.415 1.415-1.414-1.415 1.414-1.414zM14.099 12.686l-1.414 1.415-1.414-1.415 1.414-1.414zM12.687 36.728l-1.414-1.415 1.414-1.414 1.414 1.414zM35.314 14.1 33.9 12.686l1.414-1.414 1.415 1.414z"},null,-1),Efe=[bfe,wfe,kfe];function Cfe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Efe,14,yfe)}var tk=le(mfe,[["render",Cfe]]);const Sfe=Object.assign(tk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+tk.name,tk)}}),_fe=se({name:"IconTag",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-tag`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Ofe=["stroke-width","stroke-linecap","stroke-linejoin"],Dfe=G("path",{d:"M24.835 6.035a1 1 0 0 1 .903-.273l12.964 2.592a1 1 0 0 1 .784.785l2.593 12.963a1 1 0 0 1-.274.904L21.678 43.133a1 1 0 0 1-1.415 0L4.708 27.577a1 1 0 0 1 0-1.414L24.835 6.035Z"},null,-1),Afe=G("path",{d:"M31.577 17.346a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"},null,-1),xfe=G("path",{d:"M31.582 17.349a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z",fill:"currentColor",stroke:"none"},null,-1),Lfe=[Dfe,Afe,xfe];function Pfe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Lfe,14,Ofe)}var nk=le(_fe,[["render",Pfe]]);const $fe=Object.assign(nk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+nk.name,nk)}}),jfe=se({name:"IconTags",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-tags`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Tfe=["stroke-width","stroke-linecap","stroke-linejoin"],Ife=G("path",{d:"m37.581 28.123-14.849 14.85a1 1 0 0 1-1.414 0L8.59 30.243m25.982-22.68-10.685-.628a1 1 0 0 0-.766.291L9.297 21.052a1 1 0 0 0 0 1.414L20.61 33.78a1 1 0 0 0 1.415 0l13.824-13.825a1 1 0 0 0 .291-.765l-.628-10.686a1 1 0 0 0-.94-.94Zm-6.874 7.729a1 1 0 1 1 1.414-1.414 1 1 0 0 1-1.414 1.414Z"},null,-1),Nfe=G("path",{d:"M27.697 15.292a1 1 0 1 1 1.414-1.414 1 1 0 0 1-1.414 1.414Z",fill:"currentColor",stroke:"none"},null,-1),Bfe=[Ife,Nfe];function Ffe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Bfe,14,Tfe)}var rk=le(jfe,[["render",Ffe]]);const Rfe=Object.assign(rk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+rk.name,rk)}}),Mfe=se({name:"IconThunderbolt",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-thunderbolt`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),zfe=["stroke-width","stroke-linecap","stroke-linejoin"],Ufe=G("path",{d:"M27.824 5.203A.1.1 0 0 1 28 5.27V21h10.782a.1.1 0 0 1 .075.165L20.176 42.797A.1.1 0 0 1 20 42.73V27H9.219a.1.1 0 0 1-.076-.165L27.824 5.203Z"},null,-1),Hfe=[Ufe];function Wfe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Hfe,14,zfe)}var ok=le(Mfe,[["render",Wfe]]);const Vfe=Object.assign(ok,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ok.name,ok)}}),qfe=se({name:"IconTool",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-tool`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Gfe=["stroke-width","stroke-linecap","stroke-linejoin"],Zfe=G("path",{d:"M19.994 11.035c3.66-3.659 9.094-4.46 13.531-2.405a.1.1 0 0 1 .028.16l-6.488 6.488a1 1 0 0 0 0 1.414l4.243 4.243a1 1 0 0 0 1.414 0l6.488-6.488a.1.1 0 0 1 .16.028c2.056 4.437 1.254 9.872-2.405 13.53-3.695 3.696-9.2 4.477-13.66 2.347L12.923 40.733a1 1 0 0 1-1.414 0L7.266 36.49a1 1 0 0 1 0-1.414l10.382-10.382c-2.13-4.46-1.349-9.965 2.346-13.66Z"},null,-1),Yfe=[Zfe];function Jfe(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Yfe,14,Gfe)}var ik=le(qfe,[["render",Jfe]]);const Kfe=Object.assign(ik,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ik.name,ik)}}),Xfe=se({name:"IconTrophy",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-trophy`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Qfe=["stroke-width","stroke-linecap","stroke-linejoin"],ede=G("path",{d:"M24 33c-6.075 0-11-4.925-11-11m11 11c6.075 0 11-4.925 11-11M24 33v8M13 22V7h22v15m-22 0V9H7v7a6 6 0 0 0 6 6Zm22 0V9h6v7a6 6 0 0 1-6 6ZM12 41h24"},null,-1),tde=[ede];function nde(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},tde,14,Qfe)}var ak=le(Xfe,[["render",nde]]);const rde=Object.assign(ak,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ak.name,ak)}}),ode=se({name:"IconUnlock",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-unlock`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),ide=["stroke-width","stroke-linecap","stroke-linejoin"],ade=G("rect",{x:"7",y:"21",width:"34",height:"20",rx:"1"},null,-1),sde=G("path",{d:"M44 15a9 9 0 1 0-18 0v6M24 35v-8"},null,-1),ude=[ade,sde];function lde(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},ude,14,ide)}var sk=le(ode,[["render",lde]]);const cde=Object.assign(sk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+sk.name,sk)}}),fde=se({name:"IconUserAdd",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-user-add`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),dde=["stroke-width","stroke-linecap","stroke-linejoin"],pde=G("path",{d:"M25 27h-8c-5.523 0-10 4.477-10 10v4h18m11-14v8m0 0v8m0-8h8m-8 0h-8m3-21a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"},null,-1),hde=[pde];function gde(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},hde,14,dde)}var uk=le(fde,[["render",gde]]);const vde=Object.assign(uk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+uk.name,uk)}}),mde=se({name:"IconUserGroup",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-user-group`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),yde=["stroke-width","stroke-linecap","stroke-linejoin"],bde=G("circle",{cx:"18",cy:"15",r:"7"},null,-1),wde=G("circle",{cx:"34",cy:"19",r:"4"},null,-1),kde=G("path",{d:"M6 34a6 6 0 0 1 6-6h12a6 6 0 0 1 6 6v6H6v-6ZM34 30h4a4 4 0 0 1 4 4v4h-8"},null,-1),Ede=[bde,wde,kde];function Cde(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ede,14,yde)}var lk=le(mde,[["render",Cde]]);const Sde=Object.assign(lk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+lk.name,lk)}}),_de=se({name:"IconUser",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-user`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Ode=["stroke-width","stroke-linecap","stroke-linejoin"],Dde=G("path",{d:"M7 37c0-4.97 4.03-8 9-8h16c4.97 0 9 3.03 9 8v3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-3Z"},null,-1),Ade=G("circle",{cx:"24",cy:"15",r:"8"},null,-1),xde=[Dde,Ade];function Lde(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},xde,14,Ode)}var ck=le(_de,[["render",Lde]]);const Pde=Object.assign(ck,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+ck.name,ck)}}),$de=se({name:"IconVideoCamera",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-video-camera`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),jde=["stroke-width","stroke-linecap","stroke-linejoin"],Tde=G("path",{d:"M33 18v12m0-12v-6a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v24a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1v-6m0-12 8.713-2.614a1 1 0 0 1 1.287.958v15.312a1 1 0 0 1-1.287.958L33 30M11 19h6"},null,-1),Ide=[Tde];function Nde(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ide,14,jde)}var fk=le($de,[["render",Nde]]);const Bde=Object.assign(fk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+fk.name,fk)}}),Fde=se({name:"IconWifi",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:e=>["butt","round","square"].includes(e)},strokeLinejoin:{type:String,default:"miter",validator:e=>["arcs","bevel","miter","miter-clip","round"].includes(e)},rotate:Number,spin:Boolean},emits:{click:e=>!0},setup(e,{emit:t}){const n=fe("icon"),r=x(()=>[n,`${n}-wifi`,{[`${n}-spin`]:e.spin}]),o=x(()=>{const i={};return e.size&&(i.fontSize=de(e.size)?`${e.size}px`:e.size),e.rotate&&(i.transform=`rotate(${e.rotate}deg)`),i});return{cls:r,innerStyle:o,onClick:i=>{t("click",i)}}}}),Rde=["stroke-width","stroke-linecap","stroke-linejoin"],Mde=G("path",{d:"M31.587 31.485A9.978 9.978 0 0 0 24 28a9.977 9.977 0 0 0-7.586 3.485M37.255 25.822A17.953 17.953 0 0 0 24 20a17.953 17.953 0 0 0-13.256 5.822M43.618 19.449C38.696 14.246 31.728 11 24 11c-7.727 0-14.696 3.246-19.617 8.449"},null,-1),zde=G("path",{d:"M27.535 35.465a5 5 0 0 0-7.07 0L24 39l3.535-3.535Z",fill:"currentColor",stroke:"none"},null,-1),Ude=[Mde,zde];function Hde(e,t,n,r,o,a){return X(),oe("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:re(e.cls),style:ce(e.innerStyle),"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin,onClick:t[0]||(t[0]=(...i)=>e.onClick&&e.onClick(...i))},Ude,14,Rde)}var dk=le(Fde,[["render",Hde]]);const Wde=Object.assign(dk,{install:(e,t)=>{var n;const r=(n=t==null?void 0:t.iconPrefix)!=null?n:"";e.component(r+dk.name,dk)}});function Vde(e){e.use(xX),e.use(IX),e.use(zX),e.use(GX),e.use(QX),e.use(vU),e.use(AQ),e.use(TQ),e.use(MQ),e.use(mU),e.use(KQ),e.use(ree),e.use(lee),e.use(gee),e.use(kee),e.use(Aee),e.use(Iee),e.use(zee),e.use(Gee),e.use(Qee),e.use(ate),e.use(dte),e.use(yte),e.use(Ste),e.use(Lte),e.use(Nte),e.use(Ute),e.use(Jte),e.use(nne),e.use(une),e.use(hne),e.use(kne),e.use(xne),e.use(Nne),e.use(Une),e.use(Yne),e.use(tre),e.use(sre),e.use(gre),e.use(kre),e.use(Dre),e.use(jre),e.use(Rre),e.use(Vre),e.use(Kre),e.use(roe),e.use(loe),e.use(voe),e.use(_oe),e.use(Poe),e.use(Foe),e.use(Woe),e.use(Joe),e.use(nie),e.use(uie),e.use(gie),e.use(kie),e.use(Die),e.use(Iie),e.use(zie),e.use(Zie),e.use(tae),e.use(sae),e.use(pae),e.use(bae),e.use(_ae),e.use(Pae),e.use(Bae),e.use(Vae),e.use(Kae),e.use(ose),e.use(cse),e.use(mse),e.use(Sse),e.use(Lse),e.use(yU),e.use(Use),e.use(Yse),e.use(tue),e.use(sue),e.use(pue),e.use(bue),e.use(Oue),e.use($ue),e.use(Rue),e.use(Vue),e.use(Kue),e.use(rle),e.use(lle),e.use(gle),e.use(kle),e.use(Dle),e.use(jle),e.use(Rle),e.use(Vle),e.use(Xle),e.use(oce),e.use(fce),e.use(mce),e.use(Sce),e.use(Pce),e.use(Bce),e.use(Hce),e.use(Xce),e.use(ofe),e.use(cfe),e.use(vfe),e.use(Sfe),e.use($fe),e.use(Rfe),e.use(Vfe),e.use(Kfe),e.use(rde),e.use(cde),e.use(vde),e.use(Sde),e.use(Pde),e.use(Bde),e.use(Wde)}function jo(e){"@babel/helpers - typeof";return jo=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},jo(e)}function qde(e,t){if(jo(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(jo(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function bU(e){var t=qde(e,"string");return jo(t)=="symbol"?t:t+""}function $i(e,t,n){return(t=bU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L9(e,t,n,r,o,a,i){try{var s=e[a](i),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,o)}function wi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(u){L9(a,r,o,i,s,"next",u)}function s(u){L9(a,r,o,i,s,"throw",u)}i(void 0)})}}var GHe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Gde(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ZHe(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):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 wU={exports:{}},kU={exports:{}};(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(kU);var Zde=kU.exports;(function(e){var t=Zde.default;function n(){e.exports=n=function(){return o},e.exports.__esModule=!0,e.exports.default=e.exports;var r,o={},a=Object.prototype,i=a.hasOwnProperty,s=Object.defineProperty||function(I,j,_){I[j]=_.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(I,j,_){return Object.defineProperty(I,j,{value:_,enumerable:!0,configurable:!0,writable:!0}),I[j]}try{d({},"")}catch{d=function(_,O,L){return _[O]=L}}function p(I,j,_,O){var L=j&&j.prototype instanceof w?j:w,M=Object.create(L.prototype),J=new U(O||[]);return s(M,"_invoke",{value:ie(I,_,J)}),M}function m(I,j,_){try{return{type:"normal",arg:I.call(j,_)}}catch(O){return{type:"throw",arg:O}}}o.wrap=p;var y="suspendedStart",g="suspendedYield",v="executing",h="completed",b={};function w(){}function k(){}function C(){}var E={};d(E,l,function(){return this});var D=Object.getPrototypeOf,A=D&&D(D(Y([])));A&&A!==a&&i.call(A,l)&&(E=A);var B=C.prototype=w.prototype=Object.create(E);function q(I){["next","throw","return"].forEach(function(j){d(I,j,function(_){return this._invoke(j,_)})})}function R(I,j){function _(L,M,J,W){var he=m(I[L],I,M);if(he.type!=="throw"){var Ee=he.arg,De=Ee.value;return De&&t(De)=="object"&&i.call(De,"__await")?j.resolve(De.__await).then(function(Ae){_("next",Ae,J,W)},function(Ae){_("throw",Ae,J,W)}):j.resolve(De).then(function(Ae){Ee.value=Ae,J(Ee)},function(Ae){return _("throw",Ae,J,W)})}W(he.arg)}var O;s(this,"_invoke",{value:function(M,J){function W(){return new j(function(he,Ee){_(M,J,he,Ee)})}return O=O?O.then(W,W):W()}})}function ie(I,j,_){var O=y;return function(L,M){if(O===v)throw Error("Generator is already running");if(O===h){if(L==="throw")throw M;return{value:r,done:!0}}for(_.method=L,_.arg=M;;){var J=_.delegate;if(J){var W=K(J,_);if(W){if(W===b)continue;return W}}if(_.method==="next")_.sent=_._sent=_.arg;else if(_.method==="throw"){if(O===y)throw O=h,_.arg;_.dispatchException(_.arg)}else _.method==="return"&&_.abrupt("return",_.arg);O=v;var he=m(I,j,_);if(he.type==="normal"){if(O=_.done?h:g,he.arg===b)continue;return{value:he.arg,done:_.done}}he.type==="throw"&&(O=h,_.method="throw",_.arg=he.arg)}}}function K(I,j){var _=j.method,O=I.iterator[_];if(O===r)return j.delegate=null,_==="throw"&&I.iterator.return&&(j.method="return",j.arg=r,K(I,j),j.method==="throw")||_!=="return"&&(j.method="throw",j.arg=new TypeError("The iterator does not provide a '"+_+"' method")),b;var L=m(O,I.iterator,j.arg);if(L.type==="throw")return j.method="throw",j.arg=L.arg,j.delegate=null,b;var M=L.arg;return M?M.done?(j[I.resultName]=M.value,j.next=I.nextLoc,j.method!=="return"&&(j.method="next",j.arg=r),j.delegate=null,b):M:(j.method="throw",j.arg=new TypeError("iterator result is not an object"),j.delegate=null,b)}function te(I){var j={tryLoc:I[0]};1 in I&&(j.catchLoc=I[1]),2 in I&&(j.finallyLoc=I[2],j.afterLoc=I[3]),this.tryEntries.push(j)}function F(I){var j=I.completion||{};j.type="normal",delete j.arg,I.completion=j}function U(I){this.tryEntries=[{tryLoc:"root"}],I.forEach(te,this),this.reset(!0)}function Y(I){if(I||I===""){var j=I[l];if(j)return j.call(I);if(typeof I.next=="function")return I;if(!isNaN(I.length)){var _=-1,O=function L(){for(;++_<I.length;)if(i.call(I,_))return L.value=I[_],L.done=!1,L;return L.value=r,L.done=!0,L};return O.next=O}}throw new TypeError(t(I)+" is not iterable")}return k.prototype=C,s(B,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:k,configurable:!0}),k.displayName=d(C,f,"GeneratorFunction"),o.isGeneratorFunction=function(I){var j=typeof I=="function"&&I.constructor;return!!j&&(j===k||(j.displayName||j.name)==="GeneratorFunction")},o.mark=function(I){return Object.setPrototypeOf?Object.setPrototypeOf(I,C):(I.__proto__=C,d(I,f,"GeneratorFunction")),I.prototype=Object.create(B),I},o.awrap=function(I){return{__await:I}},q(R.prototype),d(R.prototype,c,function(){return this}),o.AsyncIterator=R,o.async=function(I,j,_,O,L){L===void 0&&(L=Promise);var M=new R(p(I,j,_,O),L);return o.isGeneratorFunction(j)?M:M.next().then(function(J){return J.done?J.value:M.next()})},q(B),d(B,f,"Generator"),d(B,l,function(){return this}),d(B,"toString",function(){return"[object Generator]"}),o.keys=function(I){var j=Object(I),_=[];for(var O in j)_.push(O);return _.reverse(),function L(){for(;_.length;){var M=_.pop();if(M in j)return L.value=M,L.done=!1,L}return L.done=!0,L}},o.values=Y,U.prototype={constructor:U,reset:function(j){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(F),!j)for(var _ in this)_.charAt(0)==="t"&&i.call(this,_)&&!isNaN(+_.slice(1))&&(this[_]=r)},stop:function(){this.done=!0;var j=this.tryEntries[0].completion;if(j.type==="throw")throw j.arg;return this.rval},dispatchException:function(j){if(this.done)throw j;var _=this;function O(Ee,De){return J.type="throw",J.arg=j,_.next=Ee,De&&(_.method="next",_.arg=r),!!De}for(var L=this.tryEntries.length-1;L>=0;--L){var M=this.tryEntries[L],J=M.completion;if(M.tryLoc==="root")return O("end");if(M.tryLoc<=this.prev){var W=i.call(M,"catchLoc"),he=i.call(M,"finallyLoc");if(W&&he){if(this.prev<M.catchLoc)return O(M.catchLoc,!0);if(this.prev<M.finallyLoc)return O(M.finallyLoc)}else if(W){if(this.prev<M.catchLoc)return O(M.catchLoc,!0)}else{if(!he)throw Error("try statement without catch or finally");if(this.prev<M.finallyLoc)return O(M.finallyLoc)}}}},abrupt:function(j,_){for(var O=this.tryEntries.length-1;O>=0;--O){var L=this.tryEntries[O];if(L.tryLoc<=this.prev&&i.call(L,"finallyLoc")&&this.prev<L.finallyLoc){var M=L;break}}M&&(j==="break"||j==="continue")&&M.tryLoc<=_&&_<=M.finallyLoc&&(M=null);var J=M?M.completion:{};return J.type=j,J.arg=_,M?(this.method="next",this.next=M.finallyLoc,b):this.complete(J)},complete:function(j,_){if(j.type==="throw")throw j.arg;return j.type==="break"||j.type==="continue"?this.next=j.arg:j.type==="return"?(this.rval=this.arg=j.arg,this.method="return",this.next="end"):j.type==="normal"&&_&&(this.next=_),b},finish:function(j){for(var _=this.tryEntries.length-1;_>=0;--_){var O=this.tryEntries[_];if(O.finallyLoc===j)return this.complete(O.completion,O.afterLoc),F(O),b}},catch:function(j){for(var _=this.tryEntries.length-1;_>=0;--_){var O=this.tryEntries[_];if(O.tryLoc===j){var L=O.completion;if(L.type==="throw"){var M=L.arg;F(O)}return M}}throw Error("illegal catch attempt")},delegateYield:function(j,_,O){return this.delegate={iterator:Y(j),resultName:_,nextLoc:O},this.method==="next"&&(this.arg=r),b}},o}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(wU);var Yde=wU.exports,em=Yde(),Jde=em;try{regeneratorRuntime=em}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=em:Function("r","regeneratorRuntime = r")(em)}const Cn=Gde(Jde);function Kde(e){if(Array.isArray(e))return e}function Xde(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,s=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(c){l=!0,o=c}finally{try{if(!u&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw o}}return s}}function a3(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function EU(e,t){if(e){if(typeof e=="string")return a3(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a3(e,t):void 0}}function Qde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lg(e,t){return Kde(e)||Xde(e,t)||EU(e,t)||Qde()}function epe(e){if(Array.isArray(e))return a3(e)}function tpe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function npe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bb(e){return epe(e)||tpe(e)||EU(e)||npe()}var Sh="data-wujie-id",Wm="data-wujie-script-id",CU="data-wujie-Flag",s3="data-container-position-flag",Vm="data-container-overflow-flag",TO="data-loading-flag",P9="data-wujie-attach-css-flag",rpe="wujie_iframe",Tv="_wujie_all_event",ope="position: fixed; z-index: 2147483647; visibility: hidden; inset: 0px; backface-visibility: hidden;",ipe="position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index:1;",ape=`<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="30px" viewBox="0 0 24 30">
- <rect x="0" y="13" width="4" height="5" fill="#909090">
- <animate attributeName="height" attributeType="XML" values="5;21;5" begin="0s" dur="0.6s" repeatCount="indefinite"></animate>
- <animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0s" dur="0.6s" repeatCount="indefinite"></animate>
- </rect>
- <rect x="10" y="13" width="4" height="5" fill="#909090">
- <animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate>
- <animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate>
- </rect>
- <rect x="20" y="13" width="4" height="5" fill="#909090">
- <animate attributeName="height" attributeType="XML" values="5;21;5" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate>
- <animate attributeName="y" attributeType="XML" values="13; 5; 13" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate>
- </rect>
- </svg>`,spe="url参数为空",SU="子应用调用reload无法生效",_U="此报错可以忽略,iframe主动中断主应用代码在子应用运行",upe=_U+",详见:https://github.com/Tencent/wujie/issues/54",$9="事件订阅数量为空",lpe="window上不存在fetch属性,需要自行polyfill",cpe="当前浏览器不支持无界,子应用将采用iframe方式渲染",Rp="脚本请求出现错误",pk="样式请求出现错误",j9="html请求出现错误",T9="无界组件短时间重复渲染了两次,可能存在性能问题请检查代码",fpe="目标Script尚未准备好或已经被移除",dpe="不支持document.getElementById()传入特殊字符,请参考document.querySelector文档";function as(e){return typeof e=="function"}function ppe(e){return(e==null?void 0:e.toUpperCase())==="LINK"||(e==null?void 0:e.toUpperCase())==="STYLE"||(e==null?void 0:e.toUpperCase())==="SCRIPT"||(e==null?void 0:e.toUpperCase())==="IFRAME"}var OU=window.Proxy&&window.CustomElementRegistry,hpe=typeof document.all=="function"&&typeof document.all>"u",I9=new WeakMap,qm=function(t){if(I9.has(t))return!0;var n=hpe?typeof t=="function"&&typeof t<"u":typeof t=="function";return n&&I9.set(t,n),n},hk=new WeakMap;function DU(e){if(hk.has(e))return hk.get(e);var t=e.name.indexOf("bound ")===0&&!e.hasOwnProperty("prototype");return hk.set(e,t),t}var gk=new WeakMap;function IO(e){var t=e.prototype&&e.prototype.constructor===e&&Object.getOwnPropertyNames(e.prototype).length>1;if(t)return!0;if(gk.has(e))return gk.get(e);var n=t;if(!n){var r=e.toString(),o=/^function\b\s[A-Z].*/,a=/^class\b/;n=o.test(r)||a.test(r)}return gk.set(e,n),n}var oo=new WeakMap;function gpe(e,t){qm(t)&&!DU(t)&&!IO(t)&&(oo.has(e)?oo.get(e).has(t)||oo.get(e).set(t,t):(oo.set(e,new WeakMap),oo.get(e).set(t,t)))}function gd(e,t){var n=e[t];if(oo.has(e)&&oo.get(e).has(n))return oo.get(e).get(n);if(qm(n)&&!DU(n)&&!IO(n)){var r=Function.prototype.bind.call(n,e);oo.has(e)||oo.set(e,new WeakMap),oo.get(e).set(n,r);for(var o in n)r[o]=n[o];return n.hasOwnProperty("prototype")&&!r.hasOwnProperty("prototype")&&Object.defineProperty(r,"prototype",{value:n.prototype,enumerable:!1,writable:!0}),r}return n}function AU(e){return window.document.querySelector("iframe[".concat(Sh,'="').concat(e,'"]'))}function wb(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function xU(e){if(!e)throw di(spe),new Error;var t=Si(e),n=t.protocol+"//"+t.host,r=t.pathname+t.search+t.hash;return r.startsWith("/")||(r="/"+r),{urlElement:t,appHostPath:n,appRoutePath:r}}function Si(e){var t=window.document.createElement("a");return t.href=e,t.href=t.href,t}function zf(e){var t=e.search||"";return bb(new URLSearchParams(t).entries()).reduce(function(n,r){return n[r[0]]=r[1],n},{})}function LU(e){var t=zf(Si(window.location.href));return Object.keys(t).includes(e)}function Kl(e,t,n){var r=e.Element.prototype.setAttribute;t.prototype.setAttribute=function(l,c){var f=c;l===n&&(f=As(c,this.baseURI||"",!0)),r.call(this,l,f)};var o=Object.getOwnPropertyDescriptor(t.prototype,n),a=o.enumerable,i=o.configurable,s=o.get,u=o.set;Object.defineProperty(t.prototype,n,{enumerable:a,configurable:i,get:function(){return s.call(this)},set:function(c){u.call(this,As(c,this.baseURI,!0))}})}function kb(e){var t=e;return t.protocol+"//"+t.host+t.pathname}function As(e,t,n){try{return e&&(n&&e.startsWith("#")?e:new URL(e,t).href)}catch{return e}}function vpe(e,t){var n,r=Si(window.location.href),o=zf(r);r=null;var a=window.decodeURIComponent(o[e]||""),i=(n=a.match(/^{([^}]*)}/))===null||n===void 0?void 0:n[1];return t&&i?a.replace("{".concat(i,"}"),t[i]):a}var NO=window.requestIdleCallback||function(e){return setTimeout(e,1)};function PU(e){return typeof e=="string"?document.querySelector(e):e}function gr(e,t){var n;(n=console)===null||n===void 0||n.warn("[wujie warn]: ".concat(e),t)}function di(e,t){var n;(n=console)===null||n===void 0||n.error("[wujie error]: ".concat(e),t)}function u3(e){var t=e.indexOf(">")+1,n=e.lastIndexOf("<");return e.substring(t,n)}function mpe(e){if(jo(e)==="object")return"/";try{var t=new URL(e,location.href),n=t.origin,r=t.pathname,o=r.split("/");return o.pop(),"".concat(n).concat(o.join("/"),"/")}catch(a){return console.warn(a),""}}function Eb(e){return 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];return e.reduce(function(a,i){return as(i)?i.apply(void 0,[a].concat(r)):a},t||"")}}function Iv(e){Promise.resolve().then(e)}function lo(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];try{e&&e.length>0&&e.map(function(a){return a[t]}).filter(function(a){return as(a)}).forEach(function(a){return a.apply(void 0,r)})}catch(a){di(a)}}function Cb(e){var t;return((t=e.tagName)===null||t===void 0?void 0:t.toUpperCase())==="SCRIPT"}var ype=1;function $U(e,t){if(Cb(e)){var n=t||String(ype++);e.setAttribute(Wm,n)}}function jU(e){return Cb(e)?e.getAttribute(Wm):null}function TU(e,t){return{name:e.name,el:e.el||(t==null?void 0:t.el),url:e.url||(t==null?void 0:t.url),html:e.html||(t==null?void 0:t.html),exec:e.exec!==void 0?e.exec:t==null?void 0:t.exec,replace:e.replace||(t==null?void 0:t.replace),fetch:e.fetch||(t==null?void 0:t.fetch),props:e.props||(t==null?void 0:t.props),sync:e.sync!==void 0?e.sync:t==null?void 0:t.sync,prefix:e.prefix||(t==null?void 0:t.prefix),loading:e.loading||(t==null?void 0:t.loading),attrs:e.attrs!==void 0?e.attrs:(t==null?void 0:t.attrs)||{},degradeAttrs:e.degradeAttrs!==void 0?e.degradeAttrs:(t==null?void 0:t.degradeAttrs)||{},fiber:e.fiber!==void 0?e.fiber:(t==null?void 0:t.fiber)!==void 0?t==null?void 0:t.fiber:!0,alive:e.alive!==void 0?e.alive:t==null?void 0:t.alive,degrade:e.degrade!==void 0?e.degrade:t==null?void 0:t.degrade,plugins:e.plugins||(t==null?void 0:t.plugins),lifecycles:{beforeLoad:e.beforeLoad||(t==null?void 0:t.beforeLoad),beforeMount:e.beforeMount||(t==null?void 0:t.beforeMount),afterMount:e.afterMount||(t==null?void 0:t.afterMount),beforeUnmount:e.beforeUnmount||(t==null?void 0:t.beforeUnmount),afterUnmount:e.afterUnmount||(t==null?void 0:t.afterUnmount),activated:e.activated||(t==null?void 0:t.activated),deactivated:e.deactivated||(t==null?void 0:t.deactivated),loadError:e.loadError||(t==null?void 0:t.loadError)}}}function Nv(e,t,n){var r;typeof window.CustomEvent=="function"?r=new CustomEvent(t,{detail:n}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,!0,!1,n)),e.dispatchEvent(r)}function IU(){throw gr(upe),new Error(_U)}var bpe=/(<script[\s\S]*?>)[\s\S]*?<\/script>/gi,wpe=/<(script)\s+((?!type=('|")text\/ng-template\3)[^])*?>[^]*?<\/\1>/i,N9=/.*\ssrc=('|")?([^>'"\s]+)/,kpe=/.*\stype=('|")?([^>'"\s]+)/,Epe=/.*\sentry\s*.*/,Cpe=/.*\sasync\s*.*/,Spe=/.*\sdefer\s*.*/,_pe=/.*\snomodule\s*.*/,Ope=/.*\stype=('|")?module('|")?\s*.*/,Dpe=/<(link)\s+[^]*?>/gi,Ape=/\srel=('|")?(preload|prefetch|modulepreload)\1/,B9=/.*\shref=('|")?([^>'"\s]+)/,xpe=/.*\sas=('|")?font\1.*/,Lpe=/<style[^>]*>[\s\S]*?<\/style>/gi,Ppe=/\s+rel=('|")?stylesheet\1.*/,$pe=/.*\shref=('|")?([^>'"\s]+)/,jpe=/<!--([\s\S]*?)-->/g,Tpe=/<link(\s+|\s+[^]+\s+)ignore(\s*|\s+[^]*|=[^]*)>/i,Ipe=/<style(\s+|\s+[^]+\s+)ignore(\s*|\s+[^]*|=[^]*)>/i,Npe=/<script(\s+|\s+[^]+\s+)ignore(\s*|\s+[^]*|=[^]*)>/i,Bpe=/.*\scrossorigin=?('|")?(use-credentials|anonymous)?('|")?/i;function F9(e){return e.startsWith("//")||e.startsWith("http://")||e.startsWith("https://")}function R9(e,t){return new URL(e,t).toString()}function Fpe(e){var t=["text/javascript","module","application/javascript","text/ecmascript","application/ecmascript"];return!e||t.indexOf(e)!==-1}function xu(e){var t=/<[-\w]+\s+([^>]*)>/i,n=t.exec(e);if(!n)return{};for(var r=n[1],o=/([^\s=]+)\s*=\s*(['"])(.*?)\2/g,a={},i;(i=o.exec(r))!==null;){var s=i[1],u=i[3];a[s]=u}return a}function Rpe(){var e=window.document.createElement("script");return"noModule"in e}var l3=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return"<!-- ".concat(n?"prefetch/preload/modulepreload":""," link ").concat(t," replaced by wujie -->")},NU=function(t){return"<!-- inline-style-".concat(t," replaced by wujie -->")},Mpe=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"<!-- ".concat(n," script ").concat(t," replaced by wujie -->")},zpe="<!-- inline scripts replaced by wujie -->",Bv=function(t){return"<!-- ignore asset ".concat(t||"file"," replaced by wujie -->")},M9=function(t,n){return"<!-- ".concat(n?"nomodule":"module"," script ").concat(t," ignored by wujie -->")};function Upe(e,t,n){var r=[],o=[],a=null,i=Rpe(),s=e.replace(jpe,"").replace(Dpe,function(l){var c=!!l.match(Ppe);if(c){var f=l.match($pe),d=l.match(Tpe);if(f){var p=f&&f[2],m=p;return p&&!F9(p)&&(m=R9(p,t)),d?Bv(m):(o.push({src:m}),l3(m))}}var y=l.match(Ape)&&l.match(B9)&&!l.match(xpe);if(y){var g=l.match(B9),v=Lg(g,3),h=v[2];return l3(h,!0)}return l}).replace(Lpe,function(l){if(Ipe.test(l))return Bv("style file");var c=u3(l);return o.push({src:"",content:c}),NU(o.length-1)}).replace(bpe,function(l,c){var f=c.match(Npe),d=!!c.match(Ope),p=c.match(Bpe),m=(p==null?void 0:p[2])||"",y=i&&!!c.match(_pe)||!i&&d,g=c.match(kpe),v=g&&g[2];if(!Fpe(v))return l;if(wpe.test(l)&&c.match(N9)){var h=c.match(Epe),b=c.match(N9),w=b&&b[2];if(a&&h)throw new SyntaxError("You should not set multiply entry script!");if(w&&!F9(w)&&(w=R9(w,t)),a=a||h&&w,f)return Bv(w||"js file");if(y)return M9(w||"js file",i);if(w){var k=!!c.match(Cpe),C=!!c.match(Spe);return r.push(k||C?{async:k,defer:C,src:w,module:d,crossorigin:!!p,crossoriginType:m,attrs:xu(l)}:{src:w,module:d,crossorigin:!!p,crossoriginType:m,attrs:xu(l)}),Mpe(w,k&&"async"||C&&"defer"||"")}return l}else{if(f)return Bv("js file");if(y)return M9("js file",i);var E=u3(l),D=E.split(/[\r\n]+/).every(function(A){return!A.trim()||A.trim().startsWith("//")});return!D&&E&&r.push({src:"",content:E,module:d,crossorigin:!!p,crossoriginType:m,attrs:xu(l)}),zpe}}),u={template:s,scripts:r,styles:o,entry:a||r[r.length-1]};return u}function c3(e){var t=e.plugins,n=e.replace;return function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0;return Eb(t.map(function(i){return i.cssLoader}))(n?n(r):r,o,a)}}function Hpe(e){var t=e.plugins,n=e.replace;return function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",a=arguments.length>2?arguments[2]:void 0;return Eb(t.map(function(i){return i.jsLoader}))(n?n(r):r,o,a)}}function Gm(e,t){var n=t.map(function(o){return o[e]}).filter(function(o){return o==null?void 0:o.length}),r=n.reduce(function(o,a){return o.concat(a)},[]);return e==="cssBeforeLoaders"?r.reverse():r}function Xa(e,t){return t.map(function(n){return n[e]}).filter(function(n){return n==null?void 0:n.length}).reduce(function(n,r){return n.concat(r)},[])}function Qa(e,t){return t.some(function(n){return typeof n=="string"?e===n:n.test(e)})}function Wpe(e,t,n){var r=t?As(t,n):n,o=/url\((['"]?)((?:[^()]+|\((?:[^()]+|\([^()]*\))*\))*)(\1)\)/g;return e.replace(o,function(a,i,s,u){var l=/^data:/,c=l.test(s);return c?a:"url(".concat(i).concat(As(s,r)).concat(u,")")})}var z9={cssLoader:Wpe,cssBeforeLoaders:[{content:"html {view-transition-name: none;}"}]};function BU(e){return Array.isArray(e)?[z9].concat(bb(e)):[z9]}function U9(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 Rc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?U9(Object(n),!0).forEach(function(r){$i(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U9(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Vpe={},vk={},mk={};if(!window.fetch)throw di(lpe),new Error;var BO=window.fetch.bind(window);function qpe(e){return e}function FU(e,t,n){return f3.apply(this,arguments)}function f3(){return f3=wi(Cn.mark(function e(t,n,r){var o,a,i,s;return Cn.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return o=kb(t.proxyLocation),a=Eb(t.plugins.map(function(c){return c.cssLoader})),i=r().map(function(c){var f=c.src,d=c.ignore,p=c.contentPromise;return{src:f,ignore:d,contentPromise:p.then(function(m){return a(m,f,o)})}}),l.next=5,Gpe(n,i);case 5:return s=l.sent,l.abrupt("return",t.replace?t.replace(s):s);case 7:case"end":return l.stop()}},e)})),f3.apply(this,arguments)}function Gpe(e,t){return d3.apply(this,arguments)}function d3(){return d3=wi(Cn.mark(function e(t,n){var r;return Cn.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return r=t,a.abrupt("return",Promise.all(n.map(function(i,s){return i.contentPromise.then(function(u){i.src?r=r.replace(l3(i.src),i.ignore?'<link href="'.concat(i.src,'" rel="stylesheet" type="text/css">'):"<style>/* ".concat(i.src," */").concat(u,"</style>")):u&&(r=r.replace(NU(s),"<style>/* inline-style-".concat(s," */").concat(u,"</style>")))})})).then(function(){return r}));case 2:case"end":return a.stop()}},e)})),d3.apply(this,arguments)}var Zpe=function(t){return t.startsWith("<")},tm=function(t,n,r,o,a){return n[t]||(n[t]=r(t).then(function(i){if(i.status>=400){if(n[t]=null,o)return di(pk,{src:t,response:i}),a==null||a(t,new Error(pk)),"";throw di(Rp,{src:t,response:i}),a==null||a(t,new Error(Rp)),new Error(Rp)}return i.text()}).catch(function(i){return n[t]=null,o?(di(pk,t),a==null||a(t,i),""):(di(Rp,t),a==null||a(t,i),"")}))};function Zm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:BO,n=arguments.length>2?arguments[2]:void 0;return e.map(function(r){var o=r.src,a=r.content,i=r.ignore;return a?{src:"",contentPromise:Promise.resolve(a)}:Zpe(o)?{src:"",contentPromise:Promise.resolve(u3(o))}:{src:o,ignore:i,contentPromise:i?Promise.resolve(""):tm(o,Vpe,t,!0,n)}})}function RU(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:BO,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return e.map(function(o){var a=o.src,i=o.async,s=o.defer,u=o.module,l=o.ignore,c=null;return(i||s)&&a&&!u?c=new Promise(function(f,d){return r?NO(function(){return tm(a,vk,t,!1,n).then(f,d)}):tm(a,vk,t,!1,n).then(f,d)}):u&&a||l?c=Promise.resolve(""):a?c=tm(a,vk,t,!1,n):c=Promise.resolve(o.content),u&&!i&&(o.defer=!0),Rc(Rc({},o),{},{contentPromise:c})})}function p3(e){var t,n,r=e.url,o=e.opts,a=e.html,i=(t=o.fetch)!==null&&t!==void 0?t:BO,s=(n=o.fiber)!==null&&n!==void 0?n:!0,u=o.plugins,l=o.loadError,c=u?Eb(u.map(function(v){return v.htmlLoader})):qpe,f=Xa("jsExcludes",u),d=Xa("cssExcludes",u),p=Xa("jsIgnores",u),m=Xa("cssIgnores",u),y=mpe,g=function(h,b,w){return(b?Promise.resolve(b):i(h).then(function(k){return k.status>=400?(di(j9,{url:h,response:k}),l==null||l(h,new Error(j9)),""):k.text()}).catch(function(k){return mk[h]=null,l==null||l(h,k),Promise.reject(k)})).then(function(k){var C=y(h),E=Upe(w(k),C),D=E.template,A=E.scripts,B=E.styles;return{template:D,assetPublicPath:C,getExternalScripts:function(){return RU(A.filter(function(R){return!R.src||!Qa(R.src,f)}).map(function(R){return Rc(Rc({},R),{},{ignore:R.src&&Qa(R.src,p)})}),i,l,s)},getExternalStyleSheets:function(){return Zm(B.filter(function(R){return!R.src||!Qa(R.src,d)}).map(function(R){return Rc(Rc({},R),{},{ignore:R.src&&Qa(R.src,m)})}),i,l)}}})};return o!=null&&o.plugins.some(function(v){return v.htmlLoader})?g(r,a,c):mk[r]||(mk[r]=g(r,a,c))}function FO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H9(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,bU(r.key),r)}}function RO(e,t,n){return t&&H9(e.prototype,t),n&&H9(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ype(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jpe(e,t){if(t&&(jo(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ype(e)}function _h(e){return _h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_h(e)}function Oh(e,t){return Oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Oh(e,t)}function Kpe(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oh(e,t)}function Xpe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function MU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(MU=function(){return!!e})()}function Qpe(e,t,n){if(MU())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&Oh(o,n.prototype),o}function h3(e){var t=typeof Map=="function"?new Map:void 0;return h3=function(r){if(r===null||!Xpe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Qpe(r,arguments,_h(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Oh(o,r)},h3(e)}function W9(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 Ym(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?W9(Object(n),!0).forEach(function(r){$i(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W9(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var fo=window.__POWERED_BY_WUJIE__?window.__WUJIE.inject.idToSandboxMap:new Map;function fa(e){var t;return((t=fo.get(e))===null||t===void 0?void 0:t.wujie)||null}function zU(e){var t;return((t=fo.get(e))===null||t===void 0?void 0:t.options)||null}function ehe(e,t){var n=fo.get(e);n?fo.set(e,Ym(Ym({},n),{},{wujie:t})):fo.set(e,{wujie:t})}function the(e){var t=fo.get(e);t!=null&&t.options&&fo.set(e,{options:t.options}),fo.delete(e)}function nhe(e,t){var n=fo.get(e);n?fo.set(e,Ym(Ym({},n),{},{options:t})):fo.set(e,{options:t})}var Ln={modifyLocalProperties:["createElement","createTextNode","documentURI","URL","getElementsByTagName","getElementById"],modifyProperties:["createElement","createTextNode","documentURI","URL","getElementsByTagName","getElementsByClassName","getElementsByName","getElementById","querySelector","querySelectorAll","documentElement","scrollingElement","forms","images","links"],shadowProperties:["activeElement","childElementCount","children","firstElementChild","firstChild","fullscreenElement","lastElementChild","pictureInPictureElement","pointerLockElement","styleSheets"],shadowMethods:["append","contains","getSelection","elementFromPoint","elementsFromPoint","getAnimations","replaceChildren"],documentProperties:["characterSet","compatMode","contentType","designMode","dir","doctype","embeds","fullscreenEnabled","hidden","implementation","lastModified","pictureInPictureEnabled","plugins","readyState","referrer","visibilityState","fonts"],documentMethods:["execCommand","caretPositionFromPoint","createRange","exitFullscreen","exitPictureInPicture","getElementsByTagNameNS","hasFocus","prepend"],documentEvents:["onpointerlockchange","onpointerlockerror","onbeforecopy","onbeforecut","onbeforepaste","onfreeze","onresume","onsearch","onfullscreenchange","onfullscreenerror","onsecuritypolicyviolation","onvisibilitychange"],ownerProperties:["head","body"]},V9=["DOMContentLoaded","readystatechange"],rhe=["onreadystatechange"],q9=["fullscreenchange","fullscreenerror","selectionchange","visibilitychange","wheel","keydown","keypress","keyup"],G9=["gotpointercapture","lostpointercapture"],Z9=["hashchange","popstate","DOMContentLoaded","load","beforeunload","unload","message","error","unhandledrejection"],ohe=["onload","onbeforeunload","onunload","onerror","onunhandledrejection"],ihe={IMG:"src",A:"href",SOURCE:"src"},ahe=["getComputedStyle","visualViewport","matchMedia","DOMParser"],she=[/animationFrame$/i,/resizeObserver$|mutationObserver$|intersectionObserver$/i,/height$|width$|left$/i,/^screen/i,/CSSStyleSheet$/i,/X$|Y$/],UU=HTMLElement.prototype.appendChild,HU=HTMLElement.prototype.removeChild,Y9=HTMLElement.prototype.contains,uhe=HTMLHeadElement.prototype.insertBefore,lhe=HTMLBodyElement.prototype.insertBefore,MO=Node.prototype.addEventListener,Sb=Node.prototype.removeEventListener,J9=window.addEventListener,K9=window.removeEventListener,fl=Node.prototype.appendChild,dl=window.__POWERED_BY_WUJIE__?window.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__:Document.prototype.querySelector;function X9(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 Xl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?X9(Object(n),!0).forEach(function(r){$i(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X9(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function che(e,t){return Object.defineProperties(e,{srcElement:{get:t},target:{get:t}}),e}function Fv(e,t){var n=new CustomEvent(t),r=che(n,function(){return e});as(e["on".concat(t)])?e["on".concat(t)](r):e.dispatchEvent(r)}function Mc(e,t){if(!(!e.innerHTML||t.degrade)){var n=function(){var o=JU([e.sheet]),a=Lg(o,2),i=a[0],s=a[1];i&&t.shadowRoot.head.appendChild(i),s&&t.shadowRoot.host.appendChild(s),e._patcher=void 0};e._patcher&&clearTimeout(e._patcher),e._patcher=setTimeout(n,50)}}function fhe(e,t,n,r){var o;if(e._hasPatchStyle)return;var a=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML"),i=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerText"),s=Object.getOwnPropertyDescriptor(Node.prototype,"textContent"),u=(o=e.sheet)===null||o===void 0?void 0:o.insertRule;function l(){u&&(e.sheet.insertRule=function(c,f){return a?e.innerHTML+=c:e.innerText+=c,u.call(e.sheet,c,f)})}l(),a&&Object.defineProperties(e,{innerHTML:{get:function(){return a.get.call(e)},set:function(f){var d=this;a.set.call(e,t(f,"",r)),Iv(function(){return Mc(d,n)})}}}),Object.defineProperties(e,{innerText:{get:function(){return i.get.call(e)},set:function(f){var d=this;i.set.call(e,t(f,"",r)),Iv(function(){return Mc(d,n)})}},textContent:{get:function(){return s.get.call(e)},set:function(f){var d=this;s.set.call(e,t(f,"",r)),Iv(function(){return Mc(d,n)})}},appendChild:{value:function(f){var d=this;if(Iv(function(){return Mc(d,n)}),f.nodeType===Node.TEXT_NODE){var p=fl.call(e,e.ownerDocument.createTextNode(t(f.textContent,"",r)));return l(),p}else return fl(f)}},_hasPatchStyle:{get:function(){return!0}}})}var Q9=Promise.resolve();function Rv(e){return function(n,r){var o=this,a=n,i=e.rawDOMAppendOrInsertBefore,s=e.wujieId,u=fa(s),l=u.styleSheetElements,c=u.replace,f=u.fetch,d=u.plugins,p=u.iframe,m=u.lifecycles,y=u.proxyLocation,g=u.fiber;if(!ppe(a.tagName)||!s){var v=i.call(this,a,r);return oa(a,p.contentWindow),lo(d,"appendOrInsertElementHook",a,p.contentWindow),v}var h=p.contentDocument,b=kb(y);if(a.tagName){var w;switch((w=a.tagName)===null||w===void 0?void 0:w.toUpperCase()){case"LINK":{var k=a,C=k.href,E=k.rel,D=k.type,A=E==="stylesheet"||D==="text/css"||C.endsWith(".css");if(!A){var B=i.call(this,a,r);return lo(d,"appendOrInsertElementHook",a,p.contentWindow),B}C&&!Qa(C,Xa("cssExcludes",d))&&Zm([{src:C,ignore:Qa(C,Xa("cssIgnores",d))}],f,m.loadError).forEach(function(he){var Ee=he.src,De=he.ignore,Ae=he.contentPromise;return Ae.then(function(pe){var Ve=xu(a.outerHTML);if(De&&Ee)i.call(o,a,r);else{var Ne=h.createElement("style"),xe=c3({plugins:d,replace:c});Ne.innerHTML=xe(pe,Ee,b),l.push(Ne),wb(Ne,Ve),i.call(o,Ne,r),Mc(Ne,u),Fv(a,"load")}a=null},function(){Fv(a,"error"),a=null})});var q=h.createComment("dynamic link ".concat(C," replaced by wujie"));return i.call(this,q,r)}case"STYLE":{var R=n;l.push(R);var ie=R.innerHTML,K=c3({plugins:d,replace:c});ie&&(R.innerHTML=K(ie,"",b));var te=i.call(this,a,r);return fhe(R,K,u,b),Mc(R,u),lo(d,"appendOrInsertElementHook",a,p.contentWindow),te}case"SCRIPT":{$U(a);var F=a,U=F.src,Y=F.text,I=F.type,j=F.crossOrigin;if(U&&!Qa(U,Xa("jsExcludes",d))){var _=function(Ee){if(u.iframe===null)return gr(T9);var De=function(){Fv(a,"load"),a=null};Do(Xl(Xl({},Ee),{},{onload:De}),u.iframe.contentWindow,a)},O={src:U,module:I==="module",crossorigin:j!==null,crossoriginType:j||"",ignore:Qa(U,Xa("jsIgnores",d)),attrs:xu(a.outerHTML)};RU([O],f,m.loadError,g).forEach(function(he){Q9=Q9.then(function(){return he.contentPromise.then(function(Ee){var De;if(u.execQueue===null)return gr(T9);var Ae=(De=u.execQueue)===null||De===void 0?void 0:De.length;u.execQueue.push(function(){return g?u.requestIdleCallback(function(){_(Xl(Xl({},he),{},{content:Ee}))}):_(Xl(Xl({},he),{},{content:Ee}))}),Ae||u.execQueue.shift()()},function(){Fv(a,"error"),a=null})})})}else{var L,M=(L=u.execQueue)===null||L===void 0?void 0:L.length;u.execQueue.push(function(){return g?u.requestIdleCallback(function(){Do({src:null,content:Y,attrs:xu(a.outerHTML)},u.iframe.contentWindow,a)}):Do({src:null,content:Y,attrs:xu(a.outerHTML)},u.iframe.contentWindow,a)}),M||u.execQueue.shift()()}var J=h.createComment("dynamic script ".concat(U," replaced by wujie"));return i.call(this,J,r)}case"IFRAME":{if(a.getAttribute(CU)==="")return fl.call(dl.call(this.ownerDocument,"html"),a);var W=i.call(this,a,r);return lo(d,"appendOrInsertElementHook",a,p.contentWindow),W}}}}}function WU(e,t){var n=jU(e),r=fa(t),o=r.iframe,a=o.contentWindow.__WUJIE_RAW_DOCUMENT_HEAD__.querySelector("script[".concat(Wm,"='").concat(n,"']"));return a===null&&gr(fpe,"<script ".concat(Wm,"='").concat(n,"'/>")),{targetScript:a,iframe:o}}function eL(e){return function(n){var r=n,o=e.rawElementContains,a=e.wujieId;if(r&&Cb(r)){var i=WU(r,a),s=i.targetScript;return s!==null}return o(r)}}function dhe(e){return function(n){var r=n,o=e.rawElementRemoveChild,a=e.wujieId;if(r&&Cb(r)){var i=WU(r,a),s=i.targetScript,u=i.iframe;return s!==null?u.contentWindow.__WUJIE_RAW_DOCUMENT_HEAD__.removeChild(s):null}return o(r)}}function tL(e){var t=new Map;e._cacheListeners=t,e.addEventListener=function(n,r,o){var a=t.get(n)||[];return t.set(n,[].concat(bb(a),[r])),MO.call(e,n,r,o)},e.removeEventListener=function(n,r,o){var a=t.get(n),i=a==null?void 0:a.indexOf(r);return a!=null&&a.length&&i!==-1&&a.splice(i,1),Sb.call(e,n,r,o)}}function nL(e){var t=e._cacheListeners;bb(t.entries()).forEach(function(n){var r=Lg(n,2),o=r[0],a=r[1];a.forEach(function(i){return Sb.call(e,o,i)})})}function VU(e,t,n){n||(tL(e.head),tL(e.body)),e.head.appendChild=Rv({rawDOMAppendOrInsertBefore:fl,wujieId:t}),e.head.insertBefore=Rv({rawDOMAppendOrInsertBefore:uhe,wujieId:t}),e.head.removeChild=dhe({rawElementRemoveChild:HU.bind(e.head),wujieId:t}),e.head.contains=eL({rawElementContains:Y9.bind(e.head),wujieId:t}),e.contains=eL({rawElementContains:Y9.bind(e),wujieId:t}),e.body.appendChild=Rv({rawDOMAppendOrInsertBefore:fl,wujieId:t}),e.body.insertBefore=Rv({rawDOMAppendOrInsertBefore:lhe,wujieId:t})}function rL(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 oL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rL(Object(n),!0).forEach(function(r){$i(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function phe(e,t,n){return t=_h(t),Jpe(e,qU()?Reflect.construct(t,n||[],_h(e).constructor):t.apply(e,n))}function qU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(qU=function(){return!!e})()}var hhe={":root":":host"};function ghe(){var e=window.customElements;if(e&&!(e!=null&&e.get("wujie-app"))){var t=function(n){function r(){return FO(this,r),phe(this,r,arguments)}return Kpe(r,n),RO(r,[{key:"connectedCallback",value:function(){if(!this.shadowRoot){var a=this.attachShadow({mode:"open"}),i=fa(this.getAttribute(Sh));oa(a,i.iframe.contentWindow),i.shadowRoot=a}}},{key:"disconnectedCallback",value:function(){var a=fa(this.getAttribute(Sh));a==null||a.unmount()}}])}(h3(HTMLElement));e==null||e.define("wujie-app",t)}}function vhe(e){var t=window.document.createElement("wujie-app");return t.setAttribute(Sh,e),t.classList.add(rpe),t}function pl(e,t){var n=PU(t);return n&&!n.contains(e)&&(n.querySelector("div[".concat(TO,"]"))||Cu(n),e&&UU.call(n,e)),n}function GU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=bhe(e,n),o=pl(r,t),a=r.contentWindow.document;return a.open(),a.write("<!DOCTYPE html><html><head></head><body></body></html>"),a.close(),{iframe:r,container:o}}function ZU(e,t){return g3.apply(this,arguments)}function g3(){return g3=wi(Cn.mark(function e(t,n){var r,o,a,i,s,u,l,c;return Cn.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=t.iframe.contentDocument,o=t.plugins,a=t.replace,i=t.proxyLocation,s=c3({plugins:o,replace:a}),u=Gm("cssBeforeLoaders",o),l=Gm("cssAfterLoaders",o),c=kb(i),d.next=8,Promise.all([Promise.all(Zm(u,t.fetch,t.lifecycles.loadError).map(function(p){var m=p.src,y=p.contentPromise;return y.then(function(g){return{src:m,content:g}})})).then(function(p){p.forEach(function(m){var y=m.src,g=m.content;if(g){var v=r.createElement("style");v.setAttribute("type","text/css"),v.appendChild(r.createTextNode(g&&s(g,y,c)));var h=n.querySelector("head"),b=n.querySelector("body");n.insertBefore(v,h||b||n.firstChild)}})}),Promise.all(Zm(l,t.fetch,t.lifecycles.loadError).map(function(p){var m=p.src,y=p.contentPromise;return y.then(function(g){return{src:m,content:g}})})).then(function(p){p.forEach(function(m){var y=m.src,g=m.content;if(g){var v=r.createElement("style");v.setAttribute("type","text/css"),v.appendChild(r.createTextNode(g&&s(g,y,c))),n.appendChild(v)}})})]).then(function(){return n},function(){return n});case 8:return d.abrupt("return",d.sent);case 9:case"end":return d.stop()}},e)})),g3.apply(this,arguments)}function mhe(e,t,n){var r=e.querySelector("head"),o=e.querySelector("body");if(r){for(;r.firstChild;)fl.call(t,r.firstChild.cloneNode(!0)),r.removeChild(r.firstChild);r.parentNode.replaceChild(t,r)}if(o){for(;o.firstChild;)fl.call(n,o.firstChild.cloneNode(!0)),o.removeChild(o.firstChild);o.parentNode.replaceChild(n,o)}return e}function YU(e,t){var n=e.__WUJIE,r=n.head,o=n.body,a=n.alive,i=n.execFlag,s=e.document,u=new DOMParser,l=u.parseFromString(t,"text/html"),c=l.documentElement;!a&&i?c=mhe(c,r,o):(n.head=c.querySelector("head"),n.body=c.querySelector("body"));for(var f=s.createTreeWalker(c,NodeFilter.SHOW_ELEMENT,null,!1),d=f.currentNode;d;){oa(d,e);var p=ihe[d.tagName],m=d[p];p&&d.setAttribute(p,As(m,d.baseURI||"")),d=f.nextNode()}if(!c.querySelector("head")){var y=s.createElement("head");c.appendChild(y)}if(!c.querySelector("body")){var g=s.createElement("body");c.appendChild(g)}return c}function yhe(e,t,n){return v3.apply(this,arguments)}function v3(){return v3=wi(Cn.mark(function e(t,n,r){var o,a,i;return Cn.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return o=YU(n,r),u.next=3,ZU(n.__WUJIE,o);case 3:a=u.sent,t.appendChild(a),i=document.createElement("div"),i.setAttribute("style",ope),a.insertBefore(i,a.firstChild),t.head=t.querySelector("head"),t.body=t.querySelector("body"),Object.defineProperty(t.firstChild,"parentNode",{enumerable:!0,configurable:!0,get:function(){return n.document}}),VU(t,n.__WUJIE.id,!1);case 12:case"end":return u.stop()}},e)})),v3.apply(this,arguments)}function bhe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=document.createElement("iframe"),r="height:100%;width:100%";return wb(n,oL(oL({},t),{},$i({style:[r,t.style].join(";")},Sh,e))),n}function iL(e,t,n){return m3.apply(this,arguments)}function m3(){return m3=wi(Cn.mark(function e(t,n,r){var o,a;return Cn.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return o=YU(n,r),s.next=3,ZU(n.__WUJIE,o);case 3:a=s.sent,t.replaceChild(a,t.documentElement),Object.defineProperty(t.documentElement,"parentNode",{enumerable:!0,configurable:!0,get:function(){return n.document}}),VU(t,n.__WUJIE.id,!0);case 7:case"end":return s.stop()}},e)})),m3.apply(this,arguments)}function Cu(e){for(;e!=null&&e.firstChild;)HU.call(e,e.firstChild)}function whe(e,t){var n=PU(e);Cu(n);var r=null;try{r=window.getComputedStyle(n)}catch{return}r.position==="static"?(n.setAttribute(s3,r.position),n.setAttribute(Vm,r.overflow==="visible"?"":r.overflow),n.style.setProperty("position","relative"),n.style.setProperty("overflow","hidden")):["relative","sticky"].includes(r.position)&&(n.setAttribute(Vm,r.overflow==="visible"?"":r.overflow),n.style.setProperty("overflow","hidden"));var o=document.createElement("div");o.setAttribute(TO,""),o.setAttribute("style",ipe),t?o.appendChild(t):o.innerHTML=ape,n.appendChild(o)}function aL(e){var t=e.getAttribute(s3),n=e.getAttribute(Vm);t&&e.style.removeProperty("position"),n!==null&&(n?e.style.setProperty("overflow",n):e.style.removeProperty("overflow")),e.removeAttribute(s3),e.removeAttribute(Vm);var r=e.querySelector("div[".concat(TO,"]"));r&&e.removeChild(r)}function JU(e){for(var t=[],n=[],r=/:root/g,o=0;o<e.length;o++)for(var a,i,s=(a=(i=e[o])===null||i===void 0?void 0:i.cssRules)!==null&&a!==void 0?a:[],u=0;u<s.length;u++){var l=s[u].cssText;r.test(l)&&t.push(l.replace(r,function(d){return hhe[d]})),s[u].type===CSSRule.FONT_FACE_RULE&&n.push(l)}var c=null,f=null;return t.length&&(c=window.document.createElement("style"),c.innerHTML=t.join("")),n.length&&(f=window.document.createElement("style"),f.innerHTML=n.join("")),[c,f]}function sf(e){var t=e.__WUJIE,n=t.sync,r=t.id,o=t.prefix,a=Si(window.location.href),i=zf(a);if(!n&&!i[r])return a=null;var s=e.location.pathname+e.location.search+e.location.hash,u="";o&&Object.keys(o).forEach(function(c){var f=o[c];s.startsWith(f)&&(!u||f.length>o[u].length)&&(u=c)}),n?i[r]=window.encodeURIComponent(u?s.replace(o[u],"{".concat(u,"}")):s):delete i[r];var l="?"+Object.keys(i).map(function(c){return c+"="+i[c]}).join("&");a.search=l,a.href!==window.location.href&&window.history.replaceState(null,"",a.href),a=null}function khe(e){var t=e.location,n=t.pathname,r=t.search,o=t.hash,a=e.__WUJIE,i=a.id,s=a.url,u=a.sync,l=a.execFlag,c=a.prefix,f=a.inject,d=u&&!l?vpe(i,c):s,p=(/^http/.test(d)?null:d)||s,m=xU(p),y=m.appRoutePath,g=n+r+o;g!==y&&e.history.replaceState(null,"",f.mainHostPath+y)}function Ehe(){var e=Si(window.location.href),t=zf(e);Object.keys(t).forEach(function(r){var o=fa(r);o&&o.execFlag&&o.sync&&!o.hrefFlag&&!o.activeFlag&&delete t[r]});var n="?"+Object.keys(t).map(function(r){return r+"="+t[r]}).join("&");e.search=n,e.href!==window.location.href&&window.history.replaceState(null,"",e.href),e=null}function Che(e,t){var n=Si(window.location.href),r=zf(n);r[e]=window.encodeURIComponent(t);var o="?"+Object.keys(r).map(function(a){return a+"="+r[a]}).join("&");n.search=o,window.history.pushState(null,"",n.href),n=null}function She(){window.addEventListener("popstate",function(){var e=Si(window.location.href),t=zf(e);e=null,Object.keys(t).map(function(n){return fa(n)}).filter(function(n){return n}).forEach(function(n){var r=t[n.id],o=dl.call(n.iframe.contentDocument,"body");if(/http/.test(r))n.degrade?(pl(n.document.documentElement,o),Km(window.decodeURIComponent(r),AU(n.id).parentElement,n.degradeAttrs)):Km(window.decodeURIComponent(r),n.shadowRoot.host.parentElement,n.degradeAttrs),n.hrefFlag=!0;else if(n.hrefFlag){if(n.degrade){var a=GU(n.id,n.el,n.degradeAttrs),i=a.iframe;KU(i.contentWindow,n.iframe.contentWindow),i.contentWindow.onunload=function(){n.unmount()},i.contentDocument.appendChild(o.firstElementChild),n.document=i.contentDocument}else pl(n.shadowRoot.host,n.el);n.hrefFlag=!1}})})}function sL(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 Jm(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sL(Object(n),!0).forEach(function(r){$i(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _he(e){e.__WUJIE_EVENTLISTENER__=e.__WUJIE_EVENTLISTENER__||new Set,e.addEventListener=function(n,r,o){if(lo(e.__WUJIE.plugins,"windowAddEventListenerHook",e,n,r,o),e.__WUJIE_EVENTLISTENER__.add({type:n,listener:r,options:o}),Z9.includes(n)||jo(o)==="object"&&o.targetWindow){var a=jo(o)==="object"&&o.targetWindow?o==null?void 0:o.targetWindow:e;return J9.call(a,n,r,o)}J9.call(window.__WUJIE_RAW_WINDOW__||window,n,r,o)},e.removeEventListener=function(n,r,o){if(lo(e.__WUJIE.plugins,"windowRemoveEventListenerHook",e,n,r,o),e.__WUJIE_EVENTLISTENER__.forEach(function(i){i.listener===r&&i.type===n&&o==i.options&&e.__WUJIE_EVENTLISTENER__.delete(i)}),Z9.includes(n)||jo(o)==="object"&&o.targetWindow){var a=jo(o)==="object"&&o.targetWindow?o==null?void 0:o.targetWindow:e;return K9.call(a,n,r,o)}K9.call(window.__WUJIE_RAW_WINDOW__||window,n,r,o)}}function uL(e,t,n){e.__WUJIE=t,e.__WUJIE_PUBLIC_PATH__=n+"/",e.$wujie=t.provide,e.__WUJIE_RAW_WINDOW__=e}function Ohe(e,t,n){var r=e.history,o=r.pushState,a=r.replaceState;r.pushState=function(i,s,u){var l=n+e.location.pathname+e.location.search+e.location.hash,c=As(u==null?void 0:u.replace(t,""),l),f=u===void 0;o.call(r,i,s,f?void 0:c),!f&&(lL(e,t,n),sf(e))},r.replaceState=function(i,s,u){var l=n+e.location.pathname+e.location.search+e.location.hash,c=As(u==null?void 0:u.replace(t,""),l),f=u===void 0;a.call(r,i,s,f?void 0:c),!f&&(lL(e,t,n),sf(e))}}function lL(e,t,n){var r,o=new URL((r=e.location.href)===null||r===void 0?void 0:r.replace(n,""),t),a=dl.call(e.document,"base");a&&a.setAttribute("href",t+o.pathname)}function Dhe(e){function t(r){var o=e[r];try{return typeof o=="function"&&!IO(o)?e[r]=window[r].bind(window):e[r]=window[r],!0}catch(a){return gr(a.message),!1}}Object.getOwnPropertyNames(e).forEach(function(r){if(r==="getSelection"){Object.defineProperty(e,r,{get:function(){return e.document[r]}});return}if(ahe.includes(r)){t(r);return}she.some(function(o){return o.test(r)&&r in e.parent?t(r):!1})});var n=Object.getOwnPropertyNames(window).filter(function(r){return/^on/.test(r)}).filter(function(r){return!ohe.includes(r)});n.forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r)||{enumerable:!0,writable:!0};try{Object.defineProperty(e,r,{enumerable:o.enumerable,configurable:!0,get:function(){return window[r]},set:o.writable||o.set?function(a){window[r]=typeof a=="function"?a.bind(e):a}:void 0})}catch(a){gr(a.message)}}),lo(e.__WUJIE.plugins,"windowPropertyOverride",e)}function Ahe(e){var t=e.__WUJIE;e.Node.prototype.addEventListener=function(n,r,o){var a=t.elementEventCacheMap.get(this);return a?a.find(function(i){return i.type===n&&i.handler===r})||a.push({type:n,handler:r,options:o}):t.elementEventCacheMap.set(this,[{type:n,handler:r,options:o}]),MO.call(this,n,r,o)},e.Node.prototype.removeEventListener=function(n,r,o){var a=t.elementEventCacheMap.get(this);if(a){var i=a==null?void 0:a.findIndex(function(s){return s.type===n&&s.handler===r});a.splice(i,1)}return a!=null&&a.length||t.elementEventCacheMap.delete(this),Sb.call(this,n,r,o)}}function xhe(e,t){for(var n=t.__WUJIE,r=new WeakMap,o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,null,!1),a=o.currentNode;a;){var i=n.elementEventCacheMap.get(a);i!=null&&i.length&&(r.set(a,i),i.forEach(function(s){a.addEventListener(s.type,s.handler,s.options)})),a=o.nextNode()}n.elementEventCacheMap=r}function Lhe(e,t,n){var r=n.__WUJIE,o=new WeakMap,a=r.elementEventCacheMap.get(e);a!=null&&a.length&&(o.set(t,a),a.forEach(function(i){t.addEventListener(i.type,i.handler,i.options)})),r.elementEventCacheMap=o}function KU(e,t){Object.defineProperty(e.Event.prototype,"timeStamp",{get:function(){return t.document.createEvent("Event").timeStamp}})}function Phe(e){var t=e.__WUJIE,n=new WeakMap,r=new WeakMap;e.Document.prototype.addEventListener=function(p,m,y){if(m){var g=n.get(m),v=r.get(m);if(g||(g=typeof m=="function"?m.bind(this):m,n.set(m,g)),v?v.includes(p)||v.push(p):r.set(m,[p]),lo(e.__WUJIE.plugins,"documentAddEventListenerHook",e,p,g,y),V9.includes(p))return MO.call(this,p,g,y);if(t.degrade)return t.document.addEventListener(p,g,y);if(q9.includes(p))return window.document.addEventListener(p,g,y);if(G9.includes(p)){window.document.addEventListener(p,g,y),t.shadowRoot.addEventListener(p,g,y);return}t.shadowRoot.addEventListener(p,g,y)}},e.Document.prototype.removeEventListener=function(p,m,y){var g=n.get(m),v=r.get(m);if(g){if(v!=null&&v.includes(p)&&(v.splice(v.indexOf(p),1),v.length||(n.delete(m),r.delete(m))),lo(e.__WUJIE.plugins,"documentRemoveEventListenerHook",e,p,g,y),V9.includes(p))return Sb.call(this,p,g,y);if(t.degrade)return t.document.removeEventListener(p,g,y);if(q9.includes(p))return window.document.removeEventListener(p,g,y);if(G9.includes(p)){window.document.removeEventListener(p,g,y),t.shadowRoot.removeEventListener(p,g,y);return}t.shadowRoot.removeEventListener(p,g,y)}};var o=Object.keys(e.HTMLElement.prototype).filter(function(p){return/^on/.test(p)}),a=Object.keys(e.Document.prototype).filter(function(p){return/^on/.test(p)}).filter(function(p){return!rhe.includes(p)});o.filter(function(p){return a.includes(p)}).forEach(function(p){var m=Object.getOwnPropertyDescriptor(e.Document.prototype,p)||{enumerable:!0,writable:!0};try{Object.defineProperty(e.Document.prototype,p,{enumerable:m.enumerable,configurable:!0,get:function(){return t.degrade?t.document[p]:t.shadowRoot.firstElementChild[p]},set:m.writable||m.set?function(y){var g=typeof y=="function"?y.bind(e.document):y;t.degrade?t.document[p]=g:t.shadowRoot.firstElementChild[p]=g}:void 0})}catch(y){gr(y.message)}});var i=Ln.ownerProperties,s=Ln.modifyProperties,u=Ln.shadowProperties,l=Ln.shadowMethods,c=Ln.documentProperties,f=Ln.documentMethods,d=Ln.documentEvents;s.concat(u,l,c,f).forEach(function(p){var m=Object.getOwnPropertyDescriptor(e.Document.prototype,p)||{enumerable:!0,writable:!0};try{Object.defineProperty(e.Document.prototype,p,{enumerable:m.enumerable,configurable:!0,get:function(){return t.proxyDocument[p]},set:void 0})}catch(y){gr(y.message)}}),d.forEach(function(p){var m=Object.getOwnPropertyDescriptor(e.Document.prototype,p)||{enumerable:!0,writable:!0};try{Object.defineProperty(e.Document.prototype,p,{enumerable:m.enumerable,configurable:!0,get:function(){return(t.degrade?t:window).document[p]},set:m.writable||m.set?function(y){(t.degrade?t:window).document.removeEventListener(p,n.get(y)),(t.degrade?t:window).document.addEventListener(p,typeof y=="function"?y.bind(e.document):y),n.set(y,y.bind(e.document))}:void 0})}catch(y){gr(y.message)}}),i.forEach(function(p){Object.defineProperty(e.document,p,{enumerable:!0,configurable:!0,get:function(){return t.proxyDocument[p]},set:void 0})}),lo(e.__WUJIE.plugins,"documentPropertyOverride",e)}function $he(e){var t=e.Node.prototype.getRootNode,n=e.Node.prototype.appendChild,r=e.Node.prototype.insertBefore,o=e.Node.prototype.removeChild;e.Node.prototype.getRootNode=function(a){var i=t.call(this,a);return i===e.__WUJIE.shadowRoot?e.document:i},e.Node.prototype.appendChild=function(a){var i=n.call(this,a);return oa(a,e),i},e.Node.prototype.insertBefore=function(a,i){var s=r.call(this,a,i);return oa(a,e),s},e.Node.prototype.removeChild=function(a){var i;try{i=o.call(this,a)}catch{var s;console.warn("Failed to removeChild: ".concat(a.nodeName.toLowerCase()," is not a child of ").concat(this.nodeName.toLowerCase(),", try again with parentNode attribute. ")),a.isConnected&&as((s=a.parentNode)===null||s===void 0?void 0:s.removeChild)&&a.parentNode.removeChild(a)}return oa(a,e),i}}function jhe(e){Kl(e,e.HTMLImageElement,"src"),Kl(e,e.HTMLAnchorElement,"href"),Kl(e,e.HTMLSourceElement,"src"),Kl(e,e.HTMLLinkElement,"href"),Kl(e,e.HTMLScriptElement,"src"),Kl(e,e.HTMLMediaElement,"src")}function The(e,t){var n=e.document,r=n.createElement("base"),o=Si(e.location.href),a=Si(t);r.setAttribute("href",a.protocol+"//"+a.host+o.pathname),n.head.appendChild(r)}function Ihe(e,t,n,r){var o=e.document,a=window.document.implementation.createHTMLDocument(""),i=o.importNode(a.documentElement,!0);o.documentElement?o.replaceChild(i,o.documentElement):o.appendChild(i),e.__WUJIE_RAW_DOCUMENT_HEAD__=o.head,e.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__=e.Document.prototype.querySelector,e.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR_ALL__=e.Document.prototype.querySelectorAll,e.__WUJIE_RAW_DOCUMENT_CREATE_ELEMENT__=e.Document.prototype.createElement,e.__WUJIE_RAW_DOCUMENT_CREATE_TEXT_NODE__=e.Document.prototype.createTextNode,The(e,t.url),Ohe(e,r,n),_he(e),t.degrade&&Ahe(e),Nhe(e),Dhe(e),Phe(e),$he(e),jhe(e)}function XU(e,t){var n=e.contentWindow,r=n.document;return new Promise(function(o){function a(){setTimeout(function(){var i;try{i=n.document}catch{i=null}if(!i||i==r){a();return}if(t){var s=n.location.href;i.open(),i.close();var u=Date.now()+1e3,l=function(){if(Date.now()>u){Rhe(),e.src=t.mainHostPath,XU(e,!1).then(o);return}n.location.href===s?setTimeout(l,1):o()};l();return}n.stop?n.stop():i.execCommand("Stop"),o()},1)}a()})}function oa(e,t){var n=t.__WUJIE.proxyLocation;if(!e._hasPatch){try{Object.defineProperties(e,{baseURI:{configurable:!0,get:function(){return n.protocol+"//"+n.host+n.pathname},set:void 0},ownerDocument:{configurable:!0,get:function(){return t.document}},_hasPatch:{get:function(){return!0}}})}catch(r){console.warn(r)}lo(t.__WUJIE.plugins,"patchElementHook",e,t)}}function Nhe(e){e.addEventListener("hashchange",function(){return sf(e)}),e.addEventListener("popstate",function(){sf(e)})}function Do(e,t,n){var r=e,o=r.src,a=r.module,i=r.content,s=r.crossorigin,u=r.crossoriginType,l=r.async,c=r.attrs,f=r.callback,d=r.onload,p=t.document.createElement("script"),m=t.document.createElement("script"),y=t.__WUJIE,g=y.replace,v=y.plugins,h=y.proxyLocation,b=Hpe({plugins:v,replace:g}),w=b(i,o,kb(h));if(c&&Object.keys(c).filter(function(B){return!Object.keys(e).includes(B)}).forEach(function(B){return p.setAttribute(B,String(c[B]))}),i){!t.__WUJIE.degrade&&!a&&(w=`(function(window, self, global, location) {
- `.concat(w,`
- }).bind(window.__WUJIE.proxy)(
- window.__WUJIE.proxy,
- window.__WUJIE.proxy,
- window.__WUJIE.proxy,
- window.__WUJIE.proxyLocation,
- );`));var k=Object.getOwnPropertyDescriptor(p,"src");if(k!=null&&k.configurable||!k)try{Object.defineProperty(p,"src",{get:function(){return o||""}})}catch(B){console.warn(B)}}else o&&p.setAttribute("src",o),s&&p.setAttribute("crossorigin",u);a&&p.setAttribute("type","module"),p.textContent=w||"",m.textContent="if(window.__WUJIE.execQueue && window.__WUJIE.execQueue.length){ window.__WUJIE.execQueue.shift()()}";var C=dl.call(t.document,"head"),E=function(){return!l&&C.appendChild(m)},D=function(){d==null||d(),E()};if(/^<!DOCTYPE html/i.test(w))return di(Rp,e),E();n&&$U(p,jU(n));var A=!i&&o;A&&(p.onload=D,p.onerror=D),C.appendChild(p),f==null||f(t),lo(v,"appendOrInsertElementHook",p,t,n),!A&&D()}function Km(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=window.document.createElement("iframe"),o="height:100%;width:100%";wb(r,Jm(Jm({},n),{},{src:e,style:[o,n.style].join(";")})),pl(r,t)}var Bhe=function(){var e="wujie:disableSandboxEmptyPageURL",t=!1;try{t=localStorage.getItem(e)==="true"}catch{}if(t||typeof URL>"u"||typeof URL.createObjectURL!="function")return[function(){return""},function(){}];var n="",r=function(){if(t)return"";if(n)return n;var i=new Blob(["<!DOCTYPE html><html><head></head><body></body></html>"],{type:"text/html"});return n=URL.createObjectURL(i),n},o=function(){t=!0;try{localStorage.setItem(e,"true")}catch{}};return[r,o]}(),QU=Lg(Bhe,2),Fhe=QU[0],Rhe=QU[1];function Mhe(e,t,n,r,o){var a=t&&t.src,i=!1;a||(a=Fhe(),i=!!a,a||(a=n));var s=window.document.createElement("iframe"),u=Jm(Jm({style:"display: none"},t),{},$i({src:a,name:e.id},CU,""));wb(s,u),window.document.body.appendChild(s);var l=s.contentWindow;return uL(l,e,r),e.iframeReady=XU(s,i&&{mainHostPath:n}).then(function(){l.__WUJIE||uL(l,e,r),Ihe(l,e,n,r),LU(l.__WUJIE.id)||l.history.replaceState(null,"",n+o)}),s}function eH(e,t,n){var r=e.contentWindow.__WUJIE,o=r.shadowRoot,a=r.id,i=r.degrade,s=r.document,u=r.degradeAttrs,l=t;if(!/^http/.test(l)){var c=Si(l);l=n+c.pathname+c.search+c.hash,c=null}if(e.contentWindow.__WUJIE.hrefFlag=!0,i){var f=dl.call(e.contentDocument,"body");pl(s.documentElement,f),Km(window.decodeURIComponent(l),AU(a).parentElement,u)}else Km(l,o.host.parentElement,u);return Che(a,l),!0}function zhe(e,t,n,r){var o=new Proxy(e.contentWindow,{get:function(u,l){if(l==="location")return u.__WUJIE.proxyLocation;if(l==="self"||l==="window"&&Object.getOwnPropertyDescriptor(window,"window").get)return u.__WUJIE.proxy;if(l==="__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__"||l==="__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR_ALL__")return u[l];var c=Object.getOwnPropertyDescriptor(u,l);return(c==null?void 0:c.configurable)===!1&&(c==null?void 0:c.writable)===!1?u[l]:gd(u,l)},set:function(u,l,c){return gpe(u,c),u[l]=c,!0},has:function(u,l){return l in u}}),a=new Proxy({},{get:function(u,l){var c=window.document,f=e.contentWindow.__WUJIE,d=f.shadowRoot,p=f.proxyLocation;d||IU();var m=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_ELEMENT__,y=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_TEXT_NODE__;if(l==="createElement"||l==="createTextNode")return new Proxy(c[l],{apply:function(D,A,B){var q=l==="createElement"?m:y,R=q.apply(e.contentDocument,B);return oa(R,e.contentWindow),R}});if(l==="documentURI"||l==="URL")return p.href;if(l==="getElementsByTagName"||l==="getElementsByClassName"||l==="getElementsByName")return new Proxy(d.querySelectorAll,{apply:function(D,A,B){var q=B[0];if(A!==e.contentDocument)return A[l].apply(A,B);if(l==="getElementsByTagName"&&q==="script")return e.contentDocument.scripts;l==="getElementsByClassName"&&(q="."+q),l==="getElementsByName"&&(q='[name="'.concat(q,'"]'));var R;try{R=D.call(d,q)}catch{R=[]}return R}});if(l==="getElementById")return new Proxy(d.querySelector,{apply:function(D,A,B){if(A!==e.contentDocument){var q;return(q=A[l])===null||q===void 0?void 0:q.apply(A,B)}try{return D.call(d,'[id="'.concat(B[0],'"]'))||e.contentWindow.__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__.call(e.contentWindow.document,"#".concat(B[0]))}catch{return gr(dpe),null}}});if(l==="querySelector"||l==="querySelectorAll"){var g={querySelector:"__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR__",querySelectorAll:"__WUJIE_RAW_DOCUMENT_QUERY_SELECTOR_ALL__"};return new Proxy(d[l],{apply:function(D,A,B){if(A!==e.contentDocument){var q;return(q=A[l])===null||q===void 0?void 0:q.apply(A,B)}return D.apply(d,B)||(B[0]==="base"?null:e.contentWindow[g[l]].call(e.contentWindow.document,B[0]))}})}if(l==="documentElement"||l==="scrollingElement")return d.firstElementChild;if(l==="forms")return d.querySelectorAll("form");if(l==="images")return d.querySelectorAll("img");if(l==="links")return d.querySelectorAll("a");var v=Ln.ownerProperties,h=Ln.shadowProperties,b=Ln.shadowMethods,w=Ln.documentProperties,k=Ln.documentMethods;if(v.concat(h).includes(l.toString()))return l==="activeElement"&&d.activeElement===null?d.body:d[l];if(b.includes(l.toString())){var C;return(C=gd(d,l))!==null&&C!==void 0?C:gd(c,l)}if(w.includes(l.toString()))return c[l];if(k.includes(l.toString()))return gd(c,l)}}),i=new Proxy({},{get:function(u,l){var c=e.contentWindow.location;return l==="host"||l==="hostname"||l==="protocol"||l==="port"||l==="origin"?t[l]:l==="href"?c[l].replace(n,r):l==="reload"?(gr(SU),function(){return null}):l==="replace"?new Proxy(c[l],{apply:function(d,p,m){var y;return d.call(c,(y=m[0])===null||y===void 0?void 0:y.replace(r,n))}}):gd(c,l)},set:function(u,l,c){return l==="href"?eH(e,c,r):(e.contentWindow.location[l]=c,!0)},ownKeys:function(){return Object.keys(e.contentWindow.location).filter(function(u){return u!=="reload"})},getOwnPropertyDescriptor:function(u,l){return{enumerable:!0,configurable:!0,value:this[l]}}});return{proxyWindow:o,proxyDocument:a,proxyLocation:i}}function Uhe(e,t,n,r){var o={},a=e.contentWindow.__WUJIE;Object.defineProperties(o,{createElement:{get:function(){return function(){for(var h=arguments.length,b=new Array(h),w=0;w<h;w++)b[w]=arguments[w];var k=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_ELEMENT__.apply(e.contentDocument,b);return oa(k,e.contentWindow),k}}},createTextNode:{get:function(){return function(){for(var h=arguments.length,b=new Array(h),w=0;w<h;w++)b[w]=arguments[w];var k=e.contentWindow.__WUJIE_RAW_DOCUMENT_CREATE_TEXT_NODE__.apply(e.contentDocument,b);return oa(k,e.contentWindow),k}}},documentURI:{get:function(){return a.proxyLocation.href}},URL:{get:function(){return a.proxyLocation.href}},getElementsByTagName:{get:function(){return function(){var h=arguments.length<=0?void 0:arguments[0];return h==="script"?e.contentDocument.scripts:a.document.getElementsByTagName(h)}}},getElementById:{get:function(){return function(){var h=arguments.length<=0?void 0:arguments[0];return a.document.getElementById(h)||e.contentDocument.getElementById(h)}}}});var i=Ln.modifyLocalProperties,s=Ln.modifyProperties,u=Ln.ownerProperties,l=Ln.shadowProperties,c=Ln.shadowMethods,f=Ln.documentProperties,d=Ln.documentMethods;s.filter(function(v){return!i.includes(v)}).concat(u,l,c,f,d).forEach(function(v){Object.defineProperty(o,v,{get:function(){var b,w=(b=a.document)===null||b===void 0?void 0:b[v];return qm(w)?w.bind(a.document):w}})});var p={},m=e.contentWindow.location,y=Object.keys(m),g=["host","hostname","port","protocol","port"];return g.forEach(function(v){p[v]=t[v]}),Object.defineProperties(p,{href:{get:function(){return m.href.replace(n,r)},set:function(h){eH(e,h,r)}},reload:{get:function(){return gr(SU),function(){return null}}}}),y.filter(function(v){return!g.concat(["href","reload"]).includes(v)}).forEach(function(v){Object.defineProperty(p,v,{get:function(){return qm(m[v])?m[v].bind(m):m[v]}})}),{proxyDocument:o,proxyLocation:p}}var Pc=window.__POWERED_BY_WUJIE__?window.__WUJIE.inject.appEventObjMap:new Map,tH=function(){function e(t){FO(this,e),this.id=t,this.$clear(),Pc.get(this.id)||Pc.set(this.id,{}),this.eventObj=Pc.get(this.id)}return RO(e,[{key:"$on",value:function(n,r){var o=this.eventObj[n];return o?(o.includes(r)||o.push(r),this):(this.eventObj[n]=[r],this)}},{key:"$onAll",value:function(n){return this.$on(Tv,n)}},{key:"$once",value:function(n,r){var o=(function(){this.$off(n,o),r.apply(void 0,arguments)}).bind(this);this.$on(n,o)}},{key:"$off",value:function(n,r){var o=this.eventObj[n];if(!n||!o||!o.length)return gr("".concat(n," ").concat($9)),this;for(var a,i=o.length;i--;)if(a=o[i],a===r){o.splice(i,1);break}return this}},{key:"$offAll",value:function(n){return this.$off(Tv,n)}},{key:"$emit",value:function(n){var r=[],o=[];if(Pc.forEach(function(m){m[n]&&(r=r.concat(m[n])),m[Tv]&&(o=o.concat(m[Tv]))}),!n||r.length===0&&o.length===0)gr("".concat(n," ").concat($9));else try{for(var a=arguments.length,i=new Array(a>1?a-1:0),s=1;s<a;s++)i[s-1]=arguments[s];for(var u=0,l=r.length;u<l;u++){var c;(c=r)[u].apply(c,i)}for(var f=0,d=o.length;f<d;f++){var p;(p=o)[f].apply(p,[n].concat(i))}}catch(m){di(m)}return this}},{key:"$clear",value:function(){var n,r=(n=Pc.get(this.id))!==null&&n!==void 0?n:{},o=Object.keys(r);return o.forEach(function(a){return delete r[a]}),this}}])}();function cL(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 Oa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cL(Object(n),!0).forEach(function(r){$i(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var nH=function(){function e(t){FO(this,e),$i(this,"elementEventCacheMap",new WeakMap),window.__POWERED_BY_WUJIE__?this.inject=window.__WUJIE.inject:this.inject={idToSandboxMap:fo,appEventObjMap:Pc,mainHostPath:window.location.protocol+"//"+window.location.host};var n=t.name,r=t.url,o=t.attrs,a=t.fiber,i=t.degradeAttrs,s=t.degrade,u=t.lifecycles,l=t.plugins;this.id=n,this.fiber=a,this.degrade=s||!OU,this.bus=new tH(this.id),this.url=r,this.degradeAttrs=i,this.provide={bus:this.bus},this.styleSheetElements=[],this.execQueue=[],this.lifecycles=u,this.plugins=BU(l);var c=xU(r),f=c.urlElement,d=c.appHostPath,p=c.appRoutePath,m=this.inject.mainHostPath;if(this.iframe=Mhe(this,o,m,d,p),this.degrade){var y=Uhe(this.iframe,f,m,d),g=y.proxyDocument,v=y.proxyLocation;this.proxyDocument=g,this.proxyLocation=v}else{var h=zhe(this.iframe,f,m,d),b=h.proxyWindow,w=h.proxyDocument,k=h.proxyLocation;this.proxy=b,this.proxyDocument=w,this.proxyLocation=k}this.provide.location=this.proxyLocation,ehe(this.id,this)}return RO(e,[{key:"active",value:function(){var t=wi(Cn.mark(function r(o){var a=this,i,s,u,l,c,f,d,p,m,y,g,v,h,b,w,k;return Cn.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return i=o.sync,s=o.url,u=o.el,l=o.template,c=o.props,f=o.alive,d=o.prefix,p=o.fetch,m=o.replace,this.url=s,this.sync=i,this.alive=f,this.hrefFlag=!1,this.prefix=d??this.prefix,this.replace=m??this.replace,this.provide.props=c??this.provide.props,this.activeFlag=!0,E.next=11,this.iframeReady;case 11:if(y=this.iframe.contentWindow,g=p?function(D,A){return p(typeof D=="string"?As(D,a.proxyLocation.href):D,A)}:this.fetch,g&&(y.fetch=g,this.fetch=g),this.execFlag&&this.alive||khe(y),sf(y),this.template=l??this.template,!this.degrade){E.next=38;break}if(v=dl.call(y.document,"body"),h=GU(this.id,u??v,this.degradeAttrs),b=h.iframe,w=h.container,this.el=w,u&&Cu(v),KU(b.contentWindow,y),b.contentWindow.onunload=function(){a.unmount()},!this.document){E.next=34;break}if(!this.alive){E.next=29;break}b.contentDocument.replaceChild(this.document.documentElement,b.contentDocument.documentElement),xhe(b.contentDocument.documentElement,y),E.next=32;break;case 29:return E.next=31,iL(b.contentDocument,this.iframe.contentWindow,this.template);case 31:Lhe(this.document.documentElement,b.contentDocument.documentElement,y);case 32:E.next=36;break;case 34:return E.next=36,iL(b.contentDocument,this.iframe.contentWindow,this.template);case 36:return this.document=b.contentDocument,E.abrupt("return");case 38:if(!this.shadowRoot){E.next=44;break}if(this.el=pl(this.shadowRoot.host,u),!this.alive){E.next=42;break}return E.abrupt("return");case 42:E.next=46;break;case 44:k=dl.call(y.document,"body"),this.el=pl(vhe(this.id),u??k);case 46:return E.next=48,yhe(this.shadowRoot,y,this.template);case 48:this.patchCssRules(),this.provide.shadowRoot=this.shadowRoot;case 50:case"end":return E.stop()}},r,this)}));function n(r){return t.apply(this,arguments)}return n}()},{key:"requestIdleCallback",value:function(n){var r=this;return NO(function(){r.iframe&&n.apply(r)})}},{key:"start",value:function(){var t=wi(Cn.mark(function r(o){var a=this,i,s,u,l,c,f,d,p,m;return Cn.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return this.execFlag=!0,g.next=3,o();case 3:if(i=g.sent,this.iframe){g.next=6;break}return g.abrupt("return");case 6:return s=this.iframe.contentWindow,s.__POWERED_BY_WUJIE__=!0,u=Gm("jsBeforeLoaders",this.plugins),l=Gm("jsAfterLoaders",this.plugins),c=[],f=[],d=[],i.forEach(function(v){v.defer?d.push(v):v.async?f.push(v):c.push(v)}),u.forEach(function(v){a.execQueue.push(function(){return a.fiber?a.requestIdleCallback(function(){return Do(v,s)}):Do(v,s)})}),c.concat(d).forEach(function(v){a.execQueue.push(function(){return v.contentPromise.then(function(h){return a.fiber?a.requestIdleCallback(function(){return Do(Oa(Oa({},v),{},{content:h}),s)}):Do(Oa(Oa({},v),{},{content:h}),s)})})}),f.forEach(function(v){v.contentPromise.then(function(h){a.fiber?a.requestIdleCallback(function(){return Do(Oa(Oa({},v),{},{content:h}),s)}):Do(Oa(Oa({},v),{},{content:h}),s)})}),this.execQueue.push(this.fiber?function(){return a.requestIdleCallback(function(){return a.mount()})}:function(){return a.mount()}),p=function(){var h;Nv(s.document,"DOMContentLoaded"),Nv(s,"DOMContentLoaded"),(h=a.execQueue.shift())===null||h===void 0||h()},this.execQueue.push(this.fiber?function(){return a.requestIdleCallback(p)}:p),l.forEach(function(v){a.execQueue.push(function(){return a.fiber?a.requestIdleCallback(function(){return Do(v,s)}):Do(v,s)})}),m=function(){var h;Nv(s.document,"readystatechange"),Nv(s,"load"),(h=a.execQueue.shift())===null||h===void 0||h()},this.execQueue.push(this.fiber?function(){return a.requestIdleCallback(m)}:m),(this.alive||!as(this.iframe.contentWindow.__WUJIE_UNMOUNT))&&aL(this.el),this.execQueue.shift()(),g.abrupt("return",new Promise(function(v){a.execQueue.push(function(){var h;v(),(h=a.execQueue.shift())===null||h===void 0||h()})}));case 26:case"end":return g.stop()}},r,this)}));function n(r){return t.apply(this,arguments)}return n}()},{key:"mount",value:function(){var n;if(!this.mountFlag){if(as(this.iframe.contentWindow.__WUJIE_MOUNT)){var r,o,a,i;aL(this.el),(r=this.lifecycles)===null||r===void 0||(o=r.beforeMount)===null||o===void 0||o.call(r,this.iframe.contentWindow),this.iframe.contentWindow.__WUJIE_MOUNT(),(a=this.lifecycles)===null||a===void 0||(i=a.afterMount)===null||i===void 0||i.call(a,this.iframe.contentWindow),this.mountFlag=!0}if(this.alive){var s,u;(s=this.lifecycles)===null||s===void 0||(u=s.activated)===null||u===void 0||u.call(s,this.iframe.contentWindow)}(n=this.execQueue.shift())===null||n===void 0||n()}}},{key:"unmount",value:function(){var t=wi(Cn.mark(function r(){var o,a,i,s,u,l,c;return Cn.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(this.activeFlag=!1,Ehe(),this.alive&&((o=this.lifecycles)===null||o===void 0||(a=o.deactivated)===null||a===void 0||a.call(o,this.iframe.contentWindow)),this.mountFlag){d.next=5;break}return d.abrupt("return");case 5:if(!(as(this.iframe.contentWindow.__WUJIE_UNMOUNT)&&!this.alive&&!this.hrefFlag)){d.next=15;break}return(i=this.lifecycles)===null||i===void 0||(s=i.beforeUnmount)===null||s===void 0||s.call(i,this.iframe.contentWindow),d.next=9,this.iframe.contentWindow.__WUJIE_UNMOUNT();case 9:(u=this.lifecycles)===null||u===void 0||(l=u.afterUnmount)===null||l===void 0||l.call(u,this.iframe.contentWindow),this.mountFlag=!1,(c=this.bus)===null||c===void 0||c.$clear(),this.degrade||(Cu(this.shadowRoot),nL(this.head),nL(this.body)),Cu(this.head),Cu(this.body);case 15:case"end":return d.stop()}},r,this)}));function n(){return t.apply(this,arguments)}return n}()},{key:"destroy",value:function(){if(this.unmount(),this.bus.$clear(),this.shadowRoot=null,this.proxy=null,this.proxyDocument=null,this.proxyLocation=null,this.execQueue=null,this.provide=null,this.degradeAttrs=null,this.styleSheetElements=null,this.bus=null,this.replace=null,this.fetch=null,this.execFlag=null,this.mountFlag=null,this.hrefFlag=null,this.document=null,this.head=null,this.body=null,this.elementEventCacheMap=null,this.lifecycles=null,this.plugins=null,this.provide=null,this.inject=null,this.execQueue=null,this.prefix=null,this.el&&(Cu(this.el),this.el=null),this.iframe){var n,r=this.iframe.contentWindow;r!=null&&r.__WUJIE_EVENTLISTENER__&&r.__WUJIE_EVENTLISTENER__.forEach(function(o){r.removeEventListener(o.type,o.listener,o.options)}),(n=this.iframe.parentNode)===null||n===void 0||n.removeChild(this.iframe),this.iframe=null}the(this.id)}},{key:"rebuildStyleSheets",value:function(){var n=this;this.styleSheetElements&&this.styleSheetElements.length&&this.styleSheetElements.forEach(function(r){UU.call(n.degrade?n.document.head:n.shadowRoot.head,r)}),this.patchCssRules()}},{key:"patchCssRules",value:function(){if(!this.degrade&&!this.shadowRoot.host.hasAttribute(P9)){var n=JU(Array.from(this.iframe.contentDocument.querySelectorAll("style")).map(function(i){return i.sheet})),r=Lg(n,2),o=r[0],a=r[1];o&&(this.shadowRoot.head.appendChild(o),this.styleSheetElements.push(o)),a&&this.shadowRoot.host.appendChild(a),(o||a)&&this.shadowRoot.host.setAttribute(P9,"")}}}])}();function fL(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 Hhe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?fL(Object(n),!0).forEach(function(r){$i(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var y3=new tH(Date.now().toString());window.__WUJIE&&!window.__POWERED_BY_WUJIE__&&IU();She();ghe();OU||gr(cpe);function Whe(e){e.name&&nhe(e.name,e)}function Vhe(e){return b3.apply(this,arguments)}function b3(){return b3=wi(Cn.mark(function e(t){var n,r,o,a,i,s,u,l,c,f,d,p,m,y,g,v,h,b,w,k,C,E,D,A,B,q,R,ie,K,te,F,U,Y,I,j,_,O,L,M;return Cn.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(o=fa(t.name),a=zU(t.name),i=TU(t,a),s=i.name,u=i.url,l=i.html,c=i.replace,f=i.fetch,d=i.props,p=i.attrs,m=i.degradeAttrs,y=i.fiber,g=i.alive,v=i.degrade,h=i.sync,b=i.prefix,w=i.el,k=i.loading,C=i.plugins,E=i.lifecycles,!o){W.next=39;break}if(o.plugins=BU(C),o.lifecycles=E,D=o.iframe.contentWindow,!o.preload){W.next=11;break}return W.next=11,o.preload;case 11:if(!g){W.next=26;break}return W.next=14,o.active({url:u,sync:h,prefix:b,el:w,props:d,alive:g,fetch:f,replace:c});case 14:if(o.execFlag){W.next=22;break}return(q=o.lifecycles)===null||q===void 0||(R=q.beforeLoad)===null||R===void 0||R.call(q,o.iframe.contentWindow),W.next=18,p3({url:u,html:l,opts:{fetch:f||window.fetch,plugins:o.plugins,loadError:o.lifecycles.loadError,fiber:y}});case 18:return ie=W.sent,K=ie.getExternalScripts,W.next=22,o.start(K);case 22:return(A=o.lifecycles)===null||A===void 0||(B=A.activated)===null||B===void 0||B.call(A,o.iframe.contentWindow),W.abrupt("return",o.destroy);case 26:if(!as(D.__WUJIE_MOUNT)){W.next=38;break}return o.unmount(),W.next=30,o.active({url:u,sync:h,prefix:b,el:w,props:d,alive:g,fetch:f,replace:c});case 30:return o.rebuildStyleSheets(),(te=o.lifecycles)===null||te===void 0||(F=te.beforeMount)===null||F===void 0||F.call(te,o.iframe.contentWindow),D.__WUJIE_MOUNT(),(U=o.lifecycles)===null||U===void 0||(Y=U.afterMount)===null||Y===void 0||Y.call(U,o.iframe.contentWindow),o.mountFlag=!0,W.abrupt("return",o.destroy);case 38:o.destroy();case 39:return whe(w,k),I=new nH({name:s,url:u,attrs:p,degradeAttrs:m,fiber:y,degrade:v,plugins:C,lifecycles:E}),(n=I.lifecycles)===null||n===void 0||(r=n.beforeLoad)===null||r===void 0||r.call(n,I.iframe.contentWindow),W.next=44,p3({url:u,html:l,opts:{fetch:f||window.fetch,plugins:I.plugins,loadError:I.lifecycles.loadError,fiber:y}});case 44:return j=W.sent,_=j.template,O=j.getExternalScripts,L=j.getExternalStyleSheets,W.next=50,FU(I,_,L);case 50:return M=W.sent,W.next=53,I.active({url:u,sync:h,prefix:b,template:M,el:w,props:d,alive:g,fetch:f,replace:c});case 53:return W.next=55,I.start(O);case 55:return W.abrupt("return",I.destroy);case 56:case"end":return W.stop()}},e)})),b3.apply(this,arguments)}function qhe(e){NO(function(){if(!(fa(e.name)||LU(e.name))){var t=zU(e.name),n=TU(Hhe({},e),t),r=n.name,o=n.url,a=n.html,i=n.props,s=n.alive,u=n.replace,l=n.fetch,c=n.exec,f=n.attrs,d=n.degradeAttrs,p=n.fiber,m=n.degrade,y=n.prefix,g=n.plugins,v=n.lifecycles,h=new nH({name:r,url:o,attrs:f,degradeAttrs:d,fiber:p,degrade:m,plugins:g,lifecycles:v});if(h.preload)return h.preload;var b=function(){var w=wi(Cn.mark(function k(){var C,E,D,A,B,q,R;return Cn.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return(C=h.lifecycles)===null||C===void 0||(E=C.beforeLoad)===null||E===void 0||E.call(C,h.iframe.contentWindow),K.next=3,p3({url:o,html:a,opts:{fetch:l||window.fetch,plugins:h.plugins,loadError:h.lifecycles.loadError,fiber:p}});case 3:return D=K.sent,A=D.template,B=D.getExternalScripts,q=D.getExternalStyleSheets,K.next=9,FU(h,A,q);case 9:return R=K.sent,K.next=12,h.active({url:o,props:i,prefix:y,alive:s,template:R,fetch:l,replace:u});case 12:if(!c){K.next=17;break}return K.next=15,h.start(B);case 15:K.next=19;break;case 17:return K.next=19,B();case 19:case"end":return K.stop()}},k)}));return function(){return w.apply(this,arguments)}}();h.preload=b()}})}function rH(e){var t=fa(e);t&&t.destroy()}function Xm(e){"@babel/helpers - typeof";return Xm=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},Xm(e)}function w3(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */w3=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(F,U,Y){F[U]=Y.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(F,U,Y){return Object.defineProperty(F,U,{value:Y,enumerable:!0,configurable:!0,writable:!0}),F[U]}try{l({},"")}catch{l=function(Y,I,j){return Y[I]=j}}function c(F,U,Y,I){var j=U&&U.prototype instanceof v?U:v,_=Object.create(j.prototype),O=new K(I||[]);return o(_,"_invoke",{value:B(F,Y,O)}),_}function f(F,U,Y){try{return{type:"normal",arg:F.call(U,Y)}}catch(I){return{type:"throw",arg:I}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",m="executing",y="completed",g={};function v(){}function h(){}function b(){}var w={};l(w,i,function(){return this});var k=Object.getPrototypeOf,C=k&&k(k(te([])));C&&C!==n&&r.call(C,i)&&(w=C);var E=b.prototype=v.prototype=Object.create(w);function D(F){["next","throw","return"].forEach(function(U){l(F,U,function(Y){return this._invoke(U,Y)})})}function A(F,U){function Y(j,_,O,L){var M=f(F[j],F,_);if(M.type!=="throw"){var J=M.arg,W=J.value;return W&&Xm(W)=="object"&&r.call(W,"__await")?U.resolve(W.__await).then(function(he){Y("next",he,O,L)},function(he){Y("throw",he,O,L)}):U.resolve(W).then(function(he){J.value=he,O(J)},function(he){return Y("throw",he,O,L)})}L(M.arg)}var I;o(this,"_invoke",{value:function(_,O){function L(){return new U(function(M,J){Y(_,O,M,J)})}return I=I?I.then(L,L):L()}})}function B(F,U,Y){var I=d;return function(j,_){if(I===m)throw Error("Generator is already running");if(I===y){if(j==="throw")throw _;return{value:e,done:!0}}for(Y.method=j,Y.arg=_;;){var O=Y.delegate;if(O){var L=q(O,Y);if(L){if(L===g)continue;return L}}if(Y.method==="next")Y.sent=Y._sent=Y.arg;else if(Y.method==="throw"){if(I===d)throw I=y,Y.arg;Y.dispatchException(Y.arg)}else Y.method==="return"&&Y.abrupt("return",Y.arg);I=m;var M=f(F,U,Y);if(M.type==="normal"){if(I=Y.done?y:p,M.arg===g)continue;return{value:M.arg,done:Y.done}}M.type==="throw"&&(I=y,Y.method="throw",Y.arg=M.arg)}}}function q(F,U){var Y=U.method,I=F.iterator[Y];if(I===e)return U.delegate=null,Y==="throw"&&F.iterator.return&&(U.method="return",U.arg=e,q(F,U),U.method==="throw")||Y!=="return"&&(U.method="throw",U.arg=new TypeError("The iterator does not provide a '"+Y+"' method")),g;var j=f(I,F.iterator,U.arg);if(j.type==="throw")return U.method="throw",U.arg=j.arg,U.delegate=null,g;var _=j.arg;return _?_.done?(U[F.resultName]=_.value,U.next=F.nextLoc,U.method!=="return"&&(U.method="next",U.arg=e),U.delegate=null,g):_:(U.method="throw",U.arg=new TypeError("iterator result is not an object"),U.delegate=null,g)}function R(F){var U={tryLoc:F[0]};1 in F&&(U.catchLoc=F[1]),2 in F&&(U.finallyLoc=F[2],U.afterLoc=F[3]),this.tryEntries.push(U)}function ie(F){var U=F.completion||{};U.type="normal",delete U.arg,F.completion=U}function K(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(R,this),this.reset(!0)}function te(F){if(F||F===""){var U=F[i];if(U)return U.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var Y=-1,I=function j(){for(;++Y<F.length;)if(r.call(F,Y))return j.value=F[Y],j.done=!1,j;return j.value=e,j.done=!0,j};return I.next=I}}throw new TypeError(Xm(F)+" is not iterable")}return h.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:h,configurable:!0}),h.displayName=l(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(F){var U=typeof F=="function"&&F.constructor;return!!U&&(U===h||(U.displayName||U.name)==="GeneratorFunction")},t.mark=function(F){return Object.setPrototypeOf?Object.setPrototypeOf(F,b):(F.__proto__=b,l(F,u,"GeneratorFunction")),F.prototype=Object.create(E),F},t.awrap=function(F){return{__await:F}},D(A.prototype),l(A.prototype,s,function(){return this}),t.AsyncIterator=A,t.async=function(F,U,Y,I,j){j===void 0&&(j=Promise);var _=new A(c(F,U,Y,I),j);return t.isGeneratorFunction(U)?_:_.next().then(function(O){return O.done?O.value:_.next()})},D(E),l(E,u,"Generator"),l(E,i,function(){return this}),l(E,"toString",function(){return"[object Generator]"}),t.keys=function(F){var U=Object(F),Y=[];for(var I in U)Y.push(I);return Y.reverse(),function j(){for(;Y.length;){var _=Y.pop();if(_ in U)return j.value=_,j.done=!1,j}return j.done=!0,j}},t.values=te,K.prototype={constructor:K,reset:function(U){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(ie),!U)for(var Y in this)Y.charAt(0)==="t"&&r.call(this,Y)&&!isNaN(+Y.slice(1))&&(this[Y]=e)},stop:function(){this.done=!0;var U=this.tryEntries[0].completion;if(U.type==="throw")throw U.arg;return this.rval},dispatchException:function(U){if(this.done)throw U;var Y=this;function I(J,W){return O.type="throw",O.arg=U,Y.next=J,W&&(Y.method="next",Y.arg=e),!!W}for(var j=this.tryEntries.length-1;j>=0;--j){var _=this.tryEntries[j],O=_.completion;if(_.tryLoc==="root")return I("end");if(_.tryLoc<=this.prev){var L=r.call(_,"catchLoc"),M=r.call(_,"finallyLoc");if(L&&M){if(this.prev<_.catchLoc)return I(_.catchLoc,!0);if(this.prev<_.finallyLoc)return I(_.finallyLoc)}else if(L){if(this.prev<_.catchLoc)return I(_.catchLoc,!0)}else{if(!M)throw Error("try statement without catch or finally");if(this.prev<_.finallyLoc)return I(_.finallyLoc)}}}},abrupt:function(U,Y){for(var I=this.tryEntries.length-1;I>=0;--I){var j=this.tryEntries[I];if(j.tryLoc<=this.prev&&r.call(j,"finallyLoc")&&this.prev<j.finallyLoc){var _=j;break}}_&&(U==="break"||U==="continue")&&_.tryLoc<=Y&&Y<=_.finallyLoc&&(_=null);var O=_?_.completion:{};return O.type=U,O.arg=Y,_?(this.method="next",this.next=_.finallyLoc,g):this.complete(O)},complete:function(U,Y){if(U.type==="throw")throw U.arg;return U.type==="break"||U.type==="continue"?this.next=U.arg:U.type==="return"?(this.rval=this.arg=U.arg,this.method="return",this.next="end"):U.type==="normal"&&Y&&(this.next=Y),g},finish:function(U){for(var Y=this.tryEntries.length-1;Y>=0;--Y){var I=this.tryEntries[Y];if(I.finallyLoc===U)return this.complete(I.completion,I.afterLoc),ie(I),g}},catch:function(U){for(var Y=this.tryEntries.length-1;Y>=0;--Y){var I=this.tryEntries[Y];if(I.tryLoc===U){var j=I.completion;if(j.type==="throw"){var _=j.arg;ie(I)}return _}}throw Error("illegal catch attempt")},delegateYield:function(U,Y,I){return this.delegate={iterator:te(U),resultName:Y,nextLoc:I},this.method==="next"&&(this.arg=e),g}},t}function dL(e,t,n,r,o,a,i){try{var s=e[a](i),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,o)}function Ghe(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(u){dL(a,r,o,i,s,"next",u)}function s(u){dL(a,r,o,i,s,"throw",u)}i(void 0)})}}var Zhe={name:"WujieVue",props:{width:{type:String,default:""},height:{type:String,default:""},name:{type:String,default:""},loading:{type:HTMLElement,default:void 0},url:{type:String,default:""},sync:{type:Boolean,default:void 0},prefix:{type:Object,default:void 0},alive:{type:Boolean,default:void 0},props:{type:Object,default:void 0},attrs:{type:Object,default:void 0},replace:{type:Function,default:void 0},fetch:{type:Function,default:void 0},fiber:{type:Boolean,default:void 0},degrade:{type:Boolean,default:void 0},plugins:{type:Array,default:null},beforeLoad:{type:Function,default:null},beforeMount:{type:Function,default:null},afterMount:{type:Function,default:null},beforeUnmount:{type:Function,default:null},afterUnmount:{type:Function,default:null},activated:{type:Function,default:null},deactivated:{type:Function,default:null},loadError:{type:Function,default:null}},data:function(){return{startAppQueue:Promise.resolve()}},mounted:function(){var t=this;y3.$onAll(this.handleEmit),this.execStartApp(),this.$watch(function(){return t.name+t.url},function(){return t.execStartApp()})},methods:{handleEmit: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];this.$emit.apply(this,[t].concat(r))},startApp:function(){var t=this;return Ghe(w3().mark(function n(){return w3().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,Vhe({name:t.name,url:t.url,el:t.$refs.wujie,loading:t.loading,alive:t.alive,fetch:t.fetch,props:t.props,attrs:t.attrs,replace:t.replace,sync:t.sync,prefix:t.prefix,fiber:t.fiber,degrade:t.degrade,plugins:t.plugins,beforeLoad:t.beforeLoad,beforeMount:t.beforeMount,afterMount:t.afterMount,beforeUnmount:t.beforeUnmount,afterUnmount:t.afterUnmount,activated:t.activated,deactivated:t.deactivated,loadError:t.loadError});case 3:o.next=8;break;case 5:o.prev=5,o.t0=o.catch(0),console.log(o.t0);case 8:case"end":return o.stop()}},n,null,[[0,5]])}))()},execStartApp:function(){this.startAppQueue=this.startAppQueue.then(this.startApp)},destroy:function(){rH(this.name)}},beforeDestroy:function(){y3.$offAll(this.handleEmit)},render:function(){return DO("div",{style:{width:this.width,height:this.height},ref:"wujie"})}},hl=se(Zhe);hl.setupApp=Whe;hl.preloadApp=qhe;hl.bus=y3;hl.destroyApp=rH;hl.install=function(e){e.component("WujieVue",hl)};const Mv={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}},k3={locale:"zh-CN",empty:{description:"暂无数据"},drawer:{okText:"确定",cancelText:"取消"},popconfirm:{okText:"确定",cancelText:"取消"},modal:{okText:"确定",cancelText:"取消"},pagination:{goto:"前往",page:"页",countPerPage:"条/页",total:"共 {0} 条"},table:{okText:"确定",resetText:"重置"},upload:{start:"开始",cancel:"取消",delete:"删除",retry:"点击重试",buttonText:"点击上传",preview:"预览",drag:"点击或拖拽文件到此处上传",dragHover:"释放文件并开始上传",error:"上传失败"},calendar:Mv,datePicker:{view:Mv.view,month:Mv.month,week:Mv.week,placeholder:{date:"请选择日期",week:"请选择周",month:"请选择月份",year:"请选择年份",quarter:"请选择季度",time:"请选择时间"},rangePlaceholder:{date:["开始日期","结束日期"],week:["开始周","结束周"],month:["开始月份","结束月份"],year:["开始年份","结束年份"],quarter:["开始季度","结束季度"],time:["开始时间","结束时间"]},selectTime:"选择时间",today:"今天",now:"此刻",ok:"确定"},image:{loading:"加载中"},imagePreview:{fullScreen:"全屏",rotateRight:"向右旋转",rotateLeft:"向左旋转",zoomIn:"放大",zoomOut:"缩小",originalSize:"原始尺寸"},typography:{copied:"已复制",copy:"复制",expand:"展开",collapse:"折叠",edit:"编辑"},form:{validateMessages:{required:"#{field} 是必填项",type:{string:"#{field} 不是合法的文本类型",number:"#{field} 不是合法的数字类型",boolean:"#{field} 不是合法的布尔类型",array:"#{field} 不是合法的数组类型",object:"#{field} 不是合法的对象类型",url:"#{field} 不是合法的 url 地址",email:"#{field} 不是合法的邮箱地址",ip:"#{field} 不是合法的 IP 地址"},number:{min:"`#{value}` 小于最小值 `#{min}`",max:"`#{value}` 大于最大值 `#{max}`",equal:"`#{value}` 不等于 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 范围内",positive:"`#{value}` 不是正数",negative:"`#{value}` 不是负数"},array:{length:"`#{field}` 个数不等于 #{length}",minLength:"`#{field}` 个数最少为 #{minLength}",maxLength:"`#{field}` 个数最多为 #{maxLength}",includes:"#{field} 不包含 #{includes}",deepEqual:"#{field} 不等于 #{deepEqual}",empty:"`#{field}` 不是空数组"},string:{minLength:"字符数最少为 #{minLength}",maxLength:"字符数最多为 #{maxLength}",length:"字符数必须是 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 必须全大写",lowercase:"`#{value}` 必须全小写"},object:{deepEqual:"`#{field}` 不等于期望值",hasKeys:"`#{field}` 不包含必须字段",empty:"`#{field}` 不是对象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}},colorPicker:{history:"最近使用颜色",preset:"系统预设颜色",empty:"暂无"}},Yhe=At("zh-CN"),Jhe=AO({"zh-CN":k3}),Khe=()=>{const e=Mf(Ch,void 0),t=x(()=>{var o;return(o=e==null?void 0:e.locale)!=null?o:Jhe[Yhe.value]}),n=x(()=>t.value.locale);return{i18nMessage:t,locale:n,t:(o,...a)=>{const i=o.split(".");let s=t.value;for(const u of i){if(!s[u])return o;s=s[u]}return xg(s)&&a.length>0?s.replace(/{(\d+)}/g,(u,l)=>{var c;return(c=a[l])!=null?c:u}):s}}};var pL;(function(e){e[e.ELEMENT=1]="ELEMENT",e[e.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",e[e.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",e[e.COMPONENT=6]="COMPONENT",e[e.TEXT_CHILDREN=8]="TEXT_CHILDREN",e[e.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",e[e.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",e[e.TELEPORT=64]="TELEPORT",e[e.SUSPENSE=128]="SUSPENSE",e[e.COMPONENT_SHOULD_KEEP_ALIVE=256]="COMPONENT_SHOULD_KEEP_ALIVE",e[e.COMPONENT_KEPT_ALIVE=512]="COMPONENT_KEPT_ALIVE"})(pL||(pL={}));var hL;(function(e){e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.DEV_ROOT_FRAGMENT=2048]="DEV_ROOT_FRAGMENT",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL"})(hL||(hL={}));const _b=e=>!!(e&&e.shapeFlag&1),Pg=(e,t)=>!!(e&&e.shapeFlag&6),Xhe=(e,t)=>!!(e&&e.shapeFlag&8),Ob=(e,t)=>!!(e&&e.shapeFlag&16),zO=(e,t)=>!!(e&&e.shapeFlag&32),yk=e=>{var t,n;if(e)for(const r of e){if(_b(r)||Pg(r))return r;if(Ob(r,r.children)){const o=yk(r.children);if(o)return o}else if(zO(r,r.children)){const o=(n=(t=r.children).default)==null?void 0:n.call(t);if(o){const a=yk(o);if(a)return a}}else if(jO(r)){const o=yk(r);if(o)return o}}},YHe=e=>{if(!e)return!0;for(const t of e)if(t.children)return!1;return!0},Qhe=(e,t)=>{if(e&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(_b(r)||Pg(r)){const a=Bu(t)?t(r):t;return e[n]=QK(r,a,!0),!0}const o=UO(r);if(o&&o.length>0&&Qhe(o,t))return!0}return!1},UO=e=>{if(Ob(e,e.children))return e.children;if(jO(e))return e},oH=e=>{var t,n;if(_b(e))return e.el;if(Pg(e)){if(((t=e.el)==null?void 0:t.nodeType)===1)return e.el;if((n=e.component)!=null&&n.subTree){const r=oH(e.component.subTree);if(r)return r}}else{const r=UO(e);return ege(r)}},ege=e=>{if(e&&e.length>0)for(const t of e){const n=oH(t);if(n)return n}},bk=(e,t=!1)=>{var n,r;const o=[];for(const a of e??[])_b(a)||Pg(a)||t&&Xhe(a,a.children)?o.push(a):Ob(a,a.children)?o.push(...bk(a.children,t)):zO(a,a.children)?o.push(...bk((r=(n=a.children).default)==null?void 0:r.call(n),t)):jO(a)&&o.push(...bk(a,t));return o};function JHe(e){function t(n){const r=[];return n.forEach(o=>{var a,i;eX(o)&&o.type===mb?zO(o,o.children)?r.push(...t(((i=(a=o.children).default)==null?void 0:i.call(a))||[])):Ob(o,o.children)?r.push(...t(o.children)):xg(o.children)&&r.push(o.children):r.push(o)}),r}return t(e)}const wk=e=>{if(e)return Bu(e)?e:()=>e},iH=(e,t)=>{var n;const r=[];if(Pg(e,e.type))e.type.name===t?e.component&&r.push(e.component.uid):(n=e.component)!=null&&n.subTree&&r.push(...iH(e.component.subTree,t));else{const o=UO(e);o&&r.push(...tge(o,t))}return r},tge=(e,t)=>{const n=[];if(e&&e.length>0)for(const r of e)n.push(...iH(r,t));return n},HO=()=>{},nge=()=>{const{body:e}=document,t=document.documentElement;let n;try{n=(window.top||window.self||window).document.body}catch{}return{height:Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight,(n==null?void 0:n.scrollHeight)||0,(n==null?void 0:n.clientHeight)||0),width:Math.max(e.scrollWidth,e.offsetWidth,t.clientWidth,t.scrollWidth,t.offsetWidth,(n==null?void 0:n.scrollWidth)||0,(n==null?void 0:n.clientWidth)||0)}},WO=(()=>{try{return!(typeof window<"u"&&document!==void 0)}catch{return!0}})(),nm=WO?HO:(e,t,n,r=!1)=>{e.addEventListener(t,n,r)},E3=WO?HO:(e,t,n,r=!1)=>{e.removeEventListener(t,n,r)},rge=(e,t)=>{if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n=n.parentNode}return!1},oge=e=>{const t=document.createElement("div");return t.setAttribute("class",`arco-overlay arco-overlay-${e}`),t},ige=(e,t)=>{var n;return WO?HO():(n=document.querySelector(e))!=null?n:void 0},C3=(e,t)=>{if(xg(e)){const n=e[0]==="#"?`[id='${e.slice(1)}']`:e;return ige(n)}return e},KHe=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{top:n.top-r.top,bottom:r.bottom-n.bottom,left:n.left-r.left,right:r.right-n.right,width:n.width,height:n.height}},age=e=>e.tagName==="BODY"?document.documentElement.scrollHeight>window.innerHeight:e.scrollHeight>e.offsetHeight,sge=e=>e.tagName==="BODY"?window.innerWidth-nge().width:e.offsetWidth-e.clientWidth,uge=se({name:"IconHover",props:{prefix:{type:String},size:{type:String,default:"medium"},disabled:{type:Boolean,default:!1}},setup(){return{prefixCls:fe("icon-hover")}}});function lge(e,t,n,r,o,a){return X(),oe("span",{class:re([e.prefixCls,{[`${e.prefix}-icon-hover`]:e.prefix,[`${e.prefixCls}-size-${e.size}`]:e.size!=="medium",[`${e.prefixCls}-disabled`]:e.disabled}])},[fi(e.$slots,"default")],2)}var cge=le(uge,[["render",lge]]);const fge=["info","success","warning","error"],XHe=["onFocus","onFocusin","onFocusout","onBlur","onChange","onBeforeinput","onInput","onReset","onSubmit","onInvalid","onKeydown","onKeypress","onKeyup","onCopy","onCut","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onSelect","autocomplete","autofocus","maxlength","minlength","name","pattern","readonly","required"];var dge=Object.defineProperty,gL=Object.getOwnPropertySymbols,pge=Object.prototype.hasOwnProperty,hge=Object.prototype.propertyIsEnumerable,vL=(e,t,n)=>t in e?dge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gge=(e,t)=>{for(var n in t||(t={}))pge.call(t,n)&&vL(e,n,t[n]);if(gL)for(var n of gL(t))hge.call(t,n)&&vL(e,n,t[n]);return e};const vge=(e,t)=>{const n=gge({},e);for(const r of t)r in n&&delete n[r];return n},mge=Symbol("ArcoFormItemContext"),QHe=Symbol("ArcoFormContext"),yge=({size:e,disabled:t,error:n,uninject:r}={})=>{const o=r?{}:Mf(mge,{}),a=x(()=>{var c;return(c=e==null?void 0:e.value)!=null?c:o.size}),i=x(()=>(t==null?void 0:t.value)||o.disabled),s=x(()=>(n==null?void 0:n.value)||o.error),u=E9(o,"feedback"),l=E9(o,"eventHandlers");return{formItemCtx:o,mergedSize:a,mergedDisabled:i,mergedError:s,feedback:u,eventHandlers:l}},bge=(e,{defaultValue:t="medium"}={})=>{const n=Mf(Ch,void 0);return{mergedSize:x(()=>{var o,a;return(a=(o=e==null?void 0:e.value)!=null?o:n==null?void 0:n.size)!=null?a:t})}},aH=Symbol("ArcoButtonGroup"),wge=se({name:"Button",components:{IconLoading:yU},props:{type:{type:String},shape:{type:String},status:{type:String},size:{type:String},long:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean},htmlType:{type:String,default:"button"},autofocus:{type:Boolean,default:!1},href:String},emits:{click:e=>!0},setup(e,{emit:t}){const{size:n,disabled:r}=yb(e),o=fe("btn"),a=Mf(aH,void 0),i=x(()=>{var p;return(p=n.value)!=null?p:a==null?void 0:a.size}),s=x(()=>!!(r.value||a!=null&&a.disabled)),{mergedSize:u,mergedDisabled:l}=yge({size:i,disabled:s}),{mergedSize:c}=bge(u),f=x(()=>{var p,m,y,g,v,h;return[o,`${o}-${(m=(p=e.type)!=null?p:a==null?void 0:a.type)!=null?m:"secondary"}`,`${o}-shape-${(g=(y=e.shape)!=null?y:a==null?void 0:a.shape)!=null?g:"square"}`,`${o}-size-${c.value}`,`${o}-status-${(h=(v=e.status)!=null?v:a==null?void 0:a.status)!=null?h:"normal"}`,{[`${o}-long`]:e.long,[`${o}-loading`]:e.loading,[`${o}-disabled`]:l.value,[`${o}-link`]:xg(e.href)}]});return{prefixCls:o,cls:f,mergedDisabled:l,handleClick:p=>{if(e.disabled||e.loading){p.preventDefault();return}t("click",p)}}}}),kge=["href"],Ege=["type","disabled","autofocus"];function Cge(e,t,n,r,o,a){const i=ri("icon-loading");return e.href?(X(),oe("a",{key:0,class:re([e.cls,{[`${e.prefixCls}-only-icon`]:e.$slots.icon&&!e.$slots.default}]),href:e.mergedDisabled||e.loading?void 0:e.href,onClick:t[0]||(t[0]=(...s)=>e.handleClick&&e.handleClick(...s))},[e.loading||e.$slots.icon?(X(),oe("span",{key:0,class:re(`${e.prefixCls}-icon`)},[e.loading?(X(),Ao(i,{key:0,spin:"true"})):fi(e.$slots,"icon",{key:1})],2)):kr("v-if",!0),fi(e.$slots,"default")],10,kge)):(X(),oe("button",{key:1,class:re([e.cls,{[`${e.prefixCls}-only-icon`]:e.$slots.icon&&!e.$slots.default}]),type:e.htmlType,disabled:e.mergedDisabled,autofocus:e.autofocus,onClick:t[1]||(t[1]=(...s)=>e.handleClick&&e.handleClick(...s))},[e.loading||e.$slots.icon?(X(),oe("span",{key:0,class:re(`${e.prefixCls}-icon`)},[e.loading?(X(),Ao(i,{key:0,spin:!0})):fi(e.$slots,"icon",{key:1})],2)):kr("v-if",!0),fi(e.$slots,"default")],10,Ege))}var kk=le(wge,[["render",Cge]]);const Sge=se({name:"ButtonGroup",props:{type:{type:String},status:{type:String},shape:{type:String},size:{type:String},disabled:{type:Boolean}},setup(e){const{type:t,size:n,status:r,disabled:o,shape:a}=yb(e),i=fe("btn-group");return hU(aH,AO({type:t,size:n,shape:a,status:r,disabled:o})),{prefixCls:i}}});function _ge(e,t,n,r,o,a){return X(),oe("div",{class:re(e.prefixCls)},[fi(e.$slots,"default")],2)}var Ek=le(Sge,[["render",_ge]]);const Oge=Object.assign(kk,{Group:Ek,install:(e,t)=>{$O(e,t);const n=PO(t);e.component(n+kk.name,kk),e.component(n+Ek.name,Ek)}}),Dge=1e3,Age=5e3,xge=1;class Lge{constructor(){this.popupStack={popup:new Set,dialog:new Set,message:new Set},this.getNextZIndex=t=>(t==="message"?Array.from(this.popupStack.message).pop()||Age:Array.from(this.popupStack.popup).pop()||Dge)+xge,this.add=t=>{const n=this.getNextZIndex(t);return this.popupStack[t].add(n),t==="dialog"&&this.popupStack.popup.add(n),n},this.delete=(t,n)=>{this.popupStack[n].delete(t),n==="dialog"&&this.popupStack.popup.delete(t)},this.isLastDialog=t=>this.popupStack.dialog.size>1?t===Array.from(this.popupStack.dialog).pop():!0}}const Ck=new Lge;function Pge(e,{visible:t,runOnMounted:n}={}){const r=At(0),o=()=>{r.value=Ck.add(e)},a=()=>{Ck.delete(r.value,e)},i=()=>e==="dialog"?Ck.isLastDialog(r.value):!1;return ca(()=>t==null?void 0:t.value,s=>{s?o():a()},{immediate:!0}),n&&(zs(()=>{o()}),xO(()=>{a()})),{zIndex:tX(r),open:o,close:a,isLastDialog:i}}var $ge=se({name:"ClientOnly",setup(e,{slots:t}){const n=At(!1);return zs(()=>n.value=!0),()=>{var r;return n.value?(r=t.default)==null?void 0:r.call(t):null}}});const jge=({popupContainer:e,visible:t,defaultContainer:n="body",documentContainer:r})=>{const o=At(e.value),a=At(),i=()=>{const s=C3(e.value),u=s?e.value:n,l=s??(r?document.documentElement:C3(n));u!==o.value&&(o.value=u),l!==a.value&&(a.value=l)};return zs(()=>i()),ca(t,s=>{o.value!==e.value&&s&&i()}),{teleportContainer:o,containerRef:a}},Tge={ENTER:"Enter",ESC:"Escape",SPACE:" ",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight"},mL=e=>JSON.stringify({key:e.key,ctrl:!!e.ctrl,shift:!!e.shift,alt:!!e.alt,meta:!!e.meta}),eWe=e=>{const t={};return e.forEach((n,r)=>{const o=xg(r)?{key:r}:r;t[mL(o)]=n}),n=>{const r=mL({key:n.key,ctrl:n.ctrlKey,shift:n.shiftKey,alt:n.altKey,meta:n.metaKey}),o=t[r];o&&(n.stopPropagation(),o(n))}},Ige=se({name:"ConfigProvider",props:{prefixCls:{type:String,default:"arco"},locale:{type:Object},size:{type:String},global:{type:Boolean,default:!1},updateAtScroll:{type:Boolean,default:!1},scrollToClose:{type:Boolean,default:!1},exchangeTime:{type:Boolean,default:!0}},setup(e,{slots:t}){const{prefixCls:n,locale:r,size:o,updateAtScroll:a,scrollToClose:i,exchangeTime:s}=yb(e),u=AO({slots:t,prefixCls:n,locale:r,size:o,updateAtScroll:a,scrollToClose:i,exchangeTime:s});if(e.global){const l=cl();l&&l.appContext.app.provide(Ch,u)}else hU(Ch,u)}});function Nge(e,t,n,r,o,a){return fi(e.$slots,"default")}var Sk=le(Ige,[["render",Nge]]);const Bge=Object.assign(Sk,{install:(e,t)=>{$O(e,t);const n=PO(t);e.component(n+Sk.name,Sk)}}),Fge=e=>{const t=At(!1),n={overflow:"",width:"",boxSizing:""};return{setOverflowHidden:()=>{if(e.value){const a=e.value;if(!t.value&&a.style.overflow!=="hidden"){const i=sge(a);(i>0||age(a))&&(n.overflow=a.style.overflow,n.width=a.style.width,n.boxSizing=a.style.boxSizing,a.style.overflow="hidden",a.style.width=`${a.offsetWidth-i}px`,a.style.boxSizing="border-box",t.value=!0)}}},resetOverflow:()=>{if(e.value&&t.value){const a=e.value;a.style.overflow=n.overflow,a.style.width=n.width,a.style.boxSizing=n.boxSizing,t.value=!1}}}};var Uf=Object.prototype.toString;function Db(e){return Uf.call(e)==="[object Array]"}function ia(e){return Uf.call(e)==="[object Object]"}function S3(e){return Uf.call(e)==="[object String]"}function Rge(e){return Uf.call(e)==="[object Number]"&&e===e}function Mge(e){return Uf.call(e)==="[object Boolean]"}function _3(e){return Uf.call(e)==="[object Function]"}function zge(e){return ia(e)&&Object.keys(e).length===0}function vu(e){return e==null||e===""}function sH(e){return Db(e)&&!e.length}var VO=function(e,t){if(typeof e!="object"||typeof t!="object")return e===t;if(_3(e)&&_3(t))return e===t||e.toString()===t.toString();if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){var r=VO(e[n],t[n]);if(!r)return!1}return!0},qO=function(e,t){var n=Object.assign({},e);return Object.keys(t||{}).forEach(function(r){var o=n[r],a=t==null?void 0:t[r];n[r]=ia(o)?Object.assign(Object.assign({},o),a):a||o}),n},Uge=function(e,t){for(var n=t.split("."),r=e,o=0;o<n.length;o++)if(r=r&&r[n[o]],r===void 0)return r;return r},Da="#{field} is not a #{type} type",uH={required:"#{field} is required",type:{ip:Da,email:Da,url:Da,string:Da,number:Da,array:Da,object:Da,boolean:Da},number:{min:"`#{value}` is not greater than `#{min}`",max:"`#{value}` is not less than `#{max}`",equal:"`#{value}` is not equal to `#{equal}`",range:"`#{value}` is not in range `#{min} ~ #{max}`",positive:"`#{value}` is not a positive number",negative:"`#{value}` is not a negative number"},string:{maxLength:"#{field} cannot be longer than #{maxLength} characters",minLength:"#{field} must be at least #{minLength} characters",length:"#{field} must be exactly #{length} characters",match:"`#{value}` does not match pattern #{pattern}",uppercase:"`#{value}` must be all uppercase",lowercase:"`#{value}` must be all lowercased"},array:{length:"#{field} must be exactly #{length} in length",minLength:"#{field} cannot be less than #{minLength} in length",maxLength:"#{field} cannot be greater than #{maxLength} in length",includes:"#{field} is not includes #{includes}",deepEqual:"#{field} is not deep equal with #{deepEqual}",empty:"#{field} is not an empty array"},object:{deepEqual:"#{field} is not deep equal to expected value",hasKeys:"#{field} does not contain required fields",empty:"#{field} is not an empty object"},boolean:{true:"Expect true but got `#{value}`",false:"Expect false but got `#{value}`"}},Go=function(t,n){var r=this;this.getValidateMsg=function(o,a){a===void 0&&(a={});var i=Object.assign(Object.assign({},a),{value:r.obj,field:r.field,type:r.type}),s=Uge(r.validateMessages,o);return _3(s)?s(i):S3(s)?s.replace(/\#\{.+?\}/g,function(u){var l=u.slice(2,-1);if(l in i){if(ia(i[l])||Db(i[l]))try{return JSON.stringify(i[l])}catch{return i[l]}return String(i[l])}return u}):s},ia(n)&&S3(t)&&n.trim?this.obj=t.trim():ia(n)&&n.ignoreEmptyString&&t===""?this.obj=void 0:this.obj=t,this.message=n.message,this.type=n.type,this.error=null,this.field=n.field||n.type,this.validateMessages=qO(uH,n.validateMessages)},Ab={not:{configurable:!0},isRequired:{configurable:!0},end:{configurable:!0}};Ab.not.get=function(){return this._not=!this._not,this};Ab.isRequired.get=function(){if(vu(this.obj)||sH(this.obj)){var e=this.getValidateMsg("required");this.error={value:this.obj,type:this.type,requiredError:!0,message:this.message||(ia(e)?e:(this._not?"[NOT MODE]:":"")+e)}}return this};Ab.end.get=function(){return this.error};Go.prototype.addError=function(t){!this.error&&t&&(this.error={value:this.obj,type:this.type,message:this.message||(ia(t)?t:(this._not?"[NOT MODE]:":"")+t)})};Go.prototype.validate=function(t,n){var r=this._not?t:!t;return r&&this.addError(n),this};Go.prototype.collect=function(t){t&&t(this.error)};Object.defineProperties(Go.prototype,Ab);var Hge=function(e){function t(r,o){e.call(this,r,Object.assign(Object.assign({},o),{type:"string"})),this.validate(o&&o.strict?S3(this.obj):!0,this.getValidateMsg("type.string"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={uppercase:{configurable:!0},lowercase:{configurable:!0}};return t.prototype.maxLength=function(o){return this.obj?this.validate(this.obj.length<=o,this.getValidateMsg("string.maxLength",{maxLength:o})):this},t.prototype.minLength=function(o){return this.obj?this.validate(this.obj.length>=o,this.getValidateMsg("string.minLength",{minLength:o})):this},t.prototype.length=function(o){return this.obj?this.validate(this.obj.length===o,this.getValidateMsg("string.length",{length:o})):this},t.prototype.match=function(o){var a=o instanceof RegExp;return a&&(o.lastIndex=0),this.validate(this.obj===void 0||a&&o.test(this.obj),this.getValidateMsg("string.match",{pattern:o}))},n.uppercase.get=function(){return this.obj?this.validate(this.obj.toUpperCase()===this.obj,this.getValidateMsg("string.uppercase")):this},n.lowercase.get=function(){return this.obj?this.validate(this.obj.toLowerCase()===this.obj,this.getValidateMsg("string.lowercase")):this},Object.defineProperties(t.prototype,n),t}(Go),Wge=function(e){function t(r,o){e.call(this,r,Object.assign(Object.assign({},o),{type:"number"})),this.validate(o&&o.strict?Rge(this.obj):!0,this.getValidateMsg("type.number"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={positive:{configurable:!0},negative:{configurable:!0}};return t.prototype.min=function(o){return vu(this.obj)?this:this.validate(this.obj>=o,this.getValidateMsg("number.min",{min:o}))},t.prototype.max=function(o){return vu(this.obj)?this:this.validate(this.obj<=o,this.getValidateMsg("number.max",{max:o}))},t.prototype.equal=function(o){return vu(this.obj)?this:this.validate(this.obj===o,this.getValidateMsg("number.equal",{equal:o}))},t.prototype.range=function(o,a){return vu(this.obj)?this:this.validate(this.obj>=o&&this.obj<=a,this.getValidateMsg("number.range",{min:o,max:a}))},n.positive.get=function(){return vu(this.obj)?this:this.validate(this.obj>0,this.getValidateMsg("number.positive"))},n.negative.get=function(){return vu(this.obj)?this:this.validate(this.obj<0,this.getValidateMsg("number.negative"))},Object.defineProperties(t.prototype,n),t}(Go),Vge=function(e){function t(r,o){e.call(this,r,Object.assign(Object.assign({},o),{type:"array"})),this.validate(o&&o.strict?Db(this.obj):!0,this.getValidateMsg("type.array",{value:this.obj,type:this.type}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={empty:{configurable:!0}};return t.prototype.length=function(o){return this.obj?this.validate(this.obj.length===o,this.getValidateMsg("array.length",{value:this.obj,length:o})):this},t.prototype.minLength=function(o){return this.obj?this.validate(this.obj.length>=o,this.getValidateMsg("array.minLength",{value:this.obj,minLength:o})):this},t.prototype.maxLength=function(o){return this.obj?this.validate(this.obj.length<=o,this.getValidateMsg("array.maxLength",{value:this.obj,maxLength:o})):this},t.prototype.includes=function(o){var a=this;return this.obj?this.validate(o.every(function(i){return a.obj.indexOf(i)!==-1}),this.getValidateMsg("array.includes",{value:this.obj,includes:o})):this},t.prototype.deepEqual=function(o){return this.obj?this.validate(VO(this.obj,o),this.getValidateMsg("array.deepEqual",{value:this.obj,deepEqual:o})):this},n.empty.get=function(){return this.validate(sH(this.obj),this.getValidateMsg("array.empty",{value:this.obj}))},Object.defineProperties(t.prototype,n),t}(Go),qge=function(e){function t(r,o){e.call(this,r,Object.assign(Object.assign({},o),{type:"object"})),this.validate(o&&o.strict?ia(this.obj):!0,this.getValidateMsg("type.object"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={empty:{configurable:!0}};return t.prototype.deepEqual=function(o){return this.obj?this.validate(VO(this.obj,o),this.getValidateMsg("object.deepEqual",{deepEqual:o})):this},t.prototype.hasKeys=function(o){var a=this;return this.obj?this.validate(o.every(function(i){return a.obj[i]}),this.getValidateMsg("object.hasKeys",{keys:o})):this},n.empty.get=function(){return this.validate(zge(this.obj),this.getValidateMsg("object.empty"))},Object.defineProperties(t.prototype,n),t}(Go),Gge=function(e){function t(r,o){e.call(this,r,Object.assign(Object.assign({},o),{type:"boolean"})),this.validate(o&&o.strict?Mge(this.obj):!0,this.getValidateMsg("type.boolean"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={true:{configurable:!0},false:{configurable:!0}};return n.true.get=function(){return this.validate(this.obj===!0,this.getValidateMsg("boolean.true"))},n.false.get=function(){return this.validate(this.obj===!1,this.getValidateMsg("boolean.false"))},Object.defineProperties(t.prototype,n),t}(Go),Zge=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Yge=new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),Jge=/^(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}$/,Kge=function(e){function t(r,o){e.call(this,r,Object.assign(Object.assign({},o),{type:"type"}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={email:{configurable:!0},url:{configurable:!0},ip:{configurable:!0}};return n.email.get=function(){return this.type="email",this.validate(this.obj===void 0||Zge.test(this.obj),this.getValidateMsg("type.email"))},n.url.get=function(){return this.type="url",this.validate(this.obj===void 0||Yge.test(this.obj),this.getValidateMsg("type.url"))},n.ip.get=function(){return this.type="ip",this.validate(this.obj===void 0||Jge.test(this.obj),this.getValidateMsg("type.ip"))},Object.defineProperties(t.prototype,n),t}(Go),Xge=function(e){function t(r,o){e.call(this,r,Object.assign(Object.assign({},o),{type:"custom"}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={validate:{configurable:!0}};return n.validate.get=function(){var r=this;return function(o,a){var i;if(o)return i=o(r.obj,r.addError.bind(r)),i&&i.then?(a&&i.then(function(){a&&a(r.error)},function(s){console.error(s)}),[i,r]):(a&&a(r.error),r.error)}},Object.defineProperties(t.prototype,n),t}(Go),Qm=function(e,t){return new lH(e,Object.assign({field:"value"},t))};Qm.globalConfig={};Qm.setGlobalConfig=function(e){Qm.globalConfig=e||{}};var lH=function(t,n){var r=Qm.globalConfig,o=Object.assign(Object.assign(Object.assign({},r),n),{validateMessages:qO(r.validateMessages,n.validateMessages)});this.string=new Hge(t,o),this.number=new Wge(t,o),this.array=new Vge(t,o),this.object=new qge(t,o),this.boolean=new Gge(t,o),this.type=new Kge(t,o),this.custom=new Xge(t,o)},cH=function(t,n){n===void 0&&(n={}),this.schema=t,this.options=n};cH.prototype.messages=function(t){this.options=Object.assign(Object.assign({},this.options),{validateMessages:qO(this.options.validateMessages,t)})};cH.prototype.validate=function(t,n){var r=this;if(!ia(t))return;var o=[],a=null;function i(s,u){a||(a={}),(!a[s]||u.requiredError)&&(a[s]=u)}this.schema&&Object.keys(this.schema).forEach(function(s){if(Db(r.schema[s]))for(var u=function(f){var d=r.schema[s][f],p=d.type,m=d.message;if(!p&&!d.validator)throw"You must specify a type to field "+s+"!";var y=Object.assign(Object.assign({},r.options),{message:m,field:s});"ignoreEmptyString"in d&&(y.ignoreEmptyString=d.ignoreEmptyString),"strict"in d&&(y.strict=d.strict);var g=new lH(t[s],y),v=g.type[p]||null;if(!v)if(d.validator){v=g.custom.validate(d.validator),Object.prototype.toString.call(v)==="[object Array]"&&v[0].then?o.push({function:v[0],_this:v[1],key:s}):v&&i(s,v);return}else v=g[p];if(Object.keys(d).forEach(function(h){d.required&&(v=v.isRequired),h!=="message"&&v[h]&&d[h]&&typeof v[h]=="object"&&(v=v[h]),v[h]&&d[h]!==void 0&&typeof v[h]=="function"&&(v=v[h](d[h]))}),v.collect(function(h){h&&i(s,h)}),a)return"break"},l=0;l<r.schema[s].length;l++){var c=u(l);if(c==="break")break}}),o.length>0?Promise.all(o.map(function(s){return s.function})).then(function(){o.forEach(function(s){s._this.error&&i(s.key,s._this.error)}),n&&n(a)}):n&&n(a)};const Qge=({modalRef:e,wrapperRef:t,draggable:n,alignCenter:r})=>{const o=At(!1),a=At([0,0]),i=At([0,0]),s=At(),u=At([0,0]),l=At([0,0]),c=()=>{var m,y,g;if(t.value&&e.value){const{top:v,left:h}=t.value.getBoundingClientRect(),{clientWidth:b,clientHeight:w}=t.value,{top:k,left:C,width:E,height:D}=e.value.getBoundingClientRect(),A=r.value?0:(m=e.value)==null?void 0:m.offsetTop,B=C-h,q=k-v-A;(B!==((y=i.value)==null?void 0:y[0])||q!==((g=i.value)==null?void 0:g[1]))&&(i.value=[B,q]);const R=b>E?b-E:0,ie=w>D?w-D-A:0;(R!==l.value[0]||ie!==l.value[1])&&(l.value=[R,ie]),A&&(u.value=[0,0-A])}},f=m=>{n.value&&(m.preventDefault(),o.value=!0,c(),a.value=[m.x,m.y],nm(window,"mousemove",d),nm(window,"mouseup",p),nm(window,"contextmenu",p))},d=m=>{if(o.value){const y=m.x-a.value[0],g=m.y-a.value[1];let v=i.value[0]+y,h=i.value[1]+g;v<u.value[0]&&(v=u.value[0]),v>l.value[0]&&(v=l.value[0]),h<u.value[1]&&(h=u.value[1]),h>l.value[1]&&(h=l.value[1]),s.value=[v,h]}},p=()=>{o.value=!1,E3(window,"mousemove",d),E3(window,"mouseup",p)};return{position:s,handleMoveDown:f}};var eve=Object.defineProperty,yL=Object.getOwnPropertySymbols,tve=Object.prototype.hasOwnProperty,nve=Object.prototype.propertyIsEnumerable,bL=(e,t,n)=>t in e?eve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rve=(e,t)=>{for(var n in t||(t={}))tve.call(t,n)&&bL(e,n,t[n]);if(yL)for(var n of yL(t))nve.call(t,n)&&bL(e,n,t[n]);return e},ove=se({name:"Modal",components:{ClientOnly:$ge,ArcoButton:Oge,IconHover:cge,IconClose:mU,IconInfoCircleFill:EQ,IconCheckCircleFill:iQ,IconExclamationCircleFill:vU,IconCloseCircleFill:fQ},inheritAttrs:!1,props:{visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!1},width:{type:[Number,String]},top:{type:[Number,String]},mask:{type:Boolean,default:!0},title:{type:String},titleAlign:{type:String,default:"center"},alignCenter:{type:Boolean,default:!0},unmountOnClose:Boolean,maskClosable:{type:Boolean,default:!0},hideCancel:{type:Boolean,default:!1},simple:{type:Boolean,default:e=>e.notice},closable:{type:Boolean,default:!0},okText:String,cancelText:String,okLoading:{type:Boolean,default:!1},okButtonProps:{type:Object},cancelButtonProps:{type:Object},footer:{type:Boolean,default:!0},renderToBody:{type:Boolean,default:!0},popupContainer:{type:[String,Object],default:"body"},maskStyle:{type:Object},modalClass:{type:[String,Array]},modalStyle:{type:Object},onBeforeOk:{type:Function},onBeforeCancel:{type:Function},escToClose:{type:Boolean,default:!0},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},maskAnimationName:{type:String,default:e=>e.fullscreen?"fade-in-standard":"fade-modal"},modalAnimationName:{type:String,default:e=>e.fullscreen?"zoom-in":"zoom-modal"},bodyClass:{type:[String,Array]},bodyStyle:{type:[String,Object,Array]},messageType:{type:String},hideTitle:{type:Boolean,default:!1}},emits:{"update:visible":e=>!0,ok:e=>!0,cancel:e=>!0,open:()=>!0,close:()=>!0,beforeOpen:()=>!0,beforeClose:()=>!0},setup(e,{emit:t}){const{fullscreen:n,popupContainer:r,alignCenter:o}=yb(e),a=fe("modal"),{t:i}=Khe(),s=At(),u=At(),l=At(e.defaultVisible),c=x(()=>{var J;return(J=e.visible)!=null?J:l.value}),f=At(!1),d=x(()=>e.okLoading||f.value),p=x(()=>e.draggable&&!e.fullscreen),{teleportContainer:m,containerRef:y}=jge({popupContainer:r,visible:c}),g=At(c.value),v=x(()=>e.okText||i("modal.okText")),h=x(()=>e.cancelText||i("modal.cancelText")),{zIndex:b,isLastDialog:w}=Pge("dialog",{visible:c});let k=!1;const C=J=>{e.escToClose&&J.key===Tge.ESC&&w()&&K(J)},E=()=>{e.escToClose&&!k&&(k=!0,nm(document.documentElement,"keydown",C))},D=()=>{k=!1,E3(document.documentElement,"keydown",C)};let A=0;const{position:B,handleMoveDown:q}=Qge({wrapperRef:s,modalRef:u,draggable:p,alignCenter:o}),R=()=>{A++,f.value&&(f.value=!1),l.value=!1,t("update:visible",!1)},ie=async J=>{const W=A,he=await new Promise(async Ee=>{var De;if(Bu(e.onBeforeOk)){let Ae=e.onBeforeOk((pe=!0)=>Ee(pe));if((x9(Ae)||!A9(Ae))&&(f.value=!0),x9(Ae))try{Ae=(De=await Ae)!=null?De:!0}catch{Ae=!1}A9(Ae)&&Ee(Ae)}else Ee(!0)});W===A&&(he?(t("ok",J),R()):f.value&&(f.value=!1))},K=J=>{var W;let he=!0;Bu(e.onBeforeCancel)&&(he=(W=e.onBeforeCancel())!=null?W:!1),he&&(t("cancel",J),R())},te=At(!1),F=J=>{J.target===s.value&&(te.value=!0)},U=J=>{e.mask&&e.maskClosable&&te.value&&K(J)},Y=()=>{c.value&&(!rge(s.value,document.activeElement)&&document.activeElement instanceof HTMLElement&&document.activeElement.blur(),t("open"))},I=()=>{c.value||(p.value&&(B.value=void 0),g.value=!1,_(),t("close"))},{setOverflowHidden:j,resetOverflow:_}=Fge(y);zs(()=>{y.value=C3(e.popupContainer),c.value&&(j(),e.escToClose&&E())}),xO(()=>{_(),D()}),ca(c,J=>{l.value!==J&&(l.value=J),J?(t("beforeOpen"),g.value=!0,te.value=!1,j(),E()):(t("beforeClose"),D())}),ca(n,()=>{B.value&&(B.value=void 0)});const O=x(()=>[`${a}-wrapper`,{[`${a}-wrapper-align-center`]:e.alignCenter&&!e.fullscreen,[`${a}-wrapper-moved`]:!!B.value}]),L=x(()=>[`${a}`,e.modalClass,{[`${a}-simple`]:e.simple,[`${a}-draggable`]:p.value,[`${a}-fullscreen`]:e.fullscreen}]),M=x(()=>{var J;const W=rve({},(J=e.modalStyle)!=null?J:{});return e.width&&!e.fullscreen&&(W.width=de(e.width)?`${e.width}px`:e.width),!e.alignCenter&&e.top&&(W.top=de(e.top)?`${e.top}px`:e.top),B.value&&(W.transform=`translate(${B.value[0]}px, ${B.value[1]}px)`),W});return{prefixCls:a,mounted:g,computedVisible:c,containerRef:y,wrapperRef:s,mergedModalStyle:M,okDisplayText:v,cancelDisplayText:h,zIndex:b,handleOk:ie,handleCancel:K,handleMaskClick:U,handleMaskMouseDown:F,handleOpen:Y,handleClose:I,mergedOkLoading:d,modalRef:u,wrapperCls:O,modalCls:L,teleportContainer:m,handleMoveDown:q}}});function ive(e,t,n,r,o,a){const i=ri("icon-info-circle-fill"),s=ri("icon-check-circle-fill"),u=ri("icon-exclamation-circle-fill"),l=ri("icon-close-circle-fill"),c=ri("icon-close"),f=ri("icon-hover"),d=ri("arco-button"),p=ri("client-only");return X(),Ao(p,null,{default:gu(()=>[(X(),Ao(nX,{to:e.teleportContainer,disabled:!e.renderToBody},[!e.unmountOnClose||e.computedVisible||e.mounted?Z2((X(),oe("div",Y2({key:0,class:`${e.prefixCls}-container`,style:{zIndex:e.zIndex}},e.$attrs),[Yi(C9,{name:e.maskAnimationName,appear:""},{default:gu(()=>[e.mask?Z2((X(),oe("div",{key:0,ref:"maskRef",class:re(`${e.prefixCls}-mask`),style:ce(e.maskStyle)},null,6)),[[J2,e.computedVisible]]):kr("v-if",!0)]),_:1},8,["name"]),G("div",{ref:"wrapperRef",class:re(e.wrapperCls),onClick:t[2]||(t[2]=S9((...m)=>e.handleMaskClick&&e.handleMaskClick(...m),["self"])),onMousedown:t[3]||(t[3]=S9((...m)=>e.handleMaskMouseDown&&e.handleMaskMouseDown(...m),["self"]))},[Yi(C9,{name:e.modalAnimationName,appear:"",onAfterEnter:e.handleOpen,onAfterLeave:e.handleClose},{default:gu(()=>[Z2(G("div",{ref:"modalRef",class:re(e.modalCls),style:ce(e.mergedModalStyle)},[!e.hideTitle&&(e.$slots.title||e.title||e.closable)?(X(),oe("div",{key:0,class:re(`${e.prefixCls}-header`),onMousedown:t[1]||(t[1]=(...m)=>e.handleMoveDown&&e.handleMoveDown(...m))},[e.$slots.title||e.title?(X(),oe("div",{key:0,class:re([`${e.prefixCls}-title`,`${e.prefixCls}-title-align-${e.titleAlign}`])},[e.messageType?(X(),oe("div",{key:0,class:re(`${e.prefixCls}-title-icon`)},[e.messageType==="info"?(X(),Ao(i,{key:0})):kr("v-if",!0),e.messageType==="success"?(X(),Ao(s,{key:1})):kr("v-if",!0),e.messageType==="warning"?(X(),Ao(u,{key:2})):kr("v-if",!0),e.messageType==="error"?(X(),Ao(l,{key:3})):kr("v-if",!0)],2)):kr("v-if",!0),fi(e.$slots,"title",{},()=>[K2(X2(e.title),1)])],2)):kr("v-if",!0),!e.simple&&e.closable?(X(),oe("div",{key:1,tabindex:"-1",role:"button","aria-label":"Close",class:re(`${e.prefixCls}-close-btn`),onClick:t[0]||(t[0]=(...m)=>e.handleCancel&&e.handleCancel(...m))},[Yi(f,null,{default:gu(()=>[Yi(c)]),_:1})],2)):kr("v-if",!0)],34)):kr("v-if",!0),G("div",{class:re([`${e.prefixCls}-body`,e.bodyClass]),style:ce(e.bodyStyle)},[fi(e.$slots,"default")],6),e.footer?(X(),oe("div",{key:1,class:re(`${e.prefixCls}-footer`)},[fi(e.$slots,"footer",{},()=>[e.hideCancel?kr("v-if",!0):(X(),Ao(d,Y2({key:0},e.cancelButtonProps,{onClick:e.handleCancel}),{default:gu(()=>[K2(X2(e.cancelDisplayText),1)]),_:1},16,["onClick"])),Yi(d,Y2({type:"primary"},e.okButtonProps,{loading:e.mergedOkLoading,onClick:e.handleOk}),{default:gu(()=>[K2(X2(e.okDisplayText),1)]),_:1},16,["loading","onClick"])])],2)):kr("v-if",!0)],6),[[J2,e.computedVisible]])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],34)],16)),[[J2,e.computedVisible||e.mounted]]):kr("v-if",!0)],8,["to","disabled"]))]),_:3})}var rm=le(ove,[["render",ive]]),ave=Object.defineProperty,sve=Object.defineProperties,uve=Object.getOwnPropertyDescriptors,wL=Object.getOwnPropertySymbols,lve=Object.prototype.hasOwnProperty,cve=Object.prototype.propertyIsEnumerable,kL=(e,t,n)=>t in e?ave(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fu=(e,t)=>{for(var n in t||(t={}))lve.call(t,n)&&kL(e,n,t[n]);if(wL)for(var n of wL(t))cve.call(t,n)&&kL(e,n,t[n]);return e},fve=(e,t)=>sve(e,uve(t));const _k=(e,t)=>{let n=oge("modal");const r=()=>{l.component&&(l.component.props.visible=!1),Bu(e.onOk)&&e.onOk()},o=()=>{l.component&&(l.component.props.visible=!1),Bu(e.onCancel)&&e.onCancel()},a=async()=>{await rX(),n&&(_9(null,n),document.body.removeChild(n)),n=null,Bu(e.onClose)&&e.onClose()},i=()=>{l.component&&(l.component.props.visible=!1)},s=c=>{l.component&&Object.entries(c).forEach(([f,d])=>{l.component.props[f]=d})},l=Yi(rm,Fu(Fu(Fu({},{visible:!0,renderToBody:!1,unmountOnClose:!0,onOk:r,onCancel:o,onClose:a}),vge(e,["content","title","footer","visible","unmountOnClose","onOk","onCancel","onClose"])),{footer:typeof e.footer=="boolean"?e.footer:void 0}),{default:wk(e.content),title:wk(e.title),footer:typeof e.footer!="boolean"?wk(e.footer):void 0});return(t??O3._context)&&(l.appContext=t??O3._context),_9(l,n),document.body.appendChild(n),{close:i,update:s}},Ok=Fu({open:_k,confirm:(e,t)=>{const n=Fu({simple:!0,messageType:"warning"},e);return _k(n,t)}},fge.reduce((e,t)=>(e[t]=(n,r)=>{const o=Fu({simple:!0,hideCancel:!0,messageType:t},n);return _k(o,r)},e),{})),O3=Object.assign(rm,fve(Fu({},Ok),{install:(e,t)=>{$O(e,t);const n=PO(t);e.component(n+rm.name,rm);const r={};for(const o of Object.keys(Ok))r[o]=(a,i=e._context)=>Ok[o](a,i);e.config.globalProperties.$modal=r},_context:null})),GO="en",xb="zh",Xp="light",Mp="dark",zp="party",fH=gU("locale",{state:()=>({value:xb}),actions:{updateLanguage(e){this.value=e}}}),zv={formatYear:"YYYY",formatMonth:"MMM YYYY",today:"Today",view:{month:"Month",year:"Year",week:"Week",day:"Day"},month:{long:{January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},short:{January:"Jan",February:"Feb",March:"Mar",April:"Apr",May:"May",June:"Jun",July:"Jul",August:"Aug",September:"Sept",October:"Oct",November:"Nov",December:"Dec"}},week:{long:{self:"Week",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},short:{self:"Week",monday:"Mon",tuesday:"Tue",wednesday:"Wed",thursday:"Thu",friday:"Fri",saturday:"Sat",sunday:"Sun"}}},dve={locale:"en-US",empty:{description:"No Data"},drawer:{okText:"Ok",cancelText:"Cancel"},popconfirm:{okText:"Ok",cancelText:"Cancel"},modal:{okText:"Ok",cancelText:"Cancel"},pagination:{goto:"Goto",page:"Page",countPerPage:" / Page",total:"Total: {0}"},table:{okText:"Ok",resetText:"Reset"},upload:{start:"Start",cancel:"Cancel",delete:"Delete",retry:"Click to retry",buttonText:"Upload",preview:"Preview",drag:"Click or drag file to this area to upload",dragHover:"Release to upload",error:"Upload Error"},calendar:zv,datePicker:{view:zv.view,month:zv.month,week:zv.week,placeholder:{date:"Please select date",week:"Please select week",month:"Please select month",year:"Please select year",quarter:"Please select quarter",time:"Please select time"},rangePlaceholder:{date:["Start date","End date"],week:["Start week","End week"],month:["Start month","End month"],year:["Start year","End year"],quarter:["Start quarter","End quarter"],time:["Start time","End time"]},selectTime:"Select time",today:"Today",now:"Now",ok:"Ok"},image:{loading:"loading"},imagePreview:{fullScreen:"Full Screen",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",zoomIn:"Zoom In",zoomOut:"Zoom Out",originalSize:"Original Size"},typography:{copied:"Copied",copy:"Copy",expand:"Expand",collapse:"Collapse",edit:"Edit"},form:{validateMessages:uH},colorPicker:{history:"History Colors",preset:"Preset Colors",empty:"Empty"}},pve={__name:"App",setup(e){const t={zh:k3,en:dve},n=fH(),r=x(()=>t[n.value]||k3);return(o,a)=>{const i=ri("router-view"),s=Bge;return X(),Ao(s,{locale:r.value},{default:gu(()=>[Yi(i)]),_:1},8,["locale"])}}},hve="modulepreload",gve=function(e){return"/"+e},EL={},Ye=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(u=>{if(u=gve(u),u in EL)return;EL[u]=!0;const l=u.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${c}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":hve,l||(f.as="script"),f.crossOrigin="",f.href=u,s&&f.setAttribute("nonce",s),document.head.appendChild(f),l)return new Promise((d,p)=>{f.addEventListener("load",d),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})};var Tt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tl(e){var t={exports:{}};return e(t,t.exports),t.exports}var Aa,om,Uv=function(e){return e&&e.Math==Math&&e},Ze=Uv(typeof globalThis=="object"&&globalThis)||Uv(typeof window=="object"&&window)||Uv(typeof self=="object"&&self)||Uv(typeof Tt=="object"&&Tt)||function(){return this}()||Function("return this")(),ZO=Function.prototype,CL=ZO.apply,mve=ZO.bind,SL=ZO.call,dH=typeof Reflect=="object"&&Reflect.apply||(mve?SL.bind(CL):function(){return SL.apply(CL,arguments)}),pH=Function.prototype,D3=pH.bind,A3=pH.call,yve=D3&&D3.bind(A3),Ut=D3?function(e){return e&&yve(A3,e)}:function(e){return e&&function(){return A3.apply(e,arguments)}},Jn=function(e){return typeof e=="function"},Pr=function(e){try{return!!e()}catch{return!0}},Or=!Pr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),vd=Function.prototype.call,zr=vd.bind?vd.bind(vd):function(){return vd.apply(vd,arguments)},_L={}.propertyIsEnumerable,OL=Object.getOwnPropertyDescriptor,bve=OL&&!_L.call({1:2},1)?function(e){var t=OL(this,e);return!!t&&t.enumerable}:_L,YO={f:bve},Fo=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},wve=Ut({}.toString),kve=Ut("".slice),Ru=function(e){return kve(wve(e),8,-1)},Dk=Ze.Object,Eve=Ut("".split),hH=Pr(function(){return!Dk("z").propertyIsEnumerable(0)})?function(e){return Ru(e)=="String"?Eve(e,""):Dk(e)}:Dk,Cve=Ze.TypeError,JO=function(e){if(e==null)throw Cve("Can't call method on "+e);return e},ji=function(e){return hH(JO(e))},co=function(e){return typeof e=="object"?e!==null:Jn(e)},Rr={},DL=function(e){return Jn(e)?e:void 0},Hf=function(e,t){return arguments.length<2?DL(Rr[e])||DL(Ze[e]):Rr[e]&&Rr[e][t]||Ze[e]&&Ze[e][t]},Dh=Ut({}.isPrototypeOf),Ak=Hf("navigator","userAgent")||"",AL=Ze.process,xL=Ze.Deno,LL=AL&&AL.versions||xL&&xL.version,PL=LL&&LL.v8;PL&&(om=(Aa=PL.split("."))[0]>0&&Aa[0]<4?1:+(Aa[0]+Aa[1])),!om&&Ak&&(!(Aa=Ak.match(/Edge\/(\d+)/))||Aa[1]>=74)&&(Aa=Ak.match(/Chrome\/(\d+)/))&&(om=+Aa[1]);var Hv,e1=om,ii=!!Object.getOwnPropertySymbols&&!Pr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&e1&&e1<41}),KO=ii&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Sve=Ze.Object,Gc=KO?function(e){return typeof e=="symbol"}:function(e){var t=Hf("Symbol");return Jn(t)&&Dh(t.prototype,Sve(e))},_ve=Ze.String,x3=function(e){try{return _ve(e)}catch{return"Object"}},Ove=Ze.TypeError,XO=function(e){if(Jn(e))return e;throw Ove(x3(e)+" is not a function")},t1=function(e,t){var n=e[t];return n==null?void 0:XO(n)},Dve=Ze.TypeError,Ave=Object.defineProperty,ss=Ze["__core-js_shared__"]||function(e,t){try{Ave(Ze,e,{value:t,configurable:!0,writable:!0})}catch{Ze[e]=t}return t}("__core-js_shared__",{}),Il=Tl(function(e){(e.exports=function(t,n){return ss[t]||(ss[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),xve=Ze.Object,$g=function(e){return xve(JO(e))},Lve=Ut({}.hasOwnProperty),ft=Object.hasOwn||function(e,t){return Lve($g(e),t)},Pve=0,$ve=Math.random(),jve=Ut(1 .toString),n1=function(e){return"Symbol("+(e===void 0?"":e)+")_"+jve(++Pve+$ve,36)},md=Il("wks"),Mu=Ze.Symbol,$L=Mu&&Mu.for,Tve=KO?Mu:Mu&&Mu.withoutSetter||n1,lr=function(e){if(!ft(md,e)||!ii&&typeof md[e]!="string"){var t="Symbol."+e;ii&&ft(Mu,e)?md[e]=Mu[e]:md[e]=KO&&$L?$L(t):Tve(t)}return md[e]},Ive=Ze.TypeError,Nve=lr("toPrimitive"),Bve=function(e,t){if(!co(e)||Gc(e))return e;var n,r=t1(e,Nve);if(r){if(n=zr(r,e,t),!co(n)||Gc(n))return n;throw Ive("Can't convert object to primitive value")}return function(o,a){var i,s;if(Jn(i=o.toString)&&!co(s=zr(i,o))||Jn(i=o.valueOf)&&!co(s=zr(i,o)))return s;throw Dve("Can't convert object to primitive value")}(e)},Wf=function(e){var t=Bve(e,"string");return Gc(t)?t:t+""},L3=Ze.document,Fve=co(L3)&&co(L3.createElement),gH=function(e){return Fve?L3.createElement(e):{}},vH=!Or&&!Pr(function(){return Object.defineProperty(gH("div"),"a",{get:function(){return 7}}).a!=7}),jL=Object.getOwnPropertyDescriptor,Rve=Or?jL:function(e,t){if(e=ji(e),t=Wf(t),vH)try{return jL(e,t)}catch{}if(ft(e,t))return Fo(!zr(YO.f,e,t),e[t])},Lb={f:Rve},Mve=/#|\.prototype\./,jg=function(e,t){var n=Uve[zve(e)];return n==Wve||n!=Hve&&(Jn(t)?Pr(t):!!t)},zve=jg.normalize=function(e){return String(e).replace(Mve,".").toLowerCase()},Uve=jg.data={},Hve=jg.NATIVE="N",Wve=jg.POLYFILL="P",Vve=jg,TL=Ut(Ut.bind),QO=function(e,t){return XO(e),t===void 0?e:TL?TL(e,t):function(){return e.apply(t,arguments)}},qve=Ze.String,Gve=Ze.TypeError,Vr=function(e){if(co(e))return e;throw Gve(qve(e)+" is not an object")},Zve=Ze.TypeError,IL=Object.defineProperty,Yve=Or?IL:function(e,t,n){if(Vr(e),t=Wf(t),Vr(n),vH)try{return IL(e,t,n)}catch{}if("get"in n||"set"in n)throw Zve("Accessors not supported");return"value"in n&&(e[t]=n.value),e},Us={f:Yve},pr=Or?function(e,t,n){return Us.f(e,t,Fo(1,n))}:function(e,t,n){return e[t]=n,e},Jve=Lb.f,Kve=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 dH(e,this,arguments)};return t.prototype=e.prototype,t},Gi=function(e,t){var n,r,o,a,i,s,u,l,c=e.target,f=e.global,d=e.stat,p=e.proto,m=f?Ze:d?Ze[c]:(Ze[c]||{}).prototype,y=f?Rr:Rr[c]||pr(Rr,c,{})[c],g=y.prototype;for(o in t)n=!Vve(f?o:c+(d?".":"#")+o,e.forced)&&m&&ft(m,o),i=y[o],n&&(s=e.noTargetGet?(l=Jve(m,o))&&l.value:m[o]),a=n&&s?s:t[o],n&&typeof i==typeof a||(u=e.bind&&n?QO(a,Ze):e.wrap&&n?Kve(a):p&&Jn(a)?Ut(a):a,(e.sham||a&&a.sham||i&&i.sham)&&pr(u,"sham",!0),pr(y,o,u),p&&(ft(Rr,r=c+"Prototype")||pr(Rr,r,{}),pr(Rr[r],o,a),e.real&&g&&!g[o]&&pr(g,o,a)))},NL=Il("keys"),Pb=function(e){return NL[e]||(NL[e]=n1(e))},Xve=!Pr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),BL=Pb("IE_PROTO"),P3=Ze.Object,Qve=P3.prototype,r1=Xve?P3.getPrototypeOf:function(e){var t=$g(e);if(ft(t,BL))return t[BL];var n=t.constructor;return Jn(n)&&t instanceof n?n.prototype:t instanceof P3?Qve:null},e0e=Ze.String,t0e=Ze.TypeError,o1=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Ut(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return Vr(r),function(a){if(typeof a=="object"||Jn(a))return a;throw t0e("Can't set "+e0e(a)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),n0e=Math.ceil,r0e=Math.floor,eD=function(e){var t=+e;return t!=t||t===0?0:(t>0?r0e:n0e)(t)},o0e=Math.max,i0e=Math.min,$3=function(e,t){var n=eD(e);return n<0?o0e(n+t,0):i0e(n,t)},a0e=Math.min,Tg=function(e){return(t=e.length)>0?a0e(eD(t),9007199254740991):0;var t},s0e=function(e){return function(t,n,r){var o,a=ji(t),i=Tg(a),s=$3(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},u0e={indexOf:s0e(!1)},Ig={},l0e=u0e.indexOf,FL=Ut([].push),mH=function(e,t){var n,r=ji(e),o=0,a=[];for(n in r)!ft(Ig,n)&&ft(r,n)&&FL(a,n);for(;t.length>o;)ft(r,n=t[o++])&&(~l0e(a,n)||FL(a,n));return a},i1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],c0e=i1.concat("length","prototype"),f0e=Object.getOwnPropertyNames||function(e){return mH(e,c0e)},tD={f:f0e},im={f:Object.getOwnPropertySymbols},d0e=Ut([].concat),p0e=Hf("Reflect","ownKeys")||function(e){var t=tD.f(Vr(e)),n=im.f;return n?d0e(t,n(e)):t},nD=Object.keys||function(e){return mH(e,i1)},h0e=Or?Object.defineProperties:function(e,t){Vr(e);for(var n,r=ji(t),o=nD(t),a=o.length,i=0;a>i;)Us.f(e,n=o[i++],r[n]);return e},g0e=Hf("document","documentElement"),yH=Pb("IE_PROTO"),xk=function(){},bH=function(e){return"<script>"+e+"<\/script>"},RL=function(e){e.write(bH("")),e.close();var t=e.parentWindow.Object;return e=null,t},am=function(){try{Hv=new ActiveXObject("htmlfile")}catch{}var e,t;am=typeof document<"u"?document.domain&&Hv?RL(Hv):((t=gH("iframe")).style.display="none",g0e.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(bH("document.F=Object")),e.close(),e.F):RL(Hv);for(var n=i1.length;n--;)delete am.prototype[i1[n]];return am()};Ig[yH]=!0;var da=Object.create||function(e,t){var n;return e!==null?(xk.prototype=Vr(e),n=new xk,xk.prototype=null,n[yH]=e):n=am(),t===void 0?n:h0e(n,t)},j3=function(e,t,n){var r=Wf(t);r in e?Us.f(e,r,Fo(0,n)):e[r]=n},v0e=Ze.Array,m0e=Math.max,wH=function(e,t,n){for(var r=Tg(e),o=$3(t,r),a=$3(r,r),i=v0e(m0e(a-o,0)),s=0;o<a;o++,s++)j3(i,s,e[o]);return i.length=s,i},y0e=Ut("".replace),b0e=Ut("".split),w0e=Ut([].join),T3=String(Error("zxcasd").stack),kH=/\n\s*at [^:]*:[^\n]*/,k0e=kH.test(T3),E0e=/@[^\n]*\n/.test(T3)&&!/zxcasd/.test(T3),C0e=function(e,t){if(typeof e!="string")return e;if(k0e)for(;t--;)e=y0e(e,kH,"");else if(E0e)return w0e(wH(b0e(e,`
- `),t),`
- `);return e},S0e=function(e,t){co(t)&&"cause"in t&&pr(e,"cause",t.cause)},aa={},_0e=lr("iterator"),O0e=Array.prototype,EH={};EH[lr("toStringTag")]="z";var rD=String(EH)==="[object z]",D0e=lr("toStringTag"),A0e=Ze.Object,x0e=Ru(function(){return arguments}())=="Arguments",Ng=rD?Ru:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=A0e(e),D0e))=="string"?n:x0e?Ru(t):(r=Ru(t))=="Object"&&Jn(t.callee)?"Arguments":r},L0e=lr("iterator"),ML=function(e){if(e!=null)return t1(e,L0e)||t1(e,"@@iterator")||aa[Ng(e)]},P0e=Ze.TypeError,zL=function(e,t,n){var r,o;Vr(e);try{if(!(r=t1(e,"return"))){if(t==="throw")throw n;return n}r=zr(r,e)}catch(a){o=!0,r=a}if(t==="throw")throw n;if(o)throw r;return Vr(r),n},$0e=Ze.TypeError,sm=function(e,t){this.stopped=e,this.result=t},UL=sm.prototype,j0e=function(e,t,n){var r,o,a,i,s,u,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),m=QO(t,c),y=function(v){return r&&zL(r,"normal",v),new sm(!0,v)},g=function(v){return f?(Vr(v),p?m(v[0],v[1],y):m(v[0],v[1])):p?m(v,y):m(v)};if(d)r=e;else{if(!(o=ML(e)))throw $0e(x3(e)+" is not iterable");if(function(v){return v!==void 0&&(aa.Array===v||O0e[_0e]===v)}(o)){for(a=0,i=Tg(e);i>a;a++)if((s=g(e[a]))&&Dh(UL,s))return s;return new sm(!1)}r=function(v,h){var b=arguments.length<2?ML(v):h;if(XO(b))return Vr(zr(b,v));throw P0e(x3(v)+" is not iterable")}(e,o)}for(u=r.next;!(l=zr(u,r)).done;){try{s=g(l.value)}catch(v){zL(r,"throw",v)}if(typeof s=="object"&&s&&Dh(UL,s))return s}return new sm(!1)},T0e=Ze.String,Ah=function(e){if(Ng(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return T0e(e)},I0e=function(e,t){return e===void 0?arguments.length<2?"":t:Ah(e)},N0e=!Pr(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",Fo(1,7)),e.stack!==7)}),B0e=lr("toStringTag"),a1=Ze.Error,F0e=[].push,xh=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=Dh(Lk,this);o1?n=o1(new a1(void 0),o?r1(this):Lk):(n=o?this:da(Lk),pr(n,B0e,"Error")),pr(n,"message",I0e(t,"")),N0e&&pr(n,"stack",C0e(n.stack,1)),S0e(n,r);var a=[];return j0e(e,F0e,{that:a}),pr(n,"errors",a),n};o1?o1(xh,a1):function(e,t){for(var n=p0e(t),r=Us.f,o=Lb.f,a=0;a<n.length;a++){var i=n[a];ft(e,i)||r(e,i,o(t,i))}}(xh,a1);var Lk=xh.prototype=da(a1.prototype,{constructor:Fo(1,xh),message:Fo(1,""),name:Fo(1,"AggregateError")});Gi({global:!0},{AggregateError:xh});var R0e=Ut(Function.toString);Jn(ss.inspectSource)||(ss.inspectSource=function(e){return R0e(e)});var s1,Qp,u1,CH=ss.inspectSource,HL=Ze.WeakMap,M0e=Jn(HL)&&/native code/.test(CH(HL)),I3=Ze.TypeError,z0e=Ze.WeakMap;if(M0e||ss.state){var nu=ss.state||(ss.state=new z0e),U0e=Ut(nu.get),WL=Ut(nu.has),H0e=Ut(nu.set);s1=function(e,t){if(WL(nu,e))throw new I3("Object already initialized");return t.facade=e,H0e(nu,e,t),t},Qp=function(e){return U0e(nu,e)||{}},u1=function(e){return WL(nu,e)}}else{var Ql=Pb("state");Ig[Ql]=!0,s1=function(e,t){if(ft(e,Ql))throw new I3("Object already initialized");return t.facade=e,pr(e,Ql,t),t},Qp=function(e){return ft(e,Ql)?e[Ql]:{}},u1=function(e){return ft(e,Ql)}}var es,VL,qL,Vf={set:s1,get:Qp,has:u1,enforce:function(e){return u1(e)?Qp(e):s1(e,{})},getterFor:function(e){return function(t){var n;if(!co(t)||(n=Qp(t)).type!==e)throw I3("Incompatible receiver, "+e+" required");return n}}},SH=Function.prototype,W0e=Or&&Object.getOwnPropertyDescriptor,GL=ft(SH,"name"),V0e={PROPER:GL&&(function(){}).name==="something",CONFIGURABLE:GL&&(!Or||Or&&W0e(SH,"name").configurable)},l1=function(e,t,n,r){pr(e,t,n)},N3=lr("iterator"),_H=!1;[].keys&&("next"in(qL=[].keys())?(VL=r1(r1(qL)))!==Object.prototype&&(es=VL):_H=!0);var q0e=es==null||Pr(function(){var e={};return es[N3].call(e)!==e});es=q0e?{}:da(es),Jn(es[N3])||l1(es,N3,function(){return this});var OH={IteratorPrototype:es,BUGGY_SAFARI_ITERATORS:_H},G0e=rD?{}.toString:function(){return"[object "+Ng(this)+"]"},Z0e=Us.f,ZL=lr("toStringTag"),c1=function(e,t,n,r){if(e){var o=n?e:e.prototype;ft(o,ZL)||Z0e(o,ZL,{configurable:!0,value:t}),r&&!rD&&pr(o,"toString",G0e)}},Y0e=OH.IteratorPrototype,J0e=function(){return this},K0e=V0e.PROPER,Pk=OH.BUGGY_SAFARI_ITERATORS,X0e=lr("iterator"),Q0e=function(){return this},DH=function(e,t,n,r,o,a,i){(function(g,v,h,b){var w=v+" Iterator";g.prototype=da(Y0e,{next:Fo(1,h)}),c1(g,w,!1,!0),aa[w]=J0e})(n,t,r);var s,u,l=function(g){if(g===o&&m)return m;if(!Pk&&g in d)return d[g];switch(g){case"keys":case"values":case"entries":return function(){return new n(this,g)}}return function(){return new n(this)}},c=t+" Iterator",f=!1,d=e.prototype,p=d[X0e]||d["@@iterator"]||o&&d[o],m=!Pk&&p||l(o),y=t=="Array"&&d.entries||p;return y&&(s=r1(y.call(new e)))!==Object.prototype&&s.next&&(c1(s,c,!0,!0),aa[c]=Q0e),K0e&&o=="values"&&p&&p.name!=="values"&&(f=!0,m=function(){return zr(p,this)}),o&&(u={values:l("values"),keys:l("keys"),entries:l("entries")},i||Gi({target:t,proto:!0,forced:Pk||f},u)),aa[t]=m,u},eme=Vf.set,tme=Vf.getterFor("Array Iterator");DH(Array,"Array",function(e,t){eme(this,{type:"Array Iterator",target:ji(e),index:0,kind:t})},function(){var e=tme(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"),aa.Arguments=aa.Array;var nme=Ut("".charAt),YL=Ut("".charCodeAt),rme=Ut("".slice),ome=function(e){return function(t,n){var r,o,a=Ah(JO(t)),i=eD(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=YL(a,i))<55296||r>56319||i+1===s||(o=YL(a,i+1))<56320||o>57343?e?nme(a,i):r:e?rme(a,i,i+2):o-56320+(r-55296<<10)+65536}},ime={charAt:ome(!0)}.charAt,ame=Vf.set,sme=Vf.getterFor("String Iterator");DH(String,"String",function(e){ame(this,{type:"String Iterator",string:Ah(e),index:0})},function(){var e,t=sme(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=ime(n,r),t.index+=e.length,{value:e,done:!1})});var ume=Rr.AggregateError,JL=lr("toStringTag");for(var $k 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 KL=Ze[$k],jk=KL&&KL.prototype;jk&&Ng(jk)!==JL&&pr(jk,JL,$k),aa[$k]=aa.Array}var xa,um,lme=ume,Wv=function(e){return e&&e.Math==Math&&e},He=Wv(typeof globalThis=="object"&&globalThis)||Wv(typeof window=="object"&&window)||Wv(typeof self=="object"&&self)||Wv(typeof Tt=="object"&&Tt)||function(){return this}()||Function("return this")(),Wn=function(e){try{return!!e()}catch{return!0}},_i=!Wn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),yd=Function.prototype.call,Yn=yd.bind?yd.bind(yd):function(){return yd.apply(yd,arguments)},XL={}.propertyIsEnumerable,QL=Object.getOwnPropertyDescriptor,cme=QL&&!XL.call({1:2},1)?function(e){var t=QL(this,e);return!!t&&t.enumerable}:XL,fme={f:cme},us=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},AH=Function.prototype,B3=AH.bind,F3=AH.call,dme=B3&&B3.bind(F3),xt=B3?function(e){return e&&dme(F3,e)}:function(e){return e&&function(){return F3.apply(e,arguments)}},pme=xt({}.toString),hme=xt("".slice),zu=function(e){return hme(pme(e),8,-1)},Tk=He.Object,gme=xt("".split),xH=Wn(function(){return!Tk("z").propertyIsEnumerable(0)})?function(e){return zu(e)=="String"?gme(e,""):Tk(e)}:Tk,vme=He.TypeError,$b=function(e){if(e==null)throw vme("Can't call method on "+e);return e},qf=function(e){return xH($b(e))},Nn=function(e){return typeof e=="function"},pi=function(e){return typeof e=="object"?e!==null:Nn(e)},mme=function(e){return Nn(e)?e:void 0},Bg=function(e,t){return arguments.length<2?mme(He[e]):He[e]&&He[e][t]},f1=xt({}.isPrototypeOf),Ik=Bg("navigator","userAgent")||"",eP=He.process,tP=He.Deno,nP=eP&&eP.versions||tP&&tP.version,rP=nP&&nP.v8;rP&&(um=(xa=rP.split("."))[0]>0&&xa[0]<4?1:+(xa[0]+xa[1])),!um&&Ik&&(!(xa=Ik.match(/Edge\/(\d+)/))||xa[1]>=74)&&(xa=Ik.match(/Chrome\/(\d+)/))&&(um=+xa[1]);var oP=um,R3=!!Object.getOwnPropertySymbols&&!Wn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&oP&&oP<41}),oD=R3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yme=He.Object,M3=oD?function(e){return typeof e=="symbol"}:function(e){var t=Bg("Symbol");return Nn(t)&&f1(t.prototype,yme(e))},bme=He.String,z3=function(e){try{return bme(e)}catch{return"Object"}},wme=He.TypeError,iD=function(e){if(Nn(e))return e;throw wme(z3(e)+" is not a function")},Lh=function(e,t){var n=e[t];return n==null?void 0:iD(n)},kme=He.TypeError,Eme=Object.defineProperty,aD=function(e,t){try{Eme(He,e,{value:t,configurable:!0,writable:!0})}catch{He[e]=t}return t},ls=He["__core-js_shared__"]||aD("__core-js_shared__",{}),sD=Tl(function(e){(e.exports=function(t,n){return ls[t]||(ls[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Cme=He.Object,uD=function(e){return Cme($b(e))},Sme=xt({}.hasOwnProperty),Dr=Object.hasOwn||function(e,t){return Sme(uD(e),t)},_me=0,Ome=Math.random(),Dme=xt(1 .toString),LH=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Dme(++_me+Ome,36)},bd=sD("wks"),Uu=He.Symbol,iP=Uu&&Uu.for,Ame=oD?Uu:Uu&&Uu.withoutSetter||LH,yr=function(e){if(!Dr(bd,e)||!R3&&typeof bd[e]!="string"){var t="Symbol."+e;R3&&Dr(Uu,e)?bd[e]=Uu[e]:bd[e]=oD&&iP?iP(t):Ame(t)}return bd[e]},xme=He.TypeError,Lme=yr("toPrimitive"),Pme=function(e,t){if(!pi(e)||M3(e))return e;var n,r=Lh(e,Lme);if(r){if(n=Yn(r,e,t),!pi(n)||M3(n))return n;throw xme("Can't convert object to primitive value")}return function(o,a){var i,s;if(Nn(i=o.toString)&&!pi(s=Yn(i,o))||Nn(i=o.valueOf)&&!pi(s=Yn(i,o)))return s;throw kme("Can't convert object to primitive value")}(e)},lD=function(e){var t=Pme(e,"string");return M3(t)?t:t+""},U3=He.document,$me=pi(U3)&&pi(U3.createElement),cD=function(e){return $me?U3.createElement(e):{}},PH=!_i&&!Wn(function(){return Object.defineProperty(cD("div"),"a",{get:function(){return 7}}).a!=7}),aP=Object.getOwnPropertyDescriptor,jme=_i?aP:function(e,t){if(e=qf(e),t=lD(t),PH)try{return aP(e,t)}catch{}if(Dr(e,t))return us(!Yn(fme.f,e,t),e[t])},fD={f:jme},Tme=He.String,Ime=He.TypeError,qr=function(e){if(pi(e))return e;throw Ime(Tme(e)+" is not an object")},Nme=He.TypeError,sP=Object.defineProperty,Bme=_i?sP:function(e,t,n){if(qr(e),t=lD(t),qr(n),PH)try{return sP(e,t,n)}catch{}if("get"in n||"set"in n)throw Nme("Accessors not supported");return"value"in n&&(e[t]=n.value),e},Gf={f:Bme},Sr=_i?function(e,t,n){return Gf.f(e,t,us(1,n))}:function(e,t,n){return e[t]=n,e},Fme=xt(Function.toString);Nn(ls.inspectSource)||(ls.inspectSource=function(e){return Fme(e)});var d1,eh,p1,dD=ls.inspectSource,uP=He.WeakMap,Rme=Nn(uP)&&/native code/.test(dD(uP)),lP=sD("keys"),pD=function(e){return lP[e]||(lP[e]=LH(e))},hD={},H3=He.TypeError,Mme=He.WeakMap;if(Rme||ls.state){var ru=ls.state||(ls.state=new Mme),zme=xt(ru.get),cP=xt(ru.has),Ume=xt(ru.set);d1=function(e,t){if(cP(ru,e))throw new H3("Object already initialized");return t.facade=e,Ume(ru,e,t),t},eh=function(e){return zme(ru,e)||{}},p1=function(e){return cP(ru,e)}}else{var ec=pD("state");hD[ec]=!0,d1=function(e,t){if(Dr(e,ec))throw new H3("Object already initialized");return t.facade=e,Sr(e,ec,t),t},eh=function(e){return Dr(e,ec)?e[ec]:{}},p1=function(e){return Dr(e,ec)}}var gl={set:d1,get:eh,has:p1,enforce:function(e){return p1(e)?eh(e):d1(e,{})},getterFor:function(e){return function(t){var n;if(!pi(t)||(n=eh(t)).type!==e)throw H3("Incompatible receiver, "+e+" required");return n}}},$H=Function.prototype,Hme=_i&&Object.getOwnPropertyDescriptor,fP=Dr($H,"name"),gD={PROPER:fP&&(function(){}).name==="something",CONFIGURABLE:fP&&(!_i||_i&&Hme($H,"name").configurable)},vl=Tl(function(e){var t=gD.CONFIGURABLE,n=gl.get,r=gl.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;Nn(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Dr(s,"name")||t&&s.name!==p)&&Sr(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==He?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:Sr(a,i,s)):f?a[i]=s:aD(i,s)})(Function.prototype,"toString",function(){return Nn(this)&&n(this).source||dD(this)})}),Wme=Math.ceil,Vme=Math.floor,vD=function(e){var t=+e;return t!=t||t===0?0:(t>0?Vme:Wme)(t)},qme=Math.max,Gme=Math.min,W3=function(e,t){var n=vD(e);return n<0?qme(n+t,0):Gme(n,t)},Zme=Math.min,jH=function(e){return e>0?Zme(vD(e),9007199254740991):0},jb=function(e){return jH(e.length)},Yme=function(e){return function(t,n,r){var o,a=qf(t),i=jb(a),s=W3(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Jme={indexOf:Yme(!1)}.indexOf,dP=xt([].push),TH=function(e,t){var n,r=qf(e),o=0,a=[];for(n in r)!Dr(hD,n)&&Dr(r,n)&&dP(a,n);for(;t.length>o;)Dr(r,n=t[o++])&&(~Jme(a,n)||dP(a,n));return a},h1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Kme=h1.concat("length","prototype"),Xme=Object.getOwnPropertyNames||function(e){return TH(e,Kme)},Qme={f:Xme},e1e={f:Object.getOwnPropertySymbols},t1e=xt([].concat),n1e=Bg("Reflect","ownKeys")||function(e){var t=Qme.f(qr(e)),n=e1e.f;return n?t1e(t,n(e)):t},IH=function(e,t){for(var n=n1e(t),r=Gf.f,o=fD.f,a=0;a<n.length;a++){var i=n[a];Dr(e,i)||r(e,i,o(t,i))}},r1e=/#|\.prototype\./,Fg=function(e,t){var n=i1e[o1e(e)];return n==s1e||n!=a1e&&(Nn(t)?Wn(t):!!t)},o1e=Fg.normalize=function(e){return String(e).replace(r1e,".").toLowerCase()},i1e=Fg.data={},a1e=Fg.NATIVE="N",s1e=Fg.POLYFILL="P",u1e=Fg,l1e=fD.f,Rg=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?He:l?He[s]||aD(s,{}):(He[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=l1e(n,r))&&i.value:n[r],!u1e(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;IH(a,o)}(e.sham||o&&o.sham)&&Sr(a,"sham",!0),vl(n,r,a,e)}},NH={};NH[yr("toStringTag")]="z";var Vv,mD=String(NH)==="[object z]",c1e=yr("toStringTag"),f1e=He.Object,d1e=zu(function(){return arguments}())=="Arguments",Tb=mD?zu:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=f1e(e),c1e))=="string"?n:d1e?zu(t):(r=zu(t))=="Object"&&Nn(t.callee)?"Arguments":r},p1e=He.String,Hu=function(e){if(Tb(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return p1e(e)},h1e=function(){var e=qr(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},yD=He.RegExp,BH=Wn(function(){var e=yD("a","y");return e.lastIndex=2,e.exec("abcd")!=null});BH||Wn(function(){return!yD("a","y").sticky});var g1e=BH||Wn(function(){var e=yD("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),v1e={BROKEN_CARET:g1e},m1e=Object.keys||function(e){return TH(e,h1)},y1e=_i?Object.defineProperties:function(e,t){qr(e);for(var n,r=qf(t),o=m1e(t),a=o.length,i=0;a>i;)Gf.f(e,n=o[i++],r[n]);return e},b1e=Bg("document","documentElement"),FH=pD("IE_PROTO"),Nk=function(){},RH=function(e){return"<script>"+e+"<\/script>"},pP=function(e){e.write(RH("")),e.close();var t=e.parentWindow.Object;return e=null,t},lm=function(){try{Vv=new ActiveXObject("htmlfile")}catch{}var e,t;lm=typeof document<"u"?document.domain&&Vv?pP(Vv):((t=cD("iframe")).style.display="none",b1e.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(RH("document.F=Object")),e.close(),e.F):pP(Vv);for(var n=h1.length;n--;)delete lm.prototype[h1[n]];return lm()};hD[FH]=!0;var hP,Bk,Mg=Object.create||function(e,t){var n;return e!==null?(Nk.prototype=qr(e),n=new Nk,Nk.prototype=null,n[FH]=e):n=lm(),t===void 0?n:y1e(n,t)},w1e=He.RegExp,k1e=Wn(function(){var e=w1e(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),E1e=He.RegExp,C1e=Wn(function(){var e=E1e("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),S1e=gl.get,_1e=sD("native-string-replace",String.prototype.replace),g1=RegExp.prototype.exec,V3=g1,O1e=xt("".charAt),D1e=xt("".indexOf),A1e=xt("".replace),Fk=xt("".slice),Rk=(Bk=/b*/g,Yn(g1,hP=/a/,"a"),Yn(g1,Bk,"a"),hP.lastIndex!==0||Bk.lastIndex!==0),gP=v1e.BROKEN_CARET,Mk=/()??/.exec("")[1]!==void 0;(Rk||Mk||gP||k1e||C1e)&&(V3=function(e){var t,n,r,o,a,i,s,u=this,l=S1e(u),c=Hu(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=Yn(V3,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=gP&&u.sticky,m=Yn(h1e,u),y=u.source,g=0,v=c;if(p&&(m=A1e(m,"y",""),D1e(m,"g")===-1&&(m+="g"),v=Fk(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&O1e(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),Mk&&(n=new RegExp("^"+y+"$(?!\\s)",m)),Rk&&(r=u.lastIndex),o=Yn(g1,p?n:u,v),p?o?(o.input=Fk(o.input,g),o[0]=Fk(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Rk&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),Mk&&o&&o.length>1&&Yn(_1e,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=Mg(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var v1=V3;Rg({target:"RegExp",proto:!0,forced:/./.exec!==v1},{exec:v1});var x1e=yr("species"),vP=RegExp.prototype,L1e=xt("".charAt),mP=xt("".charCodeAt),P1e=xt("".slice),$1e=function(e){return function(t,n){var r,o,a=Hu($b(t)),i=vD(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=mP(a,i))<55296||r>56319||i+1===s||(o=mP(a,i+1))<56320||o>57343?e?L1e(a,i):r:e?P1e(a,i,i+2):o-56320+(r-55296<<10)+65536}},MH={charAt:$1e(!0)},j1e=MH.charAt,T1e=function(e,t,n){return t+(n?j1e(e,t).length:1)},I1e=He.TypeError,yP=function(e,t){var n=e.exec;if(Nn(n)){var r=Yn(n,e,t);return r!==null&&qr(r),r}if(zu(e)==="RegExp")return Yn(v1,e,t);throw I1e("RegExp#exec called on incompatible receiver")};(function(e,t,n,r){var o=yr(e),a=!Wn(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!Wn(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[x1e]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=xt(/./[o]),u=t(o,""[e],function(l,c,f,d,p){var m=xt(l),y=c.exec;return y===v1||y===vP.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});vl(String.prototype,e,u[0]),vl(vP,o,u[1])}})("match",function(e,t,n){return[function(r){var o=$b(this),a=r==null?void 0:Lh(r,e);return a?Yn(a,r,o):new RegExp(r)[e](Hu(o))},function(r){var o=qr(this),a=Hu(r),i=n(t,o,a);if(i.done)return i.value;if(!o.global)return yP(o,a);var s=o.unicode;o.lastIndex=0;for(var u,l=[],c=0;(u=yP(o,a))!==null;){var f=Hu(u[0]);l[c]=f,f===""&&(o.lastIndex=T1e(a,jH(o.lastIndex),s)),c++}return c===0?null:l}]}),Rg({global:!0},{globalThis:He});var N1e=!Wn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),bP=pD("IE_PROTO"),q3=He.Object,B1e=q3.prototype,Ph=N1e?q3.getPrototypeOf:function(e){var t=uD(e);if(Dr(t,bP))return t[bP];var n=t.constructor;return Nn(n)&&t instanceof n?n.prototype:t instanceof q3?B1e:null},F1e=He.String,R1e=He.TypeError,uf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=xt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return qr(r),function(a){if(typeof a=="object"||Nn(a))return a;throw R1e("Can't set "+F1e(a)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),M1e=He.Array,z1e=Math.max,U1e=xt("".replace),H1e=xt("".split),W1e=xt([].join),G3=String(Error("zxcasd").stack),zH=/\n\s*at [^:]*:[^\n]*/,V1e=zH.test(G3),q1e=/@[^\n]*\n/.test(G3)&&!/zxcasd/.test(G3),G1e=function(e,t){if(typeof e!="string")return e;if(V1e)for(;t--;)e=U1e(e,zH,"");else if(q1e)return W1e(function(n,r,o){for(var a,i,s,u,l=jb(n),c=W3(r,l),f=W3(l,l),d=M1e(z1e(f-c,0)),p=0;c<f;c++,p++)a=d,i=p,s=n[c],u=void 0,(u=lD(i))in a?Gf.f(a,u,us(0,s)):a[u]=s;return d.length=p,d}(H1e(e,`
- `),t),`
- `);return e},Z1e=function(e,t){pi(t)&&"cause"in t&&Sr(e,"cause",t.cause)},wP=xt(xt.bind),UH=function(e,t){return iD(e),t===void 0?e:wP?wP(e,t):function(){return e.apply(t,arguments)}},lf={},Y1e=yr("iterator"),J1e=Array.prototype,K1e=yr("iterator"),kP=function(e){if(e!=null)return Lh(e,K1e)||Lh(e,"@@iterator")||lf[Tb(e)]},X1e=He.TypeError,EP=function(e,t,n){var r,o;qr(e);try{if(!(r=Lh(e,"return"))){if(t==="throw")throw n;return n}r=Yn(r,e)}catch(a){o=!0,r=a}if(t==="throw")throw n;if(o)throw r;return qr(r),n},Q1e=He.TypeError,cm=function(e,t){this.stopped=e,this.result=t},CP=cm.prototype,eye=function(e,t,n){var r,o,a,i,s,u,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),m=UH(t,c),y=function(v){return r&&EP(r,"normal",v),new cm(!0,v)},g=function(v){return f?(qr(v),p?m(v[0],v[1],y):m(v[0],v[1])):p?m(v,y):m(v)};if(d)r=e;else{if(!(o=kP(e)))throw Q1e(z3(e)+" is not iterable");if(function(v){return v!==void 0&&(lf.Array===v||J1e[Y1e]===v)}(o)){for(a=0,i=jb(e);i>a;a++)if((s=g(e[a]))&&f1(CP,s))return s;return new cm(!1)}r=function(v,h){var b=arguments.length<2?kP(v):h;if(iD(b))return qr(Yn(b,v));throw X1e(z3(v)+" is not iterable")}(e,o)}for(u=r.next;!(l=Yn(u,r)).done;){try{s=g(l.value)}catch(v){EP(r,"throw",v)}if(typeof s=="object"&&s&&f1(CP,s))return s}return new cm(!1)},tye=function(e,t){return e===void 0?arguments.length<2?"":t:Hu(e)},nye=!Wn(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",us(1,7)),e.stack!==7)}),rye=yr("toStringTag"),m1=He.Error,oye=[].push,$h=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=f1(zk,this);uf?n=uf(new m1(void 0),o?Ph(this):zk):(n=o?this:Mg(zk),Sr(n,rye,"Error")),Sr(n,"message",tye(t,"")),nye&&Sr(n,"stack",G1e(n.stack,1)),Z1e(n,r);var a=[];return eye(e,oye,{that:a}),Sr(n,"errors",a),n};uf?uf($h,m1):IH($h,m1);var zk=$h.prototype=Mg(m1.prototype,{constructor:us(1,$h),message:us(1,""),name:us(1,"AggregateError")});Rg({global:!0},{AggregateError:$h});var Z3=yr("unscopables"),Y3=Array.prototype;Y3[Z3]==null&&Gf.f(Y3,Z3,{configurable:!0,value:Mg(null)});var Wu,SP,_P,Uk=function(e){Y3[Z3][e]=!0},J3=yr("iterator"),HH=!1;[].keys&&("next"in(_P=[].keys())?(SP=Ph(Ph(_P)))!==Object.prototype&&(Wu=SP):HH=!0);var iye=Wu==null||Wn(function(){var e={};return Wu[J3].call(e)!==e});iye&&(Wu={}),Nn(Wu[J3])||vl(Wu,J3,function(){return this});var bD={IteratorPrototype:Wu,BUGGY_SAFARI_ITERATORS:HH},aye=Gf.f,OP=yr("toStringTag"),DP=function(e,t,n){e&&!Dr(e=n?e:e.prototype,OP)&&aye(e,OP,{configurable:!0,value:t})},sye=bD.IteratorPrototype,uye=function(){return this},lye=gD.PROPER,cye=gD.CONFIGURABLE,AP=bD.IteratorPrototype,Hk=bD.BUGGY_SAFARI_ITERATORS,wd=yr("iterator"),fye=function(){return this},WH=function(e,t,n,r,o,a,i){(function(g,v,h,b){var w=v+" Iterator";g.prototype=Mg(sye,{next:us(1,h)}),DP(g,w,!1),lf[w]=uye})(n,t,r);var s,u,l=function(g){if(g===o&&m)return m;if(!Hk&&g in d)return d[g];switch(g){case"keys":case"values":case"entries":return function(){return new n(this,g)}}return function(){return new n(this)}},c=t+" Iterator",f=!1,d=e.prototype,p=d[wd]||d["@@iterator"]||o&&d[o],m=!Hk&&p||l(o),y=t=="Array"&&d.entries||p;return y&&(s=Ph(y.call(new e)))!==Object.prototype&&s.next&&(Ph(s)!==AP&&(uf?uf(s,AP):Nn(s[wd])||vl(s,wd,fye)),DP(s,c,!0)),lye&&o=="values"&&p&&p.name!=="values"&&(cye?Sr(d,"name","values"):(f=!0,m=function(){return Yn(p,this)})),o&&(u={values:l("values"),keys:l("keys"),entries:l("entries")},i||Rg({target:t,proto:!0,forced:Hk||f},u)),d[wd]!==m&&vl(d,wd,m,{name:o}),lf[t]=m,u},dye=gl.set,pye=gl.getterFor("Array Iterator"),Up=WH(Array,"Array",function(e,t){dye(this,{type:"Array Iterator",target:qf(e),index:0,kind:t})},function(){var e=pye(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");lf.Arguments=lf.Array,Uk("keys"),Uk("values"),Uk("entries");var hye=MH.charAt,gye=gl.set,vye=gl.getterFor("String Iterator");WH(String,"String",function(e){gye(this,{type:"String Iterator",string:Hu(e),index:0})},function(){var e,t=vye(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=hye(n,r),t.index+=e.length,{value:e,done:!1})});var Wk,y1={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},Vk=cD("span").classList,xP=Vk&&Vk.constructor&&Vk.constructor.prototype,VH=xP===Object.prototype?void 0:xP,qk=yr("iterator"),LP=yr("toStringTag"),Gk=Up.values,qH=function(e,t){if(e){if(e[qk]!==Gk)try{Sr(e,qk,Gk)}catch{e[qk]=Gk}if(e[LP]||Sr(e,LP,t),y1[t]){for(var n in Up)if(e[n]!==Up[n])try{Sr(e,n,Up[n])}catch{e[n]=Up[n]}}}};for(var Zk in y1)qH(He[Zk]&&He[Zk].prototype,Zk);qH(VH,"DOMTokenList"),typeof global>"u"?("ActiveXObject"in window&&console.error(`抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器
- Sorry, wangEditor V5+ versions do not support IE browser.`),PP(),$P()):global&&(!((Wk=global.navigator)===null||Wk===void 0)&&Wk.userAgent.match("QQBrowser"))&&(PP(),$P());function PP(){typeof globalThis>"u"&&(window.globalThis=window)}function $P(){lme===void 0&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}var jP,b1=Array.isArray||function(e){return Ru(e)=="Array"},GH=function(){},mye=[],ZH=Hf("Reflect","construct"),wD=/^\s*(?:class|function)\b/,yye=Ut(wD.exec),bye=!wD.exec(GH),kd=function(e){if(!Jn(e))return!1;try{return ZH(GH,mye,e),!0}catch{return!1}},wye=!ZH||Pr(function(){var e;return kd(kd.call)||!kd(Object)||!kd(function(){e=!0})||e})?function(e){if(!Jn(e))return!1;switch(Ng(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return bye||!!yye(wD,CH(e))}:kd,kye=lr("species"),TP=Ze.Array,YH=function(e,t){return new(function(n){var r;return b1(n)&&(r=n.constructor,(wye(r)&&(r===TP||b1(r.prototype))||co(r)&&(r=r[kye])===null)&&(r=void 0)),r===void 0?TP:r}(e))(t===0?0:t)},Eye=lr("species"),JH=lr("isConcatSpreadable"),IP=Ze.TypeError,Cye=e1>=51||!Pr(function(){var e=[];return e[JH]=!1,e.concat()[0]!==e}),Sye=(jP="concat",e1>=51||!Pr(function(){var e=[];return(e.constructor={})[Eye]=function(){return{foo:1}},e[jP](Boolean).foo!==1})),_ye=function(e){if(!co(e))return!1;var t=e[JH];return t!==void 0?!!t:b1(e)};Gi({target:"Array",proto:!0,forced:!Cye||!Sye},{concat:function(e){var t,n,r,o,a,i=$g(this),s=YH(i,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(_ye(a=t===-1?i:arguments[t])){if(u+(o=Tg(a))>9007199254740991)throw IP("Maximum allowed index exceeded");for(n=0;n<o;n++,u++)n in a&&j3(s,u,a[n])}else{if(u>=9007199254740991)throw IP("Maximum allowed index exceeded");j3(s,u++,a)}return s.length=u,s}});var NP=tD.f,BP=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],KH={f:function(e){return BP&&Ru(e)=="Window"?function(t){try{return NP(t)}catch{return wH(BP)}}(e):NP(ji(e))}},Oye=Ut([].slice),kD={f:lr},Dye=Us.f,ln=function(e){var t=Rr.Symbol||(Rr.Symbol={});ft(t,e)||Dye(t,e,{value:kD.f(e)})},FP=Ut([].push),Aye=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=$g(u),y=hH(m),g=QO(l,c),v=Tg(y),h=0,b=f||YH,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:FP(w,d)}else switch(e){case 4:return!1;case 7:FP(w,d)}return a?-1:r||o?o:w}},Ib={forEach:Aye(0)}.forEach,Er=Pb("hidden"),RP=lr("toPrimitive"),xye=Vf.set,MP=Vf.getterFor("Symbol"),To=Object.prototype,Za=Ze.Symbol,ts=Za&&Za.prototype,zP=Ze.TypeError,Yk=Ze.QObject,Ed=Hf("JSON","stringify"),XH=Lb.f,Ya=Us.f,QH=KH.f,Lye=YO.f,eW=Ut([].push),pa=Il("symbols"),zg=Il("op-symbols"),Jk=Il("string-to-symbol-registry"),Kk=Il("symbol-to-string-registry"),Pye=Il("wks"),Xk=!Yk||!Yk.prototype||!Yk.prototype.findChild,K3=Or&&Pr(function(){return da(Ya({},"a",{get:function(){return Ya(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=XH(To,t);r&&delete To[t],Ya(e,t,n),r&&e!==To&&Ya(To,t,r)}:Ya,Qk=function(e,t){var n=pa[e]=da(ts);return xye(n,{type:"Symbol",tag:e,description:t}),Or||(n.description=t),n},w1=function(e,t,n){e===To&&w1(zg,t,n),Vr(e);var r=Wf(t);return Vr(n),ft(pa,r)?(n.enumerable?(ft(e,Er)&&e[Er][r]&&(e[Er][r]=!1),n=da(n,{enumerable:Fo(0,!1)})):(ft(e,Er)||Ya(e,Er,Fo(1,{})),e[Er][r]=!0),K3(e,r,n)):Ya(e,r,n)},UP=function(e,t){Vr(e);var n=ji(t),r=nD(n).concat(X3(n));return Ib(r,function(o){Or&&!zr(tW,n,o)||w1(e,o,n[o])}),e},tW=function(e){var t=Wf(e),n=zr(Lye,this,t);return!(this===To&&ft(pa,t)&&!ft(zg,t))&&(!(n||!ft(this,t)||!ft(pa,t)||ft(this,Er)&&this[Er][t])||n)},HP=function(e,t){var n=ji(e),r=Wf(t);if(n!==To||!ft(pa,r)||ft(zg,r)){var o=XH(n,r);return!o||!ft(pa,r)||ft(n,Er)&&n[Er][r]||(o.enumerable=!0),o}},WP=function(e){var t=QH(ji(e)),n=[];return Ib(t,function(r){ft(pa,r)||ft(Ig,r)||eW(n,r)}),n},X3=function(e){var t=e===To,n=QH(t?zg:ji(e)),r=[];return Ib(n,function(o){!ft(pa,o)||t&&!ft(To,o)||eW(r,pa[o])}),r};if(ii||(ts=(Za=function(){if(Dh(ts,this))throw zP("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?Ah(arguments[0]):void 0,t=n1(e),n=function(r){this===To&&zr(n,zg,r),ft(this,Er)&&ft(this[Er],t)&&(this[Er][t]=!1),K3(this,t,Fo(1,r))};return Or&&Xk&&K3(To,t,{configurable:!0,set:n}),Qk(t,e)}).prototype,l1(ts,"toString",function(){return MP(this).tag}),l1(Za,"withoutSetter",function(e){return Qk(n1(e),e)}),YO.f=tW,Us.f=w1,Lb.f=HP,tD.f=KH.f=WP,im.f=X3,kD.f=function(e){return Qk(lr(e),e)},Or&&Ya(ts,"description",{configurable:!0,get:function(){return MP(this).description}})),Gi({global:!0,wrap:!0,forced:!ii,sham:!ii},{Symbol:Za}),Ib(nD(Pye),function(e){ln(e)}),Gi({target:"Symbol",stat:!0,forced:!ii},{for:function(e){var t=Ah(e);if(ft(Jk,t))return Jk[t];var n=Za(t);return Jk[t]=n,Kk[n]=t,n},keyFor:function(e){if(!Gc(e))throw zP(e+" is not a symbol");if(ft(Kk,e))return Kk[e]},useSetter:function(){Xk=!0},useSimple:function(){Xk=!1}}),Gi({target:"Object",stat:!0,forced:!ii,sham:!Or},{create:function(e,t){return t===void 0?da(e):UP(da(e),t)},defineProperty:w1,defineProperties:UP,getOwnPropertyDescriptor:HP}),Gi({target:"Object",stat:!0,forced:!ii},{getOwnPropertyNames:WP,getOwnPropertySymbols:X3}),Gi({target:"Object",stat:!0,forced:Pr(function(){im.f(1)})},{getOwnPropertySymbols:function(e){return im.f($g(e))}}),Ed){var $ye=!ii||Pr(function(){var e=Za();return Ed([e])!="[null]"||Ed({a:e})!="{}"||Ed(Object(e))!="{}"});Gi({target:"JSON",stat:!0,forced:$ye},{stringify:function(e,t,n){var r=Oye(arguments),o=t;if((co(t)||e!==void 0)&&!Gc(e))return b1(t)||(t=function(a,i){if(Jn(o)&&(i=zr(o,this,a,i)),!Gc(i))return i}),r[1]=t,dH(Ed,null,r)}})}if(!ts[RP]){var jye=ts.valueOf;l1(ts,RP,function(e){return zr(jye,this)})}c1(Za,"Symbol"),Ig[Er]=!0,ln("asyncIterator"),ln("hasInstance"),ln("isConcatSpreadable"),ln("iterator"),ln("match"),ln("matchAll"),ln("replace"),ln("search"),ln("species"),ln("split"),ln("toPrimitive"),ln("toStringTag"),ln("unscopables"),c1(Ze.JSON,"JSON",!0);var Tye=Rr.Symbol;ln("asyncDispose"),ln("dispose"),ln("matcher"),ln("metadata"),ln("observable"),ln("patternMatch"),ln("replaceAll");var qv=Tye,Iye=kD.f("iterator"),Nye=Tl(function(e){function t(n){return typeof qv=="function"&&typeof Iye=="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 qv=="function"&&r.constructor===qv&&r!==qv.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}),Bye=vve(Nye),nW=fD.f,Fye=Wn(function(){nW(1)});if(Rg({target:"Object",stat:!0,forced:!_i||Fye,sham:!_i},{getOwnPropertyDescriptor:function(e,t){return nW(qf(e),t)}}),(typeof global>"u"?"undefined":Bye(global))==="object"){var Rye=Object.getOwnPropertyDescriptor(global,"window");global.window&&!Rye.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[]})}/*!
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */function VP(e){return Object.prototype.toString.call(e)==="[object Object]"}function nr(e){var t,n;return VP(e)!==!1&&((t=e.constructor)===void 0||VP(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1)}function Po(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(o){return"'"+o+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ml(e){return!!e&&!!e[Gr]}function yl(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)===Vye}(e)||Array.isArray(e)||!!e[QP]||!!e.constructor[QP]||ED(e)||CD(e))}function jh(e,t,n){n===void 0&&(n=!1),cf(e)===0?(n?Object.keys:AD)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,o){return t(o,r,e)})}function cf(e){var t=e[Gr];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ED(e)?2:CD(e)?3:0}function Q3(e,t){return cf(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function rW(e,t,n){var r=cf(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function ED(e){return Hye&&e instanceof Map}function CD(e){return Wye&&e instanceof Set}function mu(e){return e.o||e.t}function SD(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=qye(e);delete t[Gr];for(var n=AD(t),r=0;r<n.length;r++){var o=n[r],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function _D(e,t){return t===void 0&&(t=!1),OD(e)||ml(e)||!yl(e)||(cf(e)>1&&(e.set=e.add=e.clear=e.delete=Mye),Object.freeze(e),t&&jh(e,function(n,r){return _D(r,!0)},!0)),e}function Mye(){Po(2)}function OD(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function sa(e){var t=Gye[e];return t||Po(18,e),t}function qP(){return Th}function eE(e,t){t&&(sa("Patches"),e.u=[],e.s=[],e.v=t)}function k1(e){e5(e),e.p.forEach(zye),e.p=null}function e5(e){e===Th&&(Th=e.l)}function GP(e){return Th={p:[],l:Th,h:e,m:!0,_:0}}function zye(e){var t=e[Gr];t.i===0||t.i===1?t.j():t.O=!0}function tE(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||sa("ES5").S(t,e,r),r?(n[Gr].P&&(k1(t),Po(4)),yl(e)&&(e=E1(t,e),t.l||C1(t,e)),t.u&&sa("Patches").M(n[Gr],e,t.u,t.s)):e=E1(t,n,[]),k1(t),t.u&&t.v(t.u,t.s),e!==oW?e:void 0}function E1(e,t,n){if(OD(t))return t;var r=t[Gr];if(!r)return jh(t,function(a,i){return ZP(e,r,t,a,i,n)},!0),t;if(r.A!==e)return t;if(!r.P)return C1(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=SD(r.k):r.o;jh(r.i===3?new Set(o):o,function(a,i){return ZP(e,r,o,a,i,n)}),C1(e,o,!1),n&&e.u&&sa("Patches").R(r,n,e.u,e.s)}return r.o}function ZP(e,t,n,r,o,a){if(ml(o)){var i=E1(e,o,a&&t&&t.i!==3&&!Q3(t.D,r)?a.concat(r):void 0);if(rW(n,r,i),!ml(i))return;e.m=!1}if(yl(o)&&!OD(o)){if(!e.h.F&&e._<1)return;E1(e,o),t&&t.A.l||C1(e,o)}}function C1(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&_D(t,n)}function nE(e,t){var n=e[Gr];return(n?mu(n):e)[t]}function YP(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 t5(e){e.P||(e.P=!0,e.l&&t5(e.l))}function rE(e){e.o||(e.o=SD(e.t))}function n5(e,t,n){var r=ED(t)?sa("MapSet").N(t,n):CD(t)?sa("MapSet").T(t,n):e.g?function(o,a){var i=Array.isArray(o),s={i:i?1:0,A:a?a.A:qP(),P:!1,I:!1,D:{},l:a,t:o,k:null,o:null,j:null,C:!1},u=s,l=fm;i&&(u=[s],l=dm);var c=Proxy.revocable(u,l),f=c.revoke,d=c.proxy;return s.k=d,s.j=f,d}(t,n):sa("ES5").J(t,n);return(n?n.A:qP()).p.push(r),r}function Uye(e){return ml(e)||Po(22,e),function t(n){if(!yl(n))return n;var r,o=n[Gr],a=cf(n);if(o){if(!o.P&&(o.i<4||!sa("ES5").K(o)))return o.t;o.I=!0,r=JP(n,a),o.I=!1}else r=JP(n,a);return jh(r,function(i,s){o&&function(u,l){return cf(u)===2?u.get(l):u[l]}(o.t,i)===s||rW(r,i,t(s))}),a===3?new Set(r):r}(e)}function JP(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return SD(e)}var KP,Th,DD=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Hye=typeof Map<"u",Wye=typeof Set<"u",XP=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",oW=DD?Symbol.for("immer-nothing"):((KP={})["immer-nothing"]=!0,KP),QP=DD?Symbol.for("immer-draftable"):"__$immer_draftable",Gr=DD?Symbol.for("immer-state"):"__$immer_state",Vye=""+Object.prototype.constructor,AD=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,qye=Object.getOwnPropertyDescriptors||function(e){var t={};return AD(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},Gye={},fm={get:function(e,t){if(t===Gr)return e;var n=mu(e);if(!Q3(n,t))return function(o,a,i){var s,u=YP(a,i);return u?"value"in u?u.value:(s=u.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,n,t);var r=n[t];return e.I||!yl(r)?r:r===nE(e.t,t)?(rE(e),e.o[t]=n5(e.A.h,r,e)):r},has:function(e,t){return t in mu(e)},ownKeys:function(e){return Reflect.ownKeys(mu(e))},set:function(e,t,n){var r=YP(mu(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=nE(mu(e),t),a=o==null?void 0:o[Gr];if(a&&a.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(i,s){return i===s?i!==0||1/i==1/s:i!=i&&s!=s}(n,o)&&(n!==void 0||Q3(e.t,t)))return!0;rE(e),t5(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 nE(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,rE(e),t5(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=mu(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){Po(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Po(12)}},dm={};jh(fm,function(e,t){dm[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),dm.deleteProperty=function(e,t){return fm.deleteProperty.call(this,e[0],t)},dm.set=function(e,t,n){return fm.set.call(this,e[0],t,n,e[0])};var Zye=function(){function e(n){var r=this;this.g=XP,this.F=!0,this.produce=function(o,a,i){if(typeof o=="function"&&typeof a!="function"){var s=a;a=o;var u=r;return function(p){var m=this;p===void 0&&(p=s);for(var y=arguments.length,g=Array(y>1?y-1:0),v=1;v<y;v++)g[v-1]=arguments[v];return u.produce(p,function(h){var b;return(b=a).call.apply(b,[m,h].concat(g))})}}var l;if(typeof a!="function"&&Po(6),i!==void 0&&typeof i!="function"&&Po(7),yl(o)){var c=GP(r),f=n5(r,o,void 0),d=!0;try{l=a(f),d=!1}finally{d?k1(c):e5(c)}return typeof Promise<"u"&&l instanceof Promise?l.then(function(p){return eE(c,i),tE(p,c)},function(p){throw k1(c),p}):(eE(c,i),tE(l,c))}if(!o||typeof o!="object")return(l=a(o))===oW?void 0:(l===void 0&&(l=o),r.F&&_D(l,!0),l);Po(21,o)},this.produceWithPatches=function(o,a){return typeof o=="function"?function(u){for(var l=arguments.length,c=Array(l>1?l-1:0),f=1;f<l;f++)c[f-1]=arguments[f];return r.produceWithPatches(u,function(d){return o.apply(void 0,[d].concat(c))})}:[r.produce(o,a,function(u,l){i=u,s=l}),i,s];var i,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){yl(n)||Po(8),ml(n)&&(n=Uye(n));var r=GP(this),o=n5(this,n,void 0);return o[Gr].C=!0,e5(r),o},t.finishDraft=function(n,r){var o=(n&&n[Gr]).A;return eE(o,r),tE(void 0,o)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!XP&&Po(20),this.g=n},t.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var a=r[o];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}o>-1&&(r=r.slice(o+1));var i=sa("Patches").$;return ml(n)?i(n,r):this.produce(n,function(s){return i(s,r)})},e}(),Br=new Zye,Nb=Br.produce;Br.produceWithPatches.bind(Br),Br.setAutoFreeze.bind(Br),Br.setUseProxies.bind(Br),Br.applyPatches.bind(Br);var e$=Br.createDraft.bind(Br),t$=Br.finishDraft.bind(Br);function Ti(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S1=new WeakMap,Cd=new WeakMap,n$=new WeakMap,r$=new WeakMap,o$=new WeakMap,i$=new WeakMap;function a$(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 Gv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?a$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Yye=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of S.pathRefs(e))_be.transform(n,t);for(var r of S.pointRefs(e))Obe.transform(r,t);for(var o of S.rangeRefs(e))Abe.transform(o,t);var a=new Set,i=[],s=d=>{if(d){var p=d.join(",");a.has(p)||(a.add(p),i.push(d))}},u=S1.get(e)||[],l=Jye(t);for(var c of u)s(V.transform(c,t));for(var f of l)s(f);S1.set(e,i),Z.transform(e,t),e.operations.push(t),S.normalize(e),t.type==="set_selection"&&(e.marks=null),Cd.get(e)||(Cd.set(e,!0),Promise.resolve().then(()=>{Cd.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(ee.isExpanded(r))Z.setNodes(e,{[t]:n},{match:Oe.isText,split:!0});else{var o=Gv(Gv({},S.marks(e)||{}),{},{[t]:n});e.marks=o,Cd.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&ee.isCollapsed(n)&&Z.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&ee.isCollapsed(n)&&Z.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&ee.isExpanded(n)&&Z.delete(e,{reverse:t==="backward"})},getFragment:()=>{var{selection:t}=e;return t?we.fragment(e,t):[]},insertBreak:()=>{Z.splitNodes(e,{always:!0})},insertFragment:t=>{Z.insertFragment(e,t)},insertNode:t=>{Z.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=Gv({text:t},r);Z.insertNodes(e,o)}else Z.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!Oe.isText(n))if($e.isElement(n)&&n.children.length===0)Z.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var o=!S.isEditor(n)&&$e.isElement(n)&&(e.isInline(n)||n.children.length===0||Oe.isText(n.children[0])||e.isInline(n.children[0])),a=0,i=0;i<n.children.length;i++,a++){var s=we.get(e,r);if(!Oe.isText(s)){var u=n.children[i],l=s.children[a-1],c=i===n.children.length-1;(Oe.isText(u)||$e.isElement(u)&&e.isInline(u))!==o?(Z.removeNodes(e,{at:r.concat(a),voids:!0}),a--):$e.isElement(u)?e.isInline(u)&&(l!=null&&Oe.isText(l)?c&&(Z.insertNodes(e,{text:""},{at:r.concat(a+1),voids:!0}),a++):(Z.insertNodes(e,{text:""},{at:r.concat(a),voids:!0}),a++)):l!=null&&Oe.isText(l)&&(Oe.equals(u,l,{loose:!0})?(Z.mergeNodes(e,{at:r.concat(a),voids:!0}),a--):l.text===""?(Z.removeNodes(e,{at:r.concat(a-1),voids:!0}),a--):u.text===""&&(Z.removeNodes(e,{at:r.concat(a),voids:!0}),a--))}}},removeMark:t=>{var{selection:n}=e;if(n)if(ee.isExpanded(n))Z.unsetNodes(e,t,{match:Oe.isText,split:!0});else{var r=Gv({},S.marks(e)||{});delete r[t],e.marks=r,Cd.get(e)||e.onChange()}}};return e},Jye=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return V.levels(t);case"insert_node":var{node:n,path:r}=e,o=V.levels(r),a=Oe.isText(n)?[]:Array.from(we.nodes(n),w=>{var[,k]=w;return r.concat(k)});return[...o,...a];case"merge_node":var{path:i}=e;return[...V.ancestors(i),V.previous(i)];case"move_node":var{path:s,newPath:u}=e;if(V.equals(s,u))return[];var l=[],c=[];for(var f of V.ancestors(s)){var d=V.transform(f,e);l.push(d)}for(var p of V.ancestors(u)){var m=V.transform(p,e);c.push(m)}var y=c[c.length-1],g=u[u.length-1],v=y.concat(g);return[...l,...c,v];case"remove_node":var{path:h}=e;return[...V.ancestors(h)];case"split_node":var{path:b}=e;return[...V.levels(b),V.next(b)];default:return[]}};function ha(e,t){if(e==null)return{};var n,r,o=function(i,s){if(i==null)return{};var u,l,c={},f=Object.keys(i);for(l=0;l<f.length;l++)u=f[l],s.indexOf(u)>=0||(c[u]=i[u]);return c}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var qe,r5=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!t,r=t?tbe(e):e,o=qe.None,a=qe.None,i=0,s=null;for(var u of r){var l=u.codePointAt(0);if(!l)break;var c=pbe(u,l);if([o,a]=n?[a,c]:[c,o],zc(o,qe.ZWJ)&&zc(a,qe.ExtPict)&&!mbe(n?e.substring(0,i):e.substring(0,e.length-i))||zc(o,qe.RI)&&zc(a,qe.RI)&&!(s=s!==null?!s:!!n||bbe(e.substring(0,e.length-i)))||o!==qe.None&&a!==qe.None&&gbe(o,a))break;i+=u.length}return i||1},Kye=/\s/,Xye=/[\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]/,Qye=/['\u2018\u2019]/,o5=(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)]},ebe=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(Kye.test(t))return!1;if(Qye.test(t)){var o=r5(n,r),[a,i]=o5(n,o,r);if(e(a,i,r))return!0}return!Xye.test(t)},tbe=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(rbe(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(nbe(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},nbe=e=>e>=55296&&e<=56319,rbe=e=>e>=56320&&e<=57343;(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"})(qe||(qe={}));var obe=/^(?:[\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])$/,ibe=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,abe=/^(?:[\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])$/,sbe=/^[\u1100-\u115F\uA960-\uA97C]$/,ube=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,lbe=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,cbe=/^[\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]$/,fbe=/^[\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]$/,dbe=/^(?:[\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])$/,pbe=(e,t)=>{var n=qe.Any;return e.search(obe)!==-1&&(n|=qe.Extend),t===8205&&(n|=qe.ZWJ),t>=127462&&t<=127487&&(n|=qe.RI),e.search(ibe)!==-1&&(n|=qe.Prepend),e.search(abe)!==-1&&(n|=qe.SpacingMark),e.search(sbe)!==-1&&(n|=qe.L),e.search(ube)!==-1&&(n|=qe.V),e.search(lbe)!==-1&&(n|=qe.T),e.search(cbe)!==-1&&(n|=qe.LV),e.search(fbe)!==-1&&(n|=qe.LVT),e.search(dbe)!==-1&&(n|=qe.ExtPict),n};function zc(e,t){return(e&t)!=0}var hbe=[[qe.L,qe.L|qe.V|qe.LV|qe.LVT],[qe.LV|qe.V,qe.V|qe.T],[qe.LVT|qe.T,qe.T],[qe.Any,qe.Extend|qe.ZWJ],[qe.Any,qe.SpacingMark],[qe.Prepend,qe.Any],[qe.ZWJ,qe.ExtPict],[qe.RI,qe.RI]];function gbe(e,t){return hbe.findIndex(n=>zc(e,n[0])&&zc(t,n[1]))===-1}var vbe=/(?:[\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$/,mbe=e=>e.search(vbe)!==-1,ybe=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,bbe=e=>{var t=e.match(ybe);return t!==null&&t[0].length/2%2==1},s$=e=>nr(e)&&we.isNodeList(e.children)&&!S.isEditor(e),$e={isAncestor:e=>nr(e)&&we.isNodeList(e.children),isElement:s$,isElementList:e=>Array.isArray(e)&&e.every(t=>$e.isElement(t)),isElementProps:e=>e.children!==void 0,isElementType:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return s$(e)&&e[n]===t},matches(e,t){for(var n in t)if(n!=="children"&&e[n]!==t[n])return!1;return!0}},wbe=["text"],kbe=["text"];function u$(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 tc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?u$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var l$=new WeakMap,S={above(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:a}=t;if(o){var i=S.path(e,o),s=r==="lowest";for(var[u,l]of S.levels(e,{at:i,voids:n,match:a,reverse:s}))if(!Oe.isText(u)&&!V.equals(i,l))return[u,l]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={anchor:S.point(e,t,{edge:"end"}),focus:S.end(e,[])},{distance:a=1}=r,i=0;for(var s of S.positions(e,tc(tc({},r),{},{at:o}))){if(i>a)break;i!==0&&(n=s),i++}return n},before(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={anchor:S.start(e,[]),focus:S.point(e,t,{edge:"start"})},{distance:a=1}=r,i=0;for(var s of S.positions(e,tc(tc({},r),{},{at:o,reverse:!0}))){if(i>a)break;i!==0&&(n=s),i++}return n},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)=>[S.start(e,t),S.end(e,t)],end:(e,t)=>S.point(e,t,{edge:"end"}),first(e,t){var n=S.path(e,t,{edge:"start"});return S.node(e,n)},fragment(e,t){var n=S.range(e,t);return we.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(n=>S.isBlock(e,n)),hasInlines:(e,t)=>t.children.some(n=>Oe.isText(n)||S.isInline(e,n)),hasTexts:(e,t)=>t.children.every(n=>Oe.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)=>$e.isElement(t)&&!e.isInline(t),isEditor(e){if(!nr(e))return!1;var t=l$.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||nr(e.marks))&&(e.selection===null||ee.isRange(e.selection))&&we.isNodeList(e.children)&&ns.isOperationList(e.operations);return l$.set(e,n),n},isEnd(e,t,n){var r=S.end(e,n);return Je.equals(t,r)},isEdge:(e,t,n)=>S.isStart(e,t,n)||S.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return n.length===0||n.length===1&&Oe.isText(r)&&r.text===""&&!e.isVoid(t)},isInline:(e,t)=>$e.isElement(t)&&e.isInline(t),isNormalizing(e){var t=n$.get(e);return t===void 0||t},isStart(e,t,n){if(t.offset!==0)return!1;var r=S.start(e,n);return Je.equals(t,r)},isVoid:(e,t)=>$e.isElement(t)&&e.isVoid(t),last(e,t){var n=S.path(e,t,{edge:"end"});return S.node(e,n)},leaf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=S.path(e,t,n);return[we.leaf(e,r),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:a}=t;if(a==null&&(a=()=>!0),n){var i=[],s=S.path(e,n);for(var[u,l]of we.levels(e,s))if(a(u,l)&&(i.push([u,l]),!o&&S.isVoid(e,u)))break;r&&i.reverse(),yield*i}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(ee.isExpanded(n)){var[r]=S.nodes(e,{match:Oe.isText});if(r){var[o]=r;return ha(o,wbe)}return{}}var{anchor:a}=n,{path:i}=a,[s]=S.leaf(e,i);if(a.offset===0){var u=S.previous(e,{at:i,match:Oe.isText}),l=S.above(e,{match:p=>S.isBlock(e,p)});if(u&&l){var[c,f]=u,[,d]=l;V.isAncestor(d,f)&&(s=c)}}return ha(s,kbe)},next(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:a=e.selection}=t;if(a){var i=S.after(e,a,{voids:r});if(i){var[,s]=S.last(e,[]),u=[i.path,s];if(V.isPath(a)&&a.length===0)throw new Error("Cannot get the next node from the root node!");if(o==null)if(V.isPath(a)){var[l]=S.parent(e,a);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=S.nodes(e,{at:u,match:o,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=S.path(e,t,n);return[we.get(e,r),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:a=!1,voids:i=!1}=t,{match:s}=t;if(s||(s=()=>!0),n){var u,l;if(Ebe.isSpan(n))u=n[0],l=n[1];else{var c=S.path(e,n,{edge:"start"}),f=S.path(e,n,{edge:"end"});u=a?f:c,l=a?c:f}var d,p=we.nodes(e,{reverse:a,from:u,to:l,pass:b=>{var[w]=b;return!i&&S.isVoid(e,w)}}),m=[];for(var[y,g]of p){var v=d&&V.compare(g,d[1])===0;if(r!=="highest"||!v){if(s(y,g))if(r==="lowest"&&v)d=[y,g];else{var h=r==="lowest"?d:[y,g];h&&(o?m.push(h):yield h),d=[y,g]}else if(o&&!v&&Oe.isText(y))return}}r==="lowest"&&d&&(o?m.push(d):yield d),o&&(yield*m)}},normalize(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=t,r=a=>S1.get(a)||[];if(S.isNormalizing(e)){if(n){var o=Array.from(we.nodes(e),a=>{var[,i]=a;return i});S1.set(e,o)}r(e).length!==0&&S.withoutNormalizing(e,()=>{for(var a of r(e))if(we.has(e,a)){var i=S.node(e,a),[s,u]=i;$e.isElement(s)&&s.children.length===0&&e.normalizeNode(i)}for(var l=42*r(e).length,c=0;r(e).length!==0;){if(c>l)throw new Error(`
- Could not completely normalize the editor after `.concat(l,` iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.
- `));var f=r(e).pop();if(we.has(e,f)){var d=S.node(e,f);e.normalizeNode(d)}c++}})}},parent(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=S.path(e,t,n),o=V.parent(r);return S.node(e,o)},path(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:o}=n;if(V.isPath(t)){if(o==="start"){var[,a]=we.first(e,t);t=a}else if(o==="end"){var[,i]=we.last(e,t);t=i}}return ee.isRange(t)&&(t=o==="start"?ee.start(t):o==="end"?ee.end(t):V.common(t.anchor.path,t.focus.path)),Je.isPoint(t)&&(t=t.path),r!=null&&(t=t.slice(0,r)),t},hasPath:(e,t)=>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;return S.pathRefs(e).delete(o),o.current=null,a}};return S.pathRefs(e).add(o),o},pathRefs(e){var t=r$.get(e);return t||(t=new Set,r$.set(e,t)),t},point(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(V.isPath(t)){var o;if(r==="end"){var[,a]=we.last(e,t);o=a}else{var[,i]=we.first(e,t);o=i}var s=we.get(e,o);if(!Oe.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(ee.isRange(t)){var[u,l]=ee.edges(t);return r==="start"?u:l}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;return S.pointRefs(e).delete(o),o.current=null,a}};return S.pointRefs(e).add(o),o},pointRefs(e){var t=o$.get(e);return t||(t=new Set,o$.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:a=!1}=t;if(n){var i=S.range(e,n),[s,u]=ee.edges(i),l=o?u:s,c=!1,f="",d=0,p=0,m=0;for(var[y,g]of S.nodes(e,{at:n,reverse:o,voids:a})){if($e.isElement(y)){if(!a&&e.isVoid(y)){yield S.start(e,g);continue}if(e.isInline(y))continue;if(S.hasInlines(e,y)){var v=V.isAncestor(g,u.path)?u:S.end(e,g),h=V.isAncestor(g,s.path)?s:S.start(e,g);f=S.string(e,{anchor:h,focus:v},{voids:a}),c=!0}}if(Oe.isText(y)){var b=V.equals(g,l.path);for(b?(p=o?l.offset:y.text.length-l.offset,m=l.offset):(p=y.text.length,m=o?p:0),(b||c||r==="offset")&&(yield{path:g,offset:m},c=!1);;){if(d===0){if(f==="")break;d=w(f,r,o),f=o5(f,d,o)[1]}if(m=o?m-d:m+d,(p-=d)<0){d=-p;break}d=0,yield{path:g,offset:m}}}}}function w(k,C,E){return C==="character"?r5(k,E):C==="word"?function(D){for(var A=arguments.length>1&&arguments[1]!==void 0&&arguments[1],B=0,q=!1;D.length>0;){var R=r5(D,A),[ie,K]=o5(D,R,A);if(ebe(ie,K,A))q=!0,B+=R;else{if(q)break;B+=R}D=K}return B}(k,E):C==="line"||C==="block"?k.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:a=e.selection}=t;if(a){var i=S.before(e,a,{voids:r});if(i){var[,s]=S.first(e,[]),u=[i.path,s];if(V.isPath(a)&&a.length===0)throw new Error("Cannot get the previous node from the root node!");if(o==null)if(V.isPath(a)){var[l]=S.parent(e,a);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=S.nodes(e,{reverse:!0,at:u,match:o,mode:n,voids:r});return c}}},range:(e,t,n)=>ee.isRange(t)&&!n?t:{anchor:S.start(e,t),focus:S.end(e,n||t)},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;return S.rangeRefs(e).delete(o),o.current=null,a}};return S.rangeRefs(e).add(o),o},rangeRefs(e){var t=i$.get(e);return t||(t=new Set,i$.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){n$.set(e,t)},start:(e,t)=>S.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,o=S.range(e,t),[a,i]=ee.edges(o),s="";for(var[u,l]of S.nodes(e,{at:o,match:Oe.isText,voids:r})){var c=u.text;V.equals(l,i.path)&&(c=c.slice(0,i.offset)),V.equals(l,a.path)&&(c=c.slice(a.offset)),s+=c}return s},unhangRange(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,[o,a]=ee.edges(t);if(o.offset!==0||a.offset!==0||ee.isCollapsed(t))return t;var i=S.above(e,{at:a,match:d=>S.isBlock(e,d)}),s=i?i[1]:[],u={anchor:S.start(e,[]),focus:a},l=!0;for(var[c,f]of S.nodes(e,{at:u,match:Oe.isText,reverse:!0,voids:r}))if(l)l=!1;else if(c.text!==""||V.isBefore(f,s)){a={path:f,offset:c.text.length};break}return{anchor:o,focus:a}},void(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return S.above(e,tc(tc({},t),{},{match:n=>S.isVoid(e,n)}))},withoutNormalizing(e,t){var n=S.isNormalizing(e);S.setNormalizing(e,!1);try{t()}finally{S.setNormalizing(e,n)}S.normalize(e)}},Ebe={isSpan:e=>Array.isArray(e)&&e.length===2&&e.every(V.isPath)},Cbe=["children"],Sbe=["text"],c$=new WeakMap,we={ancestor(e,t){var n=we.get(e,t);if(Oe.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 V.ancestors(t,n)){var o=[we.ancestor(e,r),r];yield o}},child(e,t){if(Oe.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:a}=o,i=r?a.length-1:0;r?i>=0:i<a.length;){var s=we.child(o,i),u=t.concat(i);yield[s,u],i=r?i-1:i+1}},common(e,t,n){var r=V.common(t,n);return[we.get(e,r),r]},descendant(e,t){var n=we.get(e,t);if(S.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))$e.isElement(n)&&(yield[n,r])},extractProps:e=>$e.isAncestor(e)?ha(e,Cbe):ha(e,Sbe),first(e,t){for(var n=t.slice(),r=we.get(e,n);r&&!Oe.isText(r)&&r.children.length!==0;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Oe.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));var n=Nb({children:e.children},r=>{var[o,a]=ee.edges(t),i=we.nodes(r,{reverse:!0,pass:d=>{var[,p]=d;return!ee.includes(t,p)}});for(var[,s]of i){if(!ee.includes(t,s)){var u=we.parent(r,s),l=s[s.length-1];u.children.splice(l,1)}if(V.equals(s,a.path)){var c=we.leaf(r,s);c.text=c.text.slice(0,a.offset)}if(V.equals(s,o.path)){var f=we.leaf(r,s);f.text=f.text.slice(o.offset)}}S.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(Oe.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(Oe.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>Oe.isText(e)||$e.isElement(e)||S.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=c$.get(e);if(t!==void 0)return t;var n=e.every(r=>we.isNode(r));return c$.set(e,n),n},last(e,t){for(var n=t.slice(),r=we.get(e,n);r&&!Oe.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(!Oe.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 V.levels(t,n)){var o=we.get(e,r);yield[o,r]}},matches:(e,t)=>$e.isElement(e)&&$e.isElementProps(t)&&$e.matches(e,t)||Oe.isText(e)&&Oe.isTextProps(t)&&Oe.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:a}=t,i=new Set,s=[],u=e;!a||!(r?V.isBefore(s,a):V.isAfter(s,a));)if(i.has(u)||(yield[u,s]),i.has(u)||Oe.isText(u)||u.children.length===0||n!=null&&n([u,s])!==!1){if(s.length===0)break;if(!r){var l=V.next(s);if(we.has(e,l)){s=l,u=we.get(e,s);continue}}r&&s[s.length-1]!==0?(s=V.previous(s),u=we.get(e,s)):(s=V.parent(s),u=we.get(e,s),i.add(u))}else{i.add(u);var c=r?u.children.length-1:0;V.isAncestor(s,o)&&(c=o[s.length]),s=s.concat(c),u=we.get(e,s)}},parent(e,t){var n=V.parent(t),r=we.get(e,n);if(Oe.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=>Oe.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))Oe.isText(n)&&(yield[n,r])}};function f$(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 bn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?f$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ns={isNodeOperation:e=>ns.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!nr(e))return!1;switch(e.type){case"insert_node":case"remove_node":return V.isPath(e.path)&&we.isNode(e.node);case"insert_text":case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&V.isPath(e.path);case"merge_node":return typeof e.position=="number"&&V.isPath(e.path)&&nr(e.properties);case"move_node":return V.isPath(e.path)&&V.isPath(e.newPath);case"set_node":return V.isPath(e.path)&&nr(e.properties)&&nr(e.newProperties);case"set_selection":return e.properties===null&&ee.isRange(e.newProperties)||e.newProperties===null&&ee.isRange(e.properties)||nr(e.properties)&&nr(e.newProperties);case"split_node":return V.isPath(e.path)&&typeof e.position=="number"&&nr(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(t=>ns.isOperation(t)),isSelectionOperation:e=>ns.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>ns.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return bn(bn({},e),{},{type:"remove_node"});case"insert_text":return bn(bn({},e),{},{type:"remove_text"});case"merge_node":return bn(bn({},e),{},{type:"split_node",path:V.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(V.equals(t,n))return e;if(V.isSibling(n,t))return bn(bn({},e),{},{path:t,newPath:n});var r=V.transform(n,e),o=V.transform(V.next(n),e);return bn(bn({},e),{},{path:r,newPath:o});case"remove_node":return bn(bn({},e),{},{type:"insert_node"});case"remove_text":return bn(bn({},e),{},{type:"insert_text"});case"set_node":var{properties:a,newProperties:i}=e;return bn(bn({},e),{},{properties:i,newProperties:a});case"set_selection":var{properties:s,newProperties:u}=e;return bn(bn({},e),{},s==null?{properties:u,newProperties:null}:u==null?{properties:null,newProperties:s}:{properties:u,newProperties:s});case"split_node":return bn(bn({},e),{},{type:"merge_node",path:V.next(e.path)})}}},V={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=V.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])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),a=e[n],i=t[n];return V.equals(r,o)&&a>i},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return V.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),a=e[n],i=t[n];return V.equals(r,o)&&a<i},equals:(e,t)=>e.length===t.length&&e.every((n,r)=>n===t[r]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>V.compare(e,t)===1,isAncestor:(e,t)=>e.length<t.length&&V.compare(e,t)===0,isBefore:(e,t)=>V.compare(e,t)===-1,isChild:(e,t)=>e.length===t.length+1&&V.compare(e,t)===0,isCommon:(e,t)=>e.length<=t.length&&V.compare(e,t)===0,isDescendant:(e,t)=>e.length>t.length&&V.compare(e,t)===0,isParent:(e,t)=>e.length+1===t.length&&V.compare(e,t)===0,isPath:e=>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);return e[e.length-1]!==t[t.length-1]&&V.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(!V.isAncestor(t,e)&&!V.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 Nb(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:a}=t;(V.equals(a,r)||V.endsBefore(a,r)||V.isAncestor(a,r))&&(r[a.length-1]+=1);break;case"remove_node":var{path:i}=t;if(V.equals(i,r)||V.isAncestor(i,r))return null;V.endsBefore(i,r)&&(r[i.length-1]-=1);break;case"merge_node":var{path:s,position:u}=t;V.equals(s,r)||V.endsBefore(s,r)?r[s.length-1]-=1:V.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=u);break;case"split_node":var{path:l,position:c}=t;if(V.equals(l,r)){if(o==="forward")r[r.length-1]+=1;else if(o!=="backward")return null}else V.endsBefore(l,r)?r[l.length-1]+=1:V.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:f,newPath:d}=t;if(V.equals(f,d))return;if(V.isAncestor(f,r)||V.equals(f,r)){var p=d.slice();return V.endsBefore(f,d)&&f.length<d.length&&(p[f.length-1]-=1),p.concat(r.slice(f.length))}V.isSibling(f,d)&&(V.isAncestor(d,r)||V.equals(d,r))?V.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:V.endsBefore(d,r)||V.equals(d,r)||V.isAncestor(d,r)?(V.endsBefore(f,r)&&(r[f.length-1]-=1),r[d.length-1]+=1):V.endsBefore(f,r)&&(V.equals(d,r)&&(r[d.length-1]+=1),r[f.length-1]-=1)}}})}},_be={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=V.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}};function d$(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 p$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?d$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Je={compare(e,t){var n=V.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>Je.compare(e,t)===1,isBefore:(e,t)=>Je.compare(e,t)===-1,equals:(e,t)=>e.offset===t.offset&&V.equals(e.path,t.path),isPoint:e=>nr(e)&&typeof e.offset=="number"&&V.isPath(e.path),transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Nb(e,r=>{if(r===null)return null;var{affinity:o="forward"}=n,{path:a,offset:i}=r;switch(t.type){case"insert_node":case"move_node":r.path=V.transform(a,t,n);break;case"insert_text":V.equals(t.path,a)&&t.offset<=i&&(r.offset+=t.text.length);break;case"merge_node":V.equals(t.path,a)&&(r.offset+=t.position),r.path=V.transform(a,t,n);break;case"remove_text":V.equals(t.path,a)&&t.offset<=i&&(r.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(V.equals(t.path,a)||V.isAncestor(t.path,a))return null;r.path=V.transform(a,t,n);break;case"split_node":if(V.equals(t.path,a)){if(t.position===i&&o==null)return null;(t.position<i||t.position===i&&o==="forward")&&(r.offset-=t.position,r.path=V.transform(a,t,p$(p$({},n),{},{affinity:"forward"})))}else r.path=V.transform(a,t,n)}})}},Obe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=Je.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},Dbe=["anchor","focus"];function h$(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}var ee={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return ee.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=ee.edges(e);return t},equals:(e,t)=>Je.equals(e.anchor,t.anchor)&&Je.equals(e.focus,t.focus),includes(e,t){if(ee.isRange(t)){if(ee.includes(e,t.anchor)||ee.includes(e,t.focus))return!0;var[n,r]=ee.edges(e),[o,a]=ee.edges(t);return Je.isBefore(n,o)&&Je.isAfter(r,a)}var[i,s]=ee.edges(e),u=!1,l=!1;return Je.isPoint(t)?(u=Je.compare(t,i)>=0,l=Je.compare(t,s)<=0):(u=V.compare(t,i.path)>=0,l=V.compare(t,s.path)<=0),u&&l},intersection(e,t){var n=ha(e,Dbe),[r,o]=ee.edges(e),[a,i]=ee.edges(t),s=Je.isBefore(r,a)?a:r,u=Je.isBefore(o,i)?o:i;return Je.isBefore(u,s)?null:function(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?arguments[c]:{};c%2?h$(Object(f),!0).forEach(function(d){Ti(l,d,f[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(f)):h$(Object(f)).forEach(function(d){Object.defineProperty(l,d,Object.getOwnPropertyDescriptor(f,d))})}return l}({anchor:s,focus:u},n)},isBackward(e){var{anchor:t,focus:n}=e;return Je.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return Je.equals(t,n)},isExpanded:e=>!ee.isCollapsed(e),isForward:e=>!ee.isBackward(e),isRange:e=>nr(e)&&Je.isPoint(e.anchor)&&Je.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=ee.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Nb(e,r=>{if(r===null)return null;var o,a,{affinity:i="inward"}=n;if(i==="inward"){var s=ee.isCollapsed(r);ee.isForward(r)?(o="forward",a=s?o:"backward"):(o="backward",a=s?o:"forward")}else i==="outward"?ee.isForward(r)?(o="backward",a="forward"):(o="forward",a="backward"):(o=i,a=i);var u=Je.transform(r.anchor,t,{affinity:o}),l=Je.transform(r.focus,t,{affinity:a});if(!u||!l)return null;r.anchor=u,r.focus=l})}},Abe={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var o=ee.transform(n,t,{affinity:r});e.current=o,o==null&&e.unref()}}},iW=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(nr(r)&&nr(o)){if(!iW(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var a=0;a<r.length;a++)if(r[a]!==o[a])return!1}else if(r!==o)return!1}for(var i in t)if(e[i]===void 0&&t[i]!==void 0)return!1;return!0},xbe=["text"],Lbe=["anchor","focus"];function g$(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 zi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?g$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Oe={equals(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function o(a){return ha(a,xbe)}return iW(r?o(e):e,r?o(t):t)},isText:e=>nr(e)&&typeof e.text=="string",isTextList:e=>Array.isArray(e)&&e.every(t=>Oe.isText(t)),isTextProps:e=>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=[zi({},e)];for(var r of t){var o=ha(r,Lbe),[a,i]=ee.edges(r),s=[],u=0;for(var l of n){var{length:c}=l.text,f=u;if(u+=c,a.offset<=f&&i.offset>=u)Object.assign(l,o),s.push(l);else if(a.offset!==i.offset&&(a.offset===u||i.offset===f)||a.offset>u||i.offset<f||i.offset===f&&f!==0)s.push(l);else{var d=l,p=void 0,m=void 0;if(i.offset<u){var y=i.offset-f;m=zi(zi({},d),{},{text:d.text.slice(y)}),d=zi(zi({},d),{},{text:d.text.slice(0,y)})}if(a.offset>f){var g=a.offset-f;p=zi(zi({},d),{},{text:d.text.slice(0,g)}),d=zi(zi({},d),{},{text:d.text.slice(g)})}Object.assign(d,o),p&&s.push(p),s.push(d),m&&s.push(m)}}n=s}return n}};function v$(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?v$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Pbe={transform(e,t){e.children=e$(e.children);var n=e.selection&&e$(e.selection);try{n=((r,o,a)=>{switch(a.type){case"insert_node":var{path:i,node:s}=a,u=we.parent(r,i),l=i[i.length-1];if(l>u.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(i,"] because the destination is past the end of the node."));if(u.children.splice(l,0,s),o)for(var[c,f]of ee.points(o))o[f]=Je.transform(c,a);break;case"insert_text":var{path:d,offset:p,text:m}=a;if(m.length===0)break;var y=we.leaf(r,d),g=y.text.slice(0,p),v=y.text.slice(p);if(y.text=g+m+v,o)for(var[h,b]of ee.points(o))o[b]=Je.transform(h,a);break;case"merge_node":var{path:w}=a,k=we.get(r,w),C=V.previous(w),E=we.get(r,C),D=we.parent(r,w),A=w[w.length-1];if(Oe.isText(k)&&Oe.isText(E))E.text+=k.text;else{if(Oe.isText(k)||Oe.isText(E))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(w,"] to nodes of different interfaces: ").concat(k," ").concat(E));E.children.push(...k.children)}if(D.children.splice(A,1),o)for(var[B,q]of ee.points(o))o[q]=Je.transform(B,a);break;case"move_node":var{path:R,newPath:ie}=a;if(V.isAncestor(R,ie))throw new Error("Cannot move a path [".concat(R,"] to new path [").concat(ie,"] because the destination is inside itself."));var K=we.get(r,R),te=we.parent(r,R),F=R[R.length-1];te.children.splice(F,1);var U=V.transform(R,a),Y=we.get(r,V.parent(U)),I=U[U.length-1];if(Y.children.splice(I,0,K),o)for(var[j,_]of ee.points(o))o[_]=Je.transform(j,a);break;case"remove_node":var{path:O}=a,L=O[O.length-1];if(we.parent(r,O).children.splice(L,1),o)for(var[M,J]of ee.points(o)){var W=Je.transform(M,a);if(o!=null&&W!=null)o[J]=W;else{var he=void 0,Ee=void 0;for(var[De,Ae]of we.texts(r)){if(V.compare(Ae,O)!==-1){Ee=[De,Ae];break}he=[De,Ae]}var pe=!1;he&&Ee&&(pe=V.equals(Ee[1],O)?!V.hasPrevious(Ee[1]):V.common(he[1],O).length<V.common(Ee[1],O).length),he&&!pe?(M.path=he[1],M.offset=he[0].text.length):Ee?(M.path=Ee[1],M.offset=0):o=null}}break;case"remove_text":var{path:Ve,offset:Ne,text:xe}=a;if(xe.length===0)break;var Be=we.leaf(r,Ve),$t=Be.text.slice(0,Ne),tt=Be.text.slice(Ne+xe.length);if(Be.text=$t+tt,o)for(var[$,N]of ee.points(o))o[N]=Je.transform($,a);break;case"set_node":var{path:ge,properties:me,newProperties:lt}=a;if(ge.length===0)throw new Error("Cannot set properties on the root node!");var Fe=we.get(r,ge);for(var ne in lt){if(ne==="children"||ne==="text")throw new Error('Cannot set the "'.concat(ne,'" property of nodes!'));var ve=lt[ne];ve==null?delete Fe[ne]:Fe[ne]=ve}for(var dt in me)lt.hasOwnProperty(dt)||delete Fe[dt];break;case"set_selection":var{newProperties:bt}=a;if(bt==null)o=bt;else{if(o==null){if(!ee.isRange(bt))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(bt)," when there is no current selection."));o=Sd({},bt)}for(var Bn in bt){var br=bt[Bn];if(br==null){if(Bn==="anchor"||Bn==="focus")throw new Error('Cannot remove the "'.concat(Bn,'" selection property'));delete o[Bn]}else o[Bn]=br}}break;case"split_node":var{path:en,position:Fn,properties:Gn}=a;if(en.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(en,"] because the root node cannot be split."));var cr,Rn=we.get(r,en),Qr=we.parent(r,en),fd=en[en.length-1];if(Oe.isText(Rn)){var ka=Rn.text.slice(0,Fn),Ni=Rn.text.slice(Fn);Rn.text=ka,cr=Sd(Sd({},Gn),{},{text:Ni})}else{var Gl=Rn.children.slice(0,Fn),Qs=Rn.children.slice(Fn);Rn.children=Gl,cr=Sd(Sd({},Gn),{},{children:Qs})}if(Qr.children.splice(fd+1,0,cr),o)for(var[Zl,So]of ee.points(o))o[So]=Je.transform(Zl,a)}return o})(e,n,t)}finally{e.children=t$(e.children),e.selection=n?ml(n)?t$(n):n:null}}},$be=["text"],jbe=["children"];function m$(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 y$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Tbe={insertNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};S.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:a="lowest"}=n,{at:i,match:s,select:u}=n;if(we.isNode(t)&&(t=[t]),t.length!==0){var[l]=t;if(i||(i=e.selection?e.selection:e.children.length>0?S.end(e,[]):[0],u=!0),u==null&&(u=!1),ee.isRange(i))if(r||(i=S.unhangRange(e,i)),ee.isCollapsed(i))i=i.anchor;else{var[,c]=ee.edges(i),f=S.pointRef(e,c);Z.delete(e,{at:i}),i=f.unref()}if(Je.isPoint(i)){s==null&&(s=Oe.isText(l)?C=>Oe.isText(C):e.isInline(l)?C=>Oe.isText(C)||S.isInline(e,C):C=>S.isBlock(e,C));var[d]=S.nodes(e,{at:i.path,match:s,mode:a,voids:o});if(!d)return;var[,p]=d,m=S.pathRef(e,p),y=S.isEnd(e,i,p);Z.splitNodes(e,{at:i,match:s,mode:a,voids:o});var g=m.unref();i=y?V.next(g):g}var v=V.parent(i),h=i[i.length-1];if(o||!S.void(e,{at:v})){for(var b of t){var w=v.concat(h);h++,e.apply({type:"insert_node",path:w,node:b}),i=V.next(i)}if(i=V.previous(i),u){var k=S.end(e,i);k&&Z.select(e,k)}}}})},liftNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};S.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:a}=t;if(a==null&&(a=V.isPath(n)?nc(e,n):b=>S.isBlock(e,b)),n){var i=S.nodes(e,{at:n,match:a,mode:r,voids:o}),s=Array.from(i,b=>{var[,w]=b;return S.pathRef(e,w)});for(var u of s){var l=u.unref();if(l.length<2)throw new Error("Cannot lift node at a path [".concat(l,"] because it has a depth of less than `2`."));var c=S.node(e,V.parent(l)),[f,d]=c,p=l[l.length-1],{length:m}=f.children;if(m===1){var y=V.next(d);Z.moveNodes(e,{at:l,to:y,voids:o}),Z.removeNodes(e,{at:d,voids:o})}else if(p===0)Z.moveNodes(e,{at:l,to:d,voids:o});else if(p===m-1){var g=V.next(d);Z.moveNodes(e,{at:l,to:g,voids:o})}else{var v=V.next(l),h=V.next(d);Z.splitNodes(e,{at:v,voids:o}),Z.moveNodes(e,{at:l,to:h,voids:o})}}}})},mergeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};S.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:a=!1,mode:i="lowest"}=t;if(r){if(n==null)if(V.isPath(r)){var[s]=S.parent(e,r);n=A=>s.children.includes(A)}else n=A=>S.isBlock(e,A);if(!o&&ee.isRange(r)&&(r=S.unhangRange(e,r)),ee.isRange(r))if(ee.isCollapsed(r))r=r.anchor;else{var[,u]=ee.edges(r),l=S.pointRef(e,u);Z.delete(e,{at:r}),r=l.unref(),t.at==null&&Z.select(e,r)}var[c]=S.nodes(e,{at:r,match:n,voids:a,mode:i}),f=S.previous(e,{at:r,match:n,voids:a,mode:i});if(c&&f){var[d,p]=c,[m,y]=f;if(p.length!==0&&y.length!==0){var g,v,h=V.next(y),b=V.common(p,y),w=V.isSibling(p,y),k=Array.from(S.levels(e,{at:p}),A=>{var[B]=A;return B}).slice(b.length).slice(0,-1),C=S.above(e,{at:p,mode:"highest",match:A=>k.includes(A)&&aW(e,A)}),E=C&&S.pathRef(e,C[1]);if(Oe.isText(d)&&Oe.isText(m)){var D=ha(d,$be);v=m.text.length,g=D}else{if(!$e.isElement(d)||!$e.isElement(m))throw new Error("Cannot merge the node at path [".concat(p,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(d)," ").concat(JSON.stringify(m)));D=ha(d,jbe),v=m.children.length,g=D}w||Z.moveNodes(e,{at:p,to:h,voids:a}),E&&Z.removeNodes(e,{at:E.current,voids:a}),$e.isElement(m)&&S.isEmpty(e,m)||Oe.isText(m)&&m.text===""&&y[y.length-1]!==0?Z.removeNodes(e,{at:y,voids:a}):e.apply({type:"merge_node",path:h,position:v,properties:g}),E&&E.unref()}}}})},moveNodes(e,t){S.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:a=!1}=t,{match:i}=t;if(r){i==null&&(i=V.isPath(r)?nc(e,r):p=>S.isBlock(e,p));var s=S.pathRef(e,n),u=S.nodes(e,{at:r,match:i,mode:o,voids:a}),l=Array.from(u,p=>{var[,m]=p;return S.pathRef(e,m)});for(var c of l){var f=c.unref(),d=s.current;f.length!==0&&e.apply({type:"move_node",path:f,newPath:d}),s.current&&V.isSibling(d,f)&&V.isAfter(d,f)&&(s.current=V.next(s.current))}s.unref()}})},removeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};S.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:a=e.selection,match:i}=t;if(a){i==null&&(i=V.isPath(a)?nc(e,a):d=>S.isBlock(e,d)),!n&&ee.isRange(a)&&(a=S.unhangRange(e,a));var s=S.nodes(e,{at:a,match:i,mode:o,voids:r}),u=Array.from(s,d=>{var[,p]=d;return S.pathRef(e,p)});for(var l of u){var c=l.unref();if(c){var[f]=S.node(e,c);e.apply({type:"remove_node",path:c,node:f})}}}})},setNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};S.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:a=!1,mode:i="lowest",split:s=!1,voids:u=!1}=n;if(o){if(r==null&&(r=V.isPath(o)?nc(e,o):k=>S.isBlock(e,k)),!a&&ee.isRange(o)&&(o=S.unhangRange(e,o)),s&&ee.isRange(o)){if(ee.isCollapsed(o)&&S.leaf(e,o.anchor)[0].text.length>0)return;var l=S.rangeRef(e,o,{affinity:"inward"}),[c,f]=ee.edges(o),d=i==="lowest"?"lowest":"highest",p=S.isEnd(e,f,f.path);Z.splitNodes(e,{at:f,match:r,mode:d,voids:u,always:!p});var m=S.isStart(e,c,c.path);Z.splitNodes(e,{at:c,match:r,mode:d,voids:u,always:!m}),o=l.unref(),n.at==null&&Z.select(e,o)}for(var[y,g]of S.nodes(e,{at:o,match:r,mode:i,voids:u})){var v={},h={};if(g.length!==0){var b=!1;for(var w in t)w!=="children"&&w!=="text"&&t[w]!==y[w]&&(b=!0,y.hasOwnProperty(w)&&(v[w]=y[w]),t[w]!=null&&(h[w]=t[w]));b&&e.apply({type:"set_node",path:g,properties:v,newProperties:h})}}}})},splitNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};S.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:a=e.selection,height:i=0,always:s=!1}=t;if(o==null&&(o=K=>S.isBlock(e,K)),ee.isRange(a)&&(a=Ibe(e,a)),V.isPath(a)){var u=a,l=S.point(e,u),[c]=S.parent(e,u);o=K=>K===c,i=l.path.length-u.length+1,a=l,s=!0}if(a){var f=S.pointRef(e,a,{affinity:"backward"}),[d]=S.nodes(e,{at:a,match:o,mode:n,voids:r});if(d){var p=S.void(e,{at:a,mode:"highest"});if(!r&&p){var[m,y]=p;if($e.isElement(m)&&e.isInline(m)){var g=S.after(e,y);if(!g){var v=V.next(y);Z.insertNodes(e,{text:""},{at:v,voids:r}),g=S.point(e,v)}a=g,s=!0}i=a.path.length-y.length+1,s=!0}var h=S.pointRef(e,a),b=a.path.length-i,[,w]=d,k=a.path.slice(0,b),C=i===0?a.offset:a.path[b]+0;for(var[E,D]of S.levels(e,{at:k,reverse:!0,voids:r})){var A=!1;if(D.length<w.length||D.length===0||!r&&S.isVoid(e,E))break;var B=f.current,q=S.isEnd(e,B,D);if(s||!f||!S.isEdge(e,B,D)){A=!0;var R=we.extractProps(E);e.apply({type:"split_node",path:D,position:C,properties:R})}C=D[D.length-1]+(A||q?1:0)}if(t.at==null){var ie=h.current||S.end(e,[]);Z.select(e,ie)}f.unref(),h.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;Z.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};S.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:a=e.selection,match:i}=t;if(a){i==null&&(i=V.isPath(a)?nc(e,a):d=>S.isBlock(e,d)),V.isPath(a)&&(a=S.range(e,a));var s=ee.isRange(a)?S.rangeRef(e,a):null,u=S.nodes(e,{at:a,match:i,mode:n,voids:o}),l=Array.from(u,d=>{var[,p]=d;return S.pathRef(e,p)}).reverse(),c=function(d){var p=d.unref(),[m]=S.node(e,p),y=S.range(e,p);r&&s&&(y=ee.intersection(s.current,y)),Z.liftNodes(e,{at:y,match:g=>$e.isAncestor(m)&&m.children.includes(g),voids:o})};for(var f of l)c(f);s&&s.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};S.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:a=!1}=n,{match:i,at:s=e.selection}=n;if(s){if(i==null&&(i=V.isPath(s)?nc(e,s):e.isInline(t)?g=>S.isInline(e,g)||Oe.isText(g):g=>S.isBlock(e,g)),o&&ee.isRange(s)){var[u,l]=ee.edges(s),c=S.rangeRef(e,s,{affinity:"inward"});Z.splitNodes(e,{at:l,match:i,voids:a}),Z.splitNodes(e,{at:u,match:i,voids:a}),s=c.unref(),n.at==null&&Z.select(e,s)}var f=Array.from(S.nodes(e,{at:s,match:e.isInline(t)?g=>S.isBlock(e,g):g=>S.isEditor(g),mode:"lowest",voids:a}));for(var[,d]of f){var p=ee.isRange(s)?ee.intersection(s,S.range(e,d)):s;if(p){var m=Array.from(S.nodes(e,{at:p,match:i,mode:r,voids:a}));if(m.length>0){var y=function(){var[g]=m,v=m[m.length-1],[,h]=g,[,b]=v;if(h.length===0&&b.length===0)return"continue";var w=V.equals(h,b)?V.parent(h):V.common(h,b),k=S.range(e,h,b),C=S.node(e,w),[E]=C,D=w.length+1,A=V.next(b.slice(0,D)),B=y$(y$({},t),{},{children:[]});Z.insertNodes(e,B,{at:A,voids:a}),Z.moveNodes(e,{at:k,match:q=>$e.isAncestor(E)&&E.children.includes(q),to:A.concat(0),voids:a})}();if(y==="continue")continue}}}}})}},aW=(e,t)=>{if($e.isElement(t)){var n=t;return!!S.isVoid(e,t)||n.children.length===1&&aW(e,n.children[0])}return!S.isEditor(t)},Ibe=(e,t)=>{if(ee.isCollapsed(t))return t.anchor;var[,n]=ee.edges(t),r=S.pointRef(e,n);return Z.delete(e,{at:t}),r.unref()},nc=(e,t)=>{var[n]=S.node(e,t);return r=>r===n};function b$(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 w$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?b$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Nbe={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")Z.select(e,r.anchor);else if(n==="focus")Z.select(e,r.focus);else if(n==="start"){var[o]=ee.edges(r);Z.select(e,o)}else if(n==="end"){var[,a]=ee.edges(r);Z.select(e,a)}}},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:a=!1}=t,{edge:i=null}=t;if(n){i==="start"&&(i=ee.isBackward(n)?"focus":"anchor"),i==="end"&&(i=ee.isBackward(n)?"anchor":"focus");var{anchor:s,focus:u}=n,l={distance:r,unit:o},c={};if(i==null||i==="anchor"){var f=a?S.before(e,s,l):S.after(e,s,l);f&&(c.anchor=f)}if(i==null||i==="focus"){var d=a?S.before(e,u,l):S.after(e,u,l);d&&(c.focus=d)}Z.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=S.range(e,t),n)Z.setSelection(e,t);else{if(!ee.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=ee.isBackward(r)?"focus":"anchor"),o==="end"&&(o=ee.isBackward(r)?"anchor":"focus");var{anchor:a,focus:i}=r,s=o==="anchor"?a:i;Z.setSelection(e,{[o==="anchor"?"anchor":"focus"]:w$(w$({},s),t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var a in t)(a==="anchor"&&t.anchor!=null&&!Je.equals(t.anchor,n.anchor)||a==="focus"&&t.focus!=null&&!Je.equals(t.focus,n.focus)||a!=="anchor"&&a!=="focus"&&t[a]!==n[a])&&(r[a]=n[a],o[a]=t[a]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}},Bbe={delete(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};S.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:a=!1}=t,{at:i=e.selection,hanging:s=!1}=t;if(i){if(ee.isRange(i)&&ee.isCollapsed(i)&&(i=i.anchor),Je.isPoint(i)){var u=S.void(e,{at:i,mode:"highest"});if(!a&&u){var[,l]=u;i=l}else{var c={unit:r,distance:o};i={anchor:i,focus:n?S.before(e,i,c)||S.start(e,[]):S.after(e,i,c)||S.end(e,[])},s=!0}}if(V.isPath(i))Z.removeNodes(e,{at:i,voids:a});else if(!ee.isCollapsed(i)){if(!s){var[,f]=ee.edges(i),d=S.end(e,[]);Je.equals(f,d)||(i=S.unhangRange(e,i,{voids:a}))}var[p,m]=ee.edges(i),y=S.above(e,{match:Ee=>S.isBlock(e,Ee),at:p,voids:a}),g=S.above(e,{match:Ee=>S.isBlock(e,Ee),at:m,voids:a}),v=y&&g&&!V.equals(y[1],g[1]),h=V.equals(p.path,m.path),b=a?null:S.void(e,{at:p,mode:"highest"}),w=a?null:S.void(e,{at:m,mode:"highest"});if(b){var k=S.before(e,p);k&&y&&V.isAncestor(y[1],k.path)&&(p=k)}if(w){var C=S.after(e,m);C&&g&&V.isAncestor(g[1],C.path)&&(m=C)}var E,D=[];for(var A of S.nodes(e,{at:i,voids:a})){var[B,q]=A;E&&V.compare(q,E)===0||(!a&&S.isVoid(e,B)||!V.isCommon(q,p.path)&&!V.isCommon(q,m.path))&&(D.push(A),E=q)}var R=Array.from(D,Ee=>{var[,De]=Ee;return S.pathRef(e,De)}),ie=S.pointRef(e,p),K=S.pointRef(e,m);if(!h&&!b){var te=ie.current,[F]=S.leaf(e,te),{path:U}=te,{offset:Y}=p,I=F.text.slice(Y);I.length>0&&e.apply({type:"remove_text",path:U,offset:Y,text:I})}for(var j of R){var _=j.unref();Z.removeNodes(e,{at:_,voids:a})}if(!w){var O=K.current,[L]=S.leaf(e,O),{path:M}=O,J=h?p.offset:0,W=L.text.slice(J,m.offset);W.length>0&&e.apply({type:"remove_text",path:M,offset:J,text:W})}!h&&v&&K.current&&ie.current&&Z.mergeNodes(e,{at:K.current,hanging:!0,voids:a});var he=n?ie.unref()||K.unref():K.unref()||ie.unref();t.at==null&&he&&Z.select(e,he)}}})},insertFragment(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};S.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:a=e.selection}=n;if(t.length&&a){if(ee.isRange(a))if(r||(a=S.unhangRange(e,a)),ee.isCollapsed(a))a=a.anchor;else{var[,i]=ee.edges(a);if(!o&&S.void(e,{at:i}))return;var s=S.pointRef(e,i);Z.delete(e,{at:a}),a=s.unref()}else V.isPath(a)&&(a=S.start(e,a));if(o||!S.void(e,{at:a})){var u=S.above(e,{at:a,match:O=>S.isInline(e,O),mode:"highest",voids:o});if(u){var[,l]=u;S.isEnd(e,a,l)?a=S.after(e,l):S.isStart(e,a,l)&&(a=S.before(e,l))}var c=S.above(e,{match:O=>S.isBlock(e,O),at:a,voids:o}),[,f]=c,d=S.isStart(e,a,f),p=S.isEnd(e,a,f),m=d&&p,y=!d||d&&p,g=!p,[,v]=we.first({children:t},[]),[,h]=we.last({children:t},[]),b=[],w=O=>{var[L,M]=O;return M.length!==0&&(!!m||!(y&&V.isAncestor(M,v)&&$e.isElement(L)&&!e.isVoid(L)&&!e.isInline(L))&&!(g&&V.isAncestor(M,h)&&$e.isElement(L)&&!e.isVoid(L)&&!e.isInline(L)))};for(var k of we.nodes({children:t},{pass:w}))w(k)&&b.push(k);var C=[],E=[],D=[],A=!0,B=!1;for(var[q]of b)$e.isElement(q)&&!e.isInline(q)?(A=!1,B=!0,E.push(q)):A?C.push(q):D.push(q);var[R]=S.nodes(e,{at:a,match:O=>Oe.isText(O)||S.isInline(e,O),mode:"highest",voids:o}),[,ie]=R,K=S.isStart(e,a,ie),te=S.isEnd(e,a,ie),F=S.pathRef(e,p?V.next(f):f),U=S.pathRef(e,te?V.next(ie):ie),Y=S.pathRef(e,f);Z.splitNodes(e,{at:a,match:O=>B?S.isBlock(e,O):Oe.isText(O)||S.isInline(e,O),mode:B?"lowest":"highest",voids:o});var I=S.pathRef(e,!K||K&&te?V.next(ie):ie);if(Z.insertNodes(e,C,{at:I.current,match:O=>Oe.isText(O)||S.isInline(e,O),mode:"highest",voids:o}),m&&E.length&&Z.delete(e,{at:Y.unref(),voids:o}),Z.insertNodes(e,E,{at:F.current,match:O=>S.isBlock(e,O),mode:"lowest",voids:o}),Z.insertNodes(e,D,{at:U.current,match:O=>Oe.isText(O)||S.isInline(e,O),mode:"highest",voids:o}),!n.at){var j;j=D.length>0?V.previous(U.current):E.length>0?V.previous(F.current):V.previous(I.current);var _=S.end(e,j);Z.select(e,_)}I.unref(),F.unref(),U.unref()}}})},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};S.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(V.isPath(o)&&(o=S.range(e,o)),ee.isRange(o))if(ee.isCollapsed(o))o=o.anchor;else{var a=ee.end(o);if(!r&&S.void(e,{at:a}))return;var i=S.pointRef(e,a);Z.delete(e,{at:o,voids:r}),o=i.unref(),Z.setSelection(e,{anchor:o,focus:o})}if(r||!S.void(e,{at:o})){var{path:s,offset:u}=o;t.length>0&&e.apply({type:"insert_text",path:s,offset:u,text:t})}}})}};function k$(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 Zv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k$(Object(n),!0).forEach(function(r){Ti(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k$(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Z=Zv(Zv(Zv(Zv({},Pbe),Tbe),Nbe),Bbe),i5="[object Map]",a5="[object Set]",Fbe=/^\[object .+?Constructor\]$/,Rbe=/^(?:0|[1-9]\d*)$/,Mbe="[\\ud800-\\udfff]",s5="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",u5="\\ud83c[\\udffb-\\udfff]",sW="[^\\ud800-\\udfff]",uW="(?:\\ud83c[\\udde6-\\uddff]){2}",lW="[\\ud800-\\udbff][\\udc00-\\udfff]",E$="(?:"+s5+"|"+u5+")?",zbe="[\\ufe0e\\ufe0f]?"+E$+("(?:\\u200d(?:"+[sW,uW,lW].join("|")+")[\\ufe0e\\ufe0f]?"+E$+")*"),Ube="(?:"+[sW+s5+"?",s5,uW,lW,Mbe].join("|")+")",Hbe=RegExp(u5+"(?="+u5+")|"+Ube+zbe,"g"),Wbe=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),Vbe=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,qbe=typeof self=="object"&&self&&self.Object===Object&&self,Nl=Vbe||qbe||Function("return this")();function Gbe(e,t){return function(n,r){for(var o=-1,a=n?n.length:0,i=Array(a);++o<a;)i[o]=r(n[o],o,n);return i}(t,function(n){return e[n]})}function Zbe(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Ybe(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}function Jbe(e){return function(t){return Wbe.test(t)}(e)?function(t){return t.match(Hbe)||[]}(e):function(t){return t.split("")}(e)}var C$,S$,Kbe=Function.prototype,Bb=Object.prototype,oE=Nl["__core-js_shared__"],_$=function(){var e=/[^.]+$/.exec(oE&&oE.keys&&oE.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),cW=Kbe.toString,_1=Bb.hasOwnProperty,Ug=Bb.toString,Xbe=RegExp("^"+cW.call(_1).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O$=Nl.Symbol,iE=O$?O$.iterator:void 0,Qbe=Bb.propertyIsEnumerable,e2e=(C$=Object.keys,S$=Object,function(e){return C$(S$(e))}),l5=Hg(Nl,"DataView"),c5=Hg(Nl,"Map"),f5=Hg(Nl,"Promise"),d5=Hg(Nl,"Set"),p5=Hg(Nl,"WeakMap"),t2e=Bl(l5),n2e=Bl(c5),r2e=Bl(f5),o2e=Bl(d5),i2e=Bl(p5);function a2e(e,t){var n=fW(e)||function(i){return function(s){return hW(s)&&xD(s)}(i)&&_1.call(i,"callee")&&(!Qbe.call(i,"callee")||Ug.call(i)=="[object Arguments]")}(e)?function(i,s){for(var u=-1,l=Array(i);++u<i;)l[u]=s(u);return l}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!_1.call(e,a)||o&&(a=="length"||l2e(a,r))||n.push(a);return n}function s2e(e){if(!pW(e)||function(n){return!!_$&&_$ in n}(e))return!1;var t=dW(e)||function(n){var r=!1;if(n!=null&&typeof n.toString!="function")try{r=!!(n+"")}catch{}return r}(e)?Xbe:Fbe;return t.test(Bl(e))}function u2e(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||Bb,t!==r)return e2e(e);var t,n,r,o=[];for(var a in Object(e))_1.call(e,a)&&a!="constructor"&&o.push(a);return o}function Hg(e,t){var n=function(r,o){return r==null?void 0:r[o]}(e,t);return s2e(n)?n:void 0}var yu=function(e){return Ug.call(e)};function l2e(e,t){return!!(t=t??9007199254740991)&&(typeof e=="number"||Rbe.test(e))&&e>-1&&e%1==0&&e<t}function Bl(e){if(e!=null){try{return cW.call(e)}catch{}try{return e+""}catch{}}return""}(l5&&yu(new l5(new ArrayBuffer(1)))!="[object DataView]"||c5&&yu(new c5)!=i5||f5&&yu(f5.resolve())!="[object Promise]"||d5&&yu(new d5)!=a5||p5&&yu(new p5)!="[object WeakMap]")&&(yu=function(e){var t=Ug.call(e),n=t=="[object Object]"?e.constructor:void 0,r=n?Bl(n):void 0;if(r)switch(r){case t2e:return"[object DataView]";case n2e:return i5;case r2e:return"[object Promise]";case o2e:return a5;case i2e:return"[object WeakMap]"}return t});var fW=Array.isArray;function xD(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!dW(e)}function dW(e){var t=pW(e)?Ug.call(e):"";return t=="[object Function]"||t=="[object GeneratorFunction]"}function pW(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function hW(e){return!!e&&typeof e=="object"}function c2e(e){return e?Gbe(e,function(t){return xD(t)?a2e(t):u2e(t)}(e)):[]}var D$=function(e){if(!e)return[];if(xD(e))return function(n){return typeof n=="string"||!fW(n)&&hW(n)&&Ug.call(n)=="[object String]"}(e)?Jbe(e):function(n,r){var o=-1,a=n.length;for(r||(r=Array(a));++o<a;)r[o]=n[o];return r}(e);if(iE&&e[iE])return function(n){for(var r,o=[];!(r=n.next()).done;)o.push(r.value);return o}(e[iE]());var t=yu(e);return(t==i5?Zbe:t==a5?Ybe:c2e)(e)};function A$(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function LD(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(n){e[n]===void 0?e[n]=t[n]:A$(t[n])&&A$(e[n])&&Object.keys(t[n]).length>0&&LD(e[n],t[n])})}var gW={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 Wg(){var e=typeof document<"u"?document:{};return LD(e,gW),e}var f2e={document:gW,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 Fl(){var e=typeof window<"u"?window:{};return LD(e,f2e),e}function h5(e){return h5=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},h5(e)}function O1(e,t){return O1=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},O1(e,t)}function d2e(){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 g5(e,t,n){return g5=d2e()?Reflect.construct:function(r,o,a){var i=[null];i.push.apply(i,o);var s=new(Function.bind.apply(r,i));return a&&O1(s,a.prototype),s},g5.apply(null,arguments)}function v5(e){var t=typeof Map=="function"?new Map:void 0;return v5=function(n){if(n===null||!function(o){return Function.toString.call(o).indexOf("[native code]")!==-1}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return g5(n,arguments,h5(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),O1(r,n)},v5(e)}var rs=function(e){var t,n;function r(o){var a,i,s;return a=e.call.apply(e,[this].concat(o))||this,i=function(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}(a),s=i.__proto__,Object.defineProperty(i,"__proto__",{get:function(){return s},set:function(u){s.__proto__=u}}),a}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(v5(Array));function Fb(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(n){Array.isArray(n)?t.push.apply(t,Fb(n)):t.push(n)}),t}function vW(e,t){return Array.prototype.filter.call(e,t)}function T(e,t){var n=Fl(),r=Wg(),o=[];if(!t&&e instanceof rs)return e;if(!e)return new rs(o);if(typeof e=="string"){var a=e.trim();if(a.indexOf("<")>=0&&a.indexOf(">")>=0){var i="div";a.indexOf("<li")===0&&(i="ul"),a.indexOf("<tr")===0&&(i="tbody"),a.indexOf("<td")!==0&&a.indexOf("<th")!==0||(i="tr"),a.indexOf("<tbody")===0&&(i="table"),a.indexOf("<option")===0&&(i="select");var s=r.createElement(i);s.innerHTML=a;for(var u=0;u<s.childNodes.length;u+=1)o.push(s.childNodes[u])}else o=function(l,c){if(typeof l!="string")return[l];for(var f=[],d=c.querySelectorAll(l),p=0;p<d.length;p+=1)f.push(d[p]);return f}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof rs)return e;o=e}return new rs(function(l){for(var c=[],f=0;f<l.length;f+=1)c.indexOf(l[f])===-1&&c.push(l[f]);return c}(o))}function ff(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Fb(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var a;(a=o.classList).add.apply(a,r)}),this}function df(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Fb(t.map(function(o){return o.split(" ")}));return this.forEach(function(o){var a;(a=o.classList).remove.apply(a,r)}),this}function pf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Fb(t.map(function(o){return o.split(" ")}));return vW(this,function(o){return r.filter(function(a){return o.classList.contains(a)}).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 D1(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function hf(){var e=this[0];if(e){var t,n={};if(e.dataset)for(var r in e.dataset)n[r]=e.dataset[r];else for(var o=0;o<e.attributes.length;o+=1){var a=e.attributes[o];a.name.indexOf("data-")>=0&&(n[t=a.name.split("data-")[1],t.toLowerCase().replace(/-(.)/g,function(s,u){return u.toUpperCase()})]=a.value)}for(var i in n)n[i]==="false"?n[i]=!1:n[i]==="true"?n[i]=!0:parseFloat(n[i])===1*n[i]&&(n[i]*=1);return n}}function Oi(e){if(e===void 0){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 a=this[o];if(Array.isArray(e)&&a.multiple&&a.nodeName.toLowerCase()==="select")for(var i=0;i<a.options.length;i+=1)a.options[i].selected=e.indexOf(a.options[i].value)>=0;else a.value=e}return this}function Di(){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],a=t[2],i=t[3];function s(y){var g=y.target;if(g){var v=y.target.dom7EventData||[];if(v.indexOf(y)<0&&v.unshift(y),T(g).is(o))a.apply(g,v);else for(var h=T(g).parents(),b=0;b<h.length;b+=1)T(h[b]).is(o)&&a.apply(h[b],v)}}function u(y){var g=y&&y.target&&y.target.dom7EventData||[];g.indexOf(y)<0&&g.unshift(y),a.apply(this,g)}typeof t[1]=="function"&&(r=t[0],a=t[1],i=t[2],o=void 0),i||(i=!1);for(var l,c=r.split(" "),f=0;f<this.length;f+=1){var d=this[f];if(o)for(l=0;l<c.length;l+=1){var p=c[l];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[p]||(d.dom7LiveListeners[p]=[]),d.dom7LiveListeners[p].push({listener:a,proxyListener:s}),d.addEventListener(p,s,i)}else for(l=0;l<c.length;l+=1){var m=c[l];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[m]||(d.dom7Listeners[m]=[]),d.dom7Listeners[m].push({listener:a,proxyListener:u}),d.addEventListener(m,u,i)}}return this}function x$(){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],a=t[2],i=t[3];typeof t[1]=="function"&&(r=t[0],a=t[1],i=t[2],o=void 0),i||(i=!1);for(var s=r.split(" "),u=0;u<s.length;u+=1)for(var l=s[u],c=0;c<this.length;c+=1){var f=this[c],d=void 0;if(!o&&f.dom7Listeners?d=f.dom7Listeners[l]:o&&f.dom7LiveListeners&&(d=f.dom7LiveListeners[l]),d&&d.length)for(var p=d.length-1;p>=0;p-=1){var m=d[p];a&&m.listener===a||a&&m.listener&&m.listener.dom7proxy&&m.listener.dom7proxy===a?(f.removeEventListener(l,m.proxyListener,i),d.splice(p,1)):a||(f.removeEventListener(l,m.proxyListener,i),d.splice(p,1))}}return this}function A1(){var e=Fl();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function x1(){var e=Fl();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function L$(){if(this.length>0){var e=Fl(),t=Wg(),n=this[0],r=n.getBoundingClientRect(),o=t.body,a=n.clientTop||o.clientTop||0,i=n.clientLeft||o.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,u=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-a,left:r.left+u-i}}return null}function gf(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function L1(){for(var e=Fl(),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 P1(e,t){var n,r=Fl();if(arguments.length===1){if(typeof e!="string"){for(n=0;n<this.length;n+=1)for(var o in e)this[n].style[o]=e[o];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function $1(e){return e?(this.forEach(function(t,n){e.apply(t,[t,n])}),this):this}function P$(e){return T(vW(this,e))}function xs(e){if(e===void 0)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function j1(e){if(e===void 0)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function $$(e){var t,n,r=Fl(),o=Wg(),a=this[0];if(!a||e===void 0)return!1;if(typeof e=="string"){if(a.matches)return a.matches(e);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(e);if(a.msMatchesSelector)return a.msMatchesSelector(e);for(t=T(e),n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}if(e===o)return a===o;if(e===r)return a===r;if(e.nodeType||e instanceof rs){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===a)return!0;return!1}return!1}function yo(){for(var e,t=Wg(),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 rs)for(var a=0;a<e.length;a+=1)this[r].appendChild(e[a]);else this[r].appendChild(e)}return this}function j$(e){var t,n,r=Wg();for(t=0;t<this.length;t+=1)if(typeof e=="string"){var o=r.createElement("div");for(o.innerHTML=e,n=o.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(o.childNodes[n],this[t].childNodes[0])}else if(e instanceof rs)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function vf(e){for(var t=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(e?T(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return T(t)}function T1(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?T(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return T(t)}function mf(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 T(t)}function yf(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&&!T(r[o]).is(e)||t.push(r[o]);return T(t)}function bf(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function wf(){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}T.fn=rs.prototype;var p2e="resize scroll".split(" ");function mW(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n[0]===void 0){for(var o=0;o<this.length;o+=1)p2e.indexOf(e)<0&&(e in this[o]?this[o][e]():T(this[o]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}var T$=mW("click"),Ls=mW("focus"),h2e="[object GeneratorFunction]",g2e=/^(?:0|[1-9]\d*)$/;function v2e(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}var Rb=Object.prototype,m5=Rb.hasOwnProperty,yW=Rb.toString,m2e=Rb.propertyIsEnumerable,y2e=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object);function b2e(e,t){var n=bW(e)||function(i){return function(s){return function(u){return!!u&&typeof u=="object"}(s)&&PD(s)}(i)&&m5.call(i,"callee")&&(!m2e.call(i,"callee")||yW.call(i)=="[object Arguments]")}(e)?function(i,s){for(var u=-1,l=Array(i);++u<i;)l[u]=s(u);return l}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!m5.call(e,a)||o&&(a=="length"||C2e(a,r))||n.push(a);return n}var I$,w2e=(I$=function(e,t){return e&&k2e(e,t,S2e)},function(e,t){if(e==null)return e;if(!PD(e))return I$(e,t);for(var n=e.length,r=-1,o=Object(e);++r<n&&t(o[r],r,o)!==!1;);return e}),k2e=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var u=i[++o];if(n(a[u],u,a)===!1)break}return t}}();function E2e(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||Rb,t!==r)return y2e(e);var t,n,r,o=[];for(var a in Object(e))m5.call(e,a)&&a!="constructor"&&o.push(a);return o}function C2e(e,t){return!!(t=t??9007199254740991)&&(typeof e=="number"||g2e.test(e))&&e>-1&&e%1==0&&e<t}var bW=Array.isArray;function PD(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!function(t){var n=function(r){var o=typeof r;return!!r&&(o=="object"||o=="function")}(t)?yW.call(t):"";return n=="[object Function]"||n==h2e}(e)}function S2e(e){return PD(e)?b2e(e):E2e(e)}function _2e(e){return e}var $D=function(e,t){return(bW(e)?v2e:w2e)(e,typeof t=="function"?t:_2e)};let wW=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};var O2e=/^\s+|\s+$/g,D2e=/^[-+]0x[0-9a-f]+$/i,A2e=/^0b[01]+$/i,x2e=/^0o[0-7]+$/i,L2e=parseInt,P2e=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,$2e=typeof self=="object"&&self&&self.Object===Object&&self,j2e=P2e||$2e||Function("return this")(),T2e=Object.prototype.toString,I2e=Math.max,N2e=Math.min,aE=function(){return j2e.Date.now()};function B2e(e,t,n){var r,o,a,i,s,u,l=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError("Expected a function");function p(b){var w=r,k=o;return r=o=void 0,l=b,i=e.apply(k,w)}function m(b){return l=b,s=setTimeout(g,t),c?p(b):i}function y(b){var w=b-u;return u===void 0||w>=t||w<0||f&&b-l>=a}function g(){var b=aE();if(y(b))return v(b);s=setTimeout(g,function(w){var k=t-(w-u);return f?N2e(k,a-(w-l)):k}(b))}function v(b){return s=void 0,d&&r?p(b):(r=o=void 0,i)}function h(){var b=aE(),w=y(b);if(r=arguments,o=this,u=b,w){if(s===void 0)return m(u);if(f)return s=setTimeout(g,t),p(u)}return s===void 0&&(s=setTimeout(g,t)),i}return t=N$(t)||0,I1(n)&&(c=!!n.leading,a=(f="maxWait"in n)?I2e(N$(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),h.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=u=o=s=void 0},h.flush=function(){return s===void 0?i:v(aE())},h}function I1(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function N$(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&T2e.call(r)=="[object Symbol]"}(e))return NaN;if(I1(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=I1(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(O2e,"");var n=A2e.test(e);return n||x2e.test(e)?L2e(e.slice(2),n?2:8):D2e.test(e)?NaN:+e}var bl=function(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError("Expected a function");return I1(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),B2e(e,t,{leading:r,maxWait:t,trailing:o})};const F2e={createElement:function(e,t){return document.createElement(e,t)},createElementNS:function(e,t,n){return document.createElementNS(e,t,n)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return e.nodeType===1},isText:function(e){return e.nodeType===3},isComment:function(e){return e.nodeType===8}};function Ih(e,t,n,r,o){return{sel:e,data:t,children:n,text:r,elm:o,key:t===void 0?void 0:t.key}}const y5=Array.isArray;function pm(e){return typeof e=="string"||typeof e=="number"||e instanceof String||e instanceof Number}function sE(e){return e===void 0}function Nr(e){return e!==void 0}const B$=Ih("",{},[],void 0,void 0);function _d(e,t){var n,r;const o=e.key===t.key,a=((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&&a}function R2e(e,t,n){var r;const o={};for(let a=t;a<=n;++a){const i=(r=e[a])===null||r===void 0?void 0:r.key;i!==void 0&&(o[i]=a)}return o}const M2e=["create","update","remove","destroy","pre","post"];function z2e(e,t){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=F2e;for(const f of M2e)for(const d of e){const p=d[f];p!==void 0&&n[f].push(p)}function o(f){const d=f.id?"#"+f.id:"",p=f.getAttribute("class"),m=p?"."+p.split(" ").join("."):"";return Ih(r.tagName(f).toLowerCase()+d+m,{},[],void 0,f)}function a(f,d){return function(){if(--d==0){const p=r.parentNode(f);r.removeChild(p,f)}}}function i(f,d){var p,m;let y,g=f.data;if(g!==void 0){const b=(p=g.hook)===null||p===void 0?void 0:p.init;Nr(b)&&(b(f),g=f.data)}const v=f.children,h=f.sel;if(h==="!")sE(f.text)&&(f.text=""),f.elm=r.createComment(f.text);else if(h!==void 0){const b=h.indexOf("#"),w=h.indexOf(".",b),k=b>0?b:h.length,C=w>0?w:h.length,E=b!==-1||w!==-1?h.slice(0,Math.min(k,C)):h,D=f.elm=Nr(g)&&Nr(y=g.ns)?r.createElementNS(y,E,g):r.createElement(E,g);for(k<C&&D.setAttribute("id",h.slice(k+1,C)),w>0&&D.setAttribute("class",h.slice(C+1).replace(/\./g," ")),y=0;y<n.create.length;++y)n.create[y](B$,f);if(y5(v))for(y=0;y<v.length;++y){const B=v[y];B!=null&&r.appendChild(D,i(B,d))}else pm(f.text)&&r.appendChild(D,r.createTextNode(f.text));const A=f.data.hook;Nr(A)&&((m=A.create)===null||m===void 0||m.call(A,B$,f),A.insert&&d.push(f))}else f.elm=r.createTextNode(f.text);return f.elm}function s(f,d,p,m,y,g){for(;m<=y;++m){const v=p[m];v!=null&&r.insertBefore(f,i(v,g),d)}}function u(f){var d,p;const m=f.data;if(m!==void 0){(p=(d=m==null?void 0:m.hook)===null||d===void 0?void 0:d.destroy)===null||p===void 0||p.call(d,f);for(let y=0;y<n.destroy.length;++y)n.destroy[y](f);if(f.children!==void 0)for(let y=0;y<f.children.length;++y){const g=f.children[y];g!=null&&typeof g!="string"&&u(g)}}}function l(f,d,p,m){for(var y,g;p<=m;++p){let v,h;const b=d[p];if(b!=null)if(Nr(b.sel)){u(b),v=n.remove.length+1,h=a(b.elm,v);for(let k=0;k<n.remove.length;++k)n.remove[k](b,h);const w=(g=(y=b==null?void 0:b.data)===null||y===void 0?void 0:y.hook)===null||g===void 0?void 0:g.remove;Nr(w)?w(b,h):h()}else r.removeChild(f,b.elm)}}function c(f,d,p){var m,y,g,v,h;const b=(m=d.data)===null||m===void 0?void 0:m.hook;(y=b==null?void 0:b.prepatch)===null||y===void 0||y.call(b,f,d);const w=d.elm=f.elm,k=f.children,C=d.children;if(f!==d){if(d.data!==void 0){for(let E=0;E<n.update.length;++E)n.update[E](f,d);(v=(g=d.data.hook)===null||g===void 0?void 0:g.update)===null||v===void 0||v.call(g,f,d)}sE(d.text)?Nr(k)&&Nr(C)?k!==C&&function(E,D,A,B){let q,R,ie,K,te=0,F=0,U=D.length-1,Y=D[0],I=D[U],j=A.length-1,_=A[0],O=A[j];for(;te<=U&&F<=j;)Y==null?Y=D[++te]:I==null?I=D[--U]:_==null?_=A[++F]:O==null?O=A[--j]:_d(Y,_)?(c(Y,_,B),Y=D[++te],_=A[++F]):_d(I,O)?(c(I,O,B),I=D[--U],O=A[--j]):_d(Y,O)?(c(Y,O,B),r.insertBefore(E,Y.elm,r.nextSibling(I.elm)),Y=D[++te],O=A[--j]):_d(I,_)?(c(I,_,B),r.insertBefore(E,I.elm,Y.elm),I=D[--U],_=A[++F]):(q===void 0&&(q=R2e(D,te,U)),R=q[_.key],sE(R)?r.insertBefore(E,i(_,B),Y.elm):(ie=D[R],ie.sel!==_.sel?r.insertBefore(E,i(_,B),Y.elm):(c(ie,_,B),D[R]=void 0,r.insertBefore(E,ie.elm,Y.elm))),_=A[++F]);(te<=U||F<=j)&&(te>U?(K=A[j+1]==null?null:A[j+1].elm,s(E,K,A,F,j,B)):l(E,D,te,U))}(w,k,C,p):Nr(C)?(Nr(f.text)&&r.setTextContent(w,""),s(w,null,C,0,C.length-1,p)):Nr(k)?l(w,k,0,k.length-1):Nr(f.text)&&r.setTextContent(w,""):f.text!==d.text&&(Nr(k)&&l(w,k,0,k.length-1),r.setTextContent(w,d.text)),(h=b==null?void 0:b.postpatch)===null||h===void 0||h.call(b,f,d)}}return function(f,d){let p,m,y;const g=[];for(p=0;p<n.pre.length;++p)n.pre[p]();for(function(v){return v.sel!==void 0}(f)||(f=o(f)),_d(f,d)?c(f,d,g):(m=f.elm,y=r.parentNode(m),i(d,g),y!==null&&(r.insertBefore(y,d.elm,r.nextSibling(m)),l(y,[f],0,0))),p=0;p<g.length;++p)g[p].data.hook.insert(g[p]);for(p=0;p<n.post.length;++p)n.post[p]();return d}}function kW(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&&kW(o,t[r].children,t[r].sel)}}function kf(e,t,n){let r,o,a,i={};if(n!==void 0?(t!==null&&(i=t),y5(n)?r=n:pm(n)?o=n.toString():n&&n.sel&&(r=[n])):t!=null&&(y5(t)?r=t:pm(t)?o=t.toString():t&&t.sel?r=[t]:i=t),r!==void 0)for(a=0;a<r.length;++a)pm(r[a])&&(r[a]=Ih(void 0,void 0,void 0,r[a],void 0));return e[0]!=="s"||e[1]!=="v"||e[2]!=="g"||e.length!==3&&e[3]!=="."&&e[3]!=="#"||kW(i,r,e),Ih(e,i,r,o,void 0)}function F$(e,t){let n;const r=t.elm;let o=e.data.attrs,a=t.data.attrs;if((o||a)&&o!==a){for(n in o=o||{},a=a||{},a){const i=a[n];o[n]!==i&&(i===!0?r.setAttribute(n,""):i===!1?r.removeAttribute(n):n.charCodeAt(0)!==120?r.setAttribute(n,i):n.charCodeAt(3)===58?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,i):n.charCodeAt(5)===58?r.setAttributeNS("http://www.w3.org/1999/xlink",n,i):r.setAttribute(n,i))}for(n in o)n in a||r.removeAttribute(n)}}const U2e={create:F$,update:F$};function R$(e,t){let n,r;const o=t.elm;let a=e.data.class,i=t.data.class;if((a||i)&&a!==i){for(r in a=a||{},i=i||{},a)a[r]&&!Object.prototype.hasOwnProperty.call(i,r)&&o.classList.remove(r);for(r in i)n=i[r],n!==a[r]&&o.classList[n?"add":"remove"](r)}}const H2e={create:R$,update:R$},M$=/[A-Z]/g;function z$(e,t){const n=t.elm;let r,o=e.data.dataset,a=t.data.dataset;if(!o&&!a||o===a)return;o=o||{},a=a||{};const i=n.dataset;for(r in o)a[r]||(i?r in i&&delete i[r]:n.removeAttribute("data-"+r.replace(M$,"-$&").toLowerCase()));for(r in a)o[r]!==a[r]&&(i?i[r]=a[r]:n.setAttribute("data-"+r.replace(M$,"-$&").toLowerCase(),a[r]))}const W2e={create:z$,update:z$};function EW(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++)EW(e[r],t,n)}function V2e(e,t){const n=e.type,r=t.data.on;r&&r[n]&&EW(r[n],t,e)}function uE(e,t){const n=e.data.on,r=e.listener,o=e.elm,a=t&&t.data.on,i=t&&t.elm;let s;if(n!==a){if(n&&r)if(a)for(s in n)a[s]||o.removeEventListener(s,r,!1);else for(s in n)o.removeEventListener(s,r,!1);if(a){const u=t.listener=e.listener||function l(c){V2e(c,l.vnode)};if(u.vnode=t,n)for(s in a)n[s]||i.addEventListener(s,u,!1);else for(s in a)i.addEventListener(s,u,!1)}}}const q2e={create:uE,update:uE,destroy:uE};function U$(e,t){let n,r,o;const a=t.elm;let i=e.data.props,s=t.data.props;if((i||s)&&i!==s)for(n in i=i||{},s=s||{},s)r=s[n],o=i[n],o===r||n==="value"&&a[n]===r||(a[n]=r)}const G2e={create:U$,update:U$},H$=typeof window<"u"&&window.requestAnimationFrame.bind(window)||setTimeout;let lE=!1;function Z2e(e,t,n){(function(r){H$(function(){H$(r)})})(function(){e[t]=n})}function W$(e,t){let n,r;const o=t.elm;let a=e.data.style,i=t.data.style;if(!a&&!i||a===i)return;a=a||{},i=i||{};const s="delayed"in a;for(r in a)i[r]||(r[0]==="-"&&r[1]==="-"?o.style.removeProperty(r):o.style[r]="");for(r in i)if(n=i[r],r==="delayed"&&i.delayed)for(const u in i.delayed)n=i.delayed[u],s&&n===a.delayed[u]||Z2e(o.style,u,n);else r!=="remove"&&n!==a[r]&&(r[0]==="-"&&r[1]==="-"?o.style.setProperty(r,n):o.style[r]=n)}const Y2e={pre:function(){lE=!1},create:W$,update:W$,destroy:function(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]},remove:function(e,t){const n=e.data.style;if(!n||!n.remove)return void t();let r;lE||(e.elm.offsetLeft,lE=!0);const o=e.elm;let a=0;const i=n.remove;let s=0;const u=[];for(r in i)u.push(r),o.style[r]=i[r];const l=getComputedStyle(o)["transition-property"].split(", ");for(;a<l.length;++a)u.indexOf(l[a])!==-1&&s++;o.addEventListener("transitionend",function(c){c.target===o&&--s,s===0&&t()})}};function CW(e,t){for(const n of e)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?CW(n,t):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?t.push(Ih(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function ze(e,t,...n){const r=CW(n,[]);return typeof e=="function"?e(t,r):r.length===1&&!r[0].sel&&r[0].text?kf(e,t,r[0].text):kf(e,t,r)}ze||(ze={});var J2e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,K2e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,SW="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",X2e="[\\ud800-\\udfff]",V$="["+SW+"]",N1="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",_W="\\d+",Q2e="[\\u2700-\\u27bf]",OW="[a-z\\xdf-\\xf6\\xf8-\\xff]",DW="[^\\ud800-\\udfff"+SW+_W+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",b5="\\ud83c[\\udffb-\\udfff]",AW="[^\\ud800-\\udfff]",jD="(?:\\ud83c[\\udde6-\\uddff]){2}",TD="[\\ud800-\\udbff][\\udc00-\\udfff]",$c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",q$="(?:"+OW+"|"+DW+")",ewe="(?:"+$c+"|"+DW+")",G$="(?:"+N1+"|"+b5+")?",xW="[\\ufe0e\\ufe0f]?"+G$+("(?:\\u200d(?:"+[AW,jD,TD].join("|")+")[\\ufe0e\\ufe0f]?"+G$+")*"),twe="(?:"+[Q2e,jD,TD].join("|")+")"+xW,nwe="(?:"+[AW+N1+"?",N1,jD,TD,X2e].join("|")+")",rwe=RegExp("['’]","g"),owe=RegExp(N1,"g"),iwe=RegExp(b5+"(?="+b5+")|"+nwe+xW,"g"),awe=RegExp([$c+"?"+OW+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[V$,$c,"$"].join("|")+")",ewe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[V$,$c+q$,"$"].join("|")+")",$c+"?"+q$+"+(?:['’](?:d|ll|m|re|s|t|ve))?",$c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",_W,twe].join("|"),"g"),swe=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),uwe=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,lwe=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,cwe=typeof self=="object"&&self&&self.Object===Object&&self,fwe=lwe||cwe||Function("return this")(),cE,dwe=(cE={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return cE==null?void 0:cE[e]});function LW(e){return swe.test(e)}function pwe(e){return LW(e)?function(t){return t.match(iwe)||[]}(e):function(t){return t.split("")}(e)}var hwe=Object.prototype.toString,Z$=fwe.Symbol,Y$=Z$?Z$.prototype:void 0,J$=Y$?Y$.toString:void 0;function gwe(e){if(typeof e=="string")return e;if(function(n){return typeof n=="symbol"||function(r){return!!r&&typeof r=="object"}(n)&&hwe.call(n)=="[object Symbol]"}(e))return J$?J$.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function vwe(e,t,n){var r=e.length;return n=n===void 0?r:n,function(o,a,i){var s=-1,u=o.length;a<0&&(a=-a>u?0:u+a),(i=i>u?u:i)<0&&(i+=u),u=a>i?0:i-a>>>0,a>>>=0;for(var l=Array(u);++s<u;)l[s]=o[s+a];return l}(e,t,n)}function hm(e){return e==null?"":gwe(e)}var K$,mwe=(K$=function(e,t,n){return t=t.toLowerCase(),e+(n?ywe(hm(t).toLowerCase()):t)},function(e){return function(t,n,r,o){var a=-1,i=t?t.length:0;for(o;++a<i;)r=n(r,t[a],a,t);return r}(function(t,n,r){return t=hm(t),(n=n)===void 0?function(o){return uwe.test(o)}(t)?function(o){return o.match(awe)||[]}(t):function(o){return o.match(J2e)||[]}(t):t.match(n)||[]}(function(t){return(t=hm(t))&&t.replace(K2e,dwe).replace(owe,"")}(e).replace(rwe,"")),K$,"")}),X$,ywe=(X$="toUpperCase",function(e){var t=LW(e=hm(e))?pwe(e):void 0,n=t?t[0]:e.charAt(0),r=t?vwe(t,1).join(""):e.slice(1);return n[X$]()+r});for(var bwe=mwe,wwe=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),fE={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},PW={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:wwe?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},ID={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},Yv=1;Yv<20;Yv++)ID["f"+Yv]=111+Yv;function $W(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(a){return function(i,s){var u=s&&s.byKey,l={},c=(i=i.replace("++","+add")).split("+"),f=c.length;for(var d in fE)l[fE[d]]=!1;var p=!0,m=!1,y=void 0;try{for(var g,v=c[Symbol.iterator]();!(p=(g=v.next()).done);p=!0){var h=g.value,b=h.endsWith("?")&&h.length>1;b&&(h=h.slice(0,-1));var w=jW(h),k=fE[w];if(h.length>1&&!k&&!PW[h]&&!ID[w])throw new TypeError('Unknown modifier: "'+h+'"');f!==1&&k||(u?l.key=w:l.which=kwe(h)),k&&(l[k]=!b||null)}}catch(C){m=!0,y=C}finally{try{!p&&v.return&&v.return()}finally{if(m)throw y}}return l}(a,t)}),o=function(a){return r.some(function(i){return function(s,u){for(var l in s){var c=s[l],f=void 0;if(c!=null&&((f=l==="key"&&u.key!=null?u.key.toLowerCase():l==="which"?c===91&&u.which===93?91:u.which:u[l])!=null||c!==!1)&&f!==c)return!1}return!0}(i,a)})};return n==null?o:o(n)}function kwe(e){return e=jW(e),ID[e]||e.toUpperCase().charCodeAt(0)}function jW(e){return e=e.toLowerCase(),e=PW[e]||e}var Ewe=$W,dE=function(e,t){return $W(e,{byKey:!0},t)},Cwe=/^\s+|\s+$/g,Swe=/^[-+]0x[0-9a-f]+$/i,_we=/^0b[01]+$/i,Owe=/^0o[0-7]+$/i,Dwe=parseInt,Awe=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,xwe=typeof self=="object"&&self&&self.Object===Object&&self,Lwe=Awe||xwe||Function("return this")(),Pwe=Object.prototype.toString,$we=Math.max,jwe=Math.min,pE=function(){return Lwe.Date.now()};function w5(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Q$(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&Pwe.call(r)=="[object Symbol]"}(e))return NaN;if(w5(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=w5(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(Cwe,"");var n=_we.test(e);return n||Owe.test(e)?Dwe(e.slice(2),n?2:8):Swe.test(e)?NaN:+e}var rc,Twe=function(e,t,n){var r,o,a,i,s,u,l=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError("Expected a function");function p(b){var w=r,k=o;return r=o=void 0,l=b,i=e.apply(k,w)}function m(b){return l=b,s=setTimeout(g,t),c?p(b):i}function y(b){var w=b-u;return u===void 0||w>=t||w<0||f&&b-l>=a}function g(){var b=pE();if(y(b))return v(b);s=setTimeout(g,function(w){var k=t-(w-u);return f?jwe(k,a-(w-l)):k}(b))}function v(b){return s=void 0,d&&r?p(b):(r=o=void 0,i)}function h(){var b=pE(),w=y(b);if(r=arguments,o=this,u=b,w){if(s===void 0)return m(u);if(f)return s=setTimeout(g,t),p(u)}return s===void 0&&(s=setTimeout(g,t)),i}return t=Q$(t)||0,w5(n)&&(c=!!n.leading,a=(f="maxWait"in n)?$we(Q$(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),h.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=u=o=s=void 0},h.flush=function(){return s===void 0?i:v(pE())},h},Iwe=Tl(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",a="[object Boolean]",i="[object Date]",s="[object Function]",u="[object GeneratorFunction]",l="[object Map]",c="[object Number]",f="[object Object]",d="[object Promise]",p="[object RegExp]",m="[object Set]",y="[object String]",g="[object Symbol]",v="[object WeakMap]",h="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",k="[object Float64Array]",C="[object Int8Array]",E="[object Int16Array]",D="[object Int32Array]",A="[object Uint8Array]",B="[object Uint8ClampedArray]",q="[object Uint16Array]",R="[object Uint32Array]",ie=/\w*$/,K=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,F={};F[o]=F["[object Array]"]=F[h]=F[b]=F[a]=F[i]=F[w]=F[k]=F[C]=F[E]=F[D]=F[l]=F[c]=F[f]=F[p]=F[m]=F[y]=F[g]=F[A]=F[B]=F[q]=F[R]=!0,F["[object Error]"]=F[s]=F[v]=!1;var U=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,Y=typeof self=="object"&&self&&self.Object===Object&&self,I=U||Y||Function("return this")(),j=t&&!t.nodeType&&t,_=j&&e&&!e.nodeType&&e,O=_&&_.exports===j;function L(z,ue){return z.set(ue[0],ue[1]),z}function M(z,ue){return z.add(ue),z}function J(z,ue,_e,Pe){var ut=-1,Wt=z?z.length:0;for(Pe;++ut<Wt;)_e=ue(_e,z[ut],ut,z);return _e}function W(z){var ue=!1;if(z!=null&&typeof z.toString!="function")try{ue=!!(z+"")}catch{}return ue}function he(z){var ue=-1,_e=Array(z.size);return z.forEach(function(Pe,ut){_e[++ue]=[ut,Pe]}),_e}function Ee(z,ue){return function(_e){return z(ue(_e))}}function De(z){var ue=-1,_e=Array(z.size);return z.forEach(function(Pe){_e[++ue]=Pe}),_e}var Ae=Array.prototype,pe=Function.prototype,Ve=Object.prototype,Ne=I["__core-js_shared__"],xe=function(){var z=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return z?"Symbol(src)_1."+z:""}(),Be=pe.toString,$t=Ve.hasOwnProperty,tt=Ve.toString,$=RegExp("^"+Be.call($t).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=O?I.Buffer:void 0,ge=I.Symbol,me=I.Uint8Array,lt=Ee(Object.getPrototypeOf,Object),Fe=Object.create,ne=Ve.propertyIsEnumerable,ve=Ae.splice,dt=Object.getOwnPropertySymbols,bt=N?N.isBuffer:void 0,Bn=Ee(Object.keys,Object),br=Jo(I,"DataView"),en=Jo(I,"Map"),Fn=Jo(I,"Promise"),Gn=Jo(I,"Set"),cr=Jo(I,"WeakMap"),Rn=Jo(Object,"create"),Qr=Xo(br),fd=Xo(en),ka=Xo(Fn),Ni=Xo(Gn),Gl=Xo(cr),Qs=ge?ge.prototype:void 0,Zl=Qs?Qs.valueOf:void 0;function So(z){var ue=-1,_e=z?z.length:0;for(this.clear();++ue<_e;){var Pe=z[ue];this.set(Pe[0],Pe[1])}}function eo(z){var ue=-1,_e=z?z.length:0;for(this.clear();++ue<_e;){var Pe=z[ue];this.set(Pe[0],Pe[1])}}function Bi(z){var ue=-1,_e=z?z.length:0;for(this.clear();++ue<_e;){var Pe=z[ue];this.set(Pe[0],Pe[1])}}function _o(z){this.__data__=new eo(z)}function Ea(z,ue){var _e=H(z)||function(Bt){return function(pt){return function(xn){return!!xn&&typeof xn=="object"}(pt)&&Q(pt)}(Bt)&&$t.call(Bt,"callee")&&(!ne.call(Bt,"callee")||tt.call(Bt)==o)}(z)?function(Bt,pt){for(var xn=-1,Xn=Array(Bt);++xn<Bt;)Xn[xn]=pt(xn);return Xn}(z.length,String):[],Pe=_e.length,ut=!!Pe;for(var Wt in z)!$t.call(z,Wt)||ut&&(Wt=="length"||Ov(Wt,Pe))||_e.push(Wt);return _e}function Sv(z,ue,_e){var Pe=z[ue];$t.call(z,ue)&&Dv(Pe,_e)&&(_e!==void 0||ue in z)||(z[ue]=_e)}function Ir(z,ue){for(var _e=z.length;_e--;)if(Dv(z[_e][0],ue))return _e;return-1}function dd(z,ue,_e,Pe,ut,Wt,Bt){var pt;if(Pe&&(pt=Wt?Pe(z,ut,Wt,Bt):Pe(z)),pt!==void 0)return pt;if(!_t(z))return z;var xn=H(z);if(xn){if(pt=function(Me){var wt=Me.length,un=Me.constructor(wt);return wt&&typeof Me[0]=="string"&&$t.call(Me,"index")&&(un.index=Me.index,un.input=Me.input),un}(z),!ue)return function(Me,wt){var un=-1,it=Me.length;for(wt||(wt=Array(it));++un<it;)wt[un]=Me[un];return wt}(z,pt)}else{var Xn=Ko(z),eu=Xn==s||Xn==u;if(be(z))return function(Me,wt){if(wt)return Me.slice();var un=new Me.constructor(Me.length);return Me.copy(un),un}(z,ue);if(Xn==f||Xn==o||eu&&!Wt){if(W(z))return Wt?z:{};if(pt=function(Me){return typeof Me.constructor!="function"||Ca(Me)?{}:(wt=lt(Me),_t(wt)?Fe(wt):{});var wt}(eu?{}:z),!ue)return function(Me,wt){return _v(Me,pd(Me),wt)}(z,function(Me,wt){return Me&&_v(wt,nt(wt),Me)}(pt,z))}else{if(!F[Xn])return Wt?z:{};pt=function(Me,wt,un,it){var ht=Me.constructor;switch(wt){case h:return Yl(Me);case a:case i:return new ht(+Me);case b:return function(gt,nn){var fr=nn?Yl(gt.buffer):gt.buffer;return new gt.constructor(fr,gt.byteOffset,gt.byteLength)}(Me,it);case w:case k:case C:case E:case D:case A:case B:case q:case R:return function(gt,nn){var fr=nn?Yl(gt.buffer):gt.buffer;return new gt.constructor(fr,gt.byteOffset,gt.length)}(Me,it);case l:return function(gt,nn,fr){return J(nn?fr(he(gt),!0):he(gt),L,new gt.constructor)}(Me,it,un);case c:case y:return new ht(Me);case p:return function(gt){var nn=new gt.constructor(gt.source,ie.exec(gt));return nn.lastIndex=gt.lastIndex,nn}(Me);case m:return function(gt,nn,fr){return J(nn?fr(De(gt),!0):De(gt),M,new gt.constructor)}(Me,it,un);case g:return function(gt){return Zl?Object(Zl.call(gt)):{}}(Me)}}(z,Xn,dd,ue)}}Bt||(Bt=new _o);var Mi=Bt.get(z);if(Mi)return Mi;if(Bt.set(z,pt),!xn)var Sa=_e?function(Me){return function(wt,un,it){var ht=un(wt);return H(wt)?ht:function(gt,nn){for(var fr=-1,wr=nn.length,Oo=gt.length;++fr<wr;)gt[Oo+fr]=nn[fr];return gt}(ht,it(wt))}(Me,nt,pd)}(z):nt(z);return function(Me,wt){for(var un=-1,it=Me?Me.length:0;++un<it&&wt(Me[un],un,Me)!==!1;);}(Sa||z,function(Me,wt){Sa&&(Me=z[wt=Me]),Sv(pt,wt,dd(Me,ue,_e,Pe,wt,z,Bt))}),pt}function Fi(z){return!(!_t(z)||function(ue){return!!xe&&xe in ue}(z))&&(Ie(z)||W(z)?$:K).test(Xo(z))}function Yl(z){var ue=new z.constructor(z.byteLength);return new me(ue).set(new me(z)),ue}function _v(z,ue,_e,Pe){_e||(_e={});for(var ut=-1,Wt=ue.length;++ut<Wt;){var Bt=ue[ut],pt=void 0;Sv(_e,Bt,pt===void 0?z[Bt]:pt)}return _e}function Ri(z,ue){var _e,Pe,ut=z.__data__;return((Pe=typeof(_e=ue))=="string"||Pe=="number"||Pe=="symbol"||Pe=="boolean"?_e!=="__proto__":_e===null)?ut[typeof ue=="string"?"string":"hash"]:ut.map}function Jo(z,ue){var _e=function(Pe,ut){return Pe==null?void 0:Pe[ut]}(z,ue);return Fi(_e)?_e:void 0}So.prototype.clear=function(){this.__data__=Rn?Rn(null):{}},So.prototype.delete=function(z){return this.has(z)&&delete this.__data__[z]},So.prototype.get=function(z){var ue=this.__data__;if(Rn){var _e=ue[z];return _e===n?void 0:_e}return $t.call(ue,z)?ue[z]:void 0},So.prototype.has=function(z){var ue=this.__data__;return Rn?ue[z]!==void 0:$t.call(ue,z)},So.prototype.set=function(z,ue){return this.__data__[z]=Rn&&ue===void 0?n:ue,this},eo.prototype.clear=function(){this.__data__=[]},eo.prototype.delete=function(z){var ue=this.__data__,_e=Ir(ue,z);return!(_e<0)&&(_e==ue.length-1?ue.pop():ve.call(ue,_e,1),!0)},eo.prototype.get=function(z){var ue=this.__data__,_e=Ir(ue,z);return _e<0?void 0:ue[_e][1]},eo.prototype.has=function(z){return Ir(this.__data__,z)>-1},eo.prototype.set=function(z,ue){var _e=this.__data__,Pe=Ir(_e,z);return Pe<0?_e.push([z,ue]):_e[Pe][1]=ue,this},Bi.prototype.clear=function(){this.__data__={hash:new So,map:new(en||eo),string:new So}},Bi.prototype.delete=function(z){return Ri(this,z).delete(z)},Bi.prototype.get=function(z){return Ri(this,z).get(z)},Bi.prototype.has=function(z){return Ri(this,z).has(z)},Bi.prototype.set=function(z,ue){return Ri(this,z).set(z,ue),this},_o.prototype.clear=function(){this.__data__=new eo},_o.prototype.delete=function(z){return this.__data__.delete(z)},_o.prototype.get=function(z){return this.__data__.get(z)},_o.prototype.has=function(z){return this.__data__.has(z)},_o.prototype.set=function(z,ue){var _e=this.__data__;if(_e instanceof eo){var Pe=_e.__data__;if(!en||Pe.length<199)return Pe.push([z,ue]),this;_e=this.__data__=new Bi(Pe)}return _e.set(z,ue),this};var pd=dt?Ee(dt,Object):function(){return[]},Ko=function(z){return tt.call(z)};function Ov(z,ue){return!!(ue=ue??r)&&(typeof z=="number"||te.test(z))&&z>-1&&z%1==0&&z<ue}function Ca(z){var ue=z&&z.constructor;return z===(typeof ue=="function"&&ue.prototype||Ve)}function Xo(z){if(z!=null){try{return Be.call(z)}catch{}try{return z+""}catch{}}return""}function Dv(z,ue){return z===ue||z!=z&&ue!=ue}(br&&Ko(new br(new ArrayBuffer(1)))!=b||en&&Ko(new en)!=l||Fn&&Ko(Fn.resolve())!=d||Gn&&Ko(new Gn)!=m||cr&&Ko(new cr)!=v)&&(Ko=function(z){var ue=tt.call(z),_e=ue==f?z.constructor:void 0,Pe=_e?Xo(_e):void 0;if(Pe)switch(Pe){case Qr:return b;case fd:return l;case ka:return d;case Ni:return m;case Gl:return v}return ue});var H=Array.isArray;function Q(z){return z!=null&&function(ue){return typeof ue=="number"&&ue>-1&&ue%1==0&&ue<=r}(z.length)&&!Ie(z)}var be=bt||function(){return!1};function Ie(z){var ue=_t(z)?tt.call(z):"";return ue==s||ue==u}function _t(z){var ue=typeof z;return!!z&&(ue=="object"||ue=="function")}function nt(z){return Q(z)?Ea(z):function(ue){if(!Ca(ue))return Bn(ue);var _e=[];for(var Pe in Object(ue))$t.call(ue,Pe)&&Pe!="constructor"&&_e.push(Pe);return _e}(z)}e.exports=function(z){return dd(z,!0,!0)}});function ej(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var Nwe=0;function Bwe(e){return"__private_"+Nwe+++"_"+e}function Fwe(e,t,n){const r=[];return e.forEach(o=>typeof o!="string"?r.push(o):t[Symbol.split](o).forEach((a,i,s)=>{a!==""&&r.push(a),i<s.length-1&&r.push(n)})),r}/**
- * Takes a string with placeholder variables like `%{smart_count} file selected`
- * and replaces it with values from options `{smart_count: 5}`
- *
- * @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
- * taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
- *
- * @param {string} phrase that needs interpolation, with placeholders
- * @param {object} options with values that will be used to replace placeholders
- * @returns {any[]} interpolated
- */function tj(e,t){const n=/\$/g;let r=[e];if(t==null)return r;for(const o of Object.keys(t))if(o!=="_"){let a=t[o];typeof a=="string"&&(a=n[Symbol.replace](a,"$$$$")),r=Fwe(r,new RegExp(`%\\{${o}\\}`,"g"),a)}return r}var TW=(rc=Bwe("apply"),class{constructor(e){Object.defineProperty(this,rc,{value:Rwe}),this.locale={strings:{},pluralize:t=>t===1?0:1},Array.isArray(e)?e.forEach(ej(this,rc)[rc],this):ej(this,rc)[rc](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!function(r,o){return Object.prototype.hasOwnProperty.call(r,o)}(this.locale.strings,e))throw new Error(`missing string: ${e}`);const n=this.locale.strings[e];if(typeof n=="object"){if(t&&t.smart_count!==void 0)return tj(n[this.locale.pluralize(t.smart_count)],t);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return tj(n,t)}});function Rwe(e){if(e==null||!e.strings)return;const t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}var IW=function(){var e={},t=e._fns={};return e.emit=function(n,r,o,a,i,s,u){var l=function(c){for(var f=t[c]?t[c]:[],d=c.indexOf(":"),p=d===-1?[c]:[c.substring(0,d),c.substring(d+1)],m=Object.keys(t),y=0,g=m.length;y<g;y++){var v=m[y];if(v==="*"&&(f=f.concat(t[v])),p.length===2&&p[0]===v){f=f.concat(t[v]);break}}return f}(n);l.length&&function(c,f,d){for(var p=0,m=f.length;p<m&&f[p];p++)f[p].event=c,f[p].apply(f[p],d)}(n,l,[r,o,a,i,s,u])},e.on=function(n,r){t[n]||(t[n]=[]),t[n].push(r)},e.once=function(n,r){this.on(n,function o(){r.apply(this,arguments),e.off(n,o)})},e.off=function(n,r){var o=[];if(n&&r)for(var a=this._fns[n],i=0,s=a?a.length:0;i<s;i++)a[i]!==r&&o.push(a[i]);o.length?this._fns[n]=o:delete this._fns[n]},e},Mwe={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t}},hE=function(e){if(typeof e!="number"||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var o=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function NW(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}NW.prototype.match=function(e){var t,n,r=!0,o=this.parts,a=o.length;if(typeof e=="string"||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<a;t++)o[t]!=="*"&&(r=t<n.length&&o[t]===n[t]);r=r&&n}else r=!1;else if(typeof e.splice=="function")for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if(typeof e=="object")for(var i in r={},e)this.match(i)&&(r[i]=e[i]);return r};var zwe=/[\/\+\.]/,Uwe=function(e,t){function n(r){var o=function(a,i,s){var u=new NW(a,s||/[\/\.]/);return i!==void 0?u.match(i):u}(r,e,zwe);return o&&o.length>=2}return t?n(t.split(";")[0]):n},Hwe=0;function Wwe(e){return"__private_"+Hwe+++"_"+e}var gE=Wwe("publish");class BW{constructor(){Object.defineProperty(this,gE,{value:Vwe}),this.state={},this.callbacks=[]}getState(){return this.state}setState(t){const n={...this.state},r={...this.state,...t};this.state=r,function(o,a){if(!Object.prototype.hasOwnProperty.call(o,a))throw new TypeError("attempted to use private field on non-instance");return o}(this,gE)[gE](n,r,t)}subscribe(t){return this.callbacks.push(t),()=>{this.callbacks.splice(this.callbacks.indexOf(t),1)}}}function Vwe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach(r=>{r(...t)})}BW.VERSION="2.0.3";var nj=function(e){const t=e.lastIndexOf(".");return t===-1||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}},rj={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function oj(e){let t="";return e.replace(/[^A-Z0-9]/gi,n=>(t+=`-${function(r){return r.charCodeAt(0).toString(32)}(n)}`,"/"))+t}var qwe=function(e){if(e==null&&(e=typeof navigator<"u"?navigator.userAgent:null),!e)return!0;const t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;const n=t[1];let[r,o]=n.split(".");return r=parseInt(r,10),o=parseInt(o,10),r<15||r===15&&o<15063||r>18||r===18&&o>=18218};function vE(e){return e<10?`0${e}`:e.toString()}var Jv=function(){const e=new Date;return`${vE(e.getHours())}:${vE(e.getMinutes())}:${vE(e.getSeconds())}`},FW={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Jv()}]`,...t)}},debugLogger:{debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${Jv()}]`,...t)},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${Jv()}]`,...t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Jv()}]`,...t)}}},Gwe={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}},RW=Mwe;let MW,zW;function je(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var Zwe=0;function An(e){return"__private_"+Zwe+++"_"+e}const{nanoid:Ywe}=RW,{justErrorsLogger:Jwe,debugLogger:Kwe}=FW;class li extends Error{constructor(){super(...arguments),this.isRestriction=!0}}typeof AggregateError>"u"&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});class Xwe extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var Zn=An("plugins"),Od=An("storeUnsubscribe"),Ui=An("emitter"),Su=An("preProcessors"),_u=An("uploaders"),Ji=An("postProcessors"),th=An("checkRestrictions"),mE=An("checkMinNumberOfFiles"),Nh=An("checkRequiredMetaFieldsOnFile"),yE=An("checkRequiredMetaFields"),Pn=An("showOrLogErrorAndThrow"),Dd=An("assertNewUploadAllowed"),Ad=An("checkAndCreateFileStateObject"),xd=An("startIfAutoProceed"),bE=An("addListeners"),Lo=An("updateOnlineStatus"),Hi=An("createUpload"),wE=An("getUpload"),Lu=An("removeUpload"),Wi=An("runUpload");MW=Symbol.for("uppy test: getPlugins"),zW=Symbol.for("uppy test: createUpload");class UW{constructor(t){Object.defineProperty(this,Wi,{value:f4e}),Object.defineProperty(this,Lu,{value:c4e}),Object.defineProperty(this,wE,{value:l4e}),Object.defineProperty(this,Hi,{value:u4e}),Object.defineProperty(this,bE,{value:s4e}),Object.defineProperty(this,xd,{value:a4e}),Object.defineProperty(this,Ad,{value:i4e}),Object.defineProperty(this,Dd,{value:o4e}),Object.defineProperty(this,Pn,{value:r4e}),Object.defineProperty(this,yE,{value:n4e}),Object.defineProperty(this,Nh,{value:t4e}),Object.defineProperty(this,mE,{value:e4e}),Object.defineProperty(this,th,{value:Qwe}),Object.defineProperty(this,Zn,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,Od,{writable:!0,value:void 0}),Object.defineProperty(this,Ui,{writable:!0,value:IW()}),Object.defineProperty(this,Su,{writable:!0,value:new Set}),Object.defineProperty(this,_u,{writable:!0,value:new Set}),Object.defineProperty(this,Ji,{writable:!0,value:new Set}),Object.defineProperty(this,Lo,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=Gwe;const n={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:r=>r,onBeforeUpload:r=>r,store:new BW,logger:Jwe,infoTimeout:5e3};if(this.opts={...n,...t,restrictions:{...n.restrictions,...t&&t.restrictions}},t&&t.logger&&t.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):t&&t.debug&&(this.opts.logger=Kwe),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&this.opts.restrictions.allowedFileTypes!==null&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=bl(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:qwe(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),je(this,Od)[Od]=this.store.subscribe((r,o,a)=>{this.emit("state-update",r,o,a),this.updateAll(o)}),this.opts.debug&&typeof window<"u"&&(window[this.opts.id]=this),je(this,bE)[bE]()}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];je(this,Ui)[Ui].emit(t,...r)}on(t,n){return je(this,Ui)[Ui].on(t,n),this}once(t,n){return je(this,Ui)[Ui].once(t,n),this}off(t,n){return je(this,Ui)[Ui].off(t,n),this}updateAll(t){this.iteratePlugins(n=>{n.update(t)})}setState(t){this.store.setState(t)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(t,n){if(!this.getState().files[t])throw new Error(`Can’t set state for ${t} (the file could have been removed)`);this.setState({files:{...this.getState().files,[t]:{...this.getState().files[t],...n}}})}i18nInit(){const t=new TW([this.defaultLocale,this.opts.locale]);this.i18n=t.translate.bind(t),this.i18nArray=t.translateArray.bind(t),this.locale=t.locale}setOptions(t){this.opts={...this.opts,...t,restrictions:{...this.opts.restrictions,...t&&t.restrictions}},t.meta&&this.setMeta(t.meta),this.i18nInit(),t.locale&&this.iteratePlugins(n=>{n.setOptions()}),this.setState()}resetProgress(){const t={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},n={...this.getState().files},r={};Object.keys(n).forEach(o=>{const a={...n[o]};a.progress={...a.progress,...t},r[o]=a}),this.setState({files:r,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(t){je(this,Su)[Su].add(t)}removePreProcessor(t){return je(this,Su)[Su].delete(t)}addPostProcessor(t){je(this,Ji)[Ji].add(t)}removePostProcessor(t){return je(this,Ji)[Ji].delete(t)}addUploader(t){je(this,_u)[_u].add(t)}removeUploader(t){return je(this,_u)[_u].delete(t)}setMeta(t){const n={...this.getState().meta,...t},r={...this.getState().files};Object.keys(r).forEach(o=>{r[o]={...r[o],meta:{...r[o].meta,...t}}}),this.log("Adding metadata:"),this.log(t),this.setState({meta:n,files:r})}setFileMeta(t,n){const r={...this.getState().files};if(!r[t])return void this.log("Was trying to set metadata for a file that has been removed: ",t);const o={...r[t].meta,...n};r[t]={...r[t],meta:o},this.setState({files:r})}getFile(t){return this.getState().files[t]}getFiles(){const{files:t}=this.getState();return Object.values(t)}getObjectOfFilesPerState(){const{files:t,totalProgress:n,error:r}=this.getState(),o=Object.values(t),a=o.filter(m=>{let{progress:y}=m;return!y.uploadComplete&&y.uploadStarted}),i=o.filter(m=>!m.progress.uploadStarted),s=o.filter(m=>m.progress.uploadStarted||m.progress.preprocess||m.progress.postprocess),u=o.filter(m=>m.progress.uploadStarted),l=o.filter(m=>m.isPaused),c=o.filter(m=>m.progress.uploadComplete),f=o.filter(m=>m.error),d=a.filter(m=>!m.isPaused),p=o.filter(m=>m.progress.preprocess||m.progress.postprocess);return{newFiles:i,startedFiles:s,uploadStartedFiles:u,pausedFiles:l,completeFiles:c,erroredFiles:f,inProgressFiles:a,inProgressNotPausedFiles:d,processingFiles:p,isUploadStarted:u.length>0,isAllComplete:n===100&&c.length===o.length&&p.length===0,isAllErrored:!!r&&f.length===o.length,isAllPaused:a.length!==0&&l.length===a.length,isUploadInProgress:a.length>0,isSomeGhost:o.some(m=>m.isGhost)}}validateRestrictions(t,n){try{return je(this,th)[th](t,n),{result:!0}}catch(r){return{result:!1,reason:r.message}}}checkIfFileAlreadyExists(t){const{files:n}=this.getState();return!(!n[t]||n[t].isGhost)}addFile(t){je(this,Dd)[Dd](t);const{files:n}=this.getState();let r=je(this,Ad)[Ad](n,t);return n[r.id]&&n[r.id].isGhost&&(r={...n[r.id],data:t.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${r.name}, ${r.id}`)),this.setState({files:{...n,[r.id]:r}}),this.emit("file-added",r),this.emit("files-added",[r]),this.log(`Added file: ${r.name}, ${r.id}, mime type: ${r.type}`),je(this,xd)[xd](),r.id}addFiles(t){je(this,Dd)[Dd]();const n={...this.getState().files},r=[],o=[];for(let a=0;a<t.length;a++)try{let i=je(this,Ad)[Ad](n,t[a]);n[i.id]&&n[i.id].isGhost&&(i={...n[i.id],data:t[a].data,isGhost:!1},this.log(`Replaced blob in a ghost file: ${i.name}, ${i.id}`)),n[i.id]=i,r.push(i)}catch(i){i.isRestriction||o.push(i)}if(this.setState({files:n}),r.forEach(a=>{this.emit("file-added",a)}),this.emit("files-added",r),r.length>5?this.log(`Added batch of ${r.length} files`):Object.keys(r).forEach(a=>{this.log(`Added file: ${r[a].name}
- id: ${r[a].id}
- type: ${r[a].type}`)}),r.length>0&&je(this,xd)[xd](),o.length>0){let a=`Multiple errors occurred while adding files:
- `;if(o.forEach(i=>{a+=`
- * ${i.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:o.length}),details:a},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(o,a);{const i=new Error(a);throw i.errors=o,i}}}removeFiles(t,n){const{files:r,currentUploads:o}=this.getState(),a={...r},i={...o},s=Object.create(null);function u(f){return s[f]===void 0}t.forEach(f=>{r[f]&&(s[f]=r[f],delete a[f])}),Object.keys(i).forEach(f=>{const d=o[f].fileIDs.filter(u);d.length!==0?i[f]={...o[f],fileIDs:d}:delete i[f]});const l={currentUploads:i,files:a};Object.keys(a).length===0&&(l.allowNewUpload=!0,l.error=null,l.recoveredState=null),this.setState(l),this.calculateTotalProgress();const c=Object.keys(s);c.forEach(f=>{this.emit("file-removed",s[f],n)}),c.length>5?this.log(`Removed ${c.length} files`):this.log(`Removed files: ${c.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 n=!this.getFile(t).isPaused;return this.setFileState(t,{isPaused:n}),this.emit("upload-pause",t,n),n}pauseAll(){const t={...this.getState().files};Object.keys(t).filter(n=>!t[n].progress.uploadComplete&&t[n].progress.uploadStarted).forEach(n=>{const r={...t[n],isPaused:!0};t[n]=r}),this.setState({files:t}),this.emit("pause-all")}resumeAll(){const t={...this.getState().files};Object.keys(t).filter(n=>!t[n].progress.uploadComplete&&t[n].progress.uploadStarted).forEach(n=>{const r={...t[n],isPaused:!1,error:null};t[n]=r}),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 a={...t[o],isPaused:!1,error:null};t[o]=a}),this.setState({files:t,error:null}),this.emit("retry-all",n),n.length===0)return Promise.resolve({successful:[],failed:[]});const r=je(this,Hi)[Hi](n,{forceAllowNewUpload:!0});return je(this,Wi)[Wi](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=je(this,Hi)[Hi]([t],{forceAllowNewUpload:!0});return je(this,Wi)[Wi](n)}reset(){this.cancelAll()}logout(){this.iteratePlugins(t=>{t.provider&&t.provider.logout&&t.provider.logout()})}calculateProgress(t,n){if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);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 t=this.getFiles().filter(u=>u.progress.uploadStarted||u.progress.preprocess||u.progress.postprocess);if(t.length===0)return this.emit("progress",0),void this.setState({totalProgress:0});const n=t.filter(u=>u.progress.bytesTotal!=null),r=t.filter(u=>u.progress.bytesTotal==null);if(n.length===0){const u=100*t.length,l=r.reduce((f,d)=>f+d.progress.percentage,0),c=Math.round(l/u*100);return void this.setState({totalProgress:c})}let o=n.reduce((u,l)=>u+l.progress.bytesTotal,0);const a=o/n.length;o+=a*r.length;let i=0;n.forEach(u=>{i+=u.progress.bytesUploaded}),r.forEach(u=>{i+=a*(u.progress.percentage||0)/100});let s=o===0?0:Math.round(i/o*100);s>100&&(s=100),this.setState({totalProgress:s}),this.emit("progress",s)}updateOnlineStatus(){window.navigator.onLine===void 0||window.navigator.onLine?(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")throw new TypeError(`Expected a plugin class, but got ${t===null?"null":typeof t}. Please verify that the plugin was imported and spelled correctly.`);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 a=this.getPlugin(o);if(a){const i=`Already found a plugin named '${a.id}'. Tried to use: '${o}'.
- Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(i)}return t.VERSION&&this.log(`Using ${o} v${t.VERSION}`),r.type in je(this,Zn)[Zn]?je(this,Zn)[Zn][r.type].push(r):je(this,Zn)[Zn][r.type]=[r],r.install(),this}getPlugin(t){for(const n of Object.values(je(this,Zn)[Zn])){const r=n.find(o=>o.id===t);if(r!=null)return r}}[MW](t){return je(this,Zn)[Zn][t]}iteratePlugins(t){Object.values(je(this,Zn)[Zn]).flat(1).forEach(t)}removePlugin(t){this.log(`Removing plugin ${t.id}`),this.emit("plugin-remove",t),t.uninstall&&t.uninstall();const n=je(this,Zn)[Zn][t.type],r=n.findIndex(a=>a.id===t.id);r!==-1&&n.splice(r,1);const o={plugins:{...this.getState().plugins,[t.id]:void 0}};this.setState(o)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),je(this,Od)[Od](),this.iteratePlugins(t=>{this.removePlugin(t)}),typeof window<"u"&&window.removeEventListener&&(window.removeEventListener("online",je(this,Lo)[Lo]),window.removeEventListener("offline",je(this,Lo)[Lo]))}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)}}restore(t){return this.log(`Core: attempting to restore upload "${t}"`),this.getState().currentUploads[t]?je(this,Wi)[Wi](t):(je(this,Lu)[Lu](t),Promise.reject(new Error("Nonexistent upload")))}[zW](){return je(this,Hi)[Hi](...arguments)}addResultData(t,n){if(!je(this,wE)[wE](t))return void this.log(`Not setting result for an upload that has been removed: ${t}`);const{currentUploads:r}=this.getState(),o={...r[t],result:{...r[t].result,...n}};this.setState({currentUploads:{...r,[t]:o}})}upload(){var t;(t=je(this,Zn)[Zn].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(()=>{je(this,mE)[mE](n),je(this,yE)[yE](n)}).catch(o=>{je(this,Pn)[Pn](o)}).then(()=>{const{currentUploads:o}=this.getState(),a=Object.values(o).flatMap(u=>u.fileIDs),i=[];Object.keys(n).forEach(u=>{const l=this.getFile(u);l.progress.uploadStarted||a.indexOf(u)!==-1||i.push(l.id)});const s=je(this,Hi)[Hi](i);return je(this,Wi)[Wi](s)}).catch(o=>{je(this,Pn)[Pn](o,{showInformer:!1})}))}}function Qwe(e,t){t===void 0&&(t=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:a,allowedFileTypes:i}=this.opts.restrictions;if(a&&t.length+1>a)throw new li(`${this.i18n("youCanOnlyUploadX",{smart_count:a})}`);if(i&&!i.some(s=>s.indexOf("/")>-1?!!e.type&&Uwe(e.type.replace(/;.*?$/,""),s):!(s[0]!=="."||!e.extension)&&e.extension.toLowerCase()===s.substr(1).toLowerCase())){const s=i.join(", ");throw new li(this.i18n("youCanOnlyUploadFileTypes",{types:s}))}if(o&&e.size!=null){let s=0;if(s+=e.size,t.forEach(u=>{s+=u.size}),s>o)throw new li(this.i18n("exceedsSize",{size:hE(o),file:e.name}))}if(n&&e.size!=null&&e.size>n)throw new li(this.i18n("exceedsSize",{size:hE(n),file:e.name}));if(r&&e.size!=null&&e.size<r)throw new li(this.i18n("inferiorSize",{size:hE(r)}))}function e4e(e){const{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new li(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function t4e(e){const{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let a=0;a<t.length;a++)if(!n.call(e.meta,t[a])||e.meta[t[a]]===""){const i=new li(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(i),o.push(t[a]),je(this,Pn)[Pn](i,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:o}),r}function n4e(e){const t=Object.keys(e).flatMap(n=>{const r=this.getFile(n);return je(this,Nh)[Nh](r)});if(t.length)throw new Xwe(t,`${this.i18n("missingRequiredMetaField")}`)}function r4e(e,t){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=t===void 0?{}:t;const a=typeof e=="object"?e.message:e,i=typeof e=="object"&&e.details?e.details:"";let s=a;if(i&&(s+=` ${i}`),e.isRestriction?(this.log(s),this.emit("restriction-failed",r,e)):this.log(s,"error"),n&&this.info({message:a,details:i},"error",this.opts.infoTimeout),o)throw typeof e=="object"?e:new Error(e)}function o4e(e){const{allowNewUpload:t}=this.getState();t===!1&&je(this,Pn)[Pn](new li(this.i18n("noMoreFilesAllowed")),{file:e})}function i4e(e,t){const n=function(f){var d;if(f.type)return f.type;const p=f.name?(d=nj(f.name).extension)==null?void 0:d.toLowerCase():null;return p&&p in rj?rj[p]:"application/octet-stream"}(t),r=function(f,d){return d.name?d.name:f.split("/")[0]==="image"?`${f.split("/")[0]}.${f.split("/")[1]}`:"noname"}(n,t),o=nj(r).extension,a=!!t.isRemote,i=function(f){let d="uppy";return typeof f.name=="string"&&(d+=`-${oj(f.name.toLowerCase())}`),f.type!==void 0&&(d+=`-${f.type}`),f.meta&&typeof f.meta.relativePath=="string"&&(d+=`-${oj(f.meta.relativePath.toLowerCase())}`),f.data.size!==void 0&&(d+=`-${f.data.size}`),f.data.lastModified!==void 0&&(d+=`-${f.data.lastModified}`),d}({...t,type:n});if(this.checkIfFileAlreadyExists(i)){const f=new li(this.i18n("noDuplicates",{fileName:r}));je(this,Pn)[Pn](f,{file:t})}const s=t.meta||{};s.name=r,s.type=n;const u=Number.isFinite(t.data.size)?t.data.size:null;let l={source:t.source||"",id:i,name:r,extension:o||"",meta:{...this.getState().meta,...s},type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:u,uploadComplete:!1,uploadStarted:null},size:u,isRemote:a,remote:t.remote||"",preview:t.preview};const c=this.opts.onBeforeFileAdded(l,e);c===!1?je(this,Pn)[Pn](new li("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):typeof c=="object"&&c!==null&&(l=c);try{const f=Object.keys(e).map(d=>e[d]);je(this,th)[th](l,f)}catch(f){je(this,Pn)[Pn](f,{file:l})}return l}function a4e(){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 s4e(){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}),je(this,Pn)[Pn](o,{throwErr:!1})}else je(this,Pn)[Pn](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",t=>{this.getFile(t.id)?this.setFileState(t.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:t.size}}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(t,n)=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const r=this.getFile(t.id).progress;this.setFileState(t.id,{progress:{...r,postprocess:je(this,Ji)[Ji].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)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:{...this.getFile(t.id).progress,preprocess:n}}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("preprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);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)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:{...this.getState().files[t.id].progress,postprocess:n}}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("postprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);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&&je(this,Nh)[Nh](t)}),typeof window<"u"&&window.addEventListener&&(window.addEventListener("online",je(this,Lo)[Lo]),window.addEventListener("offline",je(this,Lo)[Lo]),setTimeout(je(this,Lo)[Lo],3e3))}function u4e(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 a=Ywe();return this.emit("upload",{id:a,fileIDs:e}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:{...o,[a]:{fileIDs:e,step:0,result:{}}}}),a}function l4e(e){const{currentUploads:t}=this.getState();return t[e]}function c4e(e){const t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function f4e(e){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,o=[...je(this,Su)[Su],...je(this,_u)[_u],...je(this,Ji)[Ji]];try{for(let i=r;i<o.length&&n;i++){const s=o[i],u={...n,step:i};this.setState({currentUploads:{...t,[e]:u}}),await s(u.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(i){throw this.emit("error",i),je(this,Lu)[Lu](e),i}if(n){n.fileIDs.forEach(l=>{const c=this.getFile(l);c&&c.progress.postprocess&&this.emit("postprocess-complete",c)});const i=n.fileIDs.map(l=>this.getFile(l)),s=i.filter(l=>!l.error),u=i.filter(l=>l.error);await this.addResultData(e,{successful:s,failed:u,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let a;return n&&(a=n.result,this.emit("complete",a),je(this,Lu)[Lu](e)),a==null&&this.log(`Not setting result for an upload that has been removed: ${e}`),a}UW.VERSION="2.1.3";var HW=UW,d4e=Tl(function(e,t){var n,r,o,a,i,s,u,l,c={},f=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(_,O){for(var L in O)_[L]=O[L];return _}function m(_){var O=_.parentNode;O&&O.removeChild(_)}function y(_,O,L){var M,J,W,he={};for(W in O)W=="key"?M=O[W]:W=="ref"?J=O[W]:he[W]=O[W];if(arguments.length>2&&(he.children=arguments.length>3?n.call(arguments,2):L),typeof _=="function"&&_.defaultProps!=null)for(W in _.defaultProps)he[W]===void 0&&(he[W]=_.defaultProps[W]);return g(_,he,M,J,null)}function g(_,O,L,M,J){var W={type:_,props:O,key:L,ref:M,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:J??++o};return J==null&&r.vnode!=null&&r.vnode(W),W}function v(_){return _.children}function h(_,O){this.props=_,this.context=O}function b(_,O){if(O==null)return _.__?b(_.__,_.__.__k.indexOf(_)+1):null;for(var L;O<_.__k.length;O++)if((L=_.__k[O])!=null&&L.__e!=null)return L.__e;return typeof _.type=="function"?b(_):null}function w(_){var O,L;if((_=_.__)!=null&&_.__c!=null){for(_.__e=_.__c.base=null,O=0;O<_.__k.length;O++)if((L=_.__k[O])!=null&&L.__e!=null){_.__e=_.__c.base=L.__e;break}return w(_)}}function k(_){(!_.__d&&(_.__d=!0)&&i.push(_)&&!C.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||s)(C)}function C(){for(var _;C.__r=i.length;)_=i.sort(function(O,L){return O.__v.__b-L.__v.__b}),i=[],_.some(function(O){var L,M,J,W,he,Ee;O.__d&&(he=(W=(L=O).__v).__e,(Ee=L.__P)&&(M=[],(J=p({},W)).__v=W.__v+1,K(Ee,W,J,L.__n,Ee.ownerSVGElement!==void 0,W.__h!=null?[he]:null,M,he??b(W),W.__h),te(M,W),W.__e!=he&&w(W)))})}function E(_,O,L,M,J,W,he,Ee,De,Ae){var pe,Ve,Ne,xe,Be,$t,tt,$=M&&M.__k||f,N=$.length;for(L.__k=[],pe=0;pe<O.length;pe++)if((xe=L.__k[pe]=(xe=O[pe])==null||typeof xe=="boolean"?null:typeof xe=="string"||typeof xe=="number"||typeof xe=="bigint"?g(null,xe,null,null,xe):Array.isArray(xe)?g(v,{children:xe},null,null,null):xe.__b>0?g(xe.type,xe.props,xe.key,null,xe.__v):xe)!=null){if(xe.__=L,xe.__b=L.__b+1,(Ne=$[pe])===null||Ne&&xe.key==Ne.key&&xe.type===Ne.type)$[pe]=void 0;else for(Ve=0;Ve<N;Ve++){if((Ne=$[Ve])&&xe.key==Ne.key&&xe.type===Ne.type){$[Ve]=void 0;break}Ne=null}K(_,xe,Ne=Ne||c,J,W,he,Ee,De,Ae),Be=xe.__e,(Ve=xe.ref)&&Ne.ref!=Ve&&(tt||(tt=[]),Ne.ref&&tt.push(Ne.ref,null,xe),tt.push(Ve,xe.__c||Be,xe)),Be!=null?($t==null&&($t=Be),typeof xe.type=="function"&&xe.__k===Ne.__k?xe.__d=De=D(xe,De,_):De=A(_,xe,Ne,$,Be,De),typeof L.type=="function"&&(L.__d=De)):De&&Ne.__e==De&&De.parentNode!=_&&(De=b(Ne))}for(L.__e=$t,pe=N;pe--;)$[pe]!=null&&(typeof L.type=="function"&&$[pe].__e!=null&&$[pe].__e==L.__d&&(L.__d=b(M,pe+1)),Y($[pe],$[pe]));if(tt)for(pe=0;pe<tt.length;pe++)U(tt[pe],tt[++pe],tt[++pe])}function D(_,O,L){for(var M,J=_.__k,W=0;J&&W<J.length;W++)(M=J[W])&&(M.__=_,O=typeof M.type=="function"?D(M,O,L):A(L,M,M,J,M.__e,O));return O}function A(_,O,L,M,J,W){var he,Ee,De;if(O.__d!==void 0)he=O.__d,O.__d=void 0;else if(L==null||J!=W||J.parentNode==null)e:if(W==null||W.parentNode!==_)_.appendChild(J),he=null;else{for(Ee=W,De=0;(Ee=Ee.nextSibling)&&De<M.length;De+=2)if(Ee==J)break e;_.insertBefore(J,W),he=W}return he!==void 0?he:J.nextSibling}function B(_,O,L){O[0]==="-"?_.setProperty(O,L):_[O]=L==null?"":typeof L!="number"||d.test(O)?L:L+"px"}function q(_,O,L,M,J){var W;e:if(O==="style")if(typeof L=="string")_.style.cssText=L;else{if(typeof M=="string"&&(_.style.cssText=M=""),M)for(O in M)L&&O in L||B(_.style,O,"");if(L)for(O in L)M&&L[O]===M[O]||B(_.style,O,L[O])}else if(O[0]==="o"&&O[1]==="n")W=O!==(O=O.replace(/Capture$/,"")),O=O.toLowerCase()in _?O.toLowerCase().slice(2):O.slice(2),_.l||(_.l={}),_.l[O+W]=L,L?M||_.addEventListener(O,W?ie:R,W):_.removeEventListener(O,W?ie:R,W);else if(O!=="dangerouslySetInnerHTML"){if(J)O=O.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(O!=="href"&&O!=="list"&&O!=="form"&&O!=="tabIndex"&&O!=="download"&&O in _)try{_[O]=L??"";break e}catch{}typeof L=="function"||(L!=null&&(L!==!1||O[0]==="a"&&O[1]==="r")?_.setAttribute(O,L):_.removeAttribute(O))}}function R(_){this.l[_.type+!1](r.event?r.event(_):_)}function ie(_){this.l[_.type+!0](r.event?r.event(_):_)}function K(_,O,L,M,J,W,he,Ee,De){var Ae,pe,Ve,Ne,xe,Be,$t,tt,$,N,ge,me=O.type;if(O.constructor!==void 0)return null;L.__h!=null&&(De=L.__h,Ee=O.__e=L.__e,O.__h=null,W=[Ee]),(Ae=r.__b)&&Ae(O);try{e:if(typeof me=="function"){if(tt=O.props,$=(Ae=me.contextType)&&M[Ae.__c],N=Ae?$?$.props.value:Ae.__:M,L.__c?$t=(pe=O.__c=L.__c).__=pe.__E:("prototype"in me&&me.prototype.render?O.__c=pe=new me(tt,N):(O.__c=pe=new h(tt,N),pe.constructor=me,pe.render=I),$&&$.sub(pe),pe.props=tt,pe.state||(pe.state={}),pe.context=N,pe.__n=M,Ve=pe.__d=!0,pe.__h=[]),pe.__s==null&&(pe.__s=pe.state),me.getDerivedStateFromProps!=null&&(pe.__s==pe.state&&(pe.__s=p({},pe.__s)),p(pe.__s,me.getDerivedStateFromProps(tt,pe.__s))),Ne=pe.props,xe=pe.state,Ve)me.getDerivedStateFromProps==null&&pe.componentWillMount!=null&&pe.componentWillMount(),pe.componentDidMount!=null&&pe.__h.push(pe.componentDidMount);else{if(me.getDerivedStateFromProps==null&&tt!==Ne&&pe.componentWillReceiveProps!=null&&pe.componentWillReceiveProps(tt,N),!pe.__e&&pe.shouldComponentUpdate!=null&&pe.shouldComponentUpdate(tt,pe.__s,N)===!1||O.__v===L.__v){pe.props=tt,pe.state=pe.__s,O.__v!==L.__v&&(pe.__d=!1),pe.__v=O,O.__e=L.__e,O.__k=L.__k,O.__k.forEach(function(lt){lt&&(lt.__=O)}),pe.__h.length&&he.push(pe);break e}pe.componentWillUpdate!=null&&pe.componentWillUpdate(tt,pe.__s,N),pe.componentDidUpdate!=null&&pe.__h.push(function(){pe.componentDidUpdate(Ne,xe,Be)})}pe.context=N,pe.props=tt,pe.state=pe.__s,(Ae=r.__r)&&Ae(O),pe.__d=!1,pe.__v=O,pe.__P=_,Ae=pe.render(pe.props,pe.state,pe.context),pe.state=pe.__s,pe.getChildContext!=null&&(M=p(p({},M),pe.getChildContext())),Ve||pe.getSnapshotBeforeUpdate==null||(Be=pe.getSnapshotBeforeUpdate(Ne,xe)),ge=Ae!=null&&Ae.type===v&&Ae.key==null?Ae.props.children:Ae,E(_,Array.isArray(ge)?ge:[ge],O,L,M,J,W,he,Ee,De),pe.base=O.__e,O.__h=null,pe.__h.length&&he.push(pe),$t&&(pe.__E=pe.__=null),pe.__e=!1}else W==null&&O.__v===L.__v?(O.__k=L.__k,O.__e=L.__e):O.__e=F(L.__e,O,L,M,J,W,he,De);(Ae=r.diffed)&&Ae(O)}catch(lt){O.__v=null,(De||W!=null)&&(O.__e=Ee,O.__h=!!De,W[W.indexOf(Ee)]=null),r.__e(lt,O,L)}}function te(_,O){r.__c&&r.__c(O,_),_.some(function(L){try{_=L.__h,L.__h=[],_.some(function(M){M.call(L)})}catch(M){r.__e(M,L.__v)}})}function F(_,O,L,M,J,W,he,Ee){var De,Ae,pe,Ve=L.props,Ne=O.props,xe=O.type,Be=0;if(xe==="svg"&&(J=!0),W!=null){for(;Be<W.length;Be++)if((De=W[Be])&&"setAttribute"in De==!!xe&&(xe?De.localName===xe:De.nodeType===3)){_=De,W[Be]=null;break}}if(_==null){if(xe===null)return document.createTextNode(Ne);_=J?document.createElementNS("http://www.w3.org/2000/svg",xe):document.createElement(xe,Ne.is&&Ne),W=null,Ee=!1}if(xe===null)Ve===Ne||Ee&&_.data===Ne||(_.data=Ne);else{if(W=W&&n.call(_.childNodes),Ae=(Ve=L.props||c).dangerouslySetInnerHTML,pe=Ne.dangerouslySetInnerHTML,!Ee){if(W!=null)for(Ve={},Be=0;Be<_.attributes.length;Be++)Ve[_.attributes[Be].name]=_.attributes[Be].value;(pe||Ae)&&(pe&&(Ae&&pe.__html==Ae.__html||pe.__html===_.innerHTML)||(_.innerHTML=pe&&pe.__html||""))}if(function($t,tt,$,N,ge){var me;for(me in $)me==="children"||me==="key"||me in tt||q($t,me,null,$[me],N);for(me in tt)ge&&typeof tt[me]!="function"||me==="children"||me==="key"||me==="value"||me==="checked"||$[me]===tt[me]||q($t,me,tt[me],$[me],N)}(_,Ne,Ve,J,Ee),pe)O.__k=[];else if(Be=O.props.children,E(_,Array.isArray(Be)?Be:[Be],O,L,M,J&&xe!=="foreignObject",W,he,W?W[0]:L.__k&&b(L,0),Ee),W!=null)for(Be=W.length;Be--;)W[Be]!=null&&m(W[Be]);Ee||("value"in Ne&&(Be=Ne.value)!==void 0&&(Be!==Ve.value||Be!==_.value||xe==="progress"&&!Be)&&q(_,"value",Be,Ve.value,!1),"checked"in Ne&&(Be=Ne.checked)!==void 0&&Be!==_.checked&&q(_,"checked",Be,Ve.checked,!1))}return _}function U(_,O,L){try{typeof _=="function"?_(O):_.current=O}catch(M){r.__e(M,L)}}function Y(_,O,L){var M,J;if(r.unmount&&r.unmount(_),(M=_.ref)&&(M.current&&M.current!==_.__e||U(M,null,O)),(M=_.__c)!=null){if(M.componentWillUnmount)try{M.componentWillUnmount()}catch(W){r.__e(W,O)}M.base=M.__P=null}if(M=_.__k)for(J=0;J<M.length;J++)M[J]&&Y(M[J],O,typeof _.type!="function");L||_.__e==null||m(_.__e),_.__e=_.__d=void 0}function I(_,O,L){return this.constructor(_,L)}function j(_,O,L){var M,J,W;r.__&&r.__(_,O),J=(M=typeof L=="function")?null:L&&L.__k||O.__k,W=[],K(O,_=(!M&&L||O).__k=y(v,null,[_]),J||c,c,O.ownerSVGElement!==void 0,!M&&L?[L]:J?null:O.firstChild?n.call(O.childNodes):null,W,!M&&L?L:J?J.__e:O.firstChild,M),te(W,_)}n=f.slice,r={__e:function(_,O){for(var L,M,J;O=O.__;)if((L=O.__c)&&!L.__)try{if((M=L.constructor)&&M.getDerivedStateFromError!=null&&(L.setState(M.getDerivedStateFromError(_)),J=L.__d),L.componentDidCatch!=null&&(L.componentDidCatch(_),J=L.__d),J)return L.__E=L}catch(W){_=W}throw _}},o=0,a=function(_){return _!=null&&_.constructor===void 0},h.prototype.setState=function(_,O){var L;L=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=p({},this.state),typeof _=="function"&&(_=_(p({},L),this.props)),_&&p(L,_),_!=null&&this.__v&&(O&&this.__h.push(O),k(this))},h.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),k(this))},h.prototype.render=v,i=[],s=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,C.__r=0,l=0,t.Component=h,t.Fragment=v,t.cloneElement=function(_,O,L){var M,J,W,he=p({},_.props);for(W in O)W=="key"?M=O[W]:W=="ref"?J=O[W]:he[W]=O[W];return arguments.length>2&&(he.children=arguments.length>3?n.call(arguments,2):L),g(_.type,he,M||_.key,J||_.ref,null)},t.createContext=function(_,O){var L={__c:O="__cC"+l++,__:_,Consumer:function(M,J){return M.children(J)},Provider:function(M){var J,W;return this.getChildContext||(J=[],(W={})[O]=this,this.getChildContext=function(){return W},this.shouldComponentUpdate=function(he){this.props.value!==he.value&&J.some(k)},this.sub=function(he){J.push(he);var Ee=he.componentWillUnmount;he.componentWillUnmount=function(){J.splice(J.indexOf(he),1),Ee&&Ee.call(he)}}),M.children}};return L.Provider.__=L.Consumer.contextType=L},t.createElement=y,t.createRef=function(){return{current:null}},t.h=y,t.hydrate=function _(O,L){j(O,L,_)},t.isValidElement=a,t.options=r,t.render=j,t.toChildArray=function _(O,L){return L=L||[],O==null||typeof O=="boolean"||(Array.isArray(O)?O.some(function(M){_(M,L)}):L.push(O)),L}}),p4e=function(e,t){return t===void 0&&(t=document),typeof e=="string"?t.querySelector(e):((n=e)==null?void 0:n.nodeType)===Node.ELEMENT_NODE?e:null;var n},ND=class{constructor(e,t){t===void 0&&(t={}),this.uppy=e,this.opts=t}getPluginState(){const{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){const{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}})}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(),this.i18nInit()}i18nInit(){const e=new TW([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),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 ij(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var h4e=0;function g4e(e){return"__private_"+h4e+++"_"+e}const{render:aj}=d4e;var Ld=g4e("updateUI");class BD extends ND{constructor(){super(...arguments),Object.defineProperty(this,Ld,{writable:!0,value:void 0})}mount(t,n){const r=n.id,o=p4e(t);if(o){this.isTargetDOMEl=!0;const s=document.createDocumentFragment();return ij(this,Ld)[Ld]=function(u){let l=null,c=null;return function(){for(var f=arguments.length,d=new Array(f),p=0;p<f;p++)d[p]=arguments[p];return c=d,l||(l=Promise.resolve().then(()=>(l=null,u(...c)))),l}}(u=>{this.uppy.getPlugin(this.id)&&(aj(this.render(u),s),this.afterUpdate())}),this.uppy.log(`Installing ${r} to a DOM element '${t}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),aj(this.render(this.uppy.getState()),s),this.el=s.firstElementChild,o.appendChild(s),this.onMount(),this.el}let a;if(typeof t=="object"&&t instanceof BD)a=t;else if(typeof t=="function"){const s=t;this.uppy.iteratePlugins(u=>{if(u instanceof s)return a=u,!1})}if(a)return this.uppy.log(`Installing ${r} to ${a.id}`),this.parent=a,this.el=a.addTarget(n),this.onMount(),this.el;this.uppy.log(`Not installing ${r}`);let i=`Invalid target option given to ${r}.`;throw i+=typeof t=="function"?" 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.":"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(i)}update(t){var n,r;this.el!=null&&((n=(r=ij(this,Ld))[Ld])==null||n.call(r,t))}unmount(){var t;this.isTargetDOMEl&&((t=this.el)==null||t.remove()),this.onUnmount()}onMount(){}onUnmount(){}}var v4e=BD;const{debugLogger:m4e}=FW;var Hp=HW,y4e=HW,b4e=v4e,w4e=ND,k4e=m4e;Hp.Uppy=y4e,Hp.UIPlugin=b4e,Hp.BasePlugin=w4e,Hp.debugLogger=k4e;class E4e 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 FD=E4e,kE=function(){return fetch(...arguments).catch(e=>{throw e.name==="AbortError"?e:new FD(e)})};class C4e extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var Kv,La,oi,Pa,sj,S4e=C4e;function ni(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var _4e=0;function EE(e){return"__private_"+_4e+++"_"+e}async function CE(e){if(e.status===401)throw new S4e;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 uj=(La=EE("getPostResponseFunc"),oi=EE("getUrl"),Pa=EE("errorHandler"),sj=Kv=class WW{constructor(t,n){Object.defineProperty(this,Pa,{value:D4e}),Object.defineProperty(this,oi,{value:O4e}),Object.defineProperty(this,La,{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(t&&t[n]?t[n]:n).replace(/\/$/,"")}headers(){const t=this.opts.companionHeaders||{};return Promise.resolve({...WW.defaultHeaders,...t})}onReceiveResponse(t){const n=this.uppy.getState().companion||{},r=this.opts.companionUrl,{headers:o}=t;return o.has("i-am")&&o.get("i-am")!==n[r]&&this.uppy.setState({companion:{...n,[r]:o.get("i-am")}}),t}preflight(t){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(ni(this,oi)[oi](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(a=>{r.includes(a.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${a}`),delete o[a])}),o})}get(t,n){return this.preflightAndHeaders(t).then(r=>kE(ni(this,oi)[oi](t),{method:"get",headers:r,credentials:this.opts.companionCookiesRule||"same-origin"})).then(ni(this,La)[La](n)).then(CE).catch(ni(this,Pa)[Pa]("get",t))}post(t,n,r){const o="post";return this.preflightAndHeaders(t).then(a=>kE(ni(this,oi)[oi](t),{method:o,headers:a,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then(ni(this,La)[La](r)).then(CE).catch(ni(this,Pa)[Pa](o,t))}delete(t,n,r){const o="delete";return this.preflightAndHeaders(t).then(a=>kE(`${this.hostname}/${t}`,{method:o,headers:a,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then(ni(this,La)[La](r)).then(CE).catch(ni(this,Pa)[Pa](o,t))}},Kv.VERSION="2.0.4",Kv.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${Kv.VERSION}`},sj);function O4e(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function D4e(e,t){return n=>{var r;if((r=n)==null||!r.isAuthError){const o=new Error(`Could not ${e} ${ni(this,oi)[oi](t)}`);o.cause=n,n=o}return Promise.reject(n)}}var A4e={setItem:(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise(t=>{localStorage.removeItem(e),t()})},Qo,$a,to,Qn,Xv;let lj,cj;function wn(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var x4e=0;function Pd(e){return"__private_"+x4e+++"_"+e}var L4e=(Qo=Pd("queued"),$a=Pd("emitter"),to=Pd("isOpen"),Qn=Pd("socket"),Xv=Pd("handleMessage"),lj=Symbol.for("uppy test: getSocket"),cj=Symbol.for("uppy test: getQueued"),class{constructor(e){Object.defineProperty(this,Qo,{writable:!0,value:[]}),Object.defineProperty(this,$a,{writable:!0,value:IW()}),Object.defineProperty(this,to,{writable:!0,value:!1}),Object.defineProperty(this,Qn,{writable:!0,value:void 0}),Object.defineProperty(this,Xv,{writable:!0,value:t=>{try{const n=JSON.parse(t.data);this.emit(n.action,n.payload)}catch(n){console.log(n)}}}),this.opts=e,e&&e.autoOpen===!1||this.open()}get isOpen(){return wn(this,to)[to]}[lj](){return wn(this,Qn)[Qn]}[cj](){return wn(this,Qo)[Qo]}open(){wn(this,Qn)[Qn]=new WebSocket(this.opts.target),wn(this,Qn)[Qn].onopen=()=>{for(wn(this,to)[to]=!0;wn(this,Qo)[Qo].length>0&&wn(this,to)[to];){const e=wn(this,Qo)[Qo].shift();this.send(e.action,e.payload)}},wn(this,Qn)[Qn].onclose=()=>{wn(this,to)[to]=!1},wn(this,Qn)[Qn].onmessage=wn(this,Xv)[Xv]}close(){var e;(e=wn(this,Qn)[Qn])==null||e.close()}send(e,t){wn(this,to)[to]?wn(this,Qn)[Qn].send(JSON.stringify({action:e,payload:t})):wn(this,Qo)[Qo].push({action:e,payload:t})}on(e,t){wn(this,$a)[$a].on(e,t)}emit(e,t){wn(this,$a)[$a].emit(e,t)}once(e,t){wn(this,$a)[$a].once(e,t)}}),P4e={RequestClient:uj,Provider:class extends uj{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(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(e=>{let[t,n]=e;const r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...t,...r}})}onReceiveResponse(e){e=super.onReceiveResponse(e);const t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?e.status!==401:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(e){return e===void 0&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(e=>{this.preAuthToken=e.token}).catch(e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}):Promise.resolve()}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts={...n,...t}),t.serverUrl||t.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(t.companionAllowedHosts){const r=t.companionAllowedHosts;if(!(typeof r=="string"||Array.isArray(r)||r instanceof RegExp))throw new TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=r}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||A4e}},Socket:L4e},ja,oc,$4e=bl(function(e,t,n){const{progress:r,bytesUploaded:o,bytesTotal:a}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:o,bytesTotal:a}))},300,{leading:!0,trailing:!0});function $d(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var j4e=0;function fj(e){return"__private_"+j4e+++"_"+e}var dj=(ja=fj("emitter"),oc=fj("events"),class{constructor(e){Object.defineProperty(this,ja,{writable:!0,value:void 0}),Object.defineProperty(this,oc,{writable:!0,value:[]}),$d(this,ja)[ja]=e}on(e,t){return $d(this,oc)[oc].push([e,t]),$d(this,ja)[ja].on(e,t)}remove(){for(const[e,t]of $d(this,oc)[oc].splice(0))$d(this,ja)[ja].off(e,t)}});function no(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var T4e=0;function Mb(e){return"__private_"+T4e+++"_"+e}var Vi=Mb("aliveTimer"),ou=Mb("isDone"),jd=Mb("onTimedOut"),iu=Mb("timeout"),pj=class{constructor(e,t){Object.defineProperty(this,Vi,{writable:!0,value:void 0}),Object.defineProperty(this,ou,{writable:!0,value:!1}),Object.defineProperty(this,jd,{writable:!0,value:void 0}),Object.defineProperty(this,iu,{writable:!0,value:void 0}),no(this,iu)[iu]=e,no(this,jd)[jd]=t}progress(){no(this,ou)[ou]||no(this,iu)[iu]>0&&(clearTimeout(no(this,Vi)[Vi]),no(this,Vi)[Vi]=setTimeout(no(this,jd)[jd],no(this,iu)[iu]))}done(){no(this,ou)[ou]||(clearTimeout(no(this,Vi)[Vi]),no(this,Vi)[Vi]=null,no(this,ou)[ou]=!0)}};function Sn(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var I4e=0;function Rl(e){return"__private_"+I4e+++"_"+e}function N4e(){return new Error("Cancelled")}var Fr=Rl("activeRequests"),hr=Rl("queuedHandlers"),nh=Rl("call"),Wp=Rl("queueNext"),k5=Rl("next"),SE=Rl("queue"),E5=Rl("dequeue");function B4e(e){Sn(this,Fr)[Fr]+=1;let t,n=!1;try{t=e()}catch(r){throw Sn(this,Fr)[Fr]-=1,r}return{abort:()=>{n||(n=!0,Sn(this,Fr)[Fr]-=1,t(),Sn(this,Wp)[Wp]())},done:()=>{n||(n=!0,Sn(this,Fr)[Fr]-=1,Sn(this,Wp)[Wp]())}}}function F4e(){queueMicrotask(()=>Sn(this,k5)[k5]())}function R4e(){if(Sn(this,Fr)[Fr]>=this.limit||Sn(this,hr)[hr].length===0)return;const e=Sn(this,hr)[hr].shift(),t=Sn(this,nh)[nh](e.fn);e.abort=t.abort,e.done=t.done}function M4e(e,t){t===void 0&&(t={});const n={fn:e,priority:t.priority||0,abort:()=>{Sn(this,E5)[E5](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=Sn(this,hr)[hr].findIndex(o=>n.priority>o.priority);return r===-1?Sn(this,hr)[hr].push(n):Sn(this,hr)[hr].splice(r,0,n),n}function z4e(e){const t=Sn(this,hr)[hr].indexOf(e);t!==-1&&Sn(this,hr)[hr].splice(t,1)}var U4e={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,E5,{value:z4e}),Object.defineProperty(this,SE,{value:M4e}),Object.defineProperty(this,k5,{value:R4e}),Object.defineProperty(this,Wp,{value:F4e}),Object.defineProperty(this,nh,{value:B4e}),Object.defineProperty(this,Fr,{writable:!0,value:0}),Object.defineProperty(this,hr,{writable:!0,value:[]}),this.limit=typeof e!="number"||e===0?1/0:e}run(e,t){return Sn(this,Fr)[Fr]<this.limit?Sn(this,nh)[nh](e):Sn(this,SE)[SE](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];let i;const s=new Promise((u,l)=>{i=n.run(()=>{let c,f;try{f=Promise.resolve(e(...o))}catch(d){f=Promise.reject(d)}return f.then(d=>{c?l(c):(i.done(),u(d))},d=>{c?l(c):(i.done(),l(d))}),()=>{c=N4e()}},t)});return s.abort=()=>{i.abort()},s}}},internalRateLimitedQueue:Symbol("__queue")},hj,gj,VW=function(e){return!!e&&(e.readyState!==0&&e.readyState!==4||e.status===0)},H4e={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};const{nanoid:W4e}=RW,{Provider:V4e,RequestClient:q4e,Socket:G4e}=P4e,{RateLimitedQueue:Z4e,internalRateLimitedQueue:_E}=U4e;function vj(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})),VW(e)?(n=new FD(n,e),n):(n.request=e,n)}function mj(e){return e.data.slice(0,e.data.size,e.meta.type)}var Y4e=(gj=hj=class extends ND{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=H4e;const n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(r){let o={};try{o=JSON.parse(r)}catch(a){e.log(a)}return o},getResponseError(r,o){let a=new Error("Upload error");return VW(o)&&(a=new FD(a,o)),a},validateStatus:r=>r>=200&&r<300};if(this.opts={...n,...t},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),_E in this.opts?this.requests=this.opts[_E]:this.requests=new Z4e(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(e){const t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r={...this.opts,...t||{},...e.xhrUpload||{},headers:{}};return typeof n=="function"?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach(r=>{e.append(r,t[r])})}createFormDataUpload(e,t){const n=new FormData;this.addMetadata(n,e.meta,t);const r=mj(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){const n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach(o=>{const a=this.getOptions(o),i=mj(o);o.name?n.append(a.fieldName,i,o.name):n.append(a.fieldName,i)}),n}upload(e,t,n){const r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise((o,a)=>{this.uppy.emit("upload-started",e);const i=r.formData?this.createFormDataUpload(e,r):e.data,s=new XMLHttpRequest;this.uploaderEvents[e.id]=new dj(this.uppy);const u=new pj(r.timeout,()=>{s.abort(),c.done();const f=new Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",e,f),a(f)}),l=W4e();s.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${l} started`)}),s.upload.addEventListener("progress",f=>{this.uppy.log(`[XHRUpload] ${l} progress: ${f.loaded} / ${f.total}`),u.progress(),f.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:f.loaded,bytesTotal:f.total})}),s.addEventListener("load",f=>{if(this.uppy.log(`[XHRUpload] ${l} finished`),u.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(f.target.status,s.responseText,s)){const y=r.getResponseData(s.responseText,s),g=y[r.responseUrlFieldName],v={status:f.target.status,body:y,uploadURL:g};return this.uppy.emit("upload-success",e,v),g&&this.uppy.log(`Download ${e.name} from ${g}`),o(e)}const d=r.getResponseData(s.responseText,s),p=vj(s,r.getResponseError(s.responseText,s)),m={status:f.target.status,body:d};return this.uppy.emit("upload-error",e,p,m),a(p)}),s.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${l} errored`),u.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);const f=vj(s,r.getResponseError(s.responseText,s));return this.uppy.emit("upload-error",e,f),a(f)}),s.open(r.method.toUpperCase(),r.endpoint,!0),s.withCredentials=r.withCredentials,r.responseType!==""&&(s.responseType=r.responseType);const c=this.requests.run(()=>{this.uppy.emit("upload-started",e);const f=this.getOptions(e);return Object.keys(f.headers).forEach(d=>{s.setRequestHeader(d,f.headers[d])}),s.send(i),()=>{u.done(),s.abort()}});this.onFileRemove(e.id,()=>{c.abort(),a(new Error("File removed"))}),this.onCancelAll(e.id,()=>{c.abort(),a(new Error("Upload cancelled"))})})}uploadRemote(e){const t=this.getOptions(e);return new Promise((n,r)=>{this.uppy.emit("upload-started",e);const o={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach(a=>{o[a]=e.meta[a]}),new(e.remote.providerOptions.provider?V4e:q4e)(this.uppy,e.remote.providerOptions).post(e.remote.url,{...e.remote.body,endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:o,httpMethod:t.method,useFormData:t.formData,headers:t.headers}).then(a=>{const{token:i}=a,s=function(c){const f=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(c)[1];return`${/^http:\/\//i.test(c)?"ws":"wss"}://${f}`}(e.remote.companionUrl),u=new G4e({target:`${s}/api/${i}`,autoOpen:!1});this.uploaderEvents[e.id]=new dj(this.uppy),this.onFileRemove(e.id,()=>{u.send("cancel",{}),l.abort(),n(`upload ${e.id} was removed`)}),this.onCancelAll(e.id,()=>{u.send("cancel",{}),l.abort(),n(`upload ${e.id} was canceled`)}),this.onRetry(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),this.onRetryAll(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),u.on("progress",c=>$4e(this,c,e)),u.on("success",c=>{const f=t.getResponseData(c.response.responseText,c.response),d=f[t.responseUrlFieldName],p={status:c.response.status,body:f,uploadURL:d};return this.uppy.emit("upload-success",e,p),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()}),u.on("error",c=>{const f=c.response,d=f?t.getResponseError(f.responseText,f):Object.assign(new Error(c.error.message),{cause:c.error});this.uppy.emit("upload-error",e,d),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(d)});const l=this.requests.run(()=>(u.open(),e.isPaused&&u.send("pause",{}),()=>u.close()))}).catch(a=>{this.uppy.emit("upload-error",e,a),r(a)})})}uploadBundle(e){return new Promise((t,n)=>{const{endpoint:r}=this.opts,{method:o}=this.opts,a=this.uppy.getState().xhrUpload,i=this.createBundledUpload(e,{...this.opts,...a||{}}),s=new XMLHttpRequest,u=new pj(this.opts.timeout,()=>{s.abort();const c=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(c),n(c)}),l=c=>{e.forEach(f=>{this.uppy.emit("upload-error",f,c)})};s.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),u.progress()}),s.upload.addEventListener("progress",c=>{u.progress(),c.lengthComputable&&e.forEach(f=>{this.uppy.emit("upload-progress",f,{uploader:this,bytesUploaded:c.loaded/c.total*f.size,bytesTotal:f.size})})}),s.addEventListener("load",c=>{if(u.done(),this.opts.validateStatus(c.target.status,s.responseText,s)){const d=this.opts.getResponseData(s.responseText,s),p={status:c.target.status,body:d};return e.forEach(m=>{this.uppy.emit("upload-success",m,p)}),t()}const f=this.opts.getResponseError(s.responseText,s)||new Error("Upload error");return f.request=s,l(f),n(f)}),s.addEventListener("error",()=>{u.done();const c=this.opts.getResponseError(s.responseText,s)||new Error("Upload error");return l(c),n(c)}),this.uppy.on("cancel-all",()=>{u.done(),s.abort()}),s.open(o.toUpperCase(),r,!0),s.withCredentials=this.opts.withCredentials,this.opts.responseType!==""&&(s.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(c=>{s.setRequestHeader(c,this.opts.headers[c])}),s.send(i),e.forEach(c=>{this.uppy.emit("upload-started",c)})})}uploadFiles(e){const t=e.map((n,r)=>{const o=parseInt(r,10)+1,a=e.length;return n.error?Promise.reject(new Error(n.error)):n.isRemote?this.uploadRemote(n,o,a):this.upload(n,o,a)});return function(n){const r=[],o=[];function a(s){r.push(s)}function i(s){o.push(s)}return Promise.all(n.map(s=>s.then(a,i))).then(()=>({successful:r,failed:o}))}(t)}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",n=>{e===n.id&&t(n.id)})}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",n=>{e===n&&t()})}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t()})}onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t()})}handleUpload(e){if(e.length===0)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();this.opts.limit!==0||this.opts[_E]||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 t=e.map(n=>this.uppy.getFile(n));if(this.opts.bundle){if(t.some(n=>n.isRemote))throw new Error("Can’t 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(t)}return this.uploadFiles(t).then(()=>null)}install(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}},hj.VERSION="2.0.6",gj),yj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vg(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ta,gm,Qv=function(e){return e&&e.Math==Math&&e},ye=Qv(typeof globalThis=="object"&&globalThis)||Qv(typeof window=="object"&&window)||Qv(typeof self=="object"&&self)||Qv(typeof yj=="object"&&yj)||function(){return this}()||Function("return this")(),J4e=Object.defineProperty,RD=function(e,t){try{J4e(ye,e,{value:t,configurable:!0,writable:!0})}catch{ye[e]=t}return t},cs=ye["__core-js_shared__"]||RD("__core-js_shared__",{}),MD=Vg(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:"© 2021 Denis Pushkarev (zloirock.ru)"})}),qW=Function.prototype,C5=qW.bind,S5=qW.call,K4e=C5&&C5.bind(S5),Te=C5?function(e){return e&&K4e(S5,e)}:function(e){return e&&function(){return S5.apply(e,arguments)}},X4e=ye.TypeError,bo=function(e){if(e==null)throw X4e("Can't call method on "+e);return e},Q4e=ye.Object,Hs=function(e){return Q4e(bo(e))},eke=Te({}.hasOwnProperty),hn=Object.hasOwn||function(e,t){return eke(Hs(e),t)},tke=0,nke=Math.random(),rke=Te(1 .toString),zD=function(e){return"Symbol("+(e===void 0?"":e)+")_"+rke(++tke+nke,36)},Lt=function(e){return typeof e=="function"},oke=function(e){return Lt(e)?e:void 0},Ml=function(e,t){return arguments.length<2?oke(ye[e]):ye[e]&&ye[e][t]},Zc=Ml("navigator","userAgent")||"",bj=ye.process,wj=ye.Deno,kj=bj&&bj.versions||wj&&wj.version,Ej=kj&&kj.v8;Ej&&(gm=(Ta=Ej.split("."))[0]>0&&Ta[0]<4?1:+(Ta[0]+Ta[1])),!gm&&Zc&&(!(Ta=Zc.match(/Edge\/(\d+)/))||Ta[1]>=74)&&(Ta=Zc.match(/Chrome\/(\d+)/))&&(gm=+Ta[1]);var Bh=gm,Et=function(e){try{return!!e()}catch{return!0}},_5=!!Object.getOwnPropertySymbols&&!Et(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Bh&&Bh<41}),UD=_5&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Td=MD("wks"),Vu=ye.Symbol,Cj=Vu&&Vu.for,ike=UD?Vu:Vu&&Vu.withoutSetter||zD,Qt=function(e){if(!hn(Td,e)||!_5&&typeof Td[e]!="string"){var t="Symbol."+e;_5&&hn(Vu,e)?Td[e]=Vu[e]:Td[e]=UD&&Cj?Cj(t):ike(t)}return Td[e]},GW={};GW[Qt("toStringTag")]="z";var HD=String(GW)==="[object z]",Mn=!Et(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Mt=function(e){return typeof e=="object"?e!==null:Lt(e)},O5=ye.document,ake=Mt(O5)&&Mt(O5.createElement),Fh=function(e){return ake?O5.createElement(e):{}},ZW=!Mn&&!Et(function(){return Object.defineProperty(Fh("div"),"a",{get:function(){return 7}}).a!=7}),ske=ye.String,uke=ye.TypeError,gn=function(e){if(Mt(e))return e;throw uke(ske(e)+" is not an object")},Id=Function.prototype.call,vt=Id.bind?Id.bind(Id):function(){return Id.apply(Id,arguments)},wl=Te({}.isPrototypeOf),lke=ye.Object,OE=UD?function(e){return typeof e=="symbol"}:function(e){var t=Ml("Symbol");return Lt(t)&&wl(t.prototype,lke(e))},cke=ye.String,zb=function(e){try{return cke(e)}catch{return"Object"}},fke=ye.TypeError,Ps=function(e){if(Lt(e))return e;throw fke(zb(e)+" is not a function")},kl=function(e,t){var n=e[t];return n==null?void 0:Ps(n)},dke=ye.TypeError,pke=ye.TypeError,hke=Qt("toPrimitive"),WD=function(e){var t=function(n,r){if(!Mt(n)||OE(n))return n;var o,a=kl(n,hke);if(a){if(o=vt(a,n,r),!Mt(o)||OE(o))return o;throw pke("Can't convert object to primitive value")}return function(i,s){var u,l;if(Lt(u=i.toString)&&!Mt(l=vt(u,i))||Lt(u=i.valueOf)&&!Mt(l=vt(u,i)))return l;throw dke("Can't convert object to primitive value")}(n)}(e,"string");return OE(t)?t:t+""},gke=ye.TypeError,Sj=Object.defineProperty,Zo={f:Mn?Sj:function(e,t,n){if(gn(e),t=WD(t),gn(n),ZW)try{return Sj(e,t,n)}catch{}if("get"in n||"set"in n)throw gke("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ub=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Ro=Mn?function(e,t,n){return Zo.f(e,t,Ub(1,n))}:function(e,t,n){return e[t]=n,e},vke=Te(Function.toString);Lt(cs.inspectSource)||(cs.inspectSource=function(e){return vke(e)});var B1,rh,F1,Hb=cs.inspectSource,_j=ye.WeakMap,YW=Lt(_j)&&/native code/.test(Hb(_j)),Oj=MD("keys"),VD=function(e){return Oj[e]||(Oj[e]=zD(e))},Wb={},D5=ye.TypeError,mke=ye.WeakMap;if(YW||cs.state){var au=cs.state||(cs.state=new mke),yke=Te(au.get),Dj=Te(au.has),bke=Te(au.set);B1=function(e,t){if(Dj(au,e))throw new D5("Object already initialized");return t.facade=e,bke(au,e,t),t},rh=function(e){return yke(au,e)||{}},F1=function(e){return Dj(au,e)}}else{var ic=VD("state");Wb[ic]=!0,B1=function(e,t){if(hn(e,ic))throw new D5("Object already initialized");return t.facade=e,Ro(e,ic,t),t},rh=function(e){return hn(e,ic)?e[ic]:{}},F1=function(e){return hn(e,ic)}}var ir={set:B1,get:rh,has:F1,enforce:function(e){return F1(e)?rh(e):B1(e,{})},getterFor:function(e){return function(t){var n;if(!Mt(t)||(n=rh(t)).type!==e)throw D5("Incompatible receiver, "+e+" required");return n}}},JW=Function.prototype,wke=Mn&&Object.getOwnPropertyDescriptor,DE=hn(JW,"name"),Zf={EXISTS:DE,PROPER:DE&&(function(){}).name==="something",CONFIGURABLE:DE&&(!Mn||Mn&&wke(JW,"name").configurable)},Ar=Vg(function(e){var t=Zf.CONFIGURABLE,n=ir.get,r=ir.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;Lt(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!hn(s,"name")||t&&s.name!==p)&&Ro(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==ye?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:Ro(a,i,s)):f?a[i]=s:RD(i,s)})(Function.prototype,"toString",function(){return Lt(this)&&n(this).source||Hb(this)})}),kke=Te({}.toString),Eke=Te("".slice),Mo=function(e){return Eke(kke(e),8,-1)},Cke=Qt("toStringTag"),Ske=ye.Object,_ke=Mo(function(){return arguments}())=="Arguments",Vb=HD?Mo:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=Ske(e),Cke))=="string"?n:_ke?Mo(t):(r=Mo(t))=="Object"&&Lt(t.callee)?"Arguments":r},Oke=HD?{}.toString:function(){return"[object "+Vb(this)+"]"};HD||Ar(Object.prototype,"toString",Oke,{unsafe:!0});var R1={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},AE=Fh("span").classList,Aj=AE&&AE.constructor&&AE.constructor.prototype,KW=Aj===Object.prototype?void 0:Aj,xj=Te(Te.bind),El=function(e,t){return Ps(e),t===void 0?e:xj?xj(e,t):function(){return e.apply(t,arguments)}},xE=ye.Object,Dke=Te("".split),qb=Et(function(){return!xE("z").propertyIsEnumerable(0)})?function(e){return Mo(e)=="String"?Dke(e,""):xE(e)}:xE,Ake=Math.ceil,xke=Math.floor,qg=function(e){var t=+e;return t!=t||t===0?0:(t>0?xke:Ake)(t)},Lke=Math.min,Yf=function(e){return e>0?Lke(qg(e),9007199254740991):0},zl=function(e){return Yf(e.length)},M1=Array.isArray||function(e){return Mo(e)=="Array"},XW=function(){},Pke=[],QW=Ml("Reflect","construct"),qD=/^\s*(?:class|function)\b/,$ke=Te(qD.exec),jke=!qD.exec(XW),Nd=function(e){if(!Lt(e))return!1;try{return QW(XW,Pke,e),!0}catch{return!1}},Gb=!QW||Et(function(){var e;return Nd(Nd.call)||!Nd(Object)||!Nd(function(){e=!0})||e})?function(e){if(!Lt(e))return!1;switch(Vb(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return jke||!!$ke(qD,Hb(e))}:Nd,Tke=Qt("species"),Lj=ye.Array,eV=function(e,t){return new(function(n){var r;return M1(n)&&(r=n.constructor,(Gb(r)&&(r===Lj||M1(r.prototype))||Mt(r)&&(r=r[Tke])===null)&&(r=void 0)),r===void 0?Lj:r}(e))(t===0?0:t)},Pj=Te([].push),Bd=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=Hs(u),y=qb(m),g=El(l,c),v=zl(y),h=0,b=f||eV,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:Pj(w,d)}else switch(e){case 4:return!1;case 7:Pj(w,d)}return a?-1:r||o?o:w}},Jf={forEach:Bd(0),map:Bd(1),filter:Bd(2),find:Bd(5),findIndex:Bd(6)},tV=function(e,t){var n=[][e];return!!n&&Et(function(){n.call(null,t||function(){throw 1},1)})},Ike=Jf.forEach,LE=tV("forEach")?[].forEach:function(e){return Ike(this,e,arguments.length>1?arguments[1]:void 0)},nV=function(e){if(e&&e.forEach!==LE)try{Ro(e,"forEach",LE)}catch{e.forEach=LE}};for(var PE in R1)R1[PE]&&nV(ye[PE]&&ye[PE].prototype);nV(KW);var $j={}.propertyIsEnumerable,jj=Object.getOwnPropertyDescriptor,Nke=jj&&!$j.call({1:2},1)?function(e){var t=jj(this,e);return!!t&&t.enumerable}:$j,rV={f:Nke},Ws=function(e){return qb(bo(e))},Tj=Object.getOwnPropertyDescriptor,Gg={f:Mn?Tj:function(e,t){if(e=Ws(e),t=WD(t),ZW)try{return Tj(e,t)}catch{}if(hn(e,t))return Ub(!vt(rV.f,e,t),e[t])}},Bke=Math.max,Fke=Math.min,Ef=function(e,t){var n=qg(e);return n<0?Bke(n+t,0):Fke(n,t)},Ij=function(e){return function(t,n,r){var o,a=Ws(t),i=zl(a),s=Ef(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},oV={includes:Ij(!0),indexOf:Ij(!1)},Rke=oV.indexOf,Nj=Te([].push),iV=function(e,t){var n,r=Ws(e),o=0,a=[];for(n in r)!hn(Wb,n)&&hn(r,n)&&Nj(a,n);for(;t.length>o;)hn(r,n=t[o++])&&(~Rke(a,n)||Nj(a,n));return a},z1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mke=z1.concat("length","prototype"),Rh={f:Object.getOwnPropertyNames||function(e){return iV(e,Mke)}},aV={f:Object.getOwnPropertySymbols},zke=Te([].concat),Uke=Ml("Reflect","ownKeys")||function(e){var t=Rh.f(gn(e)),n=aV.f;return n?zke(t,n(e)):t},Hke=function(e,t){for(var n=Uke(t),r=Zo.f,o=Gg.f,a=0;a<n.length;a++){var i=n[a];hn(e,i)||r(e,i,o(t,i))}},Wke=/#|\.prototype\./,Zg=function(e,t){var n=qke[Vke(e)];return n==Zke||n!=Gke&&(Lt(t)?Et(t):!!t)},Vke=Zg.normalize=function(e){return String(e).replace(Wke,".").toLowerCase()},qke=Zg.data={},Gke=Zg.NATIVE="N",Zke=Zg.POLYFILL="P",Mh=Zg,Yke=Gg.f,Kt=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?ye:l?ye[s]||RD(s,{}):(ye[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=Yke(n,r))&&i.value:n[r],!Mh(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;Hke(a,o)}(e.sham||o&&o.sham)&&Ro(a,"sham",!0),Ar(n,r,a,e)}},Yc=Object.keys||function(e){return iV(e,z1)},Jke=Et(function(){Yc(1)});/*!
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */function Bj(e){return Object.prototype.toString.call(e)==="[object Object]"}Kt({target:"Object",stat:!0,forced:Jke},{keys:function(e){return Yc(Hs(e))}});var Kke={isHistory(e){return Bj(t=e)!==!1&&((n=t.constructor)===void 0||Bj(r=n.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||ns.isOperationList(e.redos[0]))&&(e.undos.length===0||ns.isOperationList(e.undos[0]));var t,n,r}},$E=new WeakMap,jE=new WeakMap,Uc={isHistoryEditor:e=>Kke.isHistory(e.history)&&S.isEditor(e),isMerging:e=>jE.get(e),isSaving:e=>$E.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=Uc.isMerging(e);jE.set(e,!1),t(),jE.set(e,n)},withoutSaving(e,t){var n=Uc.isSaving(e);$E.set(e,!1),t(),$E.set(e,n)}},Xke=ye.String,jt=function(e){if(Vb(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Xke(e)},GD=function(){var e=gn(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},Qke=Zf.PROPER,A5=RegExp.prototype,sV=A5.toString,eEe=Te(GD),tEe=Et(function(){return sV.call({source:"a",flags:"b"})!="/a/b"}),nEe=Qke&&sV.name!="toString";(tEe||nEe)&&Ar(RegExp.prototype,"toString",function(){var e=gn(this),t=jt(e.source),n=e.flags;return"/"+t+"/"+jt(n===void 0&&wl(A5,e)&&!("flags"in A5)?eEe(e):n)},{unsafe:!0});var e0,rEe=Mn?Object.defineProperties:function(e,t){gn(e);for(var n,r=Ws(t),o=Yc(t),a=o.length,i=0;a>i;)Zo.f(e,n=o[i++],r[n]);return e},x5=Ml("document","documentElement"),uV=VD("IE_PROTO"),TE=function(){},lV=function(e){return"<script>"+e+"<\/script>"},Fj=function(e){e.write(lV("")),e.close();var t=e.parentWindow.Object;return e=null,t},vm=function(){try{e0=new ActiveXObject("htmlfile")}catch{}var e,t;vm=typeof document<"u"?document.domain&&e0?Fj(e0):((t=Fh("iframe")).style.display="none",x5.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(lV("document.F=Object")),e.close(),e.F):Fj(e0);for(var n=z1.length;n--;)delete vm.prototype[z1[n]];return vm()};Wb[uV]=!0;var Zb=Object.create||function(e,t){var n;return e!==null?(TE.prototype=gn(e),n=new TE,TE.prototype=null,n[uV]=e):n=vm(),t===void 0?n:rEe(n,t)},L5=Qt("unscopables"),P5=Array.prototype;P5[L5]==null&&Zo.f(P5,L5,{configurable:!0,value:Zb(null)});var oh=function(e){P5[L5][e]=!0},oEe=oV.includes;Kt({target:"Array",proto:!0},{includes:function(e){return oEe(this,e,arguments.length>1?arguments[1]:void 0)}}),oh("includes");var iEe=Qt("match"),ZD=function(e){var t;return Mt(e)&&((t=e[iEe])!==void 0?!!t:Mo(e)=="RegExp")},aEe=ye.TypeError,YD=function(e){if(ZD(e))throw aEe("The method doesn't accept regular expressions");return e},sEe=Qt("match"),JD=function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[sEe]=!1,"/./"[e](t)}catch{}}return!1},uEe=Te("".indexOf);Kt({target:"String",proto:!0,forced:!JD("includes")},{includes:function(e){return!!~uEe(jt(bo(this)),jt(YD(e)),arguments.length>1?arguments[1]:void 0)}});var lEe=/"/g,cEe=Te("".replace);Kt({target:"String",proto:!0,forced:Et(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=jt(bo(this)),r="<a",(r+=' name="'+cEe(jt(t),lEe,""")+'"')+">"+n+"</a>";var t,n,r}});var $5=function(e,t,n){var r,o;gn(e);try{if(!(r=kl(e,"return"))){if(t==="throw")throw n;return n}r=vt(r,e)}catch(a){o=!0,r=a}if(t==="throw")throw n;if(o)throw r;return gn(r),n},fEe=function(e,t,n,r){try{return r?t(gn(n)[0],n[1]):t(n)}catch(o){$5(e,"throw",o)}},Cf={},dEe=Qt("iterator"),pEe=Array.prototype,cV=function(e){return e!==void 0&&(Cf.Array===e||pEe[dEe]===e)},zh=function(e,t,n){var r=WD(t);r in e?Zo.f(e,r,Ub(0,n)):e[r]=n},hEe=Qt("iterator"),KD=function(e){if(e!=null)return kl(e,hEe)||kl(e,"@@iterator")||Cf[Vb(e)]},gEe=ye.TypeError,fV=function(e,t){var n=arguments.length<2?KD(e):t;if(Ps(n))return gn(vt(n,e));throw gEe(zb(e)+" is not iterable")},Rj=ye.Array,dV=Qt("iterator"),pV=!1;try{var vEe=0,Mj={next:function(){return{done:!!vEe++}},return:function(){pV=!0}};Mj[dV]=function(){return this},Array.from(Mj,function(){throw 2})}catch{}var XD=function(e,t){if(!pV)return!1;var n=!1;try{var r={};r[dV]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},mEe=!XD(function(e){Array.from(e)});Kt({target:"Array",stat:!0,forced:mEe},{from:function(e){var t=Hs(e),n=Gb(this),r=arguments.length,o=r>1?arguments[1]:void 0,a=o!==void 0;a&&(o=El(o,r>2?arguments[2]:void 0));var i,s,u,l,c,f,d=KD(t),p=0;if(!d||this==Rj&&cV(d))for(i=zl(t),s=n?new this(i):Rj(i);i>p;p++)f=a?o(t[p],p):t[p],zh(s,p,f);else for(c=(l=fV(t,d)).next,s=n?new this:[];!(u=vt(c,l)).done;p++)f=a?fEe(l,o,[u.value,p],!0):u.value,zh(s,p,f);return s.length=p,s}});var qu,zj,Uj,yEe=Te("".charAt),Hj=Te("".charCodeAt),bEe=Te("".slice),wEe=function(e){return function(t,n){var r,o,a=jt(bo(t)),i=qg(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=Hj(a,i))<55296||r>56319||i+1===s||(o=Hj(a,i+1))<56320||o>57343?e?yEe(a,i):r:e?bEe(a,i,i+2):o-56320+(r-55296<<10)+65536}},hV={charAt:wEe(!0)},kEe=!Et(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Wj=VD("IE_PROTO"),j5=ye.Object,EEe=j5.prototype,U1=kEe?j5.getPrototypeOf:function(e){var t=Hs(e);if(hn(t,Wj))return t[Wj];var n=t.constructor;return Lt(n)&&t instanceof n?n.prototype:t instanceof j5?EEe:null},T5=Qt("iterator"),gV=!1;[].keys&&("next"in(Uj=[].keys())?(zj=U1(U1(Uj)))!==Object.prototype&&(qu=zj):gV=!0);var CEe=qu==null||Et(function(){var e={};return qu[T5].call(e)!==e});CEe&&(qu={}),Lt(qu[T5])||Ar(qu,T5,function(){return this});var QD={IteratorPrototype:qu,BUGGY_SAFARI_ITERATORS:gV},SEe=Zo.f,Vj=Qt("toStringTag"),H1=function(e,t,n){e&&!hn(e=n?e:e.prototype,Vj)&&SEe(e,Vj,{configurable:!0,value:t})},_Ee=QD.IteratorPrototype,OEe=function(){return this},DEe=ye.String,AEe=ye.TypeError,Sf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Te(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return gn(r),function(a){if(typeof a=="object"||Lt(a))return a;throw AEe("Can't set "+DEe(a)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),xEe=Zf.PROPER,LEe=Zf.CONFIGURABLE,qj=QD.IteratorPrototype,t0=QD.BUGGY_SAFARI_ITERATORS,Fd=Qt("iterator"),PEe=function(){return this},e7=function(e,t,n,r,o,a,i){(function(v,h,b,w){var k=h+" Iterator";v.prototype=Zb(_Ee,{next:Ub(1,b)}),H1(v,k,!1),Cf[k]=OEe})(n,t,r);var s,u,l,c=function(v){if(v===o&&y)return y;if(!t0&&v in p)return p[v];switch(v){case"keys":case"values":case"entries":return function(){return new n(this,v)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,m=p[Fd]||p["@@iterator"]||o&&p[o],y=!t0&&m||c(o),g=t=="Array"&&p.entries||m;if(g&&(s=U1(g.call(new e)))!==Object.prototype&&s.next&&(U1(s)!==qj&&(Sf?Sf(s,qj):Lt(s[Fd])||Ar(s,Fd,PEe)),H1(s,f,!0)),xEe&&o=="values"&&m&&m.name!=="values"&&(LEe?Ro(p,"name","values"):(d=!0,y=function(){return vt(m,this)})),o)if(u={values:c("values"),keys:a?y:c("keys"),entries:c("entries")},i)for(l in u)(t0||d||!(l in p))&&Ar(p,l,u[l]);else Kt({target:t,proto:!0,forced:t0||d},u);return p[Fd]!==y&&Ar(p,Fd,y,{name:o}),Cf[t]=y,u},$Ee=hV.charAt,jEe=ir.set,TEe=ir.getterFor("String Iterator");e7(String,"String",function(e){jEe(this,{type:"String Iterator",string:jt(e),index:0})},function(){var e,t=TEe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=$Ee(n,r),t.index+=e.length,{value:e,done:!1})});var IE,IEe=Gg.f,Gj=Te("".endsWith),NEe=Te("".slice),BEe=Math.min,vV=JD("endsWith"),FEe=!(vV||(IE=IEe(String.prototype,"endsWith"),!IE||IE.writable));Kt({target:"String",proto:!0,forced:!FEe&&!vV},{endsWith:function(e){var t=jt(bo(this));YD(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=n===void 0?r:BEe(Yf(n),r),a=jt(e);return Gj?Gj(t,a,o):NEe(t,o-a.length,o)===a}});var REe=Te([].join),MEe=qb!=Object,zEe=tV("join",",");Kt({target:"Array",proto:!0,forced:MEe||!zEe},{join:function(e){return REe(Ws(this),e===void 0?",":e)}});var UEe=Qt("species"),Yb=function(e){return Bh>=51||!Et(function(){var t=[];return(t.constructor={})[UEe]=function(){return{foo:1}},t[e](Boolean).foo!==1})},HEe=Jf.map,WEe=Yb("map");Kt({target:"Array",proto:!0,forced:!WEe},{map:function(e){return HEe(this,e,arguments.length>1?arguments[1]:void 0)}});var t7=ye.RegExp,I5=Et(function(){var e=t7("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),VEe=I5||Et(function(){return!t7("a","y").sticky}),Jb={BROKEN_CARET:I5||Et(function(){var e=t7("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:VEe,UNSUPPORTED_Y:I5},qEe=ye.RegExp,n7=Et(function(){var e=qEe(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),GEe=ye.RegExp,r7=Et(function(){var e=GEe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),ZEe=ir.get,YEe=MD("native-string-replace",String.prototype.replace),W1=RegExp.prototype.exec,N5=W1,JEe=Te("".charAt),KEe=Te("".indexOf),XEe=Te("".replace),NE=Te("".slice),BE=function(){var e=/a/,t=/b*/g;return vt(W1,e,"a"),vt(W1,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),Zj=Jb.BROKEN_CARET,FE=/()??/.exec("")[1]!==void 0;(BE||FE||Zj||n7||r7)&&(N5=function(e){var t,n,r,o,a,i,s,u=this,l=ZEe(u),c=jt(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=vt(N5,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=Zj&&u.sticky,m=vt(GD,u),y=u.source,g=0,v=c;if(p&&(m=XEe(m,"y",""),KEe(m,"g")===-1&&(m+="g"),v=NE(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&JEe(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),FE&&(n=new RegExp("^"+y+"$(?!\\s)",m)),BE&&(r=u.lastIndex),o=vt(W1,p?n:u,v),p?o?(o.input=NE(o.input,g),o[0]=NE(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:BE&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),FE&&o&&o.length>1&&vt(YEe,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=Zb(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var Uh=N5;Kt({target:"RegExp",proto:!0,forced:/./.exec!==Uh},{exec:Uh});var o7=Function.prototype,Yj=o7.apply,QEe=o7.bind,Jj=o7.call,i7=typeof Reflect=="object"&&Reflect.apply||(QEe?Jj.bind(Yj):function(){return Jj.apply(Yj,arguments)}),eCe=Qt("species"),RE=RegExp.prototype,a7=function(e,t,n,r){var o=Qt(e),a=!Et(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!Et(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[eCe]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=Te(/./[o]),u=t(o,""[e],function(l,c,f,d,p){var m=Te(l),y=c.exec;return y===Uh||y===RE.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Ar(String.prototype,e,u[0]),Ar(RE,o,u[1])}r&&Ro(RE[o],"sham",!0)},tCe=hV.charAt,s7=function(e,t,n){return t+(n?tCe(e,t).length:1)},nCe=Math.floor,ME=Te("".charAt),rCe=Te("".replace),zE=Te("".slice),oCe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,iCe=/\$([$&'`]|\d{1,2})/g,aCe=function(e,t,n,r,o,a){var i=n+e.length,s=r.length,u=iCe;return o!==void 0&&(o=Hs(o),u=oCe),rCe(a,u,function(l,c){var f;switch(ME(c,0)){case"$":return"$";case"&":return e;case"`":return zE(t,0,n);case"'":return zE(t,i);case"<":f=o[zE(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>s){var p=nCe(d/10);return p===0?l:p<=s?r[p-1]===void 0?ME(c,1):r[p-1]+ME(c,1):l}f=r[d-1]}return f===void 0?"":f})},sCe=ye.TypeError,Hh=function(e,t){var n=e.exec;if(Lt(n)){var r=vt(n,e,t);return r!==null&&gn(r),r}if(Mo(e)==="RegExp")return vt(Uh,e,t);throw sCe("RegExp#exec called on incompatible receiver")},B5=Qt("replace"),uCe=Math.max,lCe=Math.min,cCe=Te([].concat),UE=Te([].push),Kj=Te("".indexOf),Xj=Te("".slice),fCe="a".replace(/./,"$0")==="$0",Qj=!!/./[B5]&&/./[B5]("a","$0")==="";a7("replace",function(e,t,n){var r=Qj?"$":"$0";return[function(o,a){var i=bo(this),s=o==null?void 0:kl(o,B5);return s?vt(s,o,i,a):vt(t,jt(i),o,a)},function(o,a){var i=gn(this),s=jt(o);if(typeof a=="string"&&Kj(a,r)===-1&&Kj(a,"$<")===-1){var u=n(t,i,s,a);if(u.done)return u.value}var l=Lt(a);l||(a=jt(a));var c=i.global;if(c){var f=i.unicode;i.lastIndex=0}for(var d=[];;){var p=Hh(i,s);if(p===null||(UE(d,p),!c))break;jt(p[0])===""&&(i.lastIndex=s7(s,Yf(i.lastIndex),f))}for(var m,y="",g=0,v=0;v<d.length;v++){for(var h=jt((p=d[v])[0]),b=uCe(lCe(qg(p.index),s.length),0),w=[],k=1;k<p.length;k++)UE(w,(m=p[k])===void 0?m:String(m));var C=p.groups;if(l){var E=cCe([h],w,b,s);C!==void 0&&UE(E,C);var D=jt(i7(a,void 0,E))}else D=aCe(h,s,b,w,C,a);b>=g&&(y+=Xj(s,g,b)+D,g=b+h.length)}return y+Xj(s,g)}]},!!Et(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!fCe||Qj);/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var F5=function(e,t){return F5=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])},F5(e,t)};function Kf(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}F5(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var $o=function(){return $o=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},$o.apply(this,arguments)};function uo(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 ct(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function R5(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var dCe=0,eT=function(){this.id=""+dCe++},pCe=ir.set,hCe=ir.getterFor("Array Iterator"),Vp=e7(Array,"Array",function(e,t){pCe(this,{type:"Array Iterator",target:Ws(e),index:0,kind:t})},function(){var e=hCe(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");Cf.Arguments=Cf.Array,oh("keys"),oh("values"),oh("entries");var _f=function(e,t,n){for(var r in t)Ar(e,r,t[r],n);return e},gCe=ye.Array,vCe=Math.max,M5=function(e,t,n){for(var r=zl(e),o=Ef(t,r),a=Ef(n===void 0?r:n,r),i=gCe(vCe(a-o,0)),s=0;o<a;o++,s++)zh(i,s,e[o]);return i.length=s,i},tT=Rh.f,nT=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],mCe={f:function(e){return nT&&Mo(e)=="Window"?function(t){try{return tT(t)}catch{return M5(nT)}}(e):tT(Ws(e))}},rT=Et(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),n0=Object.isExtensible,Pu=Et(function(){n0(1)})||rT?function(e){return!!Mt(e)&&(!rT||Mo(e)!="ArrayBuffer")&&(!n0||n0(e))}:n0,yCe=!Et(function(){return Object.isExtensible(Object.preventExtensions({}))}),Kb=Vg(function(e){var t=Zo.f,n=!1,r=zD("meta"),o=0,a=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},i=e.exports={enable:function(){i.enable=function(){},n=!0;var s=Rh.f,u=Te([].splice),l={};l[r]=1,s(l).length&&(Rh.f=function(c){for(var f=s(c),d=0,p=f.length;d<p;d++)if(f[d]===r){u(f,d,1);break}return f},Kt({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:mCe.f}))},fastKey:function(s,u){if(!Mt(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!hn(s,r)){if(!Pu(s))return"F";if(!u)return"E";a(s)}return s[r].objectID},getWeakData:function(s,u){if(!hn(s,r)){if(!Pu(s))return!0;if(!u)return!1;a(s)}return s[r].weakData},onFreeze:function(s){return yCe&&n&&Pu(s)&&!hn(s,r)&&a(s),s}};Wb[r]=!0}),bCe=ye.TypeError,mm=function(e,t){this.stopped=e,this.result=t},oT=mm.prototype,Wh=function(e,t,n){var r,o,a,i,s,u,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),m=El(t,c),y=function(v){return r&&$5(r,"normal",v),new mm(!0,v)},g=function(v){return f?(gn(v),p?m(v[0],v[1],y):m(v[0],v[1])):p?m(v,y):m(v)};if(d)r=e;else{if(!(o=KD(e)))throw bCe(zb(e)+" is not iterable");if(cV(o)){for(a=0,i=zl(e);i>a;a++)if((s=g(e[a]))&&wl(oT,s))return s;return new mm(!1)}r=fV(e,o)}for(u=r.next;!(l=vt(u,r)).done;){try{s=g(l.value)}catch(v){$5(r,"throw",v)}if(typeof s=="object"&&s&&wl(oT,s))return s}return new mm(!1)},wCe=ye.TypeError,Xb=function(e,t){if(wl(t,e))return e;throw wCe("Incorrect invocation")},mV=function(e,t,n){var r,o;return Sf&&Lt(r=t.constructor)&&r!==n&&Mt(o=r.prototype)&&o!==n.prototype&&Sf(e,o),e},yV=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,a=r?"set":"add",i=ye[e],s=i&&i.prototype,u=i,l={},c=function(g){var v=Te(s[g]);Ar(s,g,g=="add"?function(h){return v(this,h===0?0:h),this}:g=="delete"?function(h){return!(o&&!Mt(h))&&v(this,h===0?0:h)}:g=="get"?function(h){return o&&!Mt(h)?void 0:v(this,h===0?0:h)}:g=="has"?function(h){return!(o&&!Mt(h))&&v(this,h===0?0:h)}:function(h,b){return v(this,h===0?0:h,b),this})};if(Mh(e,!Lt(i)||!(o||s.forEach&&!Et(function(){new i().entries().next()}))))u=n.getConstructor(t,e,r,a),Kb.enable();else if(Mh(e,!0)){var f=new u,d=f[a](o?{}:-0,1)!=f,p=Et(function(){f.has(1)}),m=XD(function(g){new i(g)}),y=!o&&Et(function(){for(var g=new i,v=5;v--;)g[a](v,v);return!g.has(-0)});m||((u=t(function(g,v){Xb(g,s);var h=mV(new i,g,u);return v!=null&&Wh(v,h[a],{that:h,AS_ENTRIES:r}),h})).prototype=s,s.constructor=u),(p||y)&&(c("delete"),c("has"),r&&c("get")),(y||d)&&c(a),o&&s.clear&&delete s.clear}return l[e]=u,Kt({global:!0,forced:u!=i},l),H1(u,e),o||n.setStrong(u,e,r),u},r0=Kb.getWeakData,kCe=ir.set,ECe=ir.getterFor,CCe=Jf.find,SCe=Jf.findIndex,_Ce=Te([].splice),OCe=0,o0=function(e){return e.frozen||(e.frozen=new bV)},bV=function(){this.entries=[]},HE=function(e,t){return CCe(e.entries,function(n){return n[0]===t})};bV.prototype={get:function(e){var t=HE(this,e);if(t)return t[1]},has:function(e){return!!HE(this,e)},set:function(e,t){var n=HE(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=SCe(this.entries,function(n){return n[0]===e});return~t&&_Ce(this.entries,t,1),!!~t}};var Rd,wV={getConstructor:function(e,t,n,r){var o=e(function(u,l){Xb(u,a),kCe(u,{type:t,id:OCe++,frozen:void 0}),l!=null&&Wh(l,u[r],{that:u,AS_ENTRIES:n})}),a=o.prototype,i=ECe(t),s=function(u,l,c){var f=i(u),d=r0(gn(l),!0);return d===!0?o0(f).set(l,c):d[f.id]=c,u};return _f(a,{delete:function(u){var l=i(this);if(!Mt(u))return!1;var c=r0(u);return c===!0?o0(l).delete(u):c&&hn(c,l.id)&&delete c[l.id]},has:function(u){var l=i(this);if(!Mt(u))return!1;var c=r0(u);return c===!0?o0(l).has(u):c&&hn(c,l.id)}}),_f(a,n?{get:function(u){var l=i(this);if(Mt(u)){var c=r0(u);return c===!0?o0(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),o}},i0=ir.enforce,DCe=!ye.ActiveXObject&&"ActiveXObject"in ye,kV=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},ACe=yV("WeakMap",kV,wV);if(YW&&DCe){Rd=wV.getConstructor(kV,"WeakMap",!0),Kb.enable();var Md=ACe.prototype,iT=Te(Md.delete),a0=Te(Md.has),aT=Te(Md.get),sT=Te(Md.set);_f(Md,{delete:function(e){if(Mt(e)&&!Pu(e)){var t=i0(this);return t.frozen||(t.frozen=new Rd),iT(this,e)||t.frozen.delete(e)}return iT(this,e)},has:function(e){if(Mt(e)&&!Pu(e)){var t=i0(this);return t.frozen||(t.frozen=new Rd),a0(this,e)||t.frozen.has(e)}return a0(this,e)},get:function(e){if(Mt(e)&&!Pu(e)){var t=i0(this);return t.frozen||(t.frozen=new Rd),a0(this,e)?aT(this,e):t.frozen.get(e)}return aT(this,e)},set:function(e,t){if(Mt(e)&&!Pu(e)){var n=i0(this);n.frozen||(n.frozen=new Rd),a0(this,e)?sT(this,e,t):n.frozen.set(e,t)}else sT(this,e,t);return this}})}var WE=Qt("iterator"),uT=Qt("toStringTag"),VE=Vp.values,EV=function(e,t){if(e){if(e[WE]!==VE)try{Ro(e,WE,VE)}catch{e[WE]=VE}if(e[uT]||Ro(e,uT,t),R1[t]){for(var n in Vp)if(e[n]!==Vp[n])try{Ro(e,n,Vp[n])}catch{e[n]=Vp[n]}}}};for(var qE in R1)EV(ye[qE]&&ye[qE].prototype,qE);EV(KW,"DOMTokenList");var z5=new WeakMap,U5=new WeakMap,xCe=new WeakMap,u7=new WeakMap,H5=new WeakMap,V1=new WeakMap,CV=new WeakMap,W5=new WeakMap,ym=new WeakMap,lT=new WeakMap,cT=new WeakMap,fT=new WeakMap,dT=new WeakMap,Vh=new WeakMap,Of=new WeakMap,l7=new WeakMap,q1=new WeakMap,V5=new WeakMap,G1=new WeakMap,bm=new WeakMap,SV=new WeakMap,Gu=new WeakMap,GE=new WeakMap,pT=new WeakMap,ZE=new WeakMap,LCe=Jf.find,hT=!0;"find"in[]&&Array(1).find(function(){hT=!1}),Kt({target:"Array",proto:!0,forced:hT},{find:function(e){return LCe(this,e,arguments.length>1?arguments[1]:void 0)}}),oh("find"),Kt({global:!0},{globalThis:ye});const PCe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];P1&&(T.fn.css=P1),yo&&(T.fn.append=yo),ff&&(T.fn.addClass=ff),df&&(T.fn.removeClass=df),pf&&(T.fn.hasClass=pf),Di&&(T.fn.on=Di),Ls&&(T.fn.focus=Ls),mo&&(T.fn.attr=mo),D1&&(T.fn.removeAttr=D1),gf&&(T.fn.hide=gf),L1&&(T.fn.show=L1),L$&&(T.fn.offset=L$),A1&&(T.fn.width=A1),x1&&(T.fn.height=x1),vf&&(T.fn.parent=vf),T1&&(T.fn.parents=T1),$$&&(T.fn.is=$$),hf&&(T.fn.dataset=hf),Oi&&(T.fn.val=Oi),j1&&(T.fn.text=j1),xs&&(T.fn.html=xs),yf&&(T.fn.children=yf),bf&&(T.fn.remove=bf),mf&&(T.fn.find=mf),$1&&(T.fn.each=$1),wf&&(T.fn.empty=wf);var ci,er,c7=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},xo=function(e){return Cl(e)&&e.nodeType===1},Cl=function(e){var t=c7(e);return!!t&&e instanceof t.Node},gT=function(e){var t=e&&e.anchorNode&&c7(e.anchorNode);return!!t&&e instanceof t.Selection},_V=function(e){return Cl(e)&&e.nodeType===3},q5=function(e){var t,n,r;return(t=window.document.getElementById(e))!==null&&t!==void 0?t:((r=(n=window.document.activeElement)===null||n===void 0?void 0:n.shadowRoot)===null||r===void 0?void 0:r.getElementById(e))||null},OV=function(e,t,n){for(var r,o=e.childNodes,a=o[t],i=t,s=!1,u=!1;(Cl(r=a)&&r.nodeType===8||xo(a)&&a.childNodes.length===0||xo(a)&&a.getAttribute("contenteditable")==="false")&&(!s||!u);)i>=o.length?(s=!0,i=t-1,n="backward"):i<0?(u=!0,i=t+1,n="forward"):(a=o[i],t=i,i+=n==="forward"?1:-1);return[a,t]},$Ce=function(e,t,n){return ct(OV(e,t,n),1)[0]},jCe=function e(t){var n,r,o="";if(_V(t)&&t.nodeValue)return t.nodeValue;if(xo(t)){try{for(var a=uo(Array.from(t.childNodes)),i=a.next();!i.done;i=a.next())o+=e(i.value)}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}var s=getComputedStyle(t).getPropertyValue("display");s!=="block"&&s!=="list"&&s!=="table-row"&&t.tagName!=="BR"||(o+=`
- `)}return o};function DV(e,t){if(!(e instanceof HTMLElement&&e.dataset.slateVoid==="true"))for(var n=e.childNodes,r=n.length;r--;){var o=n[r],a=o.nodeType;a==3?t(o,e):a!=1&&a!=9&&a!=11||DV(o,t)}}function vT(e){if(e.length===0)return"";var t=e[0];return t.nodeType!==ci.ELEMENT_NODE?"":t.tagName.toLowerCase()}(er=ci||(ci={}))[er.ELEMENT_NODE=1]="ELEMENT_NODE",er[er.TEXT_NODE=3]="TEXT_NODE",er[er.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",er[er.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",er[er.COMMENT_NODE=8]="COMMENT_NODE",er[er.DOCUMENT_NODE=9]="DOCUMENT_NODE",er[er.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",er[er.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE";var G5=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),ih=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),zd=typeof navigator<"u"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),TCe=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),ICe=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),Z5=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),Ud=!ICe&&!TCe&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",P={getWindow:function(e){var t=SV.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=bm.get(t);return n||(n=new eT,bm.set(t,n)),n},setNewKey:function(e){var t=new eT;bm.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var o=Of.get(r);if(o==null){if(S.isEditor(r))return n;break}var a=Vh.get(r);if(a==null)break;n.unshift(a),r=o}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=P.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&n.getSelection!=null?n:t.ownerDocument},getParentNode:function(e,t){return Of.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&r!=null;){var o=P.getParentNode(e,r);if(o==null)break;n.push(o),r=o}return n},getTopNode:function(e,t){var n=[P.findPath(e,t)[0]];return we.get(e,n)},toDOMNode:function(e,t){var n;if(S.isEditor(t))n=l7.get(e);else{var r=P.findKey(e,t);n=V5.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){n===void 0&&(n={});var r,o=n.editable,a=o!==void 0&&o,i=P.toDOMNode(e,e);try{r=xo(t)?t:t.parentElement}catch(s){if(!s.message.includes('Permission denied to access property "nodeType"'))throw s}return!!r&&r.closest("[data-slate-editor]")===i&&(!a||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=ee.isBackward(t),a=P.toDOMPoint(e,n),i=ee.isCollapsed(t)?a:P.toDOMPoint(e,r),s=P.getWindow(e).document.createRange(),u=ct(o?i:a,2),l=u[0],c=u[1],f=ct(o?a:i,2),d=f[0],p=f[1],m=!!(xo(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),y=!!(xo(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,m?1:c),s.setEnd(d,y?1:p),s},toDOMPoint:function(e,t){var n,r,o,a=ct(S.node(e,t.path),1)[0],i=P.toDOMNode(e,a);S.void(e,{at:t})&&(t={path:t.path,offset:0});var s=Array.from(i.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),u=0;try{for(var l=uo(s),c=l.next();!c.done;c=l.next()){var f=c.value,d=f.childNodes[0];if(d!=null&&d.textContent!=null){var p=d.textContent.length,m=f.getAttribute("data-slate-length"),y=u+(m==null?p:parseInt(m,10));if(t.offset<=y){o=[d,Math.min(p,Math.max(0,t.offset-u))];break}u=y}}}catch(g){n={error:g}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return o},toSlateNode:function(e,t){var n=xo(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?q1.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,o=t.target;if(n==null||r==null)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);var a,i=P.toSlateNode(e,t.target),s=P.findPath(e,i);if(S.isVoid(e,i)){var u=o.getBoundingClientRect(),l=e.isInline(i)?n-u.left<u.left+u.width-n:r-u.top<u.top+u.height-r,c=S.point(e,s,{edge:l?"start":"end"}),f=l?S.before(e,c):S.after(e,c);if(f)return S.range(e,f)}var d=this.getWindow(e).document;if(d.caretRangeFromPoint)a=d.caretRangeFromPoint(n,r);else{var p=d.caretPositionFromPoint(n,r);p&&((a=d.createRange()).setStart(p.offsetNode,p.offset),a.setEnd(p.offsetNode,p.offset))}if(!a)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);return P.toSlateRange(e,a,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,o,a,i,s,u=n.exactMatch,l=n.suppressThrow;if((gT(t)?t.anchorNode:t.startContainer)&&(gT(t)?(r=t.anchorNode,o=t.anchorOffset,a=t.focusNode,i=t.focusOffset,s=Z5&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,a=t.endContainer,i=t.endOffset,s=t.collapsed)),r==null||a==null||o==null||i==null)throw new Error("Cannot resolve a Slate range from DOM range: "+t);var c=P.toSlatePoint(e,[r,o],{exactMatch:u,suppressThrow:l});if(!c)return null;var f=s?c:P.toSlatePoint(e,[a,i],{exactMatch:u,suppressThrow:l});if(!f)return null;var d={anchor:c,focus:f};return ee.isExpanded(d)&&ee.isForward(d)&&xo(a)&&S.void(e,{at:d.focus,mode:"highest"})&&(d=S.unhangRange(e,d,{voids:!0})),d},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,a=n.suppressThrow,i=ct(o?t:function(h){var b,w=ct(h,2),k=w[0],C=w[1];if(xo(k)&&k.childNodes.length){var E=C===k.childNodes.length,D=E?C-1:C;for(k=(b=ct(OV(k,D,E?"backward":"forward"),2))[0],E=(D=b[1])<C;xo(k)&&k.childNodes.length;){var A=E?k.childNodes.length-1:0;k=$Ce(k,A,E?"backward":"forward")}C=E&&k.textContent!=null?k.textContent.length:0}return[k,C]}(t),2),s=i[0],u=i[1],l=s.parentNode,c=null,f=0;if(l){var d=l.closest('[data-slate-void="true"]'),p=l.closest("[data-slate-leaf]"),m=null;if(p){c=p.closest('[data-slate-node="text"]');var y=P.getWindow(e).document.createRange();y.setStart(c,0),y.setEnd(s,u);var g=y.cloneContents();R5(R5([],ct(D$(g.querySelectorAll("[data-slate-zero-width]")))),ct(D$(g.querySelectorAll("[contenteditable=false]")))).forEach(function(h){h.parentNode.removeChild(h)}),f=g.textContent.length,m=c}else d&&((p=d.querySelector("[data-slate-leaf]"))?(c=p.closest('[data-slate-node="text"]'),f=(m=p).textContent.length,m.querySelectorAll("[data-slate-zero-width]").forEach(function(h){f-=h.textContent.length})):f=1);m&&f===m.textContent.length&&(l.hasAttribute("data-slate-zero-width")||ih&&(!((r=m.textContent)===null||r===void 0)&&r.endsWith(`
- `)))&&f--}if(!c){if(a)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t)}var v=P.toSlateNode(e,c);return{path:P.findPath(e,v),offset:f}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return S.hasPath(e,n.path)&&S.hasPath(e,r.path)},getNodeType:function(e){return $e.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map(function(t){return we.string(t)}).join("")},getSelectedElems:function(e){var t,n,r=[],o=S.nodes(e,{universal:!0});try{for(var a=uo(o),i=a.next();!i.done;i=a.next()){var s=ct(i.value,1)[0];$e.isElement(s)&&r.push(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=ct(S.nodes(e,{match:function(a){return n.checkNodeType(a,t)},universal:!0}),1),o=r[0];return o==null?null:o[0]},getSelectedTextNode:function(e){var t=ct(S.nodes(e,{match:function(r){return Oe.isText(r)},universal:!0}),1),n=t[0];return n==null?null:n[0]},isNodeSelected:function(e,t){var n=ct(S.nodes(e,{match:function(o){return o===t},universal:!0}),1),r=n[0];return r!=null&&ct(r,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(S.isEnd(e,n.anchor,t)||S.isEnd(e,n.focus,t))},getTextarea:function(e){var t=z5.get(e);if(t==null)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return u7.get(e)||null},getHoverbar:function(e){return V1.get(e)||null},normalizeContent:function(e){e.children.forEach(function(t,n){e.normalizeNode([t,[n]])})},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if(typeof n!="number"||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,o,a=P.getTextarea(e).$textArea,i=a==null?void 0:a[0].childNodes;if(i)try{for(var s=uo(Array.from(i)),u=s.next();!u.done;u=s.next()){var l=u.value;if(l.nodeType!==3)break;l.remove()}}catch(y){t={error:y}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}var c=S.nodes(e,{match:function(y){return!(!$e.isElement(y)||e.isInline(y))},universal:!0});try{for(var f=uo(c),d=f.next();!d.done;d=f.next()){var p=d.value;if(p!=null){var m=p[0];DV(P.toDOMNode(e,m),function(y,g){var v=T(g);v.attr("data-slate-string")||v.attr("data-slate-zero-width")||v.attr("data-w-e-reserve")||g.removeChild(y)})}}}catch(y){r={error:y}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=S.nodes(e,{match:function(s){return e.isVoid(s)}}),o=0;try{for(var a=uo(r),i=a.next();!i.done;i=a.next())i.value,o++}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(t==null||ee.isExpanded(t))return!1;var n=P.getSelectedNodeByType(e,"paragraph");if(n===null)return!1;var r=n.children;return r.length===1&&(r[0].text===""||void 0)},isEmptyPath:function(e,t){var n=S.node(e,t);if(n==null)return!1;var r=ct(n,1)[0].children;return r.length===1&&r[0].text===""}},NCe=1,AV={},Z1={},BCe=Jf.filter,FCe=Yb("filter");Kt({target:"Array",proto:!0,forced:!FCe},{filter:function(e){return BCe(this,e,arguments.length>1?arguments[1]:void 0)}});var Y5=`
- \v\f\r \u2028\u2029\uFEFF`,mT=Te("".replace),Y1="["+Y5+"]",RCe=RegExp("^"+Y1+Y1+"*"),MCe=RegExp(Y1+Y1+"*$"),zCe=function(e){return function(t){var n=jt(bo(t));return 1&e&&(n=mT(n,RCe,"")),2&e&&(n=mT(n,MCe,"")),n}},UCe={trim:zCe(3)},HCe=Zf.PROPER,WCe=UCe.trim;Kt({target:"String",proto:!0,forced:function(e){return Et(function(){return!!Y5[e]()||"
"[e]()!=="
"||HCe&&Y5[e].name!==e})}("trim")},{trim:function(){return WCe(this)}});var J5=[],xV={};function VCe(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"}var qh,ac,yT,YE,J1=ye.Promise,bT=Qt("species"),f7=function(e){var t=Ml(e),n=Zo.f;Mn&&t&&!t[bT]&&n(t,bT,{configurable:!0,get:function(){return this}})},qCe=ye.TypeError,GCe=Qt("species"),LV=function(e,t){var n,r=gn(e).constructor;return r===void 0||(n=gn(r)[GCe])==null?t:function(o){if(Gb(o))return o;throw qCe(zb(o)+" is not a constructor")}(n)},PV=Te([].slice),$V=/(?:ipad|iphone|ipod).*applewebkit/i.test(Zc),fs=Mo(ye.process)=="process",K5=ye.setImmediate,wT=ye.clearImmediate,ZCe=ye.process,JE=ye.Dispatch,YCe=ye.Function,kT=ye.MessageChannel,JCe=ye.String,KE=0,ah={};try{qh=ye.location}catch{}var d7=function(e){if(hn(ah,e)){var t=ah[e];delete ah[e],t()}},XE=function(e){return function(){d7(e)}},ET=function(e){d7(e.data)},CT=function(e){ye.postMessage(JCe(e),qh.protocol+"//"+qh.host)};K5&&wT||(K5=function(e){var t=PV(arguments,1);return ah[++KE]=function(){i7(Lt(e)?e:YCe(e),void 0,t)},ac(KE),KE},wT=function(e){delete ah[e]},fs?ac=function(e){ZCe.nextTick(XE(e))}:JE&&JE.now?ac=function(e){JE.now(XE(e))}:kT&&!$V?(YE=(yT=new kT).port2,yT.port1.onmessage=ET,ac=El(YE.postMessage,YE)):ye.addEventListener&&Lt(ye.postMessage)&&!ye.importScripts&&qh&&qh.protocol!=="file:"&&!Et(CT)?(ac=CT,ye.addEventListener("message",ET,!1)):ac="onreadystatechange"in Fh("script")?function(e){x5.appendChild(Fh("script")).onreadystatechange=function(){x5.removeChild(this),d7(e)}}:function(e){setTimeout(XE(e),0)});var Hd,Ou,sh,jc,QE,eC,tC,ST,jV={set:K5},KCe=/ipad|iphone|ipod/i.test(Zc)&&ye.Pebble!==void 0,XCe=/web0s(?!.*chrome)/i.test(Zc),QCe=Gg.f,nC=jV.set,_T=ye.MutationObserver||ye.WebKitMutationObserver,OT=ye.document,DT=ye.process,s0=ye.Promise,AT=QCe(ye,"queueMicrotask"),TV=AT&&AT.value;TV||(Hd=function(){var e,t;for(fs&&(e=DT.domain)&&e.exit();Ou;){t=Ou.fn,Ou=Ou.next;try{t()}catch(n){throw Ou?jc():sh=void 0,n}}sh=void 0,e&&e.enter()},$V||fs||XCe||!_T||!OT?!KCe&&s0&&s0.resolve?((tC=s0.resolve(void 0)).constructor=s0,ST=El(tC.then,tC),jc=function(){ST(Hd)}):fs?jc=function(){DT.nextTick(Hd)}:(nC=El(nC,ye),jc=function(){nC(Hd)}):(QE=!0,eC=OT.createTextNode(""),new _T(Hd).observe(eC,{characterData:!0}),jc=function(){eC.data=QE=!QE}));var rC,xT,IV,LT,NV=TV||function(e){var t={fn:e,next:void 0};sh&&(sh.next=t),Ou||(Ou=t,jc()),sh=t},eSe=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=Ps(t),this.reject=Ps(n)},p7={f:function(e){return new eSe(e)}},X5=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},tSe=typeof window=="object",BV=jV.set,nSe=Qt("species"),si="Promise",PT=ir.getterFor(si),rSe=ir.set,oSe=ir.getterFor(si),bu=J1&&J1.prototype,hi=J1,Wd=bu,FV=ye.TypeError,Q5=ye.document,h7=ye.process,Jc=p7.f,iSe=Jc,aSe=!!(Q5&&Q5.createEvent&&ye.dispatchEvent),RV=Lt(ye.PromiseRejectionEvent),MV=!1,uh=Mh(si,function(){var e=Hb(hi),t=e!==String(hi);if(!t&&Bh===66)return!0;if(Bh>=51&&/native code/.test(e))return!1;var n=new hi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[nSe]=r,!(MV=n.then(function(){})instanceof r)||!t&&tSe&&!RV}),sSe=uh||!XD(function(e){hi.all(e).catch(function(){})}),zV=function(e){var t;return!(!Mt(e)||!Lt(t=e.then))&&t},g7=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;NV(function(){for(var r=e.value,o=e.state==1,a=0;n.length>a;){var i,s,u,l=n[a++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(e.rejection===2&&lSe(e),e.rejection=1),c===!0?i=r:(p&&p.enter(),i=c(r),p&&(p.exit(),u=!0)),i===l.promise?d(FV("Promise-chain cycle")):(s=zV(i))?vt(s,i,f,d):f(i)):d(r)}catch(m){p&&!u&&p.exit(),d(m)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&uSe(e)})}},UV=function(e,t,n){var r,o;aSe?((r=Q5.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),ye.dispatchEvent(r)):r={promise:t,reason:n},!RV&&(o=ye["on"+e])?o(r):e==="unhandledrejection"&&function(a,i){var s=ye.console;s&&s.error&&(arguments.length==1?s.error(a):s.error(a,i))}("Unhandled promise rejection",n)},uSe=function(e){vt(BV,ye,function(){var t,n=e.facade,r=e.value;if($T(e)&&(t=X5(function(){fs?h7.emit("unhandledRejection",r,n):UV("unhandledrejection",n,r)}),e.rejection=fs||$T(e)?2:1,t.error))throw t.value})},$T=function(e){return e.rejection!==1&&!e.parent},lSe=function(e){vt(BV,ye,function(){var t=e.facade;fs?h7.emit("rejectionHandled",t):UV("rejectionhandled",t,e.value)})},Hc=function(e,t,n){return function(r){e(t,r,n)}},Kc=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,g7(e,!0))},e8=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw FV("Promise can't be resolved itself");var r=zV(t);r?NV(function(){var o={done:!1};try{vt(r,t,Hc(e8,o,e),Hc(Kc,o,e))}catch(a){Kc(o,a,e)}}):(e.value=t,e.state=1,g7(e,!1))}catch(o){Kc({done:!1},o,e)}}};if(uh&&(Wd=(hi=function(e){Xb(this,Wd),Ps(e),vt(rC,this);var t=PT(this);try{e(Hc(e8,t),Hc(Kc,t))}catch(n){Kc(t,n)}}).prototype,(rC=function(e){rSe(this,{type:si,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=_f(Wd,{then:function(e,t){var n=oSe(this),r=n.reactions,o=Jc(LV(this,hi));return o.ok=!Lt(e)||e,o.fail=Lt(t)&&t,o.domain=fs?h7.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&g7(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),xT=function(){var e=new rC,t=PT(e);this.promise=e,this.resolve=Hc(e8,t),this.reject=Hc(Kc,t)},p7.f=Jc=function(e){return e===hi||e===IV?new xT(e):iSe(e)},Lt(J1)&&bu!==Object.prototype)){LT=bu.then,MV||(Ar(bu,"then",function(e,t){var n=this;return new hi(function(r,o){vt(LT,n,r,o)}).then(e,t)},{unsafe:!0}),Ar(bu,"catch",Wd.catch,{unsafe:!0}));try{delete bu.constructor}catch{}Sf&&Sf(bu,Wd)}Kt({global:!0,wrap:!0,forced:uh},{Promise:hi}),H1(hi,si,!1),f7(si),IV=Ml(si),Kt({target:si,stat:!0,forced:uh},{reject:function(e){var t=Jc(this);return vt(t.reject,void 0,e),t.promise}}),Kt({target:si,stat:!0,forced:uh},{resolve:function(e){return function(t,n){if(gn(t),Mt(n)&&n.constructor===t)return n;var r=p7.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Kt({target:si,stat:!0,forced:sSe},{all:function(e){var t=this,n=Jc(t),r=n.resolve,o=n.reject,a=X5(function(){var i=Ps(t.resolve),s=[],u=0,l=1;Wh(e,function(c){var f=u++,d=!1;l++,vt(i,t,c).then(function(p){d||(d=!0,s[f]=p,--l||r(s))},o)}),--l||r(s)});return a.error&&o(a.value),n.promise},race:function(e){var t=this,n=Jc(t),r=n.reject,o=X5(function(){var a=Ps(t.resolve);Wh(e,function(i){vt(a,t,i).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var sc=Jb.UNSUPPORTED_Y,cSe=Math.min,HV=[].push,fSe=Te(/./.exec),uc=Te(HV),Vd=Te("".slice);function Wo(e){Promise.resolve().then(e)}function WV(e,t){return $e.isElement(e)?function(n,r){var o=n.type,a=o===void 0?"":o,i=n.children,s=i===void 0?[]:i,u=S.isVoid(r,n),l="";u||(l=s.map(function(v){return WV(v,r)}).join(""));var c=function(v){return xV[v]||VCe}(a),f=c(n,l,r),d="";if(d=typeof f=="string"?f:f.html||"",u||J5.forEach(function(v){return d=v(n,d)}),typeof f=="string")return d;var p=f.prefix,m=p===void 0?"":p,y=f.suffix,g=y===void 0?"":y;return m&&(d=m+d),g&&(d+=g),d}(e,t):function(n,r){var o=n.text;if(o==null)throw new Error("Current node is not slate Text "+JSON.stringify(n));var a=o;a=function(u){return u.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™")}(a);var i=P.getParentsNodes(r,n).some(function(u){return P.getNodeType(u)==="pre"});if(i||(a=a.replace(/\r\n|\r|\n/g,"<br>")),i&&(a=a.replace(/ /g," ")),a===""){var s=P.getParentNode(null,n);if(!s||s.children.length!==0)return a;a="<br>"}return J5.forEach(function(u){return a=u(n,a)}),a}(e,t)}function VV(e){return"w-e-element-"+e}a7("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,a){var i=jt(bo(this)),s=a===void 0?4294967295:a>>>0;if(s===0)return[];if(o===void 0)return[i];if(!ZD(o))return vt(t,i,o,s);for(var u,l,c,f=[],d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),p=0,m=new RegExp(o.source,d+"g");(u=vt(Uh,m,i))&&!((l=m.lastIndex)>p&&(uc(f,Vd(i,p,u.index)),u.length>1&&u.index<i.length&&i7(HV,f,M5(u,1)),c=u[0].length,p=l,f.length>=s));)m.lastIndex===u.index&&m.lastIndex++;return p===i.length?!c&&fSe(m,"")||uc(f,""):uc(f,Vd(i,p)),f.length>s?M5(f,0,s):f}:"0".split(void 0,0).length?function(o,a){return o===void 0&&a===0?[]:vt(t,this,o,a)}:t,[function(o,a){var i=bo(this),s=o==null?void 0:kl(o,e);return s?vt(s,o,i,a):vt(r,jt(i),o,a)},function(o,a){var i=gn(this),s=jt(o),u=n(r,i,s,a,r!==t);if(u.done)return u.value;var l=LV(i,RegExp),c=i.unicode,f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(sc?"g":"y"),d=new l(sc?"^(?:"+i.source+")":i,f),p=a===void 0?4294967295:a>>>0;if(p===0)return[];if(s.length===0)return Hh(d,s)===null?[s]:[];for(var m=0,y=0,g=[];y<s.length;){d.lastIndex=sc?0:y;var v,h=Hh(d,sc?Vd(s,y):s);if(h===null||(v=cSe(Yf(d.lastIndex+(sc?y:0)),s.length))===m)y=s7(s,y,c);else{if(uc(g,Vd(s,m,y)),g.length===p)return g;for(var b=1;b<=h.length-1;b++)if(uc(g,h[b]),g.length===p)return g;y=m=v}}return uc(g,Vd(s,m)),g}]},!!Et(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"}),sc);var jT=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},TT=function(e,t,n){var r=P.toDOMRange(e,t).getBoundingClientRect(),o=P.toDOMRange(e,n).getBoundingClientRect();return jT(r,o)&&jT(o,r)},qV=["span","b","strong","i","em","s","strike","u","font","sub","sup"],GV=[],v7=[],K1={},dSe=Zo.f,pSe=Rh.f,hSe=ir.enforce,gSe=Qt("match"),Qi=ye.RegExp,Tc=Qi.prototype,vSe=ye.SyntaxError,mSe=Te(GD),ySe=Te(Tc.exec),u0=Te("".charAt),IT=Te("".replace),NT=Te("".indexOf),bSe=Te("".slice),wSe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Zu=/a/g,oC=/a/g,kSe=new Qi(Zu)!==Zu,ZV=Jb.MISSED_STICKY,ESe=Jb.UNSUPPORTED_Y,CSe=Mn&&(!kSe||ZV||n7||r7||Et(function(){return oC[gSe]=!1,Qi(Zu)!=Zu||Qi(oC)==oC||Qi(Zu,"i")!="/a/i"}));if(Mh("RegExp",CSe)){for(var Ia=function(e,t){var n,r,o,a,i,s,u=wl(Tc,this),l=ZD(e),c=t===void 0,f=[],d=e;if(!u&&l&&c&&e.constructor===Ia)return e;if((l||wl(Tc,e))&&(e=e.source,c&&(t="flags"in d?d.flags:mSe(d))),e=e===void 0?"":jt(e),t=t===void 0?"":jt(t),d=e,n7&&"dotAll"in Zu&&(r=!!t&&NT(t,"s")>-1)&&(t=IT(t,/s/g,"")),n=t,ZV&&"sticky"in Zu&&(o=!!t&&NT(t,"y")>-1)&&ESe&&(t=IT(t,/y/g,"")),r7&&(a=function(p){for(var m,y=p.length,g=0,v="",h=[],b={},w=!1,k=!1,C=0,E="";g<=y;g++){if((m=u0(p,g))==="\\")m+=u0(p,++g);else if(m==="]")w=!1;else if(!w)switch(!0){case m==="[":w=!0;break;case m==="(":ySe(wSe,bSe(p,g+1))&&(g+=2,k=!0),v+=m,C++;continue;case(m===">"&&k):if(E===""||hn(b,E))throw new vSe("Invalid capture group name");b[E]=!0,h[h.length]=[E,C],k=!1,E="";continue}k?E+=m:v+=m}return[v,h]}(e),e=a[0],f=a[1]),i=mV(Qi(e,t),u?this:Tc,Ia),(r||o||f.length)&&(s=hSe(i),r&&(s.dotAll=!0,s.raw=Ia(function(p){for(var m,y=p.length,g=0,v="",h=!1;g<=y;g++)(m=u0(p,g))!=="\\"?h||m!=="."?(m==="["?h=!0:m==="]"&&(h=!1),v+=m):v+="[\\s\\S]":v+=m+u0(p,++g);return v}(e),n)),o&&(s.sticky=!0),f.length&&(s.groups=f)),e!==d)try{Ro(i,"source",d===""?"(?:)":d)}catch{}return i},SSe=function(e){e in Ia||dSe(Ia,e,{configurable:!0,get:function(){return Qi[e]},set:function(t){Qi[e]=t}})},BT=pSe(Qi),FT=0;BT.length>FT;)SSe(BT[FT++]);Tc.constructor=Ia,Ia.prototype=Tc,Ar(ye,"RegExp",Ia)}f7("RegExp");var _Se=new RegExp(" ","g");function YV(e){return e.replace(_Se," ")}function RT(e,t){var n=e.length;if(n){var r=e[n-1];if(Oe.isText(r)){var o=Object.keys(r);if(o.length===1&&o[0]==="text")return r.text=r.text+t,!0}}return!1}function OSe(e,t,n){return{type:"paragraph",children:[{text:T(e).text().replace(/\s+/gm," ")}]}}function iC(e,t){var n=function(a,i){var s=[];if(a.attr("data-w-e-is-void")!=null)return s;var u=a[0].childNodes;return u.length===1&&u[0].nodeName==="BR"?(s.push({text:""}),s):(u.forEach(function(l){if(l.nodeType!==ci.ELEMENT_NODE){if(l.nodeType===ci.TEXT_NODE){var c=l.textContent||"";if(c.trim()===""&&c.indexOf(`
- `)>=0)return;c&&(c=YV(c),RT(s,c)||s.push({text:c}))}}else{if(l.nodeName==="BR")return void(RT(s,`
- `)||s.push({text:`
- `}));var f=m7(T(l),i);Array.isArray(f)?f.forEach(function(d){return s.push(d)}):s.push(f)}}),s)}(e,t),r=function(a){for(var i in K1)if(a[0].matches(i))return K1[i];return OSe}(e),o=r(e[0],n,t);return Array.isArray(o)||(o=[o]),o.forEach(function(a){S.isVoid(t,a)||(n.length===0&&(a.children=[{text:e.text().replace(/\s+/gm," ")}]),v7.forEach(function(i){a=i(e[0],a,t)}))}),o}function aC(e,t){e.parents("pre").length===0&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,`
- `));var n=e[0].textContent||"";n=function(o){return o.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™").replace(/"/g,'"')}(n);var r={text:n=YV(n)};return v7.forEach(function(o){r=o(e[0],r,t)}),r}function m7(e,t){GV.forEach(function(r){var o=r.selector,a=r.preParseHtml;e[0].matches(o)&&(e=T(a(e[0])))});var n=vT(e);return n==="span"?e.attr("data-w-e-type")?iC(e,t):aC(e,t):n==="code"?vT(e.parent())==="pre"?iC(e,t):aC(e,t):qV.includes(n)?aC(e,t):iC(e,t)}function DSe(e,t,n){var r=T(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t)}),!1)}function MT(e,t){t===void 0&&(t="");var n=[];t===""&&(t="<p><br></p>"),t.indexOf("<")!==0&&(t=t.split(/\n/).map(function(o){return"<p>"+o+"</p>"}).join(""));var r=T("<div>"+t+"</div>");return Array.from(r.children()).forEach(function(o){var a=m7(T(o),e);Array.isArray(a)?a.forEach(function(i){return n.push(i)}):n.push(a)}),n}var ASe=Zo.f,zT=Kb.fastKey,UT=ir.set,sC=ir.getterFor,xSe={getConstructor:function(e,t,n,r){var o=e(function(l,c){Xb(l,a),UT(l,{type:t,index:Zb(null),first:void 0,last:void 0,size:0}),Mn||(l.size=0),c!=null&&Wh(c,l[r],{that:l,AS_ENTRIES:n})}),a=o.prototype,i=sC(t),s=function(l,c,f){var d,p,m=i(l),y=u(l,c);return y?y.value=f:(m.last=y={index:p=zT(c,!0),key:c,value:f,previous:d=m.last,next:void 0,removed:!1},m.first||(m.first=y),d&&(d.next=y),Mn?m.size++:l.size++,p!=="F"&&(m.index[p]=y)),l},u=function(l,c){var f,d=i(l),p=zT(c);if(p!=="F")return d.index[p];for(f=d.first;f;f=f.next)if(f.key==c)return f};return _f(a,{clear:function(){for(var l=i(this),c=l.index,f=l.first;f;)f.removed=!0,f.previous&&(f.previous=f.previous.next=void 0),delete c[f.index],f=f.next;l.first=l.last=void 0,Mn?l.size=0:this.size=0},delete:function(l){var c=this,f=i(c),d=u(c,l);if(d){var p=d.next,m=d.previous;delete f.index[d.index],d.removed=!0,m&&(m.next=p),p&&(p.previous=m),f.first==d&&(f.first=p),f.last==d&&(f.last=m),Mn?f.size--:c.size--}return!!d},forEach:function(l){for(var c,f=i(this),d=El(l,arguments.length>1?arguments[1]:void 0);c=c?c.next:f.first;)for(d(c.value,c.key,this);c&&c.removed;)c=c.previous},has:function(l){return!!u(this,l)}}),_f(a,n?{get:function(l){var c=u(this,l);return c&&c.value},set:function(l,c){return s(this,l===0?0:l,c)}}:{add:function(l){return s(this,l=l===0?0:l,l)}}),Mn&&ASe(a,"size",{get:function(){return i(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=sC(t),a=sC(r);e7(e,t,function(i,s){UT(this,{type:r,target:i,state:o(i),kind:s,last:void 0})},function(){for(var i=a(this),s=i.kind,u=i.last;u&&u.removed;)u=u.previous;return i.target&&(i.last=u=u?u.next:i.state.first)?s=="keys"?{value:u.key,done:!1}:s=="values"?{value:u.value,done:!1}:{value:[u.key,u.value],done:!1}:(i.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),f7(t)}};yV("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},xSe);var HT=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function WT(e,t){e.isInline(t)?(e.insertNode(t),t.type==="link"&&e.insertFragment([{text:""}])):Z.insertNodes(e,t,{mode:"highest"})}var LSe=function(e){var t=e,n=t.insertText;return t.insertFragment,t.setFragmentData=function(r){var o=t.selection;if(o){var a=ct(ee.edges(o),2),i=a[0],s=a[1],u=S.void(t,{at:i.path}),l=S.void(t,{at:s.path});if(!ee.isCollapsed(o)||u){var c=P.toDOMRange(t,o),f=c.cloneContents(),d=f.childNodes[0];if(f.childNodes.forEach(function(k){k.textContent&&k.textContent.trim()!==""&&(d=k)}),l){var p=ct(l,1)[0],m=c.cloneRange(),y=P.toDOMNode(t,p);m.setEndAfter(y),f=m.cloneContents()}if(u&&(d=f.querySelector("[data-slate-spacer]")),Array.from(f.querySelectorAll("[data-slate-zero-width]")).forEach(function(k){var C=k.getAttribute("data-slate-zero-width")==="n";k.textContent=C?`
- `:""}),_V(d)){var g=d.ownerDocument.createElement("span");g.style.whiteSpace="pre",g.appendChild(d),f.appendChild(g),d=g}var v=t.getFragment(),h=JSON.stringify(v),b=window.btoa(encodeURIComponent(h));d.setAttribute("data-slate-fragment",b),r.setData("application/x-slate-fragment",b);var w=f.ownerDocument.createElement("div");return w.appendChild(f),w.setAttribute("hidden","true"),f.ownerDocument.body.appendChild(w),r.setData("text/html",w.innerHTML),r.setData("text/plain",jCe(w)),f.ownerDocument.body.removeChild(w),r}}},t.insertData=function(r){var o,a,i=r.getData("application/x-slate-fragment");if(i){var s=decodeURIComponent(window.atob(i)),u=JSON.parse(s);t.insertFragment(u)}else{var l=r.getData("text/plain"),c=r.getData("text/html");if(c)t.dangerouslyInsertHtml(c);else if(l){var f=l.split(/\r\n|\r|\n/),d=!1;try{for(var p=uo(f),m=p.next();!m.done;m=p.next()){var y=m.value;d&&Z.splitNodes(t,{always:!0}),n(y),d=!0}}catch(g){o={error:g}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}}},t},qp=function(e){return e!=null},PSe={object:!0,function:!0,undefined:!0},$Se=/^\s*class[\s{/}]/,jSe=Function.prototype.toString,VT=function(e){return!!function(t){if(typeof t!="function"||!hasOwnProperty.call(t,"length"))return!1;try{if(typeof t.length!="number"||typeof t.call!="function"||typeof t.apply!="function")return!1}catch{return!1}return!function(n){if(!function(r){return!!qp(r)&&hasOwnProperty.call(PSe,typeof r)}(n))return!1;try{return!!n.constructor&&n.constructor.prototype===n}catch{return!1}}(t)}(e)&&!$Se.test(jSe.call(e))},y7=function(e){return e!=null},TSe=Object.keys,ISe=function(){try{return Object.keys("primitive"),!0}catch{return!1}}()?Object.keys:function(e){return TSe(y7(e)?Object(e):e)},NSe=function(e){if(!y7(e))throw new TypeError("Cannot use null or undefined");return e},BSe=Math.max,qT=function(){var e,t=Object.assign;return typeof t=="function"&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,a=BSe(arguments.length,2);for(e=Object(NSe(e)),o=function(i){try{e[i]=t[i]}catch(s){n||(n=s)}},r=1;r<a;++r)ISe(t=arguments[r]).forEach(o);if(n!==void 0)throw n;return e},FSe=Array.prototype.forEach,RSe=Object.create,MSe=function(e,t){var n;for(n in e)t[n]=e[n]},GT=function(e){var t=RSe(null);return FSe.call(arguments,function(n){y7(n)&&MSe(Object(n),t)}),t},uC="razdwatrzy",zSe=String.prototype.indexOf,qd=typeof uC.contains=="function"&&uC.contains("dwa")===!0&&uC.contains("foo")===!1?String.prototype.contains:function(e){return zSe.call(this,e,arguments[1])>-1},l0=Vg(function(e){var t=e.exports=function(n,r){var o,a,i,s,u;return arguments.length<2||typeof n!="string"?(s=r,r=n,n=null):s=arguments[2],qp(n)?(o=qd.call(n,"c"),a=qd.call(n,"e"),i=qd.call(n,"w")):(o=i=!0,a=!1),u={value:r,configurable:o,enumerable:a,writable:i},s?qT(GT(s),u):u};t.gs=function(n,r,o){var a,i,s,u;return typeof n!="string"?(s=o,o=r,r=n,n=null):s=arguments[3],qp(r)?VT(r)?qp(o)?VT(o)||(s=o,o=void 0):o=void 0:(s=r,r=o=void 0):r=void 0,qp(n)?(a=qd.call(n,"c"),i=qd.call(n,"e")):(a=!0,i=!1),u={get:r,set:o,configurable:a,enumerable:i},s?qT(GT(s),u):u}}),lC=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},USe=Vg(function(e,t){var n,r,o,a,i,s,u,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,d=Object.defineProperty,p=Object.defineProperties,m=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};n=function(g,v){var h;return lC(v),m.call(this,"__ee__")?h=this.__ee__:(h=y.value=f(null),d(this,"__ee__",y),y.value=null),h[g]?typeof h[g]=="object"?h[g].push(v):h[g]=[h[g],v]:h[g]=v,this},r=function(g,v){var h,b;return lC(v),b=this,n.call(this,g,h=function(){o.call(b,g,h),l.call(v,this,arguments)}),h.__eeOnceListener__=v,this},o=function(g,v){var h,b,w,k;if(lC(v),!m.call(this,"__ee__"))return this;if(!(h=this.__ee__)[g])return this;if(typeof(b=h[g])=="object")for(k=0;w=b[k];++k)w!==v&&w.__eeOnceListener__!==v||(b.length===2?h[g]=b[k?0:1]:b.splice(k,1));else b!==v&&b.__eeOnceListener__!==v||delete h[g];return this},a=function(g){var v,h,b,w,k;if(m.call(this,"__ee__")&&(w=this.__ee__[g]))if(typeof w=="object"){for(h=arguments.length,k=new Array(h-1),v=1;v<h;++v)k[v-1]=arguments[v];for(w=w.slice(),v=0;b=w[v];++v)l.call(b,this,k)}else switch(arguments.length){case 1:c.call(w,this);break;case 2:c.call(w,this,arguments[1]);break;case 3:c.call(w,this,arguments[1],arguments[2]);break;default:for(h=arguments.length,k=new Array(h-1),v=1;v<h;++v)k[v-1]=arguments[v];l.call(w,this,k)}},i={on:n,once:r,off:o,emit:a},s={on:l0(n),once:l0(r),off:l0(o),emit:l0(a)},u=p({},s),e.exports=t=function(g){return g==null?f(u):p(Object(g),s)},t.methods=i});function c0(e){var t=pT.get(e);return t==null&&(t=USe(),pT.set(e,t)),t}var X1=new WeakMap;function ZT(e,t){var n=X1.get(e);n==null&&(n=new Set,X1.set(e,n)),n.add(t)}function HSe(e){return X1.get(e)||new Set}function WSe(e){X1.set(e,new Set)}function b7(e){var t=P.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r}}function w7(e){var t={top:"0",left:"0"},n=e.selection;if(n==null)return t;var r=b7(e);if(r==null)return t;var o=r.top,a=r.left,i=r.width,s=r.height,u=P.toDOMRange(e,n).getClientRects()[0];if(u==null)return t;u.width;var l=u.height,c={},f=u.top-o,d=u.left-a;if(d>i/2){var p=i-d;c.right=p+5+"px"}else c.left=d+5+"px";if(f>s/2){var m=s-f;c.bottom=m+5+"px"}else{var y=f+l;y<0&&(y=0),c.top=y+5+"px"}return c}function k7(e,t,n){n===void 0&&(n="modal");var r={top:"0",left:"0"};if(e.selection==null)return r;var o=$e.isElement(t)&&e.isVoid(t),a=$e.isElement(t)&&e.isInline(t),i=G1.get(t);if(i==null)return r;var s=i.getBoundingClientRect(),u=s.top,l=s.left,c=s.height,f=s.width;if(o){var d=function(E){var D=[];D.push(E);for(var A=0;D.length>0;){var B=D.pop();if(B==null||++A>1e4)break;var q=B.nodeName;if(B.nodeType===1){var R=q.toLowerCase();if(PCe.includes(R)||R==="iframe"||R==="video")return B;var ie=B.children||[],K=ie.length;if(K)for(var te=K-1;te>=0;te--)D.push(ie[te])}}return null}(i);if(d!=null){var p=d.getBoundingClientRect();u=p.top,c=p.height}}var m=b7(e);if(m==null)return r;var y,g=m.top,v=m.left,h=m.width,b=m.height,w={},k=u-g,C=l-v;if(n==="bar")return w.left=C+"px",k>40?w.bottom=b-k+5+"px":w.top=k+c+5+"px",w;if(n==="modal")return o?a?C>(h-f)/2?w.right=h-C+5+"px":w.left=C+f+5+"px":w.left="20px":w.left=C+"px",o?((y=k)<0&&(y=0),w.top=y+"px"):k>(b-c)/2?w.bottom=b-k+5+"px":((y=k+c)<0&&(y=0),w.top=y+5+"px"),w;throw new Error("type '"+n+"' is invalid")}function t8(e,t){Wo(function(){var n=b7(e);if(n!=null){var r,o=n.top,a=n.left,i=n.width,s=n.height,u=t.offset(),l=u.top,c=u.left,f=t.width(),d=t.height(),p=l-o,m=c-a,y=t.attr("style");if(y.indexOf("top")>=0&&(r=p+d-s)>0){var g=t.css("top"),v=parseInt(g.toString())-r;v<0&&(v=0),t.css("top",v+"px")}if(y.indexOf("bottom")>=0&&l<0){var h=t.css("bottom"),b=parseInt(h.toString())-Math.abs(l);t.css("bottom",b+"px")}if(y.indexOf("left")>=0&&(r=m+f-i)>0){var w=t.css("left"),k=parseInt(w.toString())-r;k<0&&(k=0),t.css("left",k+"px")}if(y.indexOf("right")>=0&&c<0){var C=t.css("right"),E=parseInt(C.toString())-Math.abs(c);t.css("right",E+"px")}}})}var VSe=Yb("slice"),qSe=Qt("species"),cC=ye.Array,GSe=Math.max;Kt({target:"Array",proto:!0,forced:!VSe},{slice:function(e,t){var n,r,o,a=Ws(this),i=zl(a),s=Ef(e,i),u=Ef(t===void 0?i:t,i);if(M1(a)&&(n=a.constructor,(Gb(n)&&(n===cC||M1(n.prototype))||Mt(n)&&(n=n[qSe])===null)&&(n=void 0),n===cC||n===void 0))return PV(a,s,u);for(r=new(n===void 0?cC:n)(GSe(u-s,0)),o=0;s<u;s++,o++)s in a&&zh(r,o,a[s]);return r.length=o,r}});var ZSe=Gg.f,YT=Te("".startsWith),YSe=Te("".slice),JSe=Math.min,JV=JD("startsWith"),KSe=!JV&&!!function(){var e=ZSe(String.prototype,"startsWith");return e&&!e.writable}();Kt({target:"String",proto:!0,forced:!KSe&&!JV},{startsWith:function(e){var t=jt(bo(this));YD(e);var n=Yf(JSe(arguments.length>1?arguments[1]:void 0,t.length)),r=jt(e);return YT?YT(t,r,n):YSe(t,n,n+r.length)===r}});var lc=Object.assign,JT=Object.defineProperty,XSe=Te([].concat),KT=!lc||Et(function(){if(Mn&&lc({b:1},lc(JT({},"a",{enumerable:!0,get:function(){JT(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||Yc(lc({},t)).join("")!=r})?function(e,t){for(var n=Hs(e),r=arguments.length,o=1,a=aV.f,i=rV.f;r>o;)for(var s,u=qb(arguments[o++]),l=a?XSe(Yc(u),a(u)):Yc(u),c=l.length,f=0;c>f;)s=l[f++],Mn&&!vt(i,u,s)||(n[s]=u[s]);return n}:lc;Kt({target:"Object",stat:!0,forced:Object.assign!==KT},{assign:KT});var QSe=["props","attrs","style","dataset","on","hook"];function KV(e){var t=e.data,n=t===void 0?{}:t,r=e.children,o=r===void 0?[]:r;Object.keys(n).forEach(function(a){var i,s,u=n[a];if(a!=="key"){if(!QSe.includes(a)){if(a.startsWith("data-")){var l=a.slice(5);return l=bwe(l),function(c,f){c.data==null&&(c.data={});var d=c.data;d.dataset==null&&(d.dataset={}),Object.assign(d.dataset,f)}(e,((i={})[l]=u,i)),void delete n[a]}(function(c,f){c.data==null&&(c.data={});var d=c.data;d.props==null&&(d.props={}),Object.assign(d.props,f)})(e,(s={},s[a]=u,s)),delete n[a]}}else e.key=u}),o.length>0&&o.forEach(function(a){typeof a!="string"&&KV(a)})}var n8=[],XV={};function e_e(e,t,n){return ze(n.isInline(e)?"span":"div",null,t)}function XT(e,t){return t===void 0&&(t=!1),ze("span",{"data-slate-string":!0},t?e+`
- `:e)}function fC(e,t){return e===void 0&&(e=0),t===void 0&&(t=!1),ze("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\uFEFF",t?ze("br",null):null)}function r8(e,t,n,r){return Vh.set(e,t),Of.set(e,n),$e.isElement(e)?function(o,a){var i,s=P.findKey(a,o),u=a.isInline(o),l=S.isVoid(a,o),c=VV(s.id),f={id:c,key:s.id,"data-slate-node":"element","data-slate-inline":u},d=o.type,p=o.children,m=p===void 0?[]:p,y=function(k){return XV[k]||e_e}(d);i=l?null:m.map(function(k,C){return r8(k,C,o,a)});var g=y(o,i,a);if(l){f["data-slate-void"]=!0;var v=u?"span":"div",h=ct(we.texts(o),1),b=ct(h[0],1)[0],w=ze(v,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},r8(b,0,o,a));g=ze(v,{style:{position:"relative"}},g,w),Vh.set(b,0),Of.set(b,o)}return g.data==null&&(g.data={}),Object.assign(g.data,f),l||u||(g=function(k,C){var E=C;return n8.forEach(function(D){E=D(k,C)}),E}(o,g)),Wo(function(){var k=q5(c);k!=null&&(V5.set(s,k),G1.set(o,k),q1.set(k,o))}),g}(e,r):function(o,a,i){if(o.text==null)throw new Error("Current node is not slate Text "+JSON.stringify(o));var s=P.findKey(i,o),u=i.getConfig().decorate;if(u==null)throw new Error("Can not get config.decorate");var l=P.findPath(i,o),c=u([o,l]),f=Oe.decorations(o,c),d=f.map(function(y,g){var v=function(h,b,w,k,C){b===void 0&&(b=!1);var E=h.text,D=P.findPath(C,w),A=V.parent(D);if(S.isEditor(k))throw new Error("Text node "+JSON.stringify(w)+" parent is Editor");return C.isVoid(k)?fC(we.string(k).length):E!==""||k.children[k.children.length-1]!==w||C.isInline(k)||S.string(C,A)!==""?E===""?fC():b&&E.slice(-1)===`
- `?XT(E,!0):XT(E):fC(0,!0)}(y,g===f.length-1,o,a,i);return v=function(h,b){var w=b;return n8.forEach(function(k){w=k(h,w)}),w}(y,v),ze("span",{"data-slate-leaf":!0},v)}),p=function(y){return"w-e-text-"+y}(s.id),m=ze("span",{"data-slate-node":"text",id:p,key:s.id},d);return Wo(function(){var y=q5(p);y!=null&&(V5.set(s,y),G1.set(o,y),q1.set(y,o))}),m}(e,n,r)}function t_e(e,t){var n,r=e.$scroll,o=function(y){return"w-e-textarea-"+y}(e.id),a=t.getConfig(),i=a.readOnly,s=a.autoFocus,u=function(y,g){return g===void 0&&(g=!1),kf("div#"+y,{props:{contentEditable:!g}})}(o,i),l=t.children||[];u.children=l.map(function(y,g){var v=r8(y,g,t,t);return KV(v),v});var c=cT.get(e);if(c==null&&(c=!0),c){var f=function(y,g){return T(`<div
- id="`+y+`"
- data-slate-editor
- data-slate-node="value"
- suppressContentEditableWarning
- role="textarea"
- spellCheck="true"
- autoCorrect="true"
- autoCapitalize="true"
- ></div>`)}(o);r.append(f),e.$textArea=f,n=f[0],(p=z2e([H2e,G2e,Y2e,W2e,q2e,U2e]))(n,u),cT.set(e,!1),fT.set(e,p)}else{var d=dT.get(e),p=fT.get(e);if(d==null||p==null)return;n=d.elm,p(d,u)}if(n!=null||(n=q5(o))!=null){if((c?s:t.isFocused())&&n.focus({preventScroll:!0}),c){var m=c7(n);m&&SV.set(t,m)}l7.set(t,n),G1.set(t,n),q1.set(n,t),dT.set(e,u)}}function QT(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function eI(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function dC(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return eI(n.overflowY,t)||eI(n.overflowX,t)||function(r){var o=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)}(e)}return!1}function f0(e,t,n,r,o,a,i,s){return a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>n?i-t+o:0}function tI(e,t){var n=window,r=t.scrollMode,o=t.block,a=t.inline,i=t.boundary,s=t.skipOverflowHiddenElements,u=typeof i=="function"?i:function(Ae){return Ae!==i};if(!QT(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=e;QT(f)&&u(f);){if((f=f.parentElement)===l){c.push(f);break}f!=null&&f===document.body&&dC(f)&&!dC(document.documentElement)||f!=null&&dC(f,s)&&c.push(f)}for(var d=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,h=g.width,b=g.top,w=g.right,k=g.bottom,C=g.left,E=o==="start"||o==="nearest"?b:o==="end"?k:b+v/2,D=a==="center"?C+h/2:a==="end"?w:C,A=[],B=0;B<c.length;B++){var q=c[B],R=q.getBoundingClientRect(),ie=R.height,K=R.width,te=R.top,F=R.right,U=R.bottom,Y=R.left;if(r==="if-needed"&&b>=0&&C>=0&&k<=p&&w<=d&&b>=te&&k<=U&&C>=Y&&w<=F)return A;var I=getComputedStyle(q),j=parseInt(I.borderLeftWidth,10),_=parseInt(I.borderTopWidth,10),O=parseInt(I.borderRightWidth,10),L=parseInt(I.borderBottomWidth,10),M=0,J=0,W="offsetWidth"in q?q.offsetWidth-q.clientWidth-j-O:0,he="offsetHeight"in q?q.offsetHeight-q.clientHeight-_-L:0;if(l===q)M=o==="start"?E:o==="end"?E-p:o==="nearest"?f0(y,y+p,p,_,L,y+E,y+E+v,v):E-p/2,J=a==="start"?D:a==="center"?D-d/2:a==="end"?D-d:f0(m,m+d,d,j,O,m+D,m+D+h,h),M=Math.max(0,M+y),J=Math.max(0,J+m);else{M=o==="start"?E-te-_:o==="end"?E-U+L+he:o==="nearest"?f0(te,U,ie,_,L+he,E,E+v,v):E-(te+ie/2)+he/2,J=a==="start"?D-Y-j:a==="center"?D-(Y+K/2)+W/2:a==="end"?D-F+O+W:f0(Y,F,K,j,O+W,D,D+h,h);var Ee=q.scrollLeft,De=q.scrollTop;E+=De-(M=Math.max(0,Math.min(De+M,q.scrollHeight-ie+he))),D+=Ee-(J=Math.max(0,Math.min(Ee+J,q.scrollWidth-K+W)))}A.push({el:q,top:M,left:J})}return A}function nI(e){return e===Object(e)&&Object.keys(e).length!==0}function ro(e,t){return Cl(t)&&P.hasDOMNode(e,t,{editable:!0})}function rI(e,t){if(e.getConfig().readOnly)return!1;var n=Ic(e,t)&&P.toSlateNode(e,t);return S.isVoid(e,n)}function Ic(e,t){return Cl(t)&&P.hasDOMNode(e,t)}function QV(e,t,n){n===void 0&&(n=!1);var r=t.selection,o=t.getConfig(),a=P.findDocumentOrShadowRoot(t).getSelection();if(a&&(!e.isComposing||n)&&t.isFocused()){var i=a.type!=="None";if(r||i){var s=l7.get(t),u=!1;if(s.contains(a.anchorNode)&&s.contains(a.focusNode)&&(u=!0),i&&u&&r){var l=P.toSlateRange(t,a,{exactMatch:!0,suppressThrow:!0});if(l&&ee.equals(l,r)){var c=!0;if(ee.isCollapsed(r)){var f=a.anchorNode,d=a.anchorOffset;if(f===s){var p=s.childNodes,m=void 0;(m=p[d])&&m.matches("table")&&(c=!1),(m=p[d-1])&&m.matches("table")&&(c=!1)}}if(c)return}}if(!r||P.hasRange(t,r)){e.isUpdatingSelection=!0;var y=r&&P.toDOMRange(t,r);if(y){ee.isBackward(r)?a.setBaseAndExtent(y.endContainer,y.endOffset,y.startContainer,y.startOffset):a.setBaseAndExtent(y.startContainer,y.startOffset,y.endContainer,y.endOffset);var g=y.startContainer.parentElement;if(!g.closest("[data-slate-spacer]")){g.getBoundingClientRect=y.getBoundingClientRect.bind(y);var v=document.body;(function(h,b){var w=!h.ownerDocument.documentElement.contains(h);if(nI(b)&&typeof b.behavior=="function")return b.behavior(w?[]:tI(h,b));if(!w){var k=function(C){return C===!1?{block:"end",inline:"nearest"}:nI(C)?C:{block:"start",inline:"nearest"}}(b);(function(C,E){E===void 0&&(E="auto");var D="scrollBehavior"in document.body.style;C.forEach(function(A){var B=A.el,q=A.top,R=A.left;B.scroll&&D?B.scroll({top:q,left:R,behavior:E}):(B.scrollTop=q,B.scrollLeft=R)})})(tI(h,k),k.behavior)}})(g,{scrollMode:"if-needed",boundary:o.scroll?s.parentElement:v,block:"end",behavior:"smooth"}),delete g.getBoundingClientRect}}else a.removeAllRanges();setTimeout(function(){y&&ih&&s.focus(),e.isUpdatingSelection=!1})}else t.selection=P.toSlateRange(t,a,{exactMatch:!1,suppressThrow:!1})}}}var pC=new WeakMap,oI=new WeakMap,n_e={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"},r_e={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"},o_e={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Vt=function(e){var t=n_e[e],n=r_e[e],r=o_e[e],o=t&&dE(t),a=n&&dE(n),i=r&&dE(r);return function(s){return!(!o||!o(s))||!!(G5&&a&&a(s))||!(G5||!i||!i(s))}},Yt={isBold:Vt("bold"),isCompose:Vt("compose"),isMoveBackward:Vt("moveBackward"),isMoveForward:Vt("moveForward"),isDeleteBackward:Vt("deleteBackward"),isDeleteForward:Vt("deleteForward"),isDeleteLineBackward:Vt("deleteLineBackward"),isDeleteLineForward:Vt("deleteLineForward"),isDeleteWordBackward:Vt("deleteWordBackward"),isDeleteWordForward:Vt("deleteWordForward"),isExtendBackward:Vt("extendBackward"),isExtendForward:Vt("extendForward"),isExtendLineBackward:Vt("extendLineBackward"),isExtendLineForward:Vt("extendLineForward"),isItalic:Vt("italic"),isMoveLineBackward:Vt("moveLineBackward"),isMoveLineForward:Vt("moveLineForward"),isMoveWordBackward:Vt("moveWordBackward"),isMoveWordForward:Vt("moveWordForward"),isRedo:Vt("redo"),isSplitBlock:Vt("splitBlock"),isTransposeCharacter:Vt("transposeCharacter"),isUndo:Vt("undo"),isTab:Vt("tab"),isSelectAll:Vt("selectAll")};function kn(e){e.preventDefault()}var i_e={beforeinput:function(e,t,n){var r=e,o=n.getConfig().readOnly;if(Ud&&!o&&ro(n,r.target)){var a=n.selection,i=r.inputType,s=r.dataTransfer||r.data||void 0;if(i!=="insertCompositionText"&&i!=="deleteCompositionText"){if(r.preventDefault(),!i.startsWith("delete")||i.startsWith("deleteBy")){var u=ct(r.getTargetRanges(),1)[0];if(u){var l=P.toSlateRange(n,u,{exactMatch:!1,suppressThrow:!1});a&&ee.equals(a,l)||Z.select(n,l)}}if(a&&ee.isExpanded(a)&&i.startsWith("delete")){var c=i.endsWith("Backward")?"backward":"forward";S.deleteFragment(n,{direction:c})}else switch(i){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":S.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":S.deleteForward(n);break;case"deleteContentBackward":S.deleteBackward(n);break;case"deleteEntireSoftLine":S.deleteBackward(n,{unit:"line"}),S.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":S.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":S.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":S.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":S.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":S.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":S.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":S.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(i==="insertFromPaste"&&!ZE.get(n))break;s instanceof DataTransfer?n.insertData(s):typeof s=="string"&&S.insertText(n,s)}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,a=t.latestElement;if(!n.getConfig().readOnly&&!o&&ro(n,r.target)){var i=P.findDocumentOrShadowRoot(n);if(a!==i.activeElement){var s=r.relatedTarget;if(!(s===P.toDOMNode(n,n)||xo(s)&&s.hasAttribute("data-slate-spacer"))){if(s!=null&&Cl(s)&&P.hasDOMNode(n,s)){var u=P.toSlateNode(n,s);if($e.isElement(u)&&!n.isVoid(u))return}if(zd){var l=i.getSelection();l==null||l.removeAllRanges()}Gu.delete(n)}}}},focus:function(e,t,n){var r=P.toDOMNode(n,n),o=P.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,ih&&e.target!==r?r.focus():Gu.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&Ic(n,e.target)&&Cl(e.target)){var r=P.toSlateNode(n,e.target),o=P.findPath(n,r);if(S.hasPath(n,o)&&we.get(n,o)===r){var a=S.start(n,o),i=S.end(n,o),s=S.void(n,{at:a}),u=S.void(n,{at:i});if(s&&u&&V.equals(s[1],u[1])){var l=S.range(n,a);Z.select(n,l)}}}},compositionstart:function(e,t,n){if(ro(n,e.target)){var r=n.selection;if(r&&ee.isExpanded(r)&&(S.deleteFragment(n),Promise.resolve().then(function(){QV(t,n,!0)})),r&&ee.isCollapsed(r)){var o=P.toDOMRange(n,r).startContainer,a=o.textContent||"";pC.set(n,a),oI.set(n,o)}t.isComposing=!0,function(i,s){var u;s.getConfig().placeholder&&s.isEmpty()&&i.showPlaceholder&&((u=i.$placeholder)===null||u===void 0||u.hide(),i.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(ro(n,r.target)){t.isComposing=!1;var o=n.selection;if(o!=null){(Z5||ih)&&P.cleanExposedTexNodeInSelectionBlock(n);for(var a=ee.isBackward(o)?o.focus:o.anchor,i=ct(S.node(n,[a.path[0]]),1)[0],s=0;s<a.path.length;s++){var u=ct(S.node(n,a.path.slice(0,s+1)),1)[0];if($e.isElement(u)&&((zd||ih)&&u.type==="link"||u.type==="code")){P.setNewKey(i);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=P.getLeftLengthOfMaxLength(n);c<l.length?(P.toDOMRange(n,o).startContainer.textContent=pC.get(n)||"",c>0&&S.insertText(n,l.slice(0,c)),t.changeViewState()):S.insertText(n,l)}else S.insertText(n,l);zd||setTimeout(function(){var f=n.selection;if(f!=null){var d=oI.get(n);d!=null&&P.toDOMRange(n,f).startContainer!==d&&(d.textContent=pC.get(n)||"")}})}}}},compositionupdate:function(e,t,n){ro(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,o=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&ro(n,r.target)){if(function(i,s){var u=u7.get(i),l=u&&u.getMenus(),c=V1.get(i),f=c&&c.getMenus(),d=$o($o({},l),f);for(var p in d){var m=d[p],y=m.hotkey;if(y&&Ewe(y,s)&&!m.isDisabled(i)){var g=m.getValue(i);m.exec(i,g)}}}(n,r),Yt.isTab(r))return kn(r),void n.handleTab();if(Yt.isRedo(r))return kn(r),void(typeof n.redo=="function"&&n.redo());if(Yt.isUndo(r))return kn(r),void(typeof n.undo=="function"&&n.undo());if(Yt.isMoveLineBackward(r))return kn(r),void Z.move(n,{unit:"line",reverse:!0});if(Yt.isMoveLineForward(r))return kn(r),void Z.move(n,{unit:"line"});if(Yt.isExtendLineBackward(r))return kn(r),void Z.move(n,{unit:"line",edge:"focus",reverse:!0});if(Yt.isExtendLineForward(r))return kn(r),void Z.move(n,{unit:"line",edge:"focus"});if(Yt.isMoveBackward(r))return kn(r),void(o&&ee.isCollapsed(o)?Z.move(n,{reverse:!0}):Z.collapse(n,{edge:"start"}));if(Yt.isMoveForward(r))return kn(r),void(o&&ee.isCollapsed(o)?Z.move(n):Z.collapse(n,{edge:"end"}));if(Yt.isMoveWordBackward(r))return kn(r),o&&ee.isExpanded(o)&&Z.collapse(n,{edge:"focus"}),void Z.move(n,{unit:"word",reverse:!0});if(Yt.isMoveWordForward(r))return kn(r),o&&ee.isExpanded(o)&&Z.collapse(n,{edge:"focus"}),void Z.move(n,{unit:"word"});if(Yt.isSelectAll(r))return kn(r),void n.selectAll();if(Ud){if((Z5||zd)&&o&&(Yt.isDeleteBackward(r)||Yt.isDeleteForward(r))&&ee.isCollapsed(o)){var a=we.parent(n,o.anchor.path);if($e.isElement(a)&&S.isVoid(n,a)&&S.isInline(n,a))return r.preventDefault(),void Z.delete(n,{unit:"block"})}}else{if(Yt.isBold(r)||Yt.isItalic(r)||Yt.isTransposeCharacter(r))return void kn(r);if(Yt.isSplitBlock(r))return kn(r),void S.insertBreak(n);if(Yt.isDeleteBackward(r))return kn(r),void(o&&ee.isExpanded(o)?S.deleteFragment(n,{direction:"backward"}):S.deleteBackward(n));if(Yt.isDeleteForward(r))return kn(r),void(o&&ee.isExpanded(o)?S.deleteFragment(n,{direction:"forward"}):S.deleteForward(n));if(Yt.isDeleteLineBackward(r))return kn(r),void(o&&ee.isExpanded(o)?S.deleteFragment(n,{direction:"backward"}):S.deleteBackward(n,{unit:"line"}));if(Yt.isDeleteLineForward(r))return kn(r),void(o&&ee.isExpanded(o)?S.deleteFragment(n,{direction:"forward"}):S.deleteForward(n,{unit:"line"}));if(Yt.isDeleteWordBackward(r))return kn(r),void(o&&ee.isExpanded(o)?S.deleteFragment(n,{direction:"backward"}):S.deleteBackward(n,{unit:"word"}));if(Yt.isDeleteWordForward(r))return kn(r),void(o&&ee.isExpanded(o)?S.deleteFragment(n,{direction:"forward"}):S.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!Ud&&!n.getConfig().readOnly&&ro(n,e.target)){e.preventDefault();var r=e.key;S.insertText(n,r)}},copy:function(e,t,n){var r=e;if(ro(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&&ro(n,r.target)){r.preventDefault();var a=r.clipboardData;if(a!=null&&(n.setFragmentData(a),o))if(ee.isExpanded(o))S.deleteFragment(n);else{var i=we.parent(n,o.anchor.path);S.isVoid(n,i)&&Z.delete(n)}}},paste:function(e,t,n){ZE.set(n,!0);var r=e;if(!n.getConfig().readOnly&&ro(n,r.target)){var o=n.getConfig().customPaste;if(o&&o(n,r)===!1)return void ZE.set(n,!1);if(!Ud||function(i){return i.clipboardData&&i.clipboardData.getData("text/plain")!==""&&i.clipboardData.types.length===1}(r)){r.preventDefault();var a=r.clipboardData;a!=null&&n.insertData(a)}}},dragover:function(e,t,n){if(Ic(n,e.target)){var r=P.toSlateNode(n,e.target);S.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(Ic(n,r.target)&&!n.getConfig().readOnly){var o=P.toSlateNode(n,r.target),a=P.findPath(n,o);if(S.isVoid(n,o)||S.void(n,{at:a,voids:!0})){var i=S.range(n,a);Z.select(n,i)}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&&Ic(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,o=r.dataTransfer;if(!n.getConfig().readOnly&&Ic(n,r.target)&&o!=null&&!(Ud&&zd&&o.files.length>0)){r.preventDefault();var a=n.selection,i=P.findEventRange(n,r);Z.select(n,i),t.isDraggingInternally&&(a&&Z.delete(n,{at:a}),t.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},a_e=1,s_e=function(){function e(t){var n=this;this.id=a_e++,this.$textArea=null,this.$progressBar=T('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=T('<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=bl(function(){var i=n.editorInstance;(function(s,u){var l=s.isComposing,c=s.isUpdatingSelection,f=s.isDraggingInternally;if(!(u.getConfig().readOnly||l||c||f)){var d=P.findDocumentOrShadowRoot(u),p=d.activeElement,m=P.toDOMNode(u,u),y=d.getSelection();if(p===m?(s.latestElement=p,Gu.set(u,!0)):Gu.delete(u),!y)return Z.deselect(u);var g=y.anchorNode,v=y.focusNode,h=ro(u,g)||rI(u,g),b=ro(u,v)||rI(u,v);if(h&&b){var w=P.toSlateRange(u,y,{exactMatch:!1,suppressThrow:!1});Z.select(u,w)}else Z.deselect(u)}})(n,i)},100);var r=T(t);if(r.length===0)throw new Error("Cannot find textarea DOM by selector '"+t+"'");this.$box=r;var o=T('<div class="w-e-text-container"></div>');o.append(this.$progressBar),o.append(this.$maxLengthInfo),r.append(o);var a=T('<div class="w-e-scroll"></div>');o.append(a),this.$scroll=a,this.$textAreaContainer=o,Wo(function(){var i=n.editorInstance,s=P.getWindow(i);s.document.addEventListener("selectionchange",n.onDOMSelectionChange),i.on("destroyed",function(){s.document.removeEventListener("selectionchange",n.onDOMSelectionChange)}),o.on("click",function(){return i.hidePanelOrModal()}),i.on("change",n.changeViewState.bind(n));var u=i.getConfig().onChange;u&&i.on("change",function(){return u(i)}),n.onFocusAndOnBlur(),i.on("change",n.changeMaxLengthInfo.bind(n)),n.bindEvent()})}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var t=U5.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&&($D(i_e,function(a,i){n.on(i,function(s){a(s,t,o)})}),o.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",bl(function(){o.emit("scroll")},100))))},e.prototype.onFocusAndOnBlur=function(){var t=this,n=this.editorInstance,r=n.getConfig(),o=r.onBlur,a=r.onFocus;this.latestEditorSelection=n.selection,n.on("change",function(){t.latestEditorSelection==null&&n.selection!=null?setTimeout(function(){return a&&a(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-P.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;t_e(this,n),function(r,o){var a,i=o.getConfig().placeholder;if(i){var s=o.isEmpty();if(s&&!r.showPlaceholder&&!r.isComposing){if(r.$placeholder==null){var u=T('<div class="w-e-text-placeholder">'+i+"</div>");r.$textAreaContainer.append(u),r.$placeholder=u}return r.$placeholder.show(),void(r.showPlaceholder=!0)}!s&&r.showPlaceholder&&((a=r.$placeholder)===null||a===void 0||a.hide(),r.showPlaceholder=!1)}}(this,n),Wo(function(){QV(t,n)})},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function eq(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&&eq(t)}function tq(){return T('<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 u_e(){return T('<div class="w-e-bar-divider"></div>')}function nq(e,t,n,r,o){if(o===void 0&&(o=!1),t){if(r){var a=G5?"cmd":"ctrl";r=r.replace("mod",a)}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var i=r?n+`
- `+r:n;e.attr("data-tooltip",i),e.addClass("w-e-menu-tooltip-v5")}}}a7("match",function(e,t,n){return[function(r){var o=bo(this),a=r==null?void 0:kl(r,e);return a?vt(a,r,o):new RegExp(r)[e](jt(o))},function(r){var o=gn(this),a=jt(r),i=n(t,o,a);if(i.done)return i.value;if(!o.global)return Hh(o,a);var s=o.unicode;o.lastIndex=0;for(var u,l=[],c=0;(u=Hh(o,a))!==null;){var f=jt(u[0]);l[c]=f,f===""&&(o.lastIndex=s7(a,Yf(o.lastIndex),s)),c++}return c===0?null:l}]});var E7=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=T('<div class="w-e-bar-item"></div>'),this.$button=T('<button type="button"></button>'),this.disabled=!1,this.menu=n;var a=n.tag,i=n.width;if(a!=="button")throw new Error("Invalid tag '"+a+"', expected 'button'");var s=n.title,u=n.hotkey,l=u===void 0?"":u,c=n.iconSvg,f=c===void 0?"":c,d=this.$button;if(f){var p=T(f);eq(p),d.append(p)}else d.text(s);nq(d,f,s,l,r),r&&f&&d.append(T('<span class="title">'+s+"</span>")),i&&d.css("width",i+"px"),d.attr("data-menu-key",t),this.$elem.append(d),Wo(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),Mr(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},e.prototype.exec=function(){var t=Mr(this),n=this.menu,r=n.getValue(t);n.exec(t,r)},e.prototype.setActive=function(){var t=Mr(this),n=this.$button,r="active";this.menu.isActive(t)?n.addClass(r):n.removeClass(r)},e.prototype.setDisabled=function(){var t=Mr(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}(),l_e=function(e){function t(n,r,o){return o===void 0&&(o=!1),e.call(this,n,r,o)||this}return Kf(t,e),t.prototype.onButtonClick=function(){},t}(E7),C7=function(){function e(t){this.isShow=!1,this.showTime=0,this.record(t)}return e.prototype.record=function(t){var n=W5.get(t);n==null&&(n=new Set,W5.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}(),c_e=function(e){function t(n){var r=e.call(this,n)||this;return r.type="dropPanel",r.$elem=T('<div class="w-e-drop-panel"></div>'),r}return Kf(t,e),t.prototype.genSelfElem=function(){return null},t}(C7),f_e=function(e){function t(n,r,o){o===void 0&&(o=!1);var a=e.call(this,n,r,o)||this;if(a.dropPanel=null,a.menu=r,r.showDropPanel){var i=tq();a.$button.append(i)}return a}return Kf(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=Mr(this);if(this.dropPanel==null){var o=new c_e(r),a=n.getPanelContentElem(r);o.renderContent(a),o.appendTo(this.$elem),o.show(),this.dropPanel=o}else{var i=this.dropPanel;i.isShow?i.hide():(a=n.getPanelContentElem(r),i.renderContent(a),i.show())}var s=this.dropPanel;if(s.isShow){var u=this.$elem,l=u.offset().left,c=u.parents(".w-e-bar");l-c.offset().left>=c.width()/2?s.$elem.css({left:"none",right:"0"}):s.$elem.css({left:"0",right:"none"})}}},t}(E7),d_e=function(e){function t(n,r){r===void 0&&(r=0);var o=e.call(this,n)||this;o.type="modal",o.$elem=T('<div class="w-e-modal"></div>'),o.width=0,r&&(o.width=r);var a=o.$elem;return a.on("click",function(i){return i.stopPropagation()}),a.on("keyup",function(i){i.code==="Escape"&&(o.hide(),n.restoreSelection())}),o}return Kf(t,e),t.prototype.genSelfElem=function(){var n=this,r=T('<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}(C7);function Ur(e,t,n){var r=T('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=T('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function Xf(e,t){var n=T('<div class="button-container"></div>'),r=T('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var p_e=function(e){function t(n,r,o){o===void 0&&(o=!1);var a=e.call(this,n,r,o)||this;return a.$body=T("body"),a.modal=null,a.menu=r,a}return Kf(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var n=Mr(this),r=this.menu.getModalPositionNode(n);return $e.isElement(r)?k7(n,r,"modal"):w7(n)},t.prototype.handleModal=function(){var n=Mr(this),r=this.menu;if(this.modal==null){var o=new d_e(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=Mr(this),a=this.menu;if(a.getModalContentElem!=null){var i=P.getTextarea(o),s=P.getToolbar(o),u=((s==null?void 0:s.getConfig())||{}).modalAppendToBody,l=a.getModalContentElem(o);if(n.renderContent(l),u)n.setStyle({left:"0",right:"0"});else{var c=this.getPosition();n.setStyle(c)}r&&(u?n.appendTo(this.$body):n.appendTo(i.$textAreaContainer)),n.show(),u||t8(o,n.$elem),setTimeout(function(){o.blur()})}},t}(E7),h_e=function(e){function t(n,r){var o=e.call(this,n)||this;return o.type="selectList",o.$elem=T('<div class="w-e-select-list"></div>'),r&&o.$elem.css("width",r+"px"),o.$elem.on("click",function(a){a.stopPropagation()}),o}return Kf(t,e),t.prototype.renderList=function(n){var r=this.$elem;r.empty();var o=T("<ul></ul>");n.forEach(function(a){var i=a.value,s=a.text,u=a.selected,l=a.styleForRenderMenuList,c=T('<li data-value="'+i+'"></li>');if(l&&c.css(l),u){var f=T('<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>');c.append(f),c.addClass("selected")}c.append(T('<span data-value="'+i+'">'+s+"</span>")),c.attr("title",s),o.append(c)}),r.append(o)},t.prototype.genSelfElem=function(){return null},t}(C7),g_e=function(){function e(t,n,r){var o=this;r===void 0&&(r=!1),this.$elem=T('<div class="w-e-bar-item"></div>'),this.$button=T('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var a=n.tag,i=n.title,s=n.width,u=n.iconSvg,l=u===void 0?"":u,c=n.hotkey,f=c===void 0?"":c;if(a!=="select")throw new Error("Invalid tag '"+a+"', expected 'select'");var d=this.$button;s&&d.css("width",s+"px"),d.attr("data-menu-key",t),nq(d,l,i,f,r),this.$elem.append(d),this.menu=n,Wo(function(){return o.init()})}return e.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),Mr(t).hidePanelOrModal(),t.trigger()})},e.prototype.trigger=function(){var t=this,n=Mr(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new h_e(n,r.selectPanelWidth);var o=this.selectList,a=r.getOptions(n);o.renderList(a),o.appendTo(this.$elem),o.show(),o.$elem.on("click","li",function(i){var s=i.target;if(s!=null){i.preventDefault();var u=T(s).attr("data-value");t.onChange(u)}})}else(o=this.selectList).isShow?o.hide():(a=r.getOptions(n),o.renderList(a),o.show())}},e.prototype.onChange=function(t){var n=Mr(this),r=this.menu;r.exec&&r.exec(n,t)},e.prototype.setSelectedValue=function(){var t=Mr(this),n=this.menu,r=n.getValue(t),o=function(s,u){for(var l=s.length,c="",f=0;f<l;f++){var d=s[f];if(d.value===u){c=d.text;break}}return c}(n.getOptions(t),r.toString()),a=this.$button,i=tq();a.empty(),a.text(o),a.append(i)},e.prototype.setDisabled=function(){var t=Mr(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}(),iI=new WeakMap;function Mr(e){var t=CV.get(e);if(t==null)throw new Error("Can not get editor instance");return t}function v_e(e,t,n){n===void 0&&(n=!1);var r=iI.get(t);if(r)return r;var o=t.tag;if(o==="button"){var a=t.showDropPanel,i=t.showModal;r=a?new f_e(e,t,n):i?new p_e(e,t,n):new l_e(e,t,n)}if(o==="select"&&(r=new g_e(e,t,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(t));return iI.set(t,r),r}function m_e(e,t){var n=e.selection;return n!=null&&!ee.isCollapsed(n)&&!P.getSelectedElems(e).some(function(r){if(e.isVoid(r))return!0;var o=r.type;return!!["pre","code","table"].includes(o)||void 0})&&!!Oe.isText(t)}var y_e=function(){function e(){var t=this;this.$elem=T('<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=Twe(function(){var n=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},o=r.node,a=o===void 0?null:o,i=r.menuKeys,s=i===void 0?[]:i;a!=null&&t.changeItemsState(),a&&$e.isElement(a)&&n&&t.isSamePath(a,t.prevSelectedNode)||(t.hideAndClean(),a!=null&&(t.registerItems(s),t.setPosition(a),t.show()),t.prevSelectedNode=a)},200),Wo(function(){var n=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(a){return a.preventDefault()},{passive:!1}),P.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;Wo(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 a=u_e();r.append(a)}})},e.prototype.registerSingleItem=function(t){var n=this.getEditorInstance(),r=this.menus,o=r[t];if(o==null){var a=Z1[t];if(a==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof a!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");o=a(),r[t]=o}var i=v_e(t,o);this.hoverbarItems.push(i),CV.set(i,n),this.$elem.append(i.$elem)},e.prototype.setPosition=function(t){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),$e.isElement(t)){var o=k7(n,t,"bar");return r.css(o),void t8(n,r)}if(Oe.isText(t))return o=w7(n),r.css(o),void t8(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=[],a=function(s){var u=n[s],l=u.match,c=u.menuKeys,f=c===void 0?[]:c,d=l||function(y,g){return P.checkNodeType(g,s)},p=ct(S.nodes(t,{match:function(y){return d(t,y)},universal:!0}),1),m=p[0];if(m!=null)return r=m[0],o=f,"break"};for(var i in n)if(a(i)==="break")break;return r==null||o.length===0?null:{node:r,menuKeys:o}},e.prototype.getEditorInstance=function(){var t=H5.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=m_e),n},e.prototype.isSamePath=function(t,n){if(t==null||n==null)return!1;var r=P.findPath(null,t),o=P.findPath(null,n);return V.equals(r,o)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function rq(e,t,n,r){if(Vh.set(e,t),Of.set(e,n),$e.isElement(e)){var o=e.children;if((o===void 0?[]:o).forEach(function(s,u){return rq(s,u,e,r)}),S.isVoid(r,e)){var a=ct(we.texts(e),1),i=ct(a[0],1)[0];Vh.set(i,0),Of.set(i,e)}}}function b_e(e){var t=e.selector,n=t===void 0?"":t,r=e.config,o=r===void 0?{}:r,a=e.content,i=e.html,s=e.plugins,u=s===void 0?[]:s,l=(v=>{var h=v,{apply:b}=h;return h.history={undos:[],redos:[]},h.redo=()=>{var{history:w}=h,{redos:k}=w;if(k.length>0){var C=k[k.length-1];Uc.withoutSaving(h,()=>{S.withoutNormalizing(h,()=>{for(var E of C)h.apply(E)})}),w.redos.pop(),w.undos.push(C)}},h.undo=()=>{var{history:w}=h,{undos:k}=w;if(k.length>0){var C=k[k.length-1];Uc.withoutSaving(h,()=>{S.withoutNormalizing(h,()=>{var E=C.map(ns.inverse).reverse();for(var D of E)h.apply(D)})}),w.redos.push(C),w.undos.pop()}},h.apply=w=>{var{operations:k,history:C}=h,{undos:E}=C,D=E[E.length-1],A=D&&D[D.length-1],B=((K,te)=>!(!te||K.type!=="set_selection"||te.type!=="set_selection"))(w,A),q=Uc.isSaving(h),R=Uc.isMerging(h);if(q==null&&(q=((K,te)=>K.type!=="set_selection"||K.properties!=null&&K.newProperties!=null)(w)),q){if(R==null&&(R=D!=null&&(k.length!==0||((K,te)=>K.type==="set_selection"||!(!te||K.type!=="insert_text"||te.type!=="insert_text"||K.offset!==te.offset+te.text.length||!V.equals(K.path,te.path))||!(!te||K.type!=="remove_text"||te.type!=="remove_text"||K.offset+K.text.length!==te.offset||!V.equals(K.path,te.path)))(w,A)||B)),D&&R)B&&D.pop(),D.push(w);else{var ie=[w];E.push(ie)}for(;E.length>100;)E.shift();(K=>K.type!=="set_selection")(w)&&(C.redos=[])}b(w)},h})(function(v){var h=v,b=h.insertText,w=h.insertNode,k=h.insertFragment,C=h.dangerouslyInsertHtml;return h.insertText=function(E){if(h.getConfig().maxLength){var D=P.getLeftLengthOfMaxLength(h);D<=0||(D<E.length?b(E.slice(0,D)):b(E))}else b(E)},h.insertNode=function(E){if(h.getConfig().maxLength){var D=P.getLeftLengthOfMaxLength(h);D<=0||D<we.string(E).length||w(E)}else w(E)},h.insertFragment=function(E){if(h.getConfig().maxLength)if(E.length!==1)E.forEach(function(A){h.insertNode(A)});else{var D=E[0];if(P.getLeftLengthOfMaxLength(h)<we.string(D).length)return;k(E)}else k(E)},h.dangerouslyInsertHtml=function(E,D){if(E===void 0&&(E=""),D===void 0&&(D=!1),E)if(h.getConfig().maxLength){var A=P.getLeftLengthOfMaxLength(h);if(!(A<=0)){var B=document.createElement("div");B.innerHTML=E;var q=Array.from(B.childNodes).reduce(function(R,ie){var K=ie.nodeType,te=ie.nodeName;return ie?K===ci.TEXT_NODE?R+(ie.textContent||""):K===ci.ELEMENT_NODE?HT.has(te.toLowerCase())?R:R+(ie.textContent||""):R:R},"");A<q.length||C(E,D)}}else C(E,D)},h}(function(v){var h=v;return h.on=function(b,w){var k=c0(h);if(k.on(b,w),b==="destroyed"&&ZT(h,w),b!=="destroyed"){var C=function(){return k.off(b,w)};k.on("destroyed",C),ZT(h,C)}},h.once=function(b,w){c0(h).once(b,w)},h.off=function(b,w){c0(h).off(b,w)},h.emit=function(b){for(var w=[],k=1;k<arguments.length;k++)w[k-1]=arguments[k];var C=c0(h);C.emit.apply(C,R5([b],ct(w))),b==="destroyed"&&(HSe(h).forEach(function(E){return C.off("destroyed",E)}),WSe(h))},h}(function(v){var h=v;return h.select=function(b){Z.select(h,b)},h.deselect=function(){var b=h.selection,w=P.findDocumentOrShadowRoot(h).getSelection();w&&w.rangeCount>0&&w.removeAllRanges(),b&&Z.deselect(v)},h.move=function(b,w){w===void 0&&(w=!1),b&&(b<0||Z.move(v,{distance:b,unit:"character",reverse:w}))},h.moveReverse=function(b){h.move(b,!0)},h.restoreSelection=function(){var b=GE.get(h);b!=null&&(h.focus(),Z.select(h,b))},h.getSelectionPosition=function(){return w7(h)},h.getNodePosition=function(b){return k7(h,b)},h.isSelectedAll=function(){var b=h.selection;if(b==null)return!1;var w=ct(ee.edges(b),2),k=w[0],C=w[1],E=ct(S.edges(h,[]),2),D=E[0],A=E[1];return!(!Je.equals(k,D)||!Je.equals(C,A))},h.selectAll=function(){var b=S.start(h,[]),w=S.end(h,[]);Z.select(h,{anchor:b,focus:w})},h}(function(v){var h=v,b=h.onChange,w=h.insertText,k=h.apply,C=h.deleteBackward;return h.insertText=function(E){h.getConfig().readOnly||w(E)},h.apply=function(E){var D,A,B,q,R,ie,K,te,F=[];switch(E.type){case"insert_text":case"remove_text":case"set_node":try{for(var U=uo(S.levels(h,{at:E.path})),Y=U.next();!Y.done;Y=U.next()){var I=ct(Y.value,2),j=I[0],_=I[1],O=P.findKey(h,j);F.push([_,O])}}catch(Ve){D={error:Ve}}finally{try{Y&&!Y.done&&(A=U.return)&&A.call(U)}finally{if(D)throw D.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var L=uo(S.levels(h,{at:V.parent(E.path)})),M=L.next();!M.done;M=L.next()){var J=ct(M.value,2);j=J[0],_=J[1],O=P.findKey(h,j),F.push([_,O])}}catch(Ve){B={error:Ve}}finally{try{M&&!M.done&&(q=L.return)&&q.call(L)}finally{if(B)throw B.error}}break;case"move_node":try{for(var W=uo(S.levels(h,{at:V.common(V.parent(E.path),V.parent(E.newPath))})),he=W.next();!he.done;he=W.next()){var Ee=ct(he.value,2);j=Ee[0],_=Ee[1],O=P.findKey(h,j),F.push([_,O])}}catch(Ve){R={error:Ve}}finally{try{he&&!he.done&&(ie=W.return)&&ie.call(W)}finally{if(R)throw R.error}}}k(E);try{for(var De=uo(F),Ae=De.next();!Ae.done;Ae=De.next()){var pe=ct(Ae.value,2);_=pe[0],O=pe[1],j=ct(S.node(h,_),1)[0],bm.set(j,O)}}catch(Ve){K={error:Ve}}finally{try{Ae&&!Ae.done&&(te=De.return)&&te.call(De)}finally{if(K)throw K.error}}},h.deleteBackward=function(E){if(E!=="line")return C(E);if(v.selection&&ee.isCollapsed(v.selection)){var D=S.above(v,{match:function(R){return S.isBlock(v,R)},at:v.selection});if(D){var A=ct(D,2)[1],B=S.range(v,A,v.selection.anchor),q=function(R,ie){var K=S.range(R,ee.end(ie)),te=Array.from(S.positions(R,{at:ie})),F=0,U=te.length,Y=Math.floor(U/2);if(TT(R,S.range(R,te[F]),K))return S.range(R,te[F],K);if(te.length<2)return S.range(R,te[te.length-1],K);for(;Y!==te.length&&Y!==F;)TT(R,S.range(R,te[Y]),K)?U=Y:F=Y,Y=Math.floor((F+U)/2);return S.range(R,te[U],K)}(h,B);ee.isCollapsed(q)||Z.delete(v,{at:q})}}},h.onChange=function(){var E=h.selection;E!=null&&GE.set(h,E),h.emit("change"),b()},h.handleTab=function(){h.insertText(" ")},h.getHtml=function(){var E=h.children;return(E===void 0?[]:E).map(function(D){return WV(D,h)}).join("")},h.getText=function(){var E=h.children;return(E===void 0?[]:E).map(function(D){return we.string(D)}).join(`
- `)},h.getSelectionText=function(){var E=h.selection;return E==null?"":S.string(v,E)},h.getElemsByType=function(E,D){var A,B;D===void 0&&(D=!1);var q=[],R=S.nodes(h,{at:[],universal:!0});try{for(var ie=uo(R),K=ie.next();!K.done;K=ie.next()){var te=ct(K.value,1)[0];if($e.isElement(te)&&(D?te.type.indexOf(E)>=0:te.type===E)){var F=VV(P.findKey(h,te).id);q.push($o($o({},te),{id:F}))}}}catch(U){A={error:U}}finally{try{K&&!K.done&&(B=ie.return)&&B.call(ie)}finally{if(A)throw A.error}}return q},h.getElemsByTypePrefix=function(E){return h.getElemsByType(E,!0)},h.isEmpty=function(){var E=h.children,D=E===void 0?[]:E;if(D.length>1)return!1;var A=D[0];if(A==null)return!0;if($e.isElement(A)&&A.type==="paragraph"){var B=A.children,q=B===void 0?[]:B;if(q.length>1)return!1;var R=q[0];if(R==null||Oe.isText(R)&&R.text==="")return!0}return!1},h.clear=function(){Z.delete(h,{at:{anchor:S.start(h,[]),focus:S.end(h,[])}}),h.children.length===0&&Z.insertNodes(h,[{type:"paragraph",children:[{text:""}]}])},h.getParentNode=function(E){return P.getParentNode(h,E)},h.dangerouslyInsertHtml=function(E,D){if(E===void 0&&(E=""),D===void 0&&(D=!1),E){var A=document.createElement("div");A.innerHTML=E;var B=Array.from(A.childNodes);if(B=B.filter(function(K){var te=K.nodeType,F=K.nodeName;return te===ci.TEXT_NODE||te===ci.ELEMENT_NODE&&!HT.has(F.toLowerCase())}),B.length!==0){var q=h.selection;if(q!=null){var R=null;P.isSelectedEmptyParagraph(h)&&!D&&(R=[q.focus.path[0]]),A.setAttribute("hidden","true"),document.body.appendChild(A);var ie=0;B.forEach(function(K){var te=K.nodeType,F=K.nodeName,U=K.textContent,Y=U===void 0?"":U;if(te!==ci.TEXT_NODE)if(F!=="BR"){var I=K,j=!1;if(qV.includes(F.toLowerCase()))j=!0;else for(var _ in K1)if(I.matches(_)){j=!0;break}if(j){var O=m7(T(I),h);return Array.isArray(O)?(O.forEach(function(M){return WT(h,M)}),ie++):(WT(h,O),ie++),void(P.isSelectedVoidNode(h)&&h.move(1))}var L=window.getComputedStyle(I).display;P.isSelectedEmptyParagraph(h)||L.indexOf("inline")<0&&h.insertBreak(),h.dangerouslyInsertHtml(I.innerHTML,!0)}else h.insertText(`
- `);else{if(!Y||!Y.trim())return;h.insertNode({text:Y})}}),ie&&R&&P.isEmptyPath(h,R)&&Z.removeNodes(h,{at:R}),A.remove()}}}},h.setHtml=function(E){E===void 0&&(E="");var D=h.isDisabled(),A=h.isFocused(),B=JSON.stringify(h.selection);h.enable(),h.focus(),h.clear();var q=MT(h,E);if(Z.insertFragment(h,q),A||(h.deselect(),h.blur()),D&&(h.deselect(),h.disable()),h.isFocused())try{h.select(JSON.parse(B))}catch{h.select(S.start(h,[]))}},h}(function(v){var h=v;return h.getAllMenuKeys=function(){var b=[];for(var w in Z1)b.push(w);return b},h.getConfig=function(){var b=lT.get(h);if(b==null)throw new Error("Can not get editor config");return b},h.getMenuConfig=function(b){var w=h.getConfig().MENU_CONF;return(w===void 0?{}:w)[b]||{}},h.alert=function(b,w){w===void 0&&(w="info");var k=h.getConfig().customAlert;k&&k(b,w)},h}(function(v){var h=LSe(Yye());return h.id="wangEditor-"+NCe++,h.isDestroyed=!1,h.isFullScreen=!1,h.focus=function(b){if(P.toDOMNode(h,h).focus({preventScroll:!0}),Gu.set(h,!0),b){var w=S.end(h,[]);Z.select(h,w)}else{var k=GE.get(h);k?Z.select(h,k):Z.select(h,S.start(h,[]))}},h.isFocused=function(){return!!Gu.get(h)},h.blur=function(){P.toDOMNode(h,h).blur(),Z.deselect(h),Gu.set(h,!1)},h.updateView=function(){P.getTextarea(h).changeViewState();var b=P.getToolbar(h);b&&b.changeToolbarState();var w=P.getHoverbar(h);w&&w.changeHoverbarState()},h.destroy=function(){if(!h.isDestroyed){var b=P.getTextarea(h);b.destroy(),z5.delete(h),U5.delete(b);var w=P.getToolbar(h);w&&(w.destroy(),u7.delete(h),xCe.delete(w));var k=P.getHoverbar(h);k&&(k.destroy(),V1.delete(h),H5.delete(k)),h.isDestroyed=!0,h.emit("destroyed")}},h.scrollToElem=function(b){if(!h.getConfig().scroll){var w="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return w+=`
- You has disabled editor scroll, please do this yourself`,void console.warn(w)}var k=T("#"+b);if(k.length!==0){var C=k[0];if(!P.hasDOMNode(h,C))return w="Element (found by id is '"+b+"') is not in editor DOM",w+=`
- 通过 id '`+b+"' 找到的 element 不在 editor DOM 之内",void console.error(w,C);var E=P.getTextarea(h),D=E.$textAreaContainer,A=E.$scroll,B=k.offset().top,q=D.offset().top;A[0].scrollBy({top:B-q,behavior:"smooth"})}},h.showProgressBar=function(b){b<1||P.getTextarea(h).changeProgress(b)},h.hidePanelOrModal=function(){var b=W5.get(h);b!=null&&b.forEach(function(w){return w.hide()})},h.enable=function(){h.getConfig().readOnly=!1,h.updateView()},h.disable=function(){h.getConfig().readOnly=!0,h.updateView()},h.isDisabled=function(){return h.getConfig().readOnly},h.toDOMNode=function(b){return P.toDOMNode(h,b)},h.fullScreen=function(){if(!h.isFullScreen){var b=null,w=P.getToolbar(h);w&&(b=w.$box);var k=P.getTextarea(h).$box.parent();if(b&&b.parent()[0]!==k[0])throw new Error(`Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent
- 不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致`);k.addClass("w-e-full-screen-container");var C=k.css("z-index");k.attr("data-z-index",C.toString()),h.isFullScreen=!0,h.emit("fullScreen")}},h.unFullScreen=function(){if(h.isFullScreen){var b=P.getTextarea(h).$box.parent();setTimeout(function(){b.removeClass("w-e-full-screen-container"),h.isFullScreen=!1,h.emit("unFullScreen")},200)}},h.getEditableContainer=function(){return P.getTextarea(h).$textAreaContainer[0]},h}()))))));if(n&&function(v,h){return DSe(v,"data-w-e-textarea",h)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(v){v===void 0&&(v={});var h=Iwe(AV),b={},w=v.MENU_CONF,k=w===void 0?{}:w;return $D(h,function(C,E){b[E]=$o($o({},C),k[E]||{})}),delete v.MENU_CONF,$o({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:b,hoverbarKeys:{},customAlert:function(C,E){window.alert(E+`:
- `+C)}},v)}(o);lT.set(l,c);var f=c.hoverbarKeys,d=f===void 0?{}:f;if(u.forEach(function(v){l=v(l)}),i!=null&&(l.children=MT(l,i)),a&&a.length&&(l.children=a),l.children.length===0&&(l.children=[{type:"paragraph",children:[{text:""}]}]),P.normalizeContent(l),n){var p=new s_e(n);z5.set(l,p),U5.set(p,l),p.changeViewState(),Wo(function(){var v=p.$scroll;v!=null&&v.height()<300&&console.warn(`编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常
- Textarea height < 300px . This may be cause modal and hoverbar position error`,v)});var m=void 0;Object.keys(d).length>0&&(m=new y_e,H5.set(m,l),V1.set(l,m)),l.on("change",function(){l.hidePanelOrModal()}),l.on("scroll",function(){l.hidePanelOrModal()})}else l.children.forEach(function(v,h){return rq(v,h,l,l)});var y=c.onCreated,g=c.onDestroyed;return y&&l.on("created",function(){return y(l)}),g&&l.on("destroyed",function(){return g(l)}),Wo(function(){return l.emit("created")}),l}var w_e=Yb("splice"),k_e=ye.TypeError,E_e=Math.max,C_e=Math.min;Kt({target:"Array",proto:!0,forced:!w_e},{splice:function(e,t){var n,r,o,a,i,s,u=Hs(this),l=zl(u),c=Ef(e,l),f=arguments.length;if(f===0?n=r=0:f===1?(n=0,r=l-c):(n=f-2,r=C_e(E_e(qg(t),0),l-c)),l+n-r>9007199254740991)throw k_e("Maximum allowed length exceeded");for(o=eV(u,r),a=0;a<r;a++)(i=c+a)in u&&zh(o,a,u[i]);if(o.length=r,n<r){for(a=c;a<l-r;a++)s=a+n,(i=a+r)in u?u[s]=u[i]:delete u[s];for(a=l;a>l-r+n;a--)delete u[a-1]}else if(n>r)for(a=l-r;a>c;a--)s=a+n-1,(i=a+r-1)in u?u[s]=u[i]:delete u[s];for(a=0;a<n;a++)u[a+c]=arguments[a+2];return u.length=l-r+n,o}});var S_e=Zf.EXISTS,__e=Zo.f,oq=Function.prototype,O_e=Te(oq.toString),iq=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,D_e=Te(iq.exec);function aq(e){var t=e.server,n=t===void 0?"":t,r=e.fieldName,o=r===void 0?"":r,a=e.maxFileSize,i=a===void 0?10485760:a,s=e.maxNumberOfFiles,u=s===void 0?100:s,l=e.meta,c=l===void 0?{}:l,f=e.metaWithUrl,d=f!==void 0&&f,p=e.headers,m=p===void 0?{}:p,y=e.withCredentials,g=y!==void 0&&y,v=e.timeout,h=v===void 0?1e4:v,b=e.onBeforeUpload,w=b===void 0?function(ie){return ie}:b,k=e.onSuccess,C=k===void 0?function(ie,K){}:k,E=e.onError,D=E===void 0?function(ie,K,te){console.error(ie.name+" upload error",K,te)}:E,A=e.onProgress,B=A===void 0?function(ie){}:A;if(!n)throw new Error(`Cannot get upload server address
- 没有配置上传地址`);if(!o)throw new Error(`Cannot get fieldName
- 没有配置 fieldName`);var q=n;d&&(q=function(ie,K){var te=ct(ie.split("#"),2),F=te[0],U=te[1],Y=[];$D(K,function(j,_){Y.push(_+"="+j)});var I=Y.join("&");return F=F.indexOf("?")>0?F+"&"+I:F+"?"+I,U?F+"#"+U:F}(q,c));var R=new Hp({onBeforeUpload:w,restrictions:{maxFileSize:i,maxNumberOfFiles:u},meta:c}).use(Y4e,{endpoint:q,headers:m,formData:!0,fieldName:o,bundle:!0,withCredentials:g,timeout:h});return R.on("upload-success",function(ie,K){var te=K.body,F=te===void 0?{}:te;try{C(ie,F)}catch(U){console.error("wangEditor upload file - onSuccess error",U)}R.removeFile(ie.id)}),R.on("progress",function(ie){ie<1||B(ie)}),R.on("upload-error",function(ie,K,te){try{D(ie,K,te)}catch(F){console.error("wangEditor upload file - onError error",F)}R.removeFile(ie.id)}),R.on("restriction-failed",function(ie,K){try{D(ie,K)}catch(te){console.error("wangEditor upload file - onError error",te)}R.removeFile(ie.id)}),R}function ds(e){return ds=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},ds(e)}function A_e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function En(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){A_e(e,o,n[o])})}return e}function ma(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aI(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 ya(e,t,n){return t&&aI(e.prototype,t),n&&aI(e,n),e}function Sl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gh(e,t){if(t&&(ds(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Sl(e)}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Df(e)}function o8(e,t){return o8=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},o8(e,t)}function Qb(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&&o8(e,t)}Mn&&!S_e&&__e(oq,"name",{configurable:!0,get:function(){try{return D_e(iq,O_e(this))[1]}catch{return""}}});var x_e={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)}},ea=new(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ma(this,e),this.init(t,n)}return ya(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||x_e,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,En({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),$s=function(){function e(){ma(this,e),this.observers={}}return ya(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 a=[].concat(this.observers[t]);a.forEach(function(s){s.apply(void 0,r)})}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach(function(s){s.apply(s,[t].concat(r))})}}}]),e}();function Gd(){var e,t,n=new Promise(function(r,o){e=r,t=o});return n.resolve=e,n.reject=t,n}function sI(e){return e==null?"":""+e}function L_e(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function S7(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function o(){return!e||typeof e=="string"}for(var a=typeof t!="string"?[].concat(t):t.split(".");a.length>1;){if(o())return{};var i=r(a.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return o()?{}:{obj:e,k:r(a.shift())}}function uI(e,t,n){var r=S7(e,t,Object);r.obj[r.k]=n}function Q1(e,t){var n=S7(e,t),r=n.obj,o=n.k;if(r)return r[o]}function lI(e,t,n){var r=Q1(e,n);return r!==void 0?r:Q1(t,n)}function sq(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]):sq(e[r],t[r],n):e[r]=t[r]);return e}function cc(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var P_e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function $_e(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return P_e[t]}):e}var e2=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function uq(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,a=0;a<r.length;++a){if(!o||typeof o[r[a]]=="string"&&a+1<r.length)return;if(o[r[a]]===void 0){for(var i=2,s=r.slice(a,a+i).join(n),u=o[s];u===void 0&&r.length>a+i;)i++,u=o[s=r.slice(a,a+i).join(n)];if(u===void 0)return;if(typeof u=="string")return u;if(s&&typeof u[s]=="string")return u[s];var l=r.slice(a+i).join(n);return l?uq(u,l,n):void 0}o=o[r[a]]}return o}}var j_e=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ma(this,t),r=Gh(this,Df(t).call(this)),e2&&$s.call(Sl(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 Qb(t,$s),ya(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 a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,s=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure,u=[n,r];o&&typeof o!="string"&&(u=u.concat(o)),o&&typeof o=="string"&&(u=u.concat(i?o.split(i):o)),n.indexOf(".")>-1&&(u=n.split("."));var l=Q1(this.data,u);return l||!s||typeof o!="string"?l:uq(this.data&&this.data[n]&&this.data[n][r],o,i)}},{key:"addResource",value:function(n,r,o,a){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},s=this.options.keySeparator;s===void 0&&(s=".");var u=[n,r];o&&(u=u.concat(s?o.split(s):o)),n.indexOf(".")>-1&&(a=r,r=(u=n.split("."))[1]),this.addNamespaces(r),uI(this.data,u,a),i.silent||this.emit("added",n,r,o,a)}},{key:"addResources",value:function(n,r,o){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var i in o)typeof o[i]!="string"&&Object.prototype.toString.apply(o[i])!=="[object Array]"||this.addResource(n,r,i,o[i],{silent:!0});a.silent||this.emit("added",n,r,o)}},{key:"addResourceBundle",value:function(n,r,o,a,i){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},u=[n,r];n.indexOf(".")>-1&&(a=o,o=r,r=(u=n.split("."))[1]),this.addNamespaces(r);var l=Q1(this.data,u)||{};a?sq(l,o,i):l=En({},l,o),uI(this.data,u,l),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"?En({},{},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}(),lq={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var a=this;return e.forEach(function(i){a.processors[i]&&(t=a.processors[i].process(t,n,r,o))}),t}},cI={},fI=function(e){function t(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ma(this,t),r=Gh(this,Df(t).call(this)),e2&&$s.call(Sl(r)),L_e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,Sl(r)),r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=ea.create("translator"),r}return Qb(t,$s),ya(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 a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,i=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:i};var u=n.split(o);(o!==a||o===a&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),n=u.join(a)}return typeof i=="string"&&(i=[i]),{key:n,namespaces:i}}},{key:"translate",value:function(n,r,o){var a=this;if(ds(r)!=="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,s=this.extractFromKey(n[n.length-1],r),u=s.key,l=s.namespaces,c=l[l.length-1],f=r.lng||this.language,d=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(d){var p=r.nsSeparator||this.options.nsSeparator;return c+p+u}return u}var m=this.resolve(n,r),y=m&&m.res,g=m&&m.usedKey||u,v=m&&m.exactUsedKey||u,h=Object.prototype.toString.apply(y),b=["[object Number]","[object Function]","[object RegExp]"],w=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject,C=typeof y!="string"&&typeof y!="boolean"&&typeof y!="number";if(k&&y&&C&&b.indexOf(h)<0&&(typeof w!="string"||h!=="[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(g,y,En({},r,{ns:l})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var E=h==="[object Array]",D=E?[]:{},A=E?v:g;for(var B in y)if(Object.prototype.hasOwnProperty.call(y,B)){var q="".concat(A).concat(i).concat(B);D[B]=this.translate(q,En({},r,{joinArrays:!1,ns:l})),D[B]===q&&(D[B]=y[B])}y=D}}else if(k&&typeof w=="string"&&h==="[object Array]")(y=y.join(w))&&(y=this.extendTranslation(y,n,r,o));else{var R=!1,ie=!1,K=r.count!==void 0&&typeof r.count!="string",te=t.hasDefaultValue(r),F=K?this.pluralResolver.getSuffix(f,r.count):"",U=r["defaultValue".concat(F)]||r.defaultValue;!this.isValidLookup(y)&&te&&(R=!0,y=U),this.isValidLookup(y)||(ie=!0,y=u);var Y=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,I=Y&&ie?void 0:y,j=te&&U!==y&&this.options.updateMissing;if(ie||R||j){if(this.logger.log(j?"updateKey":"missingKey",f,c,u,j?U:y),i){var _=this.resolve(u,En({},r,{keySeparator:!1}));_&&_.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var O=[],L=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&L&&L[0])for(var M=0;M<L.length;M++)O.push(L[M]);else this.options.saveMissingTo==="all"?O=this.languageUtils.toResolveHierarchy(r.lng||this.language):O.push(r.lng||this.language);var J=function(W,he,Ee){a.options.missingKeyHandler?a.options.missingKeyHandler(W,c,he,j?Ee:I,j,r):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(W,c,he,j?Ee:I,j,r),a.emit("missingKey",W,c,he,y)};this.options.saveMissing&&(this.options.saveMissingPlurals&&K?O.forEach(function(W){a.pluralResolver.getSuffixes(W).forEach(function(he){J([W],u+he,r["defaultValue".concat(he)]||U)})}):J(O,u,U))}y=this.extendTranslation(y,n,r,m,o),ie&&y===u&&this.options.appendNamespaceToMissingKey&&(y="".concat(c,":").concat(u)),(ie||R)&&this.options.parseMissingKeyHandler&&(y=this.options.parseMissingKeyHandler(y))}return y}},{key:"extendTranslation",value:function(n,r,o,a,i){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,o,a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(En({},o,{interpolation:En({},this.options.interpolation,o.interpolation)}));var u,l=o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(l){var c=n.match(this.interpolator.nestingRegexp);u=c&&c.length}var f=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(f=En({},this.options.interpolation.defaultVariables,f)),n=this.interpolator.interpolate(n,f,o.lng||this.language,o),l){var d=n.match(this.interpolator.nestingRegexp);u<(d&&d.length)&&(o.nest=!1)}o.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var y=arguments.length,g=new Array(y),v=0;v<y;v++)g[v]=arguments[v];return i&&i[0]===g[0]&&!o.context?(s.logger.warn("It seems you are nesting recursively key: ".concat(g[0]," in key: ").concat(r[0])),null):s.translate.apply(s,g.concat([r]))},o)),o.interpolation&&this.interpolator.reset()}var p=o.postProcess||this.options.postProcess,m=typeof p=="string"?[p]:p;return n!=null&&m&&m.length&&o.applyPostProcessor!==!1&&(n=lq.handle(m,n,r,this.options&&this.options.postProcessPassResolved?En({i18nResolved:a},o):o,this)),n}},{key:"resolve",value:function(n){var r,o,a,i,s,u=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof n=="string"&&(n=[n]),n.forEach(function(c){if(!u.isValidLookup(r)){var f=u.extractFromKey(c,l),d=f.key;o=d;var p=f.namespaces;u.options.fallbackNS&&(p=p.concat(u.options.fallbackNS));var m=l.count!==void 0&&typeof l.count!="string",y=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",g=l.lngs?l.lngs:u.languageUtils.toResolveHierarchy(l.lng||u.language,l.fallbackLng);p.forEach(function(v){u.isValidLookup(r)||(s=v,!cI["".concat(g[0],"-").concat(v)]&&u.utils&&u.utils.hasLoadedNamespace&&!u.utils.hasLoadedNamespace(s)&&(cI["".concat(g[0],"-").concat(v)]=!0,u.logger.warn('key "'.concat(o,'" for languages "').concat(g.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!!!")),g.forEach(function(h){if(!u.isValidLookup(r)){i=h;var b,w,k=d,C=[k];for(u.i18nFormat&&u.i18nFormat.addLookupKeys?u.i18nFormat.addLookupKeys(C,d,h,v,l):(m&&(b=u.pluralResolver.getSuffix(h,l.count)),m&&y&&C.push(k+b),y&&C.push(k+="".concat(u.options.contextSeparator).concat(l.context)),m&&C.push(k+=b));w=C.pop();)u.isValidLookup(r)||(a=w,r=u.getResource(h,v,w,l))}}))})}}),{res:r,usedKey:o,exactUsedKey:a,usedLng:i,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 a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,r,o,a):this.resourceStore.getResource(n,r,o,a)}}],[{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 hC(e){return e.charAt(0).toUpperCase()+e.slice(1)}var T_e=function(){function e(t){ma(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ea.create("languageUtils")}return ya(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]=hC(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]=hC(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=hC(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 a=r.formatLanguageCode(o);r.options.supportedLngs&&!r.isSupportedCode(a)||(n=a)}}),!n&&this.options.supportedLngs&&t.forEach(function(o){if(!n){var a=r.getLanguagePartFromCode(o);if(r.isSupportedCode(a))return n=a;n=r.options.supportedLngs.find(function(i){if(i.indexOf(a)===0)return i})}}),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),a=[],i=function(s){s&&(r.isSupportedCode(s)?a.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"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),o.forEach(function(s){a.indexOf(s)<0&&i(r.formatLanguageCode(s))}),a}}]),e}(),I_e=[{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}],N_e={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return 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 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 e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};function B_e(){var e={};return I_e.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:N_e[t.fc]}})}),e}var F_e=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ma(this,e),this.languageUtils=t,this.options=n,this.logger=ea.create("pluralResolver"),this.rules=B_e()}return ya(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 a=o.noAbs?o.plurals(n):o.plurals(Math.abs(n)),i=o.numbers[a];this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));var s=function(){return r.options.prepend&&i.toString()?r.options.prepend+i.toString():i.toString()};return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?"_plural_".concat(i.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1?s():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}return this.logger.warn("no plural rule found for: ".concat(t)),""}}]),e}(),R_e=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ma(this,e),this.logger=ea.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return ya(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:$_e,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?cc(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?cc(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?cc(n.nestingPrefix):n.nestingPrefixEscaped||cc("$t("),this.nestingSuffix=n.nestingSuffix?cc(n.nestingSuffix):n.nestingSuffixEscaped||cc(")"),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 a,i,s,u=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(y){return y.replace(/\$/g,"$$$$")}var f=function(y){if(y.indexOf(u.formatSeparator)<0){var g=lI(n,l,y);return u.alwaysFormat?u.format(g,void 0,r,En({},o,n,{interpolationkey:y})):g}var v=y.split(u.formatSeparator),h=v.shift().trim(),b=v.join(u.formatSeparator).trim();return u.format(lI(n,l,h),b,r,En({},o,n,{interpolationkey:h}))};this.resetRegExp();var d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,p=o&&o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,m=[{regex:this.regexpUnescape,safeValue:function(y){return c(y)}},{regex:this.regexp,safeValue:function(y){return u.escapeValue?c(u.escape(y)):c(y)}}];return m.forEach(function(y){for(s=0;a=y.regex.exec(t);){if((i=f(a[1].trim()))===void 0)if(typeof d=="function"){var g=d(t,a,o);i=typeof g=="string"?g:""}else{if(p){i=a[0];continue}u.logger.warn("missed to pass in variable ".concat(a[1]," for interpolating ").concat(t)),i=""}else typeof i=="string"||u.useRawValueToEscape||(i=sI(i));var v=y.safeValue(i);if(t=t.replace(a[0],v),p?(y.regex.lastIndex+=v.length,y.regex.lastIndex-=a[0].length):y.regex.lastIndex=0,++s>=u.maxReplaces)break}}),t}},{key:"nest",value:function(t,n){var r,o,a=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=En({},i);function u(d,p){var m=this.nestingOptionsSeparator;if(d.indexOf(m)<0)return d;var y=d.split(new RegExp("".concat(m,"[ ]*{"))),g="{".concat(y[1]);d=y[0],g=(g=this.interpolate(g,s)).replace(/'/g,'"');try{s=JSON.parse(g),p&&(s=En({},p,s))}catch(v){return this.logger.warn("failed parsing options string in nesting for key ".concat(d),v),"".concat(d).concat(m).concat(g)}return delete s.defaultValue,d}for(s.applyPostProcessor=!1,delete s.defaultValue;r=this.nestingRegexp.exec(t);){var l=[],c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){var f=r[1].split(this.formatSeparator).map(function(d){return d.trim()});r[1]=f.shift(),l=f,c=!0}if((o=n(u.call(this,r[1].trim(),s),s))&&r[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=sI(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(t)),o=""),c&&(o=l.reduce(function(d,p){return a.format(d,p,i.lng,En({},i,{interpolationkey:r[1].trim()}))},o.trim())),t=t.replace(r[0],o),this.regexp.lastIndex=0}return t}}]),e}(),M_e=function(e){function t(n,r,o){var a,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ma(this,t),a=Gh(this,Df(t).call(this)),e2&&$s.call(Sl(a)),a.backend=n,a.store=r,a.services=o,a.languageUtils=o.languageUtils,a.options=i,a.logger=ea.create("backendConnector"),a.state={},a.queue=[],a.backend&&a.backend.init&&a.backend.init(o,i.backend,i),a}return Qb(t,$s),ya(t,[{key:"queueLoad",value:function(n,r,o,a){var i=this,s=[],u=[],l=[],c=[];return n.forEach(function(f){var d=!0;r.forEach(function(p){var m="".concat(f,"|").concat(p);!o.reload&&i.store.hasResourceBundle(f,p)?i.state[m]=2:i.state[m]<0||(i.state[m]===1?u.indexOf(m)<0&&u.push(m):(i.state[m]=1,d=!1,u.indexOf(m)<0&&u.push(m),s.indexOf(m)<0&&s.push(m),c.indexOf(p)<0&&c.push(p)))}),d||l.push(f)}),(s.length||u.length)&&this.queue.push({pending:u,loaded:{},errors:[],callback:a}),{toLoad:s,pending:u,toLoadLanguages:l,toLoadNamespaces:c}}},{key:"loaded",value:function(n,r,o){var a=n.split("|"),i=a[0],s=a[1];r&&this.emit("failedLoading",i,s,r),o&&this.store.addResourceBundle(i,s,o),this.state[n]=r?-1:2;var u={};this.queue.forEach(function(l){(function(c,f,d,p){var m=S7(c,f,Object),y=m.obj,g=m.k;y[g]=y[g]||[],y[g].push(d)})(l.loaded,[i],s),function(c,f){for(var d=c.indexOf(f);d!==-1;)c.splice(d,1),d=c.indexOf(f)}(l.pending,n),r&&l.errors.push(r),l.pending.length!==0||l.done||(Object.keys(l.loaded).forEach(function(c){u[c]||(u[c]=[]),l.loaded[c].length&&l.loaded[c].forEach(function(f){u[c].indexOf(f)<0&&u[c].push(f)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(function(l){return!l.done})}},{key:"read",value:function(n,r,o){var a=this,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,u=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[o](n,r,function(l,c){l&&c&&i<5?setTimeout(function(){a.read.call(a,n,r,o,i+1,2*s,u)},s):u(l,c)}):u(null,{})}},{key:"prepareLoading",value:function(n,r){var o=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=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."),i&&i();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof r=="string"&&(r=[r]);var s=this.queueLoad(n,r,a,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(function(u){o.loadOne(u)})}},{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]:"",a=n.split("|"),i=a[0],s=a[1];this.read(i,s,"read",void 0,void 0,function(u,l){u&&r.logger.warn("".concat(o,"loading namespace ").concat(s," for language ").concat(i," failed"),u),!u&&l&&r.logger.log("".concat(o,"loaded namespace ").concat(s," for language ").concat(i),l),r.loaded(n,u,l)})}},{key:"saveMissing",value:function(n,r,o,a,i){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,a,null,En({},s,{isUpdate:i})),n&&n[0]&&this.store.addResource(n[0],r,o,a))}}]),t}();function z_e(){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(ds(e[1])==="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),ds(e[2])==="object"||ds(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 dI(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 d0(){}var U_e=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(ma(this,t),n=Gh(this,Df(t).call(this)),e2&&$s.call(Sl(n)),n.options=dI(r),n.services={},n.logger=ea,n.modules={external:[]},o&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,o),Gh(n,Sl(n));setTimeout(function(){n.init(r,o)},0)}return n}return Qb(t,$s),ya(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 a(p){return p?typeof p=="function"?new p:p: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=En({},z_e(),this.options,dI(r)),this.format=this.options.interpolation.format,o||(o=d0),!this.options.isClone){this.modules.logger?ea.init(a(this.modules.logger),this.options):ea.init(null,this.options);var i=new T_e(this.options);this.store=new j_e(this.options.resources,this.options);var s=this.services;s.logger=ea,s.resourceStore=this.store,s.languageUtils=i,s.pluralResolver=new F_e(i,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new R_e(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new M_e(a(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(p){for(var m=arguments.length,y=new Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];n.emit.apply(n,[p].concat(y))}),this.modules.languageDetector&&(s.languageDetector=a(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=a(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new fI(this.services,this.options),this.translator.on("*",function(p){for(var m=arguments.length,y=new Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];n.emit.apply(n,[p].concat(y))}),this.modules.external.forEach(function(p){p.init&&p.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var l=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];l.forEach(function(p){n[p]=function(){var m;return(m=n.store)[p].apply(m,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(p){n[p]=function(){var m;return(m=n.store)[p].apply(m,arguments),n}});var f=Gd(),d=function(){var p=function(m,y){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),f.resolve(y),o(m,y)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return p(null,n.t.bind(n));n.changeLanguage(n.options.lng,p)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),f}},{key:"loadResources",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d0,a=o,i=typeof n=="string"?n:this.language;if(typeof n=="function"&&(a=n),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode")return a();var s=[],u=function(c){c&&r.services.languageUtils.toResolveHierarchy(c).forEach(function(f){s.indexOf(f)<0&&s.push(f)})};if(i)u(i);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach(function(c){return u(c)})}this.options.preload&&this.options.preload.forEach(function(c){return u(c)}),this.services.backendConnector.load(s,this.options.ns,a)}else a(null)}},{key:"reloadResources",value:function(n,r,o){var a=Gd();return n||(n=this.languages),r||(r=this.options.ns),o||(o=d0),this.services.backendConnector.reload(n,r,function(i){a.resolve(),o(i)}),a}},{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"&&lq.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,r){var o=this;this.isLanguageChangingTo=n;var a=Gd();this.emit("languageChanging",n);var i=function(s){n||s||!o.services.languageDetector||(s=[]);var u=typeof s=="string"?s:o.services.languageUtils.getBestMatchFromCodes(s);u&&(o.language||(o.language=u,o.languages=o.services.languageUtils.toResolveHierarchy(u)),o.translator.language||o.translator.changeLanguage(u),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage(u)),o.loadResources(u,function(l){(function(c,f){f?(o.language=f,o.languages=o.services.languageUtils.toResolveHierarchy(f),o.translator.changeLanguage(f),o.isLanguageChangingTo=void 0,o.emit("languageChanged",f),o.logger.log("languageChanged",f)):o.isLanguageChangingTo=void 0,a.resolve(function(){return o.t.apply(o,arguments)}),r&&r(c,function(){return o.t.apply(o,arguments)})})(l,u)})};return n||!this.services.languageDetector||this.services.languageDetector.async?!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(n):i(this.services.languageDetector.detect()),a}},{key:"getFixedT",value:function(n,r,o){var a=this,i=function s(u,l){var c;if(ds(l)!=="object"){for(var f=arguments.length,d=new Array(f>2?f-2:0),p=2;p<f;p++)d[p-2]=arguments[p];c=a.options.overloadTranslationOptionHandler([u,l].concat(d))}else c=En({},l);c.lng=c.lng||s.lng,c.lngs=c.lngs||s.lngs,c.ns=c.ns||s.ns;var m=a.options.keySeparator||".",y=o?"".concat(o).concat(m).concat(u):u;return a.t(y,c)};return typeof n=="string"?i.lng=n:i.lngs=n,i.ns=r,i.keyPrefix=o,i}},{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 a=this.languages[0],i=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;var u=function(c,f){var d=r.services.backendConnector.state["".concat(c,"|").concat(f)];return d===-1||d===2};if(o.precheck){var l=o.precheck(this,u);if(l!==void 0)return l}return!!this.hasResourceBundle(a,n)||!this.services.backendConnector.backend||!(!u(a,n)||i&&!u(s,n))}},{key:"loadNamespaces",value:function(n,r){var o=this,a=Gd();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(i){o.options.ns.indexOf(i)<0&&o.options.ns.push(i)}),this.loadResources(function(i){a.resolve(),r&&r(i)}),a):(r&&r(),Promise.resolve())}},{key:"loadLanguages",value:function(n,r){var o=Gd();typeof n=="string"&&(n=[n]);var a=this.options.preload||[],i=n.filter(function(s){return a.indexOf(s)<0});return i.length?(this.options.preload=a.concat(i),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]:d0,a=En({},this.options,r,{isClone:!0}),i=new t(a),s=["store","services","language"];return s.forEach(function(u){i[u]=n[u]}),i.services=En({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new fI(i.services,i.options),i.translator.on("*",function(u){for(var l=arguments.length,c=new Array(l>1?l-1:0),f=1;f<l;f++)c[f-1]=arguments[f];i.emit.apply(i,[u].concat(c))}),i.init(a,o),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),ey=new U_e;function $r(e,t){ey.addResourceBundle(e,"translation",t,!0,!0)}ey.init({lng:"zh-CN",resources:{}});var ke=ey.t.bind(ey);$r("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),$r("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var H_e=mD?{}.toString:function(){return"[object "+Tb(this)+"]"};mD||vl(Object.prototype,"toString",H_e,{unsafe:!0});var pI=Array.isArray||function(e){return zu(e)=="Array"},cq=function(){},W_e=[],fq=Bg("Reflect","construct"),_7=/^\s*(?:class|function)\b/,V_e=xt(_7.exec),q_e=!_7.exec(cq),Zd=function(e){if(!Nn(e))return!1;try{return fq(cq,W_e,e),!0}catch{return!1}},G_e=!fq||Wn(function(){var e;return Zd(Zd.call)||!Zd(Object)||!Zd(function(){e=!0})||e})?function(e){if(!Nn(e))return!1;switch(Tb(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return q_e||!!V_e(_7,dD(e))}:Zd,Z_e=yr("species"),hI=He.Array,Y_e=function(e,t){return new(function(n){var r;return pI(n)&&(r=n.constructor,(G_e(r)&&(r===hI||pI(r.prototype))||pi(r)&&(r=r[Z_e])===null)&&(r=void 0)),r===void 0?hI:r}(e))(t===0?0:t)},gI=xt([].push),J_e=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=uD(u),y=xH(m),g=UH(l,c),v=jb(y),h=0,b=f||Y_e,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:gI(w,d)}else switch(e){case 4:return!1;case 7:gI(w,d)}return a?-1:r||o?o:w}},K_e={forEach:J_e(0)}.forEach,X_e=function(e,t){var n=[][e];return!!n&&Wn(function(){n.call(null,t||function(){throw 1},1)})}("forEach"),gC=X_e?[].forEach:function(e){return K_e(this,e,arguments.length>1?arguments[1]:void 0)},dq=function(e){if(e&&e.forEach!==gC)try{Sr(e,"forEach",gC)}catch{e.forEach=gC}};for(var vC in y1)y1[vC]&&dq(He[vC]&&He[vC].prototype);dq(VH),$r("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"}}),$r("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"}});var Q_e={type:"paragraph",renderElem:function(e,t,n){return ze("p",null,t)}},ty=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t2(e){var t={exports:{}};return e(t,t.exports),t.exports}var Na,wm,p0=function(e){return e&&e.Math==Math&&e},Ge=p0(typeof globalThis=="object"&&globalThis)||p0(typeof window=="object"&&window)||p0(typeof self=="object"&&self)||p0(typeof ty=="object"&&ty)||function(){return this}()||Function("return this")(),Xt=function(e){try{return!!e()}catch{return!0}},Vo=!Xt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Yd=Function.prototype.call,dn=Yd.bind?Yd.bind(Yd):function(){return Yd.apply(Yd,arguments)},vI={}.propertyIsEnumerable,mI=Object.getOwnPropertyDescriptor,e3e=mI&&!vI.call({1:2},1)?function(e){var t=mI(this,e);return!!t&&t.enumerable}:vI,pq={f:e3e},O7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},hq=Function.prototype,i8=hq.bind,a8=hq.call,t3e=i8&&i8.bind(a8),Re=i8?function(e){return e&&t3e(a8,e)}:function(e){return e&&function(){return a8.apply(e,arguments)}},n3e=Re({}.toString),r3e=Re("".slice),ps=function(e){return r3e(n3e(e),8,-1)},mC=Ge.Object,o3e=Re("".split),n2=Xt(function(){return!mC("z").propertyIsEnumerable(0)})?function(e){return ps(e)=="String"?o3e(e,""):mC(e)}:mC,i3e=Ge.TypeError,wo=function(e){if(e==null)throw i3e("Can't call method on "+e);return e},Qf=function(e){return n2(wo(e))},ar=function(e){return typeof e=="function"},gi=function(e){return typeof e=="object"?e!==null:ar(e)},a3e=function(e){return ar(e)?e:void 0},Yg=function(e,t){return arguments.length<2?a3e(Ge[e]):Ge[e]&&Ge[e][t]},gq=Re({}.isPrototypeOf),yC=Yg("navigator","userAgent")||"",yI=Ge.process,bI=Ge.Deno,wI=yI&&yI.versions||bI&&bI.version,kI=wI&&wI.v8;kI&&(wm=(Na=kI.split("."))[0]>0&&Na[0]<4?1:+(Na[0]+Na[1])),!wm&&yC&&(!(Na=yC.match(/Edge\/(\d+)/))||Na[1]>=74)&&(Na=yC.match(/Chrome\/(\d+)/))&&(wm=+Na[1]);var s8=wm,u8=!!Object.getOwnPropertySymbols&&!Xt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&s8&&s8<41}),D7=u8&&!Symbol.sham&&typeof Symbol.iterator=="symbol",s3e=Ge.Object,bC=D7?function(e){return typeof e=="symbol"}:function(e){var t=Yg("Symbol");return ar(t)&&gq(t.prototype,s3e(e))},u3e=Ge.String,vq=function(e){try{return u3e(e)}catch{return"Object"}},l3e=Ge.TypeError,mq=function(e){if(ar(e))return e;throw l3e(vq(e)+" is not a function")},r2=function(e,t){var n=e[t];return n==null?void 0:mq(n)},c3e=Ge.TypeError,f3e=Object.defineProperty,A7=function(e,t){try{f3e(Ge,e,{value:t,configurable:!0,writable:!0})}catch{Ge[e]=t}return t},hs=Ge["__core-js_shared__"]||A7("__core-js_shared__",{}),x7=t2(function(e){(e.exports=function(t,n){return hs[t]||(hs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),d3e=Ge.Object,Jg=function(e){return d3e(wo(e))},p3e=Re({}.hasOwnProperty),po=Object.hasOwn||function(e,t){return p3e(Jg(e),t)},h3e=0,g3e=Math.random(),v3e=Re(1 .toString),yq=function(e){return"Symbol("+(e===void 0?"":e)+")_"+v3e(++h3e+g3e,36)},Jd=x7("wks"),Yu=Ge.Symbol,EI=Yu&&Yu.for,m3e=D7?Yu:Yu&&Yu.withoutSetter||yq,Kr=function(e){if(!po(Jd,e)||!u8&&typeof Jd[e]!="string"){var t="Symbol."+e;u8&&po(Yu,e)?Jd[e]=Yu[e]:Jd[e]=D7&&EI?EI(t):m3e(t)}return Jd[e]},y3e=Ge.TypeError,b3e=Kr("toPrimitive"),L7=function(e){var t=function(n,r){if(!gi(n)||bC(n))return n;var o,a=r2(n,b3e);if(a){if(o=dn(a,n,r),!gi(o)||bC(o))return o;throw y3e("Can't convert object to primitive value")}return function(i,s){var u,l;if(ar(u=i.toString)&&!gi(l=dn(u,i))||ar(u=i.valueOf)&&!gi(l=dn(u,i)))return l;throw c3e("Can't convert object to primitive value")}(n)}(e,"string");return bC(t)?t:t+""},l8=Ge.document,w3e=gi(l8)&&gi(l8.createElement),P7=function(e){return w3e?l8.createElement(e):{}},bq=!Vo&&!Xt(function(){return Object.defineProperty(P7("div"),"a",{get:function(){return 7}}).a!=7}),CI=Object.getOwnPropertyDescriptor,$7={f:Vo?CI:function(e,t){if(e=Qf(e),t=L7(t),bq)try{return CI(e,t)}catch{}if(po(e,t))return O7(!dn(pq.f,e,t),e[t])}},k3e=Ge.String,E3e=Ge.TypeError,Hr=function(e){if(gi(e))return e;throw E3e(k3e(e)+" is not an object")},C3e=Ge.TypeError,SI=Object.defineProperty,ed={f:Vo?SI:function(e,t,n){if(Hr(e),t=L7(t),Hr(n),bq)try{return SI(e,t,n)}catch{}if("get"in n||"set"in n)throw C3e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Af=Vo?function(e,t,n){return ed.f(e,t,O7(1,n))}:function(e,t,n){return e[t]=n,e},S3e=Re(Function.toString);ar(hs.inspectSource)||(hs.inspectSource=function(e){return S3e(e)});var c8,ny,f8,j7=hs.inspectSource,_I=Ge.WeakMap,_3e=ar(_I)&&/native code/.test(j7(_I)),OI=x7("keys"),wq=function(e){return OI[e]||(OI[e]=yq(e))},T7={},DI=Ge.TypeError,O3e=Ge.WeakMap;if(_3e||hs.state){var su=hs.state||(hs.state=new O3e),D3e=Re(su.get),AI=Re(su.has),A3e=Re(su.set);c8=function(e,t){if(AI(su,e))throw new DI("Object already initialized");return t.facade=e,A3e(su,e,t),t},ny=function(e){return D3e(su,e)||{}},f8=function(e){return AI(su,e)}}else{var fc=wq("state");T7[fc]=!0,c8=function(e,t){if(po(e,fc))throw new DI("Object already initialized");return t.facade=e,Af(e,fc,t),t},ny=function(e){return po(e,fc)?e[fc]:{}},f8=function(e){return po(e,fc)}}var d8={get:ny,enforce:function(e){return f8(e)?ny(e):c8(e,{})}},kq=Function.prototype,x3e=Vo&&Object.getOwnPropertyDescriptor,wC=po(kq,"name"),o2={EXISTS:wC,PROPER:wC&&(function(){}).name==="something",CONFIGURABLE:wC&&(!Vo||Vo&&x3e(kq,"name").configurable)},Zh=t2(function(e){var t=o2.CONFIGURABLE,n=d8.get,r=d8.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;ar(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!po(s,"name")||t&&s.name!==p)&&Af(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==Ge?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:Af(a,i,s)):f?a[i]=s:A7(i,s)})(Function.prototype,"toString",function(){return ar(this)&&n(this).source||j7(this)})}),L3e=Math.ceil,P3e=Math.floor,td=function(e){var t=+e;return t!=t||t===0?0:(t>0?P3e:L3e)(t)},$3e=Math.max,j3e=Math.min,Yh=function(e,t){var n=td(e);return n<0?$3e(n+t,0):j3e(n,t)},T3e=Math.min,Kg=function(e){return e>0?T3e(td(e),9007199254740991):0},i2=function(e){return Kg(e.length)},xI=function(e){return function(t,n,r){var o,a=Qf(t),i=i2(a),s=Yh(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},Eq={includes:xI(!0),indexOf:xI(!1)},I3e=Eq.indexOf,LI=Re([].push),Cq=function(e,t){var n,r=Qf(e),o=0,a=[];for(n in r)!po(T7,n)&&po(r,n)&&LI(a,n);for(;t.length>o;)po(r,n=t[o++])&&(~I3e(a,n)||LI(a,n));return a},ry=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],N3e=ry.concat("length","prototype"),B3e={f:Object.getOwnPropertyNames||function(e){return Cq(e,N3e)}},Sq={f:Object.getOwnPropertySymbols},F3e=Re([].concat),R3e=Yg("Reflect","ownKeys")||function(e){var t=B3e.f(Hr(e)),n=Sq.f;return n?F3e(t,n(e)):t},M3e=function(e,t){for(var n=R3e(t),r=ed.f,o=$7.f,a=0;a<n.length;a++){var i=n[a];po(e,i)||r(e,i,o(t,i))}},z3e=/#|\.prototype\./,Xg=function(e,t){var n=H3e[U3e(e)];return n==V3e||n!=W3e&&(ar(t)?Xt(t):!!t)},U3e=Xg.normalize=function(e){return String(e).replace(z3e,".").toLowerCase()},H3e=Xg.data={},W3e=Xg.NATIVE="N",V3e=Xg.POLYFILL="P",q3e=Xg,G3e=$7.f,jn=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?Ge:l?Ge[s]||A7(s,{}):(Ge[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=G3e(n,r))&&i.value:n[r],!q3e(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;M3e(a,o)}(e.sham||o&&o.sham)&&Af(a,"sham",!0),Zh(n,r,a,e)}},PI=Re(Re.bind),oy=Array.isArray||function(e){return ps(e)=="Array"},_q={};_q[Kr("toStringTag")]="z";var I7=String(_q)==="[object z]",Z3e=Kr("toStringTag"),Y3e=Ge.Object,J3e=ps(function(){return arguments}())=="Arguments",N7=I7?ps:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=Y3e(e),Z3e))=="string"?n:J3e?ps(t):(r=ps(t))=="Object"&&ar(t.callee)?"Arguments":r},Oq=function(){},K3e=[],Dq=Yg("Reflect","construct"),B7=/^\s*(?:class|function)\b/,X3e=Re(B7.exec),Q3e=!B7.exec(Oq),Kd=function(e){if(!ar(e))return!1;try{return Dq(Oq,K3e,e),!0}catch{return!1}},F7=!Dq||Xt(function(){var e;return Kd(Kd.call)||!Kd(Object)||!Kd(function(){e=!0})||e})?function(e){if(!ar(e))return!1;switch(N7(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Q3e||!!X3e(B7,j7(e))}:Kd,e5e=Kr("species"),$I=Ge.Array,t5e=function(e,t){return new(function(n){var r;return oy(n)&&(r=n.constructor,(F7(r)&&(r===$I||oy(r.prototype))||gi(r)&&(r=r[e5e])===null)&&(r=void 0)),r===void 0?$I:r}(e))(t===0?0:t)},jI=Re([].push),h0=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=Jg(u),y=n2(m),g=function(k,C){return mq(k),C===void 0?k:PI?PI(k,C):function(){return k.apply(C,arguments)}}(l,c),v=i2(y),h=0,b=f||t5e,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:jI(w,d)}else switch(e){case 4:return!1;case 7:jI(w,d)}return a?-1:r||o?o:w}},a2={forEach:h0(0),map:h0(1),filter:h0(2),find:h0(5)},n5e=Kr("species"),R7=function(e){return s8>=51||!Xt(function(){var t=[];return(t.constructor={})[n5e]=function(){return{foo:1}},t[e](Boolean).foo!==1})},r5e=a2.filter;jn({target:"Array",proto:!0,forced:!R7("filter")},{filter:function(e){return r5e(this,e,arguments.length>1?arguments[1]:void 0)}});var o5e=I7?{}.toString:function(){return"[object "+N7(this)+"]"};I7||Zh(Object.prototype,"toString",o5e,{unsafe:!0});var g0,i5e=Ge.String,Jt=function(e){if(N7(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return i5e(e)},Aq=function(){var e=Hr(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},M7=Ge.RegExp,p8=Xt(function(){var e=M7("a","y");return e.lastIndex=2,e.exec("abcd")!=null});p8||Xt(function(){return!M7("a","y").sticky});var xq={BROKEN_CARET:p8||Xt(function(){var e=M7("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),UNSUPPORTED_Y:p8},Xc=Object.keys||function(e){return Cq(e,ry)},a5e=Vo?Object.defineProperties:function(e,t){Hr(e);for(var n,r=Qf(t),o=Xc(t),a=o.length,i=0;a>i;)ed.f(e,n=o[i++],r[n]);return e},s5e=Yg("document","documentElement"),Lq=wq("IE_PROTO"),kC=function(){},Pq=function(e){return"<script>"+e+"<\/script>"},TI=function(e){e.write(Pq("")),e.close();var t=e.parentWindow.Object;return e=null,t},km=function(){try{g0=new ActiveXObject("htmlfile")}catch{}var e,t;km=typeof document<"u"?document.domain&&g0?TI(g0):((t=P7("iframe")).style.display="none",s5e.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(Pq("document.F=Object")),e.close(),e.F):TI(g0);for(var n=ry.length;n--;)delete km.prototype[ry[n]];return km()};T7[Lq]=!0;var II,EC,$q=Object.create||function(e,t){var n;return e!==null?(kC.prototype=Hr(e),n=new kC,kC.prototype=null,n[Lq]=e):n=km(),t===void 0?n:a5e(n,t)},u5e=Ge.RegExp,l5e=Xt(function(){var e=u5e(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),c5e=Ge.RegExp,f5e=Xt(function(){var e=c5e("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),d5e=d8.get,p5e=x7("native-string-replace",String.prototype.replace),iy=RegExp.prototype.exec,h8=iy,h5e=Re("".charAt),g5e=Re("".indexOf),v5e=Re("".replace),CC=Re("".slice),SC=(EC=/b*/g,dn(iy,II=/a/,"a"),dn(iy,EC,"a"),II.lastIndex!==0||EC.lastIndex!==0),NI=xq.BROKEN_CARET,_C=/()??/.exec("")[1]!==void 0;(SC||_C||NI||l5e||f5e)&&(h8=function(e){var t,n,r,o,a,i,s,u=this,l=d5e(u),c=Jt(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=dn(h8,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=NI&&u.sticky,m=dn(Aq,u),y=u.source,g=0,v=c;if(p&&(m=v5e(m,"y",""),g5e(m,"g")===-1&&(m+="g"),v=CC(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&h5e(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),_C&&(n=new RegExp("^"+y+"$(?!\\s)",m)),SC&&(r=u.lastIndex),o=dn(iy,p?n:u,v),p?o?(o.input=CC(o.input,g),o[0]=CC(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:SC&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),_C&&o&&o.length>1&&dn(p5e,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=$q(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var Jh=h8;jn({target:"RegExp",proto:!0,forced:/./.exec!==Jh},{exec:Jh});var z7=Function.prototype,BI=z7.apply,m5e=z7.bind,FI=z7.call,jq=typeof Reflect=="object"&&Reflect.apply||(m5e?FI.bind(BI):function(){return FI.apply(BI,arguments)}),y5e=Kr("species"),OC=RegExp.prototype,U7=function(e,t,n,r){var o=Kr(e),a=!Xt(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!Xt(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[y5e]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=Re(/./[o]),u=t(o,""[e],function(l,c,f,d,p){var m=Re(l),y=c.exec;return y===Jh||y===OC.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Zh(String.prototype,e,u[0]),Zh(OC,o,u[1])}r&&Af(OC[o],"sham",!0)},b5e=Re("".charAt),RI=Re("".charCodeAt),w5e=Re("".slice),k5e=function(e){return function(t,n){var r,o,a=Jt(wo(t)),i=td(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=RI(a,i))<55296||r>56319||i+1===s||(o=RI(a,i+1))<56320||o>57343?e?b5e(a,i):r:e?w5e(a,i,i+2):o-56320+(r-55296<<10)+65536}},E5e=k5e(!0),H7=function(e,t,n){return t+(n?E5e(e,t).length:1)},C5e=Math.floor,DC=Re("".charAt),S5e=Re("".replace),AC=Re("".slice),_5e=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,O5e=/\$([$&'`]|\d{1,2})/g,D5e=function(e,t,n,r,o,a){var i=n+e.length,s=r.length,u=O5e;return o!==void 0&&(o=Jg(o),u=_5e),S5e(a,u,function(l,c){var f;switch(DC(c,0)){case"$":return"$";case"&":return e;case"`":return AC(t,0,n);case"'":return AC(t,i);case"<":f=o[AC(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>s){var p=C5e(d/10);return p===0?l:p<=s?r[p-1]===void 0?DC(c,1):r[p-1]+DC(c,1):l}f=r[d-1]}return f===void 0?"":f})},A5e=Ge.TypeError,Kh=function(e,t){var n=e.exec;if(ar(n)){var r=dn(n,e,t);return r!==null&&Hr(r),r}if(ps(e)==="RegExp")return dn(Jh,e,t);throw A5e("RegExp#exec called on incompatible receiver")},g8=Kr("replace"),x5e=Math.max,L5e=Math.min,P5e=Re([].concat),xC=Re([].push),MI=Re("".indexOf),zI=Re("".slice),$5e="a".replace(/./,"$0")==="$0",UI=!!/./[g8]&&/./[g8]("a","$0")==="";U7("replace",function(e,t,n){var r=UI?"$":"$0";return[function(o,a){var i=wo(this),s=o==null?void 0:r2(o,g8);return s?dn(s,o,i,a):dn(t,Jt(i),o,a)},function(o,a){var i=Hr(this),s=Jt(o);if(typeof a=="string"&&MI(a,r)===-1&&MI(a,"$<")===-1){var u=n(t,i,s,a);if(u.done)return u.value}var l=ar(a);l||(a=Jt(a));var c=i.global;if(c){var f=i.unicode;i.lastIndex=0}for(var d=[];;){var p=Kh(i,s);if(p===null||(xC(d,p),!c))break;Jt(p[0])===""&&(i.lastIndex=H7(s,Kg(i.lastIndex),f))}for(var m,y="",g=0,v=0;v<d.length;v++){for(var h=Jt((p=d[v])[0]),b=x5e(L5e(td(p.index),s.length),0),w=[],k=1;k<p.length;k++)xC(w,(m=p[k])===void 0?m:String(m));var C=p.groups;if(l){var E=P5e([h],w,b,s);C!==void 0&&xC(E,C);var D=Jt(jq(a,void 0,E))}else D=D5e(h,s,b,w,C,a);b>=g&&(y+=zI(s,g,b)+D,g=b+h.length)}return y+zI(s,g)}]},!!Xt(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!$5e||UI);var v8=Kr("unscopables"),m8=Array.prototype;m8[v8]==null&&ed.f(m8,v8,{configurable:!0,value:$q(null)});var Tq=function(e){m8[v8][e]=!0},j5e=a2.find,HI=!0;"find"in[]&&Array(1).find(function(){HI=!1}),jn({target:"Array",proto:!0,forced:HI},{find:function(e){return j5e(this,e,arguments.length>1?arguments[1]:void 0)}}),Tq("find");var T5e=Kr("match"),Iq=function(e){var t;return gi(e)&&((t=e[T5e])!==void 0?!!t:ps(e)=="RegExp")},I5e=Ge.TypeError,N5e=Kr("species"),Nq=function(e,t,n){var r=L7(t);r in e?ed.f(e,r,O7(0,n)):e[r]=n},B5e=Ge.Array,F5e=Math.max,WI=function(e,t,n){for(var r=i2(e),o=Yh(t,r),a=Yh(n===void 0?r:n,r),i=B5e(F5e(a-o,0)),s=0;o<a;o++,s++)Nq(i,s,e[o]);return i.length=s,i},dc=xq.UNSUPPORTED_Y,R5e=Math.min,Bq=[].push,M5e=Re(/./.exec),pc=Re(Bq),Xd=Re("".slice);U7("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,a){var i=Jt(wo(this)),s=a===void 0?4294967295:a>>>0;if(s===0)return[];if(o===void 0)return[i];if(!Iq(o))return dn(t,i,o,s);for(var u,l,c,f=[],d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),p=0,m=new RegExp(o.source,d+"g");(u=dn(Jh,m,i))&&!((l=m.lastIndex)>p&&(pc(f,Xd(i,p,u.index)),u.length>1&&u.index<i.length&&jq(Bq,f,WI(u,1)),c=u[0].length,p=l,f.length>=s));)m.lastIndex===u.index&&m.lastIndex++;return p===i.length?!c&&M5e(m,"")||pc(f,""):pc(f,Xd(i,p)),f.length>s?WI(f,0,s):f}:"0".split(void 0,0).length?function(o,a){return o===void 0&&a===0?[]:dn(t,this,o,a)}:t,[function(o,a){var i=wo(this),s=o==null?void 0:r2(o,e);return s?dn(s,o,i,a):dn(r,Jt(i),o,a)},function(o,a){var i=Hr(this),s=Jt(o),u=n(r,i,s,a,r!==t);if(u.done)return u.value;var l=function(w,k){var C,E=Hr(w).constructor;return E===void 0||(C=Hr(E)[N5e])==null?k:function(D){if(F7(D))return D;throw I5e(vq(D)+" is not a constructor")}(C)}(i,RegExp),c=i.unicode,f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(dc?"g":"y"),d=new l(dc?"^(?:"+i.source+")":i,f),p=a===void 0?4294967295:a>>>0;if(p===0)return[];if(s.length===0)return Kh(d,s)===null?[s]:[];for(var m=0,y=0,g=[];y<s.length;){d.lastIndex=dc?0:y;var v,h=Kh(d,dc?Xd(s,y):s);if(h===null||(v=R5e(Kg(d.lastIndex+(dc?y:0)),s.length))===m)y=H7(s,y,c);else{if(pc(g,Xd(s,m,y)),g.length===p)return g;for(var b=1;b<=h.length-1;b++)if(pc(g,h[b]),g.length===p)return g;y=m=v}}return pc(g,Xd(s,m)),g}]},!!Xt(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"}),dc);var y8=`
- \v\f\r \u2028\u2029\uFEFF`,VI=Re("".replace),ay="["+y8+"]",z5e=RegExp("^"+ay+ay+"*"),U5e=RegExp(ay+ay+"*$"),H5e=function(e){return function(t){var n=Jt(wo(t));return 1&e&&(n=VI(n,z5e,"")),2&e&&(n=VI(n,U5e,"")),n}},W5e={trim:H5e(3)},V5e=o2.PROPER,q5e=W5e.trim;function W7(e){return T("<div>"+e+"</div>").children().filter(function(t){return t.tagName!=="BR"}).length===0}function nd(e){return e.length===0?"":e[0].outerHTML}function rd(e){return e.length?e[0].tagName.toLowerCase():""}function zo(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,a=0;a<o;a++){var i=r[a];if(i){var s=i.split(":");s[0].trim()===t&&(n=s[1].trim())}}return n}jn({target:"String",proto:!0,forced:Xt(function(){return!!y8.trim()||"
".trim()!=="
"||V5e&&y8.trim.name!=="trim"})},{trim:function(){return q5e(this)}}),jn({global:!0},{globalThis:Ge}),P1&&(T.fn.css=P1),yo&&(T.fn.append=yo),j$&&(T.fn.prepend=j$),ff&&(T.fn.addClass=ff),df&&(T.fn.removeClass=df),pf&&(T.fn.hasClass=pf),Di&&(T.fn.on=Di),x$&&(T.fn.off=x$),Ls&&(T.fn.focus=Ls),mo&&(T.fn.attr=mo),D1&&(T.fn.removeAttr=D1),gf&&(T.fn.hide=gf),L1&&(T.fn.show=L1),T1&&(T.fn.parents=T1),hf&&(T.fn.dataset=hf),Oi&&(T.fn.val=Oi),j1&&(T.fn.text=j1),xs&&(T.fn.html=xs),yf&&(T.fn.children=yf),bf&&(T.fn.remove=bf),mf&&(T.fn.find=mf),A1&&(T.fn.width=A1),x1&&(T.fn.height=x1),P$&&(T.fn.filter=P$),wf&&(T.fn.empty=wf);var G5e={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=T(e);return(t=t.filter(function(o){return!!Oe.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}},b8=function(e,t){return b8=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])},b8(e,t);/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */};function Zt(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}b8(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var js=function(){return js=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},js.apply(this,arguments)};function Vs(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(l){try{u(r.next(l))}catch(c){a(c)}}function s(l){try{u(r.throw(l))}catch(c){a(c)}}function u(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(i,s)}u((r=r.apply(e,[])).next())})}function qs(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function Fq(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 yt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function qI(e){var t=yt(S.nodes(e,{match:function(a){return e.children[0]===a},mode:"highest"}),1)[0];if(t==null)return!1;var n=t[0];if(!$e.isElement(n)||n.type==="paragraph"||we.string(n)!=="")return!1;var r=n.children,o=r===void 0?[]:r;return!!Oe.isText(o[0])&&(Z.setNodes(e,{type:"paragraph"}),!0)}var Z5e={renderElems:[Q_e],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return t===""?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[G5e],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(o){qI(r)||t(o)},r.deleteForward=function(o){qI(r)||n(o)},r}},Y5e=/"/g,J5e=Re("".replace),Gp=function(e,t,n,r){var o=Jt(wo(e)),a="<"+t;return n!==""&&(a+=" "+n+'="'+J5e(Jt(r),Y5e,""")+'"'),a+">"+o+"</"+t+">"},Zp=function(e){return Xt(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function LC(e,t){var n=t,r=e,o=r.bold,a=r.italic,i=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),a&&(n="<em>"+n+"</em>"),i&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function uu(e,t){return e.length!==0&&(!!e[0].matches(t)||e.find(t).length>0)}jn({target:"String",proto:!0,forced:Zp("bold")},{bold:function(){return Gp(this,"b","","")}}),jn({target:"String",proto:!0,forced:Zp("italics")},{italics:function(){return Gp(this,"i","","")}}),jn({target:"String",proto:!0,forced:Zp("sub")},{sub:function(){return Gp(this,"sub","","")}}),jn({target:"String",proto:!0,forced:Zp("sup")},{sup:function(){return Gp(this,"sup","","")}});var GI={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},PC=P7("span").classList,ZI=PC&&PC.constructor&&PC.constructor.prototype,K5e=ZI===Object.prototype?void 0:ZI,Rq=function(e,t){var n=[][e];return!!n&&Xt(function(){n.call(null,t||function(){throw 1},1)})},X5e=a2.forEach,$C=Rq("forEach")?[].forEach:function(e){return X5e(this,e,arguments.length>1?arguments[1]:void 0)},Mq=function(e){if(e&&e.forEach!==$C)try{Af(e,"forEach",$C)}catch{e.forEach=$C}};for(var jC in GI)GI[jC]&&Mq(Ge[jC]&&Ge[jC].prototype);function zq(e,t){return e.selection==null||!!yt(S.nodes(e,{match:function(n){return P.getNodeType(n)==="pre"||!!S.isVoid(e,n)},universal:!0}),1)[0]}function Q5e(e,t){Object.keys(t).forEach(function(n){n!=="text"&&S.removeMark(e,n)})}Mq(K5e),jn({target:"Object",stat:!0,forced:Xt(function(){Xc(1)})},{keys:function(e){return Xc(Jg(e))}});var Ul=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(t){var n=this.mark,r=S.marks(t);return r?r[n]:!!yt(S.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 zq(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(a){return t.removeMark(a)}))},e}(),e8e='<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>',t8e='<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>',n8e='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',r8e='<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>',o8e='<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>',Uq='<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>',Hq='<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>',i8e='<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>',a8e='<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>',s8e='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',u8e='<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>',l8e='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',c8e='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',f8e='<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>',d8e='<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>',p8e='<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>',h8e='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',g8e='<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>',v8e='<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>',m8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="bold",n.title=ke("textStyle.bold"),n.iconSvg=e8e,n.hotkey="mod+b",n}return Zt(t,e),t}(Ul),y8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="code",n.title=ke("textStyle.code"),n.iconSvg=o8e,n.hotkey="mod+e",n}return Zt(t,e),t}(Ul),b8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="italic",n.title=ke("textStyle.italic"),n.iconSvg=n8e,n.hotkey="mod+i",n}return Zt(t,e),t}(Ul),w8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="through",n.title=ke("textStyle.through"),n.iconSvg=r8e,n.hotkey="mod+shift+x",n}return Zt(t,e),t}(Ul),k8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="underline",n.title=ke("textStyle.underline"),n.iconSvg=t8e,n.hotkey="mod+u",n}return Zt(t,e),t}(Ul),E8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=ke("textStyle.sub"),n.iconSvg=v8e,n.hotkey="",n}return Zt(t,e),t}(Ul),C8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=ke("textStyle.sup"),n.iconSvg=g8e,n.hotkey="",n}return Zt(t,e),t}(Ul),S8e=function(){function e(){this.title=ke("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 zq(t)},e.prototype.exec=function(t,n){var r,o,a=S.nodes(t,{match:function(u){return Oe.isText(u)},universal:!0});try{for(var i=Fq(a),s=i.next();!s.done;s=i.next())Q5e(t,s.value[0])}catch(u){r={error:u}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}},e}(),_8e={renderStyle:function(e,t){var n=e,r=n.bold,o=n.italic,a=n.underline,i=n.code,s=n.through,u=n.sub,l=n.sup,c=t;return r&&(c=ze("strong",null,c)),i&&(c=ze("code",null,c)),o&&(c=ze("em",null,c)),a&&(c=ze("u",null,c)),s&&(c=ze("s",null,c)),u&&(c=ze("sub",null,c)),l&&(c=ze("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new m8e}},{key:"underline",factory:function(){return new k8e}},{key:"italic",factory:function(){return new b8e}},{key:"through",factory:function(){return new w8e}},{key:"code",factory:function(){return new y8e}},{key:"sub",factory:function(){return new E8e}},{key:"sup",factory:function(){return new C8e}},{key:"clearStyle",factory:function(){return new S8e}}],styleToHtml:function(e,t){if(!Oe.isText(e))return t;if(W7(t))return LC(e,t);var n=T(t);if(rd(n)==="br")return LC(e,"<br>");var r=n.html();return r=LC(e,r),n.html(r),nd(n)},parseStyleHtml:function(e,t,n){var r=T(e);if(!Oe.isText(t))return t;var o=t;return uu(r,"b,strong")&&(o.bold=!0),uu(r,"i,em")&&(o.italic=!0),uu(r,"u")&&(o.underline=!0),uu(r,"s,strike")&&(o.through=!0),uu(r,"sub")&&(o.sub=!0),uu(r,"sup")&&(o.sup=!0),uu(r,"code")&&(o.code=!0),o}};function Qg(e){return function(t,n,r){return ze("h"+e,null,n)}}var O8e={type:"header1",renderElem:Qg(1)},D8e={type:"header2",renderElem:Qg(2)},A8e={type:"header3",renderElem:Qg(3)},x8e={type:"header4",renderElem:Qg(4)},L8e={type:"header5",renderElem:Qg(5)},P8e=o2.PROPER,w8=RegExp.prototype,Wq=w8.toString,$8e=Re(Aq),j8e=Xt(function(){return Wq.call({source:"a",flags:"b"})!="/a/b"}),T8e=P8e&&Wq.name!="toString";(j8e||T8e)&&Zh(RegExp.prototype,"toString",function(){var e=Hr(this),t=Jt(e.source),n=e.flags;return"/"+t+"/"+Jt(n===void 0&&gq(w8,e)&&!("flags"in w8)?$8e(e):n)},{unsafe:!0});var TC,I8e=Ge.TypeError,Vq=function(e){if(Iq(e))throw I8e("The method doesn't accept regular expressions");return e},N8e=Kr("match"),qq=function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[N8e]=!1,"/./"[e](t)}catch{}}return!1},B8e=$7.f,YI=Re("".startsWith),F8e=Re("".slice),R8e=Math.min,JI=qq("startsWith");function Gq(e){var t=yt(S.nodes(e,{match:function(o){return P.getNodeType(o).startsWith("header")},universal:!0}),1),n=t[0];if(n==null)return"paragraph";var r=yt(n,1)[0];return P.getNodeType(r)}function Zq(e){return e.selection==null||!yt(S.nodes(e,{match:function(t){var n=P.getNodeType(t);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function Yq(e,t){t&&Z.setNodes(e,{type:t})}jn({target:"String",proto:!0,forced:!(!JI&&(TC=B8e(String.prototype,"startsWith"),TC&&!TC.writable)||JI)},{startsWith:function(e){var t=Jt(wo(this));Vq(e);var n=Kg(R8e(arguments.length>1?arguments[1]:void 0,t.length)),r=Jt(e);return YI?YI(t,r,n):F8e(t,n,n+r.length)===r}});var M8e=function(){function e(){this.title=ke("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:ke("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 Gq(t)},e.prototype.isDisabled=function(t){return Zq(t)},e.prototype.exec=function(t,n){Yq(t,n.toString())},e}(),ev=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return Gq(t)},e.prototype.isActive=function(t){return this.getValue(t)===this.type},e.prototype.isDisabled=function(t){return Zq(t)},e.prototype.exec=function(t,n){var r=this.type;Yq(t,n===r?"paragraph":r)},e}(),z8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return Zt(t,e),t}(ev),U8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return Zt(t,e),t}(ev),H8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return Zt(t,e),t}(ev),W8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return Zt(t,e),t}(ev),V8e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return Zt(t,e),t}(ev),q8e={key:"headerSelect",factory:function(){return new M8e}},G8e={key:"header1",factory:function(){return new z8e}},Z8e={key:"header2",factory:function(){return new U8e}},Y8e={key:"header3",factory:function(){return new H8e}},J8e={key:"header4",factory:function(){return new W8e}},K8e={key:"header5",factory:function(){return new V8e}};function Qd(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function ep(e){return function(t,n,r){var o=T(t);return(n=n.filter(function(a){return!!Oe.isText(a)||!!r.isInline(a)})).length===0&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var X8e={renderElems:[O8e,D8e,A8e,x8e,L8e],elemsToHtml:[{type:"header1",elemToHtml:Qd(1)},{type:"header2",elemToHtml:Qd(2)},{type:"header3",elemToHtml:Qd(3)},{type:"header4",elemToHtml:Qd(4)},{type:"header5",elemToHtml:Qd(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:ep(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:ep(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:ep(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:ep(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:ep(5)}],menus:[q8e,G8e,Z8e,Y8e,J8e,K8e],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=yt(S.nodes(n,{match:function(o){return P.getNodeType(o).startsWith("header")},universal:!0}),1)[0];r&&P.isSelectionAtLineEnd(e,r[1])?Z.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},hc=Object.assign,KI=Object.defineProperty,Q8e=Re([].concat),XI=!hc||Xt(function(){if(Vo&&hc({b:1},hc(KI({},"a",{enumerable:!0,get:function(){KI(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}),hc({},e)[n]!=7||Xc(hc({},t)).join("")!=r})?function(e,t){for(var n=Jg(e),r=arguments.length,o=1,a=Sq.f,i=pq.f;r>o;)for(var s,u=n2(arguments[o++]),l=a?Q8e(Xc(u),a(u)):Xc(u),c=l.length,f=0;c>f;)s=l[f++],Vo&&!dn(i,u,s)||(n[s]=u[s]);return n}:hc;function _l(e,t){e.data==null&&(e.data={});var n=e.data;n.style==null&&(n.style={}),Object.assign(n.style,t)}jn({target:"Object",stat:!0,forced:Object.assign!==XI},{assign:XI});var e6e={selector:"font",preParseHtml:function(e){var t=T(e);if(rd(t)!=="font")return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},Jq=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=S.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||!!yt(S.nodes(t,{match:function(n){return P.getNodeType(n)==="pre"||!!S.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){var n=this.mark;if(this.$content==null){var r=T('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(l){var c=l.target;if(c!=null&&(l.preventDefault(),t.selection!=null)){var f=T(c).attr("data-value");f==="0"?S.removeMark(t,n):S.addMark(t,n,f)}}),this.$content=r}var o=this.$content;if(o==null)return document.createElement("ul");o.empty();var a=this.getValue(t),i=t.getMenuConfig(n).colors;(i===void 0?[]:i).forEach(function(l){var c=T('<div class="color-block" data-value="'+l+'"></div>');c.css("background-color",l);var f=T('<li data-value="'+l+'"></li>');a===l&&f.addClass("active"),f.append(c),o.append(f)});var s="";n==="color"&&(s=ke("color.default")),n==="bgColor"&&(s=ke("color.clear"));var u=T(`
- <li data-value="0" class="clear">
- <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>
- `+s+`
- </li>
- `);return o.prepend(u),o[0]},e}(),t6e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("color.color"),n.iconSvg=i8e,n.mark="color",n}return Zt(t,e),t}(Jq),n6e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("color.bgColor"),n.iconSvg=a8e,n.mark="bgColor",n}return Zt(t,e),t}(Jq),QI=["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)"],r6e={renderStyle:function(e,t){var n=e,r=n.color,o=n.bgColor,a=t;return r&&_l(a,{color:r}),o&&_l(a,{backgroundColor:o}),a},styleToHtml:function(e,t){if(!Oe.isText(e))return t;var n,r=e,o=r.color,a=r.bgColor;return o||a?((W7(t)||rd(n=T(t))!=="span")&&(n=T("<span>"+t+"</span>")),o&&n.css("color",o),a&&n.css("background-color",a),nd(n)):t},preParseHtml:[e6e],parseStyleHtml:function(e,t,n){var r=T(e);if(!Oe.isText(t))return t;var o=t,a=zo(r,"color");a&&(o.color=a);var i=zo(r,"background-color");return i||(i=zo(r,"background")),i&&(o.bgColor=i),o},menus:[{key:"color",factory:function(){return new t6e},config:{colors:QI}},{key:"bgColor",factory:function(){return new n6e},config:{colors:QI}}]},o6e=/^(?:\w+:)?\/\/(\S+)$/,i6e=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,a6e=/^[^\s\.]+\.\S{2,}$/,s6e=Eq.includes;function s2(e){return e===void 0&&(e="r"),e+"-"+wW()}function V7(e){return e.replace(/</g,"<").replace(/>/g,">")}function Kq(e,t,n,r){return Vs(this,void 0,void 0,function(){var o,a;return qs(this,function(i){switch(i.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if(typeof(a=i.sent())=="string")return t.alert(a,"error"),[2,!1];if(a==null)return[2,!1];i.label=2;case 2:return[2,!0]}})})}function Xq(e,t,n){return Vs(this,void 0,void 0,function(){var r;return qs(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 q7(e){return e.selection==null||!!P.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function IC(e,t){return{type:"link",url:V7(e),children:t?[{text:t}]:[]}}function Qq(e,t,n){return Vs(this,void 0,void 0,function(){var r,o,a;return qs(this,function(i){switch(i.label){case 0:return n?(t||(t=n),e.restoreSelection(),q7(e)?[2]:[4,Kq("insertLink",e,t,n)]):[2];case 1:return i.sent()?[4,Xq("insertLink",e,n)]:[2];case 2:return r=i.sent(),(o=e.selection)==null||(ee.isCollapsed(o)?(e.insertText(" "),a=IC(r,t),Z.insertNodes(e,a),e.insertFragment([{text:" "}])):S.string(e,o)!==t?(e.deleteFragment(),a=IC(r,t),Z.insertNodes(e,a)):(a=IC(r),Z.wrapNodes(e,a,{split:!0}),Z.collapse(e,{edge:"end"}))),[2]}})})}jn({target:"Array",proto:!0},{includes:function(e){return s6e(this,e,arguments.length>1?arguments[1]:void 0)}}),Tq("includes");var u6e={type:"link",renderElem:function(e,t,n){var r=e,o=r.url,a=r.target;return ze("a",{href:o,target:a===void 0?"_blank":a},t)}},l6e={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=T(e);return(t=t.filter(function(o){return!!Oe.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 NC(){return s2("w-e-insert-link")}var c6e=function(){function e(){this.title=ke("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=NC(),this.urlInputId=NC(),this.buttonId=NC()}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 q7(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=t.selection,r=this,o=r.textInputId,a=r.urlInputId,i=r.buttonId,s=yt(Ur(ke("link.text"),o),2),u=s[0],l=T(s[1]),c=yt(Ur(ke("link.url"),a),2),f=c[0],d=T(c[1]),p=yt(Xf(i,ke("common.ok")),1)[0];if(this.$content==null){var m=T("<div></div>");m.on("click","#"+i,function(v){v.preventDefault();var h=m.find("#"+o).val(),b=m.find("#"+a).val();Qq(t,h,b),t.hidePanelOrModal()}),this.$content=m}var y=this.$content;if(y.empty(),y.append(u),y.append(f),y.append(p),n==null||ee.isCollapsed(n))l.val("");else{var g=S.string(t,n);l.val(g)}return d.val(""),setTimeout(function(){l.focus()}),y[0]},e}();function eN(){return s2("w-e-update-link")}var f6e=function(){function e(){this.title=ke("link.edit"),this.iconSvg=Uq,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=eN(),this.buttonId=eN()}return e.prototype.getSelectedLinkElem=function(t){var n=P.getSelectedNodeByType(t,"link");return n??null},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 P.getSelectedNodeByType(t,"link")},e.prototype.getModalContentElem=function(t){var n=this.urlInputId,r=this.buttonId,o=yt(Ur(ke("link.url"),n),2),a=o[0],i=T(o[1]),s=yt(Xf(r,ke("common.ok")),1)[0];if(this.$content==null){var u=T("<div></div>");u.on("click","button",function(f){f.preventDefault(),t.restoreSelection();var d=P.getSelectedNodeByType(t,"link"),p=d?we.string(d):"",m=u.find("#"+n).val();(function(y,g,v){Vs(this,void 0,void 0,function(){var h,b;return qs(this,function(w){switch(w.label){case 0:return v?[4,Kq("editLink",y,g,v)]:[2];case 1:return w.sent()?[4,Xq("editLink",y,v)]:[2];case 2:return h=w.sent(),b={url:V7(h)},Z.setNodes(y,b,{match:function(k){return P.checkNodeType(k,"link")}}),[2]}})})})(t,p,m),t.hidePanelOrModal()}),this.$content=u}var l=this.$content;l.empty(),l.append(a),l.append(s);var c=this.getValue(t);return i.val(c),setTimeout(function(){i.focus()}),l[0]},e}(),d6e=function(){function e(){this.title=ke("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||P.getSelectedNodeByType(t,"link")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Z.unwrapNodes(t,{match:function(r){return P.checkNodeType(r,"link")}})},e}(),p6e=function(){function e(){this.title=ke("link.view"),this.iconSvg=Hq,this.tag="button"}return e.prototype.getSelectedLinkElem=function(t){var n=P.getSelectedNodeByType(t,"link");return n??null},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}(),tN={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},h6e={renderElems:[u6e],elemsToHtml:[{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>"}}],parseElemsHtml:[l6e],menus:[{key:"insertLink",factory:function(){return new c6e},config:tN},{key:"editLink",factory:function(){return new f6e},config:tN},{key:"unLink",factory:function(){return new d6e}},{key:"viewLink",factory:function(){return new p6e}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var o=e;return o.isInline=function(a){return a.type==="link"||t(a)},o.insertData=function(a){var i=a.getData("text/plain");if(function(l){if(typeof l!="string")return!1;var c=l.match(o6e);if(!c)return!1;var f=c[1];return!(!f||!i6e.test(f)&&!a6e.test(f))}(i)){if(!q7(o)){var s=o.selection;if(s!=null){var u=S.string(o,s);Qq(o,u,i)}}}else n(a)},o.normalizeNode=function(a){var i=yt(a,2),s=i[0],u=i[1];return P.getNodeType(s)!=="link"?r([s,u]):we.string(s)===""?Z.removeNodes(o,{at:u}):r([s,u])},o}},g6e=Re(1 .valueOf),v6e=Ge.RangeError,m6e=Ge.RangeError,eG=Ge.String,tG=Math.floor,k8=Re(function(e){var t=Jt(wo(this)),n="",r=td(e);if(r<0||r==1/0)throw v6e("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),nN=Re("".slice),tp=Re(1 .toFixed),Wc=function(e,t,n){return t===0?n:t%2==1?Wc(e,t-1,n*e):Wc(e*e,t/2,n)},gc=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=tG(o/1e7)},BC=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=tG(r/t),r=r%t*1e7},rN=function(e){for(var t=6,n="";--t>=0;)if(n!==""||t===0||e[t]!==0){var r=eG(e[t]);n=n===""?r:n+k8("0",7-r.length)+r}return n};function oN(e,t){return"w-e-image-container-"+P.findKey(e,t).id}jn({target:"Number",proto:!0,forced:Xt(function(){return tp(8e-5,3)!=="0.000"||tp(.9,0)!=="1"||tp(1.255,2)!=="1.25"||tp(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!Xt(function(){tp({})})},{toFixed:function(e){var t,n,r,o,a=g6e(this),i=td(e),s=[0,0,0,0,0,0],u="",l="0";if(i<0||i>20)throw m6e("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return eG(a);if(a<0&&(u="-",a=-a),a>1e-21)if(n=(t=function(c){for(var f=0,d=c;d>=4096;)f+=12,d/=4096;for(;d>=2;)f+=1,d/=2;return f}(a*Wc(2,69,1))-69)<0?a*Wc(2,-t,1):a/Wc(2,t,1),n*=4503599627370496,(t=52-t)>0){for(gc(s,0,n),r=i;r>=7;)gc(s,1e7,0),r-=7;for(gc(s,Wc(10,r,1),0),r=t-1;r>=23;)BC(s,1<<23),r-=23;BC(s,1<<r),gc(s,1,1),BC(s,2),l=rN(s)}else gc(s,0,n),gc(s,1<<-t,0),l=rN(s)+k8("0",i);return i>0?u+((o=l.length)<=i?"0."+k8("0",i-o)+l:nN(l,0,o-i)+"."+nN(l,o-i)):u+l}});var y6e={type:"image",renderElem:function(e,t,n){var r=e,o=r.src,a=r.alt,i=a===void 0?"":a,s=r.href,u=s===void 0?"":s,l=r.style,c=l===void 0?{}:l,f=c.width,d=f===void 0?"":f,p=c.height,m=p===void 0?"":p,y=P.isNodeSelected(n,e),g={};d&&(g.width="100%"),m&&(g.height="100%");var v=ze("img",{style:g,src:o,alt:i,"data-href":u}),h=n.isDisabled();return y&&!h?function(b,w,k,C){var E=T("body"),D=oN(b,w),A=C.width,B=C.height,q=0,R=0,ie=0,K=!1,te=null;function F(j){te=function(){var L=T("#"+D);if(L.length===0)throw new Error("Cannot find image container elem");return L}(),q=j;var _=te.find("img");if(_.length===0)throw new Error("Cannot find image elem");R=_.width(),ie=_.height(),E.on("mousemove",U),E.on("mouseup",Y);var O=P.getHoverbar(b);O&&O.hideAndClean()}var U=bl(function(j){j.preventDefault();var _=j.clientX,O=R+(K?q-_:_-q),L=ie*(O/R);te!=null&&(O<=15||L<=15||(te.css("width",O+"px"),te.css("height",L+"px")))},100);function Y(j){if(E.off("mousemove",U),te!=null){var _=te.width().toFixed(2),O=te.height().toFixed(2),L={style:js(js({},w.style),{width:_+"px",height:O+"px"})};Z.setNodes(b,L,{at:P.findPath(b,w)}),E.off("mouseup",Y)}}var I={};return A&&(I.width=A),B&&(I.height=B),ze("div",{id:D,style:I,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(j){var _=T(j.target);_.hasClass("w-e-image-dragger")&&(j.preventDefault(),(_.hasClass("left-top")||_.hasClass("left-bottom"))&&(K=!0),F(j.clientX))}}},k,ze("div",{className:"w-e-image-dragger left-top"}),ze("div",{className:"w-e-image-dragger right-top"}),ze("div",{className:"w-e-image-dragger left-bottom"}),ze("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,v,{width:d,height:m}):function(b,w,k,C){var E=C.width,D=C.height,A={};return E&&(A.width=E),D&&(A.height=D),ze("div",{id:oN(b,w),style:A,className:"w-e-image-container"},k)}(n,e,v,{width:d,height:m})}},b6e={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=T(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:zo(r,"width"),height:zo(r,"height")},children:[{text:""}]}}};function nG(e,t,n,r,o){return r===void 0&&(r=""),o===void 0&&(o=""),Vs(this,void 0,void 0,function(){var a,i;return qs(this,function(s){switch(s.label){case 0:return(a=t.getMenuConfig(e).checkImage)?[4,a(n,r,o)]:[3,2];case 1:if(typeof(i=s.sent())=="string")return t.alert(i,"error"),[2,!1];if(i==null)return[2,!1];s.label=2;case 2:return[2,!0]}})})}function rG(e,t,n){return Vs(this,void 0,void 0,function(){var r;return qs(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 Ju(e,t,n,r){return n===void 0&&(n=""),r===void 0&&(r=""),Vs(this,void 0,void 0,function(){var o,a,i;return qs(this,function(s){switch(s.label){case 0:return[4,nG("insertImage",e,t,n,r)];case 1:return s.sent()?[4,rG("insertImage",e,t)]:[2];case 2:return o=s.sent(),a={type:"image",src:V7(o),href:r,alt:n,style:{},children:[{text:""}]},e.selection===null&&e.restoreSelection(),P.getSelectedNodeByType(e,"image")&&e.move(1),u2(e)||(Z.insertNodes(e,a),(i=e.getMenuConfig("insertImage").onInsertedImage)&&i(a)),[2]}})})}function u2(e){var t=e.selection;return t==null||!ee.isCollapsed(t)||!!yt(S.nodes(e,{match:function(n){var r=P.getNodeType(n);return r==="code"||r==="pre"||r==="link"||r==="list-item"||!!r.startsWith("header")||r==="blockquote"||!!S.isVoid(e,n)},universal:!0}),1)[0]}function v0(){return s2("w-e-insert-image")}var w6e=function(){function e(){this.title=ke("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=v0(),this.altInputId=v0(),this.hrefInputId=v0(),this.buttonId=v0()}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 u2(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,o=r.srcInputId,a=r.altInputId,i=r.hrefInputId,s=r.buttonId,u=yt(Ur(ke("image.src"),o),2),l=u[0],c=T(u[1]),f=yt(Ur(ke("image.desc"),a),2),d=f[0],p=T(f[1]),m=yt(Ur(ke("image.link"),i),2),y=m[0],g=T(m[1]),v=yt(Xf(s,ke("common.ok")),1)[0];if(this.$content==null){var h=T("<div></div>");h.on("click","#"+s,function(w){w.preventDefault();var k=h.find("#"+o).val().trim(),C=h.find("#"+a).val().trim(),E=h.find("#"+i).val().trim();n.insertImage(t,k,C,E),t.hidePanelOrModal()}),this.$content=h}var b=this.$content;return b.empty(),b.append(l),b.append(d),b.append(y),b.append(v),c.val(""),p.val(""),g.val(""),setTimeout(function(){c.focus()}),b[0]},e.prototype.insertImage=function(t,n,r,o){r===void 0&&(r=""),o===void 0&&(o=""),n&&(t.restoreSelection(),this.isDisabled(t)||Ju(t,n,r,o))},e}(),k6e=function(){function e(){this.title=ke("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||P.getSelectedNodeByType(t,"image")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Z.removeNodes(t,{match:function(r){return P.checkNodeType(r,"image")}})},e}();function m0(){return s2("w-e-edit-image")}var E6e=function(){function e(){this.title=ke("image.edit"),this.iconSvg=Uq,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=m0(),this.altInputId=m0(),this.hrefInputId=m0(),this.buttonId=m0()}return e.prototype.getValue=function(t){return""},e.prototype.getImageNode=function(t){return P.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||!ee.isCollapsed(n)||P.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,a=r.altInputId,i=r.hrefInputId,s=r.buttonId,u=this.getImageNode(t);if(u==null)throw new Error("Not found selected image node");var l=yt(Ur(ke("image.src"),o),2),c=l[0],f=T(l[1]),d=yt(Ur(ke("image.desc"),a),2),p=d[0],m=T(d[1]),y=yt(Ur(ke("image.link"),i),2),g=y[0],v=T(y[1]),h=yt(Xf(s,ke("common.ok")),1)[0];if(this.$content==null){var b=T("<div></div>");b.on("click","#"+s,function(q){q.preventDefault();var R=b.find("#"+o).val(),ie=b.find("#"+a).val(),K=b.find("#"+i).val();n.updateImage(t,R,ie,K),t.hidePanelOrModal()}),this.$content=b}var w=this.$content;w.empty(),w.append(c),w.append(p),w.append(g),w.append(h);var k=u,C=k.src,E=k.alt,D=E===void 0?"":E,A=k.href,B=A===void 0?"":A;return f.val(C),m.val(D),v.val(B),setTimeout(function(){f.focus()}),w[0]},e.prototype.updateImage=function(t,n,r,o,a){r===void 0&&(r=""),o===void 0&&(o=""),a===void 0&&(a={}),n&&(t.restoreSelection(),this.isDisabled(t)||function(i,s,u,l,c){u===void 0&&(u=""),l===void 0&&(l=""),c===void 0&&(c={}),Vs(this,void 0,void 0,function(){var f,d,p,m,y,g;return qs(this,function(v){switch(v.label){case 0:return[4,nG("editImage",i,s,u,l)];case 1:return v.sent()?[4,rG("editImage",i,s)]:[2];case 2:return f=v.sent(),(d=P.getSelectedNodeByType(i,"image"))==null||(p=d.style,m={src:f,alt:u,href:l,style:js(js({},p===void 0?{}:p),c)},Z.setNodes(i,m,{match:function(h){return P.checkNodeType(h,"image")}}),y=P.getSelectedNodeByType(i,"image"),(g=i.getMenuConfig("editImage").onUpdatedImage)&&g(y)),[2]}})})}(t,n,r,o,a))},e}(),C6e=function(){function e(){this.title=ke("image.viewLink"),this.iconSvg=Hq,this.tag="button"}return e.prototype.getValue=function(t){var n=P.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}(),G7=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 P.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=P.getHoverbar(t);o&&o.hideAndClean();var a=r.style,i={style:js(js({},a===void 0?{}:a),{width:this.value,height:""})};Z.setNodes(t,i,{match:function(s){return P.checkNodeType(s,"image")}})}}},e}(),S6e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return Zt(t,e),t}(G7),_6e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return Zt(t,e),t}(G7),O6e=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return Zt(t,e),t}(G7),iN={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},D6e={renderElems:[y6e],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e,r=n.src,o=n.alt,a=o===void 0?"":o,i=n.href,s=i===void 0?"":i,u=n.style,l=u===void 0?{}:u,c=l.width,f=c===void 0?"":c,d=l.height,p=d===void 0?"":d,m="";return f&&(m+="width: "+f+";"),p&&(m+="height: "+p+";"),'<img src="'+r+'" alt="'+a+'" data-href="'+s+'" style="'+m+'"/>'}}],parseElemsHtml:[b6e],menus:[{key:"insertImage",factory:function(){return new w6e},config:iN},{key:"deleteImage",factory:function(){return new k6e}},{key:"editImage",factory:function(){return new E6e},config:iN},{key:"viewImageLink",factory:function(){return new C6e}},{key:"imageWidth30",factory:function(){return new S6e}},{key:"imageWidth50",factory:function(){return new _6e}},{key:"imageWidth100",factory:function(){return new O6e}}],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}},A6e={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var o=ze("div",{style:{margin:"5px 0"}},ze("span",{contentEditable:!1,style:{marginRight:"0.5em"}},ze("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(a){var i=P.findPath(n,e),s={checked:a.target.checked};Z.setNodes(n,s,{at:i})}}})),ze("span",null,t));return o}},x6e=function(){function e(){this.title=ke("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!!P.getSelectedNodeByType(t,"todo")},e.prototype.isDisabled=function(t){return t.selection==null||!!P.getSelectedElems(t).some(function(n){if(S.isVoid(t,n)&&S.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);Z.setNodes(t,{type:r?"paragraph":"todo"})},e}(),L6e={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=T(e);(t=t.filter(function(a){return!!Oe.isText(a)||!!n.isInline(a)})).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}}},P6e={renderElems:[A6e],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=T(e).find("li"),n=T('<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:[L6e],menus:[{key:"todo",factory:function(){return new x6e}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(r){var o=e.selection;if(o&&ee.isCollapsed(o)){var a=P.getSelectedNodeByType(e,"todo");if(a&&we.string(a).length===0)return void Z.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(r)},n}},$6e={type:"blockquote",renderElem:function(e,t,n){return ze("blockquote",null,t)}},j6e={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=T(e);return(t=t.filter(function(o){return!!Oe.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},T6e=function(){function e(){this.title=ke("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!!P.getSelectedNodeByType(t,"blockquote")},e.prototype.isDisabled=function(t){return t.selection==null||!yt(S.nodes(t,{match:function(n){var r=P.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";Z.setNodes(t,{type:r},{mode:"highest"})}},e}(),I6e={key:"blockquote",factory:function(){return new T6e}},N6e=Re([].slice),B6e=R7("slice"),F6e=Kr("species"),FC=Ge.Array,R6e=Math.max;jn({target:"Array",proto:!0,forced:!B6e},{slice:function(e,t){var n,r,o,a=Qf(this),i=i2(a),s=Yh(e,i),u=Yh(t===void 0?i:t,i);if(oy(a)&&(n=a.constructor,(F7(n)&&(n===FC||oy(n.prototype))||gi(n)&&(n=n[F6e])===null)&&(n=void 0),n===FC||n===void 0))return N6e(a,s,u);for(r=new(n===void 0?FC:n)(R6e(u-s,0)),o=0;s<u;s++,o++)s in a&&Nq(r,o,a[s]);return r.length=o,r}});var M6e={renderElems:[$6e],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[j6e],menus:[I6e],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 a=yt(S.nodes(e,{match:function(c){return P.checkNodeType(c,"blockquote")},universal:!0}),1)[0];if(!a)return t();var i=a[0],s=P.findPath(e,i),u=S.end(e,s);if(Je.equals(u,o.focus)){var l=we.string(i);if(l&&l.slice(-1)===`
- `)return e.deleteBackward("character"),void Z.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n(`
- `)},r}},z6e=function(){function e(){this.title=ke("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||!!yt(S.nodes(t,{match:function(n){return P.getNodeType(n)==="pre"||!!S.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){if(this.$content==null){var n=T('<ul class="w-e-panel-content-emotion"></ul>');n.on("click","li",function(a){var i=a.target;if(i!=null){a.preventDefault();var s=T(i).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(a){var i=T("<li>"+a+"</li>");r.append(i)}),r[0]},e}(),U6e={menus:[{key:"emotion",factory:function(){return new z6e},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},H6e={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},W6e={selector:"font",preParseHtml:function(e){var t=T(e);if(rd(t)!=="font")return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",H6e[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},V6e=Re("".indexOf);jn({target:"String",proto:!0,forced:!qq("includes")},{includes:function(e){return!!~V6e(Jt(wo(this)),Jt(Vq(e)),arguments.length>1?arguments[1]:void 0)}});var Ba,Em,y0=function(e){return e&&e.Math==Math&&e},Xe=y0(typeof globalThis=="object"&&globalThis)||y0(typeof window=="object"&&window)||y0(typeof self=="object"&&self)||y0(typeof ty=="object"&&ty)||function(){return this}()||Function("return this")(),Z7=Function.prototype,aN=Z7.apply,q6e=Z7.bind,sN=Z7.call,oG=typeof Reflect=="object"&&Reflect.apply||(q6e?sN.bind(aN):function(){return sN.apply(aN,arguments)}),iG=Function.prototype,E8=iG.bind,C8=iG.call,G6e=E8&&E8.bind(C8),an=E8?function(e){return e&&G6e(C8,e)}:function(e){return e&&function(){return C8.apply(e,arguments)}},sr=function(e){return typeof e=="function"},Zr=function(e){try{return!!e()}catch{return!0}},xr=!Zr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),np=Function.prototype.call,ki=np.bind?np.bind(np):function(){return np.apply(np,arguments)},uN={}.propertyIsEnumerable,lN=Object.getOwnPropertyDescriptor,Z6e=lN&&!uN.call({1:2},1)?function(e){var t=lN(this,e);return!!t&&t.enumerable}:uN,Y7={f:Z6e},Ol=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Y6e=an({}.toString),J6e=an("".slice),Ku=function(e){return J6e(Y6e(e),8,-1)},RC=Xe.Object,K6e=an("".split),aG=Zr(function(){return!RC("z").propertyIsEnumerable(0)})?function(e){return Ku(e)=="String"?K6e(e,""):RC(e)}:RC,X6e=Xe.TypeError,J7=function(e){if(e==null)throw X6e("Can't call method on "+e);return e},Ii=function(e){return aG(J7(e))},Io=function(e){return typeof e=="object"?e!==null:sr(e)},io={},cN=function(e){return sr(e)?e:void 0},tv=function(e,t){return arguments.length<2?cN(io[e])||cN(Xe[e]):io[e]&&io[e][t]||Xe[e]&&Xe[e][t]},sG=an({}.isPrototypeOf),MC=tv("navigator","userAgent")||"",fN=Xe.process,dN=Xe.Deno,pN=fN&&fN.versions||dN&&dN.version,hN=pN&&pN.v8;hN&&(Em=(Ba=hN.split("."))[0]>0&&Ba[0]<4?1:+(Ba[0]+Ba[1])),!Em&&MC&&(!(Ba=MC.match(/Edge\/(\d+)/))||Ba[1]>=74)&&(Ba=MC.match(/Chrome\/(\d+)/))&&(Em=+Ba[1]);var sy=Em,ai=!!Object.getOwnPropertySymbols&&!Zr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&sy&&sy<41}),K7=ai&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Q6e=Xe.Object,Qc=K7?function(e){return typeof e=="symbol"}:function(e){var t=tv("Symbol");return sr(t)&&sG(t.prototype,Q6e(e))},eOe=Xe.String,tOe=Xe.TypeError,uG=function(e){if(sr(e))return e;throw tOe(function(t){try{return eOe(t)}catch{return"Object"}}(e)+" is not a function")},nOe=Xe.TypeError,rOe=Object.defineProperty,gs=Xe["__core-js_shared__"]||function(e,t){try{rOe(Xe,e,{value:t,configurable:!0,writable:!0})}catch{Xe[e]=t}return t}("__core-js_shared__",{}),Hl=t2(function(e){(e.exports=function(t,n){return gs[t]||(gs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),oOe=Xe.Object,nv=function(e){return oOe(J7(e))},iOe=an({}.hasOwnProperty),mt=Object.hasOwn||function(e,t){return iOe(nv(e),t)},aOe=0,sOe=Math.random(),uOe=an(1 .toString),uy=function(e){return"Symbol("+(e===void 0?"":e)+")_"+uOe(++aOe+sOe,36)},rp=Hl("wks"),Xu=Xe.Symbol,gN=Xu&&Xu.for,lOe=K7?Xu:Xu&&Xu.withoutSetter||uy,Xr=function(e){if(!mt(rp,e)||!ai&&typeof rp[e]!="string"){var t="Symbol."+e;ai&&mt(Xu,e)?rp[e]=Xu[e]:rp[e]=K7&&gN?gN(t):lOe(t)}return rp[e]},cOe=Xe.TypeError,fOe=Xr("toPrimitive"),od=function(e){var t=function(n,r){if(!Io(n)||Qc(n))return n;var o,a,i=(o=n[fOe])==null?void 0:uG(o);if(i){if(a=ki(i,n,r),!Io(a)||Qc(a))return a;throw cOe("Can't convert object to primitive value")}return function(s,u){var l,c;if(sr(l=s.toString)&&!Io(c=ki(l,s))||sr(l=s.valueOf)&&!Io(c=ki(l,s)))return c;throw nOe("Can't convert object to primitive value")}(n)}(e,"string");return Qc(t)?t:t+""},S8=Xe.document,dOe=Io(S8)&&Io(S8.createElement),lG=function(e){return dOe?S8.createElement(e):{}},cG=!xr&&!Zr(function(){return Object.defineProperty(lG("div"),"a",{get:function(){return 7}}).a!=7}),vN=Object.getOwnPropertyDescriptor,X7={f:xr?vN:function(e,t){if(e=Ii(e),t=od(t),cG)try{return vN(e,t)}catch{}if(mt(e,t))return Ol(!ki(Y7.f,e,t),e[t])}},pOe=/#|\.prototype\./,rv=function(e,t){var n=gOe[hOe(e)];return n==mOe||n!=vOe&&(sr(t)?Zr(t):!!t)},hOe=rv.normalize=function(e){return String(e).replace(pOe,".").toLowerCase()},gOe=rv.data={},vOe=rv.NATIVE="N",mOe=rv.POLYFILL="P",yOe=rv,mN=an(an.bind),fG=function(e,t){return uG(e),t===void 0?e:mN?mN(e,t):function(){return e.apply(t,arguments)}},bOe=Xe.String,wOe=Xe.TypeError,Dl=function(e){if(Io(e))return e;throw wOe(bOe(e)+" is not an object")},kOe=Xe.TypeError,yN=Object.defineProperty,Wl={f:xr?yN:function(e,t,n){if(Dl(e),t=od(t),Dl(n),cG)try{return yN(e,t,n)}catch{}if("get"in n||"set"in n)throw kOe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ui=xr?function(e,t,n){return Wl.f(e,t,Ol(1,n))}:function(e,t,n){return e[t]=n,e},EOe=X7.f,COe=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 oG(e,this,arguments)};return t.prototype=e.prototype,t},Ga=function(e,t){var n,r,o,a,i,s,u,l,c=e.target,f=e.global,d=e.stat,p=e.proto,m=f?Xe:d?Xe[c]:(Xe[c]||{}).prototype,y=f?io:io[c]||ui(io,c,{})[c],g=y.prototype;for(o in t)n=!yOe(f?o:c+(d?".":"#")+o,e.forced)&&m&&mt(m,o),i=y[o],n&&(s=e.noTargetGet?(l=EOe(m,o))&&l.value:m[o]),a=n&&s?s:t[o],n&&typeof i==typeof a||(u=e.bind&&n?fG(a,Xe):e.wrap&&n?COe(a):p&&sr(a)?an(a):a,(e.sham||a&&a.sham||i&&i.sham)&&ui(u,"sham",!0),ui(y,o,u),p&&(mt(io,r=c+"Prototype")||ui(io,r,{}),ui(io[r],o,a),e.real&&g&&!g[o]&&ui(g,o,a)))},ly=Array.isArray||function(e){return Ku(e)=="Array"},SOe=Math.ceil,_Oe=Math.floor,Q7=function(e){var t=+e;return t!=t||t===0?0:(t>0?_Oe:SOe)(t)},OOe=Math.min,l2=function(e){return(t=e.length)>0?OOe(Q7(t),9007199254740991):0;var t},_8=function(e,t,n){var r=od(t);r in e?Wl.f(e,r,Ol(0,n)):e[r]=n},dG={};dG[Xr("toStringTag")]="z";var eA=String(dG)==="[object z]",DOe=Xr("toStringTag"),AOe=Xe.Object,xOe=Ku(function(){return arguments}())=="Arguments",c2=eA?Ku:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=AOe(e),DOe))=="string"?n:xOe?Ku(t):(r=Ku(t))=="Object"&&sr(t.callee)?"Arguments":r},LOe=an(Function.toString);sr(gs.inspectSource)||(gs.inspectSource=function(e){return LOe(e)});var pG=gs.inspectSource,hG=function(){},POe=[],gG=tv("Reflect","construct"),tA=/^\s*(?:class|function)\b/,$Oe=an(tA.exec),jOe=!tA.exec(hG),op=function(e){if(!sr(e))return!1;try{return gG(hG,POe,e),!0}catch{return!1}},TOe=!gG||Zr(function(){var e;return op(op.call)||!op(Object)||!op(function(){e=!0})||e})?function(e){if(!sr(e))return!1;switch(c2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return jOe||!!$Oe(tA,pG(e))}:op,IOe=Xr("species"),bN=Xe.Array,vG=function(e,t){return new(function(n){var r;return ly(n)&&(r=n.constructor,(TOe(r)&&(r===bN||ly(r.prototype))||Io(r)&&(r=r[IOe])===null)&&(r=void 0)),r===void 0?bN:r}(e))(t===0?0:t)},NOe=Xr("species"),mG=Xr("isConcatSpreadable"),wN=Xe.TypeError,BOe=sy>=51||!Zr(function(){var e=[];return e[mG]=!1,e.concat()[0]!==e}),FOe=sy>=51||!Zr(function(){var e=[];return(e.constructor={})[NOe]=function(){return{foo:1}},e.concat(Boolean).foo!==1}),ROe=function(e){if(!Io(e))return!1;var t=e[mG];return t!==void 0?!!t:ly(e)};Ga({target:"Array",proto:!0,forced:!BOe||!FOe},{concat:function(e){var t,n,r,o,a,i=nv(this),s=vG(i,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(ROe(a=t===-1?i:arguments[t])){if(u+(o=l2(a))>9007199254740991)throw wN("Maximum allowed index exceeded");for(n=0;n<o;n++,u++)n in a&&_8(s,u,a[n])}else{if(u>=9007199254740991)throw wN("Maximum allowed index exceeded");_8(s,u++,a)}return s.length=u,s}});var b0,MOe=Xe.String,cy=function(e){if(c2(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return MOe(e)},zOe=Math.max,UOe=Math.min,O8=function(e,t){var n=Q7(e);return n<0?zOe(n+t,0):UOe(n,t)},HOe=function(e){return function(t,n,r){var o,a=Ii(t),i=l2(a),s=O8(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},WOe={indexOf:HOe(!1)},ov={},VOe=WOe.indexOf,kN=an([].push),yG=function(e,t){var n,r=Ii(e),o=0,a=[];for(n in r)!mt(ov,n)&&mt(r,n)&&kN(a,n);for(;t.length>o;)mt(r,n=t[o++])&&(~VOe(a,n)||kN(a,n));return a},fy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],nA=Object.keys||function(e){return yG(e,fy)},qOe=xr?Object.defineProperties:function(e,t){Dl(e);for(var n,r=Ii(t),o=nA(t),a=o.length,i=0;a>i;)Wl.f(e,n=o[i++],r[n]);return e},GOe=tv("document","documentElement"),EN=Hl("keys"),f2=function(e){return EN[e]||(EN[e]=uy(e))},bG=f2("IE_PROTO"),zC=function(){},wG=function(e){return"<script>"+e+"<\/script>"},CN=function(e){e.write(wG("")),e.close();var t=e.parentWindow.Object;return e=null,t},Cm=function(){try{b0=new ActiveXObject("htmlfile")}catch{}var e,t;Cm=typeof document<"u"?document.domain&&b0?CN(b0):((t=lG("iframe")).style.display="none",GOe.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(wG("document.F=Object")),e.close(),e.F):CN(b0);for(var n=fy.length;n--;)delete Cm.prototype[fy[n]];return Cm()};ov[bG]=!0;var dy,lh,py,Al=Object.create||function(e,t){var n;return e!==null?(zC.prototype=Dl(e),n=new zC,zC.prototype=null,n[bG]=e):n=Cm(),t===void 0?n:qOe(n,t)},ZOe=fy.concat("length","prototype"),kG={f:Object.getOwnPropertyNames||function(e){return yG(e,ZOe)}},YOe=Xe.Array,JOe=Math.max,SN=kG.f,_N=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],EG={f:function(e){return _N&&Ku(e)=="Window"?function(t){try{return SN(t)}catch{return function(r,o,a){for(var i=l2(r),s=O8(void 0,i),u=O8(i,i),l=YOe(JOe(u-s,0)),c=0;s<u;s++,c++)_8(l,c,r[s]);return l.length=c,l}(_N)}}(e):SN(Ii(e))}},UC={f:Object.getOwnPropertySymbols},KOe=an([].slice),hy=function(e,t,n,r){ui(e,t,n)},rA={f:Xr},XOe=Wl.f,cn=function(e){var t=io.Symbol||(io.Symbol={});mt(t,e)||XOe(t,e,{value:rA.f(e)})},QOe=eA?{}.toString:function(){return"[object "+c2(this)+"]"},eDe=Wl.f,ON=Xr("toStringTag"),gy=function(e,t,n,r){if(e){var o=n?e:e.prototype;mt(o,ON)||eDe(o,ON,{configurable:!0,value:t}),r&&!eA&&ui(o,"toString",QOe)}},DN=Xe.WeakMap,tDe=sr(DN)&&/native code/.test(pG(DN)),D8=Xe.TypeError,nDe=Xe.WeakMap;if(tDe||gs.state){var lu=gs.state||(gs.state=new nDe),rDe=an(lu.get),AN=an(lu.has),oDe=an(lu.set);dy=function(e,t){if(AN(lu,e))throw new D8("Object already initialized");return t.facade=e,oDe(lu,e,t),t},lh=function(e){return rDe(lu,e)||{}},py=function(e){return AN(lu,e)}}else{var vc=f2("state");ov[vc]=!0,dy=function(e,t){if(mt(e,vc))throw new D8("Object already initialized");return t.facade=e,ui(e,vc,t),t},lh=function(e){return mt(e,vc)?e[vc]:{}},py=function(e){return mt(e,vc)}}var id={set:dy,get:lh,has:py,enforce:function(e){return py(e)?lh(e):dy(e,{})},getterFor:function(e){return function(t){var n;if(!Io(t)||(n=lh(t)).type!==e)throw D8("Incompatible receiver, "+e+" required");return n}}},xN=an([].push),Fa=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=nv(u),y=aG(m),g=fG(l,c),v=l2(y),h=0,b=f||vG,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:xN(w,d)}else switch(e){case 4:return!1;case 7:xN(w,d)}return a?-1:r||o?o:w}},d2=[Fa(0),Fa(1),Fa(2),Fa(3),Fa(4),Fa(5),Fa(6),Fa(7)][0],Cr=f2("hidden"),LN=Xr("toPrimitive"),iDe=id.set,PN=id.getterFor("Symbol"),No=Object.prototype,Ja=Xe.Symbol,os=Ja&&Ja.prototype,$N=Xe.TypeError,HC=Xe.QObject,ip=tv("JSON","stringify"),CG=X7.f,Ka=Wl.f,SG=EG.f,aDe=Y7.f,_G=an([].push),ga=Hl("symbols"),iv=Hl("op-symbols"),WC=Hl("string-to-symbol-registry"),VC=Hl("symbol-to-string-registry"),sDe=Hl("wks"),qC=!HC||!HC.prototype||!HC.prototype.findChild,A8=xr&&Zr(function(){return Al(Ka({},"a",{get:function(){return Ka(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=CG(No,t);r&&delete No[t],Ka(e,t,n),r&&e!==No&&Ka(No,t,r)}:Ka,GC=function(e,t){var n=ga[e]=Al(os);return iDe(n,{type:"Symbol",tag:e,description:t}),xr||(n.description=t),n},vy=function(e,t,n){e===No&&vy(iv,t,n),Dl(e);var r=od(t);return Dl(n),mt(ga,r)?(n.enumerable?(mt(e,Cr)&&e[Cr][r]&&(e[Cr][r]=!1),n=Al(n,{enumerable:Ol(0,!1)})):(mt(e,Cr)||Ka(e,Cr,Ol(1,{})),e[Cr][r]=!0),A8(e,r,n)):Ka(e,r,n)},jN=function(e,t){Dl(e);var n=Ii(t),r=nA(n).concat(x8(n));return d2(r,function(o){xr&&!ki(OG,n,o)||vy(e,o,n[o])}),e},OG=function(e){var t=od(e),n=ki(aDe,this,t);return!(this===No&&mt(ga,t)&&!mt(iv,t))&&(!(n||!mt(this,t)||!mt(ga,t)||mt(this,Cr)&&this[Cr][t])||n)},TN=function(e,t){var n=Ii(e),r=od(t);if(n!==No||!mt(ga,r)||mt(iv,r)){var o=CG(n,r);return!o||!mt(ga,r)||mt(n,Cr)&&n[Cr][r]||(o.enumerable=!0),o}},IN=function(e){var t=SG(Ii(e)),n=[];return d2(t,function(r){mt(ga,r)||mt(ov,r)||_G(n,r)}),n},x8=function(e){var t=e===No,n=SG(t?iv:Ii(e)),r=[];return d2(n,function(o){!mt(ga,o)||t&&!mt(No,o)||_G(r,ga[o])}),r};if(ai||(os=(Ja=function(){if(sG(os,this))throw $N("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?cy(arguments[0]):void 0,t=uy(e),n=function(r){this===No&&ki(n,iv,r),mt(this,Cr)&&mt(this[Cr],t)&&(this[Cr][t]=!1),A8(this,t,Ol(1,r))};return xr&&qC&&A8(No,t,{configurable:!0,set:n}),GC(t,e)}).prototype,hy(os,"toString",function(){return PN(this).tag}),hy(Ja,"withoutSetter",function(e){return GC(uy(e),e)}),Y7.f=OG,Wl.f=vy,X7.f=TN,kG.f=EG.f=IN,UC.f=x8,rA.f=function(e){return GC(Xr(e),e)},xr&&Ka(os,"description",{configurable:!0,get:function(){return PN(this).description}})),Ga({global:!0,wrap:!0,forced:!ai,sham:!ai},{Symbol:Ja}),d2(nA(sDe),function(e){cn(e)}),Ga({target:"Symbol",stat:!0,forced:!ai},{for:function(e){var t=cy(e);if(mt(WC,t))return WC[t];var n=Ja(t);return WC[t]=n,VC[n]=t,n},keyFor:function(e){if(!Qc(e))throw $N(e+" is not a symbol");if(mt(VC,e))return VC[e]},useSetter:function(){qC=!0},useSimple:function(){qC=!1}}),Ga({target:"Object",stat:!0,forced:!ai,sham:!xr},{create:function(e,t){return t===void 0?Al(e):jN(Al(e),t)},defineProperty:vy,defineProperties:jN,getOwnPropertyDescriptor:TN}),Ga({target:"Object",stat:!0,forced:!ai},{getOwnPropertyNames:IN,getOwnPropertySymbols:x8}),Ga({target:"Object",stat:!0,forced:Zr(function(){UC.f(1)})},{getOwnPropertySymbols:function(e){return UC.f(nv(e))}}),ip){var uDe=!ai||Zr(function(){var e=Ja();return ip([e])!="[null]"||ip({a:e})!="{}"||ip(Object(e))!="{}"});Ga({target:"JSON",stat:!0,forced:uDe},{stringify:function(e,t,n){var r=KOe(arguments),o=t;if((Io(t)||e!==void 0)&&!Qc(e))return ly(t)||(t=function(a,i){if(sr(o)&&(i=ki(o,this,a,i)),!Qc(i))return i}),r[1]=t,oG(ip,null,r)}})}if(!os[LN]){var lDe=os.valueOf;hy(os,LN,function(e){return ki(lDe,this)})}gy(Ja,"Symbol"),ov[Cr]=!0,cn("asyncIterator"),cn("hasInstance"),cn("isConcatSpreadable"),cn("iterator"),cn("match"),cn("matchAll"),cn("replace"),cn("search"),cn("species"),cn("split"),cn("toPrimitive"),cn("toStringTag"),cn("unscopables"),gy(Xe.JSON,"JSON",!0);var is,NN,BN,cDe=io.Symbol,Qu={},DG=Function.prototype,fDe=xr&&Object.getOwnPropertyDescriptor,FN=mt(DG,"name"),dDe={PROPER:FN&&(function(){}).name==="something",CONFIGURABLE:FN&&(!xr||xr&&fDe(DG,"name").configurable)},pDe=!Zr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),RN=f2("IE_PROTO"),L8=Xe.Object,hDe=L8.prototype,P8=pDe?L8.getPrototypeOf:function(e){var t=nv(e);if(mt(t,RN))return t[RN];var n=t.constructor;return sr(n)&&t instanceof n?n.prototype:t instanceof L8?hDe:null},$8=Xr("iterator"),AG=!1;[].keys&&("next"in(BN=[].keys())?(NN=P8(P8(BN)))!==Object.prototype&&(is=NN):AG=!0);var gDe=is==null||Zr(function(){var e={};return is[$8].call(e)!==e});is=gDe?{}:Al(is),sr(is[$8])||hy(is,$8,function(){return this});var xG={IteratorPrototype:is,BUGGY_SAFARI_ITERATORS:AG},vDe=xG.IteratorPrototype,mDe=function(){return this};Xe.String,Xe.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e={};try{an(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(e,[]),e instanceof Array}catch{}}();var yDe=dDe.PROPER,ZC=xG.BUGGY_SAFARI_ITERATORS,bDe=Xr("iterator"),wDe=function(){return this},LG=function(e,t,n,r,o,a,i){(function(g,v,h,b){var w=v+" Iterator";g.prototype=Al(vDe,{next:Ol(1,h)}),gy(g,w,!1,!0),Qu[w]=mDe})(n,t,r);var s,u,l=function(g){if(g===o&&m)return m;if(!ZC&&g in d)return d[g];switch(g){case"keys":case"values":case"entries":return function(){return new n(this,g)}}return function(){return new n(this)}},c=t+" Iterator",f=!1,d=e.prototype,p=d[bDe]||d["@@iterator"]||o&&d[o],m=!ZC&&p||l(o),y=t=="Array"&&d.entries||p;return y&&(s=P8(y.call(new e)))!==Object.prototype&&s.next&&(gy(s,c,!0,!0),Qu[c]=wDe),yDe&&o=="values"&&p&&p.name!=="values"&&(f=!0,m=function(){return ki(p,this)}),o&&(u={values:l("values"),keys:l("keys"),entries:l("entries")},i||Ga({target:t,proto:!0,forced:ZC||f},u)),Qu[t]=m,u},kDe=id.set,EDe=id.getterFor("Array Iterator");LG(Array,"Array",function(e,t){kDe(this,{type:"Array Iterator",target:Ii(e),index:0,kind:t})},function(){var e=EDe(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"),Qu.Arguments=Qu.Array;var MN=Xr("toStringTag");for(var YC 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 zN=Xe[YC],JC=zN&&zN.prototype;JC&&c2(JC)!==MN&&ui(JC,MN,YC),Qu[YC]=Qu.Array}var CDe=cDe;cn("asyncDispose"),cn("dispose"),cn("matcher"),cn("metadata"),cn("observable"),cn("patternMatch"),cn("replaceAll");var w0=CDe,SDe=an("".charAt),UN=an("".charCodeAt),_De=an("".slice),ODe=function(e){return function(t,n){var r,o,a=cy(J7(t)),i=Q7(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=UN(a,i))<55296||r>56319||i+1===s||(o=UN(a,i+1))<56320||o>57343?e?SDe(a,i):r:e?_De(a,i,i+2):o-56320+(r-55296<<10)+65536}},DDe=ODe(!0),ADe=id.set,xDe=id.getterFor("String Iterator");LG(String,"String",function(e){ADe(this,{type:"String Iterator",string:cy(e),index:0})},function(){var e,t=xDe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=DDe(n,r),t.index+=e.length,{value:e,done:!1})});var LDe=rA.f("iterator"),PDe=t2(function(e){function t(n){return typeof w0=="function"&&typeof LDe=="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 w0=="function"&&r.constructor===w0&&r!==w0.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}),PG=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(PDe),$De=o2.EXISTS,jDe=ed.f,$G=Function.prototype,TDe=Re($G.toString),jG=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,IDe=Re(jG.exec);Vo&&!$De&&jDe($G,"name",{configurable:!0,get:function(){try{return IDe(jG,TDe(this))[1]}catch{return""}}});var TG=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=S.marks(t);return r&&r[n]?r[n]:""},e.prototype.isDisabled=function(t){return t.selection==null||(this.mark,!!yt(S.nodes(t,{match:function(n){return P.getNodeType(n)==="pre"||!!S.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}(),NDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("fontSize.title"),n.iconSvg=s8e,n.mark="fontSize",n}return Zt(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,a=o===void 0?[]:o;r.push({text:ke("fontSize.default"),value:""}),a.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s});else if(PG(s)==="object"){var u=s.name,l=s.value;r.push({text:u,value:l})}});var i=this.getValue(n);return r.forEach(function(s){s.value===i?s.selected=!0:delete s.selected}),r},t}(TG),BDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("fontFamily.title"),n.iconSvg=u8e,n.mark="fontFamily",n.selectPanelWidth=150,n}return Zt(t,e),t.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,a=o===void 0?[]:o;r.push({text:ke("fontFamily.default"),value:""}),a.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s,styleForRenderMenuList:{"font-family":s}});else if(PG(s)==="object"){var u=s.name,l=s.value;r.push({text:u,value:l,styleForRenderMenuList:{"font-family":l}})}});var i=this.getValue(n);return r.forEach(function(s){s.value===i?s.selected=!0:delete s.selected}),r},t}(TG),FDe={renderStyle:function(e,t){var n=e,r=n.fontSize,o=n.fontFamily,a=t;return r&&_l(a,{fontSize:r}),o&&_l(a,{fontFamily:o}),a},styleToHtml:function(e,t){if(!Oe.isText(e))return t;var n,r=e,o=r.fontSize,a=r.fontFamily;return o||a?((W7(t)||rd(n=T(t))!=="span")&&(n=T("<span>"+t+"</span>")),o&&n.css("font-size",o),a&&n.css("font-family",a),nd(n)):t},preParseHtml:[W6e],parseStyleHtml:function(e,t,n){var r=T(e);if(!Oe.isText(t))return t;var o=t,a=n.getMenuConfig("fontSize").fontSizeList,i=a===void 0?[]:a,s=zo(r,"font-size"),u=i.find(function(p){return p.value&&p.value===s})||i.includes(s);s&&u&&(o.fontSize=s);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=l===void 0?[]:l,f=zo(r,"font-family").replace(/"/g,""),d=c.find(function(p){return p.value&&p.value===f})||c.includes(f);return f&&d&&(o.fontFamily=f),o},menus:[{key:"fontSize",factory:function(){return new NDe},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 BDe},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},RDe={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=T(e),n=zo(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]}},IG=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){var n=yt(S.nodes(t,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":yt(r,1)[0].indent||""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=yt(S.nodes(t,{match:function(r){var o=P.getNodeType(r);return o==="paragraph"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e}(),MDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("indent.decrease"),n.iconSvg=l8e,n}return Zt(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},t.prototype.exec=function(n,r){Z.setNodes(n,{indent:null},{match:function(o){return $e.isElement(o)}})},t}(IG),zDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("indent.increase"),n.iconSvg=c8e,n}return Zt(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},t.prototype.exec=function(n,r){Z.setNodes(n,{indent:"2em"},{match:function(o){return $e.isElement(o)},mode:"highest"})},t}(IG),UDe={renderStyle:function(e,t){if(!$e.isElement(e))return t;var n=e.indent,r=t;return n&&_l(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!$e.isElement(e))return t;var n=e.indent;if(!n)return t;var r=T(t);return r.css("text-indent",n),nd(r)},preParseHtml:[RDe],parseStyleHtml:function(e,t,n){var r=T(e);if(!$e.isElement(t))return t;var o=t,a=zo(r,"text-indent"),i=parseInt(a,10);return a&&i>0&&(o.indent=a),o},menus:[{key:"indent",factory:function(){return new zDe}},{key:"delIndent",factory:function(){return new MDe}}]},p2=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=yt(S.nodes(t,{match:function(r){var o=P.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||!!P.getSelectedElems(t).some(function(n){if(S.isVoid(t,n)&&S.isBlock(t,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},e}(),HDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("justify.left"),n.iconSvg=f8e,n}return Zt(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"left"},{match:function(o){return $e.isElement(o)&&!n.isInline(o)}})},t}(p2),WDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("justify.right"),n.iconSvg=d8e,n}return Zt(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"right"},{match:function(o){return $e.isElement(o)&&!n.isInline(o)}})},t}(p2),VDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("justify.center"),n.iconSvg=p8e,n}return Zt(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"center"},{match:function(o){return $e.isElement(o)&&!n.isInline(o)}})},t}(p2),qDe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=ke("justify.justify"),n.iconSvg=h8e,n}return Zt(t,e),t.prototype.exec=function(n,r){Z.setNodes(n,{textAlign:"justify"},{match:function(o){return $e.isElement(o)&&!n.isInline(o)}})},t}(p2),GDe={renderStyle:function(e,t){if(!$e.isElement(e))return t;var n=e.textAlign,r=t;return n&&_l(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!$e.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=T(t);return r.css("text-align",n),nd(r)},parseStyleHtml:function(e,t,n){var r=T(e);if(!$e.isElement(t))return t;var o=t,a=zo(r,"text-align");return a&&(o.textAlign=a),o},menus:[{key:"justifyLeft",factory:function(){return new HDe}},{key:"justifyRight",factory:function(){return new WDe}},{key:"justifyCenter",factory:function(){return new VDe}},{key:"justifyJustify",factory:function(){return new qDe}}]},ZDe=function(){function e(){this.title=ke("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:ke("lineHeight.default"),value:""}),o.forEach(function(i){n.push({text:i,value:i})});var a=this.getValue(t);return n.forEach(function(i){i.value===a?i.selected=!0:delete i.selected}),n},e.prototype.getMatchNode=function(t){var n=yt(S.nodes(t,{match:function(r){var o=P.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?"":$e.isElement(n)&&n.lineHeight||""},e.prototype.isDisabled=function(t){return t.selection==null||this.getMatchNode(t)==null},e.prototype.exec=function(t,n){Z.setNodes(t,{lineHeight:n.toString()},{mode:"highest"})},e}(),YDe={renderStyle:function(e,t){if(!$e.isElement(e))return t;var n=e.lineHeight,r=t;return n&&_l(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!$e.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=T(t);return r.css("line-height",n),nd(r)},parseStyleHtml:function(e,t,n){var r=T(e);if(!$e.isElement(t))return t;var o=t,a=n.getMenuConfig("lineHeight").lineHeightList,i=a===void 0?[]:a,s=zo(r,"line-height");return s&&i.includes(s)&&(o.lineHeight=s),o},menus:[{key:"lineHeight",factory:function(){return new ZDe},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},JDe=function(){function e(){this.title=ke("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}(),KDe=function(){function e(){this.title=ke("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}(),XDe={menus:[{key:"redo",factory:function(){return new JDe}},{key:"undo",factory:function(){return new KDe}}]},QDe={type:"divider",renderElem:function(e,t,n){return kf("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:P.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[kf("hr")])}},e7e=function(){function e(){this.title=ke("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||!!P.getSelectedElems(t).some(function(n){if(t.isVoid(n))return!0;var r=P.getNodeType(n);return r==="table"||r==="pre"||void 0})},e.prototype.exec=function(t,n){Z.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),t7e={renderElems:[QDe],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new e7e}}],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 a=yt(o,2),i=a[0],s=a[1];if(P.getNodeType(i)!=="divider")return n([i,s]);P.isLastNode(r,i)&&Z.insertNodes(r,P.genEmptyParagraph(),{at:[s[0]+1]})},r}},n7e=a2.map;jn({target:"Array",proto:!0,forced:!R7("map")},{map:function(e){return n7e(this,e,arguments.length>1?arguments[1]:void 0)}});var r7e=Re([].join),o7e=n2!=Object,i7e=Rq("join",",");jn({target:"Array",proto:!0,forced:o7e||!i7e},{join:function(e){return r7e(Qf(this),e===void 0?",":e)}});var a7e=function(){function e(){this.title=ke("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=P.getSelectedNodeByType(t,"code");if(n==null)return null;var r=P.getParentNode(t,n);return r==null||P.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=P.getSelectedElems(t);return!!n.some(function(r){return t.isVoid(r)})||!n.some(function(r){var o=P.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);Z.removeNodes(t,{mode:"highest"});var o=r.split(`
- `).map(function(a){return{type:"paragraph",children:[{text:a}]}});Z.insertNodes(t,o,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(t,n){var r,o,a=[],i=S.nodes(t,{match:function(f){return t.children.includes(f)},universal:!0});try{for(var s=Fq(i),u=s.next();!u.done;u=s.next()){var l=yt(u.value,1)[0];l&&a.push(we.string(l))}}catch(f){r={error:f}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}Z.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:a.join(`
- `)}]}]};Z.insertNodes(t,c,{mode:"highest"})},e}(),s7e={key:"codeBlock",factory:function(){return new a7e}};jn({target:"String",proto:!0,forced:Zp("anchor")},{anchor:function(e){return Gp(this,"a","name",e)}}),U7("match",function(e,t,n){return[function(r){var o=wo(this),a=r==null?void 0:r2(r,e);return a?dn(a,r,o):new RegExp(r)[e](Jt(o))},function(r){var o=Hr(this),a=Jt(r),i=n(t,o,a);if(i.done)return i.value;if(!o.global)return Kh(o,a);var s=o.unicode;o.lastIndex=0;for(var u,l=[],c=0;(u=Kh(o,a))!==null;){var f=Jt(u[0]);l[c]=f,f===""&&(o.lastIndex=H7(a,Kg(o.lastIndex),s)),c++}return c===0?null:l}]});var u7e={type:"pre",renderElem:function(e,t,n){return ze("pre",null,t)}},l7e={type:"code",renderElem:function(e,t,n){return ze("code",null,t)}},c7e={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=T(e);return(t=t.filter(function(o){return P.getNodeType(o)==="code"})).length===0&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(o){return P.getNodeType(o)==="code"})}}},f7e={menus:[s7e],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var o=e;return o.insertBreak=function(){var a=P.getSelectedNodeByType(o,"code");if(a!=null){var i=function(l,c){var f=c.selection;if(f==null)return"";var d=we.string(l),p=f.anchor.offset,m=d.slice(0,p).split(`
- `),y=m.length;return y===0?"":m[y-1]}(a,o);if(i){var s=i.match(/^\s+/);if(s!=null&&s[0]!=null){var u=s[0];return void o.insertText(`
- `+u)}}o.insertText(`
- `)}else t()},o.normalizeNode=function(a){var i=yt(a,2),s=i[0],u=i[1],l=P.getNodeType(s);return l==="code"&&u.length<=1&&Z.setNodes(o,{type:"paragraph"},{at:u}),l==="pre"&&(P.isLastNode(o,s)&&Z.insertNodes(o,P.genEmptyParagraph(),{at:[u[0]+1]}),P.getNodeType(s.children[0])!=="code"&&(Z.unwrapNodes(o),Z.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([s,u])},o.insertData=function(a){if(P.getSelectedNodeByType(o,"code")!=null){var i=a.getData("text/plain");S.insertText(o,i)}else r(a)},o},renderElems:[u7e,l7e],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=T(e);if(rd(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:T(e)[0].textContent||""}]}}},c7e]},d7e=function(){function e(){this.title=ke("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}(),p7e={menus:[{key:"fullScreen",factory:function(){return new d7e}}]},h7e=function(){function e(){this.title=ke("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||!!ee.isExpanded(n)},e.prototype.exec=function(t,n){var r=t.selection;if(r!=null){var o=[r.anchor.path[0]];Z.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:o}),t.select(S.start(t,o))}},e}(),g7e=[_8e,r6e,FDe,UDe,GDe,YDe,D6e,t7e,U6e,h6e,f7e,M6e,X8e,Z5e,P6e,XDe,p7e,{menus:[{key:"enter",factory:function(){return new h7e}}]}];$r("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),$r("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var HN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oA(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ra,Sm,k0=function(e){return e&&e.Math==Math&&e},Ue=k0(typeof globalThis=="object"&&globalThis)||k0(typeof window=="object"&&window)||k0(typeof self=="object"&&self)||k0(typeof HN=="object"&&HN)||function(){return this}()||Function("return this")(),NG=Function.prototype,j8=NG.bind,T8=NG.call,v7e=j8&&j8.bind(T8),rt=j8?function(e){return e&&v7e(T8,e)}:function(e){return e&&function(){return T8.apply(e,arguments)}},tn=function(e){try{return!!e()}catch{return!0}},m7e=rt({}.toString),y7e=rt("".slice),ua=function(e){return y7e(m7e(e),8,-1)},KC=Ue.Object,b7e=rt("".split),BG=tn(function(){return!KC("z").propertyIsEnumerable(0)})?function(e){return ua(e)=="String"?b7e(e,""):KC(e)}:KC,w7e=Ue.TypeError,h2=function(e){if(e==null)throw w7e("Can't call method on "+e);return e},ad=function(e){return BG(h2(e))},k7e=Object.defineProperty,iA=function(e,t){try{k7e(Ue,e,{value:t,configurable:!0,writable:!0})}catch{Ue[e]=t}return t},vs=Ue["__core-js_shared__"]||iA("__core-js_shared__",{}),aA=oA(function(e){(e.exports=function(t,n){return vs[t]||(vs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),E7e=Ue.Object,av=function(e){return E7e(h2(e))},C7e=rt({}.hasOwnProperty),Tn=Object.hasOwn||function(e,t){return C7e(av(e),t)},S7e=0,_7e=Math.random(),O7e=rt(1 .toString),sA=function(e){return"Symbol("+(e===void 0?"":e)+")_"+O7e(++S7e+_7e,36)},sn=function(e){return typeof e=="function"},D7e=function(e){return sn(e)?e:void 0},sv=function(e,t){return arguments.length<2?D7e(Ue[e]):Ue[e]&&Ue[e][t]},XC=sv("navigator","userAgent")||"",WN=Ue.process,VN=Ue.Deno,qN=WN&&WN.versions||VN&&VN.version,GN=qN&&qN.v8;GN&&(Sm=(Ra=GN.split("."))[0]>0&&Ra[0]<4?1:+(Ra[0]+Ra[1])),!Sm&&XC&&(!(Ra=XC.match(/Edge\/(\d+)/))||Ra[1]>=74)&&(Ra=XC.match(/Chrome\/(\d+)/))&&(Sm=+Ra[1]);var E0,I8=Sm,N8=!!Object.getOwnPropertySymbols&&!tn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&I8&&I8<41}),uA=N8&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ap=aA("wks"),el=Ue.Symbol,ZN=el&&el.for,A7e=uA?el:el&&el.withoutSetter||sA,Kn=function(e){if(!Tn(ap,e)||!N8&&typeof ap[e]!="string"){var t="Symbol."+e;N8&&Tn(el,e)?ap[e]=el[e]:ap[e]=uA&&ZN?ZN(t):A7e(t)}return ap[e]},rn=function(e){return typeof e=="object"?e!==null:sn(e)},x7e=Ue.String,L7e=Ue.TypeError,jr=function(e){if(rn(e))return e;throw L7e(x7e(e)+" is not an object")},Ts=!tn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),B8=Ue.document,P7e=rn(B8)&&rn(B8.createElement),lA=function(e){return P7e?B8.createElement(e):{}},FG=!Ts&&!tn(function(){return Object.defineProperty(lA("div"),"a",{get:function(){return 7}}).a!=7}),sp=Function.prototype.call,Un=sp.bind?sp.bind(sp):function(){return sp.apply(sp,arguments)},my=rt({}.isPrototypeOf),$7e=Ue.Object,QC=uA?function(e){return typeof e=="symbol"}:function(e){var t=sv("Symbol");return sn(t)&&my(t.prototype,$7e(e))},j7e=Ue.String,F8=function(e){try{return j7e(e)}catch{return"Object"}},T7e=Ue.TypeError,cA=function(e){if(sn(e))return e;throw T7e(F8(e)+" is not a function")},Xh=function(e,t){var n=e[t];return n==null?void 0:cA(n)},I7e=Ue.TypeError,N7e=Ue.TypeError,B7e=Kn("toPrimitive"),fA=function(e){var t=function(n,r){if(!rn(n)||QC(n))return n;var o,a=Xh(n,B7e);if(a){if(o=Un(a,n,r),!rn(o)||QC(o))return o;throw N7e("Can't convert object to primitive value")}return function(i,s){var u,l;if(sn(u=i.toString)&&!rn(l=Un(u,i))||sn(u=i.valueOf)&&!rn(l=Un(u,i)))return l;throw I7e("Can't convert object to primitive value")}(n)}(e,"string");return QC(t)?t:t+""},F7e=Ue.TypeError,YN=Object.defineProperty,Vl={f:Ts?YN:function(e,t,n){if(jr(e),t=fA(t),jr(n),FG)try{return YN(e,t,n)}catch{}if("get"in n||"set"in n)throw F7e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},R7e=Math.ceil,M7e=Math.floor,uv=function(e){var t=+e;return t!=t||t===0?0:(t>0?M7e:R7e)(t)},z7e=Math.max,U7e=Math.min,R8=function(e,t){var n=uv(e);return n<0?z7e(n+t,0):U7e(n,t)},H7e=Math.min,RG=function(e){return e>0?H7e(uv(e),9007199254740991):0},sd=function(e){return RG(e.length)},JN=function(e){return function(t,n,r){var o,a=ad(t),i=sd(a),s=R8(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},MG={includes:JN(!0),indexOf:JN(!1)},g2={},W7e=MG.indexOf,KN=rt([].push),zG=function(e,t){var n,r=ad(e),o=0,a=[];for(n in r)!Tn(g2,n)&&Tn(r,n)&&KN(a,n);for(;t.length>o;)Tn(r,n=t[o++])&&(~W7e(a,n)||KN(a,n));return a},yy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],V7e=Object.keys||function(e){return zG(e,yy)},q7e=Ts?Object.defineProperties:function(e,t){jr(e);for(var n,r=ad(t),o=V7e(t),a=o.length,i=0;a>i;)Vl.f(e,n=o[i++],r[n]);return e},G7e=sv("document","documentElement"),XN=aA("keys"),dA=function(e){return XN[e]||(XN[e]=sA(e))},UG=dA("IE_PROTO"),eS=function(){},HG=function(e){return"<script>"+e+"<\/script>"},QN=function(e){e.write(HG("")),e.close();var t=e.parentWindow.Object;return e=null,t},_m=function(){try{E0=new ActiveXObject("htmlfile")}catch{}var e,t;_m=typeof document<"u"?document.domain&&E0?QN(E0):((t=lA("iframe")).style.display="none",G7e.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(HG("document.F=Object")),e.close(),e.F):QN(E0);for(var n=yy.length;n--;)delete _m.prototype[yy[n]];return _m()};g2[UG]=!0;var pA=Object.create||function(e,t){var n;return e!==null?(eS.prototype=jr(e),n=new eS,eS.prototype=null,n[UG]=e):n=_m(),t===void 0?n:q7e(n,t)},M8=Kn("unscopables"),z8=Array.prototype;z8[M8]==null&&Vl.f(z8,M8,{configurable:!0,value:pA(null)});var ch=function(e){z8[M8][e]=!0},xf={},Z7e=rt(Function.toString);sn(vs.inspectSource)||(vs.inspectSource=function(e){return Z7e(e)});var by,fh,wy,hA=vs.inspectSource,eB=Ue.WeakMap,WG=sn(eB)&&/native code/.test(hA(eB)),v2=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ms=Ts?function(e,t,n){return Vl.f(e,t,v2(1,n))}:function(e,t,n){return e[t]=n,e},U8=Ue.TypeError,Y7e=Ue.WeakMap;if(WG||vs.state){var cu=vs.state||(vs.state=new Y7e),J7e=rt(cu.get),tB=rt(cu.has),K7e=rt(cu.set);by=function(e,t){if(tB(cu,e))throw new U8("Object already initialized");return t.facade=e,K7e(cu,e,t),t},fh=function(e){return J7e(cu,e)||{}},wy=function(e){return tB(cu,e)}}else{var mc=dA("state");g2[mc]=!0,by=function(e,t){if(Tn(e,mc))throw new U8("Object already initialized");return t.facade=e,ms(e,mc,t),t},fh=function(e){return Tn(e,mc)?e[mc]:{}},wy=function(e){return Tn(e,mc)}}var tl,nB,rB,Ai={set:by,get:fh,has:wy,enforce:function(e){return wy(e)?fh(e):by(e,{})},getterFor:function(e){return function(t){var n;if(!rn(t)||(n=fh(t)).type!==e)throw U8("Incompatible receiver, "+e+" required");return n}}},oB={}.propertyIsEnumerable,iB=Object.getOwnPropertyDescriptor,X7e={f:iB&&!oB.call({1:2},1)?function(e){var t=iB(this,e);return!!t&&t.enumerable}:oB},aB=Object.getOwnPropertyDescriptor,VG={f:Ts?aB:function(e,t){if(e=ad(e),t=fA(t),FG)try{return aB(e,t)}catch{}if(Tn(e,t))return v2(!Un(X7e.f,e,t),e[t])}},qG=Function.prototype,Q7e=Ts&&Object.getOwnPropertyDescriptor,sB=Tn(qG,"name"),gA={PROPER:sB&&(function(){}).name==="something",CONFIGURABLE:sB&&(!Ts||Ts&&Q7e(qG,"name").configurable)},va=oA(function(e){var t=gA.CONFIGURABLE,n=Ai.get,r=Ai.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;sn(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Tn(s,"name")||t&&s.name!==p)&&ms(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==Ue?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:ms(a,i,s)):f?a[i]=s:iA(i,s)})(Function.prototype,"toString",function(){return sn(this)&&n(this).source||hA(this)})}),eAe=yy.concat("length","prototype"),ky={f:Object.getOwnPropertyNames||function(e){return zG(e,eAe)}},tAe={f:Object.getOwnPropertySymbols},nAe=rt([].concat),rAe=sv("Reflect","ownKeys")||function(e){var t=ky.f(jr(e)),n=tAe.f;return n?nAe(t,n(e)):t},oAe=function(e,t){for(var n=rAe(t),r=Vl.f,o=VG.f,a=0;a<n.length;a++){var i=n[a];Tn(e,i)||r(e,i,o(t,i))}},iAe=/#|\.prototype\./,lv=function(e,t){var n=sAe[aAe(e)];return n==lAe||n!=uAe&&(sn(t)?tn(t):!!t)},aAe=lv.normalize=function(e){return String(e).replace(iAe,".").toLowerCase()},sAe=lv.data={},uAe=lv.NATIVE="N",lAe=lv.POLYFILL="P",H8=lv,cAe=VG.f,Is=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?Ue:l?Ue[s]||iA(s,{}):(Ue[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=cAe(n,r))&&i.value:n[r],!H8(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;oAe(a,o)}(e.sham||o&&o.sham)&&ms(a,"sham",!0),va(n,r,a,e)}},fAe=!tn(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),uB=dA("IE_PROTO"),W8=Ue.Object,dAe=W8.prototype,Ey=fAe?W8.getPrototypeOf:function(e){var t=av(e);if(Tn(t,uB))return t[uB];var n=t.constructor;return sn(n)&&t instanceof n?n.prototype:t instanceof W8?dAe:null},V8=Kn("iterator"),GG=!1;[].keys&&("next"in(rB=[].keys())?(nB=Ey(Ey(rB)))!==Object.prototype&&(tl=nB):GG=!0);var pAe=tl==null||tn(function(){var e={};return tl[V8].call(e)!==e});pAe&&(tl={}),sn(tl[V8])||va(tl,V8,function(){return this});var vA={IteratorPrototype:tl,BUGGY_SAFARI_ITERATORS:GG},hAe=Vl.f,lB=Kn("toStringTag"),q8=function(e,t,n){e&&!Tn(e=n?e:e.prototype,lB)&&hAe(e,lB,{configurable:!0,value:t})},gAe=vA.IteratorPrototype,vAe=function(){return this},mAe=Ue.String,yAe=Ue.TypeError,Cy=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=rt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return jr(r),function(a){if(typeof a=="object"||sn(a))return a;throw yAe("Can't set "+mAe(a)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),bAe=gA.PROPER,wAe=gA.CONFIGURABLE,cB=vA.IteratorPrototype,tS=vA.BUGGY_SAFARI_ITERATORS,up=Kn("iterator"),kAe=function(){return this},ZG=function(e,t,n,r,o,a,i){(function(g,v,h,b){var w=v+" Iterator";g.prototype=pA(gAe,{next:v2(1,h)}),q8(g,w,!1),xf[w]=vAe})(n,t,r);var s,u,l=function(g){if(g===o&&m)return m;if(!tS&&g in d)return d[g];switch(g){case"keys":case"values":case"entries":return function(){return new n(this,g)}}return function(){return new n(this)}},c=t+" Iterator",f=!1,d=e.prototype,p=d[up]||d["@@iterator"]||o&&d[o],m=!tS&&p||l(o),y=t=="Array"&&d.entries||p;return y&&(s=Ey(y.call(new e)))!==Object.prototype&&s.next&&(Ey(s)!==cB&&(Cy?Cy(s,cB):sn(s[up])||va(s,up,kAe)),q8(s,c,!0)),bAe&&o=="values"&&p&&p.name!=="values"&&(wAe?ms(d,"name","values"):(f=!0,m=function(){return Un(p,this)})),o&&(u={values:l("values"),keys:l("keys"),entries:l("entries")},i||Is({target:t,proto:!0,forced:tS||f},u)),d[up]!==m&&va(d,up,m,{name:o}),xf[t]=m,u},EAe=Ai.set,CAe=Ai.getterFor("Array Iterator"),Yp=ZG(Array,"Array",function(e,t){EAe(this,{type:"Array Iterator",target:ad(e),index:0,kind:t})},function(){var e=CAe(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");xf.Arguments=xf.Array,ch("keys"),ch("values"),ch("entries");var YG={};YG[Kn("toStringTag")]="z";var mA=String(YG)==="[object z]",SAe=Kn("toStringTag"),_Ae=Ue.Object,OAe=ua(function(){return arguments}())=="Arguments",m2=mA?ua:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=_Ae(e),SAe))=="string"?n:OAe?ua(t):(r=ua(t))=="Object"&&sn(t.callee)?"Arguments":r},DAe=mA?{}.toString:function(){return"[object "+m2(this)+"]"};mA||va(Object.prototype,"toString",DAe,{unsafe:!0});var AAe=Ue.String,Zi=function(e){if(m2(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return AAe(e)},xAe=rt("".charAt),fB=rt("".charCodeAt),LAe=rt("".slice),PAe=function(e){return function(t,n){var r,o,a=Zi(h2(t)),i=uv(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=fB(a,i))<55296||r>56319||i+1===s||(o=fB(a,i+1))<56320||o>57343?e?xAe(a,i):r:e?LAe(a,i,i+2):o-56320+(r-55296<<10)+65536}},JG={charAt:PAe(!0)},$Ae=JG.charAt,jAe=Ai.set,TAe=Ai.getterFor("String Iterator");ZG(String,"String",function(e){jAe(this,{type:"String Iterator",string:Zi(e),index:0})},function(){var e,t=TAe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=$Ae(n,r),t.index+=e.length,{value:e,done:!1})});var G8=function(e,t,n){for(var r in t)va(e,r,t[r],n);return e},IAe=Ue.Array,NAe=Math.max,dB=ky.f,pB=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],BAe={f:function(e){return pB&&ua(e)=="Window"?function(t){try{return dB(t)}catch{return function(r,o,a){for(var i,s,u,l,c=sd(r),f=R8(void 0,c),d=R8(c,c),p=IAe(NAe(d-f,0)),m=0;f<d;f++,m++)i=p,s=m,u=r[f],(l=fA(s))in i?Vl.f(i,l,v2(0,u)):i[l]=u;return p.length=m,p}(pB)}}(e):dB(ad(e))}},hB=tn(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),C0=Object.isExtensible,$u=tn(function(){C0(1)})||hB?function(e){return!!rn(e)&&(!hB||ua(e)!="ArrayBuffer")&&(!C0||C0(e))}:C0,FAe=!tn(function(){return Object.isExtensible(Object.preventExtensions({}))}),yA=oA(function(e){var t=Vl.f,n=!1,r=sA("meta"),o=0,a=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},i=e.exports={enable:function(){i.enable=function(){},n=!0;var s=ky.f,u=rt([].splice),l={};l[r]=1,s(l).length&&(ky.f=function(c){for(var f=s(c),d=0,p=f.length;d<p;d++)if(f[d]===r){u(f,d,1);break}return f},Is({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:BAe.f}))},fastKey:function(s,u){if(!rn(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!Tn(s,r)){if(!$u(s))return"F";if(!u)return"E";a(s)}return s[r].objectID},getWeakData:function(s,u){if(!Tn(s,r)){if(!$u(s))return!0;if(!u)return!1;a(s)}return s[r].weakData},onFreeze:function(s){return FAe&&n&&$u(s)&&!Tn(s,r)&&a(s),s}};g2[r]=!0}),gB=rt(rt.bind),bA=function(e,t){return cA(e),t===void 0?e:gB?gB(e,t):function(){return e.apply(t,arguments)}},RAe=Kn("iterator"),MAe=Array.prototype,zAe=Kn("iterator"),vB=function(e){if(e!=null)return Xh(e,zAe)||Xh(e,"@@iterator")||xf[m2(e)]},UAe=Ue.TypeError,mB=function(e,t,n){var r,o;jr(e);try{if(!(r=Xh(e,"return"))){if(t==="throw")throw n;return n}r=Un(r,e)}catch(a){o=!0,r=a}if(t==="throw")throw n;if(o)throw r;return jr(r),n},HAe=Ue.TypeError,Om=function(e,t){this.stopped=e,this.result=t},yB=Om.prototype,KG=function(e,t,n){var r,o,a,i,s,u,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),m=!(!n||!n.INTERRUPTED),y=bA(t,f),g=function(h){return r&&mB(r,"normal",h),new Om(!0,h)},v=function(h){return d?(jr(h),m?y(h[0],h[1],g):y(h[0],h[1])):m?y(h,g):y(h)};if(p)r=e;else{if(!(o=vB(e)))throw HAe(F8(e)+" is not iterable");if((c=o)!==void 0&&(xf.Array===c||MAe[RAe]===c)){for(a=0,i=sd(e);i>a;a++)if((s=v(e[a]))&&my(yB,s))return s;return new Om(!1)}r=function(h,b){var w=arguments.length<2?vB(h):b;if(cA(w))return jr(Un(w,h));throw UAe(F8(h)+" is not iterable")}(e,o)}for(u=r.next;!(l=Un(u,r)).done;){try{s=v(l.value)}catch(h){mB(r,"throw",h)}if(typeof s=="object"&&s&&my(yB,s))return s}return new Om(!1)},WAe=Ue.TypeError,XG=function(e,t){if(my(t,e))return e;throw WAe("Incorrect invocation")},QG=Kn("iterator"),eZ=!1;try{var VAe=0,bB={next:function(){return{done:!!VAe++}},return:function(){eZ=!0}};bB[QG]=function(){return this},Array.from(bB,function(){throw 2})}catch{}var Z8=Array.isArray||function(e){return ua(e)=="Array"},tZ=function(){},qAe=[],nZ=sv("Reflect","construct"),wA=/^\s*(?:class|function)\b/,GAe=rt(wA.exec),ZAe=!wA.exec(tZ),lp=function(e){if(!sn(e))return!1;try{return nZ(tZ,qAe,e),!0}catch{return!1}},YAe=!nZ||tn(function(){var e;return lp(lp.call)||!lp(Object)||!lp(function(){e=!0})||e})?function(e){if(!sn(e))return!1;switch(m2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return ZAe||!!GAe(wA,hA(e))}:lp,JAe=Kn("species"),wB=Ue.Array,rZ=function(e,t){return new(function(n){var r;return Z8(n)&&(r=n.constructor,(YAe(r)&&(r===wB||Z8(r.prototype))||rn(r)&&(r=r[JAe])===null)&&(r=void 0)),r===void 0?wB:r}(e))(t===0?0:t)},kB=rt([].push),nS=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=av(u),y=BG(m),g=bA(l,c),v=sd(y),h=0,b=f||rZ,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:kB(w,d)}else switch(e){case 4:return!1;case 7:kB(w,d)}return a?-1:r||o?o:w}},kA={filter:nS(2),find:nS(5),findIndex:nS(6)},S0=yA.getWeakData,KAe=Ai.set,XAe=Ai.getterFor,QAe=kA.find,exe=kA.findIndex,txe=rt([].splice),nxe=0,_0=function(e){return e.frozen||(e.frozen=new oZ)},oZ=function(){this.entries=[]},rS=function(e,t){return QAe(e.entries,function(n){return n[0]===t})};oZ.prototype={get:function(e){var t=rS(this,e);if(t)return t[1]},has:function(e){return!!rS(this,e)},set:function(e,t){var n=rS(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=exe(this.entries,function(n){return n[0]===e});return~t&&txe(this.entries,t,1),!!~t}};var cp,iZ={getConstructor:function(e,t,n,r){var o=e(function(u,l){XG(u,a),KAe(u,{type:t,id:nxe++,frozen:void 0}),l!=null&&KG(l,u[r],{that:u,AS_ENTRIES:n})}),a=o.prototype,i=XAe(t),s=function(u,l,c){var f=i(u),d=S0(jr(l),!0);return d===!0?_0(f).set(l,c):d[f.id]=c,u};return G8(a,{delete:function(u){var l=i(this);if(!rn(u))return!1;var c=S0(u);return c===!0?_0(l).delete(u):c&&Tn(c,l.id)&&delete c[l.id]},has:function(u){var l=i(this);if(!rn(u))return!1;var c=S0(u);return c===!0?_0(l).has(u):c&&Tn(c,l.id)}}),G8(a,n?{get:function(u){var l=i(this);if(rn(u)){var c=S0(u);return c===!0?_0(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),o}},O0=Ai.enforce,rxe=!Ue.ActiveXObject&&"ActiveXObject"in Ue,aZ=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},oxe=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,a=r?"set":"add",i=Ue[e],s=i&&i.prototype,u=i,l={},c=function(g){var v=rt(s[g]);va(s,g,g=="add"?function(h){return v(this,h===0?0:h),this}:g=="delete"?function(h){return!(o&&!rn(h))&&v(this,h===0?0:h)}:g=="get"?function(h){return o&&!rn(h)?void 0:v(this,h===0?0:h)}:g=="has"?function(h){return!(o&&!rn(h))&&v(this,h===0?0:h)}:function(h,b){return v(this,h===0?0:h,b),this})};if(H8(e,!sn(i)||!(o||s.forEach&&!tn(function(){new i().entries().next()}))))u=n.getConstructor(t,e,r,a),yA.enable();else if(H8(e,!0)){var f=new u,d=f[a](o?{}:-0,1)!=f,p=tn(function(){f.has(1)}),m=function(g,v){if(!eZ)return!1;var h=!1;try{var b={};b[QG]=function(){return{next:function(){return{done:h=!0}}}},function(w){new i(w)}(b)}catch{}return h}(),y=!o&&tn(function(){for(var g=new i,v=5;v--;)g[a](v,v);return!g.has(-0)});m||((u=t(function(g,v){XG(g,s);var h=function(b,w,k){var C,E;return Cy&&sn(C=w.constructor)&&C!==k&&rn(E=C.prototype)&&E!==k.prototype&&Cy(b,E),b}(new i,g,u);return v!=null&&KG(v,h[a],{that:h,AS_ENTRIES:r}),h})).prototype=s,s.constructor=u),(p||y)&&(c("delete"),c("has"),r&&c("get")),(y||d)&&c(a),o&&s.clear&&delete s.clear}return l[e]=u,Is({global:!0,forced:u!=i},l),q8(u,e),o||n.setStrong(u,e,r),u}("WeakMap",aZ,iZ);if(WG&&rxe){cp=iZ.getConstructor(aZ,"WeakMap",!0),yA.enable();var fp=oxe.prototype,EB=rt(fp.delete),D0=rt(fp.has),CB=rt(fp.get),SB=rt(fp.set);G8(fp,{delete:function(e){if(rn(e)&&!$u(e)){var t=O0(this);return t.frozen||(t.frozen=new cp),EB(this,e)||t.frozen.delete(e)}return EB(this,e)},has:function(e){if(rn(e)&&!$u(e)){var t=O0(this);return t.frozen||(t.frozen=new cp),D0(this,e)||t.frozen.has(e)}return D0(this,e)},get:function(e){if(rn(e)&&!$u(e)){var t=O0(this);return t.frozen||(t.frozen=new cp),D0(this,e)?CB(this,e):t.frozen.get(e)}return CB(this,e)},set:function(e,t){if(rn(e)&&!$u(e)){var n=O0(this);n.frozen||(n.frozen=new cp),D0(this,e)?SB(this,e,t):n.frozen.set(e,t)}else SB(this,e,t);return this}})}var sZ={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},oS=lA("span").classList,_B=oS&&oS.constructor&&oS.constructor.prototype,ixe=_B===Object.prototype?void 0:_B,iS=Kn("iterator"),OB=Kn("toStringTag"),aS=Yp.values,uZ=function(e,t){if(e){if(e[iS]!==aS)try{ms(e,iS,aS)}catch{e[iS]=aS}if(e[OB]||ms(e,OB,t),sZ[t]){for(var n in Yp)if(e[n]!==Yp[n])try{ms(e,n,Yp[n])}catch{e[n]=Yp[n]}}}};for(var sS in sZ)uZ(Ue[sS]&&Ue[sS].prototype,sS);uZ(ixe,"DOMTokenList");var Y8=new WeakMap,axe={type:"list-item",renderElem:function(e,t,n){Y8.set(e,n);var r=e,o=r.level,a=o===void 0?0:o,i=r.ordered,s={margin:"5px 0 5px "+20*a+"px"},u="";if(i!==void 0&&i){var l=function(f,d){var p=d,m=p.type,y=p.level,g=y===void 0?0:y,v=p.ordered,h=v!==void 0&&v;if(!h)return-1;var b=1,w=d,k=P.findPath(f,w);if(k[0]===0)return 1;for(;k[0]>0;){var C=V.previous(k),E=S.node(f,C);if(E==null)break;var D=E[0],A=D.level,B=A===void 0?0:A,q=D.type,R=D.ordered;if(q!==m||B<g)break;if(B===g){if(R!==h)break;b++}w=D,k=C}return b}(n,e);u=l+"."}else u=function(f){f===void 0&&(f=0);var d="";switch(f){case 0:d="•";break;case 1:d="◦";break;default:d="▪"}return d}(a);var c=function(f){var d,p=f.children||[],m=p.length;if(m===0)return"";for(var y=0;y<m&&!d;y++){var g=p[y];Oe.isText(g)&&(d=g)}return d==null?"":d.color||""}(e);return ze("div",{style:s},ze("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},u),ze("span",null,t))}},J8=function(e,t){return J8=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])},J8(e,t);/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */};function lZ(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}J8(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function DB(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 dh(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function AB(e){return S.nodes(e,{at:e.selection||void 0,match:function(t){return P.findPath(e,t).length===1}})}var sxe=MG.includes;Is({target:"Array",proto:!0},{includes:function(e){return sxe(this,e,arguments.length>1?arguments[1]:void 0)}}),ch("includes");var xB,uS,uxe=function(){var e=jr(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},EA=Ue.RegExp,cZ=tn(function(){var e=EA("a","y");return e.lastIndex=2,e.exec("abcd")!=null});cZ||tn(function(){return!EA("a","y").sticky});var lxe={BROKEN_CARET:cZ||tn(function(){var e=EA("^r","gy");return e.lastIndex=2,e.exec("str")!=null})},cxe=Ue.RegExp,fxe=tn(function(){var e=cxe(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),dxe=Ue.RegExp,pxe=tn(function(){var e=dxe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),hxe=Ai.get,gxe=aA("native-string-replace",String.prototype.replace),Sy=RegExp.prototype.exec,K8=Sy,vxe=rt("".charAt),mxe=rt("".indexOf),yxe=rt("".replace),lS=rt("".slice),cS=(uS=/b*/g,Un(Sy,xB=/a/,"a"),Un(Sy,uS,"a"),xB.lastIndex!==0||uS.lastIndex!==0),LB=lxe.BROKEN_CARET,fS=/()??/.exec("")[1]!==void 0;(cS||fS||LB||fxe||pxe)&&(K8=function(e){var t,n,r,o,a,i,s,u=this,l=hxe(u),c=Zi(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=Un(K8,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=LB&&u.sticky,m=Un(uxe,u),y=u.source,g=0,v=c;if(p&&(m=yxe(m,"y",""),mxe(m,"g")===-1&&(m+="g"),v=lS(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&vxe(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),fS&&(n=new RegExp("^"+y+"$(?!\\s)",m)),cS&&(r=u.lastIndex),o=Un(Sy,p?n:u,v),p?o?(o.input=lS(o.input,g),o[0]=lS(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:cS&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),fS&&o&&o.length>1&&Un(gxe,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=pA(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var _y=K8;Is({target:"RegExp",proto:!0,forced:/./.exec!==_y},{exec:_y});var fZ=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(t){var n=this.type;return P.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||!!P.getSelectedElems(t).some(function(n){if(S.isVoid(t,n)&&S.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)?Z.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):Z.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),bxe='<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>',wxe='<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>',kxe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!1,n.title=ke("listModule.unOrderedList"),n.iconSvg=bxe,n}return lZ(t,e),t}(fZ),Exe=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!0,n.title=ke("listModule.orderedList"),n.iconSvg=wxe,n}return lZ(t,e),t}(fZ),Cxe={key:"bulletedList",factory:function(){return new kxe}},Sxe={key:"numberedList",factory:function(){return new Exe}},PB=[],_xe={type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,a=o!==void 0&&o?"ol":"ul",i=function(l){var c=Y8.get(l);if(c==null)return 0;var f=l,d=f.type,p=f.ordered,m=p!==void 0&&p,y=f.level,g=y===void 0?0:y,v=P.findPath(c,l);if(v[0]===0)return g+1;var h=V.previous(v),b=S.node(c,h);if(!b)return 0;var w=dh(b,1)[0];if(P.getNodeType(w)!==d)return g+1;var k=w,C=k.ordered,E=C!==void 0&&C,D=k.level,A=D===void 0?0:D;return A<g?g-A:A>g?0:A===g?E===m?0:1:0}(e);if(i>0)for(var s=0;s<i;s++)n+="<"+a+">",PB.push(a);var u=function(l){var c=Y8.get(l);if(c==null)return 0;var f=l,d=f.type,p=f.ordered,m=p!==void 0&&p,y=f.level,g=y===void 0?0:y,v=P.findPath(c,l);if(v[0]===c.children.length-1)return g+1;var h=V.next(v),b=S.node(c,h);if(!b)return 0;var w=dh(b,1)[0];if(P.getNodeType(w)!==d)return g+1;var k=w,C=k.ordered,E=C!==void 0&&C,D=k.level,A=D===void 0?0:D;return A<g?g-A:A>g?0:A===g?E===m?0:1:0}(e);if(u>0)for(s=0;s<u;s++)r+="</"+PB.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},Oxe=Kn("species"),Dxe=kA.filter,Axe=I8>=51||!tn(function(){var e=[];return(e.constructor={})[Oxe]=function(){return{foo:1}},e.filter(Boolean).foo!==1});Is({target:"Array",proto:!0,forced:!Axe},{filter:function(e){return Dxe(this,e,arguments.length>1?arguments[1]:void 0)}});var CA=Function.prototype,$B=CA.apply,xxe=CA.bind,jB=CA.call,Lxe=typeof Reflect=="object"&&Reflect.apply||(xxe?jB.bind($B):function(){return jB.apply($B,arguments)}),TB=(Kn("species"),RegExp.prototype),Pxe=JG.charAt,$xe=function(e,t,n){return t+(n?Pxe(e,t).length:1)},jxe=Math.floor,dS=rt("".charAt),Txe=rt("".replace),pS=rt("".slice),Ixe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Nxe=/\$([$&'`]|\d{1,2})/g,Bxe=function(e,t,n,r,o,a){var i=n+e.length,s=r.length,u=Nxe;return o!==void 0&&(o=av(o),u=Ixe),Txe(a,u,function(l,c){var f;switch(dS(c,0)){case"$":return"$";case"&":return e;case"`":return pS(t,0,n);case"'":return pS(t,i);case"<":f=o[pS(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>s){var p=jxe(d/10);return p===0?l:p<=s?r[p-1]===void 0?dS(c,1):r[p-1]+dS(c,1):l}f=r[d-1]}return f===void 0?"":f})},Fxe=Ue.TypeError,Rxe=function(e,t){var n=e.exec;if(sn(n)){var r=Un(n,e,t);return r!==null&&jr(r),r}if(ua(e)==="RegExp")return Un(_y,e,t);throw Fxe("RegExp#exec called on incompatible receiver")},X8=Kn("replace"),Mxe=Math.max,zxe=Math.min,Uxe=rt([].concat),hS=rt([].push),IB=rt("".indexOf),NB=rt("".slice),Hxe="a".replace(/./,"$0")==="$0",BB=!!/./[X8]&&/./[X8]("a","$0")==="";(function(e,t,n,r){var o=Kn(e),a=!tn(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!tn(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=rt(/./[o]),u=function(l,c,f){var d=BB?"$":"$0";return[function(p,m){var y=h2(this),g=p==null?void 0:Xh(p,X8);return g?Un(g,p,y,m):Un(c,Zi(y),p,m)},function(p,m){var y=jr(this),g=Zi(p);if(typeof m=="string"&&IB(m,d)===-1&&IB(m,"$<")===-1){var v=f(c,y,g,m);if(v.done)return v.value}var h=sn(m);h||(m=Zi(m));var b=y.global;if(b){var w=y.unicode;y.lastIndex=0}for(var k=[];;){var C=Rxe(y,g);if(C===null||(hS(k,C),!b))break;Zi(C[0])===""&&(y.lastIndex=$xe(g,RG(y.lastIndex),w))}for(var E,D="",A=0,B=0;B<k.length;B++){for(var q=Zi((C=k[B])[0]),R=Mxe(zxe(uv(C.index),g.length),0),ie=[],K=1;K<C.length;K++)hS(ie,(E=C[K])===void 0?E:String(E));var te=C.groups;if(h){var F=Uxe([q],ie,R,g);te!==void 0&&hS(F,te);var U=Zi(Lxe(m,void 0,F))}else U=Bxe(q,g,R,ie,te,m);R>=A&&(D+=NB(g,A,R)+U,A=R+q.length)}return D+NB(g,A)}]}(0,""[e],function(l,c,f,d,p){var m=rt(l),y=c.exec;return y===_y||y===TB.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});va(String.prototype,e,u[0]),va(TB,o,u[1])}})("replace",0,!!tn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Hxe||BB);var Wxe=Ue.TypeError,dZ=function(e,t,n,r,o,a,i,s){for(var u,l,c=o,f=0,d=!!i&&bA(i,s);f<r;){if(f in n){if(u=d?d(n[f],f,t):n[f],a>0&&Z8(u))l=sd(u),c=dZ(e,t,u,l,c,a-1)-1;else{if(c>=9007199254740991)throw Wxe("Exceed the acceptable array length");e[c]=u}c++}f++}return c},Vxe=dZ;function gS(e){return e.length?e[0].tagName.toLowerCase():""}Is({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=av(this),n=sd(t),r=rZ(t,0);return r.length=Vxe(r,t,t,n,0,e===void 0?1:uv(e)),r}}),ch("flat"),Is({global:!0},{globalThis:Ue}),yo&&(T.fn.append=yo),mo&&(T.fn.attr=mo),vf&&(T.fn.parent=vf);var qxe={renderElems:[axe],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,o=e;return o.deleteBackward=function(a){var i=o.selection;if(i!=null)if(ee.isExpanded(i))t(a);else{var s=P.getSelectedNodeByType(o,"list-item");if(s!=null)if(i.focus.offset!==0)t(a);else{var u=s.level,l=u===void 0?0:u;l>0?Z.setNodes(o,{level:l-1}):Z.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else t(a)}else t(a)},o.handleTab=function(){var a,i,s,u,l=o.selection;if(l!=null){if(ee.isCollapsed(l)){var c=P.getSelectedNodeByType(o,"list-item");if(c==null)return void n();if(l.focus.offset===0){var f=c.level,d=f===void 0?0:f;return void Z.setNodes(o,{level:d+1})}}if(ee.isExpanded(l)){var p=0,m=!1;try{for(var y=DB(AB(o)),g=y.next();!g.done;g=y.next()){var v=dh(g.value,1)[0];P.getNodeType(v)==="list-item"?p++:m=!0}}catch(E){a={error:E}}finally{try{g&&!g.done&&(i=y.return)&&i.call(y)}finally{if(a)throw a.error}}if(m||p<=1)return void n();try{for(var h=DB(AB(o)),b=h.next();!b.done;b=h.next()){var w=dh(b.value,2),k=(v=w[0],w[1]),C=v.level;d=C===void 0?0:C,Z.setNodes(o,{level:d+1},{at:k})}}catch(E){s={error:E}}finally{try{b&&!b.done&&(u=h.return)&&u.call(h)}finally{if(s)throw s.error}}}else n()}else n()},o.normalizeNode=function(a){var i=dh(a,2),s=i[0],u=i[1],l=P.getNodeType(s);return l!=="bulleted-list"&&l!=="numbered-list"||Z.unwrapNodes(o,{at:u}),r([s,u])},o},menus:[Cxe,Sxe],elemsToHtml:[_xe],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=T(e);(t=t.filter(function(i){return!!Oe.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(i){return gS(i.parent())==="ol"}(r),a=function(i){for(var s=0,u=i.parent(),l=gS(u);l==="ul"||l==="ol";)l=gS(u=u.parent()),s++;return s-1}(r);return{type:"list-item",ordered:o,level:a,children:t}}}]},pZ=Tl(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",a="[object Array]",i="[object Boolean]",s="[object Date]",u="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",m="[object RegExp]",y="[object Set]",g="[object String]",v="[object Symbol]",h="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",k=/^\[object .+?Constructor\]$/,C=/^(?:0|[1-9]\d*)$/,E={};E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E[o]=E[a]=E[b]=E[i]=E[w]=E[s]=E[u]=E[l]=E[c]=E[f]=E[d]=E[m]=E[y]=E[g]=E[h]=!1;var D=typeof Tt=="object"&&Tt&&Tt.Object===Object&&Tt,A=typeof self=="object"&&self&&self.Object===Object&&self,B=D||A||Function("return this")(),q=t&&!t.nodeType&&t,R=q&&e&&!e.nodeType&&e,ie=R&&R.exports===q,K=ie&&D.process,te=function(){try{return K&&K.binding&&K.binding("util")}catch{}}(),F=te&&te.isTypedArray;function U(H,Q){for(var be=-1,Ie=H==null?0:H.length;++be<Ie;)if(Q(H[be],be,H))return!0;return!1}function Y(H){var Q=-1,be=Array(H.size);return H.forEach(function(Ie,_t){be[++Q]=[_t,Ie]}),be}function I(H){var Q=-1,be=Array(H.size);return H.forEach(function(Ie){be[++Q]=Ie}),be}var j=Array.prototype,_=Function.prototype,O=Object.prototype,L=B["__core-js_shared__"],M=_.toString,J=O.hasOwnProperty,W=function(){var H=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||"");return H?"Symbol(src)_1."+H:""}(),he=O.toString,Ee=RegExp("^"+M.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),De=ie?B.Buffer:void 0,Ae=B.Symbol,pe=B.Uint8Array,Ve=O.propertyIsEnumerable,Ne=j.splice,xe=Ae?Ae.toStringTag:void 0,Be=Object.getOwnPropertySymbols,$t=De?De.isBuffer:void 0,tt=function(H,Q){return function(be){return H(Q(be))}}(Object.keys,Object),$=Ea(B,"DataView"),N=Ea(B,"Map"),ge=Ea(B,"Promise"),me=Ea(B,"Set"),lt=Ea(B,"WeakMap"),Fe=Ea(Object,"create"),ne=Fi($),ve=Fi(N),dt=Fi(ge),bt=Fi(me),Bn=Fi(lt),br=Ae?Ae.prototype:void 0,en=br?br.valueOf:void 0;function Fn(H){var Q=-1,be=H==null?0:H.length;for(this.clear();++Q<be;){var Ie=H[Q];this.set(Ie[0],Ie[1])}}function Gn(H){var Q=-1,be=H==null?0:H.length;for(this.clear();++Q<be;){var Ie=H[Q];this.set(Ie[0],Ie[1])}}function cr(H){var Q=-1,be=H==null?0:H.length;for(this.clear();++Q<be;){var Ie=H[Q];this.set(Ie[0],Ie[1])}}function Rn(H){var Q=-1,be=H==null?0:H.length;for(this.__data__=new cr;++Q<be;)this.add(H[Q])}function Qr(H){var Q=this.__data__=new Gn(H);this.size=Q.size}function fd(H,Q){var be=Ri(H),Ie=!be&&_v(H),_t=!be&&!Ie&&Jo(H),nt=!be&&!Ie&&!_t&&Xo(H),z=be||Ie||_t||nt,ue=z?function(ut,Wt){for(var Bt=-1,pt=Array(ut);++Bt<ut;)pt[Bt]=Wt(Bt);return pt}(H.length,String):[],_e=ue.length;for(var Pe in H)!J.call(H,Pe)||z&&(Pe=="length"||_t&&(Pe=="offset"||Pe=="parent")||nt&&(Pe=="buffer"||Pe=="byteLength"||Pe=="byteOffset")||dd(Pe,_e))||ue.push(Pe);return ue}function ka(H,Q){for(var be=H.length;be--;)if(Yl(H[be][0],Q))return be;return-1}function Ni(H){return H==null?H===void 0?"[object Undefined]":"[object Null]":xe&&xe in Object(H)?function(Q){var be=J.call(Q,xe),Ie=Q[xe];try{Q[xe]=void 0;var _t=!0}catch{}var nt=he.call(Q);return _t&&(be?Q[xe]=Ie:delete Q[xe]),nt}(H):function(Q){return he.call(Q)}(H)}function Gl(H){return Ca(H)&&Ni(H)==o}function Qs(H,Q,be,Ie,_t){return H===Q||(H==null||Q==null||!Ca(H)&&!Ca(Q)?H!=H&&Q!=Q:function(nt,z,ue,_e,Pe,ut){var Wt=Ri(nt),Bt=Ri(z),pt=Wt?a:Ir(nt),xn=Bt?a:Ir(z),Xn=(pt=pt==o?d:pt)==d,eu=(xn=xn==o?d:xn)==d,Mi=pt==xn;if(Mi&&Jo(nt)){if(!Jo(z))return!1;Wt=!0,Xn=!1}if(Mi&&!Xn)return ut||(ut=new Qr),Wt||Xo(nt)?eo(nt,z,ue,_e,Pe,ut):function(it,ht,gt,nn,fr,wr,Oo){switch(gt){case w:if(it.byteLength!=ht.byteLength||it.byteOffset!=ht.byteOffset)return!1;it=it.buffer,ht=ht.buffer;case b:return!(it.byteLength!=ht.byteLength||!wr(new pe(it),new pe(ht)));case i:case s:case f:return Yl(+it,+ht);case u:return it.name==ht.name&&it.message==ht.message;case m:case g:return it==ht+"";case c:var _a=Y;case y:var hd=1&nn;if(_a||(_a=I),it.size!=ht.size&&!hd)return!1;var Av=Oo.get(it);if(Av)return Av==ht;nn|=2,Oo.set(it,ht);var Jl=eo(_a(it),_a(ht),nn,fr,wr,Oo);return Oo.delete(it),Jl;case v:if(en)return en.call(it)==en.call(ht)}return!1}(nt,z,pt,ue,_e,Pe,ut);if(!(1&ue)){var Sa=Xn&&J.call(nt,"__wrapped__"),Me=eu&&J.call(z,"__wrapped__");if(Sa||Me){var wt=Sa?nt.value():nt,un=Me?z.value():z;return ut||(ut=new Qr),Pe(wt,un,ue,_e,ut)}}return Mi?(ut||(ut=new Qr),function(it,ht,gt,nn,fr,wr){var Oo=1>,_a=Bi(it),hd=_a.length,Av=Bi(ht).length;if(hd!=Av&&!Oo)return!1;for(var Jl=hd;Jl--;){var tu=_a[Jl];if(!(Oo?tu in ht:J.call(ht,tu)))return!1}var w9=wr.get(it);if(w9&&wr.get(ht))return w9==ht;var xv=!0;wr.set(it,ht),wr.set(ht,it);for(var G2=Oo;++Jl<hd;){var Lv=it[tu=_a[Jl]],Pv=ht[tu];if(nn)var k9=Oo?nn(Pv,Lv,tu,ht,it,wr):nn(Lv,Pv,tu,it,ht,wr);if(!(k9===void 0?Lv===Pv||fr(Lv,Pv,gt,nn,wr):k9)){xv=!1;break}G2||(G2=tu=="constructor")}if(xv&&!G2){var $v=it.constructor,jv=ht.constructor;$v==jv||!("constructor"in it)||!("constructor"in ht)||typeof $v=="function"&&$v instanceof $v&&typeof jv=="function"&&jv instanceof jv||(xv=!1)}return wr.delete(it),wr.delete(ht),xv}(nt,z,ue,_e,Pe,ut)):!1}(H,Q,be,Ie,Qs,_t))}function Zl(H){return!(!Ov(H)||function(Q){return!!W&&W in Q}(H))&&(pd(H)?Ee:k).test(Fi(H))}function So(H){if(be=(Q=H)&&Q.constructor,Ie=typeof be=="function"&&be.prototype||O,Q!==Ie)return tt(H);var Q,be,Ie,_t=[];for(var nt in Object(H))J.call(H,nt)&&nt!="constructor"&&_t.push(nt);return _t}function eo(H,Q,be,Ie,_t,nt){var z=1&be,ue=H.length,_e=Q.length;if(ue!=_e&&!(z&&_e>ue))return!1;var Pe=nt.get(H);if(Pe&&nt.get(Q))return Pe==Q;var ut=-1,Wt=!0,Bt=2&be?new Rn:void 0;for(nt.set(H,Q),nt.set(Q,H);++ut<ue;){var pt=H[ut],xn=Q[ut];if(Ie)var Xn=z?Ie(xn,pt,ut,Q,H,nt):Ie(pt,xn,ut,H,Q,nt);if(Xn!==void 0){if(Xn)continue;Wt=!1;break}if(Bt){if(!U(Q,function(eu,Mi){if(Sa=Mi,!Bt.has(Sa)&&(pt===eu||_t(pt,eu,be,Ie,nt)))return Bt.push(Mi);var Sa})){Wt=!1;break}}else if(pt!==xn&&!_t(pt,xn,be,Ie,nt)){Wt=!1;break}}return nt.delete(H),nt.delete(Q),Wt}function Bi(H){return function(Q,be,Ie){var _t=be(Q);return Ri(Q)?_t:function(nt,z){for(var ue=-1,_e=z.length,Pe=nt.length;++ue<_e;)nt[Pe+ue]=z[ue];return nt}(_t,Ie(Q))}(H,Dv,Sv)}function _o(H,Q){var be,Ie,_t=H.__data__;return((Ie=typeof(be=Q))=="string"||Ie=="number"||Ie=="symbol"||Ie=="boolean"?be!=="__proto__":be===null)?_t[typeof Q=="string"?"string":"hash"]:_t.map}function Ea(H,Q){var be=function(Ie,_t){return Ie==null?void 0:Ie[_t]}(H,Q);return Zl(be)?be:void 0}Fn.prototype.clear=function(){this.__data__=Fe?Fe(null):{},this.size=0},Fn.prototype.delete=function(H){var Q=this.has(H)&&delete this.__data__[H];return this.size-=Q?1:0,Q},Fn.prototype.get=function(H){var Q=this.__data__;if(Fe){var be=Q[H];return be===n?void 0:be}return J.call(Q,H)?Q[H]:void 0},Fn.prototype.has=function(H){var Q=this.__data__;return Fe?Q[H]!==void 0:J.call(Q,H)},Fn.prototype.set=function(H,Q){var be=this.__data__;return this.size+=this.has(H)?0:1,be[H]=Fe&&Q===void 0?n:Q,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(H){var Q=this.__data__,be=ka(Q,H);return!(be<0)&&(be==Q.length-1?Q.pop():Ne.call(Q,be,1),--this.size,!0)},Gn.prototype.get=function(H){var Q=this.__data__,be=ka(Q,H);return be<0?void 0:Q[be][1]},Gn.prototype.has=function(H){return ka(this.__data__,H)>-1},Gn.prototype.set=function(H,Q){var be=this.__data__,Ie=ka(be,H);return Ie<0?(++this.size,be.push([H,Q])):be[Ie][1]=Q,this},cr.prototype.clear=function(){this.size=0,this.__data__={hash:new Fn,map:new(N||Gn),string:new Fn}},cr.prototype.delete=function(H){var Q=_o(this,H).delete(H);return this.size-=Q?1:0,Q},cr.prototype.get=function(H){return _o(this,H).get(H)},cr.prototype.has=function(H){return _o(this,H).has(H)},cr.prototype.set=function(H,Q){var be=_o(this,H),Ie=be.size;return be.set(H,Q),this.size+=be.size==Ie?0:1,this},Rn.prototype.add=Rn.prototype.push=function(H){return this.__data__.set(H,n),this},Rn.prototype.has=function(H){return this.__data__.has(H)},Qr.prototype.clear=function(){this.__data__=new Gn,this.size=0},Qr.prototype.delete=function(H){var Q=this.__data__,be=Q.delete(H);return this.size=Q.size,be},Qr.prototype.get=function(H){return this.__data__.get(H)},Qr.prototype.has=function(H){return this.__data__.has(H)},Qr.prototype.set=function(H,Q){var be=this.__data__;if(be instanceof Gn){var Ie=be.__data__;if(!N||Ie.length<199)return Ie.push([H,Q]),this.size=++be.size,this;be=this.__data__=new cr(Ie)}return be.set(H,Q),this.size=be.size,this};var Sv=Be?function(H){return H==null?[]:(H=Object(H),function(Q,be){for(var Ie=-1,_t=Q==null?0:Q.length,nt=0,z=[];++Ie<_t;){var ue=Q[Ie];be(ue,Ie,Q)&&(z[nt++]=ue)}return z}(Be(H),function(Q){return Ve.call(H,Q)}))}:function(){return[]},Ir=Ni;function dd(H,Q){return!!(Q=Q??r)&&(typeof H=="number"||C.test(H))&&H>-1&&H%1==0&&H<Q}function Fi(H){if(H!=null){try{return M.call(H)}catch{}try{return H+""}catch{}}return""}function Yl(H,Q){return H===Q||H!=H&&Q!=Q}($&&Ir(new $(new ArrayBuffer(1)))!=w||N&&Ir(new N)!=c||ge&&Ir(ge.resolve())!=p||me&&Ir(new me)!=y||lt&&Ir(new lt)!=h)&&(Ir=function(H){var Q=Ni(H),be=Q==d?H.constructor:void 0,Ie=be?Fi(be):"";if(Ie)switch(Ie){case ne:return w;case ve:return c;case dt:return p;case bt:return y;case Bn:return h}return Q});var _v=Gl(function(){return arguments}())?Gl:function(H){return Ca(H)&&J.call(H,"callee")&&!Ve.call(H,"callee")},Ri=Array.isArray,Jo=$t||function(){return!1};function pd(H){if(!Ov(H))return!1;var Q=Ni(H);return Q==l||Q=="[object GeneratorFunction]"||Q=="[object AsyncFunction]"||Q=="[object Proxy]"}function Ko(H){return typeof H=="number"&&H>-1&&H%1==0&&H<=r}function Ov(H){var Q=typeof H;return H!=null&&(Q=="object"||Q=="function")}function Ca(H){return H!=null&&typeof H=="object"}var Xo=F?function(H){return function(Q){return H(Q)}}(F):function(H){return Ca(H)&&Ko(H.length)&&!!E[Ni(H)]};function Dv(H){return(Q=H)!=null&&Ko(Q.length)&&!pd(Q)?fd(H):So(H);var Q}e.exports=function(H,Q){return Qs(H,Q)}});$r("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"}}),$r("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头"}});var FB=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hZ(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ma,Dm,A0=function(e){return e&&e.Math==Math&&e},et=A0(typeof globalThis=="object"&&globalThis)||A0(typeof window=="object"&&window)||A0(typeof self=="object"&&self)||A0(typeof FB=="object"&&FB)||function(){return this}()||Function("return this")(),Dn=function(e){try{return!!e()}catch{return!0}},Ns=!Dn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),dp=Function.prototype.call,$n=dp.bind?dp.bind(dp):function(){return dp.apply(dp,arguments)},RB={}.propertyIsEnumerable,MB=Object.getOwnPropertyDescriptor,Gxe={f:MB&&!RB.call({1:2},1)?function(e){var t=MB(this,e);return!!t&&t.enumerable}:RB},SA=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},gZ=Function.prototype,Q8=gZ.bind,e6=gZ.call,Zxe=Q8&&Q8.bind(e6),st=Q8?function(e){return e&&Zxe(e6,e)}:function(e){return e&&function(){return e6.apply(e,arguments)}},Yxe=st({}.toString),Jxe=st("".slice),ys=function(e){return Jxe(Yxe(e),8,-1)},vS=et.Object,Kxe=st("".split),vZ=Dn(function(){return!vS("z").propertyIsEnumerable(0)})?function(e){return ys(e)=="String"?Kxe(e,""):vS(e)}:vS,Xxe=et.TypeError,Bs=function(e){if(e==null)throw Xxe("Can't call method on "+e);return e},cv=function(e){return vZ(Bs(e))},ur=function(e){return typeof e=="function"},vi=function(e){return typeof e=="object"?e!==null:ur(e)},Qxe=function(e){return ur(e)?e:void 0},fv=function(e,t){return arguments.length<2?Qxe(et[e]):et[e]&&et[e][t]},mZ=st({}.isPrototypeOf),mS=fv("navigator","userAgent")||"",zB=et.process,UB=et.Deno,HB=zB&&zB.versions||UB&&UB.version,WB=HB&&HB.v8;WB&&(Dm=(Ma=WB.split("."))[0]>0&&Ma[0]<4?1:+(Ma[0]+Ma[1])),!Dm&&mS&&(!(Ma=mS.match(/Edge\/(\d+)/))||Ma[1]>=74)&&(Ma=mS.match(/Chrome\/(\d+)/))&&(Dm=+Ma[1]);var t6=Dm,n6=!!Object.getOwnPropertySymbols&&!Dn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t6&&t6<41}),_A=n6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",e9e=et.Object,yS=_A?function(e){return typeof e=="symbol"}:function(e){var t=fv("Symbol");return ur(t)&&mZ(t.prototype,e9e(e))},t9e=et.String,yZ=function(e){try{return t9e(e)}catch{return"Object"}},n9e=et.TypeError,bZ=function(e){if(ur(e))return e;throw n9e(yZ(e)+" is not a function")},OA=function(e,t){var n=e[t];return n==null?void 0:bZ(n)},r9e=et.TypeError,o9e=Object.defineProperty,DA=function(e,t){try{o9e(et,e,{value:t,configurable:!0,writable:!0})}catch{et[e]=t}return t},bs=et["__core-js_shared__"]||DA("__core-js_shared__",{}),AA=hZ(function(e){(e.exports=function(t,n){return bs[t]||(bs[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),i9e=et.Object,xA=function(e){return i9e(Bs(e))},a9e=st({}.hasOwnProperty),ho=Object.hasOwn||function(e,t){return a9e(xA(e),t)},s9e=0,u9e=Math.random(),l9e=st(1 .toString),wZ=function(e){return"Symbol("+(e===void 0?"":e)+")_"+l9e(++s9e+u9e,36)},pp=AA("wks"),nl=et.Symbol,VB=nl&&nl.for,c9e=_A?nl:nl&&nl.withoutSetter||wZ,Co=function(e){if(!ho(pp,e)||!n6&&typeof pp[e]!="string"){var t="Symbol."+e;n6&&ho(nl,e)?pp[e]=nl[e]:pp[e]=_A&&VB?VB(t):c9e(t)}return pp[e]},f9e=et.TypeError,d9e=Co("toPrimitive"),LA=function(e){var t=function(n,r){if(!vi(n)||yS(n))return n;var o,a=OA(n,d9e);if(a){if(o=$n(a,n,r),!vi(o)||yS(o))return o;throw f9e("Can't convert object to primitive value")}return function(i,s){var u,l;if(ur(u=i.toString)&&!vi(l=$n(u,i))||ur(u=i.valueOf)&&!vi(l=$n(u,i)))return l;throw r9e("Can't convert object to primitive value")}(n)}(e,"string");return yS(t)?t:t+""},r6=et.document,p9e=vi(r6)&&vi(r6.createElement),PA=function(e){return p9e?r6.createElement(e):{}},kZ=!Ns&&!Dn(function(){return Object.defineProperty(PA("div"),"a",{get:function(){return 7}}).a!=7}),qB=Object.getOwnPropertyDescriptor,EZ={f:Ns?qB:function(e,t){if(e=cv(e),t=LA(t),kZ)try{return qB(e,t)}catch{}if(ho(e,t))return SA(!$n(Gxe.f,e,t),e[t])}},h9e=et.String,g9e=et.TypeError,go=function(e){if(vi(e))return e;throw g9e(h9e(e)+" is not an object")},v9e=et.TypeError,GB=Object.defineProperty,dv={f:Ns?GB:function(e,t,n){if(go(e),t=LA(t),go(n),kZ)try{return GB(e,t,n)}catch{}if("get"in n||"set"in n)throw v9e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Lf=Ns?function(e,t,n){return dv.f(e,t,SA(1,n))}:function(e,t,n){return e[t]=n,e},m9e=st(Function.toString);ur(bs.inspectSource)||(bs.inspectSource=function(e){return m9e(e)});var o6,Oy,i6,$A=bs.inspectSource,ZB=et.WeakMap,y9e=ur(ZB)&&/native code/.test($A(ZB)),YB=AA("keys"),CZ=function(e){return YB[e]||(YB[e]=wZ(e))},jA={},JB=et.TypeError,b9e=et.WeakMap;if(y9e||bs.state){var fu=bs.state||(bs.state=new b9e),w9e=st(fu.get),KB=st(fu.has),k9e=st(fu.set);o6=function(e,t){if(KB(fu,e))throw new JB("Object already initialized");return t.facade=e,k9e(fu,e,t),t},Oy=function(e){return w9e(fu,e)||{}},i6=function(e){return KB(fu,e)}}else{var yc=CZ("state");jA[yc]=!0,o6=function(e,t){if(ho(e,yc))throw new JB("Object already initialized");return t.facade=e,Lf(e,yc,t),t},Oy=function(e){return ho(e,yc)?e[yc]:{}},i6=function(e){return ho(e,yc)}}var a6={get:Oy,enforce:function(e){return i6(e)?Oy(e):o6(e,{})}},SZ=Function.prototype,E9e=Ns&&Object.getOwnPropertyDescriptor,XB=ho(SZ,"name"),TA={PROPER:XB&&(function(){}).name==="something",CONFIGURABLE:XB&&(!Ns||Ns&&E9e(SZ,"name").configurable)},Qh=hZ(function(e){var t=TA.CONFIGURABLE,n=a6.get,r=a6.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;ur(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ho(s,"name")||t&&s.name!==p)&&Lf(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==et?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:Lf(a,i,s)):f?a[i]=s:DA(i,s)})(Function.prototype,"toString",function(){return ur(this)&&n(this).source||$A(this)})}),C9e=Math.ceil,S9e=Math.floor,y2=function(e){var t=+e;return t!=t||t===0?0:(t>0?S9e:C9e)(t)},_9e=Math.max,O9e=Math.min,eg=function(e,t){var n=y2(e);return n<0?_9e(n+t,0):O9e(n,t)},D9e=Math.min,IA=function(e){return e>0?D9e(y2(e),9007199254740991):0},b2=function(e){return IA(e.length)},A9e=function(e){return function(t,n,r){var o,a=cv(t),i=b2(a),s=eg(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},x9e=A9e(!1),QB=st([].push),_Z=function(e,t){var n,r=cv(e),o=0,a=[];for(n in r)!ho(jA,n)&&ho(r,n)&&QB(a,n);for(;t.length>o;)ho(r,n=t[o++])&&(~x9e(a,n)||QB(a,n));return a},Dy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],L9e=Dy.concat("length","prototype"),P9e={f:Object.getOwnPropertyNames||function(e){return _Z(e,L9e)}},$9e={f:Object.getOwnPropertySymbols},j9e=st([].concat),T9e=fv("Reflect","ownKeys")||function(e){var t=P9e.f(go(e)),n=$9e.f;return n?j9e(t,n(e)):t},I9e=function(e,t){for(var n=T9e(t),r=dv.f,o=EZ.f,a=0;a<n.length;a++){var i=n[a];ho(e,i)||r(e,i,o(t,i))}},N9e=/#|\.prototype\./,pv=function(e,t){var n=F9e[B9e(e)];return n==M9e||n!=R9e&&(ur(t)?Dn(t):!!t)},B9e=pv.normalize=function(e){return String(e).replace(N9e,".").toLowerCase()},F9e=pv.data={},R9e=pv.NATIVE="N",M9e=pv.POLYFILL="P",z9e=pv,U9e=EZ.f,Fs=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?et:l?et[s]||DA(s,{}):(et[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=U9e(n,r))&&i.value:n[r],!z9e(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;I9e(a,o)}(e.sham||o&&o.sham)&&Lf(a,"sham",!0),Qh(n,r,a,e)}},OZ={};OZ[Co("toStringTag")]="z";var NA=String(OZ)==="[object z]",H9e=Co("toStringTag"),W9e=et.Object,V9e=ys(function(){return arguments}())=="Arguments",BA=NA?ys:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=W9e(e),H9e))=="string"?n:V9e?ys(t):(r=ys(t))=="Object"&&ur(t.callee)?"Arguments":r},q9e=et.String,rr=function(e){if(BA(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return q9e(e)},G9e=/"/g,Z9e=st("".replace);Fs({target:"String",proto:!0,forced:Dn(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=rr(Bs(this)),r="<a",(r+=' name="'+Z9e(rr(t),G9e,""")+'"')+">"+n+"</a>";var t,n,r}});var x0,DZ=function(){var e=go(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},FA=et.RegExp,s6=Dn(function(){var e=FA("a","y");return e.lastIndex=2,e.exec("abcd")!=null});s6||Dn(function(){return!FA("a","y").sticky});var AZ={BROKEN_CARET:s6||Dn(function(){var e=FA("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),UNSUPPORTED_Y:s6},Y9e=Object.keys||function(e){return _Z(e,Dy)},J9e=Ns?Object.defineProperties:function(e,t){go(e);for(var n,r=cv(t),o=Y9e(t),a=o.length,i=0;a>i;)dv.f(e,n=o[i++],r[n]);return e},K9e=fv("document","documentElement"),xZ=CZ("IE_PROTO"),bS=function(){},LZ=function(e){return"<script>"+e+"<\/script>"},eF=function(e){e.write(LZ("")),e.close();var t=e.parentWindow.Object;return e=null,t},Am=function(){try{x0=new ActiveXObject("htmlfile")}catch{}var e,t;Am=typeof document<"u"?document.domain&&x0?eF(x0):((t=PA("iframe")).style.display="none",K9e.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(LZ("document.F=Object")),e.close(),e.F):eF(x0);for(var n=Dy.length;n--;)delete Am.prototype[Dy[n]];return Am()};jA[xZ]=!0;var tF,wS,PZ=Object.create||function(e,t){var n;return e!==null?(bS.prototype=go(e),n=new bS,bS.prototype=null,n[xZ]=e):n=Am(),t===void 0?n:J9e(n,t)},X9e=et.RegExp,Q9e=Dn(function(){var e=X9e(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),eLe=et.RegExp,tLe=Dn(function(){var e=eLe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),nLe=a6.get,rLe=AA("native-string-replace",String.prototype.replace),Ay=RegExp.prototype.exec,u6=Ay,oLe=st("".charAt),iLe=st("".indexOf),aLe=st("".replace),kS=st("".slice),ES=(wS=/b*/g,$n(Ay,tF=/a/,"a"),$n(Ay,wS,"a"),tF.lastIndex!==0||wS.lastIndex!==0),nF=AZ.BROKEN_CARET,CS=/()??/.exec("")[1]!==void 0;(ES||CS||nF||Q9e||tLe)&&(u6=function(e){var t,n,r,o,a,i,s,u=this,l=nLe(u),c=rr(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=$n(u6,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=nF&&u.sticky,m=$n(DZ,u),y=u.source,g=0,v=c;if(p&&(m=aLe(m,"y",""),iLe(m,"g")===-1&&(m+="g"),v=kS(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&oLe(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),CS&&(n=new RegExp("^"+y+"$(?!\\s)",m)),ES&&(r=u.lastIndex),o=$n(Ay,p?n:u,v),p?o?(o.input=kS(o.input,g),o[0]=kS(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:ES&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),CS&&o&&o.length>1&&$n(rLe,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=PZ(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var tg=u6;Fs({target:"RegExp",proto:!0,forced:/./.exec!==tg},{exec:tg});var xy=Array.isArray||function(e){return ys(e)=="Array"},$Z=function(){},sLe=[],jZ=fv("Reflect","construct"),RA=/^\s*(?:class|function)\b/,uLe=st(RA.exec),lLe=!RA.exec($Z),hp=function(e){if(!ur(e))return!1;try{return jZ($Z,sLe,e),!0}catch{return!1}},MA=!jZ||Dn(function(){var e;return hp(hp.call)||!hp(Object)||!hp(function(){e=!0})||e})?function(e){if(!ur(e))return!1;switch(BA(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return lLe||!!uLe(RA,$A(e))}:hp,TZ=function(e,t,n){var r=LA(t);r in e?dv.f(e,r,SA(0,n)):e[r]=n},cLe=Co("species"),zA=function(e){return t6>=51||!Dn(function(){var t=[];return(t.constructor={})[cLe]=function(){return{foo:1}},t[e](Boolean).foo!==1})},fLe=st([].slice),dLe=zA("slice"),pLe=Co("species"),SS=et.Array,hLe=Math.max;function qo(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function rF(e){var t=e.selection;if(t==null)return!1;var n=qo(S.nodes(e,{match:function(a){return P.checkNodeType(a,"table-cell")}}),1)[0];if(n){var r=qo(n,2)[1],o=S.start(e,r);if(Je.equals(t.anchor,o))return!0}return!1}function oF(e,t){var n,r,o=S.nodes(e,{at:t,match:function(u){return P.getNodeType(u)==="table"}}),a=!1;try{for(var i=function(u){var l=typeof Symbol=="function"&&Symbol.iterator,c=l&&u[l],f=0;if(c)return c.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),s=i.next();!s.done;s=i.next())s.value,a=!0}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return a}Fs({target:"Array",proto:!0,forced:!dLe},{slice:function(e,t){var n,r,o,a=cv(this),i=b2(a),s=eg(e,i),u=eg(t===void 0?i:t,i);if(xy(a)&&(n=a.constructor,(MA(n)&&(n===SS||xy(n.prototype))||vi(n)&&(n=n[pLe])===null)&&(n=void 0),n===SS||n===void 0))return fLe(a,s,u);for(r=new(n===void 0?SS:n)(hLe(u-s,0)),o=0;s<u;s++,o++)s in a&&TZ(r,o,a[s]);return r.length=o,r}});var iF=st(st.bind),gLe=Co("species"),aF=et.Array,vLe=function(e,t){return new(function(n){var r;return xy(n)&&(r=n.constructor,(MA(r)&&(r===aF||xy(r.prototype))||vi(r)&&(r=r[gLe])===null)&&(r=void 0)),r===void 0?aF:r}(e))(t===0?0:t)},sF=st([].push),L0=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=xA(u),y=vZ(m),g=function(k,C){return bZ(k),C===void 0?k:iF?iF(k,C):function(){return k.apply(C,arguments)}}(l,c),v=b2(y),h=0,b=f||vLe,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:sF(w,d)}else switch(e){case 4:return!1;case 7:sF(w,d)}return a?-1:r||o?o:w}},w2={forEach:L0(0),map:L0(1),filter:L0(2),find:L0(5)},mLe=w2.map;Fs({target:"Array",proto:!0,forced:!zA("map")},{map:function(e){return mLe(this,e,arguments.length>1?arguments[1]:void 0)}});var yLe=NA?{}.toString:function(){return"[object "+BA(this)+"]"};function k2(e){var t=e.children||[];return t.length===0?[]:(t[0]||{}).children||[]}function IZ(e){return k2(e).every(function(t){return!!t.isHeader})}NA||Qh(Object.prototype,"toString",yLe,{unsafe:!0});var bLe=TA.PROPER,l6=RegExp.prototype,NZ=l6.toString,wLe=st(DZ),kLe=Dn(function(){return NZ.call({source:"a",flags:"b"})!="/a/b"}),ELe=bLe&&NZ.name!="toString";(kLe||ELe)&&Qh(RegExp.prototype,"toString",function(){var e=go(this),t=rr(e.source),n=e.flags;return"/"+t+"/"+rr(n===void 0&&mZ(l6,e)&&!("flags"in l6)?wLe(e):n)},{unsafe:!0});var c6=Co("unscopables"),f6=Array.prototype;f6[c6]==null&&dv.f(f6,c6,{configurable:!0,value:PZ(null)});var CLe=w2.find,uF=!0;"find"in[]&&Array(1).find(function(){uF=!1}),Fs({target:"Array",proto:!0,forced:uF},{find:function(e){return CLe(this,e,arguments.length>1?arguments[1]:void 0)}}),f6[c6].find=!0;var UA=Function.prototype,lF=UA.apply,SLe=UA.bind,cF=UA.call,BZ=typeof Reflect=="object"&&Reflect.apply||(SLe?cF.bind(lF):function(){return cF.apply(lF,arguments)}),_Le=Co("species"),_S=RegExp.prototype,FZ=function(e,t,n,r){var o=Co(e),a=!Dn(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!Dn(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[_Le]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=st(/./[o]),u=t(o,""[e],function(l,c,f,d,p){var m=st(l),y=c.exec;return y===tg||y===_S.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Qh(String.prototype,e,u[0]),Qh(_S,o,u[1])}r&&Lf(_S[o],"sham",!0)},OLe=Co("match"),DLe=et.TypeError,ALe=Co("species"),xLe=st("".charAt),fF=st("".charCodeAt),LLe=st("".slice),PLe=function(e){return function(t,n){var r,o,a=rr(Bs(t)),i=y2(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=fF(a,i))<55296||r>56319||i+1===s||(o=fF(a,i+1))<56320||o>57343?e?xLe(a,i):r:e?LLe(a,i,i+2):o-56320+(r-55296<<10)+65536}},$Le=PLe(!0),RZ=function(e,t,n){return t+(n?$Le(e,t).length:1)},jLe=et.Array,TLe=Math.max,dF=function(e,t,n){for(var r=b2(e),o=eg(t,r),a=eg(n===void 0?r:n,r),i=jLe(TLe(a-o,0)),s=0;o<a;o++,s++)TZ(i,s,e[o]);return i.length=s,i},ILe=et.TypeError,d6=function(e,t){var n=e.exec;if(ur(n)){var r=$n(n,e,t);return r!==null&&go(r),r}if(ys(e)==="RegExp")return $n(tg,e,t);throw ILe("RegExp#exec called on incompatible receiver")},bc=AZ.UNSUPPORTED_Y,NLe=Math.min,MZ=[].push,BLe=st(/./.exec),wc=st(MZ),gp=st("".slice);FZ("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,a){var i,s,u=rr(Bs(this)),l=a===void 0?4294967295:a>>>0;if(l===0)return[];if(o===void 0)return[u];if(!vi(i=o)||!((s=i[OLe])!==void 0?s:ys(i)=="RegExp"))return $n(t,u,o,l);for(var c,f,d,p=[],m=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),y=0,g=new RegExp(o.source,m+"g");(c=$n(tg,g,u))&&!((f=g.lastIndex)>y&&(wc(p,gp(u,y,c.index)),c.length>1&&c.index<u.length&&BZ(MZ,p,dF(c,1)),d=c[0].length,y=f,p.length>=l));)g.lastIndex===c.index&&g.lastIndex++;return y===u.length?!d&&BLe(g,"")||wc(p,""):wc(p,gp(u,y)),p.length>l?dF(p,0,l):p}:"0".split(void 0,0).length?function(o,a){return o===void 0&&a===0?[]:$n(t,this,o,a)}:t,[function(o,a){var i=Bs(this),s=o==null?void 0:OA(o,e);return s?$n(s,o,i,a):$n(r,rr(i),o,a)},function(o,a){var i=go(this),s=rr(o),u=n(r,i,s,a,r!==t);if(u.done)return u.value;var l=function(w,k){var C,E=go(w).constructor;return E===void 0||(C=go(E)[ALe])==null?k:function(D){if(MA(D))return D;throw DLe(yZ(D)+" is not a constructor")}(C)}(i,RegExp),c=i.unicode,f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(bc?"g":"y"),d=new l(bc?"^(?:"+i.source+")":i,f),p=a===void 0?4294967295:a>>>0;if(p===0)return[];if(s.length===0)return d6(d,s)===null?[s]:[];for(var m=0,y=0,g=[];y<s.length;){d.lastIndex=bc?0:y;var v,h=d6(d,bc?gp(s,y):s);if(h===null||(v=NLe(IA(d.lastIndex+(bc?y:0)),s.length))===m)y=RZ(s,y,c);else{if(wc(g,gp(s,m,y)),g.length===p)return g;for(var b=1;b<=h.length-1;b++)if(wc(g,h[b]),g.length===p)return g;y=m=v}}return wc(g,gp(s,m)),g}]},!!Dn(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"}),bc);var p6=`
- \v\f\r \u2028\u2029\uFEFF`,pF=st("".replace),Ly="["+p6+"]",FLe=RegExp("^"+Ly+Ly+"*"),RLe=RegExp(Ly+Ly+"*$"),MLe=function(e){return function(t){var n=rr(Bs(t));return 1&e&&(n=pF(n,FLe,"")),2&e&&(n=pF(n,RLe,"")),n}},zLe={trim:MLe(3)},ULe=TA.PROPER,HLe=zLe.trim;function zZ(e){return e.length?e[0].tagName.toLowerCase():""}Fs({target:"String",proto:!0,forced:function(e){return Dn(function(){return!!p6[e]()||"
"[e]()!=="
"||ULe&&p6[e].name!==e})}("trim")},{trim:function(){return HLe(this)}}),Fs({global:!0},{globalThis:et}),yo&&(T.fn.append=yo),Di&&(T.fn.on=Di),Ls&&(T.fn.focus=Ls),mo&&(T.fn.attr=mo),Oi&&(T.fn.val=Oi),xs&&(T.fn.html=xs),hf&&(T.fn.dataset=hf),ff&&(T.fn.addClass=ff),df&&(T.fn.removeClass=df),yf&&(T.fn.children=yf),$1&&(T.fn.each=$1),mf&&(T.fn.find=mf);var ng=!1,UZ=0,HZ=0,rg=null,og=null,ph=T("body");function WZ(e){ng=!1,og=null,rg=null,ph.off("mousemove",VZ),ph.off("mouseup",WZ)}ph.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(),ng=!0;var n=e.clientX;UZ=n;var r=t.getBoundingClientRect().width;HZ=r,ph.on("mousemove",VZ),ph.on("mouseup",WZ)}});var VZ=bl(function(e){if(ng&&og!=null&&rg!=null){e.preventDefault();var t=e.clientX,n=HZ+(t-UZ);(n=Math.floor(100*n)/100)<30&&(n=30),Z.setNodes(og,{width:n.toString()},{at:rg})}},100),WLe={type:"table",renderElem:function(e,t,n){var r=function(s,u){if(s.isDisabled())return!1;var l=s.selection;if(l==null||ee.isCollapsed(l))return!0;var c=l.anchor,f=l.focus,d=P.findPath(s,u),p=S.start(s,d),m=S.end(s,d),y=Je.compare(c,m)<=0&&Je.compare(c,p)>=0,g=Je.compare(f,m)<=0&&Je.compare(f,p)>=0;return!!(y&&g&&V.equals(c.path.slice(0,3),f.path.slice(0,3)))}(n,e),o=e.width,a=o===void 0?"auto":o,i=ze("div",{className:"table-container","data-selected":P.isNodeSelected(n,e),on:{mousedown:function(s){if(s.target.tagName==="DIV"&&s.preventDefault(),!n.isDisabled()){var u=P.findPath(n,e),l=S.start(n,u),c=n.selection;c!=null?c.anchor.path[0]!==u[0]&&n.select(l):n.select(l)}}}},ze("table",{width:a,contentEditable:r},ze("colgroup",null,k2(e).map(function(s){var u=s.width;return ze("col",{width:u===void 0?"auto":u})})),ze("tbody",null,t)));return i}},VLe={type:"table-row",renderElem:function(e,t,n){return ze("tr",null,t)}},qLe={type:"table-cell",renderElem:function(e,t,n){var r=function(d,p){var m=P.getParentNode(d,p);if(m==null)return!1;var y=P.getParentNode(d,m);return y!=null&&k2(y).some(function(g){return g===p})}(n,e),o=e,a=o.colSpan,i=a===void 0?1:a,s=o.rowSpan,u=s===void 0?1:s,l=o.isHeader,c=l!==void 0&&l;if(!r)return ze("td",{colSpan:i,rowSpan:u},t);var f=ze(c?"th":"td",{colSpan:i,rowSpan:u,style:{borderRightWidth:"3px"},on:{mousemove:bl(function(d){var p=this.elm;if(p!=null){var m=p.getBoundingClientRect(),y=m.left,g=m.width,v=m.top,h=m.height,b=d.clientX,w=d.clientY;ng||(b>y+g-5&&b<y+g&&w>v&&w<v+h?(p.style.cursor="col-resize",og=n,rg=P.findPath(n,e)):ng||(p.style.cursor="auto",og=null,rg=null))}},100)}},t);return f}},GLe={selector:"table",preParseHtml:function(e){var t=T(e);if(zZ(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]}},ZLe=w2.filter;Fs({target:"Array",proto:!0,forced:!zA("filter")},{filter:function(e){return ZLe(this,e,arguments.length>1?arguments[1]:void 0)}});var YLe=Math.floor,OS=st("".charAt),JLe=st("".replace),DS=st("".slice),KLe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,XLe=/\$([$&'`]|\d{1,2})/g,QLe=function(e,t,n,r,o,a){var i=n+e.length,s=r.length,u=XLe;return o!==void 0&&(o=xA(o),u=KLe),JLe(a,u,function(l,c){var f;switch(OS(c,0)){case"$":return"$";case"&":return e;case"`":return DS(t,0,n);case"'":return DS(t,i);case"<":f=o[DS(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>s){var p=YLe(d/10);return p===0?l:p<=s?r[p-1]===void 0?OS(c,1):r[p-1]+OS(c,1):l}f=r[d-1]}return f===void 0?"":f})},h6=Co("replace"),ePe=Math.max,tPe=Math.min,nPe=st([].concat),AS=st([].push),hF=st("".indexOf),gF=st("".slice),rPe="a".replace(/./,"$0")==="$0",vF=!!/./[h6]&&/./[h6]("a","$0")==="";FZ("replace",function(e,t,n){var r=vF?"$":"$0";return[function(o,a){var i=Bs(this),s=o==null?void 0:OA(o,h6);return s?$n(s,o,i,a):$n(t,rr(i),o,a)},function(o,a){var i=go(this),s=rr(o);if(typeof a=="string"&&hF(a,r)===-1&&hF(a,"$<")===-1){var u=n(t,i,s,a);if(u.done)return u.value}var l=ur(a);l||(a=rr(a));var c=i.global;if(c){var f=i.unicode;i.lastIndex=0}for(var d=[];;){var p=d6(i,s);if(p===null||(AS(d,p),!c))break;rr(p[0])===""&&(i.lastIndex=RZ(s,IA(i.lastIndex),f))}for(var m,y="",g=0,v=0;v<d.length;v++){for(var h=rr((p=d[v])[0]),b=ePe(tPe(y2(p.index),s.length),0),w=[],k=1;k<p.length;k++)AS(w,(m=p[k])===void 0?m:String(m));var C=p.groups;if(l){var E=nPe([h],w,b,s);C!==void 0&&AS(E,C);var D=rr(BZ(a,void 0,E))}else D=QLe(h,s,b,w,C,a);b>=g&&(y+=gF(s,g,b)+D,g=b+h.length)}return y+gF(s,g)}]},!!Dn(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!rPe||vF);var oPe={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=T(e);(t=t.filter(function(s){return!!Oe.isText(s)||!!n.isInline(s)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),a=parseInt(r.attr("rowSpan")||"1"),i=r.attr("width")||"auto";return{type:"table-cell",isHeader:zZ(r)==="th",colSpan:o,rowSpan:a,width:i,children:t}}},iPe={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(r){return P.getNodeType(r)==="table-cell"})}}},aPe={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=T(e),o="auto";return function(a,i){for(var s="",u=(a.attr("style")||"").split(";"),l=u.length,c=0;c<l;c++){var f=u[c];if(f){var d=f.split(":");d[0].trim()==="width"&&(s=d[1].trim())}}return s}(r)==="100%"&&(o="100%"),r.attr("width")==="100%"&&(o="100%"),{type:"table",width:o,children:t.filter(function(a){return P.getNodeType(a)==="table-row"})}}},sPe=function(){function e(){this.title=ke("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||!ee.isCollapsed(n)||!!P.getSelectedElems(t).some(function(r){var o=P.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=T('<div class="w-e-panel-content-table"></div>'),o=T("<span>0 × 0</span>"),a=T("<table></table>"),i=0;i<10;i++){for(var s=T("<tr></tr>"),u=0;u<10;u++){var l=T("<td></td>");l.attr("data-x",u.toString()),l.attr("data-y",i.toString()),s.append(l),l.on("mouseenter",function(c){var f=c.target;if(f!=null){var d=T(f).dataset(),p=d.x,m=d.y;o[0].innerHTML=p+1+" × "+(m+1),a.children().each(function(y){T(y).children().each(function(g){var v=T(g),h=v.dataset(),b=h.x,w=h.y;b<=p&&w<=m?v.addClass("active"):v.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var d=T(f).dataset(),p=d.x,m=d.y;n.insertTable(t,m+1,p+1)}})}a.append(s)}return r.append(a),r.append(o),this.$content=r,r[0]},e.prototype.insertTable=function(t,n,r){var o=parseInt(n,10),a=parseInt(r,10);if(o&&a&&!(o<=0||a<=0)){P.isSelectedEmptyParagraph(t)&&Z.removeNodes(t,{mode:"highest"});var i=function(s,u){for(var l=[],c=0;c<s;c++){for(var f=[],d=0;d<u;d++){var p={type:"table-cell",children:[{text:""}]};c===0&&(p.isHeader=!0),f.push(p)}l.push({type:"table-row",children:f})}return{type:"table",width:"auto",children:l}}(o,a);Z.insertNodes(t,i,{mode:"highest"})}},e}(),uPe=function(){function e(){this.title=ke("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||P.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Z.removeNodes(t,{mode:"highest"})},e}(),lPe=function(){function e(){this.title=ke("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||!ee.isCollapsed(n)||P.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=qo(S.nodes(t,{match:function(p){return P.checkNodeType(p,"table-cell")},universal:!0}),1),o=qo(r[0],2),a=o[0],i=o[1],s=P.getParentNode(t,a),u=(s==null?void 0:s.children.length)||0;if(u!==0){for(var l={type:"table-row",children:[]},c=0;c<u;c++)l.children.push({type:"table-cell",children:[{text:""}]});var f=V.parent(i),d=V.next(f);Z.insertNodes(t,l,{at:d})}}},e}(),cPe=function(){function e(){this.title=ke("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||!ee.isCollapsed(n)||P.getSelectedNodeByType(t,"table-row")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=qo(S.nodes(t,{match:function(u){return P.checkNodeType(u,"table-row")},universal:!0}),1),o=qo(r[0],2),a=o[0],i=o[1],s=P.getParentNode(t,a);((s==null?void 0:s.children.length)||0)<=1?Z.removeNodes(t,{mode:"highest"}):Z.removeNodes(t,{at:i})}},e}(),mF={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},xS=PA("span").classList,yF=xS&&xS.constructor&&xS.constructor.prototype,fPe=yF===Object.prototype?void 0:yF,dPe=w2.forEach,pPe=function(e,t){var n=[].forEach;return!!n&&Dn(function(){n.call(null,function(){throw 1},1)})}(),LS=pPe?[].forEach:function(e){return dPe(this,e,arguments.length>1?arguments[1]:void 0)},qZ=function(e){if(e&&e.forEach!==LS)try{Lf(e,"forEach",LS)}catch{e.forEach=LS}};for(var PS in mF)mF[PS]&&qZ(et[PS]&&et[PS].prototype);qZ(fPe);var hPe=function(){function e(){this.title=ke("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||!ee.isCollapsed(n)||P.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=qo(S.nodes(t,{match:function(l){return P.checkNodeType(l,"table-cell")},universal:!0}),1),o=qo(r[0],2),a=o[0],i=o[1],s=P.getParentNode(t,a);if(s!=null){var u=P.getParentNode(t,s);u!=null&&(u.children||[]).forEach(function(l,c){$e.isElement(l)&&(l.children||[]).forEach(function(f){var d=P.findPath(t,f);if(d.length===i.length&&pZ(d.slice(-1),i.slice(-1))){var p={type:"table-cell",children:[{text:""}]};c===0&&IZ(u)&&(p.isHeader=!0),Z.insertNodes(t,p,{at:d})}})})}}},e}(),gPe=function(){function e(){this.title=ke("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||!ee.isCollapsed(n)||P.getSelectedNodeByType(t,"table-cell")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=qo(S.nodes(t,{match:function(c){return P.checkNodeType(c,"table-cell")},universal:!0}),1),o=qo(r[0],2),a=o[0],i=o[1],s=P.getParentNode(t,a),u=(s==null?void 0:s.children.length)||0;if(!s||u<=1)Z.removeNodes(t,{mode:"highest"});else{var l=P.getParentNode(t,s);l!=null&&(l.children||[]).forEach(function(c){$e.isElement(c)&&(c.children||[]).forEach(function(f){var d=P.findPath(t,f);d.length===i.length&&pZ(d.slice(-1),i.slice(-1))&&Z.removeNodes(t,{at:d})})})}}},e}(),vPe=function(){function e(){this.title=ke("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=P.getSelectedNodeByType(t,"table");return n!=null&&IZ(n)},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!ee.isCollapsed(n)||P.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=!n,o=P.getSelectedNodeByType(t,"table");o!=null&&k2(o).forEach(function(a){return Z.setNodes(t,{isHeader:r},{at:P.findPath(t,a)})})}},e}(),mPe=function(){function e(){this.title=ke("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=P.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||!ee.isCollapsed(n)||P.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r={width:n?"auto":"100%"};Z.setNodes(t,r,{mode:"highest"})}},e}(),yPe={renderElems:[WLe,VLe,qLe],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(n===void 0?"auto":n)+';"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,o=r===void 0?1:r,a=n.rowSpan,i=a===void 0?1:a,s=n.isHeader,u=s!==void 0&&s,l=n.width,c=u?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+i+'" width="'+(l===void 0?"auto":l)+'">'+t+"</"+c+">"}}],preParseHtml:[GLe],parseElemsHtml:[oPe,iPe,aPe],menus:[{key:"insertTable",factory:function(){return new sPe}},{key:"deleteTable",factory:function(){return new uPe}},{key:"insertTableRow",factory:function(){return new lPe}},{key:"deleteTableRow",factory:function(){return new cPe}},{key:"insertTableCol",factory:function(){return new hPe}},{key:"deleteTableCol",factory:function(){return new gPe}},{key:"tableHeader",factory:function(){return new vPe}},{key:"tableFullWidth",factory:function(){return new mPe}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,a=e.insertData,i=e.handleTab,s=e.selectAll,u=e;return u.insertBreak=function(){P.getSelectedNodeByType(u,"table")==null?t():u.insertText(`
- `)},u.deleteBackward=function(l){if(!rF(u)){var c=u.selection;if(c){var f=S.before(u,c);if(f){var d=oF(u,f),p=oF(u,c);if(d&&!p)return}}n(l)}},u.handleTab=function(){var l;if(P.getSelectedNodeByType(u,"table")){var c=S.above(e);P.checkNodeType(c[0],"table-cell")&&Z.select(e,c[1]);var f=S.next(e);if(f)f[0]&&f[0].text&&(f=(l=S.above(e,{at:f[1]}))!==null&&l!==void 0?l:f),Z.select(e,f[1]);else{var d=u.children||[],p=d.length;if(P.checkNodeType(d[p-1],"table")){var m=P.genEmptyParagraph();Z.insertNodes(u,m,{at:[p]}),u.handleTab()}}}else i()},u.deleteForward=function(l){rF(u)||r(l)},u.normalizeNode=function(l){var c=qo(l,2),f=c[0],d=c[1];if(P.getNodeType(f)!=="table")return o([f,d]);if(P.isLastNode(u,f)){var p=P.genEmptyParagraph();Z.insertNodes(u,p,{at:[d[0]+1]})}},u.insertData=function(l){if(P.getSelectedNodeByType(u,"table")!=null){var c=l.getData("text/plain");c===`
- `||/<img[^>]+>/.test(l.getData("text/html"))?a(l):S.insertText(u,c)}else a(l)},u.selectAll=function(){var l=u.selection;if(l!=null){var c=P.getSelectedNodeByType(u,"table-cell");if(c!=null){var f=l.anchor,d=l.focus;if(V.equals(f.path.slice(0,3),d.path.slice(0,3)))if(we.string(c).length!==0){var p=P.findPath(u,c),m={anchor:S.start(u,p),focus:S.end(u,p)};u.select(m)}else s();else s()}else s()}else s()},u}};$r("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),$r("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",width:"宽度",height:"高度"}});/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var Py=function(){return Py=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},Py.apply(this,arguments)};function E2(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(l){try{u(r.next(l))}catch(c){a(c)}}function s(l){try{u(r.throw(l))}catch(c){a(c)}}function u(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(i,s)}u((r=r.apply(e,[])).next())})}function C2(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function rl(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,a=n.call(e),i=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return i}function bPe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(o){var a=typeof Symbol=="function"&&Symbol.iterator,i=a&&o[a],s=0;if(i)return i.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&s>=o.length&&(o=void 0),{value:o&&o[s++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(a){return new Promise(function(i,s){(function(u,l,c,f){Promise.resolve(f).then(function(d){u({value:d,done:c})},l)})(i,s,(a=e[o](a)).done,a.value)})}}}var bF=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function HA(e){var t={exports:{}};return e(t,t.exports),t.exports}var za,xm,P0=function(e){return e&&e.Math==Math&&e},Se=P0(typeof globalThis=="object"&&globalThis)||P0(typeof window=="object"&&window)||P0(typeof self=="object"&&self)||P0(typeof bF=="object"&&bF)||function(){return this}()||Function("return this")(),Rt=function(e){try{return!!e()}catch{return!0}},xi=!Rt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),vp=Function.prototype.call,Ft=vp.bind?vp.bind(vp):function(){return vp.apply(vp,arguments)},wF={}.propertyIsEnumerable,kF=Object.getOwnPropertyDescriptor,wPe={f:kF&&!wF.call({1:2},1)?function(e){var t=kF(this,e);return!!t&&t.enumerable}:wF},S2=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},GZ=Function.prototype,g6=GZ.bind,v6=GZ.call,kPe=g6&&g6.bind(v6),We=g6?function(e){return e&&kPe(v6,e)}:function(e){return e&&function(){return v6.apply(e,arguments)}},EPe=We({}.toString),CPe=We("".slice),Ei=function(e){return CPe(EPe(e),8,-1)},$S=Se.Object,SPe=We("".split),WA=Rt(function(){return!$S("z").propertyIsEnumerable(0)})?function(e){return Ei(e)=="String"?SPe(e,""):$S(e)}:$S,_Pe=Se.TypeError,hv=function(e){if(e==null)throw _Pe("Can't call method on "+e);return e},Gs=function(e){return WA(hv(e))},Pt=function(e){return typeof e=="function"},Gt=function(e){return typeof e=="object"?e!==null:Pt(e)},OPe=function(e){return Pt(e)?e:void 0},xl=function(e,t){return arguments.length<2?OPe(Se[e]):Se[e]&&Se[e][t]},ig=We({}.isPrototypeOf),ef=xl("navigator","userAgent")||"",EF=Se.process,CF=Se.Deno,SF=EF&&EF.versions||CF&&CF.version,_F=SF&&SF.v8;_F&&(xm=(za=_F.split("."))[0]>0&&za[0]<4?1:+(za[0]+za[1])),!xm&&ef&&(!(za=ef.match(/Edge\/(\d+)/))||za[1]>=74)&&(za=ef.match(/Chrome\/(\d+)/))&&(xm=+za[1]);var ag=xm,m6=!!Object.getOwnPropertySymbols&&!Rt(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ag&&ag<41}),VA=m6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",DPe=Se.Object,jS=VA?function(e){return typeof e=="symbol"}:function(e){var t=xl("Symbol");return Pt(t)&&ig(t.prototype,DPe(e))},APe=Se.String,$y=function(e){try{return APe(e)}catch{return"Object"}},xPe=Se.TypeError,Rs=function(e){if(Pt(e))return e;throw xPe($y(e)+" is not a function")},sg=function(e,t){var n=e[t];return n==null?void 0:Rs(n)},LPe=Se.TypeError,PPe=Object.defineProperty,qA=function(e,t){try{PPe(Se,e,{value:t,configurable:!0,writable:!0})}catch{Se[e]=t}return t},ws=Se["__core-js_shared__"]||qA("__core-js_shared__",{}),GA=HA(function(e){(e.exports=function(t,n){return ws[t]||(ws[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),$Pe=Se.Object,_2=function(e){return $Pe(hv(e))},jPe=We({}.hasOwnProperty),_n=Object.hasOwn||function(e,t){return jPe(_2(e),t)},TPe=0,IPe=Math.random(),NPe=We(1 .toString),ZA=function(e){return"Symbol("+(e===void 0?"":e)+")_"+NPe(++TPe+IPe,36)},mp=GA("wks"),ol=Se.Symbol,OF=ol&&ol.for,BPe=VA?ol:ol&&ol.withoutSetter||ZA,mn=function(e){if(!_n(mp,e)||!m6&&typeof mp[e]!="string"){var t="Symbol."+e;m6&&_n(ol,e)?mp[e]=ol[e]:mp[e]=VA&&OF?OF(t):BPe(t)}return mp[e]},FPe=Se.TypeError,RPe=mn("toPrimitive"),YA=function(e){var t=function(n,r){if(!Gt(n)||jS(n))return n;var o,a=sg(n,RPe);if(a){if(o=Ft(a,n,r),!Gt(o)||jS(o))return o;throw FPe("Can't convert object to primitive value")}return function(i,s){var u,l;if(Pt(u=i.toString)&&!Gt(l=Ft(u,i))||Pt(u=i.valueOf)&&!Gt(l=Ft(u,i)))return l;throw LPe("Can't convert object to primitive value")}(n)}(e,"string");return jS(t)?t:t+""},y6=Se.document,MPe=Gt(y6)&&Gt(y6.createElement),ug=function(e){return MPe?y6.createElement(e):{}},ZZ=!xi&&!Rt(function(){return Object.defineProperty(ug("div"),"a",{get:function(){return 7}}).a!=7}),DF=Object.getOwnPropertyDescriptor,JA={f:xi?DF:function(e,t){if(e=Gs(e),t=YA(t),ZZ)try{return DF(e,t)}catch{}if(_n(e,t))return S2(!Ft(wPe.f,e,t),e[t])}},zPe=Se.String,UPe=Se.TypeError,Vn=function(e){if(Gt(e))return e;throw UPe(zPe(e)+" is not an object")},HPe=Se.TypeError,AF=Object.defineProperty,ba={f:xi?AF:function(e,t,n){if(Vn(e),t=YA(t),Vn(n),ZZ)try{return AF(e,t,n)}catch{}if("get"in n||"set"in n)throw HPe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ks=xi?function(e,t,n){return ba.f(e,t,S2(1,n))}:function(e,t,n){return e[t]=n,e},WPe=We(Function.toString);Pt(ws.inspectSource)||(ws.inspectSource=function(e){return WPe(e)});var jy,hh,Ty,O2=ws.inspectSource,xF=Se.WeakMap,YZ=Pt(xF)&&/native code/.test(O2(xF)),LF=GA("keys"),KA=function(e){return LF[e]||(LF[e]=ZA(e))},D2={},b6=Se.TypeError,VPe=Se.WeakMap;if(YZ||ws.state){var du=ws.state||(ws.state=new VPe),qPe=We(du.get),PF=We(du.has),GPe=We(du.set);jy=function(e,t){if(PF(du,e))throw new b6("Object already initialized");return t.facade=e,GPe(du,e,t),t},hh=function(e){return qPe(du,e)||{}},Ty=function(e){return PF(du,e)}}else{var kc=KA("state");D2[kc]=!0,jy=function(e,t){if(_n(e,kc))throw new b6("Object already initialized");return t.facade=e,ks(e,kc,t),t},hh=function(e){return _n(e,kc)?e[kc]:{}},Ty=function(e){return _n(e,kc)}}var Yr={set:jy,get:hh,has:Ty,enforce:function(e){return Ty(e)?hh(e):jy(e,{})},getterFor:function(e){return function(t){var n;if(!Gt(t)||(n=hh(t)).type!==e)throw b6("Incompatible receiver, "+e+" required");return n}}},JZ=Function.prototype,ZPe=xi&&Object.getOwnPropertyDescriptor,TS=_n(JZ,"name"),ud={EXISTS:TS,PROPER:TS&&(function(){}).name==="something",CONFIGURABLE:TS&&(!xi||xi&&ZPe(JZ,"name").configurable)},ko=HA(function(e){var t=ud.CONFIGURABLE,n=Yr.get,r=Yr.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;Pt(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!_n(s,"name")||t&&s.name!==p)&&ks(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==Se?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:ks(a,i,s)):f?a[i]=s:qA(i,s)})(Function.prototype,"toString",function(){return Pt(this)&&n(this).source||O2(this)})}),YPe=Math.ceil,JPe=Math.floor,A2=function(e){var t=+e;return t!=t||t===0?0:(t>0?JPe:YPe)(t)},KPe=Math.max,XPe=Math.min,lg=function(e,t){var n=A2(e);return n<0?KPe(n+t,0):XPe(n,t)},QPe=Math.min,KZ=function(e){return e>0?QPe(A2(e),9007199254740991):0},gv=function(e){return KZ(e.length)},$F=function(e){return function(t,n,r){var o,a=Gs(t),i=gv(a),s=lg(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},XZ={includes:$F(!0),indexOf:$F(!1)},e$e=XZ.indexOf,jF=We([].push),QZ=function(e,t){var n,r=Gs(e),o=0,a=[];for(n in r)!_n(D2,n)&&_n(r,n)&&jF(a,n);for(;t.length>o;)_n(r,n=t[o++])&&(~e$e(a,n)||jF(a,n));return a},Iy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],t$e=Iy.concat("length","prototype"),Ny={f:Object.getOwnPropertyNames||function(e){return QZ(e,t$e)}},n$e={f:Object.getOwnPropertySymbols},r$e=We([].concat),o$e=xl("Reflect","ownKeys")||function(e){var t=Ny.f(Vn(e)),n=n$e.f;return n?r$e(t,n(e)):t},i$e=function(e,t){for(var n=o$e(t),r=ba.f,o=JA.f,a=0;a<n.length;a++){var i=n[a];_n(e,i)||r(e,i,o(t,i))}},a$e=/#|\.prototype\./,vv=function(e,t){var n=u$e[s$e(e)];return n==c$e||n!=l$e&&(Pt(t)?Rt(t):!!t)},s$e=vv.normalize=function(e){return String(e).replace(a$e,".").toLowerCase()},u$e=vv.data={},l$e=vv.NATIVE="N",c$e=vv.POLYFILL="P",By=vv,f$e=JA.f,_r=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?Se:l?Se[s]||qA(s,{}):(Se[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=f$e(n,r))&&i.value:n[r],!By(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;i$e(a,o)}(e.sham||o&&o.sham)&&ks(a,"sham",!0),ko(n,r,a,e)}},eY={};eY[mn("toStringTag")]="z";var XA=String(eY)==="[object z]",d$e=mn("toStringTag"),p$e=Se.Object,h$e=Ei(function(){return arguments}())=="Arguments",x2=XA?Ei:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=p$e(e),d$e))=="string"?n:h$e?Ei(t):(r=Ei(t))=="Object"&&Pt(t.callee)?"Arguments":r},g$e=Se.String,ao=function(e){if(x2(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return g$e(e)},w6=`
- \v\f\r \u2028\u2029\uFEFF`,TF=We("".replace),Fy="["+w6+"]",v$e=RegExp("^"+Fy+Fy+"*"),m$e=RegExp(Fy+Fy+"*$"),y$e=function(e){return function(t){var n=ao(hv(t));return 1&e&&(n=TF(n,v$e,"")),2&e&&(n=TF(n,m$e,"")),n}},b$e={trim:y$e(3)},w$e=ud.PROPER,k$e=b$e.trim;function IF(e){return e.length?e[0].tagName.toLowerCase():""}function tY(e,t,n){t===void 0&&(t="auto"),n===void 0&&(n="auto");var r=T(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML}_r({target:"String",proto:!0,forced:Rt(function(){return!!w6.trim()||"
".trim()!=="
"||w$e&&w6.trim.name!=="trim"})},{trim:function(){return k$e(this)}}),_r({global:!0},{globalThis:Se}),yo&&(T.fn.append=yo),Di&&(T.fn.on=Di),Ls&&(T.fn.focus=Ls),mo&&(T.fn.attr=mo),Oi&&(T.fn.val=Oi),xs&&(T.fn.html=xs),vf&&(T.fn.parent=vf),pf&&(T.fn.hasClass=pf),wf&&(T.fn.empty=wf);var $0,E$e={type:"video",renderElem:function(e,t,n){var r,o=e,a=o.src,i=a===void 0?"":a,s=o.poster,u=s===void 0?"":s,l=o.width,c=l===void 0?"auto":l,f=o.height,d=f===void 0?"auto":f,p=P.isNodeSelected(n,e);if(i.trim().indexOf("<iframe ")===0)r=ze("div",{className:"w-e-textarea-video-container","data-selected":p?"true":"",innerHTML:tY(i,c,d)});else{var m=ze("video",{poster:u,controls:!0},ze("source",{src:i,type:"video/mp4"}),`Sorry, your browser doesn't support embedded videos.
- 抱歉,浏览器不支持 video 视频`);c!=="auto"&&(m.data.width=c),d!=="auto"&&(m.data.height=d),r=ze("div",{className:"w-e-textarea-video-container","data-selected":p?"true":""},m)}return kf("div",{props:{contentEditable:!1},on:{mousedown:function(y){return y.preventDefault()}}},r)}},C$e={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,o=r===void 0?"":r,a=n.poster,i=a===void 0?"":a,s=n.width,u=s===void 0?"auto":s,l=n.height,c=l===void 0?"auto":l,f=`<div data-w-e-type="video" data-w-e-is-void>
- `;return o.trim().indexOf("<iframe ")===0?f+=tY(o,u,c):f+='<video poster="'+i+'" controls="true" width="'+u+'" height="'+c+'"><source src="'+o+'" type="video/mp4"/></video>',f+`
- </div>`}},S$e=Object.keys||function(e){return QZ(e,Iy)},_$e=xi?Object.defineProperties:function(e,t){Vn(e);for(var n,r=Gs(t),o=S$e(t),a=o.length,i=0;a>i;)ba.f(e,n=o[i++],r[n]);return e},k6=xl("document","documentElement"),nY=KA("IE_PROTO"),IS=function(){},rY=function(e){return"<script>"+e+"<\/script>"},NF=function(e){e.write(rY("")),e.close();var t=e.parentWindow.Object;return e=null,t},Lm=function(){try{$0=new ActiveXObject("htmlfile")}catch{}var e,t;Lm=typeof document<"u"?document.domain&&$0?NF($0):((t=ug("iframe")).style.display="none",k6.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(rY("document.F=Object")),e.close(),e.F):NF($0);for(var n=Iy.length;n--;)delete Lm.prototype[Iy[n]];return Lm()};D2[nY]=!0;var QA=Object.create||function(e,t){var n;return e!==null?(IS.prototype=Vn(e),n=new IS,IS.prototype=null,n[nY]=e):n=Lm(),t===void 0?n:_$e(n,t)},E6=mn("unscopables"),C6=Array.prototype;C6[E6]==null&&ba.f(C6,E6,{configurable:!0,value:QA(null)});var gh=function(e){C6[E6][e]=!0},O$e=XZ.includes;_r({target:"Array",proto:!0},{includes:function(e){return O$e(this,e,arguments.length>1?arguments[1]:void 0)}}),gh("includes");var D$e={selector:"iframe,video,p",preParseHtml:function(e){var t=T(e),n=t;if(IF(t)==="p"){var r=t.children();if(r.length===1){var o=r[0],a=o.tagName.toLowerCase();["iframe","video"].includes(a)&&(n=T(o))}}var i=IF(n);if(i!=="iframe"&&i!=="video"||n.parent().attr("data-w-e-type")==="video")return n[0];var s=T('<div data-w-e-type="video" data-w-e-is-void></div>');return s.append(n),s[0]}},BF=We(We.bind),cg=function(e,t){return Rs(e),t===void 0?e:BF?BF(e,t):function(){return e.apply(t,arguments)}},Ry=Array.isArray||function(e){return Ei(e)=="Array"},oY=function(){},A$e=[],iY=xl("Reflect","construct"),ex=/^\s*(?:class|function)\b/,x$e=We(ex.exec),L$e=!ex.exec(oY),yp=function(e){if(!Pt(e))return!1;try{return iY(oY,A$e,e),!0}catch{return!1}},tx=!iY||Rt(function(){var e;return yp(yp.call)||!yp(Object)||!yp(function(){e=!0})||e})?function(e){if(!Pt(e))return!1;switch(x2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return L$e||!!x$e(ex,O2(e))}:yp,P$e=mn("species"),FF=Se.Array,$$e=function(e,t){return new(function(n){var r;return Ry(n)&&(r=n.constructor,(tx(r)&&(r===FF||Ry(r.prototype))||Gt(r)&&(r=r[P$e])===null)&&(r=void 0)),r===void 0?FF:r}(e))(t===0?0:t)},RF=We([].push),MF=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=_2(u),y=WA(m),g=cg(l,c),v=gv(y),h=0,b=f||$$e,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:RF(w,d)}else switch(e){case 4:return!1;case 7:RF(w,d)}return a?-1:r||o?o:w}},nx={find:MF(5),findIndex:MF(6)},j$e=nx.find,zF=!0;"find"in[]&&Array(1).find(function(){zF=!1}),_r({target:"Array",proto:!0,forced:zF},{find:function(e){return j$e(this,e,arguments.length>1?arguments[1]:void 0)}}),gh("find");var T$e=XA?{}.toString:function(){return"[object "+x2(this)+"]"};function UF(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:""}]}}XA||ko(Object.prototype,"toString",T$e,{unsafe:!0});var HF,NS,I$e={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=T(e),o="",a="",i="auto",s="auto",u=r.find("iframe");if(u.length>0)return i=u.attr("width")||"auto",s=u.attr("height")||"auto",UF(o=u[0].outerHTML,a,i,s);var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),i=l.attr("width")||"auto",s=l.attr("height")||"auto",UF(o,a=l.attr("poster")||"",i,s)}},aY=function(){var e=Vn(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},rx=Se.RegExp,sY=Rt(function(){var e=rx("a","y");return e.lastIndex=2,e.exec("abcd")!=null});sY||Rt(function(){return!rx("a","y").sticky});var N$e={BROKEN_CARET:sY||Rt(function(){var e=rx("^r","gy");return e.lastIndex=2,e.exec("str")!=null})},B$e=Se.RegExp,F$e=Rt(function(){var e=B$e(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),R$e=Se.RegExp,M$e=Rt(function(){var e=R$e("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),z$e=Yr.get,U$e=GA("native-string-replace",String.prototype.replace),My=RegExp.prototype.exec,S6=My,H$e=We("".charAt),W$e=We("".indexOf),V$e=We("".replace),BS=We("".slice),FS=(NS=/b*/g,Ft(My,HF=/a/,"a"),Ft(My,NS,"a"),HF.lastIndex!==0||NS.lastIndex!==0),WF=N$e.BROKEN_CARET,RS=/()??/.exec("")[1]!==void 0;(FS||RS||WF||F$e||M$e)&&(S6=function(e){var t,n,r,o,a,i,s,u=this,l=z$e(u),c=ao(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=Ft(S6,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=WF&&u.sticky,m=Ft(aY,u),y=u.source,g=0,v=c;if(p&&(m=V$e(m,"y",""),W$e(m,"g")===-1&&(m+="g"),v=BS(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&H$e(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),RS&&(n=new RegExp("^"+y+"$(?!\\s)",m)),FS&&(r=u.lastIndex),o=Ft(My,p?n:u,v),p?o?(o.input=BS(o.input,g),o[0]=BS(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:FS&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),RS&&o&&o.length>1&&Ft(U$e,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=QA(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var zy=S6;_r({target:"RegExp",proto:!0,forced:/./.exec!==zy},{exec:zy});var ox=Function.prototype,VF=ox.apply,q$e=ox.bind,qF=ox.call,uY=typeof Reflect=="object"&&Reflect.apply||(q$e?qF.bind(VF):function(){return qF.apply(VF,arguments)}),GF=(mn("species"),RegExp.prototype),G$e=We("".charAt),ZF=We("".charCodeAt),Z$e=We("".slice),Y$e=function(e){return function(t,n){var r,o,a=ao(hv(t)),i=A2(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=ZF(a,i))<55296||r>56319||i+1===s||(o=ZF(a,i+1))<56320||o>57343?e?G$e(a,i):r:e?Z$e(a,i,i+2):o-56320+(r-55296<<10)+65536}},lY={charAt:Y$e(!0)},J$e=lY.charAt,K$e=function(e,t,n){return t+(n?J$e(e,t).length:1)},X$e=Math.floor,MS=We("".charAt),Q$e=We("".replace),zS=We("".slice),eje=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tje=/\$([$&'`]|\d{1,2})/g,nje=function(e,t,n,r,o,a){var i=n+e.length,s=r.length,u=tje;return o!==void 0&&(o=_2(o),u=eje),Q$e(a,u,function(l,c){var f;switch(MS(c,0)){case"$":return"$";case"&":return e;case"`":return zS(t,0,n);case"'":return zS(t,i);case"<":f=o[zS(c,1,-1)];break;default:var d=+c;if(d===0)return l;if(d>s){var p=X$e(d/10);return p===0?l:p<=s?r[p-1]===void 0?MS(c,1):r[p-1]+MS(c,1):l}f=r[d-1]}return f===void 0?"":f})},rje=Se.TypeError,oje=function(e,t){var n=e.exec;if(Pt(n)){var r=Ft(n,e,t);return r!==null&&Vn(r),r}if(Ei(e)==="RegExp")return Ft(zy,e,t);throw rje("RegExp#exec called on incompatible receiver")},_6=mn("replace"),ije=Math.max,aje=Math.min,sje=We([].concat),US=We([].push),YF=We("".indexOf),JF=We("".slice),uje="a".replace(/./,"$0")==="$0",KF=!!/./[_6]&&/./[_6]("a","$0")==="";function cY(e){return e+"-"+wW()}(function(e,t,n,r){var o=mn(e),a=!Rt(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!Rt(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=We(/./[o]),u=function(l,c,f){var d=KF?"$":"$0";return[function(p,m){var y=hv(this),g=p==null?void 0:sg(p,_6);return g?Ft(g,p,y,m):Ft(c,ao(y),p,m)},function(p,m){var y=Vn(this),g=ao(p);if(typeof m=="string"&&YF(m,d)===-1&&YF(m,"$<")===-1){var v=f(c,y,g,m);if(v.done)return v.value}var h=Pt(m);h||(m=ao(m));var b=y.global;if(b){var w=y.unicode;y.lastIndex=0}for(var k=[];;){var C=oje(y,g);if(C===null||(US(k,C),!b))break;ao(C[0])===""&&(y.lastIndex=K$e(g,KZ(y.lastIndex),w))}for(var E,D="",A=0,B=0;B<k.length;B++){for(var q=ao((C=k[B])[0]),R=ije(aje(A2(C.index),g.length),0),ie=[],K=1;K<C.length;K++)US(ie,(E=C[K])===void 0?E:String(E));var te=C.groups;if(h){var F=sje([q],ie,R,g);te!==void 0&&US(F,te);var U=ao(uY(m,void 0,F))}else U=nje(q,g,R,ie,te,m);R>=A&&(D+=JF(g,A,R)+U,A=R+q.length)}return D+JF(g,A)}]}(0,""[e],function(l,c,f,d,p){var m=We(l),y=c.exec;return y===zy||y===GF.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});ko(String.prototype,e,u[0]),ko(GF,o,u[1])}})("replace",0,!!Rt(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!uje||KF);var Uy=Se.Promise,Hy=function(e,t,n){for(var r in t)ko(e,r,t[r],n);return e},lje=Se.String,cje=Se.TypeError,Pf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=We(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return Vn(r),function(a){if(typeof a=="object"||Pt(a))return a;throw cje("Can't set "+lje(a)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),fje=ba.f,XF=mn("toStringTag"),Wy=function(e,t,n){e&&!_n(e=n?e:e.prototype,XF)&&fje(e,XF,{configurable:!0,value:t})},QF=mn("species"),dje=Se.TypeError,ix=function(e,t){if(ig(t,e))return e;throw dje("Incorrect invocation")},$f={},pje=mn("iterator"),hje=Array.prototype,gje=mn("iterator"),eR=function(e){if(e!=null)return sg(e,gje)||sg(e,"@@iterator")||$f[x2(e)]},vje=Se.TypeError,tR=function(e,t,n){var r,o;Vn(e);try{if(!(r=sg(e,"return"))){if(t==="throw")throw n;return n}r=Ft(r,e)}catch(a){o=!0,r=a}if(t==="throw")throw n;if(o)throw r;return Vn(r),n},mje=Se.TypeError,Pm=function(e,t){this.stopped=e,this.result=t},nR=Pm.prototype,Vy=function(e,t,n){var r,o,a,i,s,u,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),m=!(!n||!n.INTERRUPTED),y=cg(t,f),g=function(h){return r&&tR(r,"normal",h),new Pm(!0,h)},v=function(h){return d?(Vn(h),m?y(h[0],h[1],g):y(h[0],h[1])):m?y(h,g):y(h)};if(p)r=e;else{if(!(o=eR(e)))throw mje($y(e)+" is not iterable");if((c=o)!==void 0&&($f.Array===c||hje[pje]===c)){for(a=0,i=gv(e);i>a;a++)if((s=v(e[a]))&&ig(nR,s))return s;return new Pm(!1)}r=function(h,b){var w=arguments.length<2?eR(h):b;if(Rs(w))return Vn(Ft(w,h));throw vje($y(h)+" is not iterable")}(e,o)}for(u=r.next;!(l=Ft(u,r)).done;){try{s=v(l.value)}catch(h){tR(r,"throw",h)}if(typeof s=="object"&&s&&ig(nR,s))return s}return new Pm(!1)},fY=mn("iterator"),dY=!1;try{var yje=0,rR={next:function(){return{done:!!yje++}},return:function(){dY=!0}};rR[fY]=function(){return this},Array.from(rR,function(){throw 2})}catch{}var fg,Ec,oR,HS,pY=function(e,t){if(!dY)return!1;var n=!1;try{var r={};r[fY]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},bje=Se.TypeError,wje=mn("species"),hY=We([].slice),gY=/(?:ipad|iphone|ipod).*applewebkit/i.test(ef),Es=Ei(Se.process)=="process",O6=Se.setImmediate,iR=Se.clearImmediate,kje=Se.process,WS=Se.Dispatch,Eje=Se.Function,aR=Se.MessageChannel,Cje=Se.String,VS=0,vh={};try{fg=Se.location}catch{}var ax=function(e){if(_n(vh,e)){var t=vh[e];delete vh[e],t()}},qS=function(e){return function(){ax(e)}},sR=function(e){ax(e.data)},uR=function(e){Se.postMessage(Cje(e),fg.protocol+"//"+fg.host)};O6&&iR||(O6=function(e){var t=hY(arguments,1);return vh[++VS]=function(){uY(Pt(e)?e:Eje(e),void 0,t)},Ec(VS),VS},iR=function(e){delete vh[e]},Es?Ec=function(e){kje.nextTick(qS(e))}:WS&&WS.now?Ec=function(e){WS.now(qS(e))}:aR&&!gY?(HS=(oR=new aR).port2,oR.port1.onmessage=sR,Ec=cg(HS.postMessage,HS)):Se.addEventListener&&Pt(Se.postMessage)&&!Se.importScripts&&fg&&fg.protocol!=="file:"&&!Rt(uR)?(Ec=uR,Se.addEventListener("message",sR,!1)):Ec="onreadystatechange"in ug("script")?function(e){k6.appendChild(ug("script")).onreadystatechange=function(){k6.removeChild(this),ax(e)}}:function(e){setTimeout(qS(e),0)});var bp,Du,mh,Nc,GS,ZS,YS,lR,vY={set:O6},Sje=/ipad|iphone|ipod/i.test(ef)&&Se.Pebble!==void 0,_je=/web0s(?!.*chrome)/i.test(ef),Oje=JA.f,JS=vY.set,cR=Se.MutationObserver||Se.WebKitMutationObserver,fR=Se.document,dR=Se.process,j0=Se.Promise,pR=Oje(Se,"queueMicrotask"),mY=pR&&pR.value;mY||(bp=function(){var e,t;for(Es&&(e=dR.domain)&&e.exit();Du;){t=Du.fn,Du=Du.next;try{t()}catch(n){throw Du?Nc():mh=void 0,n}}mh=void 0,e&&e.enter()},gY||Es||_je||!cR||!fR?!Sje&&j0&&j0.resolve?((YS=j0.resolve(void 0)).constructor=j0,lR=cg(YS.then,YS),Nc=function(){lR(bp)}):Es?Nc=function(){dR.nextTick(bp)}:(JS=cg(JS,Se),Nc=function(){JS(bp)}):(GS=!0,ZS=fR.createTextNode(""),new cR(bp).observe(ZS,{characterData:!0}),Nc=function(){ZS.data=GS=!GS}));var KS,hR,yY,gR,bY=mY||function(e){var t={fn:e,next:void 0};mh&&(mh.next=t),Du||(Du=t,Nc()),mh=t},Dje=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=Rs(t),this.reject=Rs(n)},sx={f:function(e){return new Dje(e)}},D6=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},Aje=typeof window=="object",wY=vY.set,xje=mn("species"),Ki="Promise",vR=Yr.getterFor(Ki),Lje=Yr.set,Pje=Yr.getterFor(Ki),wu=Uy&&Uy.prototype,mi=Uy,wp=wu,kY=Se.TypeError,A6=Se.document,ux=Se.process,tf=sx.f,$je=tf,jje=!!(A6&&A6.createEvent&&Se.dispatchEvent),EY=Pt(Se.PromiseRejectionEvent),CY=!1,yh=By(Ki,function(){var e=O2(mi),t=e!==String(mi);if(!t&&ag===66)return!0;if(ag>=51&&/native code/.test(e))return!1;var n=new mi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[xje]=r,!(CY=n.then(function(){})instanceof r)||!t&&Aje&&!EY}),Tje=yh||!pY(function(e){mi.all(e).catch(function(){})}),SY=function(e){var t;return!(!Gt(e)||!Pt(t=e.then))&&t},lx=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;bY(function(){for(var r=e.value,o=e.state==1,a=0;n.length>a;){var i,s,u,l=n[a++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(e.rejection===2&&Nje(e),e.rejection=1),c===!0?i=r:(p&&p.enter(),i=c(r),p&&(p.exit(),u=!0)),i===l.promise?d(kY("Promise-chain cycle")):(s=SY(i))?Ft(s,i,f,d):f(i)):d(r)}catch(m){p&&!u&&p.exit(),d(m)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Ije(e)})}},_Y=function(e,t,n){var r,o;jje?((r=A6.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Se.dispatchEvent(r)):r={promise:t,reason:n},!EY&&(o=Se["on"+e])?o(r):e==="unhandledrejection"&&function(a,i){var s=Se.console;s&&s.error&&(arguments.length==1?s.error(a):s.error(a,i))}("Unhandled promise rejection",n)},Ije=function(e){Ft(wY,Se,function(){var t,n=e.facade,r=e.value;if(mR(e)&&(t=D6(function(){Es?ux.emit("unhandledRejection",r,n):_Y("unhandledrejection",n,r)}),e.rejection=Es||mR(e)?2:1,t.error))throw t.value})},mR=function(e){return e.rejection!==1&&!e.parent},Nje=function(e){Ft(wY,Se,function(){var t=e.facade;Es?ux.emit("rejectionHandled",t):_Y("rejectionhandled",t,e.value)})},Vc=function(e,t,n){return function(r){e(t,r,n)}},nf=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,lx(e,!0))},x6=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw kY("Promise can't be resolved itself");var r=SY(t);r?bY(function(){var o={done:!1};try{Ft(r,t,Vc(x6,o,e),Vc(nf,o,e))}catch(a){nf(o,a,e)}}):(e.value=t,e.state=1,lx(e,!1))}catch(o){nf({done:!1},o,e)}}};if(yh&&(wp=(mi=function(e){ix(this,wp),Rs(e),Ft(KS,this);var t=vR(this);try{e(Vc(x6,t),Vc(nf,t))}catch(n){nf(t,n)}}).prototype,(KS=function(e){Lje(this,{type:Ki,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Hy(wp,{then:function(e,t){var n=Pje(this),r=n.reactions,o=tf(function(a,i){var s,u=Vn(a).constructor;return u===void 0||(s=Vn(u)[wje])==null?i:function(l){if(tx(l))return l;throw bje($y(l)+" is not a constructor")}(s)}(this,mi));return o.ok=!Pt(e)||e,o.fail=Pt(t)&&t,o.domain=Es?ux.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&lx(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),hR=function(){var e=new KS,t=vR(e);this.promise=e,this.resolve=Vc(x6,t),this.reject=Vc(nf,t)},sx.f=tf=function(e){return e===mi||e===yY?new hR(e):$je(e)},Pt(Uy)&&wu!==Object.prototype)){gR=wu.then,CY||(ko(wu,"then",function(e,t){var n=this;return new mi(function(r,o){Ft(gR,n,r,o)}).then(e,t)},{unsafe:!0}),ko(wu,"catch",wp.catch,{unsafe:!0}));try{delete wu.constructor}catch{}Pf&&Pf(wu,wp)}function dg(e,t,n){return n===void 0&&(n=""),E2(this,void 0,void 0,function(){var r,o,a,i,s,u,l;return C2(this,function(c){switch(c.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig("insertVideo"),o=r.onInsertedVideo,a=r.checkVideo,i=r.parseVideoSrc,[4,a(t,n)]):[2];case 1:return typeof(s=c.sent())=="string"?(e.alert(s,"error"),[2]):s==null?[2]:[4,i(t)];case 2:return(u=c.sent()).trim().indexOf("<iframe ")!==0&&(u=u.replace(/</g,"<").replace(/>/g,">")),l={type:"video",src:u,poster:n,children:[{text:""}]},Promise.resolve().then(function(){Z.insertNodes(e,l)}),o(l),[2]}})})}function XS(){return cY("w-e-insert-video")}_r({global:!0,wrap:!0,forced:yh},{Promise:mi}),Wy(mi,Ki,!1),function(e){var t=xl("Promise"),n=ba.f;xi&&t&&!t[QF]&&n(t,QF,{configurable:!0,get:function(){return this}})}(),yY=xl(Ki),_r({target:Ki,stat:!0,forced:yh},{reject:function(e){var t=tf(this);return Ft(t.reject,void 0,e),t.promise}}),_r({target:Ki,stat:!0,forced:yh},{resolve:function(e){return function(t,n){if(Vn(t),Gt(n)&&n.constructor===t)return n;var r=sx.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),_r({target:Ki,stat:!0,forced:Tje},{all:function(e){var t=this,n=tf(t),r=n.resolve,o=n.reject,a=D6(function(){var i=Rs(t.resolve),s=[],u=0,l=1;Vy(e,function(c){var f=u++,d=!1;l++,Ft(i,t,c).then(function(p){d||(d=!0,s[f]=p,--l||r(s))},o)}),--l||r(s)});return a.error&&o(a.value),n.promise},race:function(e){var t=this,n=tf(t),r=n.reject,o=D6(function(){var a=Rs(t.resolve);Vy(e,function(i){Ft(a,t,i).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Bje=function(){function e(){this.title=ke("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=XS(),this.posterInputId=XS(),this.buttonId=XS()}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||!ee.isCollapsed(n)||!!P.getSelectedElems(t).some(function(r){var o=P.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,a=r.posterInputId,i=r.buttonId,s=rl(Ur(ke("videoModule.videoSrc"),o,ke("videoModule.videoSrcPlaceHolder")),2),u=s[0],l=s[1],c=rl(Ur(ke("videoModule.videoPoster"),a,ke("videoModule.videoPosterPlaceHolder")),2),f=c[0],d=c[1],p=T(l),m=T(d),y=rl(Xf(i,ke("videoModule.ok")),1)[0];if(this.$content==null){var g=T("<div></div>");g.on("click","#"+i,function(h){return E2(n,void 0,void 0,function(){var b,w;return C2(this,function(k){switch(k.label){case 0:return h.preventDefault(),b=g.find("#"+o).val().trim(),w=g.find("#"+a).val().trim(),[4,dg(t,b,w)];case 1:return k.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=g}var v=this.$content;return v.empty(),v.append(u),v.append(f),v.append(y),p.val(""),m.val(""),setTimeout(function(){p.focus()}),v[0]},e}(),Fje=We([].join),Rje=WA!=Object,Mje=function(e,t){var n=[].join;return!!n&&Rt(function(){n.call(null,",",1)})}();_r({target:"Array",proto:!0,forced:Rje||!Mje},{join:function(e){return Fje(Gs(this),e===void 0?",":e)}});var il,yR,bR,zje=!Rt(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),wR=KA("IE_PROTO"),L6=Se.Object,Uje=L6.prototype,qy=zje?L6.getPrototypeOf:function(e){var t=_2(e);if(_n(t,wR))return t[wR];var n=t.constructor;return Pt(n)&&t instanceof n?n.prototype:t instanceof L6?Uje:null},P6=mn("iterator"),OY=!1;[].keys&&("next"in(bR=[].keys())?(yR=qy(qy(bR)))!==Object.prototype&&(il=yR):OY=!0);var Hje=il==null||Rt(function(){var e={};return il[P6].call(e)!==e});Hje&&(il={}),Pt(il[P6])||ko(il,P6,function(){return this});var cx={IteratorPrototype:il,BUGGY_SAFARI_ITERATORS:OY},Wje=cx.IteratorPrototype,Vje=function(){return this},qje=ud.PROPER,Gje=ud.CONFIGURABLE,kR=cx.IteratorPrototype,QS=cx.BUGGY_SAFARI_ITERATORS,kp=mn("iterator"),Zje=function(){return this},DY=function(e,t,n,r,o,a,i){(function(g,v,h,b){var w=v+" Iterator";g.prototype=QA(Wje,{next:S2(1,h)}),Wy(g,w,!1),$f[w]=Vje})(n,t,r);var s,u,l=function(g){if(g===o&&m)return m;if(!QS&&g in d)return d[g];switch(g){case"keys":case"values":case"entries":return function(){return new n(this,g)}}return function(){return new n(this)}},c=t+" Iterator",f=!1,d=e.prototype,p=d[kp]||d["@@iterator"]||o&&d[o],m=!QS&&p||l(o),y=t=="Array"&&d.entries||p;return y&&(s=qy(y.call(new e)))!==Object.prototype&&s.next&&(qy(s)!==kR&&(Pf?Pf(s,kR):Pt(s[kp])||ko(s,kp,Zje)),Wy(s,c,!0)),qje&&o=="values"&&p&&p.name!=="values"&&(Gje?ks(d,"name","values"):(f=!0,m=function(){return Ft(p,this)})),o&&(u={values:l("values"),keys:l("keys"),entries:l("entries")},i||_r({target:t,proto:!0,forced:QS||f},u)),d[kp]!==m&&ko(d,kp,m,{name:o}),$f[t]=m,u},Yje=Yr.set,Jje=Yr.getterFor("Array Iterator"),Jp=DY(Array,"Array",function(e,t){Yje(this,{type:"Array Iterator",target:Gs(e),index:0,kind:t})},function(){var e=Jje(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");$f.Arguments=$f.Array,gh("keys"),gh("values"),gh("entries");var Kje=lY.charAt,Xje=Yr.set,Qje=Yr.getterFor("String Iterator");DY(String,"String",function(e){Xje(this,{type:"String Iterator",string:ao(e),index:0})},function(){var e,t=Qje(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Kje(n,r),t.index+=e.length,{value:e,done:!1})});var AY=function(e,t,n){var r=YA(t);r in e?ba.f(e,r,S2(0,n)):e[r]=n},eTe=Se.Array,tTe=Math.max,ER=Ny.f,CR=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],nTe={f:function(e){return CR&&Ei(e)=="Window"?function(t){try{return ER(t)}catch{return function(r,o,a){for(var i=gv(r),s=lg(void 0,i),u=lg(i,i),l=eTe(tTe(u-s,0)),c=0;s<u;s++,c++)AY(l,c,r[s]);return l.length=c,l}(CR)}}(e):ER(Gs(e))}},SR=Rt(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),T0=Object.isExtensible,ju=Rt(function(){T0(1)})||SR?function(e){return!!Gt(e)&&(!SR||Ei(e)!="ArrayBuffer")&&(!T0||T0(e))}:T0,rTe=!Rt(function(){return Object.isExtensible(Object.preventExtensions({}))}),fx=HA(function(e){var t=ba.f,n=!1,r=ZA("meta"),o=0,a=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},i=e.exports={enable:function(){i.enable=function(){},n=!0;var s=Ny.f,u=We([].splice),l={};l[r]=1,s(l).length&&(Ny.f=function(c){for(var f=s(c),d=0,p=f.length;d<p;d++)if(f[d]===r){u(f,d,1);break}return f},_r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:nTe.f}))},fastKey:function(s,u){if(!Gt(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!_n(s,r)){if(!ju(s))return"F";if(!u)return"E";a(s)}return s[r].objectID},getWeakData:function(s,u){if(!_n(s,r)){if(!ju(s))return!0;if(!u)return!1;a(s)}return s[r].weakData},onFreeze:function(s){return rTe&&n&&ju(s)&&!_n(s,r)&&a(s),s}};D2[r]=!0}),I0=fx.getWeakData,oTe=Yr.set,iTe=Yr.getterFor,aTe=nx.find,sTe=nx.findIndex,uTe=We([].splice),lTe=0,N0=function(e){return e.frozen||(e.frozen=new xY)},xY=function(){this.entries=[]},e_=function(e,t){return aTe(e.entries,function(n){return n[0]===t})};xY.prototype={get:function(e){var t=e_(this,e);if(t)return t[1]},has:function(e){return!!e_(this,e)},set:function(e,t){var n=e_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=sTe(this.entries,function(n){return n[0]===e});return~t&&uTe(this.entries,t,1),!!~t}};var Ep,LY={getConstructor:function(e,t,n,r){var o=e(function(u,l){ix(u,a),oTe(u,{type:t,id:lTe++,frozen:void 0}),l!=null&&Vy(l,u[r],{that:u,AS_ENTRIES:n})}),a=o.prototype,i=iTe(t),s=function(u,l,c){var f=i(u),d=I0(Vn(l),!0);return d===!0?N0(f).set(l,c):d[f.id]=c,u};return Hy(a,{delete:function(u){var l=i(this);if(!Gt(u))return!1;var c=I0(u);return c===!0?N0(l).delete(u):c&&_n(c,l.id)&&delete c[l.id]},has:function(u){var l=i(this);if(!Gt(u))return!1;var c=I0(u);return c===!0?N0(l).has(u):c&&_n(c,l.id)}}),Hy(a,n?{get:function(u){var l=i(this);if(Gt(u)){var c=I0(u);return c===!0?N0(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),o}},B0=Yr.enforce,cTe=!Se.ActiveXObject&&"ActiveXObject"in Se,PY=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},fTe=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,a=r?"set":"add",i=Se[e],s=i&&i.prototype,u=i,l={},c=function(g){var v=We(s[g]);ko(s,g,g=="add"?function(h){return v(this,h===0?0:h),this}:g=="delete"?function(h){return!(o&&!Gt(h))&&v(this,h===0?0:h)}:g=="get"?function(h){return o&&!Gt(h)?void 0:v(this,h===0?0:h)}:g=="has"?function(h){return!(o&&!Gt(h))&&v(this,h===0?0:h)}:function(h,b){return v(this,h===0?0:h,b),this})};if(By(e,!Pt(i)||!(o||s.forEach&&!Rt(function(){new i().entries().next()}))))u=n.getConstructor(t,e,r,a),fx.enable();else if(By(e,!0)){var f=new u,d=f[a](o?{}:-0,1)!=f,p=Rt(function(){f.has(1)}),m=pY(function(g){new i(g)}),y=!o&&Rt(function(){for(var g=new i,v=5;v--;)g[a](v,v);return!g.has(-0)});m||((u=t(function(g,v){ix(g,s);var h=function(b,w,k){var C,E;return Pf&&Pt(C=w.constructor)&&C!==k&&Gt(E=C.prototype)&&E!==k.prototype&&Pf(b,E),b}(new i,g,u);return v!=null&&Vy(v,h[a],{that:h,AS_ENTRIES:r}),h})).prototype=s,s.constructor=u),(p||y)&&(c("delete"),c("has"),r&&c("get")),(y||d)&&c(a),o&&s.clear&&delete s.clear}return l[e]=u,_r({global:!0,forced:u!=i},l),Wy(u,e),o||n.setStrong(u,e,r),u}("WeakMap",PY,LY);if(YZ&&cTe){Ep=LY.getConstructor(PY,"WeakMap",!0),fx.enable();var Cp=fTe.prototype,_R=We(Cp.delete),F0=We(Cp.has),OR=We(Cp.get),DR=We(Cp.set);Hy(Cp,{delete:function(e){if(Gt(e)&&!ju(e)){var t=B0(this);return t.frozen||(t.frozen=new Ep),_R(this,e)||t.frozen.delete(e)}return _R(this,e)},has:function(e){if(Gt(e)&&!ju(e)){var t=B0(this);return t.frozen||(t.frozen=new Ep),F0(this,e)||t.frozen.has(e)}return F0(this,e)},get:function(e){if(Gt(e)&&!ju(e)){var t=B0(this);return t.frozen||(t.frozen=new Ep),F0(this,e)?OR(this,e):t.frozen.get(e)}return OR(this,e)},set:function(e,t){if(Gt(e)&&!ju(e)){var n=B0(this);n.frozen||(n.frozen=new Ep),F0(this,e)?DR(this,e,t):n.frozen.set(e,t)}else DR(this,e,t);return this}})}var $Y={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},t_=ug("span").classList,AR=t_&&t_.constructor&&t_.constructor.prototype,dTe=AR===Object.prototype?void 0:AR,n_=mn("iterator"),xR=mn("toStringTag"),r_=Jp.values,jY=function(e,t){if(e){if(e[n_]!==r_)try{ks(e,n_,r_)}catch{e[n_]=r_}if(e[xR]||ks(e,xR,t),$Y[t]){for(var n in Jp)if(e[n]!==Jp[n])try{ks(e,n,Jp[n])}catch{e[n]=Jp[n]}}}};for(var o_ in $Y)jY(Se[o_]&&Se[o_].prototype,o_);jY(dTe,"DOMTokenList");var pTe=ud.EXISTS,hTe=ba.f,TY=Function.prototype,gTe=We(TY.toString),IY=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,vTe=We(IY.exec);xi&&!pTe&&hTe(TY,"name",{configurable:!0,get:function(){try{return vTe(IY,gTe(this))[1]}catch{return""}}});var mTe=mn("species"),yTe=ag>=51||!Rt(function(){var e=[];return(e.constructor={})[mTe]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),bTe=mn("species"),i_=Se.Array,wTe=Math.max;function NY(e){return e.getMenuConfig("uploadVideo")}_r({target:"Array",proto:!0,forced:!yTe},{slice:function(e,t){var n,r,o,a=Gs(this),i=gv(a),s=lg(e,i),u=lg(t===void 0?i:t,i);if(Ry(a)&&(n=a.constructor,(tx(n)&&(n===i_||Ry(n.prototype))||Gt(n)&&(n=n[bTe])===null)&&(n=void 0),n===i_||n===void 0))return hY(a,s,u);for(r=new(n===void 0?i_:n)(wTe(u-s,0)),o=0;s<u;s++,o++)s in a&&AY(r,o,a[s]);return r.length=o,r}});var LR=new WeakMap;function kTe(e,t){return E2(this,void 0,void 0,function(){var n,r,o,a;return C2(this,function(i){switch(i.label){case 0:return n=function(s){var u=LR.get(s);if(u!=null)return u;var l=NY(s),c=l.onSuccess,f=l.onProgress,d=l.onFailed,p=l.customInsert,m=l.onError;return u=aq(Py(Py({},l),{onProgress:function(y){s.showProgressBar(y),f&&f(y)},onSuccess:function(y,g){if(p)return p(g,function(D,A){return dg(s,D,A)}),void c(y,g);var v=g.errno,h=v===void 0?1:v,b=g.data,w=b===void 0?{}:b;if(h===0){var k=w.url,C=k===void 0?"":k,E=w.poster;dg(s,C,E===void 0?"":E),c(y,g)}else d(y,g)},onError:function(y,g,v){m(y,g,v)}})),LR.set(s,u),u}(e),r=t.name,o=t.type,a=t.size,n.addFile({name:r,type:o,size:a,data:t}),[4,n.upload()];case 1:return i.sent(),[2]}})})}var ETe=function(){function e(){this.title=ke("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,a=o===void 0?[]:o,i=r.customBrowseAndUpload;if(i)i(function(c,f){return dg(t,c,f)});else{var s="";a.length>0&&(s='accept="'+a.join(", ")+'"');var u=T("body"),l=T('<input type="file" '+s+" multiple/>");l.hide(),u.append(l),l.click(),l.on("change",function(){var c=l[0].files;(function(f,d){var p,m;E2(this,void 0,void 0,function(){var y,g,v,h,b,w;return C2(this,function(k){switch(k.label){case 0:if(d==null)return[2];y=Array.prototype.slice.call(d),g=NY(f).customUpload,k.label=1;case 1:k.trys.push([1,9,10,15]),v=bPe(y),k.label=2;case 2:return[4,v.next()];case 3:return(h=k.sent()).done?[3,8]:(b=h.value,g?[4,g(b,function(C,E){return dg(f,C,E)})]:[3,5]);case 4:return k.sent(),[3,7];case 5:return[4,kTe(f,b)];case 6:k.sent(),k.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return w=k.sent(),p={error:w},[3,15];case 10:return k.trys.push([10,,13,14]),h&&!h.done&&(m=v.return)?[4,m.call(v)]:[3,12];case 11:k.sent(),k.label=12;case 12:return[3,14];case 13:if(p)throw p.error;return[7];case 14:return[7];case 15:return[2]}})})})(t,c)})}},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!ee.isCollapsed(n)||!!P.getSelectedElems(t).some(function(r){var o=P.getNodeType(r);return o==="pre"||o==="list-item"||!!t.isVoid(r)})},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},e}(),CTe=ud.PROPER,$6=RegExp.prototype,BY=$6.toString,STe=We(aY),_Te=Rt(function(){return BY.call({source:"a",flags:"b"})!="/a/b"}),OTe=CTe&&BY.name!="toString";function a_(){return cY("w-e-insert-video")}(_Te||OTe)&&ko(RegExp.prototype,"toString",function(){var e=Vn(this),t=ao(e.source),n=e.flags;return"/"+t+"/"+ao(n===void 0&&ig($6,e)&&!("flags"in $6)?STe(e):n)},{unsafe:!0});var DTe=function(){function e(){this.title=ke("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=a_(),this.heightInputId=a_(),this.buttonId=a_()}return e.prototype.getSelectedVideoNode=function(t){return P.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,a=n.buttonId,i=rl(Ur(ke("videoModule.width"),r,"auto"),2),s=i[0],u=T(i[1]),l=rl(Ur(ke("videoModule.height"),o,"auto"),2),c=l[0],f=T(l[1]),d=rl(Xf(a,ke("videoModule.ok")),1)[0];if(this.$content==null){var p=T("<div></div>");p.on("click","#"+a,function(w){w.preventDefault();var k=p.find("#"+r).val().trim(),C=p.find("#"+o).val().trim(),E=parseInt(k),D=parseInt(C),A=E?E.toString():"auto",B=D?D.toString():"auto";t.restoreSelection(),Z.setNodes(t,{width:A,height:B},{match:function(q){return P.checkNodeType(q,"video")}}),t.hidePanelOrModal()}),this.$content=p}var m=this.$content;m.empty(),m.append(s),m.append(c),m.append(d);var y=this.getSelectedVideoNode(t);if(y==null)return m[0];var g=y.width,v=g===void 0?"auto":g,h=y.height,b=h===void 0?"auto":h;return u.val(v),f.val(b),setTimeout(function(){u.focus()}),m[0]},e}(),ATe={renderElems:[E$e],elemsToHtml:[C$e],preParseHtml:[D$e],parseElemsHtml:[I$e],menus:[{key:"insertVideo",factory:function(){return new Bje},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new ETe},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 DTe}}],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 a=rl(o,2),i=a[0],s=a[1];return P.getNodeType(i)==="video"&&P.isLastNode(r,i)&&Z.insertNodes(r,P.genEmptyParagraph(),{at:[s[0]+1]}),n([i,s])},r}};$r("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),$r("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var PR=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dx(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ua,$m,R0=function(e){return e&&e.Math==Math&&e},Ce=R0(typeof globalThis=="object"&&globalThis)||R0(typeof window=="object"&&window)||R0(typeof self=="object"&&self)||R0(typeof PR=="object"&&PR)||function(){return this}()||Function("return this")(),Ht=function(e){try{return!!e()}catch{return!0}},Li=!Ht(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Sp=Function.prototype.call,Ot=Sp.bind?Sp.bind(Sp):function(){return Sp.apply(Sp,arguments)},$R={}.propertyIsEnumerable,jR=Object.getOwnPropertyDescriptor,xTe={f:jR&&!$R.call({1:2},1)?function(e){var t=jR(this,e);return!!t&&t.enumerable}:$R},L2=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},FY=Function.prototype,j6=FY.bind,T6=FY.call,LTe=j6&&j6.bind(T6),Qe=j6?function(e){return e&<e(T6,e)}:function(e){return e&&function(){return T6.apply(e,arguments)}},PTe=Qe({}.toString),$Te=Qe("".slice),Uo=function(e){return $Te(PTe(e),8,-1)},s_=Ce.Object,jTe=Qe("".split),px=Ht(function(){return!s_("z").propertyIsEnumerable(0)})?function(e){return Uo(e)=="String"?jTe(e,""):s_(e)}:s_,TTe=Ce.TypeError,pg=function(e){if(e==null)throw TTe("Can't call method on "+e);return e},Zs=function(e){return px(pg(e))},Nt=function(e){return typeof e=="function"},zt=function(e){return typeof e=="object"?e!==null:Nt(e)},ITe=function(e){return Nt(e)?e:void 0},Ll=function(e,t){return arguments.length<2?ITe(Ce[e]):Ce[e]&&Ce[e][t]},hg=Qe({}.isPrototypeOf),rf=Ll("navigator","userAgent")||"",TR=Ce.process,IR=Ce.Deno,NR=TR&&TR.versions||IR&&IR.version,BR=NR&&NR.v8;BR&&($m=(Ua=BR.split("."))[0]>0&&Ua[0]<4?1:+(Ua[0]+Ua[1])),!$m&&rf&&(!(Ua=rf.match(/Edge\/(\d+)/))||Ua[1]>=74)&&(Ua=rf.match(/Chrome\/(\d+)/))&&($m=+Ua[1]);var gg=$m,I6=!!Object.getOwnPropertySymbols&&!Ht(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&gg&&gg<41}),hx=I6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",NTe=Ce.Object,u_=hx?function(e){return typeof e=="symbol"}:function(e){var t=Ll("Symbol");return Nt(t)&&hg(t.prototype,NTe(e))},BTe=Ce.String,Gy=function(e){try{return BTe(e)}catch{return"Object"}},FTe=Ce.TypeError,Ms=function(e){if(Nt(e))return e;throw FTe(Gy(e)+" is not a function")},vg=function(e,t){var n=e[t];return n==null?void 0:Ms(n)},RTe=Ce.TypeError,MTe=Object.defineProperty,gx=function(e,t){try{MTe(Ce,e,{value:t,configurable:!0,writable:!0})}catch{Ce[e]=t}return t},Cs=Ce["__core-js_shared__"]||gx("__core-js_shared__",{}),vx=dx(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:"© 2021 Denis Pushkarev (zloirock.ru)"})}),zTe=Ce.Object,mx=function(e){return zTe(pg(e))},UTe=Qe({}.hasOwnProperty),On=Object.hasOwn||function(e,t){return UTe(mx(e),t)},HTe=0,WTe=Math.random(),VTe=Qe(1 .toString),yx=function(e){return"Symbol("+(e===void 0?"":e)+")_"+VTe(++HTe+WTe,36)},_p=vx("wks"),al=Ce.Symbol,FR=al&&al.for,qTe=hx?al:al&&al.withoutSetter||yx,yn=function(e){if(!On(_p,e)||!I6&&typeof _p[e]!="string"){var t="Symbol."+e;I6&&On(al,e)?_p[e]=al[e]:_p[e]=hx&&FR?FR(t):qTe(t)}return _p[e]},GTe=Ce.TypeError,ZTe=yn("toPrimitive"),bx=function(e){var t=function(n,r){if(!zt(n)||u_(n))return n;var o,a=vg(n,ZTe);if(a){if(o=Ot(a,n,r),!zt(o)||u_(o))return o;throw GTe("Can't convert object to primitive value")}return function(i,s){var u,l;if(Nt(u=i.toString)&&!zt(l=Ot(u,i))||Nt(u=i.valueOf)&&!zt(l=Ot(u,i)))return l;throw RTe("Can't convert object to primitive value")}(n)}(e,"string");return u_(t)?t:t+""},N6=Ce.document,YTe=zt(N6)&&zt(N6.createElement),mg=function(e){return YTe?N6.createElement(e):{}},RY=!Li&&!Ht(function(){return Object.defineProperty(mg("div"),"a",{get:function(){return 7}}).a!=7}),RR=Object.getOwnPropertyDescriptor,wx={f:Li?RR:function(e,t){if(e=Zs(e),t=bx(t),RY)try{return RR(e,t)}catch{}if(On(e,t))return L2(!Ot(xTe.f,e,t),e[t])}},JTe=Ce.String,KTe=Ce.TypeError,qn=function(e){if(zt(e))return e;throw KTe(JTe(e)+" is not an object")},XTe=Ce.TypeError,MR=Object.defineProperty,wa={f:Li?MR:function(e,t,n){if(qn(e),t=bx(t),qn(n),RY)try{return MR(e,t,n)}catch{}if("get"in n||"set"in n)throw XTe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ci=Li?function(e,t,n){return wa.f(e,t,L2(1,n))}:function(e,t,n){return e[t]=n,e},QTe=Qe(Function.toString);Nt(Cs.inspectSource)||(Cs.inspectSource=function(e){return QTe(e)});var Zy,bh,Yy,P2=Cs.inspectSource,zR=Ce.WeakMap,MY=Nt(zR)&&/native code/.test(P2(zR)),UR=vx("keys"),kx=function(e){return UR[e]||(UR[e]=yx(e))},$2={},B6=Ce.TypeError,eIe=Ce.WeakMap;if(MY||Cs.state){var pu=Cs.state||(Cs.state=new eIe),tIe=Qe(pu.get),HR=Qe(pu.has),nIe=Qe(pu.set);Zy=function(e,t){if(HR(pu,e))throw new B6("Object already initialized");return t.facade=e,nIe(pu,e,t),t},bh=function(e){return tIe(pu,e)||{}},Yy=function(e){return HR(pu,e)}}else{var Cc=kx("state");$2[Cc]=!0,Zy=function(e,t){if(On(e,Cc))throw new B6("Object already initialized");return t.facade=e,Ci(e,Cc,t),t},bh=function(e){return On(e,Cc)?e[Cc]:{}},Yy=function(e){return On(e,Cc)}}var Jr={set:Zy,get:bh,has:Yy,enforce:function(e){return Yy(e)?bh(e):Zy(e,{})},getterFor:function(e){return function(t){var n;if(!zt(t)||(n=bh(t)).type!==e)throw B6("Incompatible receiver, "+e+" required");return n}}},zY=Function.prototype,rIe=Li&&Object.getOwnPropertyDescriptor,l_=On(zY,"name"),mv={EXISTS:l_,PROPER:l_&&(function(){}).name==="something",CONFIGURABLE:l_&&(!Li||Li&&rIe(zY,"name").configurable)},Eo=dx(function(e){var t=mv.CONFIGURABLE,n=Jr.get,r=Jr.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;Nt(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!On(s,"name")||t&&s.name!==p)&&Ci(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==Ce?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:Ci(a,i,s)):f?a[i]=s:gx(i,s)})(Function.prototype,"toString",function(){return Nt(this)&&n(this).source||P2(this)})}),oIe=Math.ceil,iIe=Math.floor,Ex=function(e){var t=+e;return t!=t||t===0?0:(t>0?iIe:oIe)(t)},aIe=Math.max,sIe=Math.min,yg=function(e,t){var n=Ex(e);return n<0?aIe(n+t,0):sIe(n,t)},uIe=Math.min,UY=function(e){return e>0?uIe(Ex(e),9007199254740991):0},yv=function(e){return UY(e.length)},lIe=function(e){return function(t,n,r){var o,a=Zs(t),i=yv(a),s=yg(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},cIe=lIe(!1),WR=Qe([].push),HY=function(e,t){var n,r=Zs(e),o=0,a=[];for(n in r)!On($2,n)&&On(r,n)&&WR(a,n);for(;t.length>o;)On(r,n=t[o++])&&(~cIe(a,n)||WR(a,n));return a},Jy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],fIe=Jy.concat("length","prototype"),Ky={f:Object.getOwnPropertyNames||function(e){return HY(e,fIe)}},dIe={f:Object.getOwnPropertySymbols},pIe=Qe([].concat),hIe=Ll("Reflect","ownKeys")||function(e){var t=Ky.f(qn(e)),n=dIe.f;return n?pIe(t,n(e)):t},gIe=function(e,t){for(var n=hIe(t),r=wa.f,o=wx.f,a=0;a<n.length;a++){var i=n[a];On(e,i)||r(e,i,o(t,i))}},vIe=/#|\.prototype\./,bv=function(e,t){var n=yIe[mIe(e)];return n==wIe||n!=bIe&&(Nt(t)?Ht(t):!!t)},mIe=bv.normalize=function(e){return String(e).replace(vIe,".").toLowerCase()},yIe=bv.data={},bIe=bv.NATIVE="N",wIe=bv.POLYFILL="P",Xy=bv,kIe=wx.f,yi=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?Ce:l?Ce[s]||gx(s,{}):(Ce[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=kIe(n,r))&&i.value:n[r],!Xy(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;gIe(a,o)}(e.sham||o&&o.sham)&&Ci(a,"sham",!0),Eo(n,r,a,e)}},Qy=Array.isArray||function(e){return Uo(e)=="Array"},WY={};WY[yn("toStringTag")]="z";var Cx=String(WY)==="[object z]",EIe=yn("toStringTag"),CIe=Ce.Object,SIe=Uo(function(){return arguments}())=="Arguments",j2=Cx?Uo:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=CIe(e),EIe))=="string"?n:SIe?Uo(t):(r=Uo(t))=="Object"&&Nt(t.callee)?"Arguments":r},VY=function(){},_Ie=[],qY=Ll("Reflect","construct"),Sx=/^\s*(?:class|function)\b/,OIe=Qe(Sx.exec),DIe=!Sx.exec(VY),Op=function(e){if(!Nt(e))return!1;try{return qY(VY,_Ie,e),!0}catch{return!1}},_x=!qY||Ht(function(){var e;return Op(Op.call)||!Op(Object)||!Op(function(){e=!0})||e})?function(e){if(!Nt(e))return!1;switch(j2(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return DIe||!!OIe(Sx,P2(e))}:Op,GY=function(e,t,n){var r=bx(t);r in e?wa.f(e,r,L2(0,n)):e[r]=n},AIe=yn("species"),ZY=Qe([].slice),xIe=gg>=51||!Ht(function(){var e=[];return(e.constructor={})[AIe]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),LIe=yn("species"),c_=Ce.Array,PIe=Math.max;yi({target:"Array",proto:!0,forced:!xIe},{slice:function(e,t){var n,r,o,a=Zs(this),i=yv(a),s=yg(e,i),u=yg(t===void 0?i:t,i);if(Qy(a)&&(n=a.constructor,(_x(n)&&(n===c_||Qy(n.prototype))||zt(n)&&(n=n[LIe])===null)&&(n=void 0),n===c_||n===void 0))return ZY(a,s,u);for(r=new(n===void 0?c_:n)(PIe(u-s,0)),o=0;s<u;s++,o++)s in a&&GY(r,o,a[s]);return r.length=o,r}});var $Ie=Cx?{}.toString:function(){return"[object "+j2(this)+"]"};Cx||Eo(Object.prototype,"toString",$Ie,{unsafe:!0});var M0,jIe=Ce.String,Ss=function(e){if(j2(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return jIe(e)},YY=function(){var e=qn(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},Ox=Ce.RegExp,F6=Ht(function(){var e=Ox("a","y");return e.lastIndex=2,e.exec("abcd")!=null});F6||Ht(function(){return!Ox("a","y").sticky});var JY={BROKEN_CARET:F6||Ht(function(){var e=Ox("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),UNSUPPORTED_Y:F6},TIe=Object.keys||function(e){return HY(e,Jy)},IIe=Li?Object.defineProperties:function(e,t){qn(e);for(var n,r=Zs(t),o=TIe(t),a=o.length,i=0;a>i;)wa.f(e,n=o[i++],r[n]);return e},R6=Ll("document","documentElement"),KY=kx("IE_PROTO"),f_=function(){},XY=function(e){return"<script>"+e+"<\/script>"},VR=function(e){e.write(XY("")),e.close();var t=e.parentWindow.Object;return e=null,t},jm=function(){try{M0=new ActiveXObject("htmlfile")}catch{}var e,t;jm=typeof document<"u"?document.domain&&M0?VR(M0):((t=mg("iframe")).style.display="none",R6.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(XY("document.F=Object")),e.close(),e.F):VR(M0);for(var n=Jy.length;n--;)delete jm.prototype[Jy[n]];return jm()};$2[KY]=!0;var qR,d_,Dx=Object.create||function(e,t){var n;return e!==null?(f_.prototype=qn(e),n=new f_,f_.prototype=null,n[KY]=e):n=jm(),t===void 0?n:IIe(n,t)},NIe=Ce.RegExp,BIe=Ht(function(){var e=NIe(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),FIe=Ce.RegExp,RIe=Ht(function(){var e=FIe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),MIe=Jr.get,zIe=vx("native-string-replace",String.prototype.replace),eb=RegExp.prototype.exec,M6=eb,UIe=Qe("".charAt),HIe=Qe("".indexOf),WIe=Qe("".replace),p_=Qe("".slice),h_=(d_=/b*/g,Ot(eb,qR=/a/,"a"),Ot(eb,d_,"a"),qR.lastIndex!==0||d_.lastIndex!==0),GR=JY.BROKEN_CARET,g_=/()??/.exec("")[1]!==void 0;(h_||g_||GR||BIe||RIe)&&(M6=function(e){var t,n,r,o,a,i,s,u=this,l=MIe(u),c=Ss(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=Ot(M6,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=GR&&u.sticky,m=Ot(YY,u),y=u.source,g=0,v=c;if(p&&(m=WIe(m,"y",""),HIe(m,"g")===-1&&(m+="g"),v=p_(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&UIe(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),g_&&(n=new RegExp("^"+y+"$(?!\\s)",m)),h_&&(r=u.lastIndex),o=Ot(eb,p?n:u,v),p?o?(o.input=p_(o.input,g),o[0]=p_(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:h_&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),g_&&o&&o.length>1&&Ot(zIe,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=Dx(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var bg=M6;yi({target:"RegExp",proto:!0,forced:/./.exec!==bg},{exec:bg});var Ax=Function.prototype,ZR=Ax.apply,VIe=Ax.bind,YR=Ax.call,QY=typeof Reflect=="object"&&Reflect.apply||(VIe?YR.bind(ZR):function(){return YR.apply(ZR,arguments)}),qIe=yn("species"),v_=RegExp.prototype,GIe=yn("match"),ZIe=Ce.TypeError,YIe=yn("species"),eJ=function(e,t){var n,r=qn(e).constructor;return r===void 0||(n=qn(r)[YIe])==null?t:function(o){if(_x(o))return o;throw ZIe(Gy(o)+" is not a constructor")}(n)},JIe=Qe("".charAt),JR=Qe("".charCodeAt),KIe=Qe("".slice),XIe=function(e){return function(t,n){var r,o,a=Ss(pg(t)),i=Ex(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=JR(a,i))<55296||r>56319||i+1===s||(o=JR(a,i+1))<56320||o>57343?e?JIe(a,i):r:e?KIe(a,i,i+2):o-56320+(r-55296<<10)+65536}},tJ={charAt:XIe(!0)},QIe=tJ.charAt,eNe=function(e,t,n){return t+(n?QIe(e,t).length:1)},tNe=Ce.Array,nNe=Math.max,z6=function(e,t,n){for(var r=yv(e),o=yg(t,r),a=yg(n===void 0?r:n,r),i=tNe(nNe(a-o,0)),s=0;o<a;o++,s++)GY(i,s,e[o]);return i.length=s,i},rNe=Ce.TypeError,KR=function(e,t){var n=e.exec;if(Nt(n)){var r=Ot(n,e,t);return r!==null&&qn(r),r}if(Uo(e)==="RegExp")return Ot(bg,e,t);throw rNe("RegExp#exec called on incompatible receiver")},Sc=JY.UNSUPPORTED_Y,oNe=Math.min,nJ=[].push,iNe=Qe(/./.exec),_c=Qe(nJ),Dp=Qe("".slice);(function(e,t,n,r){var o=yn(e),a=!Ht(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!Ht(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[qIe]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=Qe(/./[o]),u=function(l,c,f){var d;return d="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(p,m){var y,g,v=Ss(pg(this)),h=m===void 0?4294967295:m>>>0;if(h===0)return[];if(p===void 0)return[v];if(!zt(y=p)||!((g=y[GIe])!==void 0?g:Uo(y)=="RegExp"))return Ot(c,v,p,h);for(var b,w,k,C=[],E=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(p.sticky?"y":""),D=0,A=new RegExp(p.source,E+"g");(b=Ot(bg,A,v))&&!((w=A.lastIndex)>D&&(_c(C,Dp(v,D,b.index)),b.length>1&&b.index<v.length&&QY(nJ,C,z6(b,1)),k=b[0].length,D=w,C.length>=h));)A.lastIndex===b.index&&A.lastIndex++;return D===v.length?!k&&iNe(A,"")||_c(C,""):_c(C,Dp(v,D)),C.length>h?z6(C,0,h):C}:"0".split(void 0,0).length?function(p,m){return p===void 0&&m===0?[]:Ot(c,this,p,m)}:c,[function(p,m){var y=pg(this),g=p==null?void 0:vg(p,l);return g?Ot(g,p,y,m):Ot(d,Ss(y),p,m)},function(p,m){var y=qn(this),g=Ss(p),v=f(d,y,g,m,d!==c);if(v.done)return v.value;var h=eJ(y,RegExp),b=y.unicode,w=(y.ignoreCase?"i":"")+(y.multiline?"m":"")+(y.unicode?"u":"")+(Sc?"g":"y"),k=new h(Sc?"^(?:"+y.source+")":y,w),C=m===void 0?4294967295:m>>>0;if(C===0)return[];if(g.length===0)return KR(k,g)===null?[g]:[];for(var E=0,D=0,A=[];D<g.length;){k.lastIndex=Sc?0:D;var B,q=KR(k,Sc?Dp(g,D):g);if(q===null||(B=oNe(UY(k.lastIndex+(Sc?D:0)),g.length))===E)D=eNe(g,D,b);else{if(_c(A,Dp(g,E,D)),A.length===C)return A;for(var R=1;R<=q.length-1;R++)if(_c(A,q[R]),A.length===C)return A;D=E=B}}return _c(A,Dp(g,E)),A}]}(o,""[e],function(l,c,f,d,p){var m=Qe(l),y=c.exec;return y===bg||y===v_.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Eo(String.prototype,e,u[0]),Eo(v_,o,u[1])}r&&Ci(v_[o],"sham",!0)})("split",0,!!Ht(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"}),Sc);/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var tb=function(){return tb=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},tb.apply(this,arguments)};function xx(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(l){try{u(r.next(l))}catch(c){a(c)}}function s(l){try{u(r.throw(l))}catch(c){a(c)}}function u(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(i,s)}u((r=r.apply(e,[])).next())})}function Lx(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){i=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(c[0]===6&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function aNe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(o){var a=typeof Symbol=="function"&&Symbol.iterator,i=a&&o[a],s=0;if(i)return i.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&s>=o.length&&(o=void 0),{value:o&&o[s++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(a){return new Promise(function(i,s){(function(u,l,c,f){Promise.resolve(f).then(function(d){u({value:d,done:c})},l)})(i,s,(a=e[o](a)).done,a.value)})}}}var U6=yn("unscopables"),H6=Array.prototype;H6[U6]==null&&wa.f(H6,U6,{configurable:!0,value:Dx(null)});var sl,XR,QR,m_=function(e){H6[U6][e]=!0},jf={},sNe=!Ht(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),eM=kx("IE_PROTO"),W6=Ce.Object,uNe=W6.prototype,nb=sNe?W6.getPrototypeOf:function(e){var t=mx(e);if(On(t,eM))return t[eM];var n=t.constructor;return Nt(n)&&t instanceof n?n.prototype:t instanceof W6?uNe:null},V6=yn("iterator"),rJ=!1;[].keys&&("next"in(QR=[].keys())?(XR=nb(nb(QR)))!==Object.prototype&&(sl=XR):rJ=!0);var lNe=sl==null||Ht(function(){var e={};return sl[V6].call(e)!==e});lNe&&(sl={}),Nt(sl[V6])||Eo(sl,V6,function(){return this});var Px={IteratorPrototype:sl,BUGGY_SAFARI_ITERATORS:rJ},cNe=wa.f,tM=yn("toStringTag"),rb=function(e,t,n){e&&!On(e=n?e:e.prototype,tM)&&cNe(e,tM,{configurable:!0,value:t})},fNe=Px.IteratorPrototype,dNe=function(){return this},pNe=Ce.String,hNe=Ce.TypeError,Tf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Qe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return qn(r),function(a){if(typeof a=="object"||Nt(a))return a;throw hNe("Can't set "+pNe(a)+" as a prototype")}(o),t?e(r,o):r.__proto__=o,r}}():void 0),gNe=mv.PROPER,vNe=mv.CONFIGURABLE,nM=Px.IteratorPrototype,y_=Px.BUGGY_SAFARI_ITERATORS,Ap=yn("iterator"),mNe=function(){return this},oJ=function(e,t,n,r,o,a,i){(function(g,v,h,b){var w=v+" Iterator";g.prototype=Dx(fNe,{next:L2(1,h)}),rb(g,w,!1),jf[w]=dNe})(n,t,r);var s,u,l=function(g){if(g===o&&m)return m;if(!y_&&g in d)return d[g];switch(g){case"keys":case"values":case"entries":return function(){return new n(this,g)}}return function(){return new n(this)}},c=t+" Iterator",f=!1,d=e.prototype,p=d[Ap]||d["@@iterator"]||o&&d[o],m=!y_&&p||l(o),y=t=="Array"&&d.entries||p;return y&&(s=nb(y.call(new e)))!==Object.prototype&&s.next&&(nb(s)!==nM&&(Tf?Tf(s,nM):Nt(s[Ap])||Eo(s,Ap,mNe)),rb(s,c,!0)),gNe&&o=="values"&&p&&p.name!=="values"&&(vNe?Ci(d,"name","values"):(f=!0,m=function(){return Ot(p,this)})),o&&(u={values:l("values"),keys:l("keys"),entries:l("entries")},i||yi({target:t,proto:!0,forced:y_||f},u)),d[Ap]!==m&&Eo(d,Ap,m,{name:o}),jf[t]=m,u},yNe=Jr.set,bNe=Jr.getterFor("Array Iterator"),Kp=oJ(Array,"Array",function(e,t){yNe(this,{type:"Array Iterator",target:Zs(e),index:0,kind:t})},function(){var e=bNe(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");jf.Arguments=jf.Array,m_("keys"),m_("values"),m_("entries");var wNe=tJ.charAt,kNe=Jr.set,ENe=Jr.getterFor("String Iterator");oJ(String,"String",function(e){kNe(this,{type:"String Iterator",string:Ss(e),index:0})},function(){var e,t=ENe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=wNe(n,r),t.index+=e.length,{value:e,done:!1})});var ob=function(e,t,n){for(var r in t)Eo(e,r,t[r],n);return e},rM=Ky.f,oM=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],CNe={f:function(e){return oM&&Uo(e)=="Window"?function(t){try{return rM(t)}catch{return z6(oM)}}(e):rM(Zs(e))}},iM=Ht(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),z0=Object.isExtensible,Tu=Ht(function(){z0(1)})||iM?function(e){return!!zt(e)&&(!iM||Uo(e)!="ArrayBuffer")&&(!z0||z0(e))}:z0,SNe=!Ht(function(){return Object.isExtensible(Object.preventExtensions({}))}),$x=dx(function(e){var t=wa.f,n=!1,r=yx("meta"),o=0,a=function(s){t(s,r,{value:{objectID:"O"+o++,weakData:{}}})},i=e.exports={enable:function(){i.enable=function(){},n=!0;var s=Ky.f,u=Qe([].splice),l={};l[r]=1,s(l).length&&(Ky.f=function(c){for(var f=s(c),d=0,p=f.length;d<p;d++)if(f[d]===r){u(f,d,1);break}return f},yi({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:CNe.f}))},fastKey:function(s,u){if(!zt(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!On(s,r)){if(!Tu(s))return"F";if(!u)return"E";a(s)}return s[r].objectID},getWeakData:function(s,u){if(!On(s,r)){if(!Tu(s))return!0;if(!u)return!1;a(s)}return s[r].weakData},onFreeze:function(s){return SNe&&n&&Tu(s)&&!On(s,r)&&a(s),s}};$2[r]=!0}),aM=Qe(Qe.bind),wg=function(e,t){return Ms(e),t===void 0?e:aM?aM(e,t):function(){return e.apply(t,arguments)}},_Ne=yn("iterator"),ONe=Array.prototype,DNe=yn("iterator"),sM=function(e){if(e!=null)return vg(e,DNe)||vg(e,"@@iterator")||jf[j2(e)]},ANe=Ce.TypeError,uM=function(e,t,n){var r,o;qn(e);try{if(!(r=vg(e,"return"))){if(t==="throw")throw n;return n}r=Ot(r,e)}catch(a){o=!0,r=a}if(t==="throw")throw n;if(o)throw r;return qn(r),n},xNe=Ce.TypeError,Tm=function(e,t){this.stopped=e,this.result=t},lM=Tm.prototype,ib=function(e,t,n){var r,o,a,i,s,u,l,c,f=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),m=!(!n||!n.INTERRUPTED),y=wg(t,f),g=function(h){return r&&uM(r,"normal",h),new Tm(!0,h)},v=function(h){return d?(qn(h),m?y(h[0],h[1],g):y(h[0],h[1])):m?y(h,g):y(h)};if(p)r=e;else{if(!(o=sM(e)))throw xNe(Gy(e)+" is not iterable");if((c=o)!==void 0&&(jf.Array===c||ONe[_Ne]===c)){for(a=0,i=yv(e);i>a;a++)if((s=v(e[a]))&&hg(lM,s))return s;return new Tm(!1)}r=function(h,b){var w=arguments.length<2?sM(h):b;if(Ms(w))return qn(Ot(w,h));throw ANe(Gy(h)+" is not iterable")}(e,o)}for(u=r.next;!(l=Ot(u,r)).done;){try{s=v(l.value)}catch(h){uM(r,"throw",h)}if(typeof s=="object"&&s&&hg(lM,s))return s}return new Tm(!1)},LNe=Ce.TypeError,jx=function(e,t){if(hg(t,e))return e;throw LNe("Incorrect invocation")},iJ=yn("iterator"),aJ=!1;try{var PNe=0,cM={next:function(){return{done:!!PNe++}},return:function(){aJ=!0}};cM[iJ]=function(){return this},Array.from(cM,function(){throw 2})}catch{}var sJ=function(e,t){if(!aJ)return!1;var n=!1;try{var r={};r[iJ]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch{}return n},$Ne=yn("species"),fM=Ce.Array,jNe=function(e,t){return new(function(n){var r;return Qy(n)&&(r=n.constructor,(_x(r)&&(r===fM||Qy(r.prototype))||zt(r)&&(r=r[$Ne])===null)&&(r=void 0)),r===void 0?fM:r}(e))(t===0?0:t)},dM=Qe([].push),b_=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=mx(u),y=px(m),g=wg(l,c),v=yv(y),h=0,b=f||jNe,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:dM(w,d)}else switch(e){case 4:return!1;case 7:dM(w,d)}return a?-1:r||o?o:w}},Tx={forEach:b_(0),find:b_(5),findIndex:b_(6)},U0=$x.getWeakData,TNe=Jr.set,INe=Jr.getterFor,NNe=Tx.find,BNe=Tx.findIndex,FNe=Qe([].splice),RNe=0,H0=function(e){return e.frozen||(e.frozen=new uJ)},uJ=function(){this.entries=[]},w_=function(e,t){return NNe(e.entries,function(n){return n[0]===t})};uJ.prototype={get:function(e){var t=w_(this,e);if(t)return t[1]},has:function(e){return!!w_(this,e)},set:function(e,t){var n=w_(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=BNe(this.entries,function(n){return n[0]===e});return~t&&FNe(this.entries,t,1),!!~t}};var xp,lJ={getConstructor:function(e,t,n,r){var o=e(function(u,l){jx(u,a),TNe(u,{type:t,id:RNe++,frozen:void 0}),l!=null&&ib(l,u[r],{that:u,AS_ENTRIES:n})}),a=o.prototype,i=INe(t),s=function(u,l,c){var f=i(u),d=U0(qn(l),!0);return d===!0?H0(f).set(l,c):d[f.id]=c,u};return ob(a,{delete:function(u){var l=i(this);if(!zt(u))return!1;var c=U0(u);return c===!0?H0(l).delete(u):c&&On(c,l.id)&&delete c[l.id]},has:function(u){var l=i(this);if(!zt(u))return!1;var c=U0(u);return c===!0?H0(l).has(u):c&&On(c,l.id)}}),ob(a,n?{get:function(u){var l=i(this);if(zt(u)){var c=U0(u);return c===!0?H0(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),o}},W0=Jr.enforce,MNe=!Ce.ActiveXObject&&"ActiveXObject"in Ce,cJ=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},zNe=function(e,t,n){var r=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,a=r?"set":"add",i=Ce[e],s=i&&i.prototype,u=i,l={},c=function(g){var v=Qe(s[g]);Eo(s,g,g=="add"?function(h){return v(this,h===0?0:h),this}:g=="delete"?function(h){return!(o&&!zt(h))&&v(this,h===0?0:h)}:g=="get"?function(h){return o&&!zt(h)?void 0:v(this,h===0?0:h)}:g=="has"?function(h){return!(o&&!zt(h))&&v(this,h===0?0:h)}:function(h,b){return v(this,h===0?0:h,b),this})};if(Xy(e,!Nt(i)||!(o||s.forEach&&!Ht(function(){new i().entries().next()}))))u=n.getConstructor(t,e,r,a),$x.enable();else if(Xy(e,!0)){var f=new u,d=f[a](o?{}:-0,1)!=f,p=Ht(function(){f.has(1)}),m=sJ(function(g){new i(g)}),y=!o&&Ht(function(){for(var g=new i,v=5;v--;)g[a](v,v);return!g.has(-0)});m||((u=t(function(g,v){jx(g,s);var h=function(b,w,k){var C,E;return Tf&&Nt(C=w.constructor)&&C!==k&&zt(E=C.prototype)&&E!==k.prototype&&Tf(b,E),b}(new i,g,u);return v!=null&&ib(v,h[a],{that:h,AS_ENTRIES:r}),h})).prototype=s,s.constructor=u),(p||y)&&(c("delete"),c("has"),r&&c("get")),(y||d)&&c(a),o&&s.clear&&delete s.clear}return l[e]=u,yi({global:!0,forced:u!=i},l),rb(u,e),o||n.setStrong(u,e,r),u}("WeakMap",cJ,lJ);if(MY&&MNe){xp=lJ.getConstructor(cJ,"WeakMap",!0),$x.enable();var Lp=zNe.prototype,pM=Qe(Lp.delete),V0=Qe(Lp.has),hM=Qe(Lp.get),gM=Qe(Lp.set);ob(Lp,{delete:function(e){if(zt(e)&&!Tu(e)){var t=W0(this);return t.frozen||(t.frozen=new xp),pM(this,e)||t.frozen.delete(e)}return pM(this,e)},has:function(e){if(zt(e)&&!Tu(e)){var t=W0(this);return t.frozen||(t.frozen=new xp),V0(this,e)||t.frozen.has(e)}return V0(this,e)},get:function(e){if(zt(e)&&!Tu(e)){var t=W0(this);return t.frozen||(t.frozen=new xp),V0(this,e)?hM(this,e):t.frozen.get(e)}return hM(this,e)},set:function(e,t){if(zt(e)&&!Tu(e)){var n=W0(this);n.frozen||(n.frozen=new xp),V0(this,e)?gM(this,e,t):n.frozen.set(e,t)}else gM(this,e,t);return this}})}var ab={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},k_=mg("span").classList,vM=k_&&k_.constructor&&k_.constructor.prototype,fJ=vM===Object.prototype?void 0:vM,E_=yn("iterator"),mM=yn("toStringTag"),C_=Kp.values,dJ=function(e,t){if(e){if(e[E_]!==C_)try{Ci(e,E_,C_)}catch{e[E_]=C_}if(e[mM]||Ci(e,mM,t),ab[t]){for(var n in Kp)if(e[n]!==Kp[n])try{Ci(e,n,Kp[n])}catch{e[n]=Kp[n]}}}};for(var S_ in ab)dJ(Ce[S_]&&Ce[S_].prototype,S_);dJ(fJ,"DOMTokenList");var pJ=function(e,t){var n=[][e];return!!n&&Ht(function(){n.call(null,t||function(){throw 1},1)})},UNe=Tx.forEach,__=pJ("forEach")?[].forEach:function(e){return UNe(this,e,arguments.length>1?arguments[1]:void 0)},hJ=function(e){if(e&&e.forEach!==__)try{Ci(e,"forEach",__)}catch{e.forEach=__}};for(var O_ in ab)ab[O_]&&hJ(Ce[O_]&&Ce[O_].prototype);hJ(fJ);var kg,Oc,yM,D_,sb=Ce.Promise,bM=yn("species"),gJ=/(?:ipad|iphone|ipod).*applewebkit/i.test(rf),_s=Uo(Ce.process)=="process",q6=Ce.setImmediate,wM=Ce.clearImmediate,HNe=Ce.process,A_=Ce.Dispatch,WNe=Ce.Function,kM=Ce.MessageChannel,VNe=Ce.String,x_=0,wh={};try{kg=Ce.location}catch{}var Ix=function(e){if(On(wh,e)){var t=wh[e];delete wh[e],t()}},L_=function(e){return function(){Ix(e)}},EM=function(e){Ix(e.data)},CM=function(e){Ce.postMessage(VNe(e),kg.protocol+"//"+kg.host)};q6&&wM||(q6=function(e){var t=ZY(arguments,1);return wh[++x_]=function(){QY(Nt(e)?e:WNe(e),void 0,t)},Oc(x_),x_},wM=function(e){delete wh[e]},_s?Oc=function(e){HNe.nextTick(L_(e))}:A_&&A_.now?Oc=function(e){A_.now(L_(e))}:kM&&!gJ?(D_=(yM=new kM).port2,yM.port1.onmessage=EM,Oc=wg(D_.postMessage,D_)):Ce.addEventListener&&Nt(Ce.postMessage)&&!Ce.importScripts&&kg&&kg.protocol!=="file:"&&!Ht(CM)?(Oc=CM,Ce.addEventListener("message",EM,!1)):Oc="onreadystatechange"in mg("script")?function(e){R6.appendChild(mg("script")).onreadystatechange=function(){R6.removeChild(this),Ix(e)}}:function(e){setTimeout(L_(e),0)});var Pp,Au,kh,Bc,P_,$_,j_,SM,vJ={set:q6},qNe=/ipad|iphone|ipod/i.test(rf)&&Ce.Pebble!==void 0,GNe=/web0s(?!.*chrome)/i.test(rf),ZNe=wx.f,T_=vJ.set,_M=Ce.MutationObserver||Ce.WebKitMutationObserver,OM=Ce.document,DM=Ce.process,q0=Ce.Promise,AM=ZNe(Ce,"queueMicrotask"),mJ=AM&&AM.value;mJ||(Pp=function(){var e,t;for(_s&&(e=DM.domain)&&e.exit();Au;){t=Au.fn,Au=Au.next;try{t()}catch(n){throw Au?Bc():kh=void 0,n}}kh=void 0,e&&e.enter()},gJ||_s||GNe||!_M||!OM?!qNe&&q0&&q0.resolve?((j_=q0.resolve(void 0)).constructor=q0,SM=wg(j_.then,j_),Bc=function(){SM(Pp)}):_s?Bc=function(){DM.nextTick(Pp)}:(T_=wg(T_,Ce),Bc=function(){T_(Pp)}):(P_=!0,$_=OM.createTextNode(""),new _M(Pp).observe($_,{characterData:!0}),Bc=function(){$_.data=P_=!P_}));var I_,xM,yJ,LM,bJ=mJ||function(e){var t={fn:e,next:void 0};kh&&(kh.next=t),Au||(Au=t,Bc()),kh=t},YNe=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=Ms(t),this.reject=Ms(n)},Nx={f:function(e){return new YNe(e)}},G6=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},JNe=typeof window=="object",wJ=vJ.set,KNe=yn("species"),Xi="Promise",PM=Jr.getterFor(Xi),XNe=Jr.set,QNe=Jr.getterFor(Xi),ku=sb&&sb.prototype,bi=sb,$p=ku,kJ=Ce.TypeError,Z6=Ce.document,Bx=Ce.process,of=Nx.f,eBe=of,tBe=!!(Z6&&Z6.createEvent&&Ce.dispatchEvent),EJ=Nt(Ce.PromiseRejectionEvent),CJ=!1,Eh=Xy(Xi,function(){var e=P2(bi),t=e!==String(bi);if(!t&&gg===66)return!0;if(gg>=51&&/native code/.test(e))return!1;var n=new bi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[KNe]=r,!(CJ=n.then(function(){})instanceof r)||!t&&JNe&&!EJ}),nBe=Eh||!sJ(function(e){bi.all(e).catch(function(){})}),SJ=function(e){var t;return!(!zt(e)||!Nt(t=e.then))&&t},Fx=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;bJ(function(){for(var r=e.value,o=e.state==1,a=0;n.length>a;){var i,s,u,l=n[a++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(e.rejection===2&&oBe(e),e.rejection=1),c===!0?i=r:(p&&p.enter(),i=c(r),p&&(p.exit(),u=!0)),i===l.promise?d(kJ("Promise-chain cycle")):(s=SJ(i))?Ot(s,i,f,d):f(i)):d(r)}catch(m){p&&!u&&p.exit(),d(m)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&rBe(e)})}},_J=function(e,t,n){var r,o;tBe?((r=Z6.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Ce.dispatchEvent(r)):r={promise:t,reason:n},!EJ&&(o=Ce["on"+e])?o(r):e==="unhandledrejection"&&function(a,i){var s=Ce.console;s&&s.error&&(arguments.length==1?s.error(a):s.error(a,i))}("Unhandled promise rejection",n)},rBe=function(e){Ot(wJ,Ce,function(){var t,n=e.facade,r=e.value;if($M(e)&&(t=G6(function(){_s?Bx.emit("unhandledRejection",r,n):_J("unhandledrejection",n,r)}),e.rejection=_s||$M(e)?2:1,t.error))throw t.value})},$M=function(e){return e.rejection!==1&&!e.parent},oBe=function(e){Ot(wJ,Ce,function(){var t=e.facade;_s?Bx.emit("rejectionHandled",t):_J("rejectionhandled",t,e.value)})},qc=function(e,t,n){return function(r){e(t,r,n)}},af=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Fx(e,!0))},Y6=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw kJ("Promise can't be resolved itself");var r=SJ(t);r?bJ(function(){var o={done:!1};try{Ot(r,t,qc(Y6,o,e),qc(af,o,e))}catch(a){af(o,a,e)}}):(e.value=t,e.state=1,Fx(e,!1))}catch(o){af({done:!1},o,e)}}};if(Eh&&($p=(bi=function(e){jx(this,$p),Ms(e),Ot(I_,this);var t=PM(this);try{e(qc(Y6,t),qc(af,t))}catch(n){af(t,n)}}).prototype,(I_=function(e){XNe(this,{type:Xi,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=ob($p,{then:function(e,t){var n=QNe(this),r=n.reactions,o=of(eJ(this,bi));return o.ok=!Nt(e)||e,o.fail=Nt(t)&&t,o.domain=_s?Bx.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&Fx(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),xM=function(){var e=new I_,t=PM(e);this.promise=e,this.resolve=qc(Y6,t),this.reject=qc(af,t)},Nx.f=of=function(e){return e===bi||e===yJ?new xM(e):eBe(e)},Nt(sb)&&ku!==Object.prototype)){LM=ku.then,CJ||(Eo(ku,"then",function(e,t){var n=this;return new bi(function(r,o){Ot(LM,n,r,o)}).then(e,t)},{unsafe:!0}),Eo(ku,"catch",$p.catch,{unsafe:!0}));try{delete ku.constructor}catch{}Tf&&Tf(ku,$p)}yi({global:!0,wrap:!0,forced:Eh},{Promise:bi}),rb(bi,Xi,!1),function(e){var t=Ll("Promise"),n=wa.f;Li&&t&&!t[bM]&&n(t,bM,{configurable:!0,get:function(){return this}})}(),yJ=Ll(Xi),yi({target:Xi,stat:!0,forced:Eh},{reject:function(e){var t=of(this);return Ot(t.reject,void 0,e),t.promise}}),yi({target:Xi,stat:!0,forced:Eh},{resolve:function(e){return function(t,n){if(qn(t),zt(n)&&n.constructor===t)return n;var r=Nx.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),yi({target:Xi,stat:!0,forced:nBe},{all:function(e){var t=this,n=of(t),r=n.resolve,o=n.reject,a=G6(function(){var i=Ms(t.resolve),s=[],u=0,l=1;ib(e,function(c){var f=u++,d=!1;l++,Ot(i,t,c).then(function(p){d||(d=!0,s[f]=p,--l||r(s))},o)}),--l||r(s)});return a.error&&o(a.value),n.promise},race:function(e){var t=this,n=of(t),r=n.reject,o=G6(function(){var a=Ms(t.resolve);ib(e,function(i){Ot(a,t,i).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var iBe=mv.PROPER,J6=RegExp.prototype,OJ=J6.toString,aBe=Qe(YY),sBe=Ht(function(){return OJ.call({source:"a",flags:"b"})!="/a/b"}),uBe=iBe&&OJ.name!="toString";(sBe||uBe)&&Eo(RegExp.prototype,"toString",function(){var e=qn(this),t=Ss(e.source),n=e.flags;return"/"+t+"/"+Ss(n===void 0&&hg(J6,e)&&!("flags"in J6)?aBe(e):n)},{unsafe:!0});var lBe=mv.EXISTS,cBe=wa.f,DJ=Function.prototype,fBe=Qe(DJ.toString),AJ=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,dBe=Qe(AJ.exec);Li&&!lBe&&cBe(DJ,"name",{configurable:!0,get:function(){try{return dBe(AJ,fBe(this))[1]}catch{return""}}});var jM=new WeakMap;function xJ(e){return e.getMenuConfig("uploadImage")}function pBe(e,t){return xx(this,void 0,void 0,function(){return Lx(this,function(n){return[2,new Promise(function(r){var o=new FileReader;o.readAsDataURL(t),o.onload=function(){var a=o.result;if(a){var i=a.toString(),s=i.indexOf("data:image")===0?"":i;Ju(e,i,t.name,s),r("ok")}}})]})})}function hBe(e,t){return xx(this,void 0,void 0,function(){var n,r,o,a;return Lx(this,function(i){switch(i.label){case 0:return n=function(s){var u=jM.get(s);if(u!=null)return u;var l=xJ(s),c=l.onSuccess,f=l.onProgress,d=l.onFailed,p=l.customInsert,m=l.onError;return u=aq(tb(tb({},l),{onProgress:function(y){s.showProgressBar(y),f&&f(y)},onSuccess:function(y,g){if(p)return p(g,function(B,q,R){return Ju(s,B,q,R)}),void c(y,g);var v=g.errno,h=v===void 0?1:v,b=g.data,w=b===void 0?{}:b;if(h===0){if(Array.isArray(w))w.forEach(function(B){var q=B.url,R=q===void 0?"":q,ie=B.alt,K=ie===void 0?"":ie,te=B.href;Ju(s,R,K,te===void 0?"":te)});else{var k=w.url,C=k===void 0?"":k,E=w.alt,D=E===void 0?"":E,A=w.href;Ju(s,C,D,A===void 0?"":A)}c(y,g)}else d(y,g)},onError:function(y,g,v){m(y,g,v)}})),jM.set(s,u),u}(e),r=t.name,o=t.type,a=t.size,n.addFile({name:r,type:o,size:a,data:t}),[4,n.upload()];case 1:return i.sent(),[2]}})})}function LJ(e,t){var n,r;return xx(this,void 0,void 0,function(){var o,a,i,s,u,l,c,f,d;return Lx(this,function(p){switch(p.label){case 0:if(t==null)return[2];o=Array.prototype.slice.call(t),a=xJ(e),i=a.customUpload,s=a.base64LimitSize,p.label=1;case 1:p.trys.push([1,11,12,17]),u=aNe(o),p.label=2;case 2:return[4,u.next()];case 3:return(l=p.sent()).done?[3,10]:(c=l.value,f=c.size,s&&f<=s?[4,pBe(e,c)]:[3,5]);case 4:return p.sent(),[3,9];case 5:return i?[4,i(c,function(m,y,g){return Ju(e,m,y,g)})]:[3,7];case 6:return p.sent(),[3,9];case 7:return[4,hBe(e,c)];case 8:p.sent(),p.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return d=p.sent(),n={error:d},[3,17];case 12:return p.trys.push([12,,15,16]),l&&!l.done&&(r=u.return)?[4,r.call(u)]:[3,14];case 13:p.sent(),p.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var gBe=Qe([].join),vBe=px!=Object,mBe=pJ("join",",");yi({target:"Array",proto:!0,forced:vBe||!mBe},{join:function(e){return gBe(Zs(this),e===void 0?",":e)}}),yo&&(T.fn.append=yo),Di&&(T.fn.on=Di),bf&&(T.fn.remove=bf),Oi&&(T.fn.val=Oi),T$&&(T.fn.click=T$),gf&&(T.fn.hide=gf);var yBe=function(){function e(){this.title=ke("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 u2(t)},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),o=r.allowedFileTypes,a=o===void 0?[]:o,i=r.customBrowseAndUpload;if(i)i(function(c,f,d){return Ju(t,c,f,d)});else{var s="";a.length>0&&(s='accept="'+a.join(", ")+'"');var u=T("body"),l=T('<input type="file" '+s+" multiple/>");l.hide(),u.append(l),l.click(),l.on("change",function(){var c=l[0].files;LJ(t,c)})}},e}(),bBe={menus:[{key:"uploadImage",factory:function(){return new yBe},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(u2(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(a){return function(i,s){var u=typeof Symbol=="function"&&i[Symbol.iterator];if(!u)return i;var l,c,f=u.call(i),d=[];try{for(;(s===void 0||s-- >0)&&!(l=f.next()).done;)d.push(l.value)}catch(p){c={error:p}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(c)throw c.error}}return d}(a.type.split("/"),1)[0]==="image"})?LJ(e,o):t(r)}},n}};$r("en",{highLightModule:{selectLang:"Language"}}),$r("zh-CN",{highLightModule:{selectLang:"选择语言"}});var ub=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rx(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ha,Im,G0=function(e){return e&&e.Math==Math&&e},ot=G0(typeof globalThis=="object"&&globalThis)||G0(typeof window=="object"&&window)||G0(typeof self=="object"&&self)||G0(typeof ub=="object"&&ub)||function(){return this}()||Function("return this")(),wBe=Object.defineProperty,Mx=function(e,t){try{wBe(ot,e,{value:t,configurable:!0,writable:!0})}catch{ot[e]=t}return t},Os=ot["__core-js_shared__"]||Mx("__core-js_shared__",{}),zx=Rx(function(e){(e.exports=function(t,n){return Os[t]||(Os[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),PJ=Function.prototype,K6=PJ.bind,X6=PJ.call,kBe=K6&&K6.bind(X6),St=K6?function(e){return e&&kBe(X6,e)}:function(e){return e&&function(){return X6.apply(e,arguments)}},EBe=ot.TypeError,If=function(e){if(e==null)throw EBe("Can't call method on "+e);return e},CBe=ot.Object,Ux=function(e){return CBe(If(e))},SBe=St({}.hasOwnProperty),vo=Object.hasOwn||function(e,t){return SBe(Ux(e),t)},_Be=0,OBe=Math.random(),DBe=St(1 .toString),$J=function(e){return"Symbol("+(e===void 0?"":e)+")_"+DBe(++_Be+OBe,36)},vr=function(e){return typeof e=="function"},ABe=function(e){return vr(e)?e:void 0},wv=function(e,t){return arguments.length<2?ABe(ot[e]):ot[e]&&ot[e][t]},N_=wv("navigator","userAgent")||"",TM=ot.process,IM=ot.Deno,NM=TM&&TM.versions||IM&&IM.version,BM=NM&&NM.v8;BM&&(Im=(Ha=BM.split("."))[0]>0&&Ha[0]<4?1:+(Ha[0]+Ha[1])),!Im&&N_&&(!(Ha=N_.match(/Edge\/(\d+)/))||Ha[1]>=74)&&(Ha=N_.match(/Chrome\/(\d+)/))&&(Im=+Ha[1]);var FM=Im,Hn=function(e){try{return!!e()}catch{return!0}},Q6=!!Object.getOwnPropertySymbols&&!Hn(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&FM&&FM<41}),Hx=Q6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",jp=zx("wks"),ul=ot.Symbol,RM=ul&&ul.for,xBe=Hx?ul:ul&&ul.withoutSetter||$J,Ys=function(e){if(!vo(jp,e)||!Q6&&typeof jp[e]!="string"){var t="Symbol."+e;Q6&&vo(ul,e)?jp[e]=ul[e]:jp[e]=Hx&&RM?RM(t):xBe(t)}return jp[e]},jJ={};jJ[Ys("toStringTag")]="z";var Wx=String(jJ)==="[object z]",Pi=!Hn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ta=function(e){return typeof e=="object"?e!==null:vr(e)},eO=ot.document,LBe=ta(eO)&&ta(eO.createElement),Vx=function(e){return LBe?eO.createElement(e):{}},TJ=!Pi&&!Hn(function(){return Object.defineProperty(Vx("div"),"a",{get:function(){return 7}}).a!=7}),PBe=ot.String,$Be=ot.TypeError,Ho=function(e){if(ta(e))return e;throw $Be(PBe(e)+" is not an object")},Tp=Function.prototype.call,zn=Tp.bind?Tp.bind(Tp):function(){return Tp.apply(Tp,arguments)},IJ=St({}.isPrototypeOf),jBe=ot.Object,B_=Hx?function(e){return typeof e=="symbol"}:function(e){var t=wv("Symbol");return vr(t)&&IJ(t.prototype,jBe(e))},TBe=ot.String,NJ=function(e){try{return TBe(e)}catch{return"Object"}},IBe=ot.TypeError,BJ=function(e){if(vr(e))return e;throw IBe(NJ(e)+" is not a function")},FJ=function(e,t){var n=e[t];return n==null?void 0:BJ(n)},NBe=ot.TypeError,BBe=ot.TypeError,FBe=Ys("toPrimitive"),qx=function(e){var t=function(n,r){if(!ta(n)||B_(n))return n;var o,a=FJ(n,FBe);if(a){if(o=zn(a,n,r),!ta(o)||B_(o))return o;throw BBe("Can't convert object to primitive value")}return function(i,s){var u,l;if(vr(u=i.toString)&&!ta(l=zn(u,i))||vr(u=i.valueOf)&&!ta(l=zn(u,i)))return l;throw NBe("Can't convert object to primitive value")}(n)}(e,"string");return B_(t)?t:t+""},RBe=ot.TypeError,MM=Object.defineProperty,T2={f:Pi?MM:function(e,t,n){if(Ho(e),t=qx(t),Ho(n),TJ)try{return MM(e,t,n)}catch{}if("get"in n||"set"in n)throw RBe("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Gx=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Nf=Pi?function(e,t,n){return T2.f(e,t,Gx(1,n))}:function(e,t,n){return e[t]=n,e},MBe=St(Function.toString);vr(Os.inspectSource)||(Os.inspectSource=function(e){return MBe(e)});var tO,lb,nO,Zx=Os.inspectSource,zM=ot.WeakMap,zBe=vr(zM)&&/native code/.test(Zx(zM)),UM=zx("keys"),RJ=function(e){return UM[e]||(UM[e]=$J(e))},Yx={},HM=ot.TypeError,UBe=ot.WeakMap;if(zBe||Os.state){var hu=Os.state||(Os.state=new UBe),HBe=St(hu.get),WM=St(hu.has),WBe=St(hu.set);tO=function(e,t){if(WM(hu,e))throw new HM("Object already initialized");return t.facade=e,WBe(hu,e,t),t},lb=function(e){return HBe(hu,e)||{}},nO=function(e){return WM(hu,e)}}else{var Dc=RJ("state");Yx[Dc]=!0,tO=function(e,t){if(vo(e,Dc))throw new HM("Object already initialized");return t.facade=e,Nf(e,Dc,t),t},lb=function(e){return vo(e,Dc)?e[Dc]:{}},nO=function(e){return vo(e,Dc)}}var rO={get:lb,enforce:function(e){return nO(e)?lb(e):tO(e,{})}},MJ=Function.prototype,VBe=Pi&&Object.getOwnPropertyDescriptor,VM=vo(MJ,"name"),zJ={PROPER:VM&&(function(){}).name==="something",CONFIGURABLE:VM&&(!Pi||Pi&&VBe(MJ,"name").configurable)},Eg=Rx(function(e){var t=zJ.CONFIGURABLE,n=rO.get,r=rO.enforce,o=String(String).split("String");(e.exports=function(a,i,s,u){var l,c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,p=u&&u.name!==void 0?u.name:i;vr(s)&&(String(p).slice(0,7)==="Symbol("&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!vo(s,"name")||t&&s.name!==p)&&Nf(s,"name",p),(l=r(s)).source||(l.source=o.join(typeof p=="string"?p:""))),a!==ot?(c?!d&&a[i]&&(f=!0):delete a[i],f?a[i]=s:Nf(a,i,s)):f?a[i]=s:Mx(i,s)})(Function.prototype,"toString",function(){return vr(this)&&n(this).source||Zx(this)})}),qBe=St({}.toString),GBe=St("".slice),Ds=function(e){return GBe(qBe(e),8,-1)},ZBe=Ys("toStringTag"),YBe=ot.Object,JBe=Ds(function(){return arguments}())=="Arguments",Jx=Wx?Ds:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(o,a){try{return o[a]}catch{}}(t=YBe(e),ZBe))=="string"?n:JBe?Ds(t):(r=Ds(t))=="Object"&&vr(t.callee)?"Arguments":r},KBe=Wx?{}.toString:function(){return"[object "+Jx(this)+"]"};Wx||Eg(Object.prototype,"toString",KBe,{unsafe:!0});var qM,GM={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},F_=Vx("span").classList,ZM=F_&&F_.constructor&&F_.constructor.prototype,XBe=ZM===Object.prototype?void 0:ZM,YM=St(St.bind),R_=ot.Object,QBe=St("".split),Kx=Hn(function(){return!R_("z").propertyIsEnumerable(0)})?function(e){return Ds(e)=="String"?QBe(e,""):R_(e)}:R_,eFe=Math.ceil,tFe=Math.floor,Xx=function(e){var t=+e;return t!=t||t===0?0:(t>0?tFe:eFe)(t)},nFe=Math.min,UJ=function(e){return e>0?nFe(Xx(e),9007199254740991):0},Qx=function(e){return UJ(e.length)},JM=Array.isArray||function(e){return Ds(e)=="Array"},HJ=function(){},rFe=[],WJ=wv("Reflect","construct"),e9=/^\s*(?:class|function)\b/,oFe=St(e9.exec),iFe=!e9.exec(HJ),Ip=function(e){if(!vr(e))return!1;try{return WJ(HJ,rFe,e),!0}catch{return!1}},VJ=!WJ||Hn(function(){var e;return Ip(Ip.call)||!Ip(Object)||!Ip(function(){e=!0})||e})?function(e){if(!vr(e))return!1;switch(Jx(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return iFe||!!oFe(e9,Zx(e))}:Ip,aFe=Ys("species"),KM=ot.Array,sFe=function(e,t){return new(function(n){var r;return JM(n)&&(r=n.constructor,(VJ(r)&&(r===KM||JM(r.prototype))||ta(r)&&(r=r[aFe])===null)&&(r=void 0)),r===void 0?KM:r}(e))(t===0?0:t)},XM=St([].push),Wa=function(e){var t=e==1,n=e==2,r=e==3,o=e==4,a=e==6,i=e==7,s=e==5||a;return function(u,l,c,f){for(var d,p,m=Ux(u),y=Kx(m),g=function(k,C){return BJ(k),C===void 0?k:YM?YM(k,C):function(){return k.apply(C,arguments)}}(l,c),v=Qx(y),h=0,b=f||sFe,w=t?b(u,v):n||i?b(u,0):void 0;v>h;h++)if((s||h in y)&&(p=g(d=y[h],h,m),e))if(t)w[h]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return h;case 2:XM(w,d)}else switch(e){case 4:return!1;case 7:XM(w,d)}return a?-1:r||o?o:w}},uFe=[Wa(0),Wa(1),Wa(2),Wa(3),Wa(4),Wa(5),Wa(6),Wa(7)][0],M_=(qM=[].forEach)&&Hn(function(){qM.call(null,function(){throw 1},1)})?[].forEach:function(e){return uFe(this,e,arguments.length>1?arguments[1]:void 0)},qJ=function(e){if(e&&e.forEach!==M_)try{Nf(e,"forEach",M_)}catch{e.forEach=M_}};for(var z_ in GM)GM[z_]&&qJ(ot[z_]&&ot[z_].prototype);qJ(XBe);var QM={}.propertyIsEnumerable,ez=Object.getOwnPropertyDescriptor,GJ={f:ez&&!QM.call({1:2},1)?function(e){var t=ez(this,e);return!!t&&t.enumerable}:QM},I2=function(e){return Kx(If(e))},tz=Object.getOwnPropertyDescriptor,ZJ={f:Pi?tz:function(e,t){if(e=I2(e),t=qx(t),TJ)try{return tz(e,t)}catch{}if(vo(e,t))return Gx(!zn(GJ.f,e,t),e[t])}},lFe=Math.max,cFe=Math.min,oO=function(e,t){var n=Xx(e);return n<0?lFe(n+t,0):cFe(n,t)},fFe=function(e){return function(t,n,r){var o,a=I2(t),i=Qx(a),s=oO(r,i);if(e&&n!=n){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},dFe=fFe(!1),nz=St([].push),YJ=function(e,t){var n,r=I2(e),o=0,a=[];for(n in r)!vo(Yx,n)&&vo(r,n)&&nz(a,n);for(;t.length>o;)vo(r,n=t[o++])&&(~dFe(a,n)||nz(a,n));return a},cb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],pFe=cb.concat("length","prototype"),hFe={f:Object.getOwnPropertyNames||function(e){return YJ(e,pFe)}},JJ={f:Object.getOwnPropertySymbols},gFe=St([].concat),vFe=wv("Reflect","ownKeys")||function(e){var t=hFe.f(Ho(e)),n=JJ.f;return n?gFe(t,n(e)):t},mFe=function(e,t){for(var n=vFe(t),r=T2.f,o=ZJ.f,a=0;a<n.length;a++){var i=n[a];vo(e,i)||r(e,i,o(t,i))}},yFe=/#|\.prototype\./,kv=function(e,t){var n=wFe[bFe(e)];return n==EFe||n!=kFe&&(vr(t)?Hn(t):!!t)},bFe=kv.normalize=function(e){return String(e).replace(yFe,".").toLowerCase()},wFe=kv.data={},kFe=kv.NATIVE="N",EFe=kv.POLYFILL="P",CFe=kv,SFe=ZJ.f,N2=function(e,t){var n,r,o,a,i,s=e.target,u=e.global,l=e.stat;if(n=u?ot:l?ot[s]||Mx(s,{}):(ot[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(i=SFe(n,r))&&i.value:n[r],!CFe(u?r:s+(l?".":"#")+r,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;mFe(a,o)}(e.sham||o&&o.sham)&&Nf(a,"sham",!0),Eg(n,r,a,e)}},Nm=Object.keys||function(e){return YJ(e,cb)},Ac=Object.assign,rz=Object.defineProperty,_Fe=St([].concat),oz=!Ac||Hn(function(){if(Pi&&Ac({b:1},Ac(rz({},"a",{enumerable:!0,get:function(){rz(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}),Ac({},e)[n]!=7||Nm(Ac({},t)).join("")!=r})?function(e,t){for(var n=Ux(e),r=arguments.length,o=1,a=JJ.f,i=GJ.f;r>o;)for(var s,u=Kx(arguments[o++]),l=a?_Fe(Nm(u),a(u)):Nm(u),c=l.length,f=0;c>f;)s=l[f++],Pi&&!zn(i,u,s)||(n[s]=u[s]);return n}:Ac;N2({target:"Object",stat:!0,forced:Object.assign!==oz},{assign:oz});var iz=Rx(function(e){var t=function(n){var r=/\blang(?:uage)?-([\w-]+)\b/i,o=0,a={},i={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function g(v){return v instanceof s?new s(v.type,g(v.content),v.alias):Array.isArray(v)?v.map(g):v.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(g){return Object.prototype.toString.call(g).slice(8,-1)},objId:function(g){return g.__id||Object.defineProperty(g,"__id",{value:++o}),g.__id},clone:function g(v,h){var b,w;switch(h=h||{},i.util.type(v)){case"Object":if(w=i.util.objId(v),h[w])return h[w];for(var k in b={},h[w]=b,v)v.hasOwnProperty(k)&&(b[k]=g(v[k],h));return b;case"Array":return w=i.util.objId(v),h[w]?h[w]:(b=[],h[w]=b,v.forEach(function(C,E){b[E]=g(C,h)}),b);default:return v}},getLanguage:function(g){for(;g&&!r.test(g.className);)g=g.parentElement;return g?(g.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(b){var g=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(b.stack)||[])[1];if(g){var v=document.getElementsByTagName("script");for(var h in v)if(v[h].src==g)return v[h]}return null}},isActive:function(g,v,h){for(var b="no-"+v;g;){var w=g.classList;if(w.contains(v))return!0;if(w.contains(b))return!1;g=g.parentElement}return!!h}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(g,v){var h=i.util.clone(i.languages[g]);for(var b in v)h[b]=v[b];return h},insertBefore:function(g,v,h,b){var w=(b=b||i.languages)[g],k={};for(var C in w)if(w.hasOwnProperty(C)){if(C==v)for(var E in h)h.hasOwnProperty(E)&&(k[E]=h[E]);h.hasOwnProperty(C)||(k[C]=w[C])}var D=b[g];return b[g]=k,i.languages.DFS(i.languages,function(A,B){B===D&&A!=g&&(this[A]=k)}),k},DFS:function g(v,h,b,w){w=w||{};var k=i.util.objId;for(var C in v)if(v.hasOwnProperty(C)){h.call(v,C,v[C],b||C);var E=v[C],D=i.util.type(E);D!=="Object"||w[k(E)]?D!=="Array"||w[k(E)]||(w[k(E)]=!0,g(E,h,C,w)):(w[k(E)]=!0,g(E,h,null,w))}}},plugins:{},highlightAll:function(g,v){i.highlightAllUnder(document,g,v)},highlightAllUnder:function(g,v,h){var b={callback:h,container:g,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",b),b.elements=Array.prototype.slice.apply(b.container.querySelectorAll(b.selector)),i.hooks.run("before-all-elements-highlight",b);for(var w,k=0;w=b.elements[k++];)i.highlightElement(w,v===!0,b.callback)},highlightElement:function(g,v,h){var b=i.util.getLanguage(g),w=i.languages[b];g.className=g.className.replace(r,"").replace(/\s+/g," ")+" language-"+b;var k=g.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&(k.className=k.className.replace(r,"").replace(/\s+/g," ")+" language-"+b);var C={element:g,language:b,grammar:w,code:g.textContent};function E(A){C.highlightedCode=A,i.hooks.run("before-insert",C),C.element.innerHTML=C.highlightedCode,i.hooks.run("after-highlight",C),i.hooks.run("complete",C),h&&h.call(C.element)}if(i.hooks.run("before-sanity-check",C),(k=C.element.parentElement)&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!C.code)return i.hooks.run("complete",C),void(h&&h.call(C.element));if(i.hooks.run("before-highlight",C),C.grammar)if(v&&n.Worker){var D=new Worker(i.filename);D.onmessage=function(A){E(A.data)},D.postMessage(JSON.stringify({language:C.language,code:C.code,immediateClose:!0}))}else E(i.highlight(C.code,C.grammar,C.language));else E(i.util.encode(C.code))},highlight:function(g,v,h){var b={code:g,grammar:v,language:h};return i.hooks.run("before-tokenize",b),b.tokens=i.tokenize(b.code,b.grammar),i.hooks.run("after-tokenize",b),s.stringify(i.util.encode(b.tokens),b.language)},tokenize:function(g,v){var h=v.rest;if(h){for(var b in h)v[b]=h[b];delete v.rest}var w=new c;return f(w,w.head,g),l(g,w,v,w.head,0),function(k){for(var C=[],E=k.head.next;E!==k.tail;)C.push(E.value),E=E.next;return C}(w)},hooks:{all:{},add:function(g,v){var h=i.hooks.all;h[g]=h[g]||[],h[g].push(v)},run:function(g,v){var h=i.hooks.all[g];if(h&&h.length)for(var b,w=0;b=h[w++];)b(v)}},Token:s};function s(g,v,h,b){this.type=g,this.content=v,this.alias=h,this.length=0|(b||"").length}function u(g,v,h,b){g.lastIndex=v;var w=g.exec(h);if(w&&b&&w[1]){var k=w[1].length;w.index+=k,w[0]=w[0].slice(k)}return w}function l(g,v,h,b,w,k){for(var C in h)if(h.hasOwnProperty(C)&&h[C]){var E=h[C];E=Array.isArray(E)?E:[E];for(var D=0;D<E.length;++D){if(k&&k.cause==C+","+D)return;var A=E[D],B=A.inside,q=!!A.lookbehind,R=!!A.greedy,ie=A.alias;if(R&&!A.pattern.global){var K=A.pattern.toString().match(/[imsuy]*$/)[0];A.pattern=RegExp(A.pattern.source,K+"g")}for(var te=A.pattern||A,F=b.next,U=w;F!==v.tail&&!(k&&U>=k.reach);U+=F.value.length,F=F.next){var Y=F.value;if(v.length>g.length)return;if(!(Y instanceof s)){var I,j=1;if(R){if(!(I=u(te,U,g,q)))break;var _=I.index,O=I.index+I[0].length,L=U;for(L+=F.value.length;_>=L;)L+=(F=F.next).value.length;if(U=L-=F.value.length,F.value instanceof s)continue;for(var M=F;M!==v.tail&&(L<O||typeof M.value=="string");M=M.next)j++,L+=M.value.length;j--,Y=g.slice(U,L),I.index-=U}else if(!(I=u(te,0,Y,q)))continue;_=I.index;var J=I[0],W=Y.slice(0,_),he=Y.slice(_+J.length),Ee=U+Y.length;k&&Ee>k.reach&&(k.reach=Ee);var De=F.prev;if(W&&(De=f(v,De,W),U+=W.length),d(v,De,j),F=f(v,De,new s(C,B?i.tokenize(J,B):J,ie,J)),he&&f(v,F,he),j>1){var Ae={cause:C+","+D,reach:Ee};l(g,v,h,F.prev,U,Ae),k&&Ae.reach>k.reach&&(k.reach=Ae.reach)}}}}}}function c(){var g={value:null,prev:null,next:null},v={value:null,prev:g,next:null};g.next=v,this.head=g,this.tail=v,this.length=0}function f(g,v,h){var b=v.next,w={value:h,prev:v,next:b};return v.next=w,b.prev=w,g.length++,w}function d(g,v,h){for(var b=v.next,w=0;w<h&&b!==g.tail;w++)b=b.next;v.next=b,b.prev=v,g.length-=w}if(n.Prism=i,s.stringify=function g(v,h){if(typeof v=="string")return v;if(Array.isArray(v)){var b="";return v.forEach(function(D){b+=g(D,h)}),b}var w={type:v.type,content:g(v.content,h),tag:"span",classes:["token",v.type],attributes:{},language:h},k=v.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(w.classes,k):w.classes.push(k)),i.hooks.run("wrap",w);var C="";for(var E in w.attributes)C+=" "+E+'="'+(w.attributes[E]||"").replace(/"/g,""")+'"';return"<"+w.tag+' class="'+w.classes.join(" ")+'"'+C+">"+w.content+"</"+w.tag+">"},!n.document)return n.addEventListener&&(i.disableWorkerMessageHandler||n.addEventListener("message",function(g){var v=JSON.parse(g.data),h=v.language,b=v.code,w=v.immediateClose;n.postMessage(i.highlight(b,i.languages[h],h)),w&&n.close()},!1)),i;var p=i.util.currentScript();function m(){i.manual||i.highlightAll()}if(p&&(i.filename=p.src,p.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var y=document.readyState;y==="loading"||y==="interactive"&&p&&p.defer?document.addEventListener("DOMContentLoaded",m):window.requestAnimationFrame?window.requestAnimationFrame(m):window.setTimeout(m,16)}return i}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{});/**
- * Prism: Lightweight, robust, elegant syntax highlighting
- *
- * @license MIT <https://opensource.org/licenses/MIT>
- * @author Lea Verou <https://lea.verou.me>
- * @namespace
- * @public
- */e.exports&&(e.exports=t),ub!==void 0&&(ub.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,r){var o={};o["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};a["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var i={};i[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:a},t.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var o=n.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(t!==void 0&&typeof document<"u"){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",o='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',a=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",function(u){u.selector+=", "+o}),t.hooks.add("before-sanity-check",function(u){var l=u.element;if(l.matches(o)){u.code="",l.setAttribute(r,"loading");var c=l.appendChild(document.createElement("CODE"));c.textContent="Loading…";var f=l.getAttribute("data-src"),d=u.language;if(d==="none"){var p=(/\.(\w+)$/.exec(f)||[,"none"])[1];d=n[p]||p}s(c,d),s(l,d);var m=t.plugins.autoloader;m&&m.loadLanguages(d);var y=new XMLHttpRequest;y.open("GET",f,!0),y.onreadystatechange=function(){y.readyState==4&&(y.status<400&&y.responseText?(l.setAttribute(r,"loaded"),c.textContent=y.responseText,t.highlightElement(c)):(l.setAttribute(r,"failed"),y.status>=400?c.textContent="✖ Error "+y.status+" while fetching file: "+y.statusText:c.textContent="✖ Error: File does not exist or is empty"))},y.send(null)}}),t.plugins.fileHighlight={highlight:function(u){for(var l,c=(u||document).querySelectorAll(o),f=0;l=c[f++];)t.highlightElement(l)}};var i=!1;t.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function s(u,l){var c=u.className;c=c.replace(a," ")+" language-"+l,u.className=c.replace(/\s+/g," ").trim()}}()});(function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function a(u,l){return u=u.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),RegExp(u,l)}o=a(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var i=function(u){return u?typeof u=="string"?u:typeof u.content=="string"?u.content:u.content.map(i).join(""):""},s=function(u){for(var l=[],c=0;c<u.length;c++){var f=u[c],d=!1;if(typeof f!="string"&&(f.type==="tag"&&f.content[0]&&f.content[0].type==="tag"?f.content[0].content[0].content==="</"?l.length>0&&l[l.length-1].tagName===i(f.content[0].content[1])&&l.pop():f.content[f.content.length-1].content==="/>"||l.push({tagName:i(f.content[0].content[1]),openedBraces:0}):l.length>0&&f.type==="punctuation"&&f.content==="{"?l[l.length-1].openedBraces++:l.length>0&&l[l.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?l[l.length-1].openedBraces--:d=!0),(d||typeof f=="string")&&l.length>0&&l[l.length-1].openedBraces===0){var p=i(f);c<u.length-1&&(typeof u[c+1]=="string"||u[c+1].type==="plain-text")&&(p+=i(u[c+1]),u.splice(c+1,1)),c>0&&(typeof u[c-1]=="string"||u[c-1].type==="plain-text")&&(p=i(u[c-1])+p,u.splice(c-1,1),c--),u[c]=new e.Token("plain-text",p,null,p)}f.content&&typeof f.content!="string"&&s(f.content)}};e.hooks.add("after-tokenize",function(u){u.language!=="jsx"&&u.language!=="tsx"||s(u.tokens)})})(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:a};var i={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:i}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:i}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(u){/<\?/.test(u.code)&&e.languages["markup-templating"].buildPlaceholders(u,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),e.hooks.add("after-tokenize",function(u){e.languages["markup-templating"].tokenizePlaceholders(u,"php")})}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),function(e){function t(O,L){return O.replace(/<<(\d+)>>/g,function(M,J){return"(?:"+L[+J]+")"})}function n(O,L,M){return RegExp(t(O,L),"")}function r(O,L){for(var M=0;M<L;M++)O=O.replace(/<<self>>/g,function(){return"(?:"+O+")"});return O.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",i="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function u(O){return"\\b(?:"+O.trim().replace(/ /g,"|")+")\\b"}var l=u(a),c=RegExp(u(o+" "+a+" "+i+" "+s)),f=u(a+" "+i+" "+s),d=u(o+" "+a+" "+s),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),m=r(/\((?:[^()]|<<self>>)*\)/.source,2),y=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[y,p]),v=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,g]),h=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,h]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,m,h]),k=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),C=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[k,v,h]),E={keyword:c,punctuation:/[<>()?,.:[\]]/},D=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,B=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[B]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:RegExp(D),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[y,C]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[y]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,g]),lookbehind:!0,inside:E},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:E},{pattern:n(/(\bwhere\s+)<<0>>/.source,[y]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:E},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[C,d,y]),inside:E}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[y]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[y]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:E},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[C,v]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[C]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[y,p]),inside:{function:n(/^<<0>>/.source,[y]),generic:{pattern:RegExp(p),alias:"class-name",inside:E}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,g,y,C,c.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,m]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(C),greedy:!0,inside:E},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var q=A+"|"+D,R=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[q]),ie=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[R]),2),K=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,te=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,ie]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[K,te]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[K]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[ie]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var F=/:[^}\r\n]+/.source,U=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[R]),2),Y=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[U,F]),I=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[q]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,F]);function _(O,L){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[O]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[L,F]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Y]),lookbehind:!0,greedy:!0,inside:_(Y,U)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:_(j,I)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i<o.length;i++)a[o[i]]=e.languages.bash[o[i]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(l){return l=l.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+l+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(l){["url","bold","italic","strike","code-snippet"].forEach(function(c){l!==c&&(e.languages.markdown[l].inside.content.inside[c]=e.languages.markdown[c])})}),e.hooks.add("after-tokenize",function(l){l.language!=="markdown"&&l.language!=="md"||function c(f){if(f&&typeof f!="string")for(var d=0,p=f.length;d<p;d++){var m=f[d];if(m.type==="code"){var y=m.content[1],g=m.content[3];if(y&&g&&y.type==="code-language"&&g.type==="code-block"&&typeof y.content=="string"){var v=y.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),h="language-"+(v=(/[a-z][\w-]*/i.exec(v)||[""])[0].toLowerCase());g.alias?typeof g.alias=="string"?g.alias=[g.alias,h]:g.alias.push(h):g.alias=[h]}}else c(m.content)}}(l.tokens)}),e.hooks.add("wrap",function(l){if(l.type==="code-block"){for(var c="",f=0,d=l.classes.length;f<d;f++){var p=l.classes[f],m=/language-(.+)/.exec(p);if(m){c=m[1];break}}var y=e.languages[c];if(y)l.content=e.highlight(function(v){var h=v.replace(i,"");return h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,w){var k;return(w=w.toLowerCase())[0]==="#"?(k=w[1]==="x"?parseInt(w.slice(2),16):Number(w.slice(1)),u(k)):s[w]||b})}(l.content),y,c);else if(c&&c!=="none"&&e.plugins.autoloader){var g="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());l.attributes.id=g,e.plugins.autoloader.loadLanguages(c,function(){var v=document.getElementById(g);v&&(v.innerHTML=e.highlight(v.textContent,e.languages[c],c))})}}});var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(e){if(e.language==="groovy"&&e.type==="string"){var t=e.content[0];if(t!="'"){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;t==="$"&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/</g,"<").replace(/&/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push(t==="/"?"regex":"gstring")}}});var OFe=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function KJ(e){return typeof e=="string"?e.length:typeof e.content=="string"?e.content.length:e.content.reduce(function(t,n){return t+KJ(n)},0)}var Z0,DFe=ot.String,la=function(e){if(Jx(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return DFe(e)},XJ=function(){var e=Ho(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},t9=ot.RegExp,iO=Hn(function(){var e=t9("a","y");return e.lastIndex=2,e.exec("abcd")!=null});iO||Hn(function(){return!t9("a","y").sticky});var QJ={BROKEN_CARET:iO||Hn(function(){var e=t9("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),UNSUPPORTED_Y:iO},AFe=Pi?Object.defineProperties:function(e,t){Ho(e);for(var n,r=I2(t),o=Nm(t),a=o.length,i=0;a>i;)T2.f(e,n=o[i++],r[n]);return e},xFe=wv("document","documentElement"),eK=RJ("IE_PROTO"),U_=function(){},tK=function(e){return"<script>"+e+"<\/script>"},az=function(e){e.write(tK("")),e.close();var t=e.parentWindow.Object;return e=null,t},Bm=function(){try{Z0=new ActiveXObject("htmlfile")}catch{}var e,t;Bm=typeof document<"u"?document.domain&&Z0?az(Z0):((t=Vx("iframe")).style.display="none",xFe.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(tK("document.F=Object")),e.close(),e.F):az(Z0);for(var n=cb.length;n--;)delete Bm.prototype[cb[n]];return Bm()};Yx[eK]=!0;var sz,H_,LFe=Object.create||function(e,t){var n;return e!==null?(U_.prototype=Ho(e),n=new U_,U_.prototype=null,n[eK]=e):n=Bm(),t===void 0?n:AFe(n,t)},PFe=ot.RegExp,$Fe=Hn(function(){var e=PFe(".","s");return!(e.dotAll&&e.exec(`
- `)&&e.flags==="s")}),jFe=ot.RegExp,TFe=Hn(function(){var e=jFe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),IFe=rO.get,NFe=zx("native-string-replace",String.prototype.replace),fb=RegExp.prototype.exec,aO=fb,BFe=St("".charAt),FFe=St("".indexOf),RFe=St("".replace),W_=St("".slice),V_=(H_=/b*/g,zn(fb,sz=/a/,"a"),zn(fb,H_,"a"),sz.lastIndex!==0||H_.lastIndex!==0),uz=QJ.BROKEN_CARET,q_=/()??/.exec("")[1]!==void 0;(V_||q_||uz||$Fe||TFe)&&(aO=function(e){var t,n,r,o,a,i,s,u=this,l=IFe(u),c=la(e),f=l.raw;if(f)return f.lastIndex=u.lastIndex,t=zn(aO,f,c),u.lastIndex=f.lastIndex,t;var d=l.groups,p=uz&&u.sticky,m=zn(XJ,u),y=u.source,g=0,v=c;if(p&&(m=RFe(m,"y",""),FFe(m,"g")===-1&&(m+="g"),v=W_(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&BFe(c,u.lastIndex-1)!==`
- `)&&(y="(?: "+y+")",v=" "+v,g++),n=new RegExp("^(?:"+y+")",m)),q_&&(n=new RegExp("^"+y+"$(?!\\s)",m)),V_&&(r=u.lastIndex),o=zn(fb,p?n:u,v),p?o?(o.input=W_(o.input,g),o[0]=W_(o[0],g),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:V_&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),q_&&o&&o.length>1&&zn(NFe,o[0],n,function(){for(a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(o[a]=void 0)}),o&&d)for(o.groups=i=LFe(null),a=0;a<d.length;a++)i[(s=d[a])[0]]=o[s[1]];return o});var Cg=aO;N2({target:"RegExp",proto:!0,forced:/./.exec!==Cg},{exec:Cg});var n9=Function.prototype,lz=n9.apply,MFe=n9.bind,cz=n9.call,zFe=typeof Reflect=="object"&&Reflect.apply||(MFe?cz.bind(lz):function(){return cz.apply(lz,arguments)}),UFe=Ys("species"),G_=RegExp.prototype,HFe=Ys("match"),WFe=ot.TypeError,VFe=Ys("species"),qFe=St("".charAt),fz=St("".charCodeAt),GFe=St("".slice),ZFe=function(e){return function(t,n){var r,o,a=la(If(t)),i=Xx(n),s=a.length;return i<0||i>=s?e?"":void 0:(r=fz(a,i))<55296||r>56319||i+1===s||(o=fz(a,i+1))<56320||o>57343?e?qFe(a,i):r:e?GFe(a,i,i+2):o-56320+(r-55296<<10)+65536}},YFe=ZFe(!0),JFe=function(e,t,n){return t+(n?YFe(e,t).length:1)},KFe=ot.Array,XFe=Math.max,dz=function(e,t,n){for(var r,o,a,i,s=Qx(e),u=oO(t,s),l=oO(n===void 0?s:n,s),c=KFe(XFe(l-u,0)),f=0;u<l;u++,f++)r=c,o=f,a=e[u],(i=qx(o))in r?T2.f(r,i,Gx(0,a)):r[i]=a;return c.length=f,c},QFe=ot.TypeError,pz=function(e,t){var n=e.exec;if(vr(n)){var r=zn(n,e,t);return r!==null&&Ho(r),r}if(Ds(e)==="RegExp")return zn(Cg,e,t);throw QFe("RegExp#exec called on incompatible receiver")},xc=QJ.UNSUPPORTED_Y,eRe=Math.min,nK=[].push,tRe=St(/./.exec),Lc=St(nK),Np=St("".slice);(function(e,t,n,r){var o=Ys(e),a=!Hn(function(){var l={};return l[o]=function(){return 7},""[e](l)!=7}),i=a&&!Hn(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[UFe]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!a||!i||n){var s=St(/./[o]),u=function(l,c,f){var d;return d="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(p,m){var y,g,v=la(If(this)),h=m===void 0?4294967295:m>>>0;if(h===0)return[];if(p===void 0)return[v];if(!ta(y=p)||!((g=y[HFe])!==void 0?g:Ds(y)=="RegExp"))return zn(c,v,p,h);for(var b,w,k,C=[],E=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(p.sticky?"y":""),D=0,A=new RegExp(p.source,E+"g");(b=zn(Cg,A,v))&&!((w=A.lastIndex)>D&&(Lc(C,Np(v,D,b.index)),b.length>1&&b.index<v.length&&zFe(nK,C,dz(b,1)),k=b[0].length,D=w,C.length>=h));)A.lastIndex===b.index&&A.lastIndex++;return D===v.length?!k&&tRe(A,"")||Lc(C,""):Lc(C,Np(v,D)),C.length>h?dz(C,0,h):C}:"0".split(void 0,0).length?function(p,m){return p===void 0&&m===0?[]:zn(c,this,p,m)}:c,[function(p,m){var y=If(this),g=p==null?void 0:FJ(p,l);return g?zn(g,p,y,m):zn(d,la(y),p,m)},function(p,m){var y=Ho(this),g=la(p),v=f(d,y,g,m,d!==c);if(v.done)return v.value;var h=function(ie,K){var te,F=Ho(ie).constructor;return F===void 0||(te=Ho(F)[VFe])==null?K:function(U){if(VJ(U))return U;throw WFe(NJ(U)+" is not a constructor")}(te)}(y,RegExp),b=y.unicode,w=(y.ignoreCase?"i":"")+(y.multiline?"m":"")+(y.unicode?"u":"")+(xc?"g":"y"),k=new h(xc?"^(?:"+y.source+")":y,w),C=m===void 0?4294967295:m>>>0;if(C===0)return[];if(g.length===0)return pz(k,g)===null?[g]:[];for(var E=0,D=0,A=[];D<g.length;){k.lastIndex=xc?0:D;var B,q=pz(k,xc?Np(g,D):g);if(q===null||(B=eRe(UJ(k.lastIndex+(xc?D:0)),g.length))===E)D=JFe(g,D,b);else{if(Lc(A,Np(g,E,D)),A.length===C)return A;for(var R=1;R<=q.length-1;R++)if(Lc(A,q[R]),A.length===C)return A;D=E=B}}return Lc(A,Np(g,E)),A}]}(o,""[e],function(l,c,f,d,p){var m=St(l),y=c.exec;return y===Cg||y===G_.exec?a&&!p?{done:!0,value:s(c,f,d)}:{done:!0,value:m(f,c,d)}:{done:!1}});Eg(String.prototype,e,u[0]),Eg(G_,o,u[1])}r&&Nf(G_[o],"sham",!0)})("split",0,!!Hn(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),N2({global:!0},{globalThis:ot}),mo&&(T.fn.attr=mo);var nRe=zJ.PROPER,sO=RegExp.prototype,rK=sO.toString,rRe=St(XJ),oRe=Hn(function(){return rK.call({source:"a",flags:"b"})!="/a/b"}),iRe=nRe&&rK.name!="toString";(oRe||iRe)&&Eg(RegExp.prototype,"toString",function(){var e=Ho(this),t=la(e.source),n=e.flags;return"/"+t+"/"+la(n===void 0&&IJ(sO,e)&&!("flags"in sO)?rRe(e):n)},{unsafe:!0});var aRe=function(){function e(){this.title=ke("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("codeSelectLang").codeLangs,o=r===void 0?[]:r;n.push({text:"plain text",value:""}),o.forEach(function(i){var s=i.text,u=i.value;n.push({text:s,value:u})});var a=this.getValue(t);return n.forEach(function(i){i.value===a?i.selected=!0:delete i.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);if(n==null||!$e.isElement(n))return"";var r=n.language.toString(),o=t.getMenuConfig("codeSelectLang").codeLangs;return(o===void 0?[]:o).some(function(a){return a.value===r})?r:""},e.prototype.isDisabled=function(t){return t.selection==null||!this.getSelectCodeElem(t)},e.prototype.exec=function(t,n){if(this.getSelectCodeElem(t)!=null){var r={language:n.toString()};Z.setNodes(t,r,{match:function(o){return P.checkNodeType(o,"code")}})}},e.prototype.getSelectCodeElem=function(t){var n=P.getSelectedNodeByType(t,"code");if(n==null)return null;var r=P.getParentNode(t,n);return $e.isElement(r)?r.type!=="pre"?null:n:null},e}(),sRe={renderStyle:function(e,t){var n=e,r=t,o="";return OFe.forEach(function(a){n[a]&&(o=a)}),o&&function(a,i){a.data==null&&(a.data={});var s=a.data;s.props==null&&(s.props={}),Object.assign(s.props,{className:i})}(r,o="token "+o),r},parseStyleHtml:function(e,t,n){var r=T(e);if(!$e.isElement(t)||P.getNodeType(t)!=="code")return t;var o=t,a=r.attr("class")||"";return a.indexOf("language-")===0?o.language=a.split("-")[1]||"":o.language=a.toLowerCase(),o},menus:[{key:"codeSelectLang",factory:function(){return new aRe},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=n===void 0?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},uRe=/"/g,lRe=St("".replace);N2({target:"String",proto:!0,forced:Hn(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=la(If(this)),r="<a",(r+=' name="'+lRe(la(t),uRe,""")+'"')+">"+n+"</a>";var t,n,r}});var oK=function(e){var t,n,r,o=function(v,h){var b=typeof Symbol=="function"&&v[Symbol.iterator];if(!b)return v;var w,k,C=b.call(v),E=[];try{for(;(h===void 0||h-- >0)&&!(w=C.next()).done;)E.push(w.value)}catch(D){k={error:D}}finally{try{w&&!w.done&&(b=C.return)&&b.call(C)}finally{if(k)throw k.error}}return E}(e,2),a=o[0],i=o[1],s=[],u=function(v){if(!Oe.isText(v))return null;var h=P.getParentNode(null,v);if(h&&P.getNodeType(h)==="code"){var b=P.getParentNode(null,h);if(b&&P.getNodeType(b)==="pre")return h}return null}(a);if(u==null)return s;var l=u.language,c=l===void 0?"":l;if(!c)return s;var f=function(v,h){if(!h)return[];var b=iz.languages[h];return b?iz.tokenize(v.text,b):[]}(a,c),d=0;try{for(var p=function(v){var h=typeof Symbol=="function"&&Symbol.iterator,b=h&&v[h],w=0;if(b)return b.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&w>=v.length&&(v=void 0),{value:v&&v[w++],done:!v}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),m=p.next();!m.done;m=p.next()){var y=m.value,g=d+KJ(y);typeof y!="string"&&s.push(((r={})[y.type]=!0,r.anchor={path:i,offset:d},r.focus={path:i,offset:g},r)),d=g}}catch(v){t={error:v}}finally{try{m&&!m.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return s},fn=function(){return fn=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},fn.apply(this,arguments)},tr=function(){function e(){throw new Error(`不能实例化
- Can not construct a instance`)}return e.setEditorConfig=function(t){t===void 0&&(t={}),this.editorConfig=fn(fn({},this.editorConfig),t)},e.setSimpleEditorConfig=function(t){t===void 0&&(t={}),this.simpleEditorConfig=fn(fn({},this.simpleEditorConfig),t)},e.setToolbarConfig=function(t){t===void 0&&(t={}),this.toolbarConfig=fn(fn({},this.toolbarConfig),t)},e.setSimpleToolbarConfig=function(t){t===void 0&&(t={}),this.simpleToolbarConfig=fn(fn({},this.simpleToolbarConfig),t)},e.registerPlugin=function(t){this.plugins.push(t)},e.registerMenu=function(t,n){(function(r,o){var a=r.key,i=r.factory,s=r.config,u=$o($o({},s),o||{});if(Z1[a]!=null)throw new Error("Duplicated key '"+a+"' in menu items");Z1[a]=i,function(l,c){c!=null&&(AV[l]=c)}(a,u)})(t,n)},e.registerRenderElem=function(t){(function(n){var r=n.type,o=n.renderElem;XV[r||""]=o})(t)},e.registerRenderStyle=function(t){(function(n){n8.push(n)})(t)},e.registerElemToHtml=function(t){(function(n){var r=n.type,o=n.elemToHtml;xV[r||""]=o})(t)},e.registerStyleToHtml=function(t){(function(n){J5.push(n)})(t)},e.registerPreParseHtml=function(t){(function(n){GV.push(n)})(t)},e.registerParseElemHtml=function(t){(function(n){var r=n.selector,o=n.parseElemHtml;K1[r]=o})(t)},e.registerParseStyleHtml=function(t){(function(n){v7.push(n)})(t)},e.registerModule=function(t){Eu(t)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */function Eu(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,a=e.styleToHtml,i=e.preParseHtml,s=e.parseElemsHtml,u=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(c){return tr.registerMenu(c)}),n&&n.forEach(function(c){return tr.registerRenderElem(c)}),r&&tr.registerRenderStyle(r),o&&o.forEach(function(c){return tr.registerElemToHtml(c)}),a&&tr.registerStyleToHtml(a),i&&i.forEach(function(c){return tr.registerPreParseHtml(c)}),s&&s.forEach(function(c){return tr.registerParseElemHtml(c)}),u&&tr.registerParseStyleHtml(u),l&&tr.registerPlugin(l)}g7e.forEach(function(e){return Eu(e)}),Eu(qxe),Eu(yPe),Eu(ATe),Eu(bBe),Eu(sRe);var iK='<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>',aK={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"]}},cRe={hoverbarKeys:fn(fn({},aK),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};tr.setEditorConfig(fn(fn({},cRe),{decorate:oK}));var fRe={hoverbarKeys:aK};tr.setSimpleEditorConfig(fn(fn({},fRe),{decorate:oK}));var dRe={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:ke("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:ke("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:ke("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:ke("editor.image"),iconSvg:iK,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:ke("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};tr.setToolbarConfig(dRe);var pRe={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:ke("editor.image"),iconSvg:iK,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function hRe(e){e===void 0&&(e={});var t=e.selector,n=t===void 0?"":t,r=e.content,o=r===void 0?[]:r,a=e.html,i=e.config,s=i===void 0?{}:i,u=e.mode,l=(u===void 0?"default":u)==="simple"?tr.simpleEditorConfig:tr.editorConfig,c=fn(fn({},l.hoverbarKeys||{}),s.hoverbarKeys||{});return b_e({selector:n,config:fn(fn(fn({},l),s),{hoverbarKeys:c}),content:o,html:a,plugins:tr.plugins})}tr.setSimpleToolbarConfig(pRe);var gRe=Object.defineProperty,vRe=Object.defineProperties,mRe=Object.getOwnPropertyDescriptors,hz=Object.getOwnPropertySymbols,yRe=Object.prototype.hasOwnProperty,bRe=Object.prototype.propertyIsEnumerable,gz=(e,t,n)=>t in e?gRe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wRe=(e,t)=>{for(var n in t||(t={}))yRe.call(t,n)&&gz(e,n,t[n]);if(hz)for(var n of hz(t))bRe.call(t,n)&&gz(e,n,t[n]);return e},kRe=(e,t)=>vRe(e,mRe(t));function Va(e){let t=`请使用 '@${e}' 事件,不要放在 props 中`;return t+=`
- Please use '@${e}' event instead of props`,t}var ERe=(e,t)=>{for(const[n,r]of t)e[n]=r;return e};const CRe=se({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=At(null),r=LO(null),o=At(""),a=()=>{if(!n.value)return;const s=oX(e.defaultContent);hRe({selector:n.value,mode:e.mode,content:s||[],html:e.defaultHtml||e.modelValue||"",config:kRe(wRe({},e.defaultConfig),{onCreated(u){if(r.value=u,t.emit("onCreated",u),e.defaultConfig.onCreated){const l=Va("onCreated");throw new Error(l)}},onChange(u){const l=u.getHtml();if(o.value=l,t.emit("update:modelValue",l),t.emit("onChange",u),e.defaultConfig.onChange){const c=Va("onChange");throw new Error(c)}},onDestroyed(u){if(t.emit("onDestroyed",u),e.defaultConfig.onDestroyed){const l=Va("onDestroyed");throw new Error(l)}},onMaxLength(u){if(t.emit("onMaxLength",u),e.defaultConfig.onMaxLength){const l=Va("onMaxLength");throw new Error(l)}},onFocus(u){if(t.emit("onFocus",u),e.defaultConfig.onFocus){const l=Va("onFocus");throw new Error(l)}},onBlur(u){if(t.emit("onBlur",u),e.defaultConfig.onBlur){const l=Va("onBlur");throw new Error(l)}},customAlert(u,l){if(t.emit("customAlert",u,l),e.defaultConfig.customAlert){const c=Va("customAlert");throw new Error(c)}},customPaste:(u,l)=>{if(e.defaultConfig.customPaste){const f=Va("customPaste");throw new Error(f)}let c;return t.emit("customPaste",u,l,f=>{c=f}),c}})})};function i(s){const u=r.value;u!=null&&u.setHtml(s)}return zs(()=>{a()}),ca(()=>e.modelValue,s=>{s!==o.value&&i(s)}),{box:n}}}),SRe={ref:"box",style:{height:"100%"}};function _Re(e,t,n,r,o,a){return X(),oe("div",SRe,null,512)}var ORe=ERe(CRe,[["render",_Re]]);const DRe={__name:"Editor",props:{content:{type:String,default:"欢迎"},editor_style:{type:Object,default:()=>({width:"100%",height:"100%",padding:"10px 20px"})}},setup(e){const t=e,n=LO(),r=At(t.content);ca(()=>t.content,u=>{r.value=t.content},{immediate:!0});const o={key:"custom-btn",title:"自定义按钮",iconSvg:"<svg ...></svg>",command:()=>{const u=n.value;if(!u)return;const l=u.getSelectionText();alert(`你选中的文本是: ${l}`)}};zs(()=>{setTimeout(()=>{},1500)});const i={placeholder:"请输入内容...",toolbarConfig:{toolbarKeys:["bold","italic","underline","custom-btn"],customButtons:[o]}};xO(()=>{const u=n.value;u!=null&&u.destroy()});const s=u=>{n.value=u};return(u,l)=>(X(),Ao(iX(ORe),{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=c=>r.value=c),defaultConfig:i,mode:u.mode,onOnCreated:s,style:ce(e.editor_style)},null,8,["modelValue","mode","style"]))}},ARe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},xRe={class:"box"},LRe=`
- # 一体机 (AIO)
- ## 定义
- - 集成系统
- - 显示器
- - 基本特点
- - 显示技术
- - 液晶显示器(LCD)
- - TN
- - IPS
- - VA
- - 有机发光二极管显示器(OLED)
- - 微型LED显示器(MicroLED)
- - 分辨率
- - 1080p (1920x1080)
- - 2K (2560x1440)
- - 4K (3840x2160)
- - 刷新率
- - 60Hz
- - 75Hz
- - 120Hz
- - 144Hz
- - 响应时间
- - 减少图像拖影
- - 提高动态画面清晰度
- - 接口类型
- - VGA
- - DVI
- - HDMI
- - DisplayPort
- - 分类
- - 按用途
- - 普通显示器
- - 专业显示器
- - 游戏显示器
- - 按尺寸
- - 21.5英寸
- - 24英寸
- - 27英寸
- - 32英寸
- - 按曲率
- - 平面显示器
- - 曲面显示器
- - 适用范围
- - 个人电脑
- - 笔记本电脑
- - 电视
- - 手机
- - 平板电脑
- - 主板
- - 处理器
- - 内存
- - 存储设备
- - 电源
- ## 特点
- - 紧凑设计
- - 节省空间
- - 整洁环境
- - 易于安装和维护
- - 快速连接
- - 集成组件
- - 外观美观
- - 现代化设计
- - 适合装饰
- - 性能多样
- - 办公应用
- - 图形处理
- - 游戏
- - 扩展性有限
- - 内部空间小
- - 升级能力低
- ## 适用范围
- - 办公
- - 家庭娱乐
- - 教育
- `,PRe={__name:"Home",setup(e){At(!1);const t=At("");return At({width:"100%",height:"100%"}),At({width:"100%",height:"100%"}),At(null),At(null),zs(()=>{t.value=LRe}),(n,r)=>(X(),oe(mb,null,[r[0]||(r[0]=G("div",null,"SmartAI",-1)),G("div",xRe,[Yi(DRe)])],64))}},sK=ARe(PRe,[["__scopeId","data-v-a23cee02"]]),$Re=Object.freeze(Object.defineProperty({__proto__:null,default:sK},Symbol.toStringTag,{value:"Module"})),jRe=[{path:"/",component:sK,redirect:"/xiaoshu"},{path:"/login",component:()=>Ye(()=>import("./Login-J5XPIE_T.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]))},{path:"/reg",component:()=>Ye(()=>import("./Register-BVmG2tSo.js"),__vite__mapDeps([22,2]))},{path:"/chat/voice",component:()=>Ye(()=>import("./ConversationVoice-BtR91APG.js"),__vite__mapDeps([23,24,2,25,26,27,28,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,40,41,7,42,43,44]))},{path:"/settings",component:()=>Ye(()=>import("./Settings-BI1v2Z93.js"),__vite__mapDeps([45,30,2,31,26,27,28,29,1,32,5,6,33,15,16,34,21,35,36,37,38,39,46,9,11,47,4,7,48,43])),children:[{path:"profile",component:()=>Ye(()=>import("./SettingsProfile-DWTEHymq.js"),__vite__mapDeps([49,2]))},{path:"password",component:()=>Ye(()=>import("./SettingsPassword-BbsKLFZZ.js"),__vite__mapDeps([50,3,2,4,5,6,7,8,9,10,11,12,13,28,29,17,18,16,14,51,21]))},{path:"phone",component:()=>Ye(()=>import("./SettingsPhone-DSBuqSoR.js"),__vite__mapDeps([52,2]))},{path:"email",component:()=>Ye(()=>import("./SettingsEmail-D84n3wSS.js"),__vite__mapDeps([53,2]))},{path:"global",component:()=>Ye(()=>import("./SettingsGlobal-DUFS_PRg.js"),__vite__mapDeps([54,3,2,4,5,6,7,8,9,10,11,12,13,28,29,55,56,57,30,31,58,59,60,61,62,47,63,1,17,18,16,19,64,21,43]))}]},{path:"/denied",component:()=>Ye(()=>import("./Denied-Dx1y9-Ia.js"),__vite__mapDeps([65,66,2,60,67,28,29,68,21]))}],TRe="dmx_";class ql{constructor(t){if(!t)throw new Error("非法的key,无法创建Storage");this.key=TRe+t}getItem(){return localStorage.getItem(this.key)}setItem(t){localStorage.setItem(this.key,t)}removeItem(){localStorage.removeItem(this.key)}}/*! js-cookie v3.0.5 | MIT */function Y0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var IRe={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function uO(e,t){function n(o,a,i){if(!(typeof document>"u")){i=Y0({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var u in i)i[u]&&(s+="; "+u,i[u]!==!0&&(s+="="+i[u].split(";")[0]));return document.cookie=o+"="+e.write(a,o)+s}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var a=document.cookie?document.cookie.split("; "):[],i={},s=0;s<a.length;s++){var u=a[s].split("="),l=u.slice(1).join("=");try{var c=decodeURIComponent(u[0]);if(i[c]=e.read(l,c),o===c)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:r,remove:function(o,a){n(o,"",Y0({},a,{expires:-1}))},withAttributes:function(o){return uO(this.converter,Y0({},this.attributes,o))},withConverter:function(o){return uO(Y0({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Z_=uO(IRe,{path:"/"});const NRe="dmx_";class uK{constructor(t){if(!t)throw new Error("非法的key,无法创建cookie");this.key=NRe+t}get(){return Z_.get(this.key)}set(t){Z_.set(this.key,t)}remove(){Z_.remove(this.key)}}const r9=new ql("theme"),BRe=new ql("locale"),tWe=new ql("recent_agent"),nWe=new ql("full_agent"),Fm=new ql("user_info"),lK=new ql("routes_list"),rWe=new ql("recent_search_type");new uK("user_name");const o9=new uK("token"),vz=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((o,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},Rm=e=>e&&e in window?window[e]:null,oWe=e=>JSON.stringify(e),FRe=e=>{try{return JSON.parse(e)}catch(t){return console.log(t),null}},iWe=(e,t,n)=>{if(typeof e!="function")return new Error("debounce func is not a function");typeof n===void 0&&(n=!1);let r;return function(...o){const a=this;r&&clearTimeout(r),n&&!r&&e.apply(a,o),r=setTimeout(function(){r=null,n||e.apply(a,o)},t)}},aWe=(e,t)=>{if(typeof e!="function")throw new Error(`${e} is not a function`);let n=0,r=null;return function(...o){const a=this,s=t-(new Date-n);s<=0?(e.call(a,...o),n=new Date,clearTimeout(r),r=null):r||(r=setTimeout(function(){clearTimeout(r),r=null,e.call(a,...o),n=new Date},s))}},sWe=e=>{{const t=Rm("ASSETS_BASE_URL");if(e.indexOf("http")===0){const r=new URL(e).origin;return e.replace(r,t)}else return`${t}${e}`}},uWe=e=>{try{const t=Fm.getItem();if(!t)return!1;const n=JSON.parse(t);return!n||!Array.isArray(n.permissions)?!1:n.permissions.includes("*:*:*")?!0:n.permissions.includes(e)}catch(t){return console.error("错误信息:",t),!1}},lWe=e=>{const t=lK.getItem(),n=FRe(t);if(!n)return!1;let r=0;if(e.indexOf("/")===0&&(r=1),e.indexOf(":")>0&&(r=2),r===0)return!1;const o=n.length;for(let a=0;a<o;a++){const i=n[a];if(r===1&&i.path===e)return!0;if(r===2){const s=i.perms;if(e===s)return!0}}return!1},RRe=e=>{const t=[];function n(o){if(o.path==="-"||o.component==="-")return null;const a={path:o.path,component:o.component.split("layout/")[1]?()=>vz(Object.assign({"../views/layout/ContentContainer.vue":()=>Ye(()=>import("./ContentContainer-PNEDKuib.js"),__vite__mapDeps([38,2,39])),"../views/layout/LayoutExperience.vue":()=>Ye(()=>import("./LayoutExperience-Ko10FIuX.js"),__vite__mapDeps([26,27,28,2,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37])),"../views/layout/LayoutPermission.vue":()=>Ye(()=>import("./LayoutPermission-By_6sw3t.js"),__vite__mapDeps([69,27,28,2,29,1,30,31,32,5,6,33,15,16,34,21,35,36,70]))}),`../views/layout/${o.component.split("layout/")[1]}.vue`,5):()=>vz(Object.assign({"../views/AISearch.vue":()=>Ye(()=>import("./AISearch-DzXp3qiO.js"),__vite__mapDeps([71,26,27,28,2,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,72,66,60,67,24,25,73,74,75,76,10,11,12,56,77,78,79,80,81,82,47,83,84,46,9,85,86,87,88,59,19,7,8,89,58,61,90,91,92,17,18,93,94,43])),"../views/Conversation.vue":()=>Ye(()=>import("./Conversation-Ci0ffNAk.js"),__vite__mapDeps([95,26,27,28,2,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,40,41,7,42,43])),"../views/ConversationBoard.vue":()=>Ye(()=>import("./ConversationBoard-CxMBM_22.js"),__vite__mapDeps([96,2,26,27,28,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,40,41,7,42,43,66,60,67,24,25,97,98,99,94])),"../views/ConversationHistory.vue":()=>Ye(()=>import("./ConversationHistory-B6Smb_MA.js"),__vite__mapDeps([100,2,26,27,28,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,40,41,7,42,43,66,60,67,24,25,17,18,97,98,101,94])),"../views/ConversationQA.vue":()=>Ye(()=>import("./ConversationQA-Bovcyvjc.js"),__vite__mapDeps([102,66,2,60,67,28,29,26,27,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,40,41,7,42,43,24,25,72,73,17,18,62,59,58,61,11,47,63,90,91,55,56,10,12,57,76,77,78,79,103,3,4,8,9,13,104,19,105,106,98,107,94])),"../views/ConversationVoice.vue":()=>Ye(()=>import("./ConversationVoice-BtR91APG.js"),__vite__mapDeps([23,24,2,25,26,27,28,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,40,41,7,42,43,44])),"../views/Denied.vue":()=>Ye(()=>import("./Denied-Dx1y9-Ia.js"),__vite__mapDeps([65,66,2,60,67,28,29,68,21])),"../views/DifyDetail.vue":()=>Ye(()=>import("./DifyDetail-BGfSbA30.js"),__vite__mapDeps([108,2,26,27,28,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,109,110,24,25,111])),"../views/Home.vue":()=>Ye(()=>Promise.resolve().then(()=>$Re),void 0),"../views/Intelligent.vue":()=>Ye(()=>import("./Intelligent-DMBP0kGR.js"),__vite__mapDeps([112,26,27,28,2,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,113,41,114,10,11,12,76,56,24,25,77,78,79,17,18,115,55,57,116,19,3,4,7,8,9,13,117,87,88,59,83,89,118,119,120,121,122,80,81,103,123,124,125,126,127,94,43,128])),"../views/Knowledge.vue":()=>Ye(()=>import("./Knowledge-BfuPyfVv.js"),__vite__mapDeps([129,26,27,28,2,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,113,41,114,10,11,12,17,18,55,56,57,115,116,103,19,24,25,125,126,130,94])),"../views/KnowledgeDetail.vue":()=>Ye(()=>import("./KnowledgeDetail-B230Rvpn.js"),__vite__mapDeps([131,2,26,27,28,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,109,110,117,56,87,76,10,11,12,24,25,77,78,79,88,59,19,83,7,8,89,118,74,75,123,124,121,122,105,106,3,4,9,13,90,91,80,81,116,103,58,60,61,62,47,63,17,18,119,120,55,57,85,86,132,133,125,126,134,94,43,128])),"../views/Login.vue":()=>Ye(()=>import("./Login-J5XPIE_T.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])),"../views/Model.vue":()=>Ye(()=>import("./Model-Dz5uDBL0.js"),__vite__mapDeps([135,26,27,28,2,29,1,30,31,32,5,6,33,15,16,34,21,35,36,37,38,39,113,41,114,136])),"../views/PermissionAccount.vue":()=>Ye(()=>import("./PermissionAccount-Bv_-la6r.js"),__vite__mapDeps([137,38,2,39,138,109,32,5,6,30,31,110,139,21,24,25,74,75,123,124,121,122,17,18,140,10,11,12,76,56,77,78,79,87,88,59,19,83,7,8,89,28,29,141,94,35,43,36,3,4,9,13,80,81,82,47,84,125,126,16,92,142])),"../views/PermissionGroup.vue":()=>Ye(()=>import("./PermissionGroup-X68EQPEn.js"),__vite__mapDeps([143,38,2,39,138,109,32,5,6,30,31,110,139,21,24,25,74,75,121,122,17,18,140,10,11,12,76,56,77,78,79,87,88,59,19,83,7,8,89,28,29,141,94,35,43,36,3,4,9,13,55,57,132,133,80,81,117,118,125,126,92,144])),"../views/PermissionOrganization.vue":()=>Ye(()=>import("./PermissionOrganization-C9Io7Hw5.js"),__vite__mapDeps([145,38,2,39,138,109,32,5,6,30,31,110,139,21,24,25,74,75,17,18,146,77,78,82,47,83,11,84,125,126,7,147,43,3,4,8,9,10,12,13,28,29,121,122,19,92,148])),"../views/PermissionResource.vue":()=>Ye(()=>import("./PermissionResource-CrgKU2sf.js"),__vite__mapDeps([149,38,2,39,138,109,32,5,6,30,31,110,139,21,24,25,74,75,17,18,146,77,78,82,47,83,11,84,125,126,7,147,43,3,4,8,9,10,12,13,28,29,76,56,79,121,122,90,91,19,88,59,150,151,94,35,128])),"../views/PermissionRole.vue":()=>Ye(()=>import("./PermissionRole-CnU16xAl.js"),__vite__mapDeps([152,38,2,39,138,109,32,5,6,30,31,110,139,21,24,25,74,75,121,122,17,18,140,10,11,12,76,56,77,78,79,87,88,59,19,83,7,8,89,28,29,141,94,35,43,36,3,4,9,13,55,57,82,47,84,125,126,150,92,153])),"../views/Register.vue":()=>Ye(()=>import("./Register-BVmG2tSo.js"),__vite__mapDeps([22,2])),"../views/Settings.vue":()=>Ye(()=>import("./Settings-BI1v2Z93.js"),__vite__mapDeps([45,30,2,31,26,27,28,29,1,32,5,6,33,15,16,34,21,35,36,37,38,39,46,9,11,47,4,7,48,43])),"../views/SettingsEmail.vue":()=>Ye(()=>import("./SettingsEmail-D84n3wSS.js"),__vite__mapDeps([53,2])),"../views/SettingsGlobal.vue":()=>Ye(()=>import("./SettingsGlobal-DUFS_PRg.js"),__vite__mapDeps([54,3,2,4,5,6,7,8,9,10,11,12,13,28,29,55,56,57,30,31,58,59,60,61,62,47,63,1,17,18,16,19,64,21,43])),"../views/SettingsPassword.vue":()=>Ye(()=>import("./SettingsPassword-BbsKLFZZ.js"),__vite__mapDeps([50,3,2,4,5,6,7,8,9,10,11,12,13,28,29,17,18,16,14,51,21])),"../views/SettingsPhone.vue":()=>Ye(()=>import("./SettingsPhone-DSBuqSoR.js"),__vite__mapDeps([52,2])),"../views/SettingsProfile.vue":()=>Ye(()=>import("./SettingsProfile-DWTEHymq.js"),__vite__mapDeps([49,2])),"../views/Xiaoshu.vue":()=>Ye(()=>import("./Xiaoshu-CpBEnRRB.js"),__vite__mapDeps([154,2,38,39,33,15,16]))}),`../views/${o.component}.vue`,3)};return o.children&&o.children.length>0&&(a.children=o.children.map(i=>n(i)).filter(i=>i!==null)),a}function r(o){const a=n(o);a!==null&&t.push(a)}return e&&Array.isArray(e)&&e.forEach(o=>{r(o)}),t},MRe=e=>{let t=[];function n(r){r.forEach(o=>{t.push(o),o.children&&n(o.children)})}return n(e),t};let mz=[],Y_=[],J_=[];const zRe=()=>{try{mz=JSON.parse(lK.getItem())}catch(e){console.error("路由解析错误:",e)}return Y_=RRe(mz),J_=MRe(Y_),{accessRoutes:Y_,accessFlatRoutes:J_,firstAccessibleRoute:J_[0]}},URe=e=>e.filter(t=>t.status==="1").map(t=>({...t,children:t.children?URe(t.children):[]})),db=aX({history:sX(),routes:[...jRe],scrollBehavior:()=>({left:0,top:0})}),HRe=["/login","/reg","/denied","/chat/voice"],WRe=["/settings","/settings/global","/settings/password"];let lO=!1;const cWe=()=>{lO=!1};let yz=[];db.beforeEach(async(e,t,n)=>{const r=o9.get(),o=e.path==="/login",a=HRe.includes(e.path),i=WRe.includes(e.path);if(r){if(!lO){const{accessRoutes:u,accessFlatRoutes:l,firstAccessibleRoute:c}=await zRe();u.forEach(f=>{f.path&&f.component&&db.addRoute(f)}),yz=l,lO=!0,n({path:e.path,replace:!0});return}const s=yz.some(u=>u.path==e.path);o?n("/"):i?n():!s&&!a?n("/denied"):n()}else i?n("/login"):a?n():n("/login")});function bz(e,t){try{if(typeof Fm>"u"||typeof Fm.getItem!="function"){console.error("localST_UserInfo 或 getItem 方法未定义");return}const n=Fm.getItem();if(typeof n!="string"){console.error("用户权限不是字符串格式");return}let r;try{r=JSON.parse(n).permissions}catch(a){console.error("解析用户信息时发生错误:",a);return}if(!Array.isArray(r)){console.error("权限不是数组格式");return}const o=t.value;if(o===void 0){console.error("按钮权限未定义");return}!r.includes("*:*:*")&&!r.includes(o)&&(e.style.display="none")}catch(n){console.error("hasPermissionDirective 中发生错误:",n)}}const VRe={mounted(e,t){bz(e,t)},updated(e,t){bz(e,t)}},qRe={install(e){e.directive("hasPermi",VRe)}};/*!
- * shared v10.0.5
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */const pb=typeof window<"u",Js=(e,t=!1)=>t?Symbol.for(e):Symbol(e),GRe=(e,t,n)=>ZRe({l:e,k:t,s:n}),ZRe=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),pn=e=>typeof e=="number"&&isFinite(e),YRe=e=>i9(e)==="[object Date]",Bf=e=>i9(e)==="[object RegExp]",B2=e=>at(e)&&Object.keys(e).length===0,In=Object.assign,JRe=Object.create,It=(e=null)=>JRe(e);let wz;const Iu=()=>wz||(wz=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:It());function kz(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const KRe=Object.prototype.hasOwnProperty;function Bo(e,t){return KRe.call(e,t)}const on=Array.isArray,qt=e=>typeof e=="function",Le=e=>typeof e=="string",kt=e=>typeof e=="boolean",Ct=e=>e!==null&&typeof e=="object",XRe=e=>Ct(e)&&qt(e.then)&&qt(e.catch),cK=Object.prototype.toString,i9=e=>cK.call(e),at=e=>i9(e)==="[object Object]",QRe=e=>e==null?"":on(e)||at(e)&&e.toString===cK?JSON.stringify(e,null,2):String(e);function a9(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function eMe(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const J0=e=>!Ct(e)||on(e);function Mm(e,t){if(J0(e)||J0(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(a=>{a!=="__proto__"&&(Ct(r[a])&&!Ct(o[a])&&(o[a]=Array.isArray(r[a])?[]:It()),J0(o[a])||J0(r[a])?o[a]=r[a]:n.push({src:r[a],des:o[a]}))})}}/*!
- * message-compiler v10.0.5
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */function tMe(e,t,n){return{line:e,column:t,offset:n}}function cO(e,t,n){return{start:e,end:t}}const Dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},nMe=17;function F2(e,t,n={}){const{domain:r,messages:o,args:a}=n,i=e,s=new SyntaxError(String(i));return s.code=e,t&&(s.location=t),s.domain=r,s}function rMe(e){throw e}const qi=" ",oMe="\r",dr=`
- `,iMe="\u2028",aMe="\u2029";function sMe(e){const t=e;let n=0,r=1,o=1,a=0;const i=E=>t[E]===oMe&&t[E+1]===dr,s=E=>t[E]===dr,u=E=>t[E]===aMe,l=E=>t[E]===iMe,c=E=>i(E)||s(E)||u(E)||l(E),f=()=>n,d=()=>r,p=()=>o,m=()=>a,y=E=>i(E)||u(E)||l(E)?dr:t[E],g=()=>y(n),v=()=>y(n+a);function h(){return a=0,c(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function b(){return i(n+a)&&a++,a++,t[n+a]}function w(){n=0,r=1,o=1,a=0}function k(E=0){a=E}function C(){const E=n+a;for(;E!==n;)h();a=0}return{index:f,line:d,column:p,peekOffset:m,charAt:y,currentChar:g,currentPeek:v,next:h,peek:b,reset:w,resetPeek:k,skipToPeek:C}}const qa=void 0,uMe=".",Ez="'",lMe="tokenizer";function cMe(e,t={}){const n=t.location!==!1,r=sMe(e),o=()=>r.index(),a=()=>tMe(r.line(),r.column(),r.index()),i=a(),s=o(),u={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},l=()=>u,{onError:c}=t;function f($,N,ge,...me){const lt=l();if(N.column+=ge,N.offset+=ge,c){const Fe=n?cO(lt.startLoc,N):null,ne=F2($,Fe,{domain:lMe,args:me});c(ne)}}function d($,N,ge){$.endLoc=a(),$.currentType=N;const me={type:N};return n&&(me.loc=cO($.startLoc,$.endLoc)),ge!=null&&(me.value=ge),me}const p=$=>d($,13);function m($,N){return $.currentChar()===N?($.next(),N):(f(Dt.EXPECTED_TOKEN,a(),0,N),"")}function y($){let N="";for(;$.currentPeek()===qi||$.currentPeek()===dr;)N+=$.currentPeek(),$.peek();return N}function g($){const N=y($);return $.skipToPeek(),N}function v($){if($===qa)return!1;const N=$.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N===95}function h($){if($===qa)return!1;const N=$.charCodeAt(0);return N>=48&&N<=57}function b($,N){const{currentType:ge}=N;if(ge!==2)return!1;y($);const me=v($.currentPeek());return $.resetPeek(),me}function w($,N){const{currentType:ge}=N;if(ge!==2)return!1;y($);const me=$.currentPeek()==="-"?$.peek():$.currentPeek(),lt=h(me);return $.resetPeek(),lt}function k($,N){const{currentType:ge}=N;if(ge!==2)return!1;y($);const me=$.currentPeek()===Ez;return $.resetPeek(),me}function C($,N){const{currentType:ge}=N;if(ge!==7)return!1;y($);const me=$.currentPeek()===".";return $.resetPeek(),me}function E($,N){const{currentType:ge}=N;if(ge!==8)return!1;y($);const me=v($.currentPeek());return $.resetPeek(),me}function D($,N){const{currentType:ge}=N;if(!(ge===7||ge===11))return!1;y($);const me=$.currentPeek()===":";return $.resetPeek(),me}function A($,N){const{currentType:ge}=N;if(ge!==9)return!1;const me=()=>{const Fe=$.currentPeek();return Fe==="{"?v($.peek()):Fe==="@"||Fe==="|"||Fe===":"||Fe==="."||Fe===qi||!Fe?!1:Fe===dr?($.peek(),me()):q($,!1)},lt=me();return $.resetPeek(),lt}function B($){y($);const N=$.currentPeek()==="|";return $.resetPeek(),N}function q($,N=!0){const ge=(lt=!1,Fe="")=>{const ne=$.currentPeek();return ne==="{"||ne==="@"||!ne?lt:ne==="|"?!(Fe===qi||Fe===dr):ne===qi?($.peek(),ge(!0,qi)):ne===dr?($.peek(),ge(!0,dr)):!0},me=ge();return N&&$.resetPeek(),me}function R($,N){const ge=$.currentChar();return ge===qa?qa:N(ge)?($.next(),ge):null}function ie($){const N=$.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36}function K($){return R($,ie)}function te($){const N=$.charCodeAt(0);return N>=97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===95||N===36||N===45}function F($){return R($,te)}function U($){const N=$.charCodeAt(0);return N>=48&&N<=57}function Y($){return R($,U)}function I($){const N=$.charCodeAt(0);return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function j($){return R($,I)}function _($){let N="",ge="";for(;N=Y($);)ge+=N;return ge}function O($){let N="";for(;;){const ge=$.currentChar();if(ge==="{"||ge==="}"||ge==="@"||ge==="|"||!ge)break;if(ge===qi||ge===dr)if(q($))N+=ge,$.next();else{if(B($))break;N+=ge,$.next()}else N+=ge,$.next()}return N}function L($){g($);let N="",ge="";for(;N=F($);)ge+=N;return $.currentChar()===qa&&f(Dt.UNTERMINATED_CLOSING_BRACE,a(),0),ge}function M($){g($);let N="";return $.currentChar()==="-"?($.next(),N+=`-${_($)}`):N+=_($),$.currentChar()===qa&&f(Dt.UNTERMINATED_CLOSING_BRACE,a(),0),N}function J($){return $!==Ez&&$!==dr}function W($){g($),m($,"'");let N="",ge="";for(;N=R($,J);)N==="\\"?ge+=he($):ge+=N;const me=$.currentChar();return me===dr||me===qa?(f(Dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),me===dr&&($.next(),m($,"'")),ge):(m($,"'"),ge)}function he($){const N=$.currentChar();switch(N){case"\\":case"'":return $.next(),`\\${N}`;case"u":return Ee($,N,4);case"U":return Ee($,N,6);default:return f(Dt.UNKNOWN_ESCAPE_SEQUENCE,a(),0,N),""}}function Ee($,N,ge){m($,N);let me="";for(let lt=0;lt<ge;lt++){const Fe=j($);if(!Fe){f(Dt.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${N}${me}${$.currentChar()}`);break}me+=Fe}return`\\${N}${me}`}function De($){return $!=="{"&&$!=="}"&&$!==qi&&$!==dr}function Ae($){g($);let N="",ge="";for(;N=R($,De);)ge+=N;return ge}function pe($){let N="",ge="";for(;N=K($);)ge+=N;return ge}function Ve($){const N=ge=>{const me=$.currentChar();return me==="{"||me==="@"||me==="|"||me==="("||me===")"||!me||me===qi?ge:(ge+=me,$.next(),N(ge))};return N("")}function Ne($){g($);const N=m($,"|");return g($),N}function xe($,N){let ge=null;switch($.currentChar()){case"{":return N.braceNest>=1&&f(Dt.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),$.next(),ge=d(N,2,"{"),g($),N.braceNest++,ge;case"}":return N.braceNest>0&&N.currentType===2&&f(Dt.EMPTY_PLACEHOLDER,a(),0),$.next(),ge=d(N,3,"}"),N.braceNest--,N.braceNest>0&&g($),N.inLinked&&N.braceNest===0&&(N.inLinked=!1),ge;case"@":return N.braceNest>0&&f(Dt.UNTERMINATED_CLOSING_BRACE,a(),0),ge=Be($,N)||p(N),N.braceNest=0,ge;default:{let lt=!0,Fe=!0,ne=!0;if(B($))return N.braceNest>0&&f(Dt.UNTERMINATED_CLOSING_BRACE,a(),0),ge=d(N,1,Ne($)),N.braceNest=0,N.inLinked=!1,ge;if(N.braceNest>0&&(N.currentType===4||N.currentType===5||N.currentType===6))return f(Dt.UNTERMINATED_CLOSING_BRACE,a(),0),N.braceNest=0,$t($,N);if(lt=b($,N))return ge=d(N,4,L($)),g($),ge;if(Fe=w($,N))return ge=d(N,5,M($)),g($),ge;if(ne=k($,N))return ge=d(N,6,W($)),g($),ge;if(!lt&&!Fe&&!ne)return ge=d(N,12,Ae($)),f(Dt.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,ge.value),g($),ge;break}}return ge}function Be($,N){const{currentType:ge}=N;let me=null;const lt=$.currentChar();switch((ge===7||ge===8||ge===11||ge===9)&&(lt===dr||lt===qi)&&f(Dt.INVALID_LINKED_FORMAT,a(),0),lt){case"@":return $.next(),me=d(N,7,"@"),N.inLinked=!0,me;case".":return g($),$.next(),d(N,8,".");case":":return g($),$.next(),d(N,9,":");default:return B($)?(me=d(N,1,Ne($)),N.braceNest=0,N.inLinked=!1,me):C($,N)||D($,N)?(g($),Be($,N)):E($,N)?(g($),d(N,11,pe($))):A($,N)?(g($),lt==="{"?xe($,N)||me:d(N,10,Ve($))):(ge===7&&f(Dt.INVALID_LINKED_FORMAT,a(),0),N.braceNest=0,N.inLinked=!1,$t($,N))}}function $t($,N){let ge={type:13};if(N.braceNest>0)return xe($,N)||p(N);if(N.inLinked)return Be($,N)||p(N);switch($.currentChar()){case"{":return xe($,N)||p(N);case"}":return f(Dt.UNBALANCED_CLOSING_BRACE,a(),0),$.next(),d(N,3,"}");case"@":return Be($,N)||p(N);default:{if(B($))return ge=d(N,1,Ne($)),N.braceNest=0,N.inLinked=!1,ge;if(q($))return d(N,0,O($));break}}return ge}function tt(){const{currentType:$,offset:N,startLoc:ge,endLoc:me}=u;return u.lastType=$,u.lastOffset=N,u.lastStartLoc=ge,u.lastEndLoc=me,u.offset=o(),u.startLoc=a(),r.currentChar()===qa?d(u,13):$t(r,u)}return{nextToken:tt,currentOffset:o,currentPosition:a,context:l}}const fMe="parser",dMe=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function pMe(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function hMe(e={}){const t=e.location!==!1,{onError:n}=e;function r(v,h,b,w,...k){const C=v.currentPosition();if(C.offset+=w,C.column+=w,n){const E=t?cO(b,C):null,D=F2(h,E,{domain:fMe,args:k});n(D)}}function o(v,h,b){const w={type:v};return t&&(w.start=h,w.end=h,w.loc={start:b,end:b}),w}function a(v,h,b,w){t&&(v.end=h,v.loc&&(v.loc.end=b))}function i(v,h){const b=v.context(),w=o(3,b.offset,b.startLoc);return w.value=h,a(w,v.currentOffset(),v.currentPosition()),w}function s(v,h){const b=v.context(),{lastOffset:w,lastStartLoc:k}=b,C=o(5,w,k);return C.index=parseInt(h,10),v.nextToken(),a(C,v.currentOffset(),v.currentPosition()),C}function u(v,h){const b=v.context(),{lastOffset:w,lastStartLoc:k}=b,C=o(4,w,k);return C.key=h,v.nextToken(),a(C,v.currentOffset(),v.currentPosition()),C}function l(v,h){const b=v.context(),{lastOffset:w,lastStartLoc:k}=b,C=o(9,w,k);return C.value=h.replace(dMe,pMe),v.nextToken(),a(C,v.currentOffset(),v.currentPosition()),C}function c(v){const h=v.nextToken(),b=v.context(),{lastOffset:w,lastStartLoc:k}=b,C=o(8,w,k);return h.type!==11?(r(v,Dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),C.value="",a(C,w,k),{nextConsumeToken:h,node:C}):(h.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ei(h)),C.value=h.value||"",a(C,v.currentOffset(),v.currentPosition()),{node:C})}function f(v,h){const b=v.context(),w=o(7,b.offset,b.startLoc);return w.value=h,a(w,v.currentOffset(),v.currentPosition()),w}function d(v){const h=v.context(),b=o(6,h.offset,h.startLoc);let w=v.nextToken();if(w.type===8){const k=c(v);b.modifier=k.node,w=k.nextConsumeToken||v.nextToken()}switch(w.type!==9&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(w)),w=v.nextToken(),w.type===2&&(w=v.nextToken()),w.type){case 10:w.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(w)),b.key=f(v,w.value||"");break;case 4:w.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(w)),b.key=u(v,w.value||"");break;case 5:w.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(w)),b.key=s(v,w.value||"");break;case 6:w.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(w)),b.key=l(v,w.value||"");break;default:{r(v,Dt.UNEXPECTED_EMPTY_LINKED_KEY,h.lastStartLoc,0);const k=v.context(),C=o(7,k.offset,k.startLoc);return C.value="",a(C,k.offset,k.startLoc),b.key=C,a(b,k.offset,k.startLoc),{nextConsumeToken:w,node:b}}}return a(b,v.currentOffset(),v.currentPosition()),{node:b}}function p(v){const h=v.context(),b=h.currentType===1?v.currentOffset():h.offset,w=h.currentType===1?h.endLoc:h.startLoc,k=o(2,b,w);k.items=[];let C=null;do{const A=C||v.nextToken();switch(C=null,A.type){case 0:A.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(A)),k.items.push(i(v,A.value||""));break;case 5:A.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(A)),k.items.push(s(v,A.value||""));break;case 4:A.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(A)),k.items.push(u(v,A.value||""));break;case 6:A.value==null&&r(v,Dt.UNEXPECTED_LEXICAL_ANALYSIS,h.lastStartLoc,0,ei(A)),k.items.push(l(v,A.value||""));break;case 7:{const B=d(v);k.items.push(B.node),C=B.nextConsumeToken||null;break}}}while(h.currentType!==13&&h.currentType!==1);const E=h.currentType===1?h.lastOffset:v.currentOffset(),D=h.currentType===1?h.lastEndLoc:v.currentPosition();return a(k,E,D),k}function m(v,h,b,w){const k=v.context();let C=w.items.length===0;const E=o(1,h,b);E.cases=[],E.cases.push(w);do{const D=p(v);C||(C=D.items.length===0),E.cases.push(D)}while(k.currentType!==13);return C&&r(v,Dt.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),a(E,v.currentOffset(),v.currentPosition()),E}function y(v){const h=v.context(),{offset:b,startLoc:w}=h,k=p(v);return h.currentType===13?k:m(v,b,w,k)}function g(v){const h=cMe(v,In({},e)),b=h.context(),w=o(0,b.offset,b.startLoc);return t&&w.loc&&(w.loc.source=v),w.body=y(h),e.onCacheKey&&(w.cacheKey=e.onCacheKey(v)),b.currentType!==13&&r(h,Dt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,v[b.offset]||""),a(w,h.currentOffset(),h.currentPosition()),w}return{parse:g}}function ei(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function gMe(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Cz(e,t){for(let n=0;n<e.length;n++)s9(e[n],t)}function s9(e,t){switch(e.type){case 1:Cz(e.cases,t),t.helper("plural");break;case 2:Cz(e.items,t);break;case 6:{s9(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function vMe(e,t={}){const n=gMe(e);n.helper("normalize"),e.body&&s9(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function mMe(e){const t=e.body;return t.type===2?Sz(t):t.cases.forEach(n=>Sz(n)),e}function Sz(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=a9(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function Fc(e){switch(e.t=e.type,e.type){case 0:{const t=e;Fc(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)Fc(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)Fc(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Fc(t.key),t.k=t.key,delete t.key,t.modifier&&(Fc(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function yMe(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,a=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};a&&e.loc&&(i.source=e.loc.source);const s=()=>i;function u(y,g){i.code+=y}function l(y,g=!0){const v=g?r:"";u(o?v+" ".repeat(y):v)}function c(y=!0){const g=++i.indentLevel;y&&l(g)}function f(y=!0){const g=--i.indentLevel;y&&l(g)}function d(){l(i.indentLevel)}return{context:s,push:u,indent:c,deindent:f,newline:d,helper:y=>`_${y}`,needIndent:()=>i.needIndent}}function bMe(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ff(e,t.key),t.modifier?(e.push(", "),Ff(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function wMe(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let a=0;a<o&&(Ff(e,t.items[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function kMe(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let a=0;a<o&&(Ff(e,t.cases[a]),a!==o-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function EMe(e,t){t.body?Ff(e,t.body):e.push("null")}function Ff(e,t){const{helper:n}=e;switch(t.type){case 0:EMe(e,t);break;case 1:kMe(e,t);break;case 2:wMe(e,t);break;case 6:bMe(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const CMe=(e,t={})=>{const n=Le(t.mode)?t.mode:"normal",r=Le(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
- `,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],s=yMe(e,{filename:r,breakLineCode:o,needIndent:a});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),i.length>0&&(s.push(`const { ${a9(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Ff(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:u,map:l}=s.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function SMe(e,t={}){const n=In({},t),r=!!n.jit,o=!!n.minify,a=n.optimize==null?!0:n.optimize,s=hMe(n).parse(e);return r?(a&&mMe(s),o&&Fc(s),{ast:s,code:""}):(vMe(s,n),CMe(s,n))}/*!
- * core-base v10.0.5
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */function _Me(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Iu().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Iu().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function K_(e){return n=>OMe(n,e)}function OMe(e,t){const n=AMe(t);if(n==null)throw Sg(0);if(u9(n)===1){const a=LMe(n);return e.plural(a.reduce((i,s)=>[...i,_z(e,s)],[]))}else return _z(e,n)}const DMe=["b","body"];function AMe(e){return Ks(e,DMe)}const xMe=["c","cases"];function LMe(e){return Ks(e,xMe,[])}function _z(e,t){const n=$Me(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=TMe(t).reduce((o,a)=>[...o,fO(e,a)],[]);return e.normalize(r)}}const PMe=["s","static"];function $Me(e){return Ks(e,PMe)}const jMe=["i","items"];function TMe(e){return Ks(e,jMe,[])}function fO(e,t){const n=u9(t);switch(n){case 3:return K0(t,n);case 9:return K0(t,n);case 4:{const r=t;if(Bo(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Bo(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Sg(n)}case 5:{const r=t;if(Bo(r,"i")&&pn(r.i))return e.interpolate(e.list(r.i));if(Bo(r,"index")&&pn(r.index))return e.interpolate(e.list(r.index));throw Sg(n)}case 6:{const r=t,o=FMe(r),a=MMe(r);return e.linked(fO(e,a),o?fO(e,o):void 0,e.type)}case 7:return K0(t,n);case 8:return K0(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const IMe=["t","type"];function u9(e){return Ks(e,IMe)}const NMe=["v","value"];function K0(e,t){const n=Ks(e,NMe);if(n)return n;throw Sg(t)}const BMe=["m","modifier"];function FMe(e){return Ks(e,BMe)}const RMe=["k","key"];function MMe(e){const t=Ks(e,RMe);if(t)return t;throw Sg(6)}function Ks(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Bo(e,o)&&e[o]!=null)return e[o]}return n}function Sg(e){return new Error(`unhandled node type: ${e}`)}const zMe=e=>e;let X0=It();function Rf(e){return Ct(e)&&u9(e)===0&&(Bo(e,"b")||Bo(e,"body"))}function UMe(e,t={}){let n=!1;const r=t.onError||rMe;return t.onError=o=>{n=!0,r(o)},{...SMe(e,t),detectError:n}}function HMe(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Le(e)){kt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||zMe)(e),o=X0[r];if(o)return o;const{ast:a,detectError:i}=UMe(e,{...t,location:!1,jit:!0}),s=K_(a);return i?s:X0[r]=s}else{const n=e.cacheKey;if(n){const r=X0[n];return r||(X0[n]=K_(e))}else return K_(e)}}let _g=null;function WMe(e){_g=e}function VMe(e,t,n){_g&&_g.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const qMe=GMe("function:translate");function GMe(e){return t=>_g&&_g.emit(e,t)}const na={INVALID_ARGUMENT:nMe,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},ZMe=24;function ra(e){return F2(e,null,void 0)}function l9(e,t){return t.locale!=null?Oz(t.locale):Oz(e.locale)}let X_;function Oz(e){if(Le(e))return e;if(qt(e)){if(e.resolvedOnce&&X_!=null)return X_;if(e.constructor.name==="Function"){const t=e();if(XRe(t))throw ra(na.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return X_=t}else throw ra(na.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ra(na.NOT_SUPPORT_LOCALE_TYPE)}function YMe(e,t,n){return[...new Set([n,...on(t)?t:Ct(t)?Object.keys(t):Le(t)?[t]:[n]])]}function fK(e,t,n){const r=Le(n)?n:Og,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(r);if(!a){a=[];let i=[n];for(;on(i);)i=Dz(a,i,t);const s=on(t)||!at(t)?t:t.default?t.default:null;i=Le(s)?[s]:s,on(i)&&Dz(a,i,!1),o.__localeChainCache.set(r,a)}return a}function Dz(e,t,n){let r=!0;for(let o=0;o<t.length&&kt(r);o++){const a=t[o];Le(a)&&(r=JMe(e,t[o],n))}return r}function JMe(e,t,n){let r;const o=t.split("-");do{const a=o.join("-");r=KMe(e,a,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function KMe(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(on(n)||at(n))&&n[o]&&(r=n[o])}return r}const Xs=[];Xs[0]={w:[0],i:[3,0],"[":[4],o:[7]};Xs[1]={w:[1],".":[2],"[":[4],o:[7]};Xs[2]={w:[2],i:[3,0],0:[3,0]};Xs[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Xs[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Xs[5]={"'":[4,0],o:8,l:[5,0]};Xs[6]={'"':[4,0],o:8,l:[6,0]};const XMe=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function QMe(e){return XMe.test(e)}function eze(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function tze(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function nze(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:QMe(t)?eze(t):"*"+t}function rze(e){const t=[];let n=-1,r=0,o=0,a,i,s,u,l,c,f;const d=[];d[0]=()=>{i===void 0?i=s:i+=s},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=nze(i),i===!1))return!1;d[1]()}};function p(){const m=e[n+1];if(r===5&&m==="'"||r===6&&m==='"')return n++,s="\\"+m,d[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&p())){if(u=tze(a),f=Xs[r],l=f[u]||f.l||8,l===8||(r=l[0],l[1]!==void 0&&(c=d[l[1]],c&&(s=a,c()===!1))))return;if(r===7)return t}}const Az=new Map;function oze(e,t){return Ct(e)?e[t]:null}function ize(e,t){if(!Ct(e))return null;let n=Az.get(t);if(n||(n=rze(t),n&&Az.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;a<r;){const i=o[n[a]];if(i===void 0||qt(o))return null;o=i,a++}return o}const aze="10.0.5",R2=-1,Og="en-US",xz="",Lz=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function sze(){return{upper:(e,t)=>t==="text"&&Le(e)?e.toUpperCase():t==="vnode"&&Ct(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Le(e)?e.toLowerCase():t==="vnode"&&Ct(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Le(e)?Lz(e):t==="vnode"&&Ct(e)&&"__v_isVNode"in e?Lz(e.children):e}}let dK;function uze(e){dK=e}let pK;function lze(e){pK=e}let hK;function cze(e){hK=e}let gK=null;const fze=e=>{gK=e},dze=()=>gK;let vK=null;const Pz=e=>{vK=e},pze=()=>vK;let $z=0;function hze(e={}){const t=qt(e.onWarn)?e.onWarn:eMe,n=Le(e.version)?e.version:aze,r=Le(e.locale)||qt(e.locale)?e.locale:Og,o=qt(r)?Og:r,a=on(e.fallbackLocale)||at(e.fallbackLocale)||Le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=at(e.messages)?e.messages:Q_(o),s=at(e.datetimeFormats)?e.datetimeFormats:Q_(o),u=at(e.numberFormats)?e.numberFormats:Q_(o),l=In(It(),e.modifiers,sze()),c=e.pluralRules||It(),f=qt(e.missing)?e.missing:null,d=kt(e.missingWarn)||Bf(e.missingWarn)?e.missingWarn:!0,p=kt(e.fallbackWarn)||Bf(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,y=!!e.unresolving,g=qt(e.postTranslation)?e.postTranslation:null,v=at(e.processor)?e.processor:null,h=kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,w=qt(e.messageCompiler)?e.messageCompiler:dK,k=qt(e.messageResolver)?e.messageResolver:pK||oze,C=qt(e.localeFallbacker)?e.localeFallbacker:hK||YMe,E=Ct(e.fallbackContext)?e.fallbackContext:void 0,D=e,A=Ct(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,B=Ct(D.__numberFormatters)?D.__numberFormatters:new Map,q=Ct(D.__meta)?D.__meta:{};$z++;const R={version:n,cid:$z,locale:r,fallbackLocale:a,messages:i,modifiers:l,pluralRules:c,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:y,postTranslation:g,processor:v,warnHtmlMessage:h,escapeParameter:b,messageCompiler:w,messageResolver:k,localeFallbacker:C,fallbackContext:E,onWarn:t,__meta:q};return R.datetimeFormats=s,R.numberFormats=u,R.__datetimeFormatters=A,R.__numberFormatters=B,__INTLIFY_PROD_DEVTOOLS__&&VMe(R,n,q),R}const Q_=e=>({[e]:It()});function c9(e,t,n,r,o){const{missing:a,onWarn:i}=e;if(a!==null){const s=a(e,n,t,o);return Le(s)?s:t}else return t}function Bp(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function gze(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function vze(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(gze(e,t[r]))return!0;return!1}function jz(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:s}=e,[u,l,c,f]=dO(...t),d=kt(c.missingWarn)?c.missingWarn:e.missingWarn;kt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,m=l9(e,c),y=i(e,o,m);if(!Le(u)||u==="")return new Intl.DateTimeFormat(m,f).format(l);let g={},v,h=null;const b="datetime format";for(let C=0;C<y.length&&(v=y[C],g=n[v]||{},h=g[u],!at(h));C++)c9(e,u,v,d,b);if(!at(h)||!Le(v))return r?R2:u;let w=`${v}__${u}`;B2(f)||(w=`${w}__${JSON.stringify(f)}`);let k=s.get(w);return k||(k=new Intl.DateTimeFormat(v,In({},h,f)),s.set(w,k)),p?k.formatToParts(l):k.format(l)}const mK=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function dO(...e){const[t,n,r,o]=e,a=It();let i=It(),s;if(Le(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw ra(na.INVALID_ISO_DATE_ARGUMENT);const l=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();s=new Date(l);try{s.toISOString()}catch{throw ra(na.INVALID_ISO_DATE_ARGUMENT)}}else if(YRe(t)){if(isNaN(t.getTime()))throw ra(na.INVALID_DATE_ARGUMENT);s=t}else if(pn(t))s=t;else throw ra(na.INVALID_ARGUMENT);return Le(n)?a.key=n:at(n)&&Object.keys(n).forEach(u=>{mK.includes(u)?i[u]=n[u]:a[u]=n[u]}),Le(r)?a.locale=r:at(r)&&(i=r),at(o)&&(i=o),[a.key||"",s,a,i]}function Tz(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__datetimeFormatters.has(a)&&r.__datetimeFormatters.delete(a)}}function Iz(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:s}=e,[u,l,c,f]=pO(...t),d=kt(c.missingWarn)?c.missingWarn:e.missingWarn;kt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,m=l9(e,c),y=i(e,o,m);if(!Le(u)||u==="")return new Intl.NumberFormat(m,f).format(l);let g={},v,h=null;const b="number format";for(let C=0;C<y.length&&(v=y[C],g=n[v]||{},h=g[u],!at(h));C++)c9(e,u,v,d,b);if(!at(h)||!Le(v))return r?R2:u;let w=`${v}__${u}`;B2(f)||(w=`${w}__${JSON.stringify(f)}`);let k=s.get(w);return k||(k=new Intl.NumberFormat(v,In({},h,f)),s.set(w,k)),p?k.formatToParts(l):k.format(l)}const yK=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function pO(...e){const[t,n,r,o]=e,a=It();let i=It();if(!pn(t))throw ra(na.INVALID_ARGUMENT);const s=t;return Le(n)?a.key=n:at(n)&&Object.keys(n).forEach(u=>{yK.includes(u)?i[u]=n[u]:a[u]=n[u]}),Le(r)?a.locale=r:at(r)&&(i=r),at(o)&&(i=o),[a.key||"",s,a,i]}function Nz(e,t,n){const r=e;for(const o in n){const a=`${t}__${o}`;r.__numberFormatters.has(a)&&r.__numberFormatters.delete(a)}}const mze=e=>e,yze=e=>"",bze="text",wze=e=>e.length===0?"":a9(e),kze=QRe;function Bz(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Eze(e){const t=pn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(pn(e.named.count)||pn(e.named.n))?pn(e.named.count)?e.named.count:pn(e.named.n)?e.named.n:t:t}function Cze(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Sze(e={}){const t=e.locale,n=Eze(e),r=Ct(e.pluralRules)&&Le(t)&&qt(e.pluralRules[t])?e.pluralRules[t]:Bz,o=Ct(e.pluralRules)&&Le(t)&&qt(e.pluralRules[t])?Bz:void 0,a=v=>v[r(n,v.length,o)],i=e.list||[],s=v=>i[v],u=e.named||It();pn(e.pluralIndex)&&Cze(n,u);const l=v=>u[v];function c(v,h){const b=qt(e.messages)?e.messages(v,!!h):Ct(e.messages)?e.messages[v]:!1;return b||(e.parent?e.parent.message(v):yze)}const f=v=>e.modifiers?e.modifiers[v]:mze,d=at(e.processor)&&qt(e.processor.normalize)?e.processor.normalize:wze,p=at(e.processor)&&qt(e.processor.interpolate)?e.processor.interpolate:kze,m=at(e.processor)&&Le(e.processor.type)?e.processor.type:bze,g={list:s,named:l,plural:a,linked:(v,...h)=>{const[b,w]=h;let k="text",C="";h.length===1?Ct(b)?(C=b.modifier||C,k=b.type||k):Le(b)&&(C=b||C):h.length===2&&(Le(b)&&(C=b||C),Le(w)&&(k=w||k));const E=c(v,!0)(g),D=k==="vnode"&&on(E)&&C?E[0]:E;return C?f(C)(D,k):D},message:c,type:m,interpolate:p,normalize:d,values:In(It(),i,u)};return g}const Fz=()=>"",so=e=>qt(e);function Rz(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:s}=e,[u,l]=hO(...t),c=kt(l.missingWarn)?l.missingWarn:e.missingWarn,f=kt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,d=kt(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=Le(l.default)||kt(l.default)?kt(l.default)?a?u:()=>u:l.default:n?a?u:()=>u:null,y=n||m!=null&&(Le(m)||qt(m)),g=l9(e,l);d&&_ze(l);let[v,h,b]=p?[u,g,s[g]||It()]:bK(e,u,g,i,f,c),w=v,k=u;if(!p&&!(Le(w)||Rf(w)||so(w))&&y&&(w=m,k=w),!p&&(!(Le(w)||Rf(w)||so(w))||!Le(h)))return o?R2:u;let C=!1;const E=()=>{C=!0},D=so(w)?w:wK(e,u,h,w,k,E);if(C)return w;const A=Aze(e,h,b,l),B=Sze(A),q=Oze(e,D,B),R=r?r(q,u):q;if(__INTLIFY_PROD_DEVTOOLS__){const ie={timestamp:Date.now(),key:Le(u)?u:so(w)?w.key:"",locale:h||(so(w)?w.locale:""),format:Le(w)?w:so(w)?w.source:"",message:R};ie.meta=In({},e.__meta,dze()||{}),qMe(ie)}return R}function _ze(e){on(e.list)?e.list=e.list.map(t=>Le(t)?kz(t):t):Ct(e.named)&&Object.keys(e.named).forEach(t=>{Le(e.named[t])&&(e.named[t]=kz(e.named[t]))})}function bK(e,t,n,r,o,a){const{messages:i,onWarn:s,messageResolver:u,localeFallbacker:l}=e,c=l(e,r,n);let f=It(),d,p=null;const m="translate";for(let y=0;y<c.length&&(d=c[y],f=i[d]||It(),(p=u(f,t))===null&&(p=f[t]),!(Le(p)||Rf(p)||so(p)));y++)if(!vze(d,c)){const g=c9(e,t,d,a,m);g!==t&&(p=g)}return[p,d,f]}function wK(e,t,n,r,o,a){const{messageCompiler:i,warnHtmlMessage:s}=e;if(so(r)){const l=r;return l.locale=l.locale||n,l.key=l.key||t,l}if(i==null){const l=()=>r;return l.locale=n,l.key=t,l}const u=i(r,Dze(e,n,o,r,s,a));return u.locale=n,u.key=t,u.source=r,u}function Oze(e,t,n){return t(n)}function hO(...e){const[t,n,r]=e,o=It();if(!Le(t)&&!pn(t)&&!so(t)&&!Rf(t))throw ra(na.INVALID_ARGUMENT);const a=pn(t)?String(t):(so(t),t);return pn(n)?o.plural=n:Le(n)?o.default=n:at(n)&&!B2(n)?o.named=n:on(n)&&(o.list=n),pn(r)?o.plural=r:Le(r)?o.default=r:at(r)&&In(o,r),[a,o]}function Dze(e,t,n,r,o,a){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw a&&a(i),i},onCacheKey:i=>GRe(t,n,i)}}function Aze(e,t,n,r){const{modifiers:o,pluralRules:a,messageResolver:i,fallbackLocale:s,fallbackWarn:u,missingWarn:l,fallbackContext:c}=e,d={locale:t,modifiers:o,pluralRules:a,messages:(p,m)=>{let y=i(n,p);if(y==null&&(c||m)){const[,,g]=bK(c||e,p,t,s,u,l);y=i(g,p)}if(Le(y)||Rf(y)){let g=!1;const h=wK(e,p,t,y,p,()=>{g=!0});return g?Fz:h}else return so(y)?y:Fz}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),pn(r.plural)&&(d.pluralIndex=r.plural),d}_Me();/*!
- * vue-i18n v10.0.5
- * (c) 2024 kazuya kawaguchi
- * Released under the MIT License.
- */const xze="10.0.5";function Lze(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Iu().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Iu().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Iu().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Iu().__INTLIFY_PROD_DEVTOOLS__=!1)}const mr={UNEXPECTED_RETURN_TYPE:ZMe,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Tr(e,...t){return F2(e,null,void 0)}const gO=Js("__translateVNode"),vO=Js("__datetimeParts"),mO=Js("__numberParts"),kK=Js("__setPluralRules"),EK=Js("__injectWithOption"),yO=Js("__dispose");function Dg(e){if(!Ct(e))return e;for(const t in e)if(Bo(e,t))if(!t.includes("."))Ct(e[t])&&Dg(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,a=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]=It()),!Ct(o[n[i]])){a=!0;break}o=o[n[i]]}a||(o[n[r]]=e[t],delete e[t]),Ct(o[n[r]])&&Dg(o[n[r]])}return e}function f9(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:a}=t,i=at(n)?n:on(r)?It():{[e]:It()};if(on(r)&&r.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:u,resource:l}=s;u?(i[u]=i[u]||It(),Mm(l,i[u])):Mm(l,i)}else Le(s)&&Mm(JSON.parse(s),i)}),o==null&&a)for(const s in i)Bo(i,s)&&Dg(i[s]);return i}function CK(e){return e.type}function SK(e,t,n){let r=Ct(t.messages)?t.messages:It();"__i18nGlobal"in n&&(r=f9(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(Ct(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(Ct(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Mz(e){return Yi(fX,null,e,0)}const zz="__INTLIFY_META__",Uz=()=>[],Pze=()=>!1;let Hz=0;function Wz(e){return(t,n,r,o)=>e(n,r,cl()||void 0,o)}const $ze=()=>{const e=cl();let t=null;return e&&(t=CK(e)[zz])?{[zz]:t}:null};function d9(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,a=pb?At:LO;let i=kt(e.inheritLocale)?e.inheritLocale:!0;const s=a(t&&i?t.locale.value:Le(e.locale)?e.locale:Og),u=a(t&&i?t.fallbackLocale.value:Le(e.fallbackLocale)||on(e.fallbackLocale)||at(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(f9(s.value,e)),c=a(at(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=a(at(e.numberFormats)?e.numberFormats:{[s.value]:{}});let d=t?t.missingWarn:kt(e.missingWarn)||Bf(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:kt(e.fallbackWarn)||Bf(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:kt(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,g=qt(e.missing)?e.missing:null,v=qt(e.missing)?Wz(e.missing):null,h=qt(e.postTranslation)?e.postTranslation:null,b=t?t.warnHtmlMessage:kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const k=t?t.modifiers:at(e.modifiers)?e.modifiers:{};let C=e.pluralRules||t&&t.pluralRules,E;E=(()=>{r&&Pz(null);const ne={version:xze,locale:s.value,fallbackLocale:u.value,messages:l.value,modifiers:k,pluralRules:C,missing:v===null?void 0:v,missingWarn:d,fallbackWarn:p,fallbackFormat:y,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:b,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};ne.datetimeFormats=c.value,ne.numberFormats=f.value,ne.__datetimeFormatters=at(E)?E.__datetimeFormatters:void 0,ne.__numberFormatters=at(E)?E.__numberFormatters:void 0;const ve=hze(ne);return r&&Pz(ve),ve})(),Bp(E,s.value,u.value);function A(){return[s.value,u.value,l.value,c.value,f.value]}const B=x({get:()=>s.value,set:ne=>{s.value=ne,E.locale=s.value}}),q=x({get:()=>u.value,set:ne=>{u.value=ne,E.fallbackLocale=u.value,Bp(E,s.value,ne)}}),R=x(()=>l.value),ie=x(()=>c.value),K=x(()=>f.value);function te(){return qt(h)?h:null}function F(ne){h=ne,E.postTranslation=ne}function U(){return g}function Y(ne){ne!==null&&(v=Wz(ne)),g=ne,E.missing=v}const I=(ne,ve,dt,bt,Bn,br)=>{A();let en;try{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=t?pze():void 0),en=ne(E)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(E.fallbackContext=void 0)}if(dt!=="translate exists"&&pn(en)&&en===R2||dt==="translate exists"&&!en){const[Fn,Gn]=ve();return t&&m?bt(t):Bn(Fn)}else{if(br(en))return en;throw Tr(mr.UNEXPECTED_RETURN_TYPE)}};function j(...ne){return I(ve=>Reflect.apply(Rz,null,[ve,...ne]),()=>hO(...ne),"translate",ve=>Reflect.apply(ve.t,ve,[...ne]),ve=>ve,ve=>Le(ve))}function _(...ne){const[ve,dt,bt]=ne;if(bt&&!Ct(bt))throw Tr(mr.INVALID_ARGUMENT);return j(ve,dt,In({resolvedMessage:!0},bt||{}))}function O(...ne){return I(ve=>Reflect.apply(jz,null,[ve,...ne]),()=>dO(...ne),"datetime format",ve=>Reflect.apply(ve.d,ve,[...ne]),()=>xz,ve=>Le(ve))}function L(...ne){return I(ve=>Reflect.apply(Iz,null,[ve,...ne]),()=>pO(...ne),"number format",ve=>Reflect.apply(ve.n,ve,[...ne]),()=>xz,ve=>Le(ve))}function M(ne){return ne.map(ve=>Le(ve)||pn(ve)||kt(ve)?Mz(String(ve)):ve)}const W={normalize:M,interpolate:ne=>ne,type:"vnode"};function he(...ne){return I(ve=>{let dt;const bt=ve;try{bt.processor=W,dt=Reflect.apply(Rz,null,[bt,...ne])}finally{bt.processor=null}return dt},()=>hO(...ne),"translate",ve=>ve[gO](...ne),ve=>[Mz(ve)],ve=>on(ve))}function Ee(...ne){return I(ve=>Reflect.apply(Iz,null,[ve,...ne]),()=>pO(...ne),"number format",ve=>ve[mO](...ne),Uz,ve=>Le(ve)||on(ve))}function De(...ne){return I(ve=>Reflect.apply(jz,null,[ve,...ne]),()=>dO(...ne),"datetime format",ve=>ve[vO](...ne),Uz,ve=>Le(ve)||on(ve))}function Ae(ne){C=ne,E.pluralRules=C}function pe(ne,ve){return I(()=>{if(!ne)return!1;const dt=Le(ve)?ve:s.value,bt=xe(dt),Bn=E.messageResolver(bt,ne);return Rf(Bn)||so(Bn)||Le(Bn)},()=>[ne],"translate exists",dt=>Reflect.apply(dt.te,dt,[ne,ve]),Pze,dt=>kt(dt))}function Ve(ne){let ve=null;const dt=fK(E,u.value,s.value);for(let bt=0;bt<dt.length;bt++){const Bn=l.value[dt[bt]]||{},br=E.messageResolver(Bn,ne);if(br!=null){ve=br;break}}return ve}function Ne(ne){const ve=Ve(ne);return ve??(t?t.tm(ne)||{}:{})}function xe(ne){return l.value[ne]||{}}function Be(ne,ve){if(o){const dt={[ne]:ve};for(const bt in dt)Bo(dt,bt)&&Dg(dt[bt]);ve=dt[ne]}l.value[ne]=ve,E.messages=l.value}function $t(ne,ve){l.value[ne]=l.value[ne]||{};const dt={[ne]:ve};if(o)for(const bt in dt)Bo(dt,bt)&&Dg(dt[bt]);ve=dt[ne],Mm(ve,l.value[ne]),E.messages=l.value}function tt(ne){return c.value[ne]||{}}function $(ne,ve){c.value[ne]=ve,E.datetimeFormats=c.value,Tz(E,ne,ve)}function N(ne,ve){c.value[ne]=In(c.value[ne]||{},ve),E.datetimeFormats=c.value,Tz(E,ne,ve)}function ge(ne){return f.value[ne]||{}}function me(ne,ve){f.value[ne]=ve,E.numberFormats=f.value,Nz(E,ne,ve)}function lt(ne,ve){f.value[ne]=In(f.value[ne]||{},ve),E.numberFormats=f.value,Nz(E,ne,ve)}Hz++,t&&pb&&(ca(t.locale,ne=>{i&&(s.value=ne,E.locale=ne,Bp(E,s.value,u.value))}),ca(t.fallbackLocale,ne=>{i&&(u.value=ne,E.fallbackLocale=ne,Bp(E,s.value,u.value))}));const Fe={id:Hz,locale:B,fallbackLocale:q,get inheritLocale(){return i},set inheritLocale(ne){i=ne,ne&&t&&(s.value=t.locale.value,u.value=t.fallbackLocale.value,Bp(E,s.value,u.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:R,get modifiers(){return k},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(ne){d=ne,E.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(ne){p=ne,E.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(ne){m=ne},get fallbackFormat(){return y},set fallbackFormat(ne){y=ne,E.fallbackFormat=y},get warnHtmlMessage(){return b},set warnHtmlMessage(ne){b=ne,E.warnHtmlMessage=ne},get escapeParameter(){return w},set escapeParameter(ne){w=ne,E.escapeParameter=ne},t:j,getLocaleMessage:xe,setLocaleMessage:Be,mergeLocaleMessage:$t,getPostTranslationHandler:te,setPostTranslationHandler:F,getMissingHandler:U,setMissingHandler:Y,[kK]:Ae};return Fe.datetimeFormats=ie,Fe.numberFormats=K,Fe.rt=_,Fe.te=pe,Fe.tm=Ne,Fe.d=O,Fe.n=L,Fe.getDateTimeFormat=tt,Fe.setDateTimeFormat=$,Fe.mergeDateTimeFormat=N,Fe.getNumberFormat=ge,Fe.setNumberFormat=me,Fe.mergeNumberFormat=lt,Fe[EK]=n,Fe[gO]=he,Fe[vO]=De,Fe[mO]=Ee,Fe}function jze(e){const t=Le(e.locale)?e.locale:Og,n=Le(e.fallbackLocale)||on(e.fallbackLocale)||at(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=qt(e.missing)?e.missing:void 0,o=kt(e.silentTranslationWarn)||Bf(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=kt(e.silentFallbackWarn)||Bf(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=kt(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,u=at(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,c=qt(e.postTranslation)?e.postTranslation:void 0,f=Le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=kt(e.sync)?e.sync:!0;let m=e.messages;if(at(e.sharedMessages)){const k=e.sharedMessages;m=Object.keys(k).reduce((E,D)=>{const A=E[D]||(E[D]={});return In(A,k[D]),E},m||{})}const{__i18n:y,__root:g,__injectWithOption:v}=e,h=e.datetimeFormats,b=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:w,datetimeFormats:h,numberFormats:b,missing:r,missingWarn:o,fallbackWarn:a,fallbackRoot:i,fallbackFormat:s,modifiers:u,pluralRules:l,postTranslation:c,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,__i18n:y,__root:g,__injectWithOption:v}}function bO(e={}){const t=d9(jze(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return kt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=kt(o)?!o:o},get silentFallbackWarn(){return kt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=kt(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},tc(...o){const[a,i,s]=o,u={plural:1};let l=null,c=null;if(!Le(a))throw Tr(mr.INVALID_ARGUMENT);const f=a;return Le(i)?u.locale=i:pn(i)?u.plural=i:on(i)?l=i:at(i)&&(c=i),Le(s)?u.locale=s:on(s)?l=s:at(s)&&(c=s),Reflect.apply(t.t,t,[f,l||c||{},u])},te(o,a){return t.te(o,a)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,a){t.setLocaleMessage(o,a)},mergeLocaleMessage(o,a){t.mergeLocaleMessage(o,a)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,a){t.setDateTimeFormat(o,a)},mergeDateTimeFormat(o,a){t.mergeDateTimeFormat(o,a)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,a){t.setNumberFormat(o,a)},mergeNumberFormat(o,a){t.mergeNumberFormat(o,a)}};return r.__extender=n,r}function Tze(e,t,n){return{beforeCreate(){const r=cl();if(!r)throw Tr(mr.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Vz(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=bO(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Vz(e,o);else{this.$i18n=bO({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&SK(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=cl();if(!r)throw Tr(mr.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Vz(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[kK](t.pluralizationRules||e.pluralizationRules);const n=f9(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const p9={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ize({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===mb?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},It())}function _K(){return mb}const Nze=se({name:"i18n-t",props:In({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>pn(e)||!isNaN(e)}},p9),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||h9({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(f=>f!=="_"),i=It();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Le(e.plural)?+e.plural:e.plural);const s=Ize(t,a),u=o[gO](e.keypath,s,i),l=In(It(),r),c=Le(e.tag)||Ct(e.tag)?e.tag:_K();return DO(c,l,u)}}}),qz=Nze;function Bze(e){return on(e)&&!Le(e[0])}function OK(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const i={part:!0};let s=It();e.locale&&(i.locale=e.locale),Le(e.format)?i.key=e.format:Ct(e.format)&&(Le(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((d,p)=>n.includes(p)?In(It(),d,{[p]:e.format[p]}):d,It()));const u=r(e.value,i,s);let l=[i.key];on(u)?l=u.map((d,p)=>{const m=o[d.type],y=m?m({[d.type]:d.value,index:p,parts:u}):[d.value];return Bze(y)&&(y[0].key=`${d.type}-${p}`),y}):Le(u)&&(l=[u]);const c=In(It(),a),f=Le(e.tag)||Ct(e.tag)?e.tag:_K();return DO(f,c,l)}}const Fze=se({name:"i18n-n",props:In({value:{type:Number,required:!0},format:{type:[String,Object]}},p9),setup(e,t){const n=e.i18n||h9({useScope:e.scope,__useComponent:!0});return OK(e,t,yK,(...r)=>n[mO](...r))}}),Gz=Fze,Rze=se({name:"i18n-d",props:In({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},p9),setup(e,t){const n=e.i18n||h9({useScope:e.scope,__useComponent:!0});return OK(e,t,mK,(...r)=>n[vO](...r))}}),Zz=Rze;function Mze(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function zze(e){const t=i=>{const{instance:s,value:u}=i;if(!s||!s.$)throw Tr(mr.UNEXPECTED_ERROR);const l=Mze(e,s.$),c=Yz(u);return[Reflect.apply(l.t,l,[...Jz(c)]),l]};return{created:(i,s)=>{const[u,l]=t(s);pb&&e.global===l&&(i.__i18nWatcher=ca(l.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=l,i.textContent=u},unmounted:i=>{pb&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const u=i.__composer,l=Yz(s);i.textContent=Reflect.apply(u.t,u,[...Jz(l)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function Yz(e){if(Le(e))return{path:e};if(at(e)){if(!("path"in e))throw Tr(mr.REQUIRED_VALUE,"path");return e}else throw Tr(mr.INVALID_VALUE)}function Jz(e){const{path:t,locale:n,args:r,choice:o,plural:a}=e,i={},s=r||{};return Le(n)&&(i.locale=n),pn(o)&&(i.plural=o),pn(a)&&(i.plural=a),[t,s,i]}function Uze(e,t,...n){const r=at(n[0])?n[0]:{};(kt(r.globalInstall)?r.globalInstall:!0)&&([qz.name,"I18nT"].forEach(a=>e.component(a,qz)),[Gz.name,"I18nN"].forEach(a=>e.component(a,Gz)),[Zz.name,"I18nD"].forEach(a=>e.component(a,Zz))),e.directive("t",zze(t))}const Hze=Js("global-vue-i18n");function Wze(e={},t){const n=__VUE_I18N_LEGACY_API__&&kt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=kt(e.globalInjection)?e.globalInjection:!0,o=new Map,[a,i]=Vze(e,n),s=Js("");function u(d){return o.get(d)||null}function l(d,p){o.set(d,p)}function c(d){o.delete(d)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(d,...p){if(d.__VUE_I18N_SYMBOL__=s,d.provide(d.__VUE_I18N_SYMBOL__,f),at(p[0])){const g=p[0];f.__composerExtend=g.__composerExtend,f.__vueI18nExtend=g.__vueI18nExtend}let m=null;!n&&r&&(m=Qze(d,f.global)),__VUE_I18N_FULL_INSTALL__&&Uze(d,f,...p),__VUE_I18N_LEGACY_API__&&n&&d.mixin(Tze(i,i.__composer,f));const y=d.unmount;d.unmount=()=>{m&&m(),f.dispose(),y()}},get global(){return i},dispose(){a.stop()},__instances:o,__getInstance:u,__setInstance:l,__deleteInstance:c};return f}function h9(e={}){const t=cl();if(t==null)throw Tr(mr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Tr(mr.NOT_INSTALLED);const n=qze(t),r=Zze(n),o=CK(t),a=Gze(e,o);if(a==="global")return SK(r,e,o),r;if(a==="parent"){let u=Yze(n,t,e.__useComponent);return u==null&&(u=r),u}const i=n;let s=i.__getInstance(t);if(s==null){const u=In({},e);"__i18n"in o&&(u.__i18n=o.__i18n),r&&(u.__root=r),s=d9(u),i.__composerExtend&&(s[yO]=i.__composerExtend(s)),Kze(i,t,s),i.__setInstance(t,s)}return s}function Vze(e,t,n){const r=uX(),o=__VUE_I18N_LEGACY_API__&&t?r.run(()=>bO(e)):r.run(()=>d9(e));if(o==null)throw Tr(mr.UNEXPECTED_ERROR);return[r,o]}function qze(e){const t=Mf(e.isCE?Hze:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Tr(e.isCE?mr.NOT_INSTALLED_WITH_PROVIDE:mr.UNEXPECTED_ERROR);return t}function Gze(e,t){return B2(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Zze(e){return e.mode==="composition"?e.global:e.global.__composer}function Yze(e,t,n=!1){let r=null;const o=t.root;let a=Jze(t,n);for(;a!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(a);s!=null&&(r=s.__composer,n&&r&&!r[EK]&&(r=null))}if(r!=null||o===a)break;a=a.parent}return r}function Jze(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Kze(e,t,n){zs(()=>{},t),cX(()=>{const r=n;e.__deleteInstance(t);const o=r[yO];o&&(o(),delete r[yO])},t)}const Xze=["locale","fallbackLocale","availableLocales"],Kz=["t","rt","d","n","tm","te"];function Qze(e,t){const n=Object.create(null);return Xze.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw Tr(mr.UNEXPECTED_ERROR);const i=lX(a.value)?{get(){return a.value.value},set(s){a.value.value=s}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Kz.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw Tr(mr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Kz.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Lze();uze(HMe);lze(ize);cze(fK);if(__INTLIFY_PROD_DEVTOOLS__){const e=Iu();e.__INTLIFY__=!0,WMe(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function DK(e,t){return function(){return e.apply(t,arguments)}}const{toString:eUe}=Object.prototype,{getPrototypeOf:g9}=Object,M2=(e=>t=>{const n=eUe.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Yo=e=>(e=e.toLowerCase(),t=>M2(t)===e),z2=e=>t=>typeof t===e,{isArray:ld}=Array,Ag=z2("undefined");function tUe(e){return e!==null&&!Ag(e)&&e.constructor!==null&&!Ag(e.constructor)&&Wr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const AK=Yo("ArrayBuffer");function nUe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&AK(e.buffer),t}const rUe=z2("string"),Wr=z2("function"),xK=z2("number"),U2=e=>e!==null&&typeof e=="object",oUe=e=>e===!0||e===!1,zm=e=>{if(M2(e)!=="object")return!1;const t=g9(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},iUe=Yo("Date"),aUe=Yo("File"),sUe=Yo("Blob"),uUe=Yo("FileList"),lUe=e=>U2(e)&&Wr(e.pipe),cUe=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Wr(e.append)&&((t=M2(e))==="formdata"||t==="object"&&Wr(e.toString)&&e.toString()==="[object FormData]"))},fUe=Yo("URLSearchParams"),[dUe,pUe,hUe,gUe]=["ReadableStream","Request","Response","Headers"].map(Yo),vUe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ev(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ld(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let s;for(r=0;r<i;r++)s=a[r],t.call(null,e[s],s,e)}}function LK(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Nu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,PK=e=>!Ag(e)&&e!==Nu;function wO(){const{caseless:e}=PK(this)&&this||{},t={},n=(r,o)=>{const a=e&&LK(t,o)||o;zm(t[a])&&zm(r)?t[a]=wO(t[a],r):zm(r)?t[a]=wO({},r):ld(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Ev(arguments[r],n);return t}const mUe=(e,t,n,{allOwnKeys:r}={})=>(Ev(t,(o,a)=>{n&&Wr(o)?e[a]=DK(o,n):e[a]=o},{allOwnKeys:r}),e),yUe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bUe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},wUe=(e,t,n,r)=>{let o,a,i;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!r||r(i,e,t))&&!s[i]&&(t[i]=e[i],s[i]=!0);e=n!==!1&&g9(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kUe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},EUe=e=>{if(!e)return null;if(ld(e))return e;let t=e.length;if(!xK(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},CUe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&g9(Uint8Array)),SUe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},_Ue=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},OUe=Yo("HTMLFormElement"),DUe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Xz=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),AUe=Yo("RegExp"),$K=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ev(n,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(r[a]=i||o)}),Object.defineProperties(e,r)},xUe=e=>{$K(e,(t,n)=>{if(Wr(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Wr(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},LUe=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return ld(e)?r(e):r(String(e).split(t)),n},PUe=()=>{},$Ue=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,e3="abcdefghijklmnopqrstuvwxyz",Qz="0123456789",jK={DIGIT:Qz,ALPHA:e3,ALPHA_DIGIT:e3+e3.toUpperCase()+Qz},jUe=(e=16,t=jK.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function TUe(e){return!!(e&&Wr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const IUe=e=>{const t=new Array(10),n=(r,o)=>{if(U2(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=ld(r)?[]:{};return Ev(r,(i,s)=>{const u=n(i,o+1);!Ag(u)&&(a[s]=u)}),t[o]=void 0,a}}return r};return n(e,0)},NUe=Yo("AsyncFunction"),BUe=e=>e&&(U2(e)||Wr(e))&&Wr(e.then)&&Wr(e.catch),TK=((e,t)=>e?setImmediate:t?((n,r)=>(Nu.addEventListener("message",({source:o,data:a})=>{o===Nu&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Nu.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Wr(Nu.postMessage)),FUe=typeof queueMicrotask<"u"?queueMicrotask.bind(Nu):typeof process<"u"&&process.nextTick||TK,ae={isArray:ld,isArrayBuffer:AK,isBuffer:tUe,isFormData:cUe,isArrayBufferView:nUe,isString:rUe,isNumber:xK,isBoolean:oUe,isObject:U2,isPlainObject:zm,isReadableStream:dUe,isRequest:pUe,isResponse:hUe,isHeaders:gUe,isUndefined:Ag,isDate:iUe,isFile:aUe,isBlob:sUe,isRegExp:AUe,isFunction:Wr,isStream:lUe,isURLSearchParams:fUe,isTypedArray:CUe,isFileList:uUe,forEach:Ev,merge:wO,extend:mUe,trim:vUe,stripBOM:yUe,inherits:bUe,toFlatObject:wUe,kindOf:M2,kindOfTest:Yo,endsWith:kUe,toArray:EUe,forEachEntry:SUe,matchAll:_Ue,isHTMLForm:OUe,hasOwnProperty:Xz,hasOwnProp:Xz,reduceDescriptors:$K,freezeMethods:xUe,toObjectSet:LUe,toCamelCase:DUe,noop:PUe,toFiniteNumber:$Ue,findKey:LK,global:Nu,isContextDefined:PK,ALPHABET:jK,generateString:jUe,isSpecCompliantForm:TUe,toJSONObject:IUe,isAsyncFn:NUe,isThenable:BUe,setImmediate:TK,asap:FUe};function Ke(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}ae.inherits(Ke,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ae.toJSONObject(this.config),code:this.code,status:this.status}}});const IK=Ke.prototype,NK={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{NK[e]={value:e}});Object.defineProperties(Ke,NK);Object.defineProperty(IK,"isAxiosError",{value:!0});Ke.from=(e,t,n,r,o,a)=>{const i=Object.create(IK);return ae.toFlatObject(e,i,function(u){return u!==Error.prototype},s=>s!=="isAxiosError"),Ke.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const RUe=null;function kO(e){return ae.isPlainObject(e)||ae.isArray(e)}function BK(e){return ae.endsWith(e,"[]")?e.slice(0,-2):e}function eU(e,t,n){return e?e.concat(t).map(function(o,a){return o=BK(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function MUe(e){return ae.isArray(e)&&!e.some(kO)}const zUe=ae.toFlatObject(ae,{},null,function(t){return/^is[A-Z]/.test(t)});function H2(e,t,n){if(!ae.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,g){return!ae.isUndefined(g[y])});const r=n.metaTokens,o=n.visitor||c,a=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&ae.isSpecCompliantForm(t);if(!ae.isFunction(o))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(ae.isDate(m))return m.toISOString();if(!u&&ae.isBlob(m))throw new Ke("Blob is not supported. Use a Buffer instead.");return ae.isArrayBuffer(m)||ae.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function c(m,y,g){let v=m;if(m&&!g&&typeof m=="object"){if(ae.endsWith(y,"{}"))y=r?y:y.slice(0,-2),m=JSON.stringify(m);else if(ae.isArray(m)&&MUe(m)||(ae.isFileList(m)||ae.endsWith(y,"[]"))&&(v=ae.toArray(m)))return y=BK(y),v.forEach(function(b,w){!(ae.isUndefined(b)||b===null)&&t.append(i===!0?eU([y],w,a):i===null?y:y+"[]",l(b))}),!1}return kO(m)?!0:(t.append(eU(g,y,a),l(m)),!1)}const f=[],d=Object.assign(zUe,{defaultVisitor:c,convertValue:l,isVisitable:kO});function p(m,y){if(!ae.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(m),ae.forEach(m,function(v,h){(!(ae.isUndefined(v)||v===null)&&o.call(t,v,ae.isString(h)?h.trim():h,y,d))===!0&&p(v,y?y.concat(h):[h])}),f.pop()}}if(!ae.isObject(e))throw new TypeError("data must be an object");return p(e),t}function tU(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function v9(e,t){this._pairs=[],e&&H2(e,this,t)}const FK=v9.prototype;FK.append=function(t,n){this._pairs.push([t,n])};FK.toString=function(t){const n=t?function(r){return t.call(this,r,tU)}:tU;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function UUe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function RK(e,t,n){if(!t)return e;const r=n&&n.encode||UUe;ae.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let a;if(o?a=o(t,n):a=ae.isURLSearchParams(t)?t.toString():new v9(t,n).toString(r),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class nU{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ae.forEach(this.handlers,function(r){r!==null&&t(r)})}}const MK={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},HUe=typeof URLSearchParams<"u"?URLSearchParams:v9,WUe=typeof FormData<"u"?FormData:null,VUe=typeof Blob<"u"?Blob:null,qUe={isBrowser:!0,classes:{URLSearchParams:HUe,FormData:WUe,Blob:VUe},protocols:["http","https","file","blob","url","data"]},m9=typeof window<"u"&&typeof document<"u",EO=typeof navigator=="object"&&navigator||void 0,GUe=m9&&(!EO||["ReactNative","NativeScript","NS"].indexOf(EO.product)<0),ZUe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",YUe=m9&&window.location.href||"http://localhost",JUe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:m9,hasStandardBrowserEnv:GUe,hasStandardBrowserWebWorkerEnv:ZUe,navigator:EO,origin:YUe},Symbol.toStringTag,{value:"Module"})),or={...JUe,...qUe};function KUe(e,t){return H2(e,new or.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return or.isNode&&ae.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function XUe(e){return ae.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function QUe(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function zK(e){function t(n,r,o,a){let i=n[a++];if(i==="__proto__")return!0;const s=Number.isFinite(+i),u=a>=n.length;return i=!i&&ae.isArray(o)?o.length:i,u?(ae.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!s):((!o[i]||!ae.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],a)&&ae.isArray(o[i])&&(o[i]=QUe(o[i])),!s)}if(ae.isFormData(e)&&ae.isFunction(e.entries)){const n={};return ae.forEachEntry(e,(r,o)=>{t(XUe(r),o,n,0)}),n}return null}function eHe(e,t,n){if(ae.isString(e))try{return(t||JSON.parse)(e),ae.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Cv={transitional:MK,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=ae.isObject(t);if(a&&ae.isHTMLForm(t)&&(t=new FormData(t)),ae.isFormData(t))return o?JSON.stringify(zK(t)):t;if(ae.isArrayBuffer(t)||ae.isBuffer(t)||ae.isStream(t)||ae.isFile(t)||ae.isBlob(t)||ae.isReadableStream(t))return t;if(ae.isArrayBufferView(t))return t.buffer;if(ae.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return KUe(t,this.formSerializer).toString();if((s=ae.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return H2(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),eHe(t)):t}],transformResponse:[function(t){const n=this.transitional||Cv.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(ae.isResponse(t)||ae.isReadableStream(t))return t;if(t&&ae.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?Ke.from(s,Ke.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:or.classes.FormData,Blob:or.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ae.forEach(["delete","get","head","post","put","patch"],e=>{Cv.headers[e]={}});const tHe=ae.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),nHe=e=>{const t={};let n,r,o;return e&&e.split(`
- `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&tHe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},rU=Symbol("internals");function Fp(e){return e&&String(e).trim().toLowerCase()}function Um(e){return e===!1||e==null?e:ae.isArray(e)?e.map(Um):String(e)}function rHe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const oHe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function t3(e,t,n,r,o){if(ae.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!ae.isString(t)){if(ae.isString(r))return t.indexOf(r)!==-1;if(ae.isRegExp(r))return r.test(t)}}function iHe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function aHe(e,t){const n=ae.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,i){return this[r].call(this,t,o,a,i)},configurable:!0})})}let Lr=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(s,u,l){const c=Fp(u);if(!c)throw new Error("header name must be a non-empty string");const f=ae.findKey(o,c);(!f||o[f]===void 0||l===!0||l===void 0&&o[f]!==!1)&&(o[f||u]=Um(s))}const i=(s,u)=>ae.forEach(s,(l,c)=>a(l,c,u));if(ae.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(ae.isString(t)&&(t=t.trim())&&!oHe(t))i(nHe(t),n);else if(ae.isHeaders(t))for(const[s,u]of t.entries())a(u,s,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=Fp(t),t){const r=ae.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return rHe(o);if(ae.isFunction(n))return n.call(this,o,r);if(ae.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Fp(t),t){const r=ae.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||t3(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(i){if(i=Fp(i),i){const s=ae.findKey(r,i);s&&(!n||t3(r,r[s],s,n))&&(delete r[s],o=!0)}}return ae.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||t3(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return ae.forEach(this,(o,a)=>{const i=ae.findKey(r,a);if(i){n[i]=Um(o),delete n[a];return}const s=t?iHe(a):String(a).trim();s!==a&&delete n[a],n[s]=Um(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ae.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&ae.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[rU]=this[rU]={accessors:{}}).accessors,o=this.prototype;function a(i){const s=Fp(i);r[s]||(aHe(o,i),r[s]=!0)}return ae.isArray(t)?t.forEach(a):a(t),this}};Lr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ae.reduceDescriptors(Lr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ae.freezeMethods(Lr);function n3(e,t){const n=this||Cv,r=t||n,o=Lr.from(r.headers);let a=r.data;return ae.forEach(e,function(s){a=s.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function UK(e){return!!(e&&e.__CANCEL__)}function cd(e,t,n){Ke.call(this,e??"canceled",Ke.ERR_CANCELED,t,n),this.name="CanceledError"}ae.inherits(cd,Ke,{__CANCEL__:!0});function HK(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ke("Request failed with status code "+n.status,[Ke.ERR_BAD_REQUEST,Ke.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function sHe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function uHe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=r[a];i||(i=l),n[o]=u,r[o]=l;let f=a,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const p=c&&l-c;return p?Math.round(d*1e3/p):void 0}}function lHe(e,t){let n=0,r=1e3/t,o,a;const i=(l,c=Date.now())=>{n=c,o=null,a&&(clearTimeout(a),a=null),e.apply(null,l)};return[(...l)=>{const c=Date.now(),f=c-n;f>=r?i(l,c):(o=l,a||(a=setTimeout(()=>{a=null,i(o)},r-f)))},()=>o&&i(o)]}const hb=(e,t,n=3)=>{let r=0;const o=uHe(50,250);return lHe(a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,u=i-r,l=o(u),c=i<=s;r=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:u,rate:l||void 0,estimated:l&&s&&c?(s-i)/l:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},oU=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},iU=e=>(...t)=>ae.asap(()=>e(...t)),cHe=or.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,or.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(or.origin),or.navigator&&/(msie|trident)/i.test(or.navigator.userAgent)):()=>!0,fHe=or.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const i=[e+"="+encodeURIComponent(t)];ae.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),ae.isString(r)&&i.push("path="+r),ae.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dHe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pHe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function WK(e,t){return e&&!dHe(t)?pHe(e,t):t}const aU=e=>e instanceof Lr?{...e}:e;function Pl(e,t){t=t||{};const n={};function r(l,c,f,d){return ae.isPlainObject(l)&&ae.isPlainObject(c)?ae.merge.call({caseless:d},l,c):ae.isPlainObject(c)?ae.merge({},c):ae.isArray(c)?c.slice():c}function o(l,c,f,d){if(ae.isUndefined(c)){if(!ae.isUndefined(l))return r(void 0,l,f,d)}else return r(l,c,f,d)}function a(l,c){if(!ae.isUndefined(c))return r(void 0,c)}function i(l,c){if(ae.isUndefined(c)){if(!ae.isUndefined(l))return r(void 0,l)}else return r(void 0,c)}function s(l,c,f){if(f in t)return r(l,c);if(f in e)return r(void 0,l)}const u={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(l,c,f)=>o(aU(l),aU(c),f,!0)};return ae.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=u[c]||o,d=f(e[c],t[c],c);ae.isUndefined(d)&&f!==s||(n[c]=d)}),n}const VK=e=>{const t=Pl({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:s}=t;t.headers=i=Lr.from(i),t.url=RK(WK(t.baseURL,t.url),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let u;if(ae.isFormData(n)){if(or.hasStandardBrowserEnv||or.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[l,...c]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...c].join("; "))}}if(or.hasStandardBrowserEnv&&(r&&ae.isFunction(r)&&(r=r(t)),r||r!==!1&&cHe(t.url))){const l=o&&a&&fHe.read(a);l&&i.set(o,l)}return t},hHe=typeof XMLHttpRequest<"u",gHe=hHe&&function(e){return new Promise(function(n,r){const o=VK(e);let a=o.data;const i=Lr.from(o.headers).normalize();let{responseType:s,onUploadProgress:u,onDownloadProgress:l}=o,c,f,d,p,m;function y(){p&&p(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(o.method.toUpperCase(),o.url,!0),g.timeout=o.timeout;function v(){if(!g)return;const b=Lr.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),k={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:b,config:e,request:g};HK(function(E){n(E),y()},function(E){r(E),y()},k),g=null}"onloadend"in g?g.onloadend=v:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(v)},g.onabort=function(){g&&(r(new Ke("Request aborted",Ke.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new Ke("Network Error",Ke.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const k=o.transitional||MK;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),r(new Ke(w,k.clarifyTimeoutError?Ke.ETIMEDOUT:Ke.ECONNABORTED,e,g)),g=null},a===void 0&&i.setContentType(null),"setRequestHeader"in g&&ae.forEach(i.toJSON(),function(w,k){g.setRequestHeader(k,w)}),ae.isUndefined(o.withCredentials)||(g.withCredentials=!!o.withCredentials),s&&s!=="json"&&(g.responseType=o.responseType),l&&([d,m]=hb(l,!0),g.addEventListener("progress",d)),u&&g.upload&&([f,p]=hb(u),g.upload.addEventListener("progress",f),g.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(c=b=>{g&&(r(!b||b.type?new cd(null,e,g):b),g.abort(),g=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const h=sHe(o.url);if(h&&or.protocols.indexOf(h)===-1){r(new Ke("Unsupported protocol "+h+":",Ke.ERR_BAD_REQUEST,e));return}g.send(a||null)})},vHe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const a=function(l){if(!o){o=!0,s();const c=l instanceof Error?l:this.reason;r.abort(c instanceof Ke?c:new cd(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,a(new Ke(`timeout ${t} of ms exceeded`,Ke.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(a):l.removeEventListener("abort",a)}),e=null)};e.forEach(l=>l.addEventListener("abort",a));const{signal:u}=r;return u.unsubscribe=()=>ae.asap(s),u}},mHe=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},yHe=async function*(e,t){for await(const n of bHe(e))yield*mHe(n,t)},bHe=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},sU=(e,t,n,r)=>{const o=yHe(e,t);let a=0,i,s=u=>{i||(i=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:l,value:c}=await o.next();if(l){s(),u.close();return}let f=c.byteLength;if(n){let d=a+=f;n(d)}u.enqueue(new Uint8Array(c))}catch(l){throw s(l),l}},cancel(u){return s(u),o.return()}},{highWaterMark:2})},W2=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qK=W2&&typeof ReadableStream=="function",wHe=W2&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),GK=(e,...t)=>{try{return!!e(...t)}catch{return!1}},kHe=qK&&GK(()=>{let e=!1;const t=new Request(or.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),uU=64*1024,CO=qK&&GK(()=>ae.isReadableStream(new Response("").body)),gb={stream:CO&&(e=>e.body)};W2&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!gb[t]&&(gb[t]=ae.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Ke(`Response type '${t}' is not supported`,Ke.ERR_NOT_SUPPORT,r)})})})(new Response);const EHe=async e=>{if(e==null)return 0;if(ae.isBlob(e))return e.size;if(ae.isSpecCompliantForm(e))return(await new Request(or.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(ae.isArrayBufferView(e)||ae.isArrayBuffer(e))return e.byteLength;if(ae.isURLSearchParams(e)&&(e=e+""),ae.isString(e))return(await wHe(e)).byteLength},CHe=async(e,t)=>{const n=ae.toFiniteNumber(e.getContentLength());return n??EHe(t)},SHe=W2&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:a,timeout:i,onDownloadProgress:s,onUploadProgress:u,responseType:l,headers:c,withCredentials:f="same-origin",fetchOptions:d}=VK(e);l=l?(l+"").toLowerCase():"text";let p=vHe([o,a&&a.toAbortSignal()],i),m;const y=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(u&&kHe&&n!=="get"&&n!=="head"&&(g=await CHe(c,r))!==0){let k=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(ae.isFormData(r)&&(C=k.headers.get("content-type"))&&c.setContentType(C),k.body){const[E,D]=oU(g,hb(iU(u)));r=sU(k.body,uU,E,D)}}ae.isString(f)||(f=f?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:v?f:void 0});let h=await fetch(m);const b=CO&&(l==="stream"||l==="response");if(CO&&(s||b&&y)){const k={};["status","statusText","headers"].forEach(A=>{k[A]=h[A]});const C=ae.toFiniteNumber(h.headers.get("content-length")),[E,D]=s&&oU(C,hb(iU(s),!0))||[];h=new Response(sU(h.body,uU,E,()=>{D&&D(),y&&y()}),k)}l=l||"text";let w=await gb[ae.findKey(gb,l)||"text"](h,e);return!b&&y&&y(),await new Promise((k,C)=>{HK(k,C,{data:w,headers:Lr.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:m})})}catch(v){throw y&&y(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new Ke("Network Error",Ke.ERR_NETWORK,e,m),{cause:v.cause||v}):Ke.from(v,v&&v.code,e,m)}}),SO={http:RUe,xhr:gHe,fetch:SHe};ae.forEach(SO,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const lU=e=>`- ${e}`,_He=e=>ae.isFunction(e)||e===null||e===!1,ZK={getAdapter:e=>{e=ae.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let a=0;a<t;a++){n=e[a];let i;if(r=n,!_He(n)&&(r=SO[(i=String(n)).toLowerCase()],r===void 0))throw new Ke(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+a]=r}if(!r){const a=Object.entries(o).map(([s,u])=>`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since :
- `+a.map(lU).join(`
- `):" "+lU(a[0]):"as no adapter specified";throw new Ke("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:SO};function r3(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new cd(null,e)}function cU(e){return r3(e),e.headers=Lr.from(e.headers),e.data=n3.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ZK.getAdapter(e.adapter||Cv.adapter)(e).then(function(r){return r3(e),r.data=n3.call(e,e.transformResponse,r),r.headers=Lr.from(r.headers),r},function(r){return UK(r)||(r3(e),r&&r.response&&(r.response.data=n3.call(e,e.transformResponse,r.response),r.response.headers=Lr.from(r.response.headers))),Promise.reject(r)})}const YK="1.7.8",V2={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{V2[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const fU={};V2.transitional=function(t,n,r){function o(a,i){return"[Axios v"+YK+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,s)=>{if(t===!1)throw new Ke(o(i," has been removed"+(n?" in "+n:"")),Ke.ERR_DEPRECATED);return n&&!fU[i]&&(fU[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,i,s):!0}};V2.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function OHe(e,t,n){if(typeof e!="object")throw new Ke("options must be an object",Ke.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],i=t[a];if(i){const s=e[a],u=s===void 0||i(s,a,e);if(u!==!0)throw new Ke("option "+a+" must be "+u,Ke.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ke("Unknown option "+a,Ke.ERR_BAD_OPTION)}}const Hm={assertOptions:OHe,validators:V2},ti=Hm.validators;let ll=class{constructor(t){this.defaults=t,this.interceptors={request:new nU,response:new nU}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
- `+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pl(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&Hm.assertOptions(r,{silentJSONParsing:ti.transitional(ti.boolean),forcedJSONParsing:ti.transitional(ti.boolean),clarifyTimeoutError:ti.transitional(ti.boolean)},!1),o!=null&&(ae.isFunction(o)?n.paramsSerializer={serialize:o}:Hm.assertOptions(o,{encode:ti.function,serialize:ti.function},!0)),Hm.assertOptions(n,{baseUrl:ti.spelling("baseURL"),withXsrfToken:ti.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&ae.merge(a.common,a[n.method]);a&&ae.forEach(["delete","get","head","post","put","patch","common"],m=>{delete a[m]}),n.headers=Lr.concat(i,a);const s=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(u=u&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const l=[];this.interceptors.response.forEach(function(y){l.push(y.fulfilled,y.rejected)});let c,f=0,d;if(!u){const m=[cU.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,l),d=m.length,c=Promise.resolve(n);f<d;)c=c.then(m[f++],m[f++]);return c}d=s.length;let p=n;for(f=0;f<d;){const m=s[f++],y=s[f++];try{p=m(p)}catch(g){y.call(this,g);break}}try{c=cU.call(this,p)}catch(m){return Promise.reject(m)}for(f=0,d=l.length;f<d;)c=c.then(l[f++],l[f++]);return c}getUri(t){t=Pl(this.defaults,t);const n=WK(t.baseURL,t.url);return RK(n,t.params,t.paramsSerializer)}};ae.forEach(["delete","get","head","options"],function(t){ll.prototype[t]=function(n,r){return this.request(Pl(r||{},{method:t,url:n,data:(r||{}).data}))}});ae.forEach(["post","put","patch"],function(t){function n(r){return function(a,i,s){return this.request(Pl(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}ll.prototype[t]=n(),ll.prototype[t+"Form"]=n(!0)});let DHe=class JK{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(s=>{r.subscribe(s),a=s}).then(o);return i.cancel=function(){r.unsubscribe(a)},i},t(function(a,i,s){r.reason||(r.reason=new cd(a,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new JK(function(o){t=o}),cancel:t}}};function AHe(e){return function(n){return e.apply(null,n)}}function xHe(e){return ae.isObject(e)&&e.isAxiosError===!0}const _O={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(_O).forEach(([e,t])=>{_O[t]=e});function KK(e){const t=new ll(e),n=DK(ll.prototype.request,t);return ae.extend(n,ll.prototype,t,{allOwnKeys:!0}),ae.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return KK(Pl(e,o))},n}const vn=KK(Cv);vn.Axios=ll;vn.CanceledError=cd;vn.CancelToken=DHe;vn.isCancel=UK;vn.VERSION=YK;vn.toFormData=H2;vn.AxiosError=Ke;vn.Cancel=vn.CanceledError;vn.all=function(t){return Promise.all(t)};vn.spread=AHe;vn.isAxiosError=xHe;vn.mergeConfig=Pl;vn.AxiosHeaders=Lr;vn.formToJSON=e=>zK(ae.isHTMLForm(e)?new FormData(e):e);vn.getAdapter=ZK.getAdapter;vn.HttpStatusCode=_O;vn.default=vn;const{Axios:pWe,AxiosError:hWe,CanceledError:gWe,isCancel:vWe,CancelToken:mWe,VERSION:yWe,all:bWe,Cancel:wWe,isAxiosError:kWe,spread:EWe,toFormData:CWe,AxiosHeaders:SWe,HttpStatusCode:_We,formToJSON:OWe,getAdapter:DWe,mergeConfig:AWe}=vn;function LHe(e){{const t=e.url;if(t.indexOf("/api/")===0){const r=Rm("API_BASE_URL");if(!r)throw new Error("关键配置项 API_BASE_URL 不存在,请在 /config.js 进行配置");e.url=r+t}if(t.startsWith("/rgflow/")){const r=Rm("RGFLOW_BASE_URL");if(!r)throw new Error("关键配置项 RGFLOW_BASE_URL 不存在,请在 /config.js 进行配置");const o=r+"/",a=t.replace("/rgflow/",o);e.url=a}if(t.startsWith("/dify/")){const r=Rm("DIFY_BASE_URL");if(!r)throw new Error("关键配置项 DIFY_BASE_URL 不存在,请在 /config.js 进行配置");const o=r+"/",a=t.replace("/dify/",o);e.url=a}}return e}const Q0=At(!1),o3=()=>{Q0.value||(Q0.value=!0,O3.warning({title:"系统提示",content:"登录信息已过期,请重新登录",onOk:()=>{o9.remove(),Q0.value=!1,db.push("/")},onCancel:()=>{Q0.value=!1}}))},y9=vn.create({withCredentials:!0,timeout:3e5,headers:{"Content-Type":"application/json"}});y9.interceptors.request.use(e=>{LHe(e);const t=o9.get();return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e));y9.interceptors.response.use(e=>{const t=e.data,{code:n,data:r,msg:o}=t;return(t.code=="401"||t.retcode=="401")&&o3(),t},e=>(e.message.includes("401")&&o3(),e.status===401&&o3(),Promise.reject(e)));let vb=null;async function PHe(){const e={},t=[GO,xb];for(const n of t){const r=`/i18n/lang-${n}.json`,o=await y9.get(r);e[n]=o}return e}function $He(e){return e===GO||e===xb}function xWe(e){if(!$He(e)||!vb)return;vb.global.locale=e,BRe.setItem(e),document.querySelector("html").setAttribute("lang",e),fH().updateLanguage(e)}async function jHe(){const e=await PHe();return vb=Wze({locale:xb,fallbackLocale:GO,messages:e}),vb}const q2=gU("theme",{state:()=>({value:Xp}),actions:{updateTheme(e){this.value=e}}}),THe=()=>Ye(()=>Promise.resolve({}),__vite__mapDeps([155])),IHe=()=>Ye(()=>Promise.resolve({}),__vite__mapDeps([156])),NHe=()=>Ye(()=>Promise.resolve({}),__vite__mapDeps([157])),b9="dmx-theme",BHe=()=>{THe(),document.body.setAttribute("arco-theme",Mp),document.body.setAttribute(b9,Mp),r9.setItem(Mp),q2().updateTheme(Mp)},dU=()=>{IHe(),document.body.removeAttribute("arco-theme"),document.body.setAttribute(b9,Xp),r9.setItem(Xp),q2().updateTheme(Xp)},FHe=()=>{NHe(),document.body.setAttribute("arco-theme",zp),document.body.setAttribute(b9,zp),r9.setItem(zp),q2().updateTheme(zp)},RHe=()=>q2().value;function MHe(){const e=RHe();e||dU(),e===Xp&&dU(),e===Mp&&BHe(),e===zp&&FHe()}const pU=(e,t)=>{const n=e.storage||sessionStorage,r=e.key||t.$id;if(e.paths){const o=e.paths.reduce((a,i)=>(a[i]=t.$state[i],a),{});n.setItem(r,JSON.stringify(o))}else n.setItem(r,JSON.stringify(t.$state))};var zHe=({options:e,store:t})=>{var n,r,o,a;if((n=e.persist)!=null&&n.enabled){const i=[{key:t.$id,storage:sessionStorage}],s=(o=(r=e.persist)==null?void 0:r.strategies)!=null&&o.length?(a=e.persist)==null?void 0:a.strategies:i;s.forEach(u=>{const l=u.storage||sessionStorage,c=u.key||t.$id,f=l.getItem(c);f&&(t.$patch(JSON.parse(f)),pU(u,t))}),t.$subscribe(()=>{s.forEach(u=>{pU(u,t)})})}};const XK=dX();XK.use(zHe);const $l=pX(pve);$l.use(db);$l.use(qRe);$l.use(hl);$l.use(XK);Vde($l);jHe().then(e=>{$l.use(e),$l.mount("#app"),MHe()});export{cge as $,bb as A,Oge as B,FO as C,Lg as D,wi as E,ZHe as F,GHe as G,y9 as H,GX as I,o9 as J,oWe as K,fH as L,O3 as M,rWe as N,FRe as O,q2 as P,yU as Q,Kae as R,Khe as S,A9 as T,WO as U,sWe as V,Wze as W,Vde as X,DRe as Y,mU as Z,ARe as _,le as a,eWe as a$,$ge as a0,jge as a1,Pge as a2,Fge as a3,Bu as a4,x9 as a5,Tge as a6,oge as a7,wk as a8,Ye as a9,lK as aA,uWe as aB,URe as aC,fQ as aD,iQ as aE,EQ as aF,Ch as aG,bk as aH,QX as aI,QHe as aJ,mge as aK,cH as aL,XHe as aM,HHe as aN,Fm as aO,fge as aP,nge as aQ,ege as aR,YHe as aS,Qhe as aT,Qee as aU,yk as aV,kie as aW,Ek as aX,Iee as aY,cWe as aZ,qHe as a_,nWe as aa,tWe as ab,iWe as ac,aWe as ad,vn as ae,Ute as af,lee as ag,jO as ah,ige as ai,hne as aj,HO as ak,yte as al,vU as am,Nte as an,zie as ao,Zie as ap,Iie as aq,tae as ar,sae as as,Aee as at,yge as au,bge as av,xWe as aw,BHe as ax,dU as ay,FHe as az,zX as b,KHe as b0,VHe as b1,tge as b2,ree as b3,hl as b4,lWe as b5,fe as c,de as d,CX as e,xX as f,Rm as g,JHe as h,WHe as i,PO as j,Gde as k,nm as l,E3 as m,IX as n,vge as o,xg as p,$i as q,Jpe as r,$O as s,_h as t,h9 as u,MU as v,jo as w,EU as x,Kpe as y,RO as z};
|