function eE(o,u){return u.forEach(function(f){f&&typeof f!="string"&&!Array.isArray(f)&&Object.keys(f).forEach(function(v){if(v!=="default"&&!(v in o)){var H=Object.getOwnPropertyDescriptor(f,v);Object.defineProperty(o,v,H.get?H:{enumerable:!0,get:function(){return f[v]}})}})}),Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}function uN(o,u){const f=Object.create(null),v=o.split(",");for(let H=0;H!!f[H.toLowerCase()]:H=>!!f[H]}const $W="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",YW=uN($W);function e9(o){return!!o||o===""}function VT(o){if(Vu(o)){const u={};for(let f=0;f{if(f){const v=f.split(XW);v.length>1&&(u[v[0].trim()]=v[1].trim())}}),u}function WT(o){let u="";if(i_(o))u=o;else if(Vu(o))for(let f=0;fHT(f,u))}const hre=o=>i_(o)?o:o==null?"":Vu(o)||td(o)&&(o.toString===n9||!Cl(o.toString))?JSON.stringify(o,t9,2):String(o),t9=(o,u)=>u&&u.__v_isRef?t9(o,u.value):Rx(u)?{[`Map(${u.size})`]:[...u.entries()].reduce((f,[v,H])=>(f[`${v} =>`]=H,f),{})}:$T(u)?{[`Set(${u.size})`]:[...u.values()]}:td(u)&&!Vu(u)&&!i9(u)?String(u):u,ed={},Bx=[],cv=()=>{},rH=()=>!1,nH=/^on[^a-z]/,GT=o=>nH.test(o),lN=o=>o.startsWith("onUpdate:"),wm=Object.assign,pN=(o,u)=>{const f=o.indexOf(u);f>-1&&o.splice(f,1)},iH=Object.prototype.hasOwnProperty,tp=(o,u)=>iH.call(o,u),Vu=Array.isArray,Rx=o=>tE(o)==="[object Map]",$T=o=>tE(o)==="[object Set]",A7=o=>tE(o)==="[object Date]",Cl=o=>typeof o=="function",i_=o=>typeof o=="string",JS=o=>typeof o=="symbol",td=o=>o!==null&&typeof o=="object",r9=o=>td(o)&&Cl(o.then)&&Cl(o.catch),n9=Object.prototype.toString,tE=o=>n9.call(o),aH=o=>tE(o).slice(8,-1),i9=o=>tE(o)==="[object Object]",dN=o=>i_(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,yT=uN(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),YT=o=>{const u=Object.create(null);return f=>u[f]||(u[f]=o(f))},oH=/-(\w)/g,Vv=YT(o=>o.replace(oH,(u,f)=>f?f.toUpperCase():"")),sH=/\B([A-Z])/g,ID=YT(o=>o.replace(sH,"-$1").toLowerCase()),QT=YT(o=>o.charAt(0).toUpperCase()+o.slice(1)),vT=YT(o=>o?`on${QT(o)}`:""),US=(o,u)=>!Object.is(o,u),DT=(o,u)=>{for(let f=0;f{Object.defineProperty(o,u,{configurable:!0,enumerable:!1,value:f})},KS=o=>{const u=parseFloat(o);return isNaN(u)?o:u};let F7;const cH=()=>F7||(F7=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let gy;class a9{constructor(u=!1){this.active=!0,this.effects=[],this.cleanups=[],!u&&gy&&(this.parent=gy,this.index=(gy.scopes||(gy.scopes=[])).push(this)-1)}run(u){if(this.active){const f=gy;try{return gy=this,u()}finally{gy=f}}}on(){gy=this}off(){gy=this.parent}stop(u){if(this.active){let f,v;for(f=0,v=this.effects.length;f{const u=new Set(o);return u.w=0,u.n=0,u},u9=o=>(o.w&D2)>0,l9=o=>(o.n&D2)>0,lH=({deps:o})=>{if(o.length)for(let u=0;u{const{deps:u}=o;if(u.length){let f=0;for(let v=0;v{(fr==="length"||fr>=v)&&mt.push(Wt)});else switch(f!==void 0&&mt.push($e.get(f)),u){case"add":Vu(o)?dN(f)&&mt.push($e.get("length")):(mt.push($e.get(FD)),Rx(o)&&mt.push($e.get(cF)));break;case"delete":Vu(o)||(mt.push($e.get(FD)),Rx(o)&&mt.push($e.get(cF)));break;case"set":Rx(o)&&mt.push($e.get(FD));break}if(mt.length===1)mt[0]&&uF(mt[0]);else{const Wt=[];for(const fr of mt)fr&&Wt.push(...fr);uF(fN(Wt))}}function uF(o,u){const f=Vu(o)?o:[...o];for(const v of f)v.computed&&w7(v);for(const v of f)v.computed||w7(v)}function w7(o,u){(o!==ov||o.allowRecurse)&&(o.scheduler?o.scheduler():o.run())}const dH=uN("__proto__,__v_isRef,__isVue"),f9=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(JS)),fH=mN(),_H=mN(!1,!0),mH=mN(!0),P7=gH();function gH(){const o={};return["includes","indexOf","lastIndexOf"].forEach(u=>{o[u]=function(...f){const v=dp(this);for(let se=0,$e=this.length;se<$e;se++)vy(v,"get",se+"");const H=v[u](...f);return H===-1||H===!1?v[u](...f.map(dp)):H}}),["push","pop","shift","unshift","splice"].forEach(u=>{o[u]=function(...f){Xx();const v=dp(this)[u].apply(this,f);return Zx(),v}}),o}function mN(o=!1,u=!1){return function(v,H,se){if(H==="__v_isReactive")return!o;if(H==="__v_isReadonly")return o;if(H==="__v_isShallow")return u;if(H==="__v_raw"&&se===(o?u?PH:y9:u?h9:g9).get(v))return v;const $e=Vu(v);if(!o&&$e&&tp(P7,H))return Reflect.get(P7,H,se);const mt=Reflect.get(v,H,se);return(JS(H)?f9.has(H):dH(H))||(o||vy(v,"get",H),u)?mt:Td(mt)?$e&&dN(H)?mt:mt.value:td(mt)?o?v9(mt):x2(mt):mt}}const hH=_9(),yH=_9(!0);function _9(o=!1){return function(f,v,H,se){let $e=f[v];if(Kx($e)&&Td($e)&&!Td(H))return!1;if(!o&&(!wT(H)&&!Kx(H)&&($e=dp($e),H=dp(H)),!Vu(f)&&Td($e)&&!Td(H)))return $e.value=H,!0;const mt=Vu(f)&&dN(v)?Number(v)o,XT=o=>Reflect.getPrototypeOf(o);function aT(o,u,f=!1,v=!1){o=o.__v_raw;const H=dp(o),se=dp(u);f||(u!==se&&vy(H,"get",u),vy(H,"get",se));const{has:$e}=XT(H),mt=v?gN:f?vN:zS;if($e.call(H,u))return mt(o.get(u));if($e.call(H,se))return mt(o.get(se));o!==H&&o.get(u)}function oT(o,u=!1){const f=this.__v_raw,v=dp(f),H=dp(o);return u||(o!==H&&vy(v,"has",o),vy(v,"has",H)),o===H?f.has(o):f.has(o)||f.has(H)}function sT(o,u=!1){return o=o.__v_raw,!u&&vy(dp(o),"iterate",FD),Reflect.get(o,"size",o)}function I7(o){o=dp(o);const u=dp(this);return XT(u).has.call(u,o)||(u.add(o),b1(u,"add",o,o)),this}function O7(o,u){u=dp(u);const f=dp(this),{has:v,get:H}=XT(f);let se=v.call(f,o);se||(o=dp(o),se=v.call(f,o));const $e=H.call(f,o);return f.set(o,u),se?US(u,$e)&&b1(f,"set",o,u):b1(f,"add",o,u),this}function M7(o){const u=dp(this),{has:f,get:v}=XT(u);let H=f.call(u,o);H||(o=dp(o),H=f.call(u,o)),v&&v.call(u,o);const se=u.delete(o);return H&&b1(u,"delete",o,void 0),se}function L7(){const o=dp(this),u=o.size!==0,f=o.clear();return u&&b1(o,"clear",void 0,void 0),f}function cT(o,u){return function(v,H){const se=this,$e=se.__v_raw,mt=dp($e),Wt=u?gN:o?vN:zS;return!o&&vy(mt,"iterate",FD),$e.forEach((fr,Yt)=>v.call(H,Wt(fr),Wt(Yt),se))}}function uT(o,u,f){return function(...v){const H=this.__v_raw,se=dp(H),$e=Rx(se),mt=o==="entries"||o===Symbol.iterator&&$e,Wt=o==="keys"&&$e,fr=H[o](...v),Yt=f?gN:u?vN:zS;return!u&&vy(se,"iterate",Wt?cF:FD),{next(){const{value:Ir,done:Qr}=fr.next();return Qr?{value:Ir,done:Qr}:{value:mt?[Yt(Ir[0]),Yt(Ir[1])]:Yt(Ir),done:Qr}},[Symbol.iterator](){return this}}}}function n2(o){return function(...u){return o==="delete"?!1:this}}function EH(){const o={get(se){return aT(this,se)},get size(){return sT(this)},has:oT,add:I7,set:O7,delete:M7,clear:L7,forEach:cT(!1,!1)},u={get(se){return aT(this,se,!1,!0)},get size(){return sT(this)},has:oT,add:I7,set:O7,delete:M7,clear:L7,forEach:cT(!1,!0)},f={get(se){return aT(this,se,!0)},get size(){return sT(this,!0)},has(se){return oT.call(this,se,!0)},add:n2("add"),set:n2("set"),delete:n2("delete"),clear:n2("clear"),forEach:cT(!0,!1)},v={get(se){return aT(this,se,!0,!0)},get size(){return sT(this,!0)},has(se){return oT.call(this,se,!0)},add:n2("add"),set:n2("set"),delete:n2("delete"),clear:n2("clear"),forEach:cT(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(se=>{o[se]=uT(se,!1,!1),f[se]=uT(se,!0,!1),u[se]=uT(se,!1,!0),v[se]=uT(se,!0,!0)}),[o,f,u,v]}const[CH,TH,kH,AH]=EH();function hN(o,u){const f=u?o?AH:kH:o?TH:CH;return(v,H,se)=>H==="__v_isReactive"?!o:H==="__v_isReadonly"?o:H==="__v_raw"?v:Reflect.get(tp(f,H)&&H in v?f:v,H,se)}const FH={get:hN(!1,!1)},NH={get:hN(!1,!0)},wH={get:hN(!0,!1)},g9=new WeakMap,h9=new WeakMap,y9=new WeakMap,PH=new WeakMap;function IH(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function OH(o){return o.__v_skip||!Object.isExtensible(o)?0:IH(aH(o))}function x2(o){return Kx(o)?o:yN(o,!1,m9,FH,g9)}function MH(o){return yN(o,!1,SH,NH,h9)}function v9(o){return yN(o,!0,bH,wH,y9)}function yN(o,u,f,v,H){if(!td(o)||o.__v_raw&&!(u&&o.__v_isReactive))return o;const se=H.get(o);if(se)return se;const $e=OH(o);if($e===0)return o;const mt=new Proxy(o,$e===2?v:f);return H.set(o,mt),mt}function y2(o){return Kx(o)?y2(o.__v_raw):!!(o&&o.__v_isReactive)}function Kx(o){return!!(o&&o.__v_isReadonly)}function wT(o){return!!(o&&o.__v_isShallow)}function D9(o){return y2(o)||Kx(o)}function dp(o){const u=o&&o.__v_raw;return u?dp(u):o}function zx(o){return NT(o,"__v_skip",!0),o}const zS=o=>td(o)?x2(o):o,vN=o=>td(o)?v9(o):o;function DN(o){h2&&ov&&(o=dp(o),d9(o.dep||(o.dep=fN())))}function xN(o,u){o=dp(o),o.dep&&uF(o.dep)}function Td(o){return!!(o&&o.__v_isRef===!0)}function Df(o){return x9(o,!1)}function LH(o){return x9(o,!0)}function x9(o,u){return Td(o)?o:new BH(o,u)}class BH{constructor(u,f){this.__v_isShallow=f,this.dep=void 0,this.__v_isRef=!0,this._rawValue=f?u:dp(u),this._value=f?u:zS(u)}get value(){return DN(this),this._value}set value(u){const f=this.__v_isShallow||wT(u)||Kx(u);u=f?u:dp(u),US(u,this._rawValue)&&(this._rawValue=u,this._value=f?u:zS(u),xN(this))}}function km(o){return Td(o)?o.value:o}const RH={get:(o,u,f)=>km(Reflect.get(o,u,f)),set:(o,u,f,v)=>{const H=o[u];return Td(H)&&!Td(f)?(H.value=f,!0):Reflect.set(o,u,f,v)}};function b9(o){return y2(o)?o:new Proxy(o,RH)}class jH{constructor(u){this.dep=void 0,this.__v_isRef=!0;const{get:f,set:v}=u(()=>DN(this),()=>xN(this));this._get=f,this._set=v}get value(){return this._get()}set value(u){this._set(u)}}function JH(o){return new jH(o)}function S9(o){const u=Vu(o)?new Array(o.length):{};for(const f in o)u[f]=KH(o,f);return u}class UH{constructor(u,f,v){this._object=u,this._key=f,this._defaultValue=v,this.__v_isRef=!0}get value(){const u=this._object[this._key];return u===void 0?this._defaultValue:u}set value(u){this._object[this._key]=u}}function KH(o,u,f){const v=o[u];return Td(v)?v:new UH(o,u,f)}var E9;class zH{constructor(u,f,v,H){this._setter=f,this.dep=void 0,this.__v_isRef=!0,this[E9]=!1,this._dirty=!0,this.effect=new _N(u,()=>{this._dirty||(this._dirty=!0,xN(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!H,this.__v_isReadonly=v}get value(){const u=dp(this);return DN(u),(u._dirty||!u._cacheable)&&(u._dirty=!1,u._value=u.effect.run()),u._value}set value(u){this._setter(u)}}E9="__v_isReadonly";function qH(o,u,f=!1){let v,H;const se=Cl(o);return se?(v=o,H=cv):(v=o.get,H=o.set),new zH(v,H,se||!H,f)}function v2(o,u,f,v){let H;try{H=v?o(...v):o()}catch(se){ZT(se,u,f)}return H}function h0(o,u,f,v){if(Cl(o)){const se=v2(o,u,f,v);return se&&r9(se)&&se.catch($e=>{ZT($e,u,f)}),se}const H=[];for(let se=0;se>>1;VS(Qm[v])Kv&&Qm.splice(u,1)}function GH(o){Vu(o)?jx.push(...o):(!v1||!v1.includes(o,o.allowRecurse?xD+1:xD))&&jx.push(o),T9()}function B7(o,u=qS?Kv+1:0){for(;uVS(f)-VS(v)),xD=0;xDo.id==null?1/0:o.id,$H=(o,u)=>{const f=VS(o)-VS(u);if(f===0){if(o.pre&&!u.pre)return-1;if(u.pre&&!o.pre)return 1}return f};function A9(o){lF=!1,qS=!0,Qm.sort($H);const u=cv;try{for(Kv=0;KvDi.trim())),Ir&&(H=f.map(KS))}let mt,Wt=v[mt=vT(u)]||v[mt=vT(Vv(u))];!Wt&&se&&(Wt=v[mt=vT(ID(u))]),Wt&&h0(Wt,o,6,H);const fr=v[mt+"Once"];if(fr){if(!o.emitted)o.emitted={};else if(o.emitted[mt])return;o.emitted[mt]=!0,h0(fr,o,6,H)}}function F9(o,u,f=!1){const v=u.emitsCache,H=v.get(o);if(H!==void 0)return H;const se=o.emits;let $e={},mt=!1;if(!Cl(o)){const Wt=fr=>{const Yt=F9(fr,u,!0);Yt&&(mt=!0,wm($e,Yt))};!f&&u.mixins.length&&u.mixins.forEach(Wt),o.extends&&Wt(o.extends),o.mixins&&o.mixins.forEach(Wt)}return!se&&!mt?(td(o)&&v.set(o,null),null):(Vu(se)?se.forEach(Wt=>$e[Wt]=null):wm($e,se),td(o)&&v.set(o,$e),$e)}function tk(o,u){return!o||!GT(u)?!1:(u=u.slice(2).replace(/Once$/,""),tp(o,u[0].toLowerCase()+u.slice(1))||tp(o,ID(u))||tp(o,u))}let Xm=null,N9=null;function PT(o){const u=Xm;return Xm=o,N9=o&&o.type.__scopeId||null,u}function QH(o,u=Xm,f){if(!u||o._n)return o;const v=(...H)=>{v._d&&$7(-1);const se=PT(u),$e=o(...H);return PT(se),v._d&&$7(1),$e};return v._n=!0,v._c=!0,v._d=!0,v}function I6(o){const{type:u,vnode:f,proxy:v,withProxy:H,props:se,propsOptions:[$e],slots:mt,attrs:Wt,emit:fr,render:Yt,renderCache:Ir,data:Qr,setupState:Di,ctx:Vi,inheritAttrs:gi}=o;let Mi,Yn;const _a=PT(o);try{if(f.shapeFlag&4){const ea=H||v;Mi=Jv(Yt.call(ea,ea,Ir,se,Di,Qr,Vi)),Yn=Wt}else{const ea=u;Mi=Jv(ea.length>1?ea(se,{attrs:Wt,slots:mt,emit:fr}):ea(se,null)),Yn=u.props?Wt:XH(Wt)}}catch(ea){wS.length=0,ZT(ea,o,1),Mi=Fm(v0)}let ha=Mi;if(Yn&&gi!==!1){const ea=Object.keys(Yn),{shapeFlag:Na}=ha;ea.length&&Na&7&&($e&&ea.some(lN)&&(Yn=ZH(Yn,$e)),ha=b2(ha,Yn))}return f.dirs&&(ha=b2(ha),ha.dirs=ha.dirs?ha.dirs.concat(f.dirs):f.dirs),f.transition&&(ha.transition=f.transition),Mi=ha,PT(_a),Mi}const XH=o=>{let u;for(const f in o)(f==="class"||f==="style"||GT(f))&&((u||(u={}))[f]=o[f]);return u},ZH=(o,u)=>{const f={};for(const v in o)(!lN(v)||!(v.slice(9)in u))&&(f[v]=o[v]);return f};function eG(o,u,f){const{props:v,children:H,component:se}=o,{props:$e,children:mt,patchFlag:Wt}=u,fr=se.emitsOptions;if(u.dirs||u.transition)return!0;if(f&&Wt>=0){if(Wt&1024)return!0;if(Wt&16)return v?R7(v,$e,fr):!!$e;if(Wt&8){const Yt=u.dynamicProps;for(let Ir=0;Iro.__isSuspense;function nG(o,u){u&&u.pendingBranch?Vu(o)?u.effects.push(...o):u.effects.push(o):GH(o)}function xT(o,u){if(G_){let f=G_.provides;const v=G_.parent&&G_.parent.provides;v===f&&(f=G_.provides=Object.create(v)),f[o]=u}}function y0(o,u,f=!1){const v=G_||Xm;if(v){const H=v.parent==null?v.vnode.appContext&&v.vnode.appContext.provides:v.parent.provides;if(H&&o in H)return H[o];if(arguments.length>1)return f&&Cl(u)?u.call(v.proxy):u}}function yre(o,u){return rk(o,null,u)}function iG(o,u){return rk(o,null,{flush:"post"})}const j7={};function uv(o,u,f){return rk(o,u,f)}function rk(o,u,{immediate:f,deep:v,flush:H,onTrack:se,onTrigger:$e}=ed){const mt=G_;let Wt,fr=!1,Yt=!1;if(Td(o)?(Wt=()=>o.value,fr=wT(o)):y2(o)?(Wt=()=>o,v=!0):Vu(o)?(Yt=!0,fr=o.some(Yn=>y2(Yn)||wT(Yn)),Wt=()=>o.map(Yn=>{if(Td(Yn))return Yn.value;if(y2(Yn))return CD(Yn);if(Cl(Yn))return v2(Yn,mt,2)})):Cl(o)?u?Wt=()=>v2(o,mt,2):Wt=()=>{if(!(mt&&mt.isUnmounted))return Ir&&Ir(),h0(o,mt,3,[Qr])}:Wt=cv,u&&v){const Yn=Wt;Wt=()=>CD(Yn())}let Ir,Qr=Yn=>{Ir=Mi.onStop=()=>{v2(Yn,mt,4)}};if(GS)return Qr=cv,u?f&&h0(u,mt,3,[Wt(),Yt?[]:void 0,Qr]):Wt(),cv;let Di=Yt?[]:j7;const Vi=()=>{if(!!Mi.active)if(u){const Yn=Mi.run();(v||fr||(Yt?Yn.some((_a,ha)=>US(_a,Di[ha])):US(Yn,Di)))&&(Ir&&Ir(),h0(u,mt,3,[Yn,Di===j7?void 0:Di,Qr]),Di=Yn)}else Mi.run()};Vi.allowRecurse=!!u;let gi;H==="sync"?gi=Vi:H==="post"?gi=()=>mh(Vi,mt&&mt.suspense):(Vi.pre=!0,mt&&(Vi.id=mt.uid),gi=()=>SN(Vi));const Mi=new _N(Wt,gi);return u?f?Vi():Di=Mi.run():H==="post"?mh(Mi.run.bind(Mi),mt&&mt.suspense):Mi.run(),()=>{Mi.stop(),mt&&mt.scope&&pN(mt.scope.effects,Mi)}}function aG(o,u,f){const v=this.proxy,H=i_(o)?o.includes(".")?w9(v,o):()=>v[o]:o.bind(v,v);let se;Cl(u)?se=u:(se=u.handler,f=u);const $e=G_;qx(this);const mt=rk(H,se.bind(v),f);return $e?qx($e):ND(),mt}function w9(o,u){const f=u.split(".");return()=>{let v=o;for(let H=0;H{CD(f,u)});else if(i9(o))for(const f in o)CD(o[f],u);return o}function oG(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return rE(()=>{o.isMounted=!0}),R9(()=>{o.isUnmounting=!0}),o}const m0=[Function,Array],sG={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:m0,onEnter:m0,onAfterEnter:m0,onEnterCancelled:m0,onBeforeLeave:m0,onLeave:m0,onAfterLeave:m0,onLeaveCancelled:m0,onBeforeAppear:m0,onAppear:m0,onAfterAppear:m0,onAppearCancelled:m0},setup(o,{slots:u}){const f=D0(),v=oG();let H;return()=>{const se=u.default&&O9(u.default(),!0);if(!se||!se.length)return;let $e=se[0];if(se.length>1){for(const gi of se)if(gi.type!==v0){$e=gi;break}}const mt=dp(o),{mode:Wt}=mt;if(v.isLeaving)return O6($e);const fr=J7($e);if(!fr)return O6($e);const Yt=pF(fr,mt,v,f);dF(fr,Yt);const Ir=f.subTree,Qr=Ir&&J7(Ir);let Di=!1;const{getTransitionKey:Vi}=fr.type;if(Vi){const gi=Vi();H===void 0?H=gi:gi!==H&&(H=gi,Di=!0)}if(Qr&&Qr.type!==v0&&(!bD(fr,Qr)||Di)){const gi=pF(Qr,mt,v,f);if(dF(Qr,gi),Wt==="out-in")return v.isLeaving=!0,gi.afterLeave=()=>{v.isLeaving=!1,f.update()},O6($e);Wt==="in-out"&&fr.type!==v0&&(gi.delayLeave=(Mi,Yn,_a)=>{const ha=I9(v,Qr);ha[String(Qr.key)]=Qr,Mi._leaveCb=()=>{Yn(),Mi._leaveCb=void 0,delete Yt.delayedLeave},Yt.delayedLeave=_a})}return $e}}},P9=sG;function I9(o,u){const{leavingVNodes:f}=o;let v=f.get(u.type);return v||(v=Object.create(null),f.set(u.type,v)),v}function pF(o,u,f,v){const{appear:H,mode:se,persisted:$e=!1,onBeforeEnter:mt,onEnter:Wt,onAfterEnter:fr,onEnterCancelled:Yt,onBeforeLeave:Ir,onLeave:Qr,onAfterLeave:Di,onLeaveCancelled:Vi,onBeforeAppear:gi,onAppear:Mi,onAfterAppear:Yn,onAppearCancelled:_a}=u,ha=String(o.key),ea=I9(f,o),Na=(zi,$a)=>{zi&&h0(zi,v,9,$a)},Hi=(zi,$a)=>{const Io=$a[1];Na(zi,$a),Vu(zi)?zi.every(ec=>ec.length<=1)&&Io():zi.length<=1&&Io()},Qi={mode:se,persisted:$e,beforeEnter(zi){let $a=mt;if(!f.isMounted)if(H)$a=gi||mt;else return;zi._leaveCb&&zi._leaveCb(!0);const Io=ea[ha];Io&&bD(o,Io)&&Io.el._leaveCb&&Io.el._leaveCb(),Na($a,[zi])},enter(zi){let $a=Wt,Io=fr,ec=Yt;if(!f.isMounted)if(H)$a=Mi||Wt,Io=Yn||fr,ec=_a||Yt;else return;let qo=!1;const Ko=zi._enterCb=ho=>{qo||(qo=!0,ho?Na(ec,[zi]):Na(Io,[zi]),Qi.delayedLeave&&Qi.delayedLeave(),zi._enterCb=void 0)};$a?Hi($a,[zi,Ko]):Ko()},leave(zi,$a){const Io=String(o.key);if(zi._enterCb&&zi._enterCb(!0),f.isUnmounting)return $a();Na(Ir,[zi]);let ec=!1;const qo=zi._leaveCb=Ko=>{ec||(ec=!0,$a(),Ko?Na(Vi,[zi]):Na(Di,[zi]),zi._leaveCb=void 0,ea[Io]===o&&delete ea[Io])};ea[Io]=o,Qr?Hi(Qr,[zi,qo]):qo()},clone(zi){return pF(zi,u,f,v)}};return Qi}function O6(o){if(nk(o))return o=b2(o),o.children=null,o}function J7(o){return nk(o)?o.children?o.children[0]:void 0:o}function dF(o,u){o.shapeFlag&6&&o.component?dF(o.component.subTree,u):o.shapeFlag&128?(o.ssContent.transition=u.clone(o.ssContent),o.ssFallback.transition=u.clone(o.ssFallback)):o.transition=u}function O9(o,u=!1,f){let v=[],H=0;for(let se=0;se1)for(let se=0;se!!o.type.__asyncLoader,nk=o=>o.type.__isKeepAlive;function cG(o,u){L9(o,"a",u)}function uG(o,u){L9(o,"da",u)}function L9(o,u,f=G_){const v=o.__wdc||(o.__wdc=()=>{let H=f;for(;H;){if(H.isDeactivated)return;H=H.parent}return o()});if(ik(u,v,f),f){let H=f.parent;for(;H&&H.parent;)nk(H.parent.vnode)&&lG(v,u,f,H),H=H.parent}}function lG(o,u,f,v){const H=ik(u,o,v,!0);nE(()=>{pN(v[u],H)},f)}function ik(o,u,f=G_,v=!1){if(f){const H=f[o]||(f[o]=[]),se=u.__weh||(u.__weh=(...$e)=>{if(f.isUnmounted)return;Xx(),qx(f);const mt=h0(u,f,o,$e);return ND(),Zx(),mt});return v?H.unshift(se):H.push(se),se}}const S1=o=>(u,f=G_)=>(!GS||o==="sp")&&ik(o,(...v)=>u(...v),f),pG=S1("bm"),rE=S1("m"),dG=S1("bu"),B9=S1("u"),R9=S1("bum"),nE=S1("um"),fG=S1("sp"),_G=S1("rtg"),mG=S1("rtc");function gG(o,u=G_){ik("ec",o,u)}function vre(o,u){const f=Xm;if(f===null)return o;const v=ok(f)||f.proxy,H=o.dirs||(o.dirs=[]);for(let se=0;seu($e,mt,void 0,se&&se[mt]));else{const $e=Object.keys(o);H=new Array($e.length);for(let mt=0,Wt=$e.length;mt{const se=v.fn(...H);return se&&(se.key=v.key),se}:v.fn)}return o}function Sre(o,u,f={},v,H){if(Xm.isCE||Xm.parent&&AS(Xm.parent)&&Xm.parent.isCE)return Fm("slot",u==="default"?null:{name:u},v&&v());let se=o[u];se&&se._c&&(se._d=!1),G9();const $e=se&&J9(se(f)),mt=Y9(Og,{key:f.key||$e&&$e.key||`_${u}`},$e||(v?v():[]),$e&&o._===1?64:-2);return!H&&mt.scopeId&&(mt.slotScopeIds=[mt.scopeId+"-s"]),se&&se._c&&(se._d=!0),mt}function J9(o){return o.some(u=>MT(u)?!(u.type===v0||u.type===Og&&!J9(u.children)):!0)?o:null}function Ere(o,u){const f={};for(const v in o)f[u&&/[A-Z]/.test(v)?`on:${v}`:vT(v)]=o[v];return f}const fF=o=>o?Z9(o)?ok(o)||o.proxy:fF(o.parent):null,IT=wm(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>o.props,$attrs:o=>o.attrs,$slots:o=>o.slots,$refs:o=>o.refs,$parent:o=>fF(o.parent),$root:o=>fF(o.root),$emit:o=>o.emit,$options:o=>EN(o),$forceUpdate:o=>o.f||(o.f=()=>SN(o.update)),$nextTick:o=>o.n||(o.n=ek.bind(o.proxy)),$watch:o=>aG.bind(o)}),vG={get({_:o},u){const{ctx:f,setupState:v,data:H,props:se,accessCache:$e,type:mt,appContext:Wt}=o;let fr;if(u[0]!=="$"){const Di=$e[u];if(Di!==void 0)switch(Di){case 1:return v[u];case 2:return H[u];case 4:return f[u];case 3:return se[u]}else{if(v!==ed&&tp(v,u))return $e[u]=1,v[u];if(H!==ed&&tp(H,u))return $e[u]=2,H[u];if((fr=o.propsOptions[0])&&tp(fr,u))return $e[u]=3,se[u];if(f!==ed&&tp(f,u))return $e[u]=4,f[u];_F&&($e[u]=0)}}const Yt=IT[u];let Ir,Qr;if(Yt)return u==="$attrs"&&vy(o,"get",u),Yt(o);if((Ir=mt.__cssModules)&&(Ir=Ir[u]))return Ir;if(f!==ed&&tp(f,u))return $e[u]=4,f[u];if(Qr=Wt.config.globalProperties,tp(Qr,u))return Qr[u]},set({_:o},u,f){const{data:v,setupState:H,ctx:se}=o;return H!==ed&&tp(H,u)?(H[u]=f,!0):v!==ed&&tp(v,u)?(v[u]=f,!0):tp(o.props,u)||u[0]==="$"&&u.slice(1)in o?!1:(se[u]=f,!0)},has({_:{data:o,setupState:u,accessCache:f,ctx:v,appContext:H,propsOptions:se}},$e){let mt;return!!f[$e]||o!==ed&&tp(o,$e)||u!==ed&&tp(u,$e)||(mt=se[0])&&tp(mt,$e)||tp(v,$e)||tp(IT,$e)||tp(H.config.globalProperties,$e)},defineProperty(o,u,f){return f.get!=null?o._.accessCache[u]=0:tp(f,"value")&&this.set(o,u,f.value,null),Reflect.defineProperty(o,u,f)}};let _F=!0;function DG(o){const u=EN(o),f=o.proxy,v=o.ctx;_F=!1,u.beforeCreate&&K7(u.beforeCreate,o,"bc");const{data:H,computed:se,methods:$e,watch:mt,provide:Wt,inject:fr,created:Yt,beforeMount:Ir,mounted:Qr,beforeUpdate:Di,updated:Vi,activated:gi,deactivated:Mi,beforeDestroy:Yn,beforeUnmount:_a,destroyed:ha,unmounted:ea,render:Na,renderTracked:Hi,renderTriggered:Qi,errorCaptured:zi,serverPrefetch:$a,expose:Io,inheritAttrs:ec,components:qo,directives:Ko,filters:ho}=u;if(fr&&xG(fr,v,null,o.appContext.config.unwrapInjectedRef),$e)for(const Ca in $e){const us=$e[Ca];Cl(us)&&(v[Ca]=us.bind(f))}if(H){const Ca=H.call(f,f);td(Ca)&&(o.data=x2(Ca))}if(_F=!0,se)for(const Ca in se){const us=se[Ca],ws=Cl(us)?us.bind(f,f):Cl(us.get)?us.get.bind(f,f):cv,cu=!Cl(us)&&Cl(us.set)?us.set.bind(f):cv,Ic=xf({get:ws,set:cu});Object.defineProperty(v,Ca,{enumerable:!0,configurable:!0,get:()=>Ic.value,set:nu=>Ic.value=nu})}if(mt)for(const Ca in mt)U9(mt[Ca],v,f,Ca);if(Wt){const Ca=Cl(Wt)?Wt.call(f):Wt;Reflect.ownKeys(Ca).forEach(us=>{xT(us,Ca[us])})}Yt&&K7(Yt,o,"c");function ts(Ca,us){Vu(us)?us.forEach(ws=>Ca(ws.bind(f))):us&&Ca(us.bind(f))}if(ts(pG,Ir),ts(rE,Qr),ts(dG,Di),ts(B9,Vi),ts(cG,gi),ts(uG,Mi),ts(gG,zi),ts(mG,Hi),ts(_G,Qi),ts(R9,_a),ts(nE,ea),ts(fG,$a),Vu(Io))if(Io.length){const Ca=o.exposed||(o.exposed={});Io.forEach(us=>{Object.defineProperty(Ca,us,{get:()=>f[us],set:ws=>f[us]=ws})})}else o.exposed||(o.exposed={});Na&&o.render===cv&&(o.render=Na),ec!=null&&(o.inheritAttrs=ec),qo&&(o.components=qo),Ko&&(o.directives=Ko)}function xG(o,u,f=cv,v=!1){Vu(o)&&(o=mF(o));for(const H in o){const se=o[H];let $e;td(se)?"default"in se?$e=y0(se.from||H,se.default,!0):$e=y0(se.from||H):$e=y0(se),Td($e)&&v?Object.defineProperty(u,H,{enumerable:!0,configurable:!0,get:()=>$e.value,set:mt=>$e.value=mt}):u[H]=$e}}function K7(o,u,f){h0(Vu(o)?o.map(v=>v.bind(u.proxy)):o.bind(u.proxy),u,f)}function U9(o,u,f,v){const H=v.includes(".")?w9(f,v):()=>f[v];if(i_(o)){const se=u[o];Cl(se)&&uv(H,se)}else if(Cl(o))uv(H,o.bind(f));else if(td(o))if(Vu(o))o.forEach(se=>U9(se,u,f,v));else{const se=Cl(o.handler)?o.handler.bind(f):u[o.handler];Cl(se)&&uv(H,se,o)}}function EN(o){const u=o.type,{mixins:f,extends:v}=u,{mixins:H,optionsCache:se,config:{optionMergeStrategies:$e}}=o.appContext,mt=se.get(u);let Wt;return mt?Wt=mt:!H.length&&!f&&!v?Wt=u:(Wt={},H.length&&H.forEach(fr=>OT(Wt,fr,$e,!0)),OT(Wt,u,$e)),td(u)&&se.set(u,Wt),Wt}function OT(o,u,f,v=!1){const{mixins:H,extends:se}=u;se&&OT(o,se,f,!0),H&&H.forEach($e=>OT(o,$e,f,!0));for(const $e in u)if(!(v&&$e==="expose")){const mt=bG[$e]||f&&f[$e];o[$e]=mt?mt(o[$e],u[$e]):u[$e]}return o}const bG={data:z7,props:DD,emits:DD,methods:DD,computed:DD,beforeCreate:wg,created:wg,beforeMount:wg,mounted:wg,beforeUpdate:wg,updated:wg,beforeDestroy:wg,beforeUnmount:wg,destroyed:wg,unmounted:wg,activated:wg,deactivated:wg,errorCaptured:wg,serverPrefetch:wg,components:DD,directives:DD,watch:EG,provide:z7,inject:SG};function z7(o,u){return u?o?function(){return wm(Cl(o)?o.call(this,this):o,Cl(u)?u.call(this,this):u)}:u:o}function SG(o,u){return DD(mF(o),mF(u))}function mF(o){if(Vu(o)){const u={};for(let f=0;f0)&&!($e&16)){if($e&8){const Yt=o.vnode.dynamicProps;for(let Ir=0;Ir{Wt=!0;const[Qr,Di]=z9(Ir,u,!0);wm($e,Qr),Di&&mt.push(...Di)};!f&&u.mixins.length&&u.mixins.forEach(Yt),o.extends&&Yt(o.extends),o.mixins&&o.mixins.forEach(Yt)}if(!se&&!Wt)return td(o)&&v.set(o,Bx),Bx;if(Vu(se))for(let Yt=0;Yt-1,Di[1]=gi<0||Vi-1||tp(Di,"default"))&&mt.push(Ir)}}}const fr=[$e,mt];return td(o)&&v.set(o,fr),fr}function q7(o){return o[0]!=="$"}function V7(o){const u=o&&o.toString().match(/^\s*function (\w+)/);return u?u[1]:o===null?"null":""}function W7(o,u){return V7(o)===V7(u)}function H7(o,u){return Vu(u)?u.findIndex(f=>W7(f,o)):Cl(u)&&W7(u,o)?0:-1}const q9=o=>o[0]==="_"||o==="$stable",CN=o=>Vu(o)?o.map(Jv):[Jv(o)],kG=(o,u,f)=>{if(u._n)return u;const v=QH((...H)=>CN(u(...H)),f);return v._c=!1,v},V9=(o,u,f)=>{const v=o._ctx;for(const H in o){if(q9(H))continue;const se=o[H];if(Cl(se))u[H]=kG(H,se,v);else if(se!=null){const $e=CN(se);u[H]=()=>$e}}},W9=(o,u)=>{const f=CN(u);o.slots.default=()=>f},AG=(o,u)=>{if(o.vnode.shapeFlag&32){const f=u._;f?(o.slots=dp(u),NT(u,"_",f)):V9(u,o.slots={})}else o.slots={},u&&W9(o,u);NT(o.slots,ak,1)},FG=(o,u,f)=>{const{vnode:v,slots:H}=o;let se=!0,$e=ed;if(v.shapeFlag&32){const mt=u._;mt?f&&mt===1?se=!1:(wm(H,u),!f&&mt===1&&delete H._):(se=!u.$stable,V9(u,H)),$e=u}else u&&(W9(o,u),$e={default:1});if(se)for(const mt in H)!q9(mt)&&!(mt in $e)&&delete H[mt]};function H9(){return{app:null,config:{isNativeTag:rH,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let NG=0;function wG(o,u){return function(v,H=null){Cl(v)||(v=Object.assign({},v)),H!=null&&!td(H)&&(H=null);const se=H9(),$e=new Set;let mt=!1;const Wt=se.app={_uid:NG++,_component:v,_props:H,_container:null,_context:se,_instance:null,version:QG,get config(){return se.config},set config(fr){},use(fr,...Yt){return $e.has(fr)||(fr&&Cl(fr.install)?($e.add(fr),fr.install(Wt,...Yt)):Cl(fr)&&($e.add(fr),fr(Wt,...Yt))),Wt},mixin(fr){return se.mixins.includes(fr)||se.mixins.push(fr),Wt},component(fr,Yt){return Yt?(se.components[fr]=Yt,Wt):se.components[fr]},directive(fr,Yt){return Yt?(se.directives[fr]=Yt,Wt):se.directives[fr]},mount(fr,Yt,Ir){if(!mt){const Qr=Fm(v,H);return Qr.appContext=se,Yt&&u?u(Qr,fr):o(Qr,fr,Ir),mt=!0,Wt._container=fr,fr.__vue_app__=Wt,ok(Qr.component)||Qr.component.proxy}},unmount(){mt&&(o(null,Wt._container),delete Wt._container.__vue_app__)},provide(fr,Yt){return se.provides[fr]=Yt,Wt}};return Wt}}function hF(o,u,f,v,H=!1){if(Vu(o)){o.forEach((Qr,Di)=>hF(Qr,u&&(Vu(u)?u[Di]:u),f,v,H));return}if(AS(v)&&!H)return;const se=v.shapeFlag&4?ok(v.component)||v.component.proxy:v.el,$e=H?null:se,{i:mt,r:Wt}=o,fr=u&&u.r,Yt=mt.refs===ed?mt.refs={}:mt.refs,Ir=mt.setupState;if(fr!=null&&fr!==Wt&&(i_(fr)?(Yt[fr]=null,tp(Ir,fr)&&(Ir[fr]=null)):Td(fr)&&(fr.value=null)),Cl(Wt))v2(Wt,mt,12,[$e,Yt]);else{const Qr=i_(Wt),Di=Td(Wt);if(Qr||Di){const Vi=()=>{if(o.f){const gi=Qr?Yt[Wt]:Wt.value;H?Vu(gi)&&pN(gi,se):Vu(gi)?gi.includes(se)||gi.push(se):Qr?(Yt[Wt]=[se],tp(Ir,Wt)&&(Ir[Wt]=Yt[Wt])):(Wt.value=[se],o.k&&(Yt[o.k]=Wt.value))}else Qr?(Yt[Wt]=$e,tp(Ir,Wt)&&(Ir[Wt]=$e)):Di&&(Wt.value=$e,o.k&&(Yt[o.k]=$e))};$e?(Vi.id=-1,mh(Vi,f)):Vi()}}}const mh=nG;function PG(o){return IG(o)}function IG(o,u){const f=cH();f.__VUE__=!0;const{insert:v,remove:H,patchProp:se,createElement:$e,createText:mt,createComment:Wt,setText:fr,setElementText:Yt,parentNode:Ir,nextSibling:Qr,setScopeId:Di=cv,insertStaticContent:Vi}=o,gi=(tn,Xn,na,Wa=null,So=null,As=null,Qs=!1,Ds=null,$s=!!Xn.dynamicChildren)=>{if(tn===Xn)return;tn&&!bD(tn,Xn)&&(Wa=_s(tn),nu(tn,So,As,!0),tn=null),Xn.patchFlag===-2&&($s=!1,Xn.dynamicChildren=null);const{type:oa,ref:Oo,shapeFlag:fc}=Xn;switch(oa){case WS:Mi(tn,Xn,na,Wa);break;case v0:Yn(tn,Xn,na,Wa);break;case NS:tn==null&&_a(Xn,na,Wa,Qs);break;case Og:qo(tn,Xn,na,Wa,So,As,Qs,Ds,$s);break;default:fc&1?Na(tn,Xn,na,Wa,So,As,Qs,Ds,$s):fc&6?Ko(tn,Xn,na,Wa,So,As,Qs,Ds,$s):(fc&64||fc&128)&&oa.process(tn,Xn,na,Wa,So,As,Qs,Ds,$s,Cc)}Oo!=null&&So&&hF(Oo,tn&&tn.ref,As,Xn||tn,!Xn)},Mi=(tn,Xn,na,Wa)=>{if(tn==null)v(Xn.el=mt(Xn.children),na,Wa);else{const So=Xn.el=tn.el;Xn.children!==tn.children&&fr(So,Xn.children)}},Yn=(tn,Xn,na,Wa)=>{tn==null?v(Xn.el=Wt(Xn.children||""),na,Wa):Xn.el=tn.el},_a=(tn,Xn,na,Wa)=>{[tn.el,tn.anchor]=Vi(tn.children,Xn,na,Wa,tn.el,tn.anchor)},ha=({el:tn,anchor:Xn},na,Wa)=>{let So;for(;tn&&tn!==Xn;)So=Qr(tn),v(tn,na,Wa),tn=So;v(Xn,na,Wa)},ea=({el:tn,anchor:Xn})=>{let na;for(;tn&&tn!==Xn;)na=Qr(tn),H(tn),tn=na;H(Xn)},Na=(tn,Xn,na,Wa,So,As,Qs,Ds,$s)=>{Qs=Qs||Xn.type==="svg",tn==null?Hi(Xn,na,Wa,So,As,Qs,Ds,$s):$a(tn,Xn,So,As,Qs,Ds,$s)},Hi=(tn,Xn,na,Wa,So,As,Qs,Ds)=>{let $s,oa;const{type:Oo,props:fc,shapeFlag:_c,transition:gu,dirs:Fu}=tn;if($s=tn.el=$e(tn.type,As,fc&&fc.is,fc),_c&8?Yt($s,tn.children):_c&16&&zi(tn.children,$s,null,Wa,So,As&&Oo!=="foreignObject",Qs,Ds),Fu&&_D(tn,null,Wa,"created"),fc){for(const Qu in fc)Qu!=="value"&&!yT(Qu)&&se($s,Qu,null,fc[Qu],As,tn.children,Wa,So,ks);"value"in fc&&se($s,"value",null,fc.value),(oa=fc.onVnodeBeforeMount)&&Rv(oa,Wa,tn)}Qi($s,tn,tn.scopeId,Qs,Wa),Fu&&_D(tn,null,Wa,"beforeMount");const rl=(!So||So&&!So.pendingBranch)&&gu&&!gu.persisted;rl&&gu.beforeEnter($s),v($s,Xn,na),((oa=fc&&fc.onVnodeMounted)||rl||Fu)&&mh(()=>{oa&&Rv(oa,Wa,tn),rl&&gu.enter($s),Fu&&_D(tn,null,Wa,"mounted")},So)},Qi=(tn,Xn,na,Wa,So)=>{if(na&&Di(tn,na),Wa)for(let As=0;As{for(let oa=$s;oa{const Ds=Xn.el=tn.el;let{patchFlag:$s,dynamicChildren:oa,dirs:Oo}=Xn;$s|=tn.patchFlag&16;const fc=tn.props||ed,_c=Xn.props||ed;let gu;na&&mD(na,!1),(gu=_c.onVnodeBeforeUpdate)&&Rv(gu,na,Xn,tn),Oo&&_D(Xn,tn,na,"beforeUpdate"),na&&mD(na,!0);const Fu=So&&Xn.type!=="foreignObject";if(oa?Io(tn.dynamicChildren,oa,Ds,na,Wa,Fu,As):Qs||us(tn,Xn,Ds,null,na,Wa,Fu,As,!1),$s>0){if($s&16)ec(Ds,Xn,fc,_c,na,Wa,So);else if($s&2&&fc.class!==_c.class&&se(Ds,"class",null,_c.class,So),$s&4&&se(Ds,"style",fc.style,_c.style,So),$s&8){const rl=Xn.dynamicProps;for(let Qu=0;Qu{gu&&Rv(gu,na,Xn,tn),Oo&&_D(Xn,tn,na,"updated")},Wa)},Io=(tn,Xn,na,Wa,So,As,Qs)=>{for(let Ds=0;Ds{if(na!==Wa){if(na!==ed)for(const Ds in na)!yT(Ds)&&!(Ds in Wa)&&se(tn,Ds,na[Ds],null,Qs,Xn.children,So,As,ks);for(const Ds in Wa){if(yT(Ds))continue;const $s=Wa[Ds],oa=na[Ds];$s!==oa&&Ds!=="value"&&se(tn,Ds,oa,$s,Qs,Xn.children,So,As,ks)}"value"in Wa&&se(tn,"value",na.value,Wa.value)}},qo=(tn,Xn,na,Wa,So,As,Qs,Ds,$s)=>{const oa=Xn.el=tn?tn.el:mt(""),Oo=Xn.anchor=tn?tn.anchor:mt("");let{patchFlag:fc,dynamicChildren:_c,slotScopeIds:gu}=Xn;gu&&(Ds=Ds?Ds.concat(gu):gu),tn==null?(v(oa,na,Wa),v(Oo,na,Wa),zi(Xn.children,na,Oo,So,As,Qs,Ds,$s)):fc>0&&fc&64&&_c&&tn.dynamicChildren?(Io(tn.dynamicChildren,_c,na,So,As,Qs,Ds),(Xn.key!=null||So&&Xn===So.subTree)&&TN(tn,Xn,!0)):us(tn,Xn,na,Oo,So,As,Qs,Ds,$s)},Ko=(tn,Xn,na,Wa,So,As,Qs,Ds,$s)=>{Xn.slotScopeIds=Ds,tn==null?Xn.shapeFlag&512?So.ctx.activate(Xn,na,Wa,Qs,$s):ho(Xn,na,Wa,So,As,Qs,$s):yo(tn,Xn,$s)},ho=(tn,Xn,na,Wa,So,As,Qs)=>{const Ds=tn.component=VG(tn,Wa,So);if(nk(tn)&&(Ds.ctx.renderer=Cc),WG(Ds),Ds.asyncDep){if(So&&So.registerDep(Ds,ts),!tn.el){const $s=Ds.subTree=Fm(v0);Yn(null,$s,Xn,na)}return}ts(Ds,tn,Xn,na,So,As,Qs)},yo=(tn,Xn,na)=>{const Wa=Xn.component=tn.component;if(eG(tn,Xn,na))if(Wa.asyncDep&&!Wa.asyncResolved){Ca(Wa,Xn,na);return}else Wa.next=Xn,HH(Wa.update),Wa.update();else Xn.el=tn.el,Wa.vnode=Xn},ts=(tn,Xn,na,Wa,So,As,Qs)=>{const Ds=()=>{if(tn.isMounted){let{next:Oo,bu:fc,u:_c,parent:gu,vnode:Fu}=tn,rl=Oo,Qu;mD(tn,!1),Oo?(Oo.el=Fu.el,Ca(tn,Oo,Qs)):Oo=Fu,fc&&DT(fc),(Qu=Oo.props&&Oo.props.onVnodeBeforeUpdate)&&Rv(Qu,gu,Oo,Fu),mD(tn,!0);const Pl=I6(tn),pd=tn.subTree;tn.subTree=Pl,gi(pd,Pl,Ir(pd.el),_s(pd),tn,So,As),Oo.el=Pl.el,rl===null&&tG(tn,Pl.el),_c&&mh(_c,So),(Qu=Oo.props&&Oo.props.onVnodeUpdated)&&mh(()=>Rv(Qu,gu,Oo,Fu),So)}else{let Oo;const{el:fc,props:_c}=Xn,{bm:gu,m:Fu,parent:rl}=tn,Qu=AS(Xn);if(mD(tn,!1),gu&&DT(gu),!Qu&&(Oo=_c&&_c.onVnodeBeforeMount)&&Rv(Oo,rl,Xn),mD(tn,!0),fc&&Ri){const Pl=()=>{tn.subTree=I6(tn),Ri(fc,tn.subTree,tn,So,null)};Qu?Xn.type.__asyncLoader().then(()=>!tn.isUnmounted&&Pl()):Pl()}else{const Pl=tn.subTree=I6(tn);gi(null,Pl,na,Wa,tn,So,As),Xn.el=Pl.el}if(Fu&&mh(Fu,So),!Qu&&(Oo=_c&&_c.onVnodeMounted)){const Pl=Xn;mh(()=>Rv(Oo,rl,Pl),So)}(Xn.shapeFlag&256||rl&&AS(rl.vnode)&&rl.vnode.shapeFlag&256)&&tn.a&&mh(tn.a,So),tn.isMounted=!0,Xn=na=Wa=null}},$s=tn.effect=new _N(Ds,()=>SN(oa),tn.scope),oa=tn.update=()=>$s.run();oa.id=tn.uid,mD(tn,!0),oa()},Ca=(tn,Xn,na)=>{Xn.component=tn;const Wa=tn.vnode.props;tn.vnode=Xn,tn.next=null,TG(tn,Xn.props,Wa,na),FG(tn,Xn.children,na),Xx(),B7(),Zx()},us=(tn,Xn,na,Wa,So,As,Qs,Ds,$s=!1)=>{const oa=tn&&tn.children,Oo=tn?tn.shapeFlag:0,fc=Xn.children,{patchFlag:_c,shapeFlag:gu}=Xn;if(_c>0){if(_c&128){cu(oa,fc,na,Wa,So,As,Qs,Ds,$s);return}else if(_c&256){ws(oa,fc,na,Wa,So,As,Qs,Ds,$s);return}}gu&8?(Oo&16&&ks(oa,So,As),fc!==oa&&Yt(na,fc)):Oo&16?gu&16?cu(oa,fc,na,Wa,So,As,Qs,Ds,$s):ks(oa,So,As,!0):(Oo&8&&Yt(na,""),gu&16&&zi(fc,na,Wa,So,As,Qs,Ds,$s))},ws=(tn,Xn,na,Wa,So,As,Qs,Ds,$s)=>{tn=tn||Bx,Xn=Xn||Bx;const oa=tn.length,Oo=Xn.length,fc=Math.min(oa,Oo);let _c;for(_c=0;_cOo?ks(tn,So,As,!0,!1,fc):zi(Xn,na,Wa,So,As,Qs,Ds,$s,fc)},cu=(tn,Xn,na,Wa,So,As,Qs,Ds,$s)=>{let oa=0;const Oo=Xn.length;let fc=tn.length-1,_c=Oo-1;for(;oa<=fc&&oa<=_c;){const gu=tn[oa],Fu=Xn[oa]=$s?p2(Xn[oa]):Jv(Xn[oa]);if(bD(gu,Fu))gi(gu,Fu,na,null,So,As,Qs,Ds,$s);else break;oa++}for(;oa<=fc&&oa<=_c;){const gu=tn[fc],Fu=Xn[_c]=$s?p2(Xn[_c]):Jv(Xn[_c]);if(bD(gu,Fu))gi(gu,Fu,na,null,So,As,Qs,Ds,$s);else break;fc--,_c--}if(oa>fc){if(oa<=_c){const gu=_c+1,Fu=gu_c)for(;oa<=fc;)nu(tn[oa],So,As,!0),oa++;else{const gu=oa,Fu=oa,rl=new Map;for(oa=Fu;oa<=_c;oa++){const vo=Xn[oa]=$s?p2(Xn[oa]):Jv(Xn[oa]);vo.key!=null&&rl.set(vo.key,oa)}let Qu,Pl=0;const pd=_c-Fu+1;let ef=!1,tc=0;const Co=new Array(pd);for(oa=0;oa=pd){nu(vo,So,As,!0);continue}let Bo;if(vo.key!=null)Bo=rl.get(vo.key);else for(Qu=Fu;Qu<=_c;Qu++)if(Co[Qu-Fu]===0&&bD(vo,Xn[Qu])){Bo=Qu;break}Bo===void 0?nu(vo,So,As,!0):(Co[Bo-Fu]=oa+1,Bo>=tc?tc=Bo:ef=!0,gi(vo,Xn[Bo],na,null,So,As,Qs,Ds,$s),Pl++)}const mo=ef?OG(Co):Bx;for(Qu=mo.length-1,oa=pd-1;oa>=0;oa--){const vo=Fu+oa,Bo=Xn[vo],Vo=vo+1{const{el:As,type:Qs,transition:Ds,children:$s,shapeFlag:oa}=tn;if(oa&6){Ic(tn.component.subTree,Xn,na,Wa);return}if(oa&128){tn.suspense.move(Xn,na,Wa);return}if(oa&64){Qs.move(tn,Xn,na,Cc);return}if(Qs===Og){v(As,Xn,na);for(let fc=0;fc<$s.length;fc++)Ic($s[fc],Xn,na,Wa);v(tn.anchor,Xn,na);return}if(Qs===NS){ha(tn,Xn,na);return}if(Wa!==2&&oa&1&&Ds)if(Wa===0)Ds.beforeEnter(As),v(As,Xn,na),mh(()=>Ds.enter(As),So);else{const{leave:fc,delayLeave:_c,afterLeave:gu}=Ds,Fu=()=>v(As,Xn,na),rl=()=>{fc(As,()=>{Fu(),gu&&gu()})};_c?_c(As,Fu,rl):rl()}else v(As,Xn,na)},nu=(tn,Xn,na,Wa=!1,So=!1)=>{const{type:As,props:Qs,ref:Ds,children:$s,dynamicChildren:oa,shapeFlag:Oo,patchFlag:fc,dirs:_c}=tn;if(Ds!=null&&hF(Ds,null,na,tn,!0),Oo&256){Xn.ctx.deactivate(tn);return}const gu=Oo&1&&_c,Fu=!AS(tn);let rl;if(Fu&&(rl=Qs&&Qs.onVnodeBeforeUnmount)&&Rv(rl,Xn,tn),Oo&6)ao(tn.component,na,Wa);else{if(Oo&128){tn.suspense.unmount(na,Wa);return}gu&&_D(tn,null,Xn,"beforeUnmount"),Oo&64?tn.type.remove(tn,Xn,na,So,Cc,Wa):oa&&(As!==Og||fc>0&&fc&64)?ks(oa,Xn,na,!1,!0):(As===Og&&fc&384||!So&&Oo&16)&&ks($s,Xn,na),Wa&&Mu(tn)}(Fu&&(rl=Qs&&Qs.onVnodeUnmounted)||gu)&&mh(()=>{rl&&Rv(rl,Xn,tn),gu&&_D(tn,null,Xn,"unmounted")},na)},Mu=tn=>{const{type:Xn,el:na,anchor:Wa,transition:So}=tn;if(Xn===Og){el(na,Wa);return}if(Xn===NS){ea(tn);return}const As=()=>{H(na),So&&!So.persisted&&So.afterLeave&&So.afterLeave()};if(tn.shapeFlag&1&&So&&!So.persisted){const{leave:Qs,delayLeave:Ds}=So,$s=()=>Qs(na,As);Ds?Ds(tn.el,As,$s):$s()}else As()},el=(tn,Xn)=>{let na;for(;tn!==Xn;)na=Qr(tn),H(tn),tn=na;H(Xn)},ao=(tn,Xn,na)=>{const{bum:Wa,scope:So,update:As,subTree:Qs,um:Ds}=tn;Wa&&DT(Wa),So.stop(),As&&(As.active=!1,nu(Qs,tn,Xn,na)),Ds&&mh(Ds,Xn),mh(()=>{tn.isUnmounted=!0},Xn),Xn&&Xn.pendingBranch&&!Xn.isUnmounted&&tn.asyncDep&&!tn.asyncResolved&&tn.suspenseId===Xn.pendingId&&(Xn.deps--,Xn.deps===0&&Xn.resolve())},ks=(tn,Xn,na,Wa=!1,So=!1,As=0)=>{for(let Qs=As;Qstn.shapeFlag&6?_s(tn.component.subTree):tn.shapeFlag&128?tn.suspense.next():Qr(tn.anchor||tn.el),Vs=(tn,Xn,na)=>{tn==null?Xn._vnode&&nu(Xn._vnode,null,null,!0):gi(Xn._vnode||null,tn,Xn,null,null,null,na),B7(),k9(),Xn._vnode=tn},Cc={p:gi,um:nu,m:Ic,r:Mu,mt:ho,mc:zi,pc:us,pbc:Io,n:_s,o};let Ku,Ri;return u&&([Ku,Ri]=u(Cc)),{render:Vs,hydrate:Ku,createApp:wG(Vs,Ku)}}function mD({effect:o,update:u},f){o.allowRecurse=u.allowRecurse=f}function TN(o,u,f=!1){const v=o.children,H=u.children;if(Vu(v)&&Vu(H))for(let se=0;se>1,o[f[mt]]0&&(u[v]=f[se-1]),f[se]=v)}}for(se=f.length,$e=f[se-1];se-- >0;)f[se]=$e,$e=u[$e];return f}const MG=o=>o.__isTeleport,FS=o=>o&&(o.disabled||o.disabled===""),G7=o=>typeof SVGElement!="undefined"&&o instanceof SVGElement,yF=(o,u)=>{const f=o&&o.to;return i_(f)?u?u(f):null:f},LG={__isTeleport:!0,process(o,u,f,v,H,se,$e,mt,Wt,fr){const{mc:Yt,pc:Ir,pbc:Qr,o:{insert:Di,querySelector:Vi,createText:gi,createComment:Mi}}=fr,Yn=FS(u.props);let{shapeFlag:_a,children:ha,dynamicChildren:ea}=u;if(o==null){const Na=u.el=gi(""),Hi=u.anchor=gi("");Di(Na,f,v),Di(Hi,f,v);const Qi=u.target=yF(u.props,Vi),zi=u.targetAnchor=gi("");Qi&&(Di(zi,Qi),$e=$e||G7(Qi));const $a=(Io,ec)=>{_a&16&&Yt(ha,Io,ec,H,se,$e,mt,Wt)};Yn?$a(f,Hi):Qi&&$a(Qi,zi)}else{u.el=o.el;const Na=u.anchor=o.anchor,Hi=u.target=o.target,Qi=u.targetAnchor=o.targetAnchor,zi=FS(o.props),$a=zi?f:Hi,Io=zi?Na:Qi;if($e=$e||G7(Hi),ea?(Qr(o.dynamicChildren,ea,$a,H,se,$e,mt),TN(o,u,!0)):Wt||Ir(o,u,$a,Io,H,se,$e,mt,!1),Yn)zi||lT(u,f,Na,fr,1);else if((u.props&&u.props.to)!==(o.props&&o.props.to)){const ec=u.target=yF(u.props,Vi);ec&&lT(u,ec,null,fr,0)}else zi&&lT(u,Hi,Qi,fr,1)}},remove(o,u,f,v,{um:H,o:{remove:se}},$e){const{shapeFlag:mt,children:Wt,anchor:fr,targetAnchor:Yt,target:Ir,props:Qr}=o;if(Ir&&se(Yt),($e||!FS(Qr))&&(se(fr),mt&16))for(let Di=0;Di0?sv||Bx:null,RG(),HS>0&&sv&&sv.push(o),o}function Tre(o,u,f,v,H,se){return $9(X9(o,u,f,v,H,se,!0))}function Y9(o,u,f,v,H){return $9(Fm(o,u,f,v,H,!0))}function MT(o){return o?o.__v_isVNode===!0:!1}function bD(o,u){return o.type===u.type&&o.key===u.key}const ak="__vInternal",Q9=({key:o})=>o!=null?o:null,bT=({ref:o,ref_key:u,ref_for:f})=>o!=null?i_(o)||Td(o)||Cl(o)?{i:Xm,r:o,k:u,f:!!f}:o:null;function X9(o,u=null,f=null,v=0,H=null,se=o===Og?0:1,$e=!1,mt=!1){const Wt={__v_isVNode:!0,__v_skip:!0,type:o,props:u,key:u&&Q9(u),ref:u&&bT(u),scopeId:N9,slotScopeIds:null,children:f,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:se,patchFlag:v,dynamicProps:H,dynamicChildren:null,appContext:null};return mt?(kN(Wt,f),se&128&&o.normalize(Wt)):f&&(Wt.shapeFlag|=i_(f)?8:16),HS>0&&!$e&&sv&&(Wt.patchFlag>0||se&6)&&Wt.patchFlag!==32&&sv.push(Wt),Wt}const Fm=jG;function jG(o,u=null,f=null,v=0,H=null,se=!1){if((!o||o===hG)&&(o=v0),MT(o)){const mt=b2(o,u,!0);return f&&kN(mt,f),HS>0&&!se&&sv&&(mt.shapeFlag&6?sv[sv.indexOf(o)]=mt:sv.push(mt)),mt.patchFlag|=-2,mt}if(YG(o)&&(o=o.__vccOpts),u){u=JG(u);let{class:mt,style:Wt}=u;mt&&!i_(mt)&&(u.class=WT(mt)),td(Wt)&&(D9(Wt)&&!Vu(Wt)&&(Wt=wm({},Wt)),u.style=VT(Wt))}const $e=i_(o)?1:rG(o)?128:MG(o)?64:td(o)?4:Cl(o)?2:0;return X9(o,u,f,v,H,$e,se,!0)}function JG(o){return o?D9(o)||ak in o?wm({},o):o:null}function b2(o,u,f=!1){const{props:v,ref:H,patchFlag:se,children:$e}=o,mt=u?KG(v||{},u):v;return{__v_isVNode:!0,__v_skip:!0,type:o.type,props:mt,key:mt&&Q9(mt),ref:u&&u.ref?f&&H?Vu(H)?H.concat(bT(u)):[H,bT(u)]:bT(u):H,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:$e,target:o.target,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:u&&o.type!==Og?se===-1?16:se|16:se,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:o.transition,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&b2(o.ssContent),ssFallback:o.ssFallback&&b2(o.ssFallback),el:o.el,anchor:o.anchor}}function UG(o=" ",u=0){return Fm(WS,null,o,u)}function kre(o,u){const f=Fm(NS,null,o);return f.staticCount=u,f}function Are(o="",u=!1){return u?(G9(),Y9(v0,null,o)):Fm(v0,null,o)}function Jv(o){return o==null||typeof o=="boolean"?Fm(v0):Vu(o)?Fm(Og,null,o.slice()):typeof o=="object"?p2(o):Fm(WS,null,String(o))}function p2(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:b2(o)}function kN(o,u){let f=0;const{shapeFlag:v}=o;if(u==null)u=null;else if(Vu(u))f=16;else if(typeof u=="object")if(v&65){const H=u.default;H&&(H._c&&(H._d=!1),kN(o,H()),H._c&&(H._d=!0));return}else{f=32;const H=u._;!H&&!(ak in u)?u._ctx=Xm:H===3&&Xm&&(Xm.slots._===1?u._=1:(u._=2,o.patchFlag|=1024))}else Cl(u)?(u={default:u,_ctx:Xm},f=32):(u=String(u),v&64?(f=16,u=[UG(u)]):f=8);o.children=u,o.shapeFlag|=f}function KG(...o){const u={};for(let f=0;fG_||Xm,qx=o=>{G_=o,o.scope.on()},ND=()=>{G_&&G_.scope.off(),G_=null};function Z9(o){return o.vnode.shapeFlag&4}let GS=!1;function WG(o,u=!1){GS=u;const{props:f,children:v}=o.vnode,H=Z9(o);CG(o,f,H,u),AG(o,v);const se=H?HG(o,u):void 0;return GS=!1,se}function HG(o,u){const f=o.type;o.accessCache=Object.create(null),o.proxy=zx(new Proxy(o.ctx,vG));const{setup:v}=f;if(v){const H=o.setupContext=v.length>1?tM(o):null;qx(o),Xx();const se=v2(v,o,0,[o.props,H]);if(Zx(),ND(),r9(se)){if(se.then(ND,ND),u)return se.then($e=>{Y7(o,$e,u)}).catch($e=>{ZT($e,o,0)});o.asyncDep=se}else Y7(o,se,u)}else eM(o,u)}function Y7(o,u,f){Cl(u)?o.type.__ssrInlineRender?o.ssrRender=u:o.render=u:td(u)&&(o.setupState=b9(u)),eM(o,f)}let Q7;function eM(o,u,f){const v=o.type;if(!o.render){if(!u&&Q7&&!v.render){const H=v.template||EN(o).template;if(H){const{isCustomElement:se,compilerOptions:$e}=o.appContext.config,{delimiters:mt,compilerOptions:Wt}=v,fr=wm(wm({isCustomElement:se,delimiters:mt},$e),Wt);v.render=Q7(H,fr)}}o.render=v.render||cv}qx(o),Xx(),DG(o),Zx(),ND()}function GG(o){return new Proxy(o.attrs,{get(u,f){return vy(o,"get","$attrs"),u[f]}})}function tM(o){const u=v=>{o.exposed=v||{}};let f;return{get attrs(){return f||(f=GG(o))},slots:o.slots,emit:o.emit,expose:u}}function ok(o){if(o.exposed)return o.exposeProxy||(o.exposeProxy=new Proxy(b9(zx(o.exposed)),{get(u,f){if(f in u)return u[f];if(f in IT)return IT[f](o)}}))}function $G(o,u=!0){return Cl(o)?o.displayName||o.name:o.name||u&&o.__name}function YG(o){return Cl(o)&&"__vccOpts"in o}const xf=(o,u)=>qH(o,u,GS);function Fre(){return rM().slots}function Nre(){return rM().attrs}function rM(){const o=D0();return o.setupContext||(o.setupContext=tM(o))}function x1(o,u,f){const v=arguments.length;return v===2?td(u)&&!Vu(u)?MT(u)?Fm(o,null,[u]):Fm(o,u):Fm(o,null,u):(v>3?f=Array.prototype.slice.call(arguments,2):v===3&&MT(f)&&(f=[f]),Fm(o,u,f))}const QG="3.2.40",XG="http://www.w3.org/2000/svg",SD=typeof document!="undefined"?document:null,X7=SD&&SD.createElement("template"),ZG={insert:(o,u,f)=>{u.insertBefore(o,f||null)},remove:o=>{const u=o.parentNode;u&&u.removeChild(o)},createElement:(o,u,f,v)=>{const H=u?SD.createElementNS(XG,o):SD.createElement(o,f?{is:f}:void 0);return o==="select"&&v&&v.multiple!=null&&H.setAttribute("multiple",v.multiple),H},createText:o=>SD.createTextNode(o),createComment:o=>SD.createComment(o),setText:(o,u)=>{o.nodeValue=u},setElementText:(o,u)=>{o.textContent=u},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>SD.querySelector(o),setScopeId(o,u){o.setAttribute(u,"")},insertStaticContent(o,u,f,v,H,se){const $e=f?f.previousSibling:u.lastChild;if(H&&(H===se||H.nextSibling))for(;u.insertBefore(H.cloneNode(!0),f),!(H===se||!(H=H.nextSibling)););else{X7.innerHTML=v?`${o}`:o;const mt=X7.content;if(v){const Wt=mt.firstChild;for(;Wt.firstChild;)mt.appendChild(Wt.firstChild);mt.removeChild(Wt)}u.insertBefore(mt,f)}return[$e?$e.nextSibling:u.firstChild,f?f.previousSibling:u.lastChild]}};function e$(o,u,f){const v=o._vtc;v&&(u=(u?[u,...v]:[...v]).join(" ")),u==null?o.removeAttribute("class"):f?o.setAttribute("class",u):o.className=u}function t$(o,u,f){const v=o.style,H=i_(f);if(f&&!H){for(const se in f)vF(v,se,f[se]);if(u&&!i_(u))for(const se in u)f[se]==null&&vF(v,se,"")}else{const se=v.display;H?u!==f&&(v.cssText=f):u&&o.removeAttribute("style"),"_vod"in o&&(v.display=se)}}const Z7=/\s*!important$/;function vF(o,u,f){if(Vu(f))f.forEach(v=>vF(o,u,v));else if(f==null&&(f=""),u.startsWith("--"))o.setProperty(u,f);else{const v=r$(o,u);Z7.test(f)?o.setProperty(ID(v),f.replace(Z7,""),"important"):o[v]=f}}const eI=["Webkit","Moz","ms"],M6={};function r$(o,u){const f=M6[u];if(f)return f;let v=Vv(u);if(v!=="filter"&&v in o)return M6[u]=v;v=QT(v);for(let H=0;H{let o=Date.now,u=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(o=performance.now.bind(performance));const f=navigator.userAgent.match(/firefox\/(\d+)/i);u=!!(f&&Number(f[1])<=53)}return[o,u]})();let DF=0;const o$=Promise.resolve(),s$=()=>{DF=0},c$=()=>DF||(o$.then(s$),DF=nM());function ED(o,u,f,v){o.addEventListener(u,f,v)}function u$(o,u,f,v){o.removeEventListener(u,f,v)}function l$(o,u,f,v,H=null){const se=o._vei||(o._vei={}),$e=se[u];if(v&&$e)$e.value=v;else{const[mt,Wt]=p$(u);if(v){const fr=se[u]=d$(v,H);ED(o,mt,fr,Wt)}else $e&&(u$(o,mt,$e,Wt),se[u]=void 0)}}const rI=/(?:Once|Passive|Capture)$/;function p$(o){let u;if(rI.test(o)){u={};let v;for(;v=o.match(rI);)o=o.slice(0,o.length-v[0].length),u[v[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):ID(o.slice(2)),u]}function d$(o,u){const f=v=>{const H=v.timeStamp||nM();(a$||H>=f.attached-1)&&h0(f$(v,f.value),u,5,[v])};return f.value=o,f.attached=c$(),f}function f$(o,u){if(Vu(u)){const f=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{f.call(o),o._stopped=!0},u.map(v=>H=>!H._stopped&&v&&v(H))}else return u}const nI=/^on[a-z]/,_$=(o,u,f,v,H=!1,se,$e,mt,Wt)=>{u==="class"?e$(o,v,H):u==="style"?t$(o,f,v):GT(u)?lN(u)||l$(o,u,f,v,$e):(u[0]==="."?(u=u.slice(1),!0):u[0]==="^"?(u=u.slice(1),!1):m$(o,u,v,H))?i$(o,u,v,se,$e,mt,Wt):(u==="true-value"?o._trueValue=v:u==="false-value"&&(o._falseValue=v),n$(o,u,v,H))};function m$(o,u,f,v){return v?!!(u==="innerHTML"||u==="textContent"||u in o&&nI.test(u)&&Cl(f)):u==="spellcheck"||u==="draggable"||u==="translate"||u==="form"||u==="list"&&o.tagName==="INPUT"||u==="type"&&o.tagName==="TEXTAREA"||nI.test(u)&&i_(f)?!1:u in o}function wre(o){const u=D0();if(!u)return;const f=()=>xF(u.subTree,o(u.proxy));iG(f),rE(()=>{const v=new MutationObserver(f);v.observe(u.subTree.el.parentNode,{childList:!0}),nE(()=>v.disconnect())})}function xF(o,u){if(o.shapeFlag&128){const f=o.suspense;o=f.activeBranch,f.pendingBranch&&!f.isHydrating&&f.effects.push(()=>{xF(f.activeBranch,u)})}for(;o.component;)o=o.component.subTree;if(o.shapeFlag&1&&o.el)iI(o.el,u);else if(o.type===Og)o.children.forEach(f=>xF(f,u));else if(o.type===NS){let{el:f,anchor:v}=o;for(;f&&(iI(f,u),f!==v);)f=f.nextSibling}}function iI(o,u){if(o.nodeType===1){const f=o.style;for(const v in u)f.setProperty(`--${v}`,u[v])}}const i2="transition",fS="animation",iM=(o,{slots:u})=>x1(P9,g$(o),u);iM.displayName="Transition";const aM={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};iM.props=wm({},P9.props,aM);const gD=(o,u=[])=>{Vu(o)?o.forEach(f=>f(...u)):o&&o(...u)},aI=o=>o?Vu(o)?o.some(u=>u.length>1):o.length>1:!1;function g$(o){const u={};for(const qo in o)qo in aM||(u[qo]=o[qo]);if(o.css===!1)return u;const{name:f="v",type:v,duration:H,enterFromClass:se=`${f}-enter-from`,enterActiveClass:$e=`${f}-enter-active`,enterToClass:mt=`${f}-enter-to`,appearFromClass:Wt=se,appearActiveClass:fr=$e,appearToClass:Yt=mt,leaveFromClass:Ir=`${f}-leave-from`,leaveActiveClass:Qr=`${f}-leave-active`,leaveToClass:Di=`${f}-leave-to`}=o,Vi=h$(H),gi=Vi&&Vi[0],Mi=Vi&&Vi[1],{onBeforeEnter:Yn,onEnter:_a,onEnterCancelled:ha,onLeave:ea,onLeaveCancelled:Na,onBeforeAppear:Hi=Yn,onAppear:Qi=_a,onAppearCancelled:zi=ha}=u,$a=(qo,Ko,ho)=>{hD(qo,Ko?Yt:mt),hD(qo,Ko?fr:$e),ho&&ho()},Io=(qo,Ko)=>{qo._isLeaving=!1,hD(qo,Ir),hD(qo,Di),hD(qo,Qr),Ko&&Ko()},ec=qo=>(Ko,ho)=>{const yo=qo?Qi:_a,ts=()=>$a(Ko,qo,ho);gD(yo,[Ko,ts]),oI(()=>{hD(Ko,qo?Wt:se),a2(Ko,qo?Yt:mt),aI(yo)||sI(Ko,v,gi,ts)})};return wm(u,{onBeforeEnter(qo){gD(Yn,[qo]),a2(qo,se),a2(qo,$e)},onBeforeAppear(qo){gD(Hi,[qo]),a2(qo,Wt),a2(qo,fr)},onEnter:ec(!1),onAppear:ec(!0),onLeave(qo,Ko){qo._isLeaving=!0;const ho=()=>Io(qo,Ko);a2(qo,Ir),D$(),a2(qo,Qr),oI(()=>{!qo._isLeaving||(hD(qo,Ir),a2(qo,Di),aI(ea)||sI(qo,v,Mi,ho))}),gD(ea,[qo,ho])},onEnterCancelled(qo){$a(qo,!1),gD(ha,[qo])},onAppearCancelled(qo){$a(qo,!0),gD(zi,[qo])},onLeaveCancelled(qo){Io(qo),gD(Na,[qo])}})}function h$(o){if(o==null)return null;if(td(o))return[L6(o.enter),L6(o.leave)];{const u=L6(o);return[u,u]}}function L6(o){return KS(o)}function a2(o,u){u.split(/\s+/).forEach(f=>f&&o.classList.add(f)),(o._vtc||(o._vtc=new Set)).add(u)}function hD(o,u){u.split(/\s+/).forEach(v=>v&&o.classList.remove(v));const{_vtc:f}=o;f&&(f.delete(u),f.size||(o._vtc=void 0))}function oI(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let y$=0;function sI(o,u,f,v){const H=o._endId=++y$,se=()=>{H===o._endId&&v()};if(f)return setTimeout(se,f);const{type:$e,timeout:mt,propCount:Wt}=v$(o,u);if(!$e)return v();const fr=$e+"end";let Yt=0;const Ir=()=>{o.removeEventListener(fr,Qr),se()},Qr=Di=>{Di.target===o&&++Yt>=Wt&&Ir()};setTimeout(()=>{Yt(f[Vi]||"").split(", "),H=v(i2+"Delay"),se=v(i2+"Duration"),$e=cI(H,se),mt=v(fS+"Delay"),Wt=v(fS+"Duration"),fr=cI(mt,Wt);let Yt=null,Ir=0,Qr=0;u===i2?$e>0&&(Yt=i2,Ir=$e,Qr=se.length):u===fS?fr>0&&(Yt=fS,Ir=fr,Qr=Wt.length):(Ir=Math.max($e,fr),Yt=Ir>0?$e>fr?i2:fS:null,Qr=Yt?Yt===i2?se.length:Wt.length:0);const Di=Yt===i2&&/\b(transform|all)(,|$)/.test(f[i2+"Property"]);return{type:Yt,timeout:Ir,propCount:Qr,hasTransform:Di}}function cI(o,u){for(;o.lengthuI(f)+uI(o[v])))}function uI(o){return Number(o.slice(0,-1).replace(",","."))*1e3}function D$(){return document.body.offsetHeight}const LT=o=>{const u=o.props["onUpdate:modelValue"]||!1;return Vu(u)?f=>DT(u,f):u};function x$(o){o.target.composing=!0}function lI(o){const u=o.target;u.composing&&(u.composing=!1,u.dispatchEvent(new Event("input")))}const Pre={created(o,{modifiers:{lazy:u,trim:f,number:v}},H){o._assign=LT(H);const se=v||H.props&&H.props.type==="number";ED(o,u?"change":"input",$e=>{if($e.target.composing)return;let mt=o.value;f&&(mt=mt.trim()),se&&(mt=KS(mt)),o._assign(mt)}),f&&ED(o,"change",()=>{o.value=o.value.trim()}),u||(ED(o,"compositionstart",x$),ED(o,"compositionend",lI),ED(o,"change",lI))},mounted(o,{value:u}){o.value=u==null?"":u},beforeUpdate(o,{value:u,modifiers:{lazy:f,trim:v,number:H}},se){if(o._assign=LT(se),o.composing||document.activeElement===o&&o.type!=="range"&&(f||v&&o.value.trim()===u||(H||o.type==="number")&&KS(o.value)===u))return;const $e=u==null?"":u;o.value!==$e&&(o.value=$e)}},Ire={deep:!0,created(o,{value:u,modifiers:{number:f}},v){const H=$T(u);ED(o,"change",()=>{const se=Array.prototype.filter.call(o.options,$e=>$e.selected).map($e=>f?KS(BT($e)):BT($e));o._assign(o.multiple?H?new Set(se):se:se[0])}),o._assign=LT(v)},mounted(o,{value:u}){pI(o,u)},beforeUpdate(o,u,f){o._assign=LT(f)},updated(o,{value:u}){pI(o,u)}};function pI(o,u){const f=o.multiple;if(!(f&&!Vu(u)&&!$T(u))){for(let v=0,H=o.options.length;v-1:se.selected=u.has($e);else if(HT(BT(se),u)){o.selectedIndex!==v&&(o.selectedIndex=v);return}}!f&&o.selectedIndex!==-1&&(o.selectedIndex=-1)}}function BT(o){return"_value"in o?o._value:o.value}const b$=["ctrl","shift","alt","meta"],S$={stop:o=>o.stopPropagation(),prevent:o=>o.preventDefault(),self:o=>o.target!==o.currentTarget,ctrl:o=>!o.ctrlKey,shift:o=>!o.shiftKey,alt:o=>!o.altKey,meta:o=>!o.metaKey,left:o=>"button"in o&&o.button!==0,middle:o=>"button"in o&&o.button!==1,right:o=>"button"in o&&o.button!==2,exact:(o,u)=>b$.some(f=>o[`${f}Key`]&&!u.includes(f))},Ore=(o,u)=>(f,...v)=>{for(let H=0;Hf=>{if(!("key"in f))return;const v=ID(f.key);if(u.some(H=>H===v||E$[H]===v))return o(f)},Lre={beforeMount(o,{value:u},{transition:f}){o._vod=o.style.display==="none"?"":o.style.display,f&&u?f.beforeEnter(o):_S(o,u)},mounted(o,{value:u},{transition:f}){f&&u&&f.enter(o)},updated(o,{value:u,oldValue:f},{transition:v}){!u!=!f&&(v?u?(v.beforeEnter(o),_S(o,!0),v.enter(o)):v.leave(o,()=>{_S(o,!1)}):_S(o,u))},beforeUnmount(o,{value:u}){_S(o,u)}};function _S(o,u){o.style.display=u?o._vod:"none"}const C$=wm({patchProp:_$},ZG);let dI;function oM(){return dI||(dI=PG(C$))}const Bre=(...o)=>{oM().render(...o)},Rre=(...o)=>{const u=oM().createApp(...o),{mount:f}=u;return u.mount=v=>{const H=T$(v);if(!H)return;const se=u._component;!Cl(se)&&!se.render&&!se.template&&(se.template=H.innerHTML),H.innerHTML="";const $e=f(H,!1,H instanceof SVGElement);return H instanceof Element&&(H.removeAttribute("v-cloak"),H.setAttribute("data-v-app","")),$e},u};function T$(o){return i_(o)?document.querySelector(o):o}/*! * vue-router v4.0.16 * (c) 2022 Eduardo San Martin Morote * @license MIT */const sM=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",eb=o=>sM?Symbol(o):"_vr_"+o,k$=eb("rvlm"),fI=eb("rvd"),sk=eb("r"),AN=eb("rl"),bF=eb("rvl"),Ix=typeof window!="undefined";function A$(o){return o.__esModule||sM&&o[Symbol.toStringTag]==="Module"}const Zp=Object.assign;function B6(o,u){const f={};for(const v in u){const H=u[v];f[v]=Array.isArray(H)?H.map(o):o(H)}return f}const PS=()=>{},F$=/\/$/,N$=o=>o.replace(F$,"");function R6(o,u,f="/"){let v,H={},se="",$e="";const mt=u.indexOf("?"),Wt=u.indexOf("#",mt>-1?mt:0);return mt>-1&&(v=u.slice(0,mt),se=u.slice(mt+1,Wt>-1?Wt:u.length),H=o(se)),Wt>-1&&(v=v||u.slice(0,Wt),$e=u.slice(Wt,u.length)),v=O$(v!=null?v:u,f),{fullPath:v+(se&&"?")+se+$e,path:v,query:H,hash:$e}}function w$(o,u){const f=u.query?o(u.query):"";return u.path+(f&&"?")+f+(u.hash||"")}function _I(o,u){return!u||!o.toLowerCase().startsWith(u.toLowerCase())?o:o.slice(u.length)||"/"}function P$(o,u,f){const v=u.matched.length-1,H=f.matched.length-1;return v>-1&&v===H&&Vx(u.matched[v],f.matched[H])&&cM(u.params,f.params)&&o(u.query)===o(f.query)&&u.hash===f.hash}function Vx(o,u){return(o.aliasOf||o)===(u.aliasOf||u)}function cM(o,u){if(Object.keys(o).length!==Object.keys(u).length)return!1;for(const f in o)if(!I$(o[f],u[f]))return!1;return!0}function I$(o,u){return Array.isArray(o)?mI(o,u):Array.isArray(u)?mI(u,o):o===u}function mI(o,u){return Array.isArray(u)?o.length===u.length&&o.every((f,v)=>f===u[v]):o.length===1&&o[0]===u}function O$(o,u){if(o.startsWith("/"))return o;if(!o)return u;const f=u.split("/"),v=o.split("/");let H=f.length-1,se,$e;for(se=0;se({left:window.pageXOffset,top:window.pageYOffset});function j$(o){let u;if("el"in o){const f=o.el,v=typeof f=="string"&&f.startsWith("#"),H=typeof f=="string"?v?document.getElementById(f.slice(1)):document.querySelector(f):f;if(!H)return;u=R$(H,o)}else u=o;"scrollBehavior"in document.documentElement.style?window.scrollTo(u):window.scrollTo(u.left!=null?u.left:window.pageXOffset,u.top!=null?u.top:window.pageYOffset)}function gI(o,u){return(history.state?history.state.position-u:-1)+o}const SF=new Map;function J$(o,u){SF.set(o,u)}function U$(o){const u=SF.get(o);return SF.delete(o),u}let K$=()=>location.protocol+"//"+location.host;function uM(o,u){const{pathname:f,search:v,hash:H}=u,se=o.indexOf("#");if(se>-1){let mt=H.includes(o.slice(se))?o.slice(se).length:1,Wt=H.slice(mt);return Wt[0]!=="/"&&(Wt="/"+Wt),_I(Wt,"")}return _I(f,o)+v+H}function z$(o,u,f,v){let H=[],se=[],$e=null;const mt=({state:Qr})=>{const Di=uM(o,location),Vi=f.value,gi=u.value;let Mi=0;if(Qr){if(f.value=Di,u.value=Qr,$e&&$e===Vi){$e=null;return}Mi=gi?Qr.position-gi.position:0}else v(Di);H.forEach(Yn=>{Yn(f.value,Vi,{delta:Mi,type:$S.pop,direction:Mi?Mi>0?IS.forward:IS.back:IS.unknown})})};function Wt(){$e=f.value}function fr(Qr){H.push(Qr);const Di=()=>{const Vi=H.indexOf(Qr);Vi>-1&&H.splice(Vi,1)};return se.push(Di),Di}function Yt(){const{history:Qr}=window;!Qr.state||Qr.replaceState(Zp({},Qr.state,{scroll:ck()}),"")}function Ir(){for(const Qr of se)Qr();se=[],window.removeEventListener("popstate",mt),window.removeEventListener("beforeunload",Yt)}return window.addEventListener("popstate",mt),window.addEventListener("beforeunload",Yt),{pauseListeners:Wt,listen:fr,destroy:Ir}}function hI(o,u,f,v=!1,H=!1){return{back:o,current:u,forward:f,replaced:v,position:window.history.length,scroll:H?ck():null}}function q$(o){const{history:u,location:f}=window,v={value:uM(o,f)},H={value:u.state};H.value||se(v.value,{back:null,current:v.value,forward:null,position:u.length-1,replaced:!0,scroll:null},!0);function se(Wt,fr,Yt){const Ir=o.indexOf("#"),Qr=Ir>-1?(f.host&&document.querySelector("base")?o:o.slice(Ir))+Wt:K$()+o+Wt;try{u[Yt?"replaceState":"pushState"](fr,"",Qr),H.value=fr}catch(Di){console.error(Di),f[Yt?"replace":"assign"](Qr)}}function $e(Wt,fr){const Yt=Zp({},u.state,hI(H.value.back,Wt,H.value.forward,!0),fr,{position:H.value.position});se(Wt,Yt,!0),v.value=Wt}function mt(Wt,fr){const Yt=Zp({},H.value,u.state,{forward:Wt,scroll:ck()});se(Yt.current,Yt,!0);const Ir=Zp({},hI(v.value,Wt,null),{position:Yt.position+1},fr);se(Wt,Ir,!1),v.value=Wt}return{location:v,state:H,push:mt,replace:$e}}function jre(o){o=M$(o);const u=q$(o),f=z$(o,u.state,u.location,u.replace);function v(se,$e=!0){$e||f.pauseListeners(),history.go(se)}const H=Zp({location:"",base:o,go:v,createHref:B$.bind(null,o)},u,f);return Object.defineProperty(H,"location",{enumerable:!0,get:()=>u.location.value}),Object.defineProperty(H,"state",{enumerable:!0,get:()=>u.state.value}),H}function V$(o){return typeof o=="string"||o&&typeof o=="object"}function lM(o){return typeof o=="string"||typeof o=="symbol"}const o2={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},pM=eb("nf");var yI;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(yI||(yI={}));function Wx(o,u){return Zp(new Error,{type:o,[pM]:!0},u)}function s2(o,u){return o instanceof Error&&pM in o&&(u==null||!!(o.type&u))}const vI="[^/]+?",W$={sensitive:!1,strict:!1,start:!0,end:!0},H$=/[.+*?^${}()[\]/\\]/g;function G$(o,u){const f=Zp({},W$,u),v=[];let H=f.start?"^":"";const se=[];for(const fr of o){const Yt=fr.length?[]:[90];f.strict&&!fr.length&&(H+="/");for(let Ir=0;Ir1&&(Yt.endsWith("/")?Yt=Yt.slice(0,-1):Ir=!0);else throw new Error(`Missing required param "${Vi}"`);Yt+=_a}}return Yt}return{re:$e,score:v,keys:se,parse:mt,stringify:Wt}}function $$(o,u){let f=0;for(;fu.length?u.length===1&&u[0]===40+40?1:-1:0}function Y$(o,u){let f=0;const v=o.score,H=u.score;for(;f0&&u[u.length-1]<0}const Q$={type:0,value:""},X$=/[a-zA-Z0-9_]/;function Z$(o){if(!o)return[[]];if(o==="/")return[[Q$]];if(!o.startsWith("/"))throw new Error(`Invalid path "${o}"`);function u(Di){throw new Error(`ERR (${f})/"${fr}": ${Di}`)}let f=0,v=f;const H=[];let se;function $e(){se&&H.push(se),se=[]}let mt=0,Wt,fr="",Yt="";function Ir(){!fr||(f===0?se.push({type:0,value:fr}):f===1||f===2||f===3?(se.length>1&&(Wt==="*"||Wt==="+")&&u(`A repeatable param (${fr}) must be alone in its segment. eg: '/:ids+.`),se.push({type:1,value:fr,regexp:Yt,repeatable:Wt==="*"||Wt==="+",optional:Wt==="*"||Wt==="?"})):u("Invalid state to consume buffer"),fr="")}function Qr(){fr+=Wt}for(;mt{$e(_a)}:PS}function $e(Yt){if(lM(Yt)){const Ir=v.get(Yt);Ir&&(v.delete(Yt),f.splice(f.indexOf(Ir),1),Ir.children.forEach($e),Ir.alias.forEach($e))}else{const Ir=f.indexOf(Yt);Ir>-1&&(f.splice(Ir,1),Yt.record.name&&v.delete(Yt.record.name),Yt.children.forEach($e),Yt.alias.forEach($e))}}function mt(){return f}function Wt(Yt){let Ir=0;for(;Ir=0&&(Yt.record.path!==f[Ir].record.path||!dM(Yt,f[Ir]));)Ir++;f.splice(Ir,0,Yt),Yt.record.name&&!xI(Yt)&&v.set(Yt.record.name,Yt)}function fr(Yt,Ir){let Qr,Di={},Vi,gi;if("name"in Yt&&Yt.name){if(Qr=v.get(Yt.name),!Qr)throw Wx(1,{location:Yt});gi=Qr.record.name,Di=Zp(rY(Ir.params,Qr.keys.filter(_a=>!_a.optional).map(_a=>_a.name)),Yt.params),Vi=Qr.stringify(Di)}else if("path"in Yt)Vi=Yt.path,Qr=f.find(_a=>_a.re.test(Vi)),Qr&&(Di=Qr.parse(Vi),gi=Qr.record.name);else{if(Qr=Ir.name?v.get(Ir.name):f.find(_a=>_a.re.test(Ir.path)),!Qr)throw Wx(1,{location:Yt,currentLocation:Ir});gi=Qr.record.name,Di=Zp({},Ir.params,Yt.params),Vi=Qr.stringify(Di)}const Mi=[];let Yn=Qr;for(;Yn;)Mi.unshift(Yn.record),Yn=Yn.parent;return{name:gi,path:Vi,params:Di,matched:Mi,meta:aY(Mi)}}return o.forEach(Yt=>se(Yt)),{addRoute:se,resolve:fr,removeRoute:$e,getRoutes:mt,getRecordMatcher:H}}function rY(o,u){const f={};for(const v of u)v in o&&(f[v]=o[v]);return f}function nY(o){return{path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:void 0,beforeEnter:o.beforeEnter,props:iY(o),children:o.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in o?o.components||{}:{default:o.component}}}function iY(o){const u={},f=o.props||!1;if("component"in o)u.default=f;else for(const v in o.components)u[v]=typeof f=="boolean"?f:f[v];return u}function xI(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function aY(o){return o.reduce((u,f)=>Zp(u,f.meta),{})}function bI(o,u){const f={};for(const v in o)f[v]=v in u?u[v]:o[v];return f}function dM(o,u){return u.children.some(f=>f===o||dM(o,f))}const fM=/#/g,oY=/&/g,sY=/\//g,cY=/=/g,uY=/\?/g,_M=/\+/g,lY=/%5B/g,pY=/%5D/g,mM=/%5E/g,dY=/%60/g,gM=/%7B/g,fY=/%7C/g,hM=/%7D/g,_Y=/%20/g;function FN(o){return encodeURI(""+o).replace(fY,"|").replace(lY,"[").replace(pY,"]")}function mY(o){return FN(o).replace(gM,"{").replace(hM,"}").replace(mM,"^")}function EF(o){return FN(o).replace(_M,"%2B").replace(_Y,"+").replace(fM,"%23").replace(oY,"%26").replace(dY,"`").replace(gM,"{").replace(hM,"}").replace(mM,"^")}function gY(o){return EF(o).replace(cY,"%3D")}function hY(o){return FN(o).replace(fM,"%23").replace(uY,"%3F")}function yY(o){return o==null?"":hY(o).replace(sY,"%2F")}function RT(o){try{return decodeURIComponent(""+o)}catch{}return""+o}function vY(o){const u={};if(o===""||o==="?")return u;const v=(o[0]==="?"?o.slice(1):o).split("&");for(let H=0;Hse&&EF(se)):[v&&EF(v)]).forEach(se=>{se!==void 0&&(u+=(u.length?"&":"")+f,se!=null&&(u+="="+se))})}return u}function DY(o){const u={};for(const f in o){const v=o[f];v!==void 0&&(u[f]=Array.isArray(v)?v.map(H=>H==null?null:""+H):v==null?v:""+v)}return u}function mS(){let o=[];function u(v){return o.push(v),()=>{const H=o.indexOf(v);H>-1&&o.splice(H,1)}}function f(){o=[]}return{add:u,list:()=>o,reset:f}}function d2(o,u,f,v,H){const se=v&&(v.enterCallbacks[H]=v.enterCallbacks[H]||[]);return()=>new Promise(($e,mt)=>{const Wt=Ir=>{Ir===!1?mt(Wx(4,{from:f,to:u})):Ir instanceof Error?mt(Ir):V$(Ir)?mt(Wx(2,{from:u,to:Ir})):(se&&v.enterCallbacks[H]===se&&typeof Ir=="function"&&se.push(Ir),$e())},fr=o.call(v&&v.instances[H],u,f,Wt);let Yt=Promise.resolve(fr);o.length<3&&(Yt=Yt.then(Wt)),Yt.catch(Ir=>mt(Ir))})}function j6(o,u,f,v){const H=[];for(const se of o)for(const $e in se.components){let mt=se.components[$e];if(!(u!=="beforeRouteEnter"&&!se.instances[$e]))if(xY(mt)){const fr=(mt.__vccOpts||mt)[u];fr&&H.push(d2(fr,f,v,se,$e))}else{let Wt=mt();H.push(()=>Wt.then(fr=>{if(!fr)return Promise.reject(new Error(`Couldn't resolve component "${$e}" at "${se.path}"`));const Yt=A$(fr)?fr.default:fr;se.components[$e]=Yt;const Qr=(Yt.__vccOpts||Yt)[u];return Qr&&d2(Qr,f,v,se,$e)()}))}}return H}function xY(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function EI(o){const u=y0(sk),f=y0(AN),v=xf(()=>u.resolve(km(o.to))),H=xf(()=>{const{matched:Wt}=v.value,{length:fr}=Wt,Yt=Wt[fr-1],Ir=f.matched;if(!Yt||!Ir.length)return-1;const Qr=Ir.findIndex(Vx.bind(null,Yt));if(Qr>-1)return Qr;const Di=CI(Wt[fr-2]);return fr>1&&CI(Yt)===Di&&Ir[Ir.length-1].path!==Di?Ir.findIndex(Vx.bind(null,Wt[fr-2])):Qr}),se=xf(()=>H.value>-1&&CY(f.params,v.value.params)),$e=xf(()=>H.value>-1&&H.value===f.matched.length-1&&cM(f.params,v.value.params));function mt(Wt={}){return EY(Wt)?u[km(o.replace)?"replace":"push"](km(o.to)).catch(PS):Promise.resolve()}return{route:v,href:xf(()=>v.value.href),isActive:se,isExactActive:$e,navigate:mt}}const bY=M9({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:EI,setup(o,{slots:u}){const f=x2(EI(o)),{options:v}=y0(sk),H=xf(()=>({[TI(o.activeClass,v.linkActiveClass,"router-link-active")]:f.isActive,[TI(o.exactActiveClass,v.linkExactActiveClass,"router-link-exact-active")]:f.isExactActive}));return()=>{const se=u.default&&u.default(f);return o.custom?se:x1("a",{"aria-current":f.isExactActive?o.ariaCurrentValue:null,href:f.href,onClick:f.navigate,class:H.value},se)}}}),SY=bY;function EY(o){if(!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)&&!o.defaultPrevented&&!(o.button!==void 0&&o.button!==0)){if(o.currentTarget&&o.currentTarget.getAttribute){const u=o.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(u))return}return o.preventDefault&&o.preventDefault(),!0}}function CY(o,u){for(const f in u){const v=u[f],H=o[f];if(typeof v=="string"){if(v!==H)return!1}else if(!Array.isArray(H)||H.length!==v.length||v.some((se,$e)=>se!==H[$e]))return!1}return!0}function CI(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const TI=(o,u,f)=>o!=null?o:u!=null?u:f,TY=M9({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(o,{attrs:u,slots:f}){const v=y0(bF),H=xf(()=>o.route||v.value),se=y0(fI,0),$e=xf(()=>H.value.matched[se]);xT(fI,se+1),xT(k$,$e),xT(bF,H);const mt=Df();return uv(()=>[mt.value,$e.value,o.name],([Wt,fr,Yt],[Ir,Qr,Di])=>{fr&&(fr.instances[Yt]=Wt,Qr&&Qr!==fr&&Wt&&Wt===Ir&&(fr.leaveGuards.size||(fr.leaveGuards=Qr.leaveGuards),fr.updateGuards.size||(fr.updateGuards=Qr.updateGuards))),Wt&&fr&&(!Qr||!Vx(fr,Qr)||!Ir)&&(fr.enterCallbacks[Yt]||[]).forEach(Vi=>Vi(Wt))},{flush:"post"}),()=>{const Wt=H.value,fr=$e.value,Yt=fr&&fr.components[o.name],Ir=o.name;if(!Yt)return kI(f.default,{Component:Yt,route:Wt});const Qr=fr.props[o.name],Di=Qr?Qr===!0?Wt.params:typeof Qr=="function"?Qr(Wt):Qr:null,gi=x1(Yt,Zp({},Di,u,{onVnodeUnmounted:Mi=>{Mi.component.isUnmounted&&(fr.instances[Ir]=null)},ref:mt}));return kI(f.default,{Component:gi,route:Wt})||gi}}});function kI(o,u){if(!o)return null;const f=o(u);return f.length===1?f[0]:f}const kY=TY;function Jre(o){const u=tY(o.routes,o),f=o.parseQuery||vY,v=o.stringifyQuery||SI,H=o.history,se=mS(),$e=mS(),mt=mS(),Wt=LH(o2);let fr=o2;Ix&&o.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Yt=B6.bind(null,ao=>""+ao),Ir=B6.bind(null,yY),Qr=B6.bind(null,RT);function Di(ao,ks){let _s,Vs;return lM(ao)?(_s=u.getRecordMatcher(ao),Vs=ks):Vs=ao,u.addRoute(Vs,_s)}function Vi(ao){const ks=u.getRecordMatcher(ao);ks&&u.removeRoute(ks)}function gi(){return u.getRoutes().map(ao=>ao.record)}function Mi(ao){return!!u.getRecordMatcher(ao)}function Yn(ao,ks){if(ks=Zp({},ks||Wt.value),typeof ao=="string"){const tn=R6(f,ao,ks.path),Xn=u.resolve({path:tn.path},ks),na=H.createHref(tn.fullPath);return Zp(tn,Xn,{params:Qr(Xn.params),hash:RT(tn.hash),redirectedFrom:void 0,href:na})}let _s;if("path"in ao)_s=Zp({},ao,{path:R6(f,ao.path,ks.path).path});else{const tn=Zp({},ao.params);for(const Xn in tn)tn[Xn]==null&&delete tn[Xn];_s=Zp({},ao,{params:Ir(ao.params)}),ks.params=Ir(ks.params)}const Vs=u.resolve(_s,ks),Cc=ao.hash||"";Vs.params=Yt(Qr(Vs.params));const Ku=w$(v,Zp({},ao,{hash:mY(Cc),path:Vs.path})),Ri=H.createHref(Ku);return Zp({fullPath:Ku,hash:Cc,query:v===SI?DY(ao.query):ao.query||{}},Vs,{redirectedFrom:void 0,href:Ri})}function _a(ao){return typeof ao=="string"?R6(f,ao,Wt.value.path):Zp({},ao)}function ha(ao,ks){if(fr!==ao)return Wx(8,{from:ks,to:ao})}function ea(ao){return Qi(ao)}function Na(ao){return ea(Zp(_a(ao),{replace:!0}))}function Hi(ao){const ks=ao.matched[ao.matched.length-1];if(ks&&ks.redirect){const{redirect:_s}=ks;let Vs=typeof _s=="function"?_s(ao):_s;return typeof Vs=="string"&&(Vs=Vs.includes("?")||Vs.includes("#")?Vs=_a(Vs):{path:Vs},Vs.params={}),Zp({query:ao.query,hash:ao.hash,params:ao.params},Vs)}}function Qi(ao,ks){const _s=fr=Yn(ao),Vs=Wt.value,Cc=ao.state,Ku=ao.force,Ri=ao.replace===!0,tn=Hi(_s);if(tn)return Qi(Zp(_a(tn),{state:Cc,force:Ku,replace:Ri}),ks||_s);const Xn=_s;Xn.redirectedFrom=ks;let na;return!Ku&&P$(v,Vs,_s)&&(na=Wx(16,{to:Xn,from:Vs}),cu(Vs,Vs,!0,!1)),(na?Promise.resolve(na):$a(Xn,Vs)).catch(Wa=>s2(Wa)?s2(Wa,2)?Wa:ws(Wa):Ca(Wa,Xn,Vs)).then(Wa=>{if(Wa){if(s2(Wa,2))return Qi(Zp(_a(Wa.to),{state:Cc,force:Ku,replace:Ri}),ks||Xn)}else Wa=ec(Xn,Vs,!0,Ri,Cc);return Io(Xn,Vs,Wa),Wa})}function zi(ao,ks){const _s=ha(ao,ks);return _s?Promise.reject(_s):Promise.resolve()}function $a(ao,ks){let _s;const[Vs,Cc,Ku]=AY(ao,ks);_s=j6(Vs.reverse(),"beforeRouteLeave",ao,ks);for(const tn of Vs)tn.leaveGuards.forEach(Xn=>{_s.push(d2(Xn,ao,ks))});const Ri=zi.bind(null,ao,ks);return _s.push(Ri),Tx(_s).then(()=>{_s=[];for(const tn of se.list())_s.push(d2(tn,ao,ks));return _s.push(Ri),Tx(_s)}).then(()=>{_s=j6(Cc,"beforeRouteUpdate",ao,ks);for(const tn of Cc)tn.updateGuards.forEach(Xn=>{_s.push(d2(Xn,ao,ks))});return _s.push(Ri),Tx(_s)}).then(()=>{_s=[];for(const tn of ao.matched)if(tn.beforeEnter&&!ks.matched.includes(tn))if(Array.isArray(tn.beforeEnter))for(const Xn of tn.beforeEnter)_s.push(d2(Xn,ao,ks));else _s.push(d2(tn.beforeEnter,ao,ks));return _s.push(Ri),Tx(_s)}).then(()=>(ao.matched.forEach(tn=>tn.enterCallbacks={}),_s=j6(Ku,"beforeRouteEnter",ao,ks),_s.push(Ri),Tx(_s))).then(()=>{_s=[];for(const tn of $e.list())_s.push(d2(tn,ao,ks));return _s.push(Ri),Tx(_s)}).catch(tn=>s2(tn,8)?tn:Promise.reject(tn))}function Io(ao,ks,_s){for(const Vs of mt.list())Vs(ao,ks,_s)}function ec(ao,ks,_s,Vs,Cc){const Ku=ha(ao,ks);if(Ku)return Ku;const Ri=ks===o2,tn=Ix?history.state:{};_s&&(Vs||Ri?H.replace(ao.fullPath,Zp({scroll:Ri&&tn&&tn.scroll},Cc)):H.push(ao.fullPath,Cc)),Wt.value=ao,cu(ao,ks,_s,Ri),ws()}let qo;function Ko(){qo||(qo=H.listen((ao,ks,_s)=>{const Vs=Yn(ao),Cc=Hi(Vs);if(Cc){Qi(Zp(Cc,{replace:!0}),Vs).catch(PS);return}fr=Vs;const Ku=Wt.value;Ix&&J$(gI(Ku.fullPath,_s.delta),ck()),$a(Vs,Ku).catch(Ri=>s2(Ri,12)?Ri:s2(Ri,2)?(Qi(Ri.to,Vs).then(tn=>{s2(tn,20)&&!_s.delta&&_s.type===$S.pop&&H.go(-1,!1)}).catch(PS),Promise.reject()):(_s.delta&&H.go(-_s.delta,!1),Ca(Ri,Vs,Ku))).then(Ri=>{Ri=Ri||ec(Vs,Ku,!1),Ri&&(_s.delta?H.go(-_s.delta,!1):_s.type===$S.pop&&s2(Ri,20)&&H.go(-1,!1)),Io(Vs,Ku,Ri)}).catch(PS)}))}let ho=mS(),yo=mS(),ts;function Ca(ao,ks,_s){ws(ao);const Vs=yo.list();return Vs.length?Vs.forEach(Cc=>Cc(ao,ks,_s)):console.error(ao),Promise.reject(ao)}function us(){return ts&&Wt.value!==o2?Promise.resolve():new Promise((ao,ks)=>{ho.add([ao,ks])})}function ws(ao){return ts||(ts=!ao,Ko(),ho.list().forEach(([ks,_s])=>ao?_s(ao):ks()),ho.reset()),ao}function cu(ao,ks,_s,Vs){const{scrollBehavior:Cc}=o;if(!Ix||!Cc)return Promise.resolve();const Ku=!_s&&U$(gI(ao.fullPath,0))||(Vs||!_s)&&history.state&&history.state.scroll||null;return ek().then(()=>Cc(ao,ks,Ku)).then(Ri=>Ri&&j$(Ri)).catch(Ri=>Ca(Ri,ao,ks))}const Ic=ao=>H.go(ao);let nu;const Mu=new Set;return{currentRoute:Wt,addRoute:Di,removeRoute:Vi,hasRoute:Mi,getRoutes:gi,resolve:Yn,options:o,push:ea,replace:Na,go:Ic,back:()=>Ic(-1),forward:()=>Ic(1),beforeEach:se.add,beforeResolve:$e.add,afterEach:mt.add,onError:yo.add,isReady:us,install(ao){const ks=this;ao.component("RouterLink",SY),ao.component("RouterView",kY),ao.config.globalProperties.$router=ks,Object.defineProperty(ao.config.globalProperties,"$route",{enumerable:!0,get:()=>km(Wt)}),Ix&&!nu&&Wt.value===o2&&(nu=!0,ea(H.location).catch(Cc=>{}));const _s={};for(const Cc in o2)_s[Cc]=xf(()=>Wt.value[Cc]);ao.provide(sk,ks),ao.provide(AN,x2(_s)),ao.provide(bF,Wt);const Vs=ao.unmount;Mu.add(ao),ao.unmount=function(){Mu.delete(ao),Mu.size<1&&(fr=o2,qo&&qo(),qo=null,Wt.value=o2,nu=!1,ts=!1),Vs()}}}}function Tx(o){return o.reduce((u,f)=>u.then(()=>f()),Promise.resolve())}function AY(o,u){const f=[],v=[],H=[],se=Math.max(u.matched.length,o.matched.length);for(let $e=0;$eVx(fr,mt))?v.push(mt):f.push(mt));const Wt=o.matched[$e];Wt&&(u.matched.find(fr=>Vx(fr,Wt))||H.push(Wt))}return[f,v,H]}function Ure(){return y0(sk)}function Kre(){return y0(AN)}/*! * @intlify/shared v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */const FY=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",E1=o=>FY?Symbol(o):o,NY=(o,u,f)=>wY({l:o,k:u,s:f}),wY=o=>JSON.stringify(o).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),$_=o=>typeof o=="number"&&isFinite(o),PY=o=>NN(o)==="[object Date]",Hx=o=>NN(o)==="[object RegExp]",uk=o=>El(o)&&Object.keys(o).length===0;function IY(o,u){typeof console!="undefined"&&(console.warn("[intlify] "+o),u&&console.warn(u.stack))}const Y_=Object.assign;let AI;const OS=()=>AI||(AI=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function FI(o){return o.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const OY=Object.prototype.hasOwnProperty;function yM(o,u){return OY.call(o,u)}const Jf=Array.isArray,Am=o=>typeof o=="function",su=o=>typeof o=="string",qp=o=>typeof o=="boolean",Mg=o=>o!==null&&typeof o=="object",vM=Object.prototype.toString,NN=o=>vM.call(o),El=o=>NN(o)==="[object Object]",MY=o=>o==null?"":Jf(o)||El(o)&&o.toString===vM?JSON.stringify(o,null,2):String(o);/*! * @intlify/message-resolver v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */const LY=Object.prototype.hasOwnProperty;function BY(o,u){return LY.call(o,u)}const ST=o=>o!==null&&typeof o=="object",E2=[];E2[0]={w:[0],i:[3,0],["["]:[4],o:[7]};E2[1]={w:[1],["."]:[2],["["]:[4],o:[7]};E2[2]={w:[2],i:[3,0],["0"]:[3,0]};E2[3]={i:[3,0],["0"]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};E2[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};E2[5]={["'"]:[4,0],o:8,l:[5,0]};E2[6]={['"']:[4,0],o:8,l:[6,0]};const RY=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function jY(o){return RY.test(o)}function JY(o){const u=o.charCodeAt(0),f=o.charCodeAt(o.length-1);return u===f&&(u===34||u===39)?o.slice(1,-1):o}function UY(o){if(o==null)return"o";switch(o.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return o;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 KY(o){const u=o.trim();return o.charAt(0)==="0"&&isNaN(parseInt(o))?!1:jY(u)?JY(u):"*"+u}function zY(o){const u=[];let f=-1,v=0,H=0,se,$e,mt,Wt,fr,Yt,Ir;const Qr=[];Qr[0]=()=>{$e===void 0?$e=mt:$e+=mt},Qr[1]=()=>{$e!==void 0&&(u.push($e),$e=void 0)},Qr[2]=()=>{Qr[0](),H++},Qr[3]=()=>{if(H>0)H--,v=4,Qr[0]();else{if(H=0,$e===void 0||($e=KY($e),$e===!1))return!1;Qr[1]()}};function Di(){const Vi=o[f+1];if(v===5&&Vi==="'"||v===6&&Vi==='"')return f++,mt="\\"+Vi,Qr[0](),!0}for(;v!==null;)if(f++,se=o[f],!(se==="\\"&&Di())){if(Wt=UY(se),Ir=E2[v],fr=Ir[Wt]||Ir.l||8,fr===8||(v=fr[0],fr[1]!==void 0&&(Yt=Qr[fr[1]],Yt&&(mt=se,Yt()===!1))))return;if(v===7)return u}}const NI=new Map;function jT(o,u){if(!ST(o))return null;let f=NI.get(u);if(f||(f=zY(u),f&&NI.set(u,f)),!f)return null;const v=f.length;let H=o,se=0;for(;seo,VY=o=>"",WY="text",HY=o=>o.length===0?"":o.join(""),GY=MY;function wI(o,u){return o=Math.abs(o),u===2?o?o>1?1:0:1:o?Math.min(o,2):0}function $Y(o){const u=$_(o.pluralIndex)?o.pluralIndex:-1;return o.named&&($_(o.named.count)||$_(o.named.n))?$_(o.named.count)?o.named.count:$_(o.named.n)?o.named.n:u:u}function YY(o,u){u.count||(u.count=o),u.n||(u.n=o)}function QY(o={}){const u=o.locale,f=$Y(o),v=Mg(o.pluralRules)&&su(u)&&Am(o.pluralRules[u])?o.pluralRules[u]:wI,H=Mg(o.pluralRules)&&su(u)&&Am(o.pluralRules[u])?wI:void 0,se=Mi=>Mi[v(f,Mi.length,H)],$e=o.list||[],mt=Mi=>$e[Mi],Wt=o.named||{};$_(o.pluralIndex)&&YY(f,Wt);const fr=Mi=>Wt[Mi];function Yt(Mi){const Yn=Am(o.messages)?o.messages(Mi):Mg(o.messages)?o.messages[Mi]:!1;return Yn||(o.parent?o.parent.message(Mi):VY)}const Ir=Mi=>o.modifiers?o.modifiers[Mi]:qY,Qr=El(o.processor)&&Am(o.processor.normalize)?o.processor.normalize:HY,Di=El(o.processor)&&Am(o.processor.interpolate)?o.processor.interpolate:GY,Vi=El(o.processor)&&su(o.processor.type)?o.processor.type:WY,gi={list:mt,named:fr,plural:se,linked:(Mi,Yn)=>{const _a=Yt(Mi)(gi);return su(Yn)?Ir(Yn)(_a):_a},message:Yt,type:Vi,interpolate:Di,normalize:Qr};return gi}/*! * @intlify/message-compiler v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */function lk(o,u,f={}){const{domain:v,messages:H,args:se}=f,$e=o,mt=new SyntaxError(String($e));return mt.code=o,u&&(mt.location=u),mt.domain=v,mt}function XY(o){throw o}function ZY(o,u,f){return{line:o,column:u,offset:f}}function TF(o,u,f){const v={start:o,end:u};return f!=null&&(v.source=f),v}const m1=" ",eQ="\r",Pg=` `,tQ=String.fromCharCode(8232),rQ=String.fromCharCode(8233);function nQ(o){const u=o;let f=0,v=1,H=1,se=0;const $e=Qi=>u[Qi]===eQ&&u[Qi+1]===Pg,mt=Qi=>u[Qi]===Pg,Wt=Qi=>u[Qi]===rQ,fr=Qi=>u[Qi]===tQ,Yt=Qi=>$e(Qi)||mt(Qi)||Wt(Qi)||fr(Qi),Ir=()=>f,Qr=()=>v,Di=()=>H,Vi=()=>se,gi=Qi=>$e(Qi)||Wt(Qi)||fr(Qi)?Pg:u[Qi],Mi=()=>gi(f),Yn=()=>gi(f+se);function _a(){return se=0,Yt(f)&&(v++,H=0),$e(f)&&f++,f++,H++,u[f]}function ha(){return $e(f+se)&&se++,se++,u[f+se]}function ea(){f=0,v=1,H=1,se=0}function Na(Qi=0){se=Qi}function Hi(){const Qi=f+se;for(;Qi!==f;)_a();se=0}return{index:Ir,line:Qr,column:Di,peekOffset:Vi,charAt:gi,currentChar:Mi,currentPeek:Yn,next:_a,peek:ha,reset:ea,resetPeek:Na,skipToPeek:Hi}}const c2=void 0,PI="'",iQ="tokenizer";function aQ(o,u={}){const f=u.location!==!1,v=nQ(o),H=()=>v.index(),se=()=>ZY(v.line(),v.column(),v.index()),$e=se(),mt=H(),Wt={currentType:14,offset:mt,startLoc:$e,endLoc:$e,lastType:14,lastOffset:mt,lastStartLoc:$e,lastEndLoc:$e,braceNest:0,inLinked:!1,text:""},fr=()=>Wt,{onError:Yt}=u;function Ir(Ri,tn,Xn,...na){const Wa=fr();if(tn.column+=Xn,tn.offset+=Xn,Yt){const So=TF(Wa.startLoc,tn),As=lk(Ri,So,{domain:iQ,args:na});Yt(As)}}function Qr(Ri,tn,Xn){Ri.endLoc=se(),Ri.currentType=tn;const na={type:tn};return f&&(na.loc=TF(Ri.startLoc,Ri.endLoc)),Xn!=null&&(na.value=Xn),na}const Di=Ri=>Qr(Ri,14);function Vi(Ri,tn){return Ri.currentChar()===tn?(Ri.next(),tn):(Ir(0,se(),0,tn),"")}function gi(Ri){let tn="";for(;Ri.currentPeek()===m1||Ri.currentPeek()===Pg;)tn+=Ri.currentPeek(),Ri.peek();return tn}function Mi(Ri){const tn=gi(Ri);return Ri.skipToPeek(),tn}function Yn(Ri){if(Ri===c2)return!1;const tn=Ri.charCodeAt(0);return tn>=97&&tn<=122||tn>=65&&tn<=90||tn===95}function _a(Ri){if(Ri===c2)return!1;const tn=Ri.charCodeAt(0);return tn>=48&&tn<=57}function ha(Ri,tn){const{currentType:Xn}=tn;if(Xn!==2)return!1;gi(Ri);const na=Yn(Ri.currentPeek());return Ri.resetPeek(),na}function ea(Ri,tn){const{currentType:Xn}=tn;if(Xn!==2)return!1;gi(Ri);const na=Ri.currentPeek()==="-"?Ri.peek():Ri.currentPeek(),Wa=_a(na);return Ri.resetPeek(),Wa}function Na(Ri,tn){const{currentType:Xn}=tn;if(Xn!==2)return!1;gi(Ri);const na=Ri.currentPeek()===PI;return Ri.resetPeek(),na}function Hi(Ri,tn){const{currentType:Xn}=tn;if(Xn!==8)return!1;gi(Ri);const na=Ri.currentPeek()===".";return Ri.resetPeek(),na}function Qi(Ri,tn){const{currentType:Xn}=tn;if(Xn!==9)return!1;gi(Ri);const na=Yn(Ri.currentPeek());return Ri.resetPeek(),na}function zi(Ri,tn){const{currentType:Xn}=tn;if(!(Xn===8||Xn===12))return!1;gi(Ri);const na=Ri.currentPeek()===":";return Ri.resetPeek(),na}function $a(Ri,tn){const{currentType:Xn}=tn;if(Xn!==10)return!1;const na=()=>{const So=Ri.currentPeek();return So==="{"?Yn(Ri.peek()):So==="@"||So==="%"||So==="|"||So===":"||So==="."||So===m1||!So?!1:So===Pg?(Ri.peek(),na()):Yn(So)},Wa=na();return Ri.resetPeek(),Wa}function Io(Ri){gi(Ri);const tn=Ri.currentPeek()==="|";return Ri.resetPeek(),tn}function ec(Ri,tn=!0){const Xn=(Wa=!1,So="",As=!1)=>{const Qs=Ri.currentPeek();return Qs==="{"?So==="%"?!1:Wa:Qs==="@"||!Qs?So==="%"?!0:Wa:Qs==="%"?(Ri.peek(),Xn(Wa,"%",!0)):Qs==="|"?So==="%"||As?!0:!(So===m1||So===Pg):Qs===m1?(Ri.peek(),Xn(!0,m1,As)):Qs===Pg?(Ri.peek(),Xn(!0,Pg,As)):!0},na=Xn();return tn&&Ri.resetPeek(),na}function qo(Ri,tn){const Xn=Ri.currentChar();return Xn===c2?c2:tn(Xn)?(Ri.next(),Xn):null}function Ko(Ri){return qo(Ri,Xn=>{const na=Xn.charCodeAt(0);return na>=97&&na<=122||na>=65&&na<=90||na>=48&&na<=57||na===95||na===36})}function ho(Ri){return qo(Ri,Xn=>{const na=Xn.charCodeAt(0);return na>=48&&na<=57})}function yo(Ri){return qo(Ri,Xn=>{const na=Xn.charCodeAt(0);return na>=48&&na<=57||na>=65&&na<=70||na>=97&&na<=102})}function ts(Ri){let tn="",Xn="";for(;tn=ho(Ri);)Xn+=tn;return Xn}function Ca(Ri){let tn="";for(;;){const Xn=Ri.currentChar();if(Xn==="{"||Xn==="}"||Xn==="@"||Xn==="|"||!Xn)break;if(Xn==="%")if(ec(Ri))tn+=Xn,Ri.next();else break;else if(Xn===m1||Xn===Pg)if(ec(Ri))tn+=Xn,Ri.next();else{if(Io(Ri))break;tn+=Xn,Ri.next()}else tn+=Xn,Ri.next()}return tn}function us(Ri){Mi(Ri);let tn="",Xn="";for(;tn=Ko(Ri);)Xn+=tn;return Ri.currentChar()===c2&&Ir(6,se(),0),Xn}function ws(Ri){Mi(Ri);let tn="";return Ri.currentChar()==="-"?(Ri.next(),tn+=`-${ts(Ri)}`):tn+=ts(Ri),Ri.currentChar()===c2&&Ir(6,se(),0),tn}function cu(Ri){Mi(Ri),Vi(Ri,"'");let tn="",Xn="";const na=So=>So!==PI&&So!==Pg;for(;tn=qo(Ri,na);)tn==="\\"?Xn+=Ic(Ri):Xn+=tn;const Wa=Ri.currentChar();return Wa===Pg||Wa===c2?(Ir(2,se(),0),Wa===Pg&&(Ri.next(),Vi(Ri,"'")),Xn):(Vi(Ri,"'"),Xn)}function Ic(Ri){const tn=Ri.currentChar();switch(tn){case"\\":case"'":return Ri.next(),`\\${tn}`;case"u":return nu(Ri,tn,4);case"U":return nu(Ri,tn,6);default:return Ir(3,se(),0,tn),""}}function nu(Ri,tn,Xn){Vi(Ri,tn);let na="";for(let Wa=0;WaWa!=="{"&&Wa!=="}"&&Wa!==m1&&Wa!==Pg;for(;tn=qo(Ri,na);)Xn+=tn;return Xn}function el(Ri){let tn="",Xn="";for(;tn=Ko(Ri);)Xn+=tn;return Xn}function ao(Ri){const tn=(Xn=!1,na)=>{const Wa=Ri.currentChar();return Wa==="{"||Wa==="%"||Wa==="@"||Wa==="|"||!Wa||Wa===m1?na:Wa===Pg?(na+=Wa,Ri.next(),tn(Xn,na)):(na+=Wa,Ri.next(),tn(!0,na))};return tn(!1,"")}function ks(Ri){Mi(Ri);const tn=Vi(Ri,"|");return Mi(Ri),tn}function _s(Ri,tn){let Xn=null;switch(Ri.currentChar()){case"{":return tn.braceNest>=1&&Ir(8,se(),0),Ri.next(),Xn=Qr(tn,2,"{"),Mi(Ri),tn.braceNest++,Xn;case"}":return tn.braceNest>0&&tn.currentType===2&&Ir(7,se(),0),Ri.next(),Xn=Qr(tn,3,"}"),tn.braceNest--,tn.braceNest>0&&Mi(Ri),tn.inLinked&&tn.braceNest===0&&(tn.inLinked=!1),Xn;case"@":return tn.braceNest>0&&Ir(6,se(),0),Xn=Vs(Ri,tn)||Di(tn),tn.braceNest=0,Xn;default:let Wa=!0,So=!0,As=!0;if(Io(Ri))return tn.braceNest>0&&Ir(6,se(),0),Xn=Qr(tn,1,ks(Ri)),tn.braceNest=0,tn.inLinked=!1,Xn;if(tn.braceNest>0&&(tn.currentType===5||tn.currentType===6||tn.currentType===7))return Ir(6,se(),0),tn.braceNest=0,Cc(Ri,tn);if(Wa=ha(Ri,tn))return Xn=Qr(tn,5,us(Ri)),Mi(Ri),Xn;if(So=ea(Ri,tn))return Xn=Qr(tn,6,ws(Ri)),Mi(Ri),Xn;if(As=Na(Ri,tn))return Xn=Qr(tn,7,cu(Ri)),Mi(Ri),Xn;if(!Wa&&!So&&!As)return Xn=Qr(tn,13,Mu(Ri)),Ir(1,se(),0,Xn.value),Mi(Ri),Xn;break}return Xn}function Vs(Ri,tn){const{currentType:Xn}=tn;let na=null;const Wa=Ri.currentChar();switch((Xn===8||Xn===9||Xn===12||Xn===10)&&(Wa===Pg||Wa===m1)&&Ir(9,se(),0),Wa){case"@":return Ri.next(),na=Qr(tn,8,"@"),tn.inLinked=!0,na;case".":return Mi(Ri),Ri.next(),Qr(tn,9,".");case":":return Mi(Ri),Ri.next(),Qr(tn,10,":");default:return Io(Ri)?(na=Qr(tn,1,ks(Ri)),tn.braceNest=0,tn.inLinked=!1,na):Hi(Ri,tn)||zi(Ri,tn)?(Mi(Ri),Vs(Ri,tn)):Qi(Ri,tn)?(Mi(Ri),Qr(tn,12,el(Ri))):$a(Ri,tn)?(Mi(Ri),Wa==="{"?_s(Ri,tn)||na:Qr(tn,11,ao(Ri))):(Xn===8&&Ir(9,se(),0),tn.braceNest=0,tn.inLinked=!1,Cc(Ri,tn))}}function Cc(Ri,tn){let Xn={type:14};if(tn.braceNest>0)return _s(Ri,tn)||Di(tn);if(tn.inLinked)return Vs(Ri,tn)||Di(tn);const na=Ri.currentChar();switch(na){case"{":return _s(Ri,tn)||Di(tn);case"}":return Ir(5,se(),0),Ri.next(),Qr(tn,3,"}");case"@":return Vs(Ri,tn)||Di(tn);default:if(Io(Ri))return Xn=Qr(tn,1,ks(Ri)),tn.braceNest=0,tn.inLinked=!1,Xn;if(ec(Ri))return Qr(tn,0,Ca(Ri));if(na==="%")return Ri.next(),Qr(tn,4,"%");break}return Xn}function Ku(){const{currentType:Ri,offset:tn,startLoc:Xn,endLoc:na}=Wt;return Wt.lastType=Ri,Wt.lastOffset=tn,Wt.lastStartLoc=Xn,Wt.lastEndLoc=na,Wt.offset=H(),Wt.startLoc=se(),v.currentChar()===c2?Qr(Wt,14):Cc(v,Wt)}return{nextToken:Ku,currentOffset:H,currentPosition:se,context:fr}}const oQ="parser",sQ=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function cQ(o,u,f){switch(o){case"\\\\":return"\\";case"\\'":return"'";default:{const v=parseInt(u||f,16);return v<=55295||v>=57344?String.fromCodePoint(v):"\uFFFD"}}}function uQ(o={}){const u=o.location!==!1,{onError:f}=o;function v(Yn,_a,ha,ea,...Na){const Hi=Yn.currentPosition();if(Hi.offset+=ea,Hi.column+=ea,f){const Qi=TF(ha,Hi),zi=lk(_a,Qi,{domain:oQ,args:Na});f(zi)}}function H(Yn,_a,ha){const ea={type:Yn,start:_a,end:_a};return u&&(ea.loc={start:ha,end:ha}),ea}function se(Yn,_a,ha,ea){Yn.end=_a,ea&&(Yn.type=ea),u&&Yn.loc&&(Yn.loc.end=ha)}function $e(Yn,_a){const ha=Yn.context(),ea=H(3,ha.offset,ha.startLoc);return ea.value=_a,se(ea,Yn.currentOffset(),Yn.currentPosition()),ea}function mt(Yn,_a){const ha=Yn.context(),{lastOffset:ea,lastStartLoc:Na}=ha,Hi=H(5,ea,Na);return Hi.index=parseInt(_a,10),Yn.nextToken(),se(Hi,Yn.currentOffset(),Yn.currentPosition()),Hi}function Wt(Yn,_a){const ha=Yn.context(),{lastOffset:ea,lastStartLoc:Na}=ha,Hi=H(4,ea,Na);return Hi.key=_a,Yn.nextToken(),se(Hi,Yn.currentOffset(),Yn.currentPosition()),Hi}function fr(Yn,_a){const ha=Yn.context(),{lastOffset:ea,lastStartLoc:Na}=ha,Hi=H(9,ea,Na);return Hi.value=_a.replace(sQ,cQ),Yn.nextToken(),se(Hi,Yn.currentOffset(),Yn.currentPosition()),Hi}function Yt(Yn){const _a=Yn.nextToken(),ha=Yn.context(),{lastOffset:ea,lastStartLoc:Na}=ha,Hi=H(8,ea,Na);return _a.type!==12?(v(Yn,11,ha.lastStartLoc,0),Hi.value="",se(Hi,ea,Na),{nextConsumeToken:_a,node:Hi}):(_a.value==null&&v(Yn,13,ha.lastStartLoc,0,jv(_a)),Hi.value=_a.value||"",se(Hi,Yn.currentOffset(),Yn.currentPosition()),{node:Hi})}function Ir(Yn,_a){const ha=Yn.context(),ea=H(7,ha.offset,ha.startLoc);return ea.value=_a,se(ea,Yn.currentOffset(),Yn.currentPosition()),ea}function Qr(Yn){const _a=Yn.context(),ha=H(6,_a.offset,_a.startLoc);let ea=Yn.nextToken();if(ea.type===9){const Na=Yt(Yn);ha.modifier=Na.node,ea=Na.nextConsumeToken||Yn.nextToken()}switch(ea.type!==10&&v(Yn,13,_a.lastStartLoc,0,jv(ea)),ea=Yn.nextToken(),ea.type===2&&(ea=Yn.nextToken()),ea.type){case 11:ea.value==null&&v(Yn,13,_a.lastStartLoc,0,jv(ea)),ha.key=Ir(Yn,ea.value||"");break;case 5:ea.value==null&&v(Yn,13,_a.lastStartLoc,0,jv(ea)),ha.key=Wt(Yn,ea.value||"");break;case 6:ea.value==null&&v(Yn,13,_a.lastStartLoc,0,jv(ea)),ha.key=mt(Yn,ea.value||"");break;case 7:ea.value==null&&v(Yn,13,_a.lastStartLoc,0,jv(ea)),ha.key=fr(Yn,ea.value||"");break;default:v(Yn,12,_a.lastStartLoc,0);const Na=Yn.context(),Hi=H(7,Na.offset,Na.startLoc);return Hi.value="",se(Hi,Na.offset,Na.startLoc),ha.key=Hi,se(ha,Na.offset,Na.startLoc),{nextConsumeToken:ea,node:ha}}return se(ha,Yn.currentOffset(),Yn.currentPosition()),{node:ha}}function Di(Yn){const _a=Yn.context(),ha=_a.currentType===1?Yn.currentOffset():_a.offset,ea=_a.currentType===1?_a.endLoc:_a.startLoc,Na=H(2,ha,ea);Na.items=[];let Hi=null;do{const $a=Hi||Yn.nextToken();switch(Hi=null,$a.type){case 0:$a.value==null&&v(Yn,13,_a.lastStartLoc,0,jv($a)),Na.items.push($e(Yn,$a.value||""));break;case 6:$a.value==null&&v(Yn,13,_a.lastStartLoc,0,jv($a)),Na.items.push(mt(Yn,$a.value||""));break;case 5:$a.value==null&&v(Yn,13,_a.lastStartLoc,0,jv($a)),Na.items.push(Wt(Yn,$a.value||""));break;case 7:$a.value==null&&v(Yn,13,_a.lastStartLoc,0,jv($a)),Na.items.push(fr(Yn,$a.value||""));break;case 8:const Io=Qr(Yn);Na.items.push(Io.node),Hi=Io.nextConsumeToken||null;break}}while(_a.currentType!==14&&_a.currentType!==1);const Qi=_a.currentType===1?_a.lastOffset:Yn.currentOffset(),zi=_a.currentType===1?_a.lastEndLoc:Yn.currentPosition();return se(Na,Qi,zi),Na}function Vi(Yn,_a,ha,ea){const Na=Yn.context();let Hi=ea.items.length===0;const Qi=H(1,_a,ha);Qi.cases=[],Qi.cases.push(ea);do{const zi=Di(Yn);Hi||(Hi=zi.items.length===0),Qi.cases.push(zi)}while(Na.currentType!==14);return Hi&&v(Yn,10,ha,0),se(Qi,Yn.currentOffset(),Yn.currentPosition()),Qi}function gi(Yn){const _a=Yn.context(),{offset:ha,startLoc:ea}=_a,Na=Di(Yn);return _a.currentType===14?Na:Vi(Yn,ha,ea,Na)}function Mi(Yn){const _a=aQ(Yn,Y_({},o)),ha=_a.context(),ea=H(0,ha.offset,ha.startLoc);return u&&ea.loc&&(ea.loc.source=Yn),ea.body=gi(_a),ha.currentType!==14&&v(_a,13,ha.lastStartLoc,0,Yn[ha.offset]||""),se(ea,_a.currentOffset(),_a.currentPosition()),ea}return{parse:Mi}}function jv(o){if(o.type===14)return"EOF";const u=(o.value||"").replace(/\r?\n/gu,"\\n");return u.length>10?u.slice(0,9)+"\u2026":u}function lQ(o,u={}){const f={ast:o,helpers:new Set};return{context:()=>f,helper:se=>(f.helpers.add(se),se)}}function II(o,u){for(let f=0;f$e;function Wt(gi,Mi){$e.code+=gi}function fr(gi,Mi=!0){const Yn=Mi?H:"";Wt(se?Yn+" ".repeat(gi):Yn)}function Yt(gi=!0){const Mi=++$e.indentLevel;gi&&fr(Mi)}function Ir(gi=!0){const Mi=--$e.indentLevel;gi&&fr(Mi)}function Qr(){fr($e.indentLevel)}return{context:mt,push:Wt,indent:Yt,deindent:Ir,newline:Qr,helper:gi=>`_${gi}`,needIndent:()=>$e.needIndent}}function fQ(o,u){const{helper:f}=o;o.push(`${f("linked")}(`),Gx(o,u.key),u.modifier&&(o.push(", "),Gx(o,u.modifier)),o.push(")")}function _Q(o,u){const{helper:f,needIndent:v}=o;o.push(`${f("normalize")}([`),o.indent(v());const H=u.items.length;for(let se=0;se1){o.push(`${f("plural")}([`),o.indent(v());const H=u.cases.length;for(let se=0;se{const f=su(u.mode)?u.mode:"normal",v=su(u.filename)?u.filename:"message.intl",H=!!u.sourceMap,se=u.breakLineCode!=null?u.breakLineCode:f==="arrow"?";":` `,$e=u.needIndent?u.needIndent:f!=="arrow",mt=o.helpers||[],Wt=dQ(o,{mode:f,filename:v,sourceMap:H,breakLineCode:se,needIndent:$e});Wt.push(f==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),Wt.indent($e),mt.length>0&&(Wt.push(`const { ${mt.map(Ir=>`${Ir}: _${Ir}`).join(", ")} } = ctx`),Wt.newline()),Wt.push("return "),Gx(Wt,o),Wt.deindent($e),Wt.push("}");const{code:fr,map:Yt}=Wt.context();return{ast:o,code:fr,map:Yt?Yt.toJSON():void 0}};function yQ(o,u={}){const f=Y_({},u),H=uQ(f).parse(o);return pQ(H,f),hQ(H,f)}/*! * @intlify/devtools-if v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */const DM={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! * @intlify/core-base v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */let YS=null;function vQ(o){YS=o}function DQ(o,u,f){YS&&YS.emit(DM.I18nInit,{timestamp:Date.now(),i18n:o,version:u,meta:f})}const xQ=bQ(DM.FunctionTranslate);function bQ(o){return u=>YS&&YS.emit(o,u)}const SQ="9.1.10",pk=-1,OI="";function EQ(){return{upper:o=>su(o)?o.toUpperCase():o,lower:o=>su(o)?o.toLowerCase():o,capitalize:o=>su(o)?`${o.charAt(0).toLocaleUpperCase()}${o.substr(1)}`:o}}let xM;function CQ(o){xM=o}let bM=null;const MI=o=>{bM=o},TQ=()=>bM;let LI=0;function kQ(o={}){const u=su(o.version)?o.version:SQ,f=su(o.locale)?o.locale:"en-US",v=Jf(o.fallbackLocale)||El(o.fallbackLocale)||su(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:f,H=El(o.messages)?o.messages:{[f]:{}},se=El(o.datetimeFormats)?o.datetimeFormats:{[f]:{}},$e=El(o.numberFormats)?o.numberFormats:{[f]:{}},mt=Y_({},o.modifiers||{},EQ()),Wt=o.pluralRules||{},fr=Am(o.missing)?o.missing:null,Yt=qp(o.missingWarn)||Hx(o.missingWarn)?o.missingWarn:!0,Ir=qp(o.fallbackWarn)||Hx(o.fallbackWarn)?o.fallbackWarn:!0,Qr=!!o.fallbackFormat,Di=!!o.unresolving,Vi=Am(o.postTranslation)?o.postTranslation:null,gi=El(o.processor)?o.processor:null,Mi=qp(o.warnHtmlMessage)?o.warnHtmlMessage:!0,Yn=!!o.escapeParameter,_a=Am(o.messageCompiler)?o.messageCompiler:xM,ha=Am(o.onWarn)?o.onWarn:IY,ea=o,Na=Mg(ea.__datetimeFormatters)?ea.__datetimeFormatters:new Map,Hi=Mg(ea.__numberFormatters)?ea.__numberFormatters:new Map,Qi=Mg(ea.__meta)?ea.__meta:{};LI++;const zi={version:u,cid:LI,locale:f,fallbackLocale:v,messages:H,datetimeFormats:se,numberFormats:$e,modifiers:mt,pluralRules:Wt,missing:fr,missingWarn:Yt,fallbackWarn:Ir,fallbackFormat:Qr,unresolving:Di,postTranslation:Vi,processor:gi,warnHtmlMessage:Mi,escapeParameter:Yn,messageCompiler:_a,onWarn:ha,__datetimeFormatters:Na,__numberFormatters:Hi,__meta:Qi};return __INTLIFY_PROD_DEVTOOLS__&&DQ(zi,u,Qi),zi}function PN(o,u,f,v,H){const{missing:se,onWarn:$e}=o;if(se!==null){const mt=se(o,f,u,H);return su(mt)?mt:u}else return u}function iE(o,u,f){const v=o;v.__localeChainCache||(v.__localeChainCache=new Map);let H=v.__localeChainCache.get(f);if(!H){H=[];let se=[f];for(;Jf(se);)se=BI(H,se,u);const $e=Jf(u)?u:El(u)?u.default?u.default:null:u;se=su($e)?[$e]:$e,Jf(se)&&BI(H,se,!1),v.__localeChainCache.set(f,H)}return H}function BI(o,u,f){let v=!0;for(let H=0;Ho;let RI=Object.create(null);function wQ(o,u={}){{const v=(u.onCacheKey||NQ)(o),H=RI[v];if(H)return H;let se=!1;const $e=u.onError||XY;u.onError=fr=>{se=!0,$e(fr)};const{code:mt}=yQ(o,u),Wt=new Function(`return ${mt}`)();return se?Wt:RI[v]=Wt}}function Ox(o){return lk(o,null,void 0)}const jI=()=>"",Uv=o=>Am(o);function JI(o,...u){const{fallbackFormat:f,postTranslation:v,unresolving:H,fallbackLocale:se,messages:$e}=o,[mt,Wt]=kF(...u),fr=qp(Wt.missingWarn)?Wt.missingWarn:o.missingWarn,Yt=qp(Wt.fallbackWarn)?Wt.fallbackWarn:o.fallbackWarn,Ir=qp(Wt.escapeParameter)?Wt.escapeParameter:o.escapeParameter,Qr=!!Wt.resolvedMessage,Di=su(Wt.default)||qp(Wt.default)?qp(Wt.default)?mt:Wt.default:f?mt:"",Vi=f||Di!=="",gi=su(Wt.locale)?Wt.locale:o.locale;Ir&&PQ(Wt);let[Mi,Yn,_a]=Qr?[mt,gi,$e[gi]||{}]:IQ(o,mt,gi,se,Yt,fr),ha=mt;if(!Qr&&!(su(Mi)||Uv(Mi))&&Vi&&(Mi=Di,ha=Mi),!Qr&&(!(su(Mi)||Uv(Mi))||!su(Yn)))return H?pk:mt;let ea=!1;const Na=()=>{ea=!0},Hi=Uv(Mi)?Mi:SM(o,mt,Yn,Mi,ha,Na);if(ea)return Mi;const Qi=LQ(o,Yn,_a,Wt),zi=QY(Qi),$a=OQ(o,Hi,zi),Io=v?v($a):$a;if(__INTLIFY_PROD_DEVTOOLS__){const ec={timestamp:Date.now(),key:su(mt)?mt:Uv(Mi)?Mi.key:"",locale:Yn||(Uv(Mi)?Mi.locale:""),format:su(Mi)?Mi:Uv(Mi)?Mi.source:"",message:Io};ec.meta=Y_({},o.__meta,TQ()||{}),xQ(ec)}return Io}function PQ(o){Jf(o.list)?o.list=o.list.map(u=>su(u)?FI(u):u):Mg(o.named)&&Object.keys(o.named).forEach(u=>{su(o.named[u])&&(o.named[u]=FI(o.named[u]))})}function IQ(o,u,f,v,H,se){const{messages:$e,onWarn:mt}=o,Wt=iE(o,v,f);let fr={},Yt,Ir=null;const Qr="translate";for(let Di=0;Di{throw se&&se($e),$e},onCacheKey:$e=>NY(u,f,$e)}}function LQ(o,u,f,v){const{modifiers:H,pluralRules:se}=o,mt={locale:u,modifiers:H,pluralRules:se,messages:Wt=>{const fr=jT(f,Wt);if(su(fr)){let Yt=!1;const Qr=SM(o,Wt,u,fr,Wt,()=>{Yt=!0});return Yt?jI:Qr}else return Uv(fr)?fr:jI}};return o.processor&&(mt.processor=o.processor),v.list&&(mt.list=v.list),v.named&&(mt.named=v.named),$_(v.plural)&&(mt.pluralIndex=v.plural),mt}function UI(o,...u){const{datetimeFormats:f,unresolving:v,fallbackLocale:H,onWarn:se}=o,{__datetimeFormatters:$e}=o,[mt,Wt,fr,Yt]=AF(...u),Ir=qp(fr.missingWarn)?fr.missingWarn:o.missingWarn;qp(fr.fallbackWarn)?fr.fallbackWarn:o.fallbackWarn;const Qr=!!fr.part,Di=su(fr.locale)?fr.locale:o.locale,Vi=iE(o,H,Di);if(!su(mt)||mt==="")return new Intl.DateTimeFormat(Di).format(Wt);let gi={},Mi,Yn=null;const _a="datetime format";for(let Na=0;Nao(f,v,D0()||void 0,H)}function IN(o,u){const{messages:f,__i18n:v}=u,H=El(f)?f:Jf(v)?{}:{[o]:{}};if(Jf(v)&&v.forEach(({locale:se,resource:$e})=>{se?(H[se]=H[se]||{},JT($e,H[se])):JT($e,H)}),u.flatJson)for(const se in H)yM(H,se)&&CF(H[se]);return H}const pT=o=>!Mg(o)||Jf(o);function JT(o,u){if(pT(o)||pT(u))throw Zm(20);for(const f in o)yM(o,f)&&(pT(o[f])||pT(u[f])?u[f]=o[f]:JT(o[f],u[f]))}const jQ=()=>{const o=D0();return o&&o.type[J6]?{[J6]:o.type[J6]}:null};function ON(o={}){const{__root:u}=o,f=u===void 0;let v=qp(o.inheritLocale)?o.inheritLocale:!0;const H=Df(u&&v?u.locale.value:su(o.locale)?o.locale:"en-US"),se=Df(u&&v?u.fallbackLocale.value:su(o.fallbackLocale)||Jf(o.fallbackLocale)||El(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:H.value),$e=Df(IN(H.value,o)),mt=Df(El(o.datetimeFormats)?o.datetimeFormats:{[H.value]:{}}),Wt=Df(El(o.numberFormats)?o.numberFormats:{[H.value]:{}});let fr=u?u.missingWarn:qp(o.missingWarn)||Hx(o.missingWarn)?o.missingWarn:!0,Yt=u?u.fallbackWarn:qp(o.fallbackWarn)||Hx(o.fallbackWarn)?o.fallbackWarn:!0,Ir=u?u.fallbackRoot:qp(o.fallbackRoot)?o.fallbackRoot:!0,Qr=!!o.fallbackFormat,Di=Am(o.missing)?o.missing:null,Vi=Am(o.missing)?WI(o.missing):null,gi=Am(o.postTranslation)?o.postTranslation:null,Mi=qp(o.warnHtmlMessage)?o.warnHtmlMessage:!0,Yn=!!o.escapeParameter;const _a=u?u.modifiers:El(o.modifiers)?o.modifiers:{};let ha=o.pluralRules||u&&u.pluralRules,ea;function Na(){return kQ({version:BQ,locale:H.value,fallbackLocale:se.value,messages:$e.value,datetimeFormats:mt.value,numberFormats:Wt.value,modifiers:_a,pluralRules:ha,missing:Vi===null?void 0:Vi,missingWarn:fr,fallbackWarn:Yt,fallbackFormat:Qr,unresolving:!0,postTranslation:gi===null?void 0:gi,warnHtmlMessage:Mi,escapeParameter:Yn,__datetimeFormatters:El(ea)?ea.__datetimeFormatters:void 0,__numberFormatters:El(ea)?ea.__numberFormatters:void 0,__v_emitter:El(ea)?ea.__v_emitter:void 0,__meta:{framework:"vue"}})}ea=Na(),gS(ea,H.value,se.value);function Hi(){return[H.value,se.value,$e.value,mt.value,Wt.value]}const Qi=xf({get:()=>H.value,set:oa=>{H.value=oa,ea.locale=H.value}}),zi=xf({get:()=>se.value,set:oa=>{se.value=oa,ea.fallbackLocale=se.value,gS(ea,H.value,oa)}}),$a=xf(()=>$e.value),Io=xf(()=>mt.value),ec=xf(()=>Wt.value);function qo(){return Am(gi)?gi:null}function Ko(oa){gi=oa,ea.postTranslation=oa}function ho(){return Di}function yo(oa){oa!==null&&(Vi=WI(oa)),Di=oa,ea.missing=Vi}function ts(oa,Oo,fc,_c,gu,Fu){Hi();let rl;if(__INTLIFY_PROD_DEVTOOLS__)try{MI(jQ()),rl=oa(ea)}finally{MI(null)}else rl=oa(ea);if($_(rl)&&rl===pk){const[Qu,Pl]=Oo();return u&&Ir?_c(u):gu(Qu)}else{if(Fu(rl))return rl;throw Zm(14)}}function Ca(...oa){return ts(Oo=>JI(Oo,...oa),()=>kF(...oa),"translate",Oo=>Oo.t(...oa),Oo=>Oo,Oo=>su(Oo))}function us(...oa){const[Oo,fc,_c]=oa;if(_c&&!Mg(_c))throw Zm(15);return Ca(Oo,fc,Y_({resolvedMessage:!0},_c||{}))}function ws(...oa){return ts(Oo=>UI(Oo,...oa),()=>AF(...oa),"datetime format",Oo=>Oo.d(...oa),()=>OI,Oo=>su(Oo))}function cu(...oa){return ts(Oo=>zI(Oo,...oa),()=>FF(...oa),"number format",Oo=>Oo.n(...oa),()=>OI,Oo=>su(Oo))}function Ic(oa){return oa.map(Oo=>su(Oo)?Fm(WS,null,Oo,0):Oo)}const Mu={normalize:Ic,interpolate:oa=>oa,type:"vnode"};function el(...oa){return ts(Oo=>{let fc;const _c=Oo;try{_c.processor=Mu,fc=JI(_c,...oa)}finally{_c.processor=null}return fc},()=>kF(...oa),"translate",Oo=>Oo[NF](...oa),Oo=>[Fm(WS,null,Oo,0)],Oo=>Jf(Oo))}function ao(...oa){return ts(Oo=>zI(Oo,...oa),()=>FF(...oa),"number format",Oo=>Oo[PF](...oa),()=>[],Oo=>su(Oo)||Jf(Oo))}function ks(...oa){return ts(Oo=>UI(Oo,...oa),()=>AF(...oa),"datetime format",Oo=>Oo[wF](...oa),()=>[],Oo=>su(Oo)||Jf(Oo))}function _s(oa){ha=oa,ea.pluralRules=ha}function Vs(oa,Oo){const fc=su(Oo)?Oo:H.value,_c=Ri(fc);return jT(_c,oa)!==null}function Cc(oa){let Oo=null;const fc=iE(ea,se.value,H.value);for(let _c=0;_c{v&&(H.value=oa,ea.locale=oa,gS(ea,H.value,se.value))}),uv(u.fallbackLocale,oa=>{v&&(se.value=oa,ea.fallbackLocale=oa,gS(ea,H.value,se.value))})),{id:VI,locale:Qi,fallbackLocale:zi,get inheritLocale(){return v},set inheritLocale(oa){v=oa,oa&&u&&(H.value=u.locale.value,se.value=u.fallbackLocale.value,gS(ea,H.value,se.value))},get availableLocales(){return Object.keys($e.value).sort()},messages:$a,datetimeFormats:Io,numberFormats:ec,get modifiers(){return _a},get pluralRules(){return ha||{}},get isGlobal(){return f},get missingWarn(){return fr},set missingWarn(oa){fr=oa,ea.missingWarn=fr},get fallbackWarn(){return Yt},set fallbackWarn(oa){Yt=oa,ea.fallbackWarn=Yt},get fallbackRoot(){return Ir},set fallbackRoot(oa){Ir=oa},get fallbackFormat(){return Qr},set fallbackFormat(oa){Qr=oa,ea.fallbackFormat=Qr},get warnHtmlMessage(){return Mi},set warnHtmlMessage(oa){Mi=oa,ea.warnHtmlMessage=oa},get escapeParameter(){return Yn},set escapeParameter(oa){Yn=oa,ea.escapeParameter=oa},t:Ca,rt:us,d:ws,n:cu,te:Vs,tm:Ku,getLocaleMessage:Ri,setLocaleMessage:tn,mergeLocaleMessage:Xn,getDateTimeFormat:na,setDateTimeFormat:Wa,mergeDateTimeFormat:So,getNumberFormat:As,setNumberFormat:Qs,mergeNumberFormat:Ds,getPostTranslationHandler:qo,setPostTranslationHandler:Ko,getMissingHandler:ho,setMissingHandler:yo,[NF]:el,[PF]:ao,[wF]:ks,[EM]:_s,[CM]:o.__injectWithOption}}function JQ(o){const u=su(o.locale)?o.locale:"en-US",f=su(o.fallbackLocale)||Jf(o.fallbackLocale)||El(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:u,v=Am(o.missing)?o.missing:void 0,H=qp(o.silentTranslationWarn)||Hx(o.silentTranslationWarn)?!o.silentTranslationWarn:!0,se=qp(o.silentFallbackWarn)||Hx(o.silentFallbackWarn)?!o.silentFallbackWarn:!0,$e=qp(o.fallbackRoot)?o.fallbackRoot:!0,mt=!!o.formatFallbackMessages,Wt=El(o.modifiers)?o.modifiers:{},fr=o.pluralizationRules,Yt=Am(o.postTranslation)?o.postTranslation:void 0,Ir=su(o.warnHtmlInMessage)?o.warnHtmlInMessage!=="off":!0,Qr=!!o.escapeParameterHtml,Di=qp(o.sync)?o.sync:!0;let Vi=o.messages;if(El(o.sharedMessages)){const Na=o.sharedMessages;Vi=Object.keys(Na).reduce((Qi,zi)=>{const $a=Qi[zi]||(Qi[zi]={});return Y_($a,Na[zi]),Qi},Vi||{})}const{__i18n:gi,__root:Mi,__injectWithOption:Yn}=o,_a=o.datetimeFormats,ha=o.numberFormats,ea=o.flatJson;return{locale:u,fallbackLocale:f,messages:Vi,flatJson:ea,datetimeFormats:_a,numberFormats:ha,missing:v,missingWarn:H,fallbackWarn:se,fallbackRoot:$e,fallbackFormat:mt,modifiers:Wt,pluralRules:fr,postTranslation:Yt,warnHtmlMessage:Ir,escapeParameter:Qr,inheritLocale:Di,__i18n:gi,__root:Mi,__injectWithOption:Yn}}function IF(o={}){const u=ON(JQ(o)),f={id:u.id,get locale(){return u.locale.value},set locale(v){u.locale.value=v},get fallbackLocale(){return u.fallbackLocale.value},set fallbackLocale(v){u.fallbackLocale.value=v},get messages(){return u.messages.value},get datetimeFormats(){return u.datetimeFormats.value},get numberFormats(){return u.numberFormats.value},get availableLocales(){return u.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(v){},get missing(){return u.getMissingHandler()},set missing(v){u.setMissingHandler(v)},get silentTranslationWarn(){return qp(u.missingWarn)?!u.missingWarn:u.missingWarn},set silentTranslationWarn(v){u.missingWarn=qp(v)?!v:v},get silentFallbackWarn(){return qp(u.fallbackWarn)?!u.fallbackWarn:u.fallbackWarn},set silentFallbackWarn(v){u.fallbackWarn=qp(v)?!v:v},get modifiers(){return u.modifiers},get formatFallbackMessages(){return u.fallbackFormat},set formatFallbackMessages(v){u.fallbackFormat=v},get postTranslation(){return u.getPostTranslationHandler()},set postTranslation(v){u.setPostTranslationHandler(v)},get sync(){return u.inheritLocale},set sync(v){u.inheritLocale=v},get warnHtmlInMessage(){return u.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(v){u.warnHtmlMessage=v!=="off"},get escapeParameterHtml(){return u.escapeParameter},set escapeParameterHtml(v){u.escapeParameter=v},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(v){},get pluralizationRules(){return u.pluralRules||{}},__composer:u,t(...v){const[H,se,$e]=v,mt={};let Wt=null,fr=null;if(!su(H))throw Zm(15);const Yt=H;return su(se)?mt.locale=se:Jf(se)?Wt=se:El(se)&&(fr=se),Jf($e)?Wt=$e:El($e)&&(fr=$e),u.t(Yt,Wt||fr||{},mt)},rt(...v){return u.rt(...v)},tc(...v){const[H,se,$e]=v,mt={plural:1};let Wt=null,fr=null;if(!su(H))throw Zm(15);const Yt=H;return su(se)?mt.locale=se:$_(se)?mt.plural=se:Jf(se)?Wt=se:El(se)&&(fr=se),su($e)?mt.locale=$e:Jf($e)?Wt=$e:El($e)&&(fr=$e),u.t(Yt,Wt||fr||{},mt)},te(v,H){return u.te(v,H)},tm(v){return u.tm(v)},getLocaleMessage(v){return u.getLocaleMessage(v)},setLocaleMessage(v,H){u.setLocaleMessage(v,H)},mergeLocaleMessage(v,H){u.mergeLocaleMessage(v,H)},d(...v){return u.d(...v)},getDateTimeFormat(v){return u.getDateTimeFormat(v)},setDateTimeFormat(v,H){u.setDateTimeFormat(v,H)},mergeDateTimeFormat(v,H){u.mergeDateTimeFormat(v,H)},n(...v){return u.n(...v)},getNumberFormat(v){return u.getNumberFormat(v)},setNumberFormat(v,H){u.setNumberFormat(v,H)},mergeNumberFormat(v,H){u.mergeNumberFormat(v,H)},getChoiceIndex(v,H){return-1},__onComponentInstanceCreated(v){const{componentInstanceCreatedListener:H}=o;H&&H(v,f)}};return f}const MN={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:o=>o==="parent"||o==="global",default:"parent"},i18n:{type:Object}},HI={name:"i18n-t",props:Y_({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:o=>$_(o)||!isNaN(o)}},MN),setup(o,u){const{slots:f,attrs:v}=u,H=o.i18n||LN({useScope:o.scope,__useComponent:!0}),se=Object.keys(f).filter($e=>$e!=="_");return()=>{const $e={};o.locale&&($e.locale=o.locale),o.plural!==void 0&&($e.plural=su(o.plural)?+o.plural:o.plural);const mt=UQ(u,se),Wt=H[NF](o.keypath,mt,$e),fr=Y_({},v);return su(o.tag)||Mg(o.tag)?x1(o.tag,fr,Wt):x1(Og,fr,Wt)}}};function UQ({slots:o},u){return u.length===1&&u[0]==="default"?o.default?o.default():[]:u.reduce((f,v)=>{const H=o[v];return H&&(f[v]=H()),f},{})}function TM(o,u,f,v){const{slots:H,attrs:se}=u;return()=>{const $e={part:!0};let mt={};o.locale&&($e.locale=o.locale),su(o.format)?$e.key=o.format:Mg(o.format)&&(su(o.format.key)&&($e.key=o.format.key),mt=Object.keys(o.format).reduce((Ir,Qr)=>f.includes(Qr)?Y_({},Ir,{[Qr]:o.format[Qr]}):Ir,{}));const Wt=v(o.value,$e,mt);let fr=[$e.key];Jf(Wt)?fr=Wt.map((Ir,Qr)=>{const Di=H[Ir.type];return Di?Di({[Ir.type]:Ir.value,index:Qr,parts:Wt}):[Ir.value]}):su(Wt)&&(fr=[Wt]);const Yt=Y_({},se);return su(o.tag)||Mg(o.tag)?x1(o.tag,Yt,fr):x1(Og,Yt,fr)}}const KQ=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],GI={name:"i18n-n",props:Y_({value:{type:Number,required:!0},format:{type:[String,Object]}},MN),setup(o,u){const f=o.i18n||LN({useScope:"parent",__useComponent:!0});return TM(o,u,KQ,(...v)=>f[PF](...v))}},zQ=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],$I={name:"i18n-d",props:Y_({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},MN),setup(o,u){const f=o.i18n||LN({useScope:"parent",__useComponent:!0});return TM(o,u,zQ,(...v)=>f[wF](...v))}};function qQ(o,u){const f=o;if(o.mode==="composition")return f.__getInstance(u)||o.global;{const v=f.__getInstance(u);return v!=null?v.__composer:o.global.__composer}}function VQ(o){const u=(f,{instance:v,value:H,modifiers:se})=>{if(!v||!v.$)throw Zm(22);const $e=qQ(o,v.$),mt=WQ(H);f.textContent=$e.t(...HQ(mt))};return{beforeMount:u,beforeUpdate:u}}function WQ(o){if(su(o))return{path:o};if(El(o)){if(!("path"in o))throw Zm(19,"path");return o}else throw Zm(20)}function HQ(o){const{path:u,locale:f,args:v,choice:H,plural:se}=o,$e={},mt=v||{};return su(f)&&($e.locale=f),$_(H)&&($e.plural=H),$_(se)&&($e.plural=se),[u,mt,$e]}function GQ(o,u,...f){const v=El(f[0])?f[0]:{},H=!!v.useI18nComponentName;(qp(v.globalInstall)?v.globalInstall:!0)&&(o.component(H?"i18n":HI.name,HI),o.component(GI.name,GI),o.component($I.name,$I)),o.directive("t",VQ(u))}function $Q(o,u,f){return{beforeCreate(){const v=D0();if(!v)throw Zm(22);const H=this.$options;if(H.i18n){const se=H.i18n;H.__i18n&&(se.__i18n=H.__i18n),se.__root=u,this===this.$root?this.$i18n=YI(o,se):(se.__injectWithOption=!0,this.$i18n=IF(se))}else H.__i18n?this===this.$root?this.$i18n=YI(o,H):this.$i18n=IF({__i18n:H.__i18n,__injectWithOption:!0,__root:u}):this.$i18n=o;o.__onComponentInstanceCreated(this.$i18n),f.__setInstance(v,this.$i18n),this.$t=(...se)=>this.$i18n.t(...se),this.$rt=(...se)=>this.$i18n.rt(...se),this.$tc=(...se)=>this.$i18n.tc(...se),this.$te=(se,$e)=>this.$i18n.te(se,$e),this.$d=(...se)=>this.$i18n.d(...se),this.$n=(...se)=>this.$i18n.n(...se),this.$tm=se=>this.$i18n.tm(se)},mounted(){},beforeUnmount(){const v=D0();if(!v)throw Zm(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,f.__deleteInstance(v),delete this.$i18n}}}function YI(o,u){o.locale=u.locale||o.locale,o.fallbackLocale=u.fallbackLocale||o.fallbackLocale,o.missing=u.missing||o.missing,o.silentTranslationWarn=u.silentTranslationWarn||o.silentFallbackWarn,o.silentFallbackWarn=u.silentFallbackWarn||o.silentFallbackWarn,o.formatFallbackMessages=u.formatFallbackMessages||o.formatFallbackMessages,o.postTranslation=u.postTranslation||o.postTranslation,o.warnHtmlInMessage=u.warnHtmlInMessage||o.warnHtmlInMessage,o.escapeParameterHtml=u.escapeParameterHtml||o.escapeParameterHtml,o.sync=u.sync||o.sync,o.__composer[EM](u.pluralizationRules||o.pluralizationRules);const f=IN(o.locale,{messages:u.messages,__i18n:u.__i18n});return Object.keys(f).forEach(v=>o.mergeLocaleMessage(v,f[v])),u.datetimeFormats&&Object.keys(u.datetimeFormats).forEach(v=>o.mergeDateTimeFormat(v,u.datetimeFormats[v])),u.numberFormats&&Object.keys(u.numberFormats).forEach(v=>o.mergeNumberFormat(v,u.numberFormats[v])),o}function zre(o={}){const u=__VUE_I18N_LEGACY_API__&&qp(o.legacy)?o.legacy:__VUE_I18N_LEGACY_API__,f=!!o.globalInjection,v=new Map,H=__VUE_I18N_LEGACY_API__&&u?IF(o):ON(o),se=E1(""),$e={get mode(){return __VUE_I18N_LEGACY_API__&&u?"legacy":"composition"},async install(mt,...Wt){mt.__VUE_I18N_SYMBOL__=se,mt.provide(mt.__VUE_I18N_SYMBOL__,$e),!u&&f&&eX(mt,$e.global),__VUE_I18N_FULL_INSTALL__&&GQ(mt,$e,...Wt),__VUE_I18N_LEGACY_API__&&u&&mt.mixin($Q(H,H.__composer,$e))},get global(){return H},__instances:v,__getInstance(mt){return v.get(mt)||null},__setInstance(mt,Wt){v.set(mt,Wt)},__deleteInstance(mt){v.delete(mt)}};return $e}function LN(o={}){const u=D0();if(u==null)throw Zm(16);if(!u.appContext.app.__VUE_I18N_SYMBOL__)throw Zm(17);const f=y0(u.appContext.app.__VUE_I18N_SYMBOL__);if(!f)throw Zm(22);const v=f.mode==="composition"?f.global:f.global.__composer,H=uk(o)?"__i18n"in u.type?"local":"global":o.useScope?o.useScope:"local";if(H==="global"){let mt=Mg(o.messages)?o.messages:{};"__i18nGlobal"in u.type&&(mt=IN(v.locale.value,{messages:mt,__i18n:u.type.__i18nGlobal}));const Wt=Object.keys(mt);if(Wt.length&&Wt.forEach(fr=>{v.mergeLocaleMessage(fr,mt[fr])}),Mg(o.datetimeFormats)){const fr=Object.keys(o.datetimeFormats);fr.length&&fr.forEach(Yt=>{v.mergeDateTimeFormat(Yt,o.datetimeFormats[Yt])})}if(Mg(o.numberFormats)){const fr=Object.keys(o.numberFormats);fr.length&&fr.forEach(Yt=>{v.mergeNumberFormat(Yt,o.numberFormats[Yt])})}return v}if(H==="parent"){let mt=YQ(f,u,o.__useComponent);return mt==null&&(mt=v),mt}if(f.mode==="legacy")throw Zm(18);const se=f;let $e=se.__getInstance(u);if($e==null){const mt=u.type,Wt=Y_({},o);mt.__i18n&&(Wt.__i18n=mt.__i18n),v&&(Wt.__root=v),$e=ON(Wt),QQ(se,u),se.__setInstance(u,$e)}return $e}function YQ(o,u,f=!1){let v=null;const H=u.root;let se=u.parent;for(;se!=null;){const $e=o;if(o.mode==="composition")v=$e.__getInstance(se);else{const mt=$e.__getInstance(se);mt!=null&&(v=mt.__composer),f&&v&&!v[CM]&&(v=null)}if(v!=null||H===se)break;se=se.parent}return v}function QQ(o,u,f){rE(()=>{},u),nE(()=>{o.__deleteInstance(u)},u)}const XQ=["locale","fallbackLocale","availableLocales"],ZQ=["t","rt","d","n","tm"];function eX(o,u){const f=Object.create(null);XQ.forEach(v=>{const H=Object.getOwnPropertyDescriptor(u,v);if(!H)throw Zm(22);const se=Td(H.value)?{get(){return H.value.value},set($e){H.value.value=$e}}:{get(){return H.get&&H.get()}};Object.defineProperty(f,v,se)}),o.config.globalProperties.$i18n=f,ZQ.forEach(v=>{const H=Object.getOwnPropertyDescriptor(u,v);if(!H||!H.value)throw Zm(22);Object.defineProperty(o.config.globalProperties,`$${v}`,H)})}CQ(wQ);RQ();if(__INTLIFY_PROD_DEVTOOLS__){const o=OS();o.__INTLIFY__=!0,vQ(o.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var tX=!1;/*! * pinia v2.0.14 * (c) 2022 Eduardo San Martin Morote * @license MIT */let kM;const dk=o=>kM=o,AM=Symbol();function OF(o){return o&&typeof o=="object"&&Object.prototype.toString.call(o)==="[object Object]"&&typeof o.toJSON!="function"}var MS;(function(o){o.direct="direct",o.patchObject="patch object",o.patchFunction="patch function"})(MS||(MS={}));function qre(){const o=o9(!0),u=o.run(()=>Df({}));let f=[],v=[];const H=zx({install(se){dk(H),H._a=se,se.provide(AM,H),se.config.globalProperties.$pinia=H,v.forEach($e=>f.push($e)),v=[]},use(se){return!this._a&&!tX?v.push(se):f.push(se),this},_p:f,_a:null,_e:o,_s:new Map,state:u});return H}const FM=()=>{};function QI(o,u,f,v=FM){o.push(u);const H=()=>{const se=o.indexOf(u);se>-1&&(o.splice(se,1),v())};return!f&&D0()&&nE(H),H}function kx(o,...u){o.slice().forEach(f=>{f(...u)})}function MF(o,u){for(const f in u){if(!u.hasOwnProperty(f))continue;const v=u[f],H=o[f];OF(H)&&OF(v)&&o.hasOwnProperty(f)&&!Td(v)&&!y2(v)?o[f]=MF(H,v):o[f]=v}return o}const rX=Symbol();function nX(o){return!OF(o)||!o.hasOwnProperty(rX)}const{assign:D1}=Object;function iX(o){return!!(Td(o)&&o.effect)}function aX(o,u,f,v){const{state:H,actions:se,getters:$e}=u,mt=f.state.value[o];let Wt;function fr(){mt||(f.state.value[o]=H?H():{});const Yt=S9(f.state.value[o]);return D1(Yt,se,Object.keys($e||{}).reduce((Ir,Qr)=>(Ir[Qr]=zx(xf(()=>{dk(f);const Di=f._s.get(o);return $e[Qr].call(Di,Di)})),Ir),{}))}return Wt=NM(o,fr,u,f,v,!0),Wt.$reset=function(){const Ir=H?H():{};this.$patch(Qr=>{D1(Qr,Ir)})},Wt}function NM(o,u,f={},v,H,se){let $e;const mt=D1({actions:{}},f),Wt={deep:!0};let fr,Yt,Ir=zx([]),Qr=zx([]),Di;const Vi=v.state.value[o];!se&&!Vi&&(v.state.value[o]={}),Df({});let gi;function Mi(Qi){let zi;fr=Yt=!1,typeof Qi=="function"?(Qi(v.state.value[o]),zi={type:MS.patchFunction,storeId:o,events:Di}):(MF(v.state.value[o],Qi),zi={type:MS.patchObject,payload:Qi,storeId:o,events:Di});const $a=gi=Symbol();ek().then(()=>{gi===$a&&(fr=!0)}),Yt=!0,kx(Ir,zi,v.state.value[o])}const Yn=FM;function _a(){$e.stop(),Ir=[],Qr=[],v._s.delete(o)}function ha(Qi,zi){return function(){dk(v);const $a=Array.from(arguments),Io=[],ec=[];function qo(yo){Io.push(yo)}function Ko(yo){ec.push(yo)}kx(Qr,{args:$a,name:Qi,store:Na,after:qo,onError:Ko});let ho;try{ho=zi.apply(this&&this.$id===o?this:Na,$a)}catch(yo){throw kx(ec,yo),yo}return ho instanceof Promise?ho.then(yo=>(kx(Io,yo),yo)).catch(yo=>(kx(ec,yo),Promise.reject(yo))):(kx(Io,ho),ho)}}const ea={_p:v,$id:o,$onAction:QI.bind(null,Qr),$patch:Mi,$reset:Yn,$subscribe(Qi,zi={}){const $a=QI(Ir,Qi,zi.detached,()=>Io()),Io=$e.run(()=>uv(()=>v.state.value[o],ec=>{(zi.flush==="sync"?Yt:fr)&&Qi({storeId:o,type:MS.direct,events:Di},ec)},D1({},Wt,zi)));return $a},$dispose:_a},Na=x2(D1({},ea));v._s.set(o,Na);const Hi=v._e.run(()=>($e=o9(),$e.run(()=>u())));for(const Qi in Hi){const zi=Hi[Qi];if(Td(zi)&&!iX(zi)||y2(zi))se||(Vi&&nX(zi)&&(Td(zi)?zi.value=Vi[Qi]:MF(zi,Vi[Qi])),v.state.value[o][Qi]=zi);else if(typeof zi=="function"){const $a=ha(Qi,zi);Hi[Qi]=$a,mt.actions[Qi]=zi}}return D1(Na,Hi),D1(dp(Na),Hi),Object.defineProperty(Na,"$state",{get:()=>v.state.value[o],set:Qi=>{Mi(zi=>{D1(zi,Qi)})}}),v._p.forEach(Qi=>{D1(Na,$e.run(()=>Qi({store:Na,app:v._a,pinia:v,options:mt})))}),Vi&&se&&f.hydrate&&f.hydrate(Na.$state,Vi),fr=!0,Yt=!0,Na}function Vre(o,u,f){let v,H;const se=typeof u=="function";typeof o=="string"?(v=o,H=se?f:u):(H=o,v=o.id);function $e(mt,Wt){const fr=D0();return mt=mt||fr&&y0(AM),mt&&dk(mt),mt=kM,mt._s.has(v)||(se?NM(v,u,H,mt):aX(v,H,mt)),mt._s.get(v)}return $e.$id=v,$e}var XI;const BN=typeof window!="undefined",oX=Object.prototype.toString,sX=o=>typeof o=="function",U6=o=>typeof o=="number",cX=o=>typeof o=="string",Wre=o=>oX.call(o)==="[object Object]",uX=(o,u,f)=>Math.min(f,Math.max(u,o)),LS=()=>{};BN&&((XI=window==null?void 0:window.navigator)==null?void 0:XI.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function RN(o){return typeof o=="function"?o():km(o)}function lX(o,u){function f(...v){o(()=>u.apply(this,v),{fn:u,thisArg:this,args:v})}return f}function pX(o,u=!0,f=!0){let v=0,H,se=!0;const $e=()=>{H&&(clearTimeout(H),H=void 0)};return Wt=>{const fr=RN(o),Yt=Date.now()-v;if($e(),fr<=0)return v=Date.now(),Wt();Yt>fr&&(f||!se)?(v=Date.now(),Wt()):u&&(H=setTimeout(()=>{v=Date.now(),se=!0,$e(),Wt()},fr)),!f&&!H&&(H=setTimeout(()=>se=!0,fr)),se=!1}}function wM(o){return o}function fk(o){return s9()?(c9(o),!0):!1}function dX(o){if(!Td(o))return x2(o);const u=new Proxy({},{get(f,v,H){return km(Reflect.get(o.value,v,H))},set(f,v,H){return Td(o.value[v])&&!Td(H)?o.value[v].value=H:o.value[v]=H,!0},deleteProperty(f,v){return Reflect.deleteProperty(o.value,v)},has(f,v){return Reflect.has(o.value,v)},ownKeys(){return Object.keys(o.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return x2(u)}function fX(o){return dX(xf(o))}function Hre(o,...u){const f=u.flat();return fX(()=>Object.fromEntries(Object.entries(S9(o)).filter(v=>!f.includes(v[0]))))}function Gre(o,u=200,f=!1,v=!0){return lX(pX(u,f,v),o)}function jN(o,u=!0){D0()?rE(o):u?o():ek(o)}function _X(o,u,f={}){const{immediate:v=!0}=f,H=Df(!1);let se=null;function $e(){se&&(clearTimeout(se),se=null)}function mt(){H.value=!1,$e()}function Wt(...fr){$e(),H.value=!0,se=setTimeout(()=>{H.value=!1,se=null,o(...fr)},RN(u))}return v&&(H.value=!0,BN&&Wt()),fk(mt),{isPending:H,start:Wt,stop:mt}}function TD(o){var u;const f=RN(o);return(u=f==null?void 0:f.$el)!=null?u:f}const tb=BN?window:void 0;function Ig(...o){let u,f,v,H;if(cX(o[0])?([f,v,H]=o,u=tb):[u,f,v,H]=o,!u)return LS;let se=LS;const $e=uv(()=>TD(u),Wt=>{se(),Wt&&(Wt.addEventListener(f,v,H),se=()=>{Wt.removeEventListener(f,v,H),se=LS})},{immediate:!0,flush:"post"}),mt=()=>{$e(),se()};return fk(mt),mt}function $re(o,u,f={}){const{window:v=tb,ignore:H,capture:se=!0,detectIframe:$e=!1}=f;if(!v)return;const mt=Df(!0);let Wt;const fr=Qr=>{v.clearTimeout(Wt);const Di=TD(o),Vi=Qr.composedPath();!Di||Di===Qr.target||Vi.includes(Di)||!mt.value||H&&H.length>0&&H.some(gi=>{const Mi=TD(gi);return Mi&&(Qr.target===Mi||Vi.includes(Mi))})||u(Qr)},Yt=[Ig(v,"click",fr,{passive:!0,capture:se}),Ig(v,"pointerdown",Qr=>{const Di=TD(o);mt.value=!!Di&&!Qr.composedPath().includes(Di)},{passive:!0}),Ig(v,"pointerup",Qr=>{if(Qr.button===0){const Di=Qr.composedPath();Qr.composedPath=()=>Di,Wt=v.setTimeout(()=>fr(Qr),50)}},{passive:!0}),$e&&Ig(v,"blur",Qr=>{var Di;const Vi=TD(o);((Di=document.activeElement)==null?void 0:Di.tagName)==="IFRAME"&&!(Vi!=null&&Vi.contains(document.activeElement))&&u(Qr)})].filter(Boolean);return()=>Yt.forEach(Qr=>Qr())}function Yre(o,u=null){const f=D0();let v=()=>{};const H=JH((se,$e)=>(v=$e,{get(){var mt,Wt;return se(),(Wt=(mt=f==null?void 0:f.proxy)==null?void 0:mt.$refs[o])!=null?Wt:u},set(){}}));return jN(v),B9(v),H}function PM(o,u=!1){const f=Df(),v=()=>f.value=Boolean(o());return v(),jN(v,u),f}const LF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},BF="__vueuse_ssr_handlers__";LF[BF]=LF[BF]||{};LF[BF];var ZI=Object.getOwnPropertySymbols,mX=Object.prototype.hasOwnProperty,gX=Object.prototype.propertyIsEnumerable,hX=(o,u)=>{var f={};for(var v in o)mX.call(o,v)&&u.indexOf(v)<0&&(f[v]=o[v]);if(o!=null&&ZI)for(var v of ZI(o))u.indexOf(v)<0&&gX.call(o,v)&&(f[v]=o[v]);return f};function Qre(o,u,f={}){const v=f,{window:H=tb}=v,se=hX(v,["window"]);let $e;const mt=PM(()=>H&&"ResizeObserver"in H),Wt=()=>{$e&&($e.disconnect(),$e=void 0)},fr=uv(()=>TD(o),Ir=>{Wt(),mt.value&&H&&Ir&&($e=new ResizeObserver(u),$e.observe(Ir,se))},{immediate:!0,flush:"post"}),Yt=()=>{Wt(),fr()};return fk(Yt),{isSupported:mt,stop:Yt}}function yX(o,u={}){const{immediate:f=!0,window:v=tb}=u,H=Df(!1);let se=null;function $e(){!H.value||!v||(o(),se=v.requestAnimationFrame($e))}function mt(){!H.value&&v&&(H.value=!0,$e())}function Wt(){H.value=!1,se!=null&&v&&(v.cancelAnimationFrame(se),se=null)}return f&&mt(),fk(Wt),{isActive:H,pause:Wt,resume:mt}}function Xre(o={}){const{initialValue:u=""}=o,f=PM(()=>typeof window!="undefined"&&"EyeDropper"in window),v=Df(u);async function H(se){if(!f.value)return;const mt=await new window.EyeDropper().open(se);return v.value=mt.sRGBHex,mt}return{isSupported:f,sRGBHex:v,open:H}}function Zre(o={}){const{touch:u=!0,drag:f=!0,initialValue:v=!1,window:H=tb}=o,se=Df(v),$e=Df(null);if(!H)return{pressed:se,sourceType:$e};const mt=Yt=>()=>{se.value=!0,$e.value=Yt},Wt=()=>{se.value=!1,$e.value=null},fr=xf(()=>TD(o.target)||H);return Ig(fr,"mousedown",mt("mouse"),{passive:!0}),Ig(H,"mouseleave",Wt,{passive:!0}),Ig(H,"mouseup",Wt,{passive:!0}),f&&(Ig(fr,"dragstart",mt("mouse"),{passive:!0}),Ig(H,"drop",Wt,{passive:!0}),Ig(H,"dragend",Wt,{passive:!0})),u&&(Ig(fr,"touchstart",mt("touch"),{passive:!0}),Ig(H,"touchend",Wt,{passive:!0}),Ig(H,"touchcancel",Wt,{passive:!0})),{pressed:se,sourceType:$e}}var eO;(function(o){o.UP="UP",o.RIGHT="RIGHT",o.DOWN="DOWN",o.LEFT="LEFT",o.NONE="NONE"})(eO||(eO={}));var vX=Object.defineProperty,tO=Object.getOwnPropertySymbols,DX=Object.prototype.hasOwnProperty,xX=Object.prototype.propertyIsEnumerable,rO=(o,u,f)=>u in o?vX(o,u,{enumerable:!0,configurable:!0,writable:!0,value:f}):o[u]=f,bX=(o,u)=>{for(var f in u||(u={}))DX.call(u,f)&&rO(o,f,u[f]);if(tO)for(var f of tO(u))xX.call(u,f)&&rO(o,f,u[f]);return o};const SX={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},ene=bX({linear:wM},SX);function EX([o,u,f,v]){const H=(Yt,Ir)=>1-3*Ir+3*Yt,se=(Yt,Ir)=>3*Ir-6*Yt,$e=Yt=>3*Yt,mt=(Yt,Ir,Qr)=>((H(Ir,Qr)*Yt+se(Ir,Qr))*Yt+$e(Ir))*Yt,Wt=(Yt,Ir,Qr)=>3*H(Ir,Qr)*Yt*Yt+2*se(Ir,Qr)*Yt+$e(Ir),fr=Yt=>{let Ir=Yt;for(let Qr=0;Qr<4;++Qr){const Di=Wt(Ir,o,f);if(Di===0)return Ir;Ir-=(mt(Ir,o,f)-Yt)/Di}return Ir};return Yt=>o===u&&f===v?Yt:mt(fr(Yt),u,v)}function tne(o,u={}){const{delay:f=0,disabled:v=!1,duration:H=1e3,onFinished:se=LS,onStarted:$e=LS,transition:mt=wM}=u,Wt=xf(()=>{const Na=km(mt);return sX(Na)?Na:EX(Na)}),fr=xf(()=>{const Na=km(o);return U6(Na)?Na:Na.map(km)}),Yt=xf(()=>U6(fr.value)?[fr.value]:fr.value),Ir=Df(Yt.value.slice(0));let Qr,Di,Vi,gi,Mi;const{resume:Yn,pause:_a}=yX(()=>{const Na=Date.now(),Hi=uX(1-(Vi-Na)/Qr,0,1);Ir.value=Mi.map((Qi,zi)=>{var $a;return Qi+(($a=Di[zi])!=null?$a:0)*Wt.value(Hi)}),Hi>=1&&(_a(),se())},{immediate:!1}),ha=()=>{_a(),Qr=km(H),Di=Ir.value.map((Na,Hi)=>{var Qi,zi;return((Qi=Yt.value[Hi])!=null?Qi:0)-((zi=Ir.value[Hi])!=null?zi:0)}),Mi=Ir.value.slice(0),gi=Date.now(),Vi=gi+Qr,Yn(),$e()},ea=_X(ha,f,{immediate:!1});return uv(Yt,()=>{km(v)?Ir.value=Yt.value.slice(0):km(f)<=0?ha():ea.start()},{deep:!0}),xf(()=>{const Na=km(v)?Yt:Ir;return U6(fr.value)?Na.value[0]:Na.value})}function rne(o={}){const{window:u=tb,initialWidth:f=1/0,initialHeight:v=1/0,listenOrientation:H=!0,includeScrollbar:se=!0}=o,$e=Df(f),mt=Df(v),Wt=()=>{u&&(se?($e.value=u.innerWidth,mt.value=u.innerHeight):($e.value=u.document.documentElement.clientWidth,mt.value=u.document.documentElement.clientHeight))};return Wt(),jN(Wt),Ig("resize",Wt,{passive:!0}),H&&Ig("orientationchange",Wt,{passive:!0}),{width:$e,height:mt}}function Nm(o,u){CX(o)&&(o="100%");var f=TX(o);return o=u===360?o:Math.min(u,Math.max(0,parseFloat(o))),f&&(o=parseInt(String(o*u),10)/100),Math.abs(o-u)<1e-6?1:(u===360?o=(o<0?o%u+u:o%u)/parseFloat(String(u)):o=o%u/parseFloat(String(u)),o)}function dT(o){return Math.min(1,Math.max(0,o))}function CX(o){return typeof o=="string"&&o.indexOf(".")!==-1&&parseFloat(o)===1}function TX(o){return typeof o=="string"&&o.indexOf("%")!==-1}function IM(o){return o=parseFloat(o),(isNaN(o)||o<0||o>1)&&(o=1),o}function fT(o){return o<=1?"".concat(Number(o)*100,"%"):o}function kD(o){return o.length===1?"0"+o:String(o)}function kX(o,u,f){return{r:Nm(o,255)*255,g:Nm(u,255)*255,b:Nm(f,255)*255}}function nO(o,u,f){o=Nm(o,255),u=Nm(u,255),f=Nm(f,255);var v=Math.max(o,u,f),H=Math.min(o,u,f),se=0,$e=0,mt=(v+H)/2;if(v===H)$e=0,se=0;else{var Wt=v-H;switch($e=mt>.5?Wt/(2-v-H):Wt/(v+H),v){case o:se=(u-f)/Wt+(u1&&(f-=1),f<1/6?o+(u-o)*(6*f):f<1/2?u:f<2/3?o+(u-o)*(2/3-f)*6:o}function AX(o,u,f){var v,H,se;if(o=Nm(o,360),u=Nm(u,100),f=Nm(f,100),u===0)H=f,se=f,v=f;else{var $e=f<.5?f*(1+u):f+u-f*u,mt=2*f-$e;v=K6(mt,$e,o+1/3),H=K6(mt,$e,o),se=K6(mt,$e,o-1/3)}return{r:v*255,g:H*255,b:se*255}}function iO(o,u,f){o=Nm(o,255),u=Nm(u,255),f=Nm(f,255);var v=Math.max(o,u,f),H=Math.min(o,u,f),se=0,$e=v,mt=v-H,Wt=v===0?0:mt/v;if(v===H)se=0;else{switch(v){case o:se=(u-f)/mt+(u>16,g:(o&65280)>>8,b:o&255}}var RF={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function IX(o){var u={r:0,g:0,b:0},f=1,v=null,H=null,se=null,$e=!1,mt=!1;return typeof o=="string"&&(o=LX(o)),typeof o=="object"&&(g1(o.r)&&g1(o.g)&&g1(o.b)?(u=kX(o.r,o.g,o.b),$e=!0,mt=String(o.r).substr(-1)==="%"?"prgb":"rgb"):g1(o.h)&&g1(o.s)&&g1(o.v)?(v=fT(o.s),H=fT(o.v),u=FX(o.h,v,H),$e=!0,mt="hsv"):g1(o.h)&&g1(o.s)&&g1(o.l)&&(v=fT(o.s),se=fT(o.l),u=AX(o.h,v,se),$e=!0,mt="hsl"),Object.prototype.hasOwnProperty.call(o,"a")&&(f=o.a)),f=IM(f),{ok:$e,format:o.format||mt,r:Math.min(255,Math.max(u.r,0)),g:Math.min(255,Math.max(u.g,0)),b:Math.min(255,Math.max(u.b,0)),a:f}}var OX="[-\\+]?\\d+%?",MX="[-\\+]?\\d*\\.\\d+%?",_2="(?:".concat(MX,")|(?:").concat(OX,")"),z6="[\\s|\\(]+(".concat(_2,")[,|\\s]+(").concat(_2,")[,|\\s]+(").concat(_2,")\\s*\\)?"),q6="[\\s|\\(]+(".concat(_2,")[,|\\s]+(").concat(_2,")[,|\\s]+(").concat(_2,")[,|\\s]+(").concat(_2,")\\s*\\)?"),av={CSS_UNIT:new RegExp(_2),rgb:new RegExp("rgb"+z6),rgba:new RegExp("rgba"+q6),hsl:new RegExp("hsl"+z6),hsla:new RegExp("hsla"+q6),hsv:new RegExp("hsv"+z6),hsva:new RegExp("hsva"+q6),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function LX(o){if(o=o.trim().toLowerCase(),o.length===0)return!1;var u=!1;if(RF[o])o=RF[o],u=!0;else if(o==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var f=av.rgb.exec(o);return f?{r:f[1],g:f[2],b:f[3]}:(f=av.rgba.exec(o),f?{r:f[1],g:f[2],b:f[3],a:f[4]}:(f=av.hsl.exec(o),f?{h:f[1],s:f[2],l:f[3]}:(f=av.hsla.exec(o),f?{h:f[1],s:f[2],l:f[3],a:f[4]}:(f=av.hsv.exec(o),f?{h:f[1],s:f[2],v:f[3]}:(f=av.hsva.exec(o),f?{h:f[1],s:f[2],v:f[3],a:f[4]}:(f=av.hex8.exec(o),f?{r:my(f[1]),g:my(f[2]),b:my(f[3]),a:oO(f[4]),format:u?"name":"hex8"}:(f=av.hex6.exec(o),f?{r:my(f[1]),g:my(f[2]),b:my(f[3]),format:u?"name":"hex"}:(f=av.hex4.exec(o),f?{r:my(f[1]+f[1]),g:my(f[2]+f[2]),b:my(f[3]+f[3]),a:oO(f[4]+f[4]),format:u?"name":"hex8"}:(f=av.hex3.exec(o),f?{r:my(f[1]+f[1]),g:my(f[2]+f[2]),b:my(f[3]+f[3]),format:u?"name":"hex"}:!1)))))))))}function g1(o){return Boolean(av.CSS_UNIT.exec(String(o)))}var nne=function(){function o(u,f){u===void 0&&(u=""),f===void 0&&(f={});var v;if(u instanceof o)return u;typeof u=="number"&&(u=PX(u)),this.originalInput=u;var H=IX(u);this.originalInput=u,this.r=H.r,this.g=H.g,this.b=H.b,this.a=H.a,this.roundA=Math.round(100*this.a)/100,this.format=(v=f.format)!==null&&v!==void 0?v:H.format,this.gradientType=f.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=H.ok}return o.prototype.isDark=function(){return this.getBrightness()<128},o.prototype.isLight=function(){return!this.isDark()},o.prototype.getBrightness=function(){var u=this.toRgb();return(u.r*299+u.g*587+u.b*114)/1e3},o.prototype.getLuminance=function(){var u=this.toRgb(),f,v,H,se=u.r/255,$e=u.g/255,mt=u.b/255;return se<=.03928?f=se/12.92:f=Math.pow((se+.055)/1.055,2.4),$e<=.03928?v=$e/12.92:v=Math.pow(($e+.055)/1.055,2.4),mt<=.03928?H=mt/12.92:H=Math.pow((mt+.055)/1.055,2.4),.2126*f+.7152*v+.0722*H},o.prototype.getAlpha=function(){return this.a},o.prototype.setAlpha=function(u){return this.a=IM(u),this.roundA=Math.round(100*this.a)/100,this},o.prototype.toHsv=function(){var u=iO(this.r,this.g,this.b);return{h:u.h*360,s:u.s,v:u.v,a:this.a}},o.prototype.toHsvString=function(){var u=iO(this.r,this.g,this.b),f=Math.round(u.h*360),v=Math.round(u.s*100),H=Math.round(u.v*100);return this.a===1?"hsv(".concat(f,", ").concat(v,"%, ").concat(H,"%)"):"hsva(".concat(f,", ").concat(v,"%, ").concat(H,"%, ").concat(this.roundA,")")},o.prototype.toHsl=function(){var u=nO(this.r,this.g,this.b);return{h:u.h*360,s:u.s,l:u.l,a:this.a}},o.prototype.toHslString=function(){var u=nO(this.r,this.g,this.b),f=Math.round(u.h*360),v=Math.round(u.s*100),H=Math.round(u.l*100);return this.a===1?"hsl(".concat(f,", ").concat(v,"%, ").concat(H,"%)"):"hsla(".concat(f,", ").concat(v,"%, ").concat(H,"%, ").concat(this.roundA,")")},o.prototype.toHex=function(u){return u===void 0&&(u=!1),aO(this.r,this.g,this.b,u)},o.prototype.toHexString=function(u){return u===void 0&&(u=!1),"#"+this.toHex(u)},o.prototype.toHex8=function(u){return u===void 0&&(u=!1),NX(this.r,this.g,this.b,this.a,u)},o.prototype.toHex8String=function(u){return u===void 0&&(u=!1),"#"+this.toHex8(u)},o.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},o.prototype.toRgbString=function(){var u=Math.round(this.r),f=Math.round(this.g),v=Math.round(this.b);return this.a===1?"rgb(".concat(u,", ").concat(f,", ").concat(v,")"):"rgba(".concat(u,", ").concat(f,", ").concat(v,", ").concat(this.roundA,")")},o.prototype.toPercentageRgb=function(){var u=function(f){return"".concat(Math.round(Nm(f,255)*100),"%")};return{r:u(this.r),g:u(this.g),b:u(this.b),a:this.a}},o.prototype.toPercentageRgbString=function(){var u=function(f){return Math.round(Nm(f,255)*100)};return this.a===1?"rgb(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%)"):"rgba(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%, ").concat(this.roundA,")")},o.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var u="#"+aO(this.r,this.g,this.b,!1),f=0,v=Object.entries(RF);f=0,se=!f&&H&&(u.startsWith("hex")||u==="name");return se?u==="name"&&this.a===0?this.toName():this.toRgbString():(u==="rgb"&&(v=this.toRgbString()),u==="prgb"&&(v=this.toPercentageRgbString()),(u==="hex"||u==="hex6")&&(v=this.toHexString()),u==="hex3"&&(v=this.toHexString(!0)),u==="hex4"&&(v=this.toHex8String(!0)),u==="hex8"&&(v=this.toHex8String()),u==="name"&&(v=this.toName()),u==="hsl"&&(v=this.toHslString()),u==="hsv"&&(v=this.toHsvString()),v||this.toHexString())},o.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},o.prototype.clone=function(){return new o(this.toString())},o.prototype.lighten=function(u){u===void 0&&(u=10);var f=this.toHsl();return f.l+=u/100,f.l=dT(f.l),new o(f)},o.prototype.brighten=function(u){u===void 0&&(u=10);var f=this.toRgb();return f.r=Math.max(0,Math.min(255,f.r-Math.round(255*-(u/100)))),f.g=Math.max(0,Math.min(255,f.g-Math.round(255*-(u/100)))),f.b=Math.max(0,Math.min(255,f.b-Math.round(255*-(u/100)))),new o(f)},o.prototype.darken=function(u){u===void 0&&(u=10);var f=this.toHsl();return f.l-=u/100,f.l=dT(f.l),new o(f)},o.prototype.tint=function(u){return u===void 0&&(u=10),this.mix("white",u)},o.prototype.shade=function(u){return u===void 0&&(u=10),this.mix("black",u)},o.prototype.desaturate=function(u){u===void 0&&(u=10);var f=this.toHsl();return f.s-=u/100,f.s=dT(f.s),new o(f)},o.prototype.saturate=function(u){u===void 0&&(u=10);var f=this.toHsl();return f.s+=u/100,f.s=dT(f.s),new o(f)},o.prototype.greyscale=function(){return this.desaturate(100)},o.prototype.spin=function(u){var f=this.toHsl(),v=(f.h+u)%360;return f.h=v<0?360+v:v,new o(f)},o.prototype.mix=function(u,f){f===void 0&&(f=50);var v=this.toRgb(),H=new o(u).toRgb(),se=f/100,$e={r:(H.r-v.r)*se+v.r,g:(H.g-v.g)*se+v.g,b:(H.b-v.b)*se+v.b,a:(H.a-v.a)*se+v.a};return new o($e)},o.prototype.analogous=function(u,f){u===void 0&&(u=6),f===void 0&&(f=30);var v=this.toHsl(),H=360/f,se=[this];for(v.h=(v.h-(H*u>>1)+720)%360;--u;)v.h=(v.h+H)%360,se.push(new o(v));return se},o.prototype.complement=function(){var u=this.toHsl();return u.h=(u.h+180)%360,new o(u)},o.prototype.monochromatic=function(u){u===void 0&&(u=6);for(var f=this.toHsv(),v=f.h,H=f.s,se=f.v,$e=[],mt=1/u;u--;)$e.push(new o({h:v,s:H,v:se})),se=(se+mt)%1;return $e},o.prototype.splitcomplement=function(){var u=this.toHsl(),f=u.h;return[this,new o({h:(f+72)%360,s:u.s,l:u.l}),new o({h:(f+216)%360,s:u.s,l:u.l})]},o.prototype.onBackground=function(u){var f=this.toRgb(),v=new o(u).toRgb();return new o({r:v.r+(f.r-v.r)*f.a,g:v.g+(f.g-v.g)*f.a,b:v.b+(f.b-v.b)*f.a})},o.prototype.triad=function(){return this.polyad(3)},o.prototype.tetrad=function(){return this.polyad(4)},o.prototype.polyad=function(u){for(var f=this.toHsl(),v=f.h,H=[this],se=360/u,$e=1;$e{},RX=Array.isArray,jX=o=>typeof o=="function",JX=o=>typeof o=="symbol";let UX;function KX(o,u=UX){u&&u.active&&u.effects.push(o)}const zX=o=>{const u=new Set(o);return u.w=0,u.n=0,u},OM=o=>(o.w&S2)>0,MM=o=>(o.n&S2)>0,qX=({deps:o})=>{if(o.length)for(let u=0;u{const{deps:u}=o;if(u.length){let f=0;for(let v=0;vo!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(JX));function _k(o){const u=o&&o.__v_raw;return u?_k(u):o}function $X(o){ET&&zv&&(o=_k(o),HX(o.dep||(o.dep=zX())))}function YX(o,u){o=_k(o),o.dep&&GX(o.dep)}class QX{constructor(u,f,v,H){this._setter=f,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new WX(u,()=>{this._dirty||(this._dirty=!0,YX(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!H,this.__v_isReadonly=v}get value(){const u=_k(this);return $X(u),(u._dirty||!u._cacheable)&&(u._dirty=!1,u._value=u.effect.run()),u._value}set value(u){this._setter(u)}}function ine(o,u,f=!1){let v,H;const se=jX(o);return se?(v=o,H=BX):(v=o.get,H=o.set),new QX(v,H,se||!H,f)}function AD(){return AD=Object.assign||function(o){for(var u=1;u1?u-1:0),v=1;v=se)return mt;switch(mt){case"%s":return String(f[H++]);case"%d":return Number(f[H++]);case"%j":try{return JSON.stringify(f[H++])}catch{return"[Circular]"}break;default:return mt}});return $e}return o}function nZ(o){return o==="string"||o==="url"||o==="hex"||o==="email"||o==="date"||o==="pattern"}function y_(o,u){return!!(o==null||u==="array"&&Array.isArray(o)&&!o.length||nZ(u)&&typeof o=="string"&&!o)}function iZ(o,u,f){var v=[],H=0,se=o.length;function $e(mt){v.push.apply(v,mt||[]),H++,H===se&&f(v)}o.forEach(function(mt){u(mt,$e)})}function uO(o,u,f){var v=0,H=o.length;function se($e){if($e&&$e.length){f($e);return}var mt=v;v=v+1,mt()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,url: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"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},kS={integer:function(u){return kS.number(u)&&parseInt(u,10)===u},float:function(u){return kS.number(u)&&!kS.integer(u)},array:function(u){return Array.isArray(u)},regexp:function(u){if(u instanceof RegExp)return!0;try{return!!new RegExp(u)}catch{return!1}},date:function(u){return typeof u.getTime=="function"&&typeof u.getMonth=="function"&&typeof u.getYear=="function"&&!isNaN(u.getTime())},number:function(u){return isNaN(u)?!1:typeof u=="number"},object:function(u){return typeof u=="object"&&!kS.array(u)},method:function(u){return typeof u=="function"},email:function(u){return typeof u=="string"&&u.length<=320&&!!u.match(V6.email)},url:function(u){return typeof u=="string"&&u.length<=2048&&!!u.match(V6.url)},hex:function(u){return typeof u=="string"&&!!u.match(V6.hex)}},lZ=function(u,f,v,H,se){if(u.required&&f===void 0){LM(u,f,v,H,se);return}var $e=["integer","float","array","regexp","object","method","email","number","date","url","hex"],mt=u.type;$e.indexOf(mt)>-1?kS[mt](f)||H.push(hy(se.messages.types[mt],u.fullField,u.type)):mt&&typeof f!==u.type&&H.push(hy(se.messages.types[mt],u.fullField,u.type))},pZ=function(u,f,v,H,se){var $e=typeof u.len=="number",mt=typeof u.min=="number",Wt=typeof u.max=="number",fr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Yt=f,Ir=null,Qr=typeof f=="number",Di=typeof f=="string",Vi=Array.isArray(f);if(Qr?Ir="number":Di?Ir="string":Vi&&(Ir="array"),!Ir)return!1;Vi&&(Yt=f.length),Di&&(Yt=f.replace(fr,"_").length),$e?Yt!==u.len&&H.push(hy(se.messages[Ir].len,u.fullField,u.len)):mt&&!Wt&&Ytu.max?H.push(hy(se.messages[Ir].max,u.fullField,u.max)):mt&&Wt&&(Ytu.max)&&H.push(hy(se.messages[Ir].range,u.fullField,u.min,u.max))},Ax="enum",dZ=function(u,f,v,H,se){u[Ax]=Array.isArray(u[Ax])?u[Ax]:[],u[Ax].indexOf(f)===-1&&H.push(hy(se.messages[Ax],u.fullField,u[Ax].join(", ")))},fZ=function(u,f,v,H,se){if(u.pattern){if(u.pattern instanceof RegExp)u.pattern.lastIndex=0,u.pattern.test(f)||H.push(hy(se.messages.pattern.mismatch,u.fullField,f,u.pattern));else if(typeof u.pattern=="string"){var $e=new RegExp(u.pattern);$e.test(f)||H.push(hy(se.messages.pattern.mismatch,u.fullField,f,u.pattern))}}},Vl={required:LM,whitespace:uZ,type:lZ,range:pZ,enum:dZ,pattern:fZ},_Z=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f,"string")&&!u.required)return v();Vl.required(u,f,H,$e,se,"string"),y_(f,"string")||(Vl.type(u,f,H,$e,se),Vl.range(u,f,H,$e,se),Vl.pattern(u,f,H,$e,se),u.whitespace===!0&&Vl.whitespace(u,f,H,$e,se))}v($e)},mZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),f!==void 0&&Vl.type(u,f,H,$e,se)}v($e)},gZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(f===""&&(f=void 0),y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),f!==void 0&&(Vl.type(u,f,H,$e,se),Vl.range(u,f,H,$e,se))}v($e)},hZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),f!==void 0&&Vl.type(u,f,H,$e,se)}v($e)},yZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),y_(f)||Vl.type(u,f,H,$e,se)}v($e)},vZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),f!==void 0&&(Vl.type(u,f,H,$e,se),Vl.range(u,f,H,$e,se))}v($e)},DZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),f!==void 0&&(Vl.type(u,f,H,$e,se),Vl.range(u,f,H,$e,se))}v($e)},xZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(f==null&&!u.required)return v();Vl.required(u,f,H,$e,se,"array"),f!=null&&(Vl.type(u,f,H,$e,se),Vl.range(u,f,H,$e,se))}v($e)},bZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),f!==void 0&&Vl.type(u,f,H,$e,se)}v($e)},SZ="enum",EZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se),f!==void 0&&Vl[SZ](u,f,H,$e,se)}v($e)},CZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f,"string")&&!u.required)return v();Vl.required(u,f,H,$e,se),y_(f,"string")||Vl.pattern(u,f,H,$e,se)}v($e)},TZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f,"date")&&!u.required)return v();if(Vl.required(u,f,H,$e,se),!y_(f,"date")){var Wt;f instanceof Date?Wt=f:Wt=new Date(f),Vl.type(u,Wt,H,$e,se),Wt&&Vl.range(u,Wt.getTime(),H,$e,se)}}v($e)},kZ=function(u,f,v,H,se){var $e=[],mt=Array.isArray(f)?"array":typeof f;Vl.required(u,f,H,$e,se,mt),v($e)},W6=function(u,f,v,H,se){var $e=u.type,mt=[],Wt=u.required||!u.required&&H.hasOwnProperty(u.field);if(Wt){if(y_(f,$e)&&!u.required)return v();Vl.required(u,f,H,mt,se,$e),y_(f,$e)||Vl.type(u,f,H,mt,se)}v(mt)},AZ=function(u,f,v,H,se){var $e=[],mt=u.required||!u.required&&H.hasOwnProperty(u.field);if(mt){if(y_(f)&&!u.required)return v();Vl.required(u,f,H,$e,se)}v($e)},BS={string:_Z,method:mZ,number:gZ,boolean:hZ,regexp:yZ,integer:vZ,float:DZ,array:xZ,object:bZ,enum:EZ,pattern:CZ,date:TZ,url:W6,hex:W6,email:W6,required:kZ,any:AZ};function zF(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var u=JSON.parse(JSON.stringify(this));return u.clone=this.clone,u}}}var qF=zF(),mk=function(){function o(f){this.rules=null,this._messages=qF,this.define(f)}var u=o.prototype;return u.define=function(v){var H=this;if(!v)throw new Error("Cannot configure a schema with no rules");if(typeof v!="object"||Array.isArray(v))throw new Error("Rules must be an object");this.rules={},Object.keys(v).forEach(function(se){var $e=v[se];H.rules[se]=Array.isArray($e)?$e:[$e]})},u.messages=function(v){return v&&(this._messages=dO(zF(),v)),this._messages},u.validate=function(v,H,se){var $e=this;H===void 0&&(H={}),se===void 0&&(se=function(){});var mt=v,Wt=H,fr=se;if(typeof Wt=="function"&&(fr=Wt,Wt={}),!this.rules||Object.keys(this.rules).length===0)return fr&&fr(null,mt),Promise.resolve(mt);function Yt(gi){var Mi=[],Yn={};function _a(ea){if(Array.isArray(ea)){var Na;Mi=(Na=Mi).concat.apply(Na,ea)}else Mi.push(ea)}for(var ha=0;ha{u.contains(H.target)||f(H)};return{mousemove:v,touchstart:v}}else if(o==="clickoutside"){let v=!1;const H=$e=>{v=!u.contains($e.target)},se=$e=>{!v||u.contains($e.target)||f($e)};return{mousedown:H,mouseup:se,touchstart:H,touchend:se}}return console.error(`[evtd/create-trap-handler]: name \`${o}\` is invalid. This could be a bug of evtd.`),{}}function BM(o,u,f){const v=FZ[o];let H=v.get(u);H===void 0&&v.set(u,H=new WeakMap);let se=H.get(f);return se===void 0&&H.set(f,se=NZ(o,u,f)),se}function wZ(o,u,f,v){if(o==="mousemoveoutside"||o==="clickoutside"){const H=BM(o,u,f);return Object.keys(H).forEach(se=>{OZ(se,document,H[se],v)}),!0}return!1}function PZ(o,u,f,v){if(o==="mousemoveoutside"||o==="clickoutside"){const H=BM(o,u,f);return Object.keys(H).forEach(se=>{MZ(se,document,H[se],v)}),!0}return!1}function IZ(){if(typeof window=="undefined")return{on:()=>{},off:()=>{}};const o=new WeakMap,u=new WeakMap;function f(){o.set(this,!0)}function v(){o.set(this,!0),u.set(this,!0)}function H(Qi,zi,$a){const Io=Qi[zi];return Qi[zi]=function(){return $a.apply(Qi,arguments),Io.apply(Qi,arguments)},Qi}function se(Qi,zi){Qi[zi]=Event.prototype[zi]}const $e=new WeakMap,mt=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function Wt(){var Qi;return(Qi=$e.get(this))!==null&&Qi!==void 0?Qi:null}function fr(Qi,zi){mt!==void 0&&Object.defineProperty(Qi,"currentTarget",{configurable:!0,enumerable:!0,get:zi!=null?zi:mt.get})}const Yt={bubble:{},capture:{}},Ir={};function Qr(){const Qi=function(zi){const{type:$a,eventPhase:Io,target:ec,bubbles:qo}=zi;if(Io===2)return;const Ko=Io===1?"capture":"bubble";let ho=ec;const yo=[];for(;ho===null&&(ho=window),yo.push(ho),ho!==window;)ho=ho.parentNode||null;const ts=Yt.capture[$a],Ca=Yt.bubble[$a];if(H(zi,"stopPropagation",f),H(zi,"stopImmediatePropagation",v),fr(zi,Wt),Ko==="capture"){if(ts===void 0)return;for(let us=yo.length-1;us>=0&&!o.has(zi);--us){const ws=yo[us],cu=ts.get(ws);if(cu!==void 0){$e.set(zi,ws);for(const Ic of cu){if(u.has(zi))break;Ic(zi)}}if(us===0&&!qo&&Ca!==void 0){const Ic=Ca.get(ws);if(Ic!==void 0)for(const nu of Ic){if(u.has(zi))break;nu(zi)}}}}else if(Ko==="bubble"){if(Ca===void 0)return;for(let us=0;usqo(zi))};return Qi.displayName="evtdUnifiedWindowEventHandler",Qi}const Vi=Qr(),gi=Di();function Mi(Qi,zi){const $a=Yt[Qi];return $a[zi]===void 0&&($a[zi]=new Map,window.addEventListener(zi,Vi,Qi==="capture")),$a[zi]}function Yn(Qi){return Ir[Qi]===void 0&&(Ir[Qi]=new Set,window.addEventListener(Qi,gi)),Ir[Qi]}function _a(Qi,zi){let $a=Qi.get(zi);return $a===void 0&&Qi.set(zi,$a=new Set),$a}function ha(Qi,zi,$a,Io){const ec=Yt[zi][$a];if(ec!==void 0){const qo=ec.get(Qi);if(qo!==void 0&&qo.has(Io))return!0}return!1}function ea(Qi,zi){const $a=Ir[Qi];return!!($a!==void 0&&$a.has(zi))}function Na(Qi,zi,$a,Io){let ec;if(typeof Io=="object"&&Io.once===!0?ec=ts=>{Hi(Qi,zi,ec,Io),$a(ts)}:ec=$a,wZ(Qi,zi,ec,Io))return;const Ko=Io===!0||typeof Io=="object"&&Io.capture===!0?"capture":"bubble",ho=Mi(Ko,Qi),yo=_a(ho,zi);if(yo.has(ec)||yo.add(ec),zi===window){const ts=Yn(Qi);ts.has(ec)||ts.add(ec)}}function Hi(Qi,zi,$a,Io){if(PZ(Qi,zi,$a,Io))return;const qo=Io===!0||typeof Io=="object"&&Io.capture===!0,Ko=qo?"capture":"bubble",ho=Mi(Ko,Qi),yo=_a(ho,zi);if(zi===window&&!ha(zi,qo?"bubble":"capture",Qi,$a)&&ea(Qi,$a)){const Ca=Ir[Qi];Ca.delete($a),Ca.size===0&&(window.removeEventListener(Qi,gi),Ir[Qi]=void 0)}yo.has($a)&&yo.delete($a),yo.size===0&&ho.delete(zi),ho.size===0&&(window.removeEventListener(Qi,Vi,Ko==="capture"),Yt[Ko][Qi]=void 0)}return{on:Na,off:Hi}}const{on:OZ,off:MZ}=IZ();var x0=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function aE(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var RM={exports:{}};(function(o,u){(function(f,v){o.exports=v()})(x0,function(){var f=1e3,v=6e4,H=36e5,se="millisecond",$e="second",mt="minute",Wt="hour",fr="day",Yt="week",Ir="month",Qr="quarter",Di="year",Vi="date",gi="Invalid Date",Mi=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Yn=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_a={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},ha=function(Ko,ho,yo){var ts=String(Ko);return!ts||ts.length>=ho?Ko:""+Array(ho+1-ts.length).join(yo)+Ko},ea={s:ha,z:function(Ko){var ho=-Ko.utcOffset(),yo=Math.abs(ho),ts=Math.floor(yo/60),Ca=yo%60;return(ho<=0?"+":"-")+ha(ts,2,"0")+":"+ha(Ca,2,"0")},m:function Ko(ho,yo){if(ho.date()1)return Ko(ws[0])}else{var cu=ho.name;Hi[cu]=ho,Ca=cu}return!ts&&Ca&&(Na=Ca),Ca||!ts&&Na},$a=function(Ko,ho){if(Qi(Ko))return Ko.clone();var yo=typeof ho=="object"?ho:{};return yo.date=Ko,yo.args=arguments,new ec(yo)},Io=ea;Io.l=zi,Io.i=Qi,Io.w=function(Ko,ho){return $a(Ko,{locale:ho.$L,utc:ho.$u,x:ho.$x,$offset:ho.$offset})};var ec=function(){function Ko(yo){this.$L=zi(yo.locale,null,!0),this.parse(yo)}var ho=Ko.prototype;return ho.parse=function(yo){this.$d=function(ts){var Ca=ts.date,us=ts.utc;if(Ca===null)return new Date(NaN);if(Io.u(Ca))return new Date;if(Ca instanceof Date)return new Date(Ca);if(typeof Ca=="string"&&!/Z$/i.test(Ca)){var ws=Ca.match(Mi);if(ws){var cu=ws[2]-1||0,Ic=(ws[7]||"0").substring(0,3);return us?new Date(Date.UTC(ws[1],cu,ws[3]||1,ws[4]||0,ws[5]||0,ws[6]||0,Ic)):new Date(ws[1],cu,ws[3]||1,ws[4]||0,ws[5]||0,ws[6]||0,Ic)}}return new Date(Ca)}(yo),this.$x=yo.x||{},this.init()},ho.init=function(){var yo=this.$d;this.$y=yo.getFullYear(),this.$M=yo.getMonth(),this.$D=yo.getDate(),this.$W=yo.getDay(),this.$H=yo.getHours(),this.$m=yo.getMinutes(),this.$s=yo.getSeconds(),this.$ms=yo.getMilliseconds()},ho.$utils=function(){return Io},ho.isValid=function(){return this.$d.toString()!==gi},ho.isSame=function(yo,ts){var Ca=$a(yo);return this.startOf(ts)<=Ca&&Ca<=this.endOf(ts)},ho.isAfter=function(yo,ts){return $a(yo)o.length)&&(u=o.length);for(var f=0,v=new Array(u);f
',XZ=Number.isNaN||Wv.isNaN;function ql(o){return typeof o=="number"&&!XZ(o)}var TO=function(u){return u>0&&u<1/0};function H6(o){return typeof o=="undefined"}function wD(o){return TT(o)==="object"&&o!==null}var ZZ=Object.prototype.hasOwnProperty;function Mx(o){if(!wD(o))return!1;try{var u=o.constructor,f=u.prototype;return u&&f&&ZZ.call(f,"isPrototypeOf")}catch{return!1}}function gh(o){return typeof o=="function"}var eee=Array.prototype.slice;function GM(o){return Array.from?Array.from(o):eee.call(o)}function n_(o,u){return o&&gh(u)&&(Array.isArray(o)||ql(o.length)?GM(o).forEach(function(f,v){u.call(o,f,v,o)}):wD(o)&&Object.keys(o).forEach(function(f){u.call(o,o[f],f,o)})),o}var Wd=Object.assign||function(u){for(var f=arguments.length,v=new Array(f>1?f-1:0),H=1;H0&&v.forEach(function(se){wD(se)&&Object.keys(se).forEach(function($e){u[$e]=se[$e]})}),u},tee=/\.\d*(?:0|9){12}\d*$/;function Jx(o){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return tee.test(o)?Math.round(o*u)/u:o}var ree=/^width|height|left|top|marginLeft|marginTop$/;function m2(o,u){var f=o.style;n_(u,function(v,H){ree.test(H)&&ql(v)&&(v="".concat(v,"px")),f[H]=v})}function nee(o,u){return o.classList?o.classList.contains(u):o.className.indexOf(u)>-1}function H_(o,u){if(!!u){if(ql(o.length)){n_(o,function(v){H_(v,u)});return}if(o.classList){o.classList.add(u);return}var f=o.className.trim();f?f.indexOf(u)<0&&(o.className="".concat(f," ").concat(u)):o.className=u}}function qv(o,u){if(!!u){if(ql(o.length)){n_(o,function(f){qv(f,u)});return}if(o.classList){o.classList.remove(u);return}o.className.indexOf(u)>=0&&(o.className=o.className.replace(u,""))}}function Lx(o,u,f){if(!!u){if(ql(o.length)){n_(o,function(v){Lx(v,u,f)});return}f?H_(o,u):qv(o,u)}}var iee=/([a-z\d])([A-Z])/g;function qN(o){return o.replace(iee,"$1-$2").toLowerCase()}function ZF(o,u){return wD(o[u])?o[u]:o.dataset?o.dataset[u]:o.getAttribute("data-".concat(qN(u)))}function ZS(o,u,f){wD(f)?o[u]=f:o.dataset?o.dataset[u]=f:o.setAttribute("data-".concat(qN(u)),f)}function aee(o,u){if(wD(o[u]))try{delete o[u]}catch{o[u]=void 0}else if(o.dataset)try{delete o.dataset[u]}catch{o.dataset[u]=void 0}else o.removeAttribute("data-".concat(qN(u)))}var $M=/\s\s*/,YM=function(){var o=!1;if(gk){var u=!1,f=function(){},v=Object.defineProperty({},"once",{get:function(){return o=!0,u},set:function(se){u=se}});Wv.addEventListener("test",f,v),Wv.removeEventListener("test",f,v)}return o}();function nv(o,u,f){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},H=f;u.trim().split($M).forEach(function(se){if(!YM){var $e=o.listeners;$e&&$e[se]&&$e[se][f]&&(H=$e[se][f],delete $e[se][f],Object.keys($e[se]).length===0&&delete $e[se],Object.keys($e).length===0&&delete o.listeners)}o.removeEventListener(se,H,v)})}function g0(o,u,f){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},H=f;u.trim().split($M).forEach(function(se){if(v.once&&!YM){var $e=o.listeners,mt=$e===void 0?{}:$e;H=function(){delete mt[se][f],o.removeEventListener(se,H,v);for(var fr=arguments.length,Yt=new Array(fr),Ir=0;IrMath.abs(f)&&(f=Qr)})}),f}function mT(o,u){var f=o.pageX,v=o.pageY,H={endX:f,endY:v};return u?H:jM({startX:f,startY:v},H)}function cee(o){var u=0,f=0,v=0;return n_(o,function(H){var se=H.startX,$e=H.startY;u+=se,f+=$e,v+=1}),u/=v,f/=v,{pageX:u,pageY:f}}function g2(o){var u=o.aspectRatio,f=o.height,v=o.width,H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",se=TO(v),$e=TO(f);if(se&&$e){var mt=f*u;H==="contain"&&mt>v||H==="cover"&&mt90?{width:Wt,height:mt}:{width:mt,height:Wt}}function lee(o,u,f,v){var H=u.aspectRatio,se=u.naturalWidth,$e=u.naturalHeight,mt=u.rotate,Wt=mt===void 0?0:mt,fr=u.scaleX,Yt=fr===void 0?1:fr,Ir=u.scaleY,Qr=Ir===void 0?1:Ir,Di=f.aspectRatio,Vi=f.naturalWidth,gi=f.naturalHeight,Mi=v.fillColor,Yn=Mi===void 0?"transparent":Mi,_a=v.imageSmoothingEnabled,ha=_a===void 0?!0:_a,ea=v.imageSmoothingQuality,Na=ea===void 0?"low":ea,Hi=v.maxWidth,Qi=Hi===void 0?1/0:Hi,zi=v.maxHeight,$a=zi===void 0?1/0:zi,Io=v.minWidth,ec=Io===void 0?0:Io,qo=v.minHeight,Ko=qo===void 0?0:qo,ho=document.createElement("canvas"),yo=ho.getContext("2d"),ts=g2({aspectRatio:Di,width:Qi,height:$a}),Ca=g2({aspectRatio:Di,width:ec,height:Ko},"cover"),us=Math.min(ts.width,Math.max(Ca.width,Vi)),ws=Math.min(ts.height,Math.max(Ca.height,gi)),cu=g2({aspectRatio:H,width:Qi,height:$a}),Ic=g2({aspectRatio:H,width:ec,height:Ko},"cover"),nu=Math.min(cu.width,Math.max(Ic.width,se)),Mu=Math.min(cu.height,Math.max(Ic.height,$e)),el=[-nu/2,-Mu/2,nu,Mu];return ho.width=Jx(us),ho.height=Jx(ws),yo.fillStyle=Yn,yo.fillRect(0,0,us,ws),yo.save(),yo.translate(us/2,ws/2),yo.rotate(Wt*Math.PI/180),yo.scale(Yt,Qr),yo.imageSmoothingEnabled=ha,yo.imageSmoothingQuality=Na,yo.drawImage.apply(yo,[o].concat(JM(el.map(function(ao){return Math.floor(Jx(ao))})))),yo.restore(),ho}var XM=String.fromCharCode;function pee(o,u,f){var v="";f+=u;for(var H=u;H0;)f.push(XM.apply(null,GM(H.subarray(0,v)))),H=H.subarray(v);return"data:".concat(u,";base64,").concat(btoa(f.join("")))}function mee(o){var u=new DataView(o),f;try{var v,H,se;if(u.getUint8(0)===255&&u.getUint8(1)===216)for(var $e=u.byteLength,mt=2;mt+1<$e;){if(u.getUint8(mt)===255&&u.getUint8(mt+1)===225){H=mt;break}mt+=1}if(H){var Wt=H+4,fr=H+10;if(pee(u,Wt,4)==="Exif"){var Yt=u.getUint16(fr);if(v=Yt===18761,(v||Yt===19789)&&u.getUint16(fr+2,v)===42){var Ir=u.getUint32(fr+4,v);Ir>=8&&(se=fr+Ir)}}}if(se){var Qr=u.getUint16(se,v),Di,Vi;for(Vi=0;Vi=0?se:WM),height:Math.max(v.offsetHeight,$e>=0?$e:HM)};this.containerData=mt,m2(H,{width:mt.width,height:mt.height}),H_(u,hh),qv(H,hh)},initCanvas:function(){var u=this.containerData,f=this.imageData,v=this.options.viewMode,H=Math.abs(f.rotate)%180===90,se=H?f.naturalHeight:f.naturalWidth,$e=H?f.naturalWidth:f.naturalHeight,mt=se/$e,Wt=u.width,fr=u.height;u.height*mt>u.width?v===3?Wt=u.height*mt:fr=u.width/mt:v===3?fr=u.width/mt:Wt=u.height*mt;var Yt={aspectRatio:mt,naturalWidth:se,naturalHeight:$e,width:Wt,height:fr};this.canvasData=Yt,this.limited=v===1||v===2,this.limitCanvas(!0,!0),Yt.width=Math.min(Math.max(Yt.width,Yt.minWidth),Yt.maxWidth),Yt.height=Math.min(Math.max(Yt.height,Yt.minHeight),Yt.maxHeight),Yt.left=(u.width-Yt.width)/2,Yt.top=(u.height-Yt.height)/2,Yt.oldLeft=Yt.left,Yt.oldTop=Yt.top,this.initialCanvasData=Wd({},Yt)},limitCanvas:function(u,f){var v=this.options,H=this.containerData,se=this.canvasData,$e=this.cropBoxData,mt=v.viewMode,Wt=se.aspectRatio,fr=this.cropped&&$e;if(u){var Yt=Number(v.minCanvasWidth)||0,Ir=Number(v.minCanvasHeight)||0;mt>1?(Yt=Math.max(Yt,H.width),Ir=Math.max(Ir,H.height),mt===3&&(Ir*Wt>Yt?Yt=Ir*Wt:Ir=Yt/Wt)):mt>0&&(Yt?Yt=Math.max(Yt,fr?$e.width:0):Ir?Ir=Math.max(Ir,fr?$e.height:0):fr&&(Yt=$e.width,Ir=$e.height,Ir*Wt>Yt?Yt=Ir*Wt:Ir=Yt/Wt));var Qr=g2({aspectRatio:Wt,width:Yt,height:Ir});Yt=Qr.width,Ir=Qr.height,se.minWidth=Yt,se.minHeight=Ir,se.maxWidth=1/0,se.maxHeight=1/0}if(f)if(mt>(fr?0:1)){var Di=H.width-se.width,Vi=H.height-se.height;se.minLeft=Math.min(0,Di),se.minTop=Math.min(0,Vi),se.maxLeft=Math.max(0,Di),se.maxTop=Math.max(0,Vi),fr&&this.limited&&(se.minLeft=Math.min($e.left,$e.left+($e.width-se.width)),se.minTop=Math.min($e.top,$e.top+($e.height-se.height)),se.maxLeft=$e.left,se.maxTop=$e.top,mt===2&&(se.width>=H.width&&(se.minLeft=Math.min(0,Di),se.maxLeft=Math.max(0,Di)),se.height>=H.height&&(se.minTop=Math.min(0,Vi),se.maxTop=Math.max(0,Vi))))}else se.minLeft=-se.width,se.minTop=-se.height,se.maxLeft=H.width,se.maxTop=H.height},renderCanvas:function(u,f){var v=this.canvasData,H=this.imageData;if(f){var se=uee({width:H.naturalWidth*Math.abs(H.scaleX||1),height:H.naturalHeight*Math.abs(H.scaleY||1),degree:H.rotate||0}),$e=se.width,mt=se.height,Wt=v.width*($e/v.naturalWidth),fr=v.height*(mt/v.naturalHeight);v.left-=(Wt-v.width)/2,v.top-=(fr-v.height)/2,v.width=Wt,v.height=fr,v.aspectRatio=$e/mt,v.naturalWidth=$e,v.naturalHeight=mt,this.limitCanvas(!0,!1)}(v.width>v.maxWidth||v.widthv.maxHeight||v.heightf.width?se.height=se.width/v:se.width=se.height*v),this.cropBoxData=se,this.limitCropBox(!0,!0),se.width=Math.min(Math.max(se.width,se.minWidth),se.maxWidth),se.height=Math.min(Math.max(se.height,se.minHeight),se.maxHeight),se.width=Math.max(se.minWidth,se.width*H),se.height=Math.max(se.minHeight,se.height*H),se.left=f.left+(f.width-se.width)/2,se.top=f.top+(f.height-se.height)/2,se.oldLeft=se.left,se.oldTop=se.top,this.initialCropBoxData=Wd({},se)},limitCropBox:function(u,f){var v=this.options,H=this.containerData,se=this.canvasData,$e=this.cropBoxData,mt=this.limited,Wt=v.aspectRatio;if(u){var fr=Number(v.minCropBoxWidth)||0,Yt=Number(v.minCropBoxHeight)||0,Ir=mt?Math.min(H.width,se.width,se.width+se.left,H.width-se.left):H.width,Qr=mt?Math.min(H.height,se.height,se.height+se.top,H.height-se.top):H.height;fr=Math.min(fr,H.width),Yt=Math.min(Yt,H.height),Wt&&(fr&&Yt?Yt*Wt>fr?Yt=fr/Wt:fr=Yt*Wt:fr?Yt=fr/Wt:Yt&&(fr=Yt*Wt),Qr*Wt>Ir?Qr=Ir/Wt:Ir=Qr*Wt),$e.minWidth=Math.min(fr,Ir),$e.minHeight=Math.min(Yt,Qr),$e.maxWidth=Ir,$e.maxHeight=Qr}f&&(mt?($e.minLeft=Math.max(0,se.left),$e.minTop=Math.max(0,se.top),$e.maxLeft=Math.min(H.width,se.left+se.width)-$e.width,$e.maxTop=Math.min(H.height,se.top+se.height)-$e.height):($e.minLeft=0,$e.minTop=0,$e.maxLeft=H.width-$e.width,$e.maxTop=H.height-$e.height))},renderCropBox:function(){var u=this.options,f=this.containerData,v=this.cropBoxData;(v.width>v.maxWidth||v.widthv.maxHeight||v.height=f.width&&v.height>=f.height?KM:KN),m2(this.cropBox,Wd({width:v.width,height:v.height},RS({translateX:v.left,translateY:v.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Ux(this.element,GF,this.getData())}},yee={initPreview:function(){var u=this.element,f=this.crossOrigin,v=this.options.preview,H=f?this.crossOriginUrl:this.url,se=u.alt||"The image to preview",$e=document.createElement("img");if(f&&($e.crossOrigin=f),$e.src=H,$e.alt=se,this.viewBox.appendChild($e),this.viewBoxImage=$e,!!v){var mt=v;typeof v=="string"?mt=u.ownerDocument.querySelectorAll(v):v.querySelector&&(mt=[v]),this.previews=mt,n_(mt,function(Wt){var fr=document.createElement("img");ZS(Wt,_T,{width:Wt.offsetWidth,height:Wt.offsetHeight,html:Wt.innerHTML}),f&&(fr.crossOrigin=f),fr.src=H,fr.alt=se,fr.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',Wt.innerHTML="",Wt.appendChild(fr)})}},resetPreview:function(){n_(this.previews,function(u){var f=ZF(u,_T);m2(u,{width:f.width,height:f.height}),u.innerHTML=f.html,aee(u,_T)})},preview:function(){var u=this.imageData,f=this.canvasData,v=this.cropBoxData,H=v.width,se=v.height,$e=u.width,mt=u.height,Wt=v.left-f.left-u.left,fr=v.top-f.top-u.top;!this.cropped||this.disabled||(m2(this.viewBoxImage,Wd({width:$e,height:mt},RS(Wd({translateX:-Wt,translateY:-fr},u)))),n_(this.previews,function(Yt){var Ir=ZF(Yt,_T),Qr=Ir.width,Di=Ir.height,Vi=Qr,gi=Di,Mi=1;H&&(Mi=Qr/H,gi=se*Mi),se&&gi>Di&&(Mi=Di/se,Vi=H*Mi,gi=Di),m2(Yt,{width:Vi,height:gi}),m2(Yt.getElementsByTagName("img")[0],Wd({width:$e*Mi,height:mt*Mi},RS(Wd({translateX:-Wt*Mi,translateY:-fr*Mi},u))))}))}},vee={bind:function(){var u=this.element,f=this.options,v=this.cropper;gh(f.cropstart)&&g0(u,QF,f.cropstart),gh(f.cropmove)&&g0(u,YF,f.cropmove),gh(f.cropend)&&g0(u,$F,f.cropend),gh(f.crop)&&g0(u,GF,f.crop),gh(f.zoom)&&g0(u,XF,f.zoom),g0(v,yO,this.onCropStart=this.cropStart.bind(this)),f.zoomable&&f.zoomOnWheel&&g0(v,SO,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),f.toggleDragModeOnDblclick&&g0(v,hO,this.onDblclick=this.dblclick.bind(this)),g0(u.ownerDocument,vO,this.onCropMove=this.cropMove.bind(this)),g0(u.ownerDocument,DO,this.onCropEnd=this.cropEnd.bind(this)),f.responsive&&g0(window,bO,this.onResize=this.resize.bind(this))},unbind:function(){var u=this.element,f=this.options,v=this.cropper;gh(f.cropstart)&&nv(u,QF,f.cropstart),gh(f.cropmove)&&nv(u,YF,f.cropmove),gh(f.cropend)&&nv(u,$F,f.cropend),gh(f.crop)&&nv(u,GF,f.crop),gh(f.zoom)&&nv(u,XF,f.zoom),nv(v,yO,this.onCropStart),f.zoomable&&f.zoomOnWheel&&nv(v,SO,this.onWheel,{passive:!1,capture:!0}),f.toggleDragModeOnDblclick&&nv(v,hO,this.onDblclick),nv(u.ownerDocument,vO,this.onCropMove),nv(u.ownerDocument,DO,this.onCropEnd),f.responsive&&nv(window,bO,this.onResize)}},Dee={resize:function(){if(!this.disabled){var u=this.options,f=this.container,v=this.containerData,H=f.offsetWidth/v.width,se=f.offsetHeight/v.height,$e=Math.abs(H-1)>Math.abs(se-1)?H:se;if($e!==1){var mt,Wt;u.restore&&(mt=this.getCanvasData(),Wt=this.getCropBoxData()),this.render(),u.restore&&(this.setCanvasData(n_(mt,function(fr,Yt){mt[Yt]=fr*$e})),this.setCropBoxData(n_(Wt,function(fr,Yt){Wt[Yt]=fr*$e})))}}},dblclick:function(){this.disabled||this.options.dragMode===VM||this.setDragMode(nee(this.dragBox,WF)?qM:zN)},wheel:function(u){var f=this,v=Number(this.options.wheelZoomRatio)||.1,H=1;this.disabled||(u.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){f.wheeling=!1},50),u.deltaY?H=u.deltaY>0?1:-1:u.wheelDelta?H=-u.wheelDelta/120:u.detail&&(H=u.detail>0?1:-1),this.zoom(-H*v,u)))},cropStart:function(u){var f=u.buttons,v=u.button;if(!(this.disabled||(u.type==="mousedown"||u.type==="pointerdown"&&u.pointerType==="mouse")&&(ql(f)&&f!==1||ql(v)&&v!==0||u.ctrlKey))){var H=this.options,se=this.pointers,$e;u.changedTouches?n_(u.changedTouches,function(mt){se[mt.identifier]=mT(mt)}):se[u.pointerId||0]=mT(u),Object.keys(se).length>1&&H.zoomable&&H.zoomOnTouch?$e=zM:$e=ZF(u.target,XS),!!HZ.test($e)&&Ux(this.element,QF,{originalEvent:u,action:$e})!==!1&&(u.preventDefault(),this.action=$e,this.cropping=!1,$e===UM&&(this.cropping=!0,H_(this.dragBox,UT)))}},cropMove:function(u){var f=this.action;if(!(this.disabled||!f)){var v=this.pointers;u.preventDefault(),Ux(this.element,YF,{originalEvent:u,action:f})!==!1&&(u.changedTouches?n_(u.changedTouches,function(H){Wd(v[H.identifier]||{},mT(H,!0))}):Wd(v[u.pointerId||0]||{},mT(u,!0)),this.change(u))}},cropEnd:function(u){if(!this.disabled){var f=this.action,v=this.pointers;u.changedTouches?n_(u.changedTouches,function(H){delete v[H.identifier]}):delete v[u.pointerId||0],f&&(u.preventDefault(),Object.keys(v).length||(this.action=""),this.cropping&&(this.cropping=!1,Lx(this.dragBox,UT,this.cropped&&this.options.modal)),Ux(this.element,$F,{originalEvent:u,action:f}))}}},xee={change:function(u){var f=this.options,v=this.canvasData,H=this.containerData,se=this.cropBoxData,$e=this.pointers,mt=this.action,Wt=f.aspectRatio,fr=se.left,Yt=se.top,Ir=se.width,Qr=se.height,Di=fr+Ir,Vi=Yt+Qr,gi=0,Mi=0,Yn=H.width,_a=H.height,ha=!0,ea;!Wt&&u.shiftKey&&(Wt=Ir&&Qr?Ir/Qr:1),this.limited&&(gi=se.minLeft,Mi=se.minTop,Yn=gi+Math.min(H.width,v.width,v.left+v.width),_a=Mi+Math.min(H.height,v.height,v.top+v.height));var Na=$e[Object.keys($e)[0]],Hi={x:Na.endX-Na.startX,y:Na.endY-Na.startY},Qi=function($a){switch($a){case yD:Di+Hi.x>Yn&&(Hi.x=Yn-Di);break;case vD:fr+Hi.x_a&&(Hi.y=_a-Vi);break}};switch(mt){case KN:fr+=Hi.x,Yt+=Hi.y;break;case yD:if(Hi.x>=0&&(Di>=Yn||Wt&&(Yt<=Mi||Vi>=_a))){ha=!1;break}Qi(yD),Ir+=Hi.x,Ir<0&&(mt=vD,Ir=-Ir,fr-=Ir),Wt&&(Qr=Ir/Wt,Yt+=(se.height-Qr)/2);break;case u2:if(Hi.y<=0&&(Yt<=Mi||Wt&&(fr<=gi||Di>=Yn))){ha=!1;break}Qi(u2),Qr-=Hi.y,Yt+=Hi.y,Qr<0&&(mt=Fx,Qr=-Qr,Yt-=Qr),Wt&&(Ir=Qr*Wt,fr+=(se.width-Ir)/2);break;case vD:if(Hi.x<=0&&(fr<=gi||Wt&&(Yt<=Mi||Vi>=_a))){ha=!1;break}Qi(vD),Ir-=Hi.x,fr+=Hi.x,Ir<0&&(mt=yD,Ir=-Ir,fr-=Ir),Wt&&(Qr=Ir/Wt,Yt+=(se.height-Qr)/2);break;case Fx:if(Hi.y>=0&&(Vi>=_a||Wt&&(fr<=gi||Di>=Yn))){ha=!1;break}Qi(Fx),Qr+=Hi.y,Qr<0&&(mt=u2,Qr=-Qr,Yt-=Qr),Wt&&(Ir=Qr*Wt,fr+=(se.width-Ir)/2);break;case hS:if(Wt){if(Hi.y<=0&&(Yt<=Mi||Di>=Yn)){ha=!1;break}Qi(u2),Qr-=Hi.y,Yt+=Hi.y,Ir=Qr*Wt}else Qi(u2),Qi(yD),Hi.x>=0?DiMi&&(Qr-=Hi.y,Yt+=Hi.y):(Qr-=Hi.y,Yt+=Hi.y);Ir<0&&Qr<0?(mt=DS,Qr=-Qr,Ir=-Ir,Yt-=Qr,fr-=Ir):Ir<0?(mt=yS,Ir=-Ir,fr-=Ir):Qr<0&&(mt=vS,Qr=-Qr,Yt-=Qr);break;case yS:if(Wt){if(Hi.y<=0&&(Yt<=Mi||fr<=gi)){ha=!1;break}Qi(u2),Qr-=Hi.y,Yt+=Hi.y,Ir=Qr*Wt,fr+=se.width-Ir}else Qi(u2),Qi(vD),Hi.x<=0?fr>gi?(Ir-=Hi.x,fr+=Hi.x):Hi.y<=0&&Yt<=Mi&&(ha=!1):(Ir-=Hi.x,fr+=Hi.x),Hi.y<=0?Yt>Mi&&(Qr-=Hi.y,Yt+=Hi.y):(Qr-=Hi.y,Yt+=Hi.y);Ir<0&&Qr<0?(mt=vS,Qr=-Qr,Ir=-Ir,Yt-=Qr,fr-=Ir):Ir<0?(mt=hS,Ir=-Ir,fr-=Ir):Qr<0&&(mt=DS,Qr=-Qr,Yt-=Qr);break;case DS:if(Wt){if(Hi.x<=0&&(fr<=gi||Vi>=_a)){ha=!1;break}Qi(vD),Ir-=Hi.x,fr+=Hi.x,Qr=Ir/Wt}else Qi(Fx),Qi(vD),Hi.x<=0?fr>gi?(Ir-=Hi.x,fr+=Hi.x):Hi.y>=0&&Vi>=_a&&(ha=!1):(Ir-=Hi.x,fr+=Hi.x),Hi.y>=0?Vi<_a&&(Qr+=Hi.y):Qr+=Hi.y;Ir<0&&Qr<0?(mt=hS,Qr=-Qr,Ir=-Ir,Yt-=Qr,fr-=Ir):Ir<0?(mt=vS,Ir=-Ir,fr-=Ir):Qr<0&&(mt=yS,Qr=-Qr,Yt-=Qr);break;case vS:if(Wt){if(Hi.x>=0&&(Di>=Yn||Vi>=_a)){ha=!1;break}Qi(yD),Ir+=Hi.x,Qr=Ir/Wt}else Qi(Fx),Qi(yD),Hi.x>=0?Di=0&&Vi>=_a&&(ha=!1):Ir+=Hi.x,Hi.y>=0?Vi<_a&&(Qr+=Hi.y):Qr+=Hi.y;Ir<0&&Qr<0?(mt=yS,Qr=-Qr,Ir=-Ir,Yt-=Qr,fr-=Ir):Ir<0?(mt=DS,Ir=-Ir,fr-=Ir):Qr<0&&(mt=hS,Qr=-Qr,Yt-=Qr);break;case KM:this.move(Hi.x,Hi.y),ha=!1;break;case zM:this.zoom(see($e),u),ha=!1;break;case UM:if(!Hi.x||!Hi.y){ha=!1;break}ea=QM(this.cropper),fr=Na.startX-ea.left,Yt=Na.startY-ea.top,Ir=se.minWidth,Qr=se.minHeight,Hi.x>0?mt=Hi.y>0?vS:hS:Hi.x<0&&(fr-=Ir,mt=Hi.y>0?DS:yS),Hi.y<0&&(Yt-=Qr),this.cropped||(qv(this.cropBox,hh),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}ha&&(se.width=Ir,se.height=Qr,se.left=fr,se.top=Yt,this.action=mt,this.renderCropBox()),n_($e,function(zi){zi.startX=zi.endX,zi.startY=zi.endY})}},bee={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&H_(this.dragBox,UT),qv(this.cropBox,hh),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Wd({},this.initialImageData),this.canvasData=Wd({},this.initialCanvasData),this.cropBoxData=Wd({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Wd(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),qv(this.dragBox,UT),H_(this.cropBox,hh)),this},replace:function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&u&&(this.isImg&&(this.element.src=u),f?(this.url=u,this.image.src=u,this.ready&&(this.viewBoxImage.src=u,n_(this.previews,function(v){v.getElementsByTagName("img")[0].src=u}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(u))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,qv(this.cropper,mO)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,H_(this.cropper,mO)),this},destroy:function(){var u=this.element;return u[Vd]?(u[Vd]=void 0,this.isImg&&this.replaced&&(u.src=this.originalUrl),this.uncreate(),this):this},move:function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,v=this.canvasData,H=v.left,se=v.top;return this.moveTo(H6(u)?u:H+Number(u),H6(f)?f:se+Number(f))},moveTo:function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,v=this.canvasData,H=!1;return u=Number(u),f=Number(f),this.ready&&!this.disabled&&this.options.movable&&(ql(u)&&(v.left=u,H=!0),ql(f)&&(v.top=f,H=!0),H&&this.renderCanvas(!0)),this},zoom:function(u,f){var v=this.canvasData;return u=Number(u),u<0?u=1/(1-u):u=1+u,this.zoomTo(v.width*u/v.naturalWidth,null,f)},zoomTo:function(u,f,v){var H=this.options,se=this.canvasData,$e=se.width,mt=se.height,Wt=se.naturalWidth,fr=se.naturalHeight;if(u=Number(u),u>=0&&this.ready&&!this.disabled&&H.zoomable){var Yt=Wt*u,Ir=fr*u;if(Ux(this.element,XF,{ratio:u,oldRatio:$e/Wt,originalEvent:v})===!1)return this;if(v){var Qr=this.pointers,Di=QM(this.cropper),Vi=Qr&&Object.keys(Qr).length?cee(Qr):{pageX:v.pageX,pageY:v.pageY};se.left-=(Yt-$e)*((Vi.pageX-Di.left-se.left)/$e),se.top-=(Ir-mt)*((Vi.pageY-Di.top-se.top)/mt)}else Mx(f)&&ql(f.x)&&ql(f.y)?(se.left-=(Yt-$e)*((f.x-se.left)/$e),se.top-=(Ir-mt)*((f.y-se.top)/mt)):(se.left-=(Yt-$e)/2,se.top-=(Ir-mt)/2);se.width=Yt,se.height=Ir,this.renderCanvas(!0)}return this},rotate:function(u){return this.rotateTo((this.imageData.rotate||0)+Number(u))},rotateTo:function(u){return u=Number(u),ql(u)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=u%360,this.renderCanvas(!0,!0)),this},scaleX:function(u){var f=this.imageData.scaleY;return this.scale(u,ql(f)?f:1)},scaleY:function(u){var f=this.imageData.scaleX;return this.scale(ql(f)?f:1,u)},scale:function(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,v=this.imageData,H=!1;return u=Number(u),f=Number(f),this.ready&&!this.disabled&&this.options.scalable&&(ql(u)&&(v.scaleX=u,H=!0),ql(f)&&(v.scaleY=f,H=!0),H&&this.renderCanvas(!0,!0)),this},getData:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,f=this.options,v=this.imageData,H=this.canvasData,se=this.cropBoxData,$e;if(this.ready&&this.cropped){$e={x:se.left-H.left,y:se.top-H.top,width:se.width,height:se.height};var mt=v.width/v.naturalWidth;if(n_($e,function(Yt,Ir){$e[Ir]=Yt/mt}),u){var Wt=Math.round($e.y+$e.height),fr=Math.round($e.x+$e.width);$e.x=Math.round($e.x),$e.y=Math.round($e.y),$e.width=fr-$e.x,$e.height=Wt-$e.y}}else $e={x:0,y:0,width:0,height:0};return f.rotatable&&($e.rotate=v.rotate||0),f.scalable&&($e.scaleX=v.scaleX||1,$e.scaleY=v.scaleY||1),$e},setData:function(u){var f=this.options,v=this.imageData,H=this.canvasData,se={};if(this.ready&&!this.disabled&&Mx(u)){var $e=!1;f.rotatable&&ql(u.rotate)&&u.rotate!==v.rotate&&(v.rotate=u.rotate,$e=!0),f.scalable&&(ql(u.scaleX)&&u.scaleX!==v.scaleX&&(v.scaleX=u.scaleX,$e=!0),ql(u.scaleY)&&u.scaleY!==v.scaleY&&(v.scaleY=u.scaleY,$e=!0)),$e&&this.renderCanvas(!0,!0);var mt=v.width/v.naturalWidth;ql(u.x)&&(se.left=u.x*mt+H.left),ql(u.y)&&(se.top=u.y*mt+H.top),ql(u.width)&&(se.width=u.width*mt),ql(u.height)&&(se.height=u.height*mt),this.setCropBoxData(se)}return this},getContainerData:function(){return this.ready?Wd({},this.containerData):{}},getImageData:function(){return this.sized?Wd({},this.imageData):{}},getCanvasData:function(){var u=this.canvasData,f={};return this.ready&&n_(["left","top","width","height","naturalWidth","naturalHeight"],function(v){f[v]=u[v]}),f},setCanvasData:function(u){var f=this.canvasData,v=f.aspectRatio;return this.ready&&!this.disabled&&Mx(u)&&(ql(u.left)&&(f.left=u.left),ql(u.top)&&(f.top=u.top),ql(u.width)?(f.width=u.width,f.height=u.width/v):ql(u.height)&&(f.height=u.height,f.width=u.height*v),this.renderCanvas(!0)),this},getCropBoxData:function(){var u=this.cropBoxData,f;return this.ready&&this.cropped&&(f={left:u.left,top:u.top,width:u.width,height:u.height}),f||{}},setCropBoxData:function(u){var f=this.cropBoxData,v=this.options.aspectRatio,H,se;return this.ready&&this.cropped&&!this.disabled&&Mx(u)&&(ql(u.left)&&(f.left=u.left),ql(u.top)&&(f.top=u.top),ql(u.width)&&u.width!==f.width&&(H=!0,f.width=u.width),ql(u.height)&&u.height!==f.height&&(se=!0,f.height=u.height),v&&(H?f.height=f.width/v:se&&(f.width=f.height*v)),this.renderCropBox()),this},getCroppedCanvas:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var f=this.canvasData,v=lee(this.image,this.imageData,f,u);if(!this.cropped)return v;var H=this.getData(),se=H.x,$e=H.y,mt=H.width,Wt=H.height,fr=v.width/Math.floor(f.naturalWidth);fr!==1&&(se*=fr,$e*=fr,mt*=fr,Wt*=fr);var Yt=mt/Wt,Ir=g2({aspectRatio:Yt,width:u.maxWidth||1/0,height:u.maxHeight||1/0}),Qr=g2({aspectRatio:Yt,width:u.minWidth||0,height:u.minHeight||0},"cover"),Di=g2({aspectRatio:Yt,width:u.width||(fr!==1?v.width:mt),height:u.height||(fr!==1?v.height:Wt)}),Vi=Di.width,gi=Di.height;Vi=Math.min(Ir.width,Math.max(Qr.width,Vi)),gi=Math.min(Ir.height,Math.max(Qr.height,gi));var Mi=document.createElement("canvas"),Yn=Mi.getContext("2d");Mi.width=Jx(Vi),Mi.height=Jx(gi),Yn.fillStyle=u.fillColor||"transparent",Yn.fillRect(0,0,Vi,gi);var _a=u.imageSmoothingEnabled,ha=_a===void 0?!0:_a,ea=u.imageSmoothingQuality;Yn.imageSmoothingEnabled=ha,ea&&(Yn.imageSmoothingQuality=ea);var Na=v.width,Hi=v.height,Qi=se,zi=$e,$a,Io,ec,qo,Ko,ho;Qi<=-mt||Qi>Na?(Qi=0,$a=0,ec=0,Ko=0):Qi<=0?(ec=-Qi,Qi=0,$a=Math.min(Na,mt+Qi),Ko=$a):Qi<=Na&&(ec=0,$a=Math.min(mt,Na-Qi),Ko=$a),$a<=0||zi<=-Wt||zi>Hi?(zi=0,Io=0,qo=0,ho=0):zi<=0?(qo=-zi,zi=0,Io=Math.min(Hi,Wt+zi),ho=Io):zi<=Hi&&(qo=0,Io=Math.min(Wt,Hi-zi),ho=Io);var yo=[Qi,zi,$a,Io];if(Ko>0&&ho>0){var ts=Vi/mt;yo.push(ec*ts,qo*ts,Ko*ts,ho*ts)}return Yn.drawImage.apply(Yn,[v].concat(JM(yo.map(function(Ca){return Math.floor(Jx(Ca))})))),Mi},setAspectRatio:function(u){var f=this.options;return!this.disabled&&!H6(u)&&(f.aspectRatio=Math.max(0,u)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(u){var f=this.options,v=this.dragBox,H=this.face;if(this.ready&&!this.disabled){var se=u===zN,$e=f.movable&&u===qM;u=se||$e?u:VM,f.dragMode=u,ZS(v,XS,u),Lx(v,WF,se),Lx(v,HF,$e),f.cropBoxMovable||(ZS(H,XS,u),Lx(H,WF,se),Lx(H,HF,$e))}return this}},See=Wv.Cropper,Eee=function(){function o(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(LZ(this,o),!u||!YZ.test(u.tagName))throw new Error("The first argument is required and must be an or element.");this.element=u,this.options=Wd({},CO,Mx(f)&&f),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return BZ(o,[{key:"init",value:function(){var f=this.element,v=f.tagName.toLowerCase(),H;if(!f[Vd]){if(f[Vd]=this,v==="img"){if(this.isImg=!0,H=f.getAttribute("src")||"",this.originalUrl=H,!H)return;H=f.src}else v==="canvas"&&window.HTMLCanvasElement&&(H=f.toDataURL());this.load(H)}}},{key:"load",value:function(f){var v=this;if(!!f){this.url=f,this.imageData={};var H=this.element,se=this.options;if(!se.rotatable&&!se.scalable&&(se.checkOrientation=!1),!se.checkOrientation||!window.ArrayBuffer){this.clone();return}if(GZ.test(f)){$Z.test(f)?this.read(fee(f)):this.clone();return}var $e=new XMLHttpRequest,mt=this.clone.bind(this);this.reloading=!0,this.xhr=$e,$e.onabort=mt,$e.onerror=mt,$e.ontimeout=mt,$e.onprogress=function(){$e.getResponseHeader("content-type")!==EO&&$e.abort()},$e.onload=function(){v.read($e.response)},$e.onloadend=function(){v.reloading=!1,v.xhr=null},se.checkCrossOrigin&&kO(f)&&H.crossOrigin&&(f=AO(f)),$e.open("GET",f,!0),$e.responseType="arraybuffer",$e.withCredentials=H.crossOrigin==="use-credentials",$e.send()}}},{key:"read",value:function(f){var v=this.options,H=this.imageData,se=mee(f),$e=0,mt=1,Wt=1;if(se>1){this.url=_ee(f,EO);var fr=gee(se);$e=fr.rotate,mt=fr.scaleX,Wt=fr.scaleY}v.rotatable&&(H.rotate=$e),v.scalable&&(H.scaleX=mt,H.scaleY=Wt),this.clone()}},{key:"clone",value:function(){var f=this.element,v=this.url,H=f.crossOrigin,se=v;this.options.checkCrossOrigin&&kO(v)&&(H||(H="anonymous"),se=AO(v)),this.crossOrigin=H,this.crossOriginUrl=se;var $e=document.createElement("img");H&&($e.crossOrigin=H),$e.src=se||v,$e.alt=f.alt||"The image to crop",this.image=$e,$e.onload=this.start.bind(this),$e.onerror=this.stop.bind(this),H_($e,gO),f.parentNode.insertBefore($e,f.nextSibling)}},{key:"start",value:function(){var f=this,v=this.image;v.onload=null,v.onerror=null,this.sizing=!0;var H=Wv.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Wv.navigator.userAgent),se=function(fr,Yt){Wd(f.imageData,{naturalWidth:fr,naturalHeight:Yt,aspectRatio:fr/Yt}),f.initialImageData=Wd({},f.imageData),f.sizing=!1,f.sized=!0,f.build()};if(v.naturalWidth&&!H){se(v.naturalWidth,v.naturalHeight);return}var $e=document.createElement("img"),mt=document.body||document.documentElement;this.sizingImage=$e,$e.onload=function(){se($e.width,$e.height),H||mt.removeChild($e)},$e.src=v.src,H||($e.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",mt.appendChild($e))}},{key:"stop",value:function(){var f=this.image;f.onload=null,f.onerror=null,f.parentNode.removeChild(f),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var f=this.element,v=this.options,H=this.image,se=f.parentNode,$e=document.createElement("div");$e.innerHTML=QZ;var mt=$e.querySelector(".".concat(Vd,"-container")),Wt=mt.querySelector(".".concat(Vd,"-canvas")),fr=mt.querySelector(".".concat(Vd,"-drag-box")),Yt=mt.querySelector(".".concat(Vd,"-crop-box")),Ir=Yt.querySelector(".".concat(Vd,"-face"));this.container=se,this.cropper=mt,this.canvas=Wt,this.dragBox=fr,this.cropBox=Yt,this.viewBox=mt.querySelector(".".concat(Vd,"-view-box")),this.face=Ir,Wt.appendChild(H),H_(f,hh),se.insertBefore(mt,f.nextSibling),this.isImg||qv(H,gO),this.initPreview(),this.bind(),v.initialAspectRatio=Math.max(0,v.initialAspectRatio)||NaN,v.aspectRatio=Math.max(0,v.aspectRatio)||NaN,v.viewMode=Math.max(0,Math.min(3,Math.round(v.viewMode)))||0,H_(Yt,hh),v.guides||H_(Yt.getElementsByClassName("".concat(Vd,"-dashed")),hh),v.center||H_(Yt.getElementsByClassName("".concat(Vd,"-center")),hh),v.background&&H_(mt,"".concat(Vd,"-bg")),v.highlight||H_(Ir,zZ),v.cropBoxMovable&&(H_(Ir,HF),ZS(Ir,XS,KN)),v.cropBoxResizable||(H_(Yt.getElementsByClassName("".concat(Vd,"-line")),hh),H_(Yt.getElementsByClassName("".concat(Vd,"-point")),hh)),this.render(),this.ready=!0,this.setDragMode(v.dragMode),v.autoCrop&&this.crop(),this.setData(v.data),gh(v.ready)&&g0(f,xO,v.ready,{once:!0}),Ux(f,xO)}}},{key:"unbuild",value:function(){!this.ready||(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),qv(this.element,hh))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=See,o}},{key:"setDefaults",value:function(f){Wd(CO,Mx(f)&&f)}}]),o}();Wd(Eee.prototype,hee,yee,vee,Dee,xee,bee);var FO={exports:{}};(function(o,u){(function(f,v){v(u)})(x0,function(f){/*! ***************************************************************************** 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 v=function(){return v=Object.assign||function(d){for(var y,S=1,O=arguments.length;S0&&J[J.length-1])&&(Ue[0]===6||Ue[0]===2)){y=0;continue}if(Ue[0]===3&&(!J||Ue[1]>J[0]&&Ue[1]=l.length&&(l=void 0),{value:l&&l[S++],done:!l}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")}function mt(l,d){var y=typeof Symbol=="function"&&l[Symbol.iterator];if(!y)return l;var S=y.call(l),O,J=[],M;try{for(;(d===void 0||d-- >0)&&!(O=S.next()).done;)J.push(O.value)}catch(L){M={error:L}}finally{try{O&&!O.done&&(y=S.return)&&y.call(S)}finally{if(M)throw M.error}}return J}function Wt(l,d,y){if(y||arguments.length===2)for(var S=0,O=d.length,J;S Promise))`.","See if using `DarkReader.setFetchMethod(window.fetch)`","before `DarkReader.enable()` works."].join(" ")))]})})},$a=zi;function Io(l){l?$a=l:$a=zi}function ec(l){return H(this,void 0,void 0,function(){return se(this,function(d){switch(d.label){case 0:return[4,$a(l)];case 1:return[2,d.sent()]}})})}function qo(){if(typeof chrome=="undefined")return;typeof window!="undefined"&&!window.chrome&&(window.chrome={}),typeof chrome!="undefined"&&!chrome.runtime&&(chrome.runtime={});var l=new Set;function d(){for(var J=[],M=0;M=S){if(St-UeAs)return!0;for(var d=0,y=0;yAs)return!0;return!1}function Ds(l){var d=new Set,y=new Set,S=new Set;l.forEach(function(M){Ca(M.addedNodes,function(L){L instanceof Element&&L.isConnected&&d.add(L)}),Ca(M.removedNodes,function(L){L instanceof Element&&(L.isConnected?(S.add(L),d.delete(L)):y.add(L))})});var O=[],J=[];return d.forEach(function(M){d.has(M.parentElement)&&O.push(M)}),y.forEach(function(M){y.has(M.parentElement)&&J.push(M)}),O.forEach(function(M){return d.delete(M)}),J.forEach(function(M){return y.delete(M)}),{additions:d,moves:S,deletions:y}}var $s=new Map,oa=new WeakMap;function Oo(l,d){var y,S,O;if($s.has(l))y=$s.get(l),S=oa.get(y);else{var J=!1,M=!1;y=new MutationObserver(function(L){if(Qs(L))!J||Vs()?S.forEach(function(Ue){var U=Ue.onHugeMutations;return U(l)}):M||(O=function(){return S.forEach(function(Ue){var U=Ue.onHugeMutations;return U(l)})},Ku(O),M=!0),J=!0;else{var Ce=Ds(L);S.forEach(function(Ue){var U=Ue.onMinorMutations;return U(Ce)})}}),y.observe(l,{childList:!0,subtree:!0}),$s.set(l,y),S=new Set,oa.set(y,S)}return S.add(d),{disconnect:function(){S.delete(d),O&&Ri(O),S.size===0&&(y.disconnect(),oa.delete(y),$s.delete(l))}}}var fc,_c=new Map;function gu(l){return fc||(fc=document.createElement("a")),fc.href=l,fc.href}function Fu(l,d){d===void 0&&(d=null);var y=""+l+(d?";"+d:"");if(_c.has(y))return _c.get(y);if(d){var S=new URL(l,gu(d));return _c.set(y,S),S}var O=new URL(gu(l));return _c.set(l,O),O}function rl(l,d){if(d.match(/^data\\?\:/))return d;if(/^\/\//.test(d))return""+location.protocol+d;var y=Fu(l),S=Fu(d,y.href);return S.href}function Qu(l){if(l.startsWith("data:"))return!0;var d=Fu(l);return d.protocol!==location.protocol||d.hostname!==location.hostname||d.port!==location.port?!1:d.pathname===location.pathname}function Pl(l,d,y){Ca(l,function(S){if(S.selectorText)d(S);else if(S.href)try{Pl(S.styleSheet.cssRules,d,y)}catch{y&&y()}else if(S.media){var O=Array.from(S.media),J=O.some(function(L){return L.startsWith("screen")||L.startsWith("all")||L.startsWith("(")}),M=O.some(function(L){return L.startsWith("print")||L.startsWith("speech")});(J||!M)&&Pl(S.cssRules,d,y)}else S.conditionText?CSS.supports(S.conditionText)&&Pl(S.cssRules,d,y):void 0})}var pd=["background","border","border-color","border-bottom","border-left","border-right","border-top","outline","outline-color"],ef=gi?pd.map(function(l){var d=new RegExp(l+":\\s*(.*?)\\s*;");return[l,d]}):null;function tc(l,d){Ca(l,function(S){var O=l.getPropertyValue(S).trim();!O||d(S,O)});var y=l.cssText;y.includes("var(")&&(gi?ef.forEach(function(S){var O=mt(S,2),J=O[0],M=O[1],L=y.match(M);if(L&&L[1]){var Ce=L[1].trim();d(J,Ce)}}):pd.forEach(function(S){var O=l.getPropertyValue(S);O&&O.includes("var(")&&d(S,O)}))}var Co=/url\((('.+?')|(".+?")|([^\)]*?))\)/g,mo=/@import\s*(url\()?(('.+?')|(".+?")|([^\)]*?))\)? ?(screen)?;?/g;function vo(l){return l.replace(/^url\((.*)\)$/,"$1").trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1")}function Bo(l){var d=Fu(l);return""+d.origin+d.pathname.replace(/\?.*$/,"").replace(/(\/)([^\/]+)$/i,"$1")}function Vo(l,d){return l.replace(Co,function(y){var S=vo(y);try{return'url("'+rl(d,S)+'")'}catch{return y}})}var rc=/\/\*[\s\S]*?\*\//g;function Fa(l){return l.replace(rc,"")}var Tc=/@font-face\s*{[^}]*}/g;function Gi(l){return l.replace(Tc,"")}function Rn(l){var d=l.h,y=l.s,S=l.l,O=l.a,J=O===void 0?1:O;if(y===0){var M=mt([S,S,S].map(function(St){return Math.round(St*255)}),3),L=M[0],Ce=M[1],Ue=M[2];return{r:L,g:Ue,b:Ce,a:J}}var U=(1-Math.abs(2*S-1))*y,$=U*(1-Math.abs(d/60%2-1)),Q=S-U/2,ae=mt((d<60?[U,$,0]:d<120?[$,U,0]:d<180?[0,U,$]:d<240?[0,$,U]:d<300?[$,0,U]:[U,0,$]).map(function(St){return Math.round((St+Q)*255)}),3),We=ae[0],Re=ae[1],et=ae[2];return{r:We,g:Re,b:et,a:J}}function jr(l){var d=l.r,y=l.g,S=l.b,O=l.a,J=O===void 0?1:O,M=d/255,L=y/255,Ce=S/255,Ue=Math.max(M,L,Ce),U=Math.min(M,L,Ce),$=Ue-U,Q=(Ue+U)/2;if($===0)return{h:0,s:0,l:Q,a:J};var ae=(Ue===M?(L-Ce)/$%6:Ue===L?(Ce-M)/$+2:(M-L)/$+4)*60;ae<0&&(ae+=360);var We=$/(1-Math.abs(2*Q-1));return{h:ae,s:We,l:Q,a:J}}function Bn(l,d){d===void 0&&(d=0);var y=l.toFixed(d);if(d===0)return y;var S=y.indexOf(".");if(S>=0){var O=y.match(/0+$/);if(O)return O.index===S+1?y.substring(0,S):y.substring(0,O.index)}return y}function Qn(l){var d=l.r,y=l.g,S=l.b,O=l.a;return O!=null&&O<1?"rgba("+Bn(d)+", "+Bn(y)+", "+Bn(S)+", "+Bn(O,2)+")":"rgb("+Bn(d)+", "+Bn(y)+", "+Bn(S)+")"}function oi(l){var d=l.r,y=l.g,S=l.b,O=l.a;return"#"+(O!=null&&O<1?[d,y,S,Math.round(O*255)]:[d,y,S]).map(function(J){return(J<16?"0":"")+J.toString(16)}).join("")}function ji(l){var d=l.h,y=l.s,S=l.l,O=l.a;return O!=null&&O<1?"hsla("+Bn(d)+", "+Bn(y*100)+"%, "+Bn(S*100)+"%, "+Bn(O,2)+")":"hsl("+Bn(d)+", "+Bn(y*100)+"%, "+Bn(S*100)+"%)"}var ti=/^rgba?\([^\(\)]+\)$/,bi=/^hsla?\([^\(\)]+\)$/,ln=/^#[0-9a-f]+$/i;function Fr(l){var d=l.trim().toLowerCase();if(d.match(ti))return qn(d);if(d.match(bi))return pa(d);if(d.match(ln))return ya(d);if(as.has(d))return Ka(d);if(ls.has(d))return Do(d);if(l==="transparent")return{r:0,g:0,b:0,a:0};throw new Error("Unable to parse "+l)}function Gr(l){var d=[],y=0,S=!1,O=l.indexOf("(");l=l.substring(O+1,l.length-1);for(var J=0;J="0"&&M<="9"||M==="."||M==="+"||M==="-"?S=!0:S&&(M===" "||M===",")?(d.push(l.substring(y,J)),S=!1,y=J+1):S||(y=J+1)}return S&&d.push(l.substring(y,l.length)),d}function Yr(l,d,y){var S=Gr(l),O=Object.entries(y),J=S.map(function(M){return M.trim()}).map(function(M,L){var Ce,Ue=O.find(function(U){var $=mt(U,1),Q=$[0];return M.endsWith(Q)});return Ue?Ce=parseFloat(M.substring(0,M.length-Ue[0].length))/Ue[1]*d[L]:Ce=parseFloat(M),d[L]>1?Math.round(Ce):Ce});return J}var $r=[255,255,255,1],Jr={"%":100};function qn(l){var d=mt(Yr(l,$r,Jr),4),y=d[0],S=d[1],O=d[2],J=d[3],M=J===void 0?1:J;return{r:y,g:S,b:O,a:M}}var ii=[360,1,1,1],Pi={"%":100,deg:360,rad:2*Math.PI,turn:1};function pa(l){var d=mt(Yr(l,ii,Pi),4),y=d[0],S=d[1],O=d[2],J=d[3],M=J===void 0?1:J;return Rn({h:y,s:S,l:O,a:M})}function ya(l){var d=l.substring(1);switch(d.length){case 3:case 4:{var y=mt([0,1,2].map(function(Ce){return parseInt(""+d[Ce]+d[Ce],16)}),3),S=y[0],O=y[1],J=y[2],M=d.length===3?1:parseInt(""+d[3]+d[3],16)/255;return{r:S,g:O,b:J,a:M}}case 6:case 8:{var L=mt([0,2,4].map(function(Q){return parseInt(d.substring(Q,Q+2),16)}),3),S=L[0],O=L[1],J=L[2],M=d.length===6?1:parseInt(d.substring(6,8),16)/255;return{r:S,g:O,b:J,a:M}}}throw new Error("Unable to parse "+l)}function Ka(l){var d=as.get(l);return{r:d>>16&255,g:d>>8&255,b:d>>0&255,a:1}}function Do(l){var d=ls.get(l);return{r:d>>16&255,g:d>>8&255,b:d>>0&255,a:1}}var Ea=function(l){return l>="0"&&l<="9"},jo=function(l){return Math.floor(Math.log10(l))+1};function Ha(l){for(var d=0,y=function(Ue,U,$){l=l.substring(0,Ue)+$+l.substring(U)},S=function(){for(var Ue=0,U=1;U<4;U++){var $=l[d+U];if($===" ")break;if(Ea($))Ue*=10,Ue+=Number($);else break}var Q=jo(Ue);d+=Q;var ae=l[d+1];if(ae==="%")return d++,Ue};(d=l.indexOf("calc("))!==0;){var O=d;d+=4;var J=S();if(!J||l[d+1]!==" ")break;d++;var M=l[d+1];if(M!=="+"&&M!=="-"||(d++,l[d+1]!==" "))break;d++;var L=S();if(!L)break;var Ce=void 0;M==="+"?Ce=J+L+"%":Ce=J-L+"%",y(O,d+2,Ce)}return l}var as=new Map(Object.entries({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074})),ls=new Map(Object.entries({ActiveBorder:3906044,ActiveCaption:0,AppWorkspace:11184810,Background:6513614,ButtonFace:16777215,ButtonHighlight:15329769,ButtonShadow:10461343,ButtonText:0,CaptionText:0,GrayText:8355711,Highlight:11720703,HighlightText:0,InactiveBorder:16777215,InactiveCaption:16777215,InactiveCaptionText:0,InfoBackground:16514245,InfoText:0,Menu:16185078,MenuText:16777215,Scrollbar:11184810,ThreeDDarkShadow:0,ThreeDFace:12632256,ThreeDHighlight:16777215,ThreeDLightShadow:16777215,ThreeDShadow:0,Window:15527148,WindowFrame:11184810,WindowText:0,"-webkit-focus-ring-color":15046400}).map(function(l){var d=mt(l,2),y=d[0],S=d[1];return[y.toLowerCase(),S]}));function Rc(l,d,y,S,O){return(l-d)*(O-S)/(y-d)+S}function fi(l,d,y){return Math.min(y,Math.max(d,l))}function sl(l,d){for(var y=[],S=0,O=l.length;S200&&S<280;Ce=O<.24||J>.8&&Ue}var U=S,$=J;Ce&&(L?(U=d.h,$=d.s):(U=y.h,$=y.s));var Q=Rc(J,0,1,d.l,y.l);return{h:U,s:$,l:Q,a:M}}var eg=.4;function Rg(l,d){var y=l.h,S=l.s,O=l.l,J=l.a,M=O<.5,L=y>200&&y<280,Ce=S<.12||O>.8&&L;if(M){var Ue=Rc(O,0,.5,0,eg);if(Ce){var U=d.h,$=d.s;return{h:U,s:$,l:Ue,a:J}}return{h:y,s:S,l:Ue,a:J}}var Q=Rc(O,.5,1,eg,d.l);if(Ce){var ae=d.h,$=d.s;return{h:ae,s:$,l:Q,a:J}}var We=y,Re=y>60&&y<180;if(Re){var et=y>120;et?We=Rc(y,120,180,135,180):We=Rc(y,60,120,60,105)}return{h:We,s:S,l:Q,a:J}}function Up(l,d){if(d.mode===0)return Bg(l,d);var y=xp(d);return Ad(l,v(v({},d),{mode:0}),Rg,y)}var a_=.55;function bf(l){return Rc(l,205,245,205,220)}function tg(l,d){var y=l.h,S=l.s,O=l.l,J=l.a,M=O>.5,L=O<.2||S<.24,Ce=!L&&y>205&&y<245;if(M){var Ue=Rc(O,.5,1,a_,d.l);if(L){var U=d.h,$=d.s;return{h:U,s:$,l:Ue,a:J}}var Q=y;return Ce&&(Q=bf(y)),{h:Q,s:S,l:Ue,a:J}}if(L){var ae=d.h,$=d.s,We=Rc(O,0,.5,d.l,a_);return{h:ae,s:$,l:We,a:J}}var Re=y,et;return Ce?(Re=bf(y),et=Rc(O,0,.5,d.l,Math.min(1,a_+.05))):et=Rc(O,0,.5,d.l,a_),{h:Re,s:S,l:et,a:J}}function tf(l,d){if(d.mode===0)return Bg(l,d);var y=Vp(d);return Ad(l,v(v({},d),{mode:0}),tg,y)}function rg(l,d,y){var S=l.h,O=l.s,J=l.l,M=l.a,L=J<.5,Ce=J<.2||O<.24,Ue=S,U=O;Ce&&(L?(Ue=d.h,U=d.s):(Ue=y.h,U=y.s));var $=Rc(J,0,1,.5,.2);return{h:Ue,s:U,l:$,a:M}}function Kf(l,d){if(d.mode===0)return Bg(l,d);var y=Vp(d),S=xp(d);return Ad(l,v(v({},d),{mode:0}),rg,y,S)}function v_(l,d){return Up(l,d)}function D_(l,d){return Up(l,d)}function Im(l){var d=[];return d.push('*:not(pre, pre *, code, .far, .fa, .glyphicon, [class*="vjs-"], .fab, .fa-github, .fas, .material-icons, .icofont, .typcn, mu, [class*="mu-"], .glyphicon, .icon) {'),l.useFont&&l.fontFamily&&d.push(" font-family: "+l.fontFamily+" !important;"),l.textStroke>0&&(d.push(" -webkit-text-stroke: "+l.textStroke+"px !important;"),d.push(" text-stroke: "+l.textStroke+"px !important;")),d.push("}"),d.join(` `)}var fp;(function(l){l[l.light=0]="light",l[l.dark=1]="dark"})(fp||(fp={}));function zf(l){var d=[];return l.mode===fp.dark&&d.push("invert(100%) hue-rotate(180deg)"),l.brightness!==100&&d.push("brightness("+l.brightness+"%)"),l.contrast!==100&&d.push("contrast("+l.contrast+"%)"),l.grayscale!==0&&d.push("grayscale("+l.grayscale+"%)"),l.sepia!==0&&d.push("sepia("+l.sepia+"%)"),d.length===0?null:d.join(" ")}function Dy(l){return l.slice(0,4).map(function(d){return d.map(function(y){return y.toFixed(3)}).join(" ")}).join(" ")}function bh(l){return Dy(iu(l))}var xy=0,Kp=new Map,uu=new Map;function Sh(l){return H(this,void 0,void 0,function(){return se(this,function(d){return[2,new Promise(function(y,S){var O=++xy;Kp.set(O,y),uu.set(O,S),typeof chrome!="undefined"&&chrome.runtime.sendMessage({type:fr.CS_FETCH,data:l,id:O})})]})})}typeof chrome!="undefined"&&chrome.runtime.onMessage.addListener(function(l){var d=l.type,y=l.data,S=l.error,O=l.id;if(d===fr.BG_FETCH_RESPONSE){var J=Kp.get(O),M=uu.get(O);Kp.delete(O),uu.delete(O),S?M&&M(S):J&&J(y)}});var ng=function(){function l(){this.queue=[],this.timerId=null,this.frameDuration=1e3/60}return l.prototype.addToQueue=function(d){this.queue.push(d),this.startQueue()},l.prototype.stopQueue=function(){this.timerId!==null&&(cancelAnimationFrame(this.timerId),this.timerId=null),this.queue=[]},l.prototype.startQueue=function(){var d=this;this.timerId||(this.timerId=requestAnimationFrame(function(){d.timerId=null;for(var y=Date.now(),S;S=d.queue.shift();)if(S(),Date.now()-y>=d.frameDuration){d.startQueue();break}}))},l}(),Q_=new ng;function Eh(l){return H(this,void 0,void 0,function(){var d=this;return se(this,function(y){return[2,new Promise(function(S,O){return H(d,void 0,void 0,function(){var J,M,L,Ce;return se(this,function(Ue){switch(Ue.label){case 0:return l.startsWith("data:")?(J=l,[3,4]):[3,1];case 1:return Ue.trys.push([1,3,,4]),[4,ig(l)];case 2:return J=Ue.sent(),[3,4];case 3:return M=Ue.sent(),O(M),[2];case 4:return Ue.trys.push([4,6,,7]),[4,Ch(J)];case 5:return L=Ue.sent(),Q_.addToQueue(function(){S(v({src:l,dataURL:J,width:L.naturalWidth,height:L.naturalHeight},b_(L)))}),[3,7];case 6:return Ce=Ue.sent(),O(Ce),[3,7];case 7:return[2]}})})})]})})}function ig(l){return H(this,void 0,void 0,function(){var d;return se(this,function(y){switch(y.label){case 0:return d=new URL(l),d.origin!==location.origin?[3,2]:[4,Hi(l)];case 1:return[2,y.sent()];case 2:return[4,Sh({url:l,responseType:"data-url"})];case 3:return[2,y.sent()]}})})}function Ch(l){return H(this,void 0,void 0,function(){return se(this,function(d){return[2,new Promise(function(y,S){var O=new Image;O.onload=function(){return y(O)},O.onerror=function(){return S("Unable to load image "+l)},O.src=l})]})})}var bp=32*32,Wp,Hp;function x_(){var l=bp,d=bp;Wp=document.createElement("canvas"),Wp.width=l,Wp.height=d,Hp=Wp.getContext("2d"),Hp.imageSmoothingEnabled=!1}function Gp(){Wp=null,Hp=null}var Sf=5*1024*1024;function b_(l){Wp||x_();var d=l.naturalWidth,y=l.naturalHeight;if(y===0||d===0)return""+l.currentSrc,null;var S=d*y*4;if(S>Sf)return{isDark:!1,isLight:!1,isTransparent:!1,isLarge:!1,isTooLarge:!0};var O=d*y,J=Math.min(1,Math.sqrt(bp/O)),M=Math.ceil(d*J),L=Math.ceil(y*J);Hp.clearRect(0,0,M,L),Hp.drawImage(l,0,0,d,y,0,0,M,L);var Ce=Hp.getImageData(0,0,M,L),Ue=Ce.data,U=.05,$=.4,Q=.7,ae=0,We=0,Re=0,et,St,It,Gt,_t,ot,Kt,B;for(It=0;ItQ&&Re++);var X=M*L,G=X-ae,de=.7,oe=.7,re=.1,Be=800*600;return{isDark:We/G>=de,isLight:Re/G>=oe,isTransparent:ae/X>=re,isLarge:O>=Be,isTooLarge:!1}}function S_(l,d){var y=l.dataURL,S=l.width,O=l.height,J=bh(d),M=['',"",'','',"","",'',""].join("");return"data:image/svg+xml;base64,"+btoa(M)}function Om(){Q_&&Q_.stopQueue(),Gp()}function E_(l,d){return Boolean(l&&l.getPropertyPriority(d))}function jg(l,d,y,S,O,J){if(l.startsWith("--")){var M=ci(S,l,d,y,O,J);if(M)return{property:l,value:M,important:E_(y.style,l),sourceValue:d}}else if(d.includes("var(")){var M=Ji(S,l,d);if(M)return{property:l,value:M,important:E_(y.style,l),sourceValue:d}}else if(l.includes("color")&&l!=="-webkit-print-color-adjust"||l==="fill"||l==="stroke"||l==="stop-color"){var M=Kc(l,d);if(M)return{property:l,value:M,important:E_(y.style,l),sourceValue:d}}else if(l==="background-image"||l==="list-style-image"){var M=Ei(d,y,O,J);if(M)return{property:l,value:M,important:E_(y.style,l),sourceValue:d}}else if(l.includes("shadow")){var M=ta(d);if(M)return{property:l,value:M,important:E_(y.style,l),sourceValue:d}}return null}function Th(l,d,y){var S=[];return d||(S.push("html {"),S.push(" background-color: "+Up({r:255,g:255,b:255},l)+" !important;"),S.push("}")),S.push((d?"":"html, body, ")+(y?"input, textarea, select, button":"")+" {"),S.push(" background-color: "+Up({r:255,g:255,b:255},l)+";"),S.push("}"),S.push("html, body, "+(y?"input, textarea, select, button":"")+" {"),S.push(" border-color: "+Kf({r:76,g:76,b:76},l)+";"),S.push(" color: "+tf({r:0,g:0,b:0},l)+";"),S.push("}"),S.push("a {"),S.push(" color: "+tf({r:0,g:64,b:255},l)+";"),S.push("}"),S.push("table {"),S.push(" border-color: "+Kf({r:128,g:128,b:128},l)+";"),S.push("}"),S.push("::placeholder {"),S.push(" color: "+tf({r:169,g:169,b:169},l)+";"),S.push("}"),S.push("input:-webkit-autofill,"),S.push("textarea:-webkit-autofill,"),S.push("select:-webkit-autofill {"),S.push(" background-color: "+Up({r:250,g:255,b:189},l)+" !important;"),S.push(" color: "+tf({r:0,g:0,b:0},l)+" !important;"),S.push("}"),l.scrollbarColor&&S.push(Go(l)),l.selectionColor&&S.push(cc(l)),S.join(` `)}function ag(l){var d,y;if(l.selectionColor==="auto")d=Up({r:0,g:96,b:212},v(v({},l),{grayscale:0})),y=tf({r:255,g:255,b:255},v(v({},l),{grayscale:0}));else{var S=Fr(l.selectionColor),O=jr(S);d=l.selectionColor,O.l<.5?y="#FFF":y="#000"}return{backgroundColorSelection:d,foregroundColorSelection:y}}function cc(l){var d=[],y=ag(l),S=y.backgroundColorSelection,O=y.foregroundColorSelection;return["::selection","::-moz-selection"].forEach(function(J){d.push(J+" {"),d.push(" background-color: "+S+" !important;"),d.push(" color: "+O+" !important;"),d.push("}")}),d.join(` `)}function Go(l){var d=[],y,S,O,J,M,L;if(l.scrollbarColor==="auto")y=Up({r:241,g:241,b:241},l),S=tf({r:96,g:96,b:96},l),O=Up({r:176,g:176,b:176},l),J=Up({r:144,g:144,b:144},l),M=Up({r:96,g:96,b:96},l),L=Up({r:255,g:255,b:255},l);else{var Ce=Fr(l.scrollbarColor),Ue=jr(Ce),U=Ue.l>.5,$=function(ae){return v(v({},Ue),{l:fi(Ue.l+ae,0,1)})},Q=function(ae){return v(v({},Ue),{l:fi(Ue.l-ae,0,1)})};y=ji(Q(.4)),S=ji(U?Q(.4):$(.4)),O=ji(Ue),J=ji($(.1)),M=ji($(.2))}return d.push("::-webkit-scrollbar {"),d.push(" background-color: "+y+";"),d.push(" color: "+S+";"),d.push("}"),d.push("::-webkit-scrollbar-thumb {"),d.push(" background-color: "+O+";"),d.push("}"),d.push("::-webkit-scrollbar-thumb:hover {"),d.push(" background-color: "+J+";"),d.push("}"),d.push("::-webkit-scrollbar-thumb:active {"),d.push(" background-color: "+M+";"),d.push("}"),d.push("::-webkit-scrollbar-corner {"),d.push(" background-color: "+L+";"),d.push("}"),Vi&&(d.push("* {"),d.push(" scrollbar-color: "+O+" "+y+";"),d.push("}")),d.join(` `)}function gs(l,d){var y=d.strict,S=[],O=location.hostname.endsWith("microsoft.com");return S.push("html, body, "+(y?"body :not(iframe)"+(O?':not(div[style^="position:absolute;top:0;left:-"]':""):"body > :not(iframe)")+" {"),S.push(" background-color: "+Up({r:255,g:255,b:255},l)+" !important;"),S.push(" border-color: "+Kf({r:64,g:64,b:64},l)+" !important;"),S.push(" color: "+tf({r:0,g:0,b:0},l)+" !important;"),S.push("}"),S.join(` `)}var Yo=new Set(["inherit","transparent","initial","currentcolor","none","unset"]),os=new Map;function Oc(l){if(l=l.trim(),os.has(l))return os.get(l);l.includes("calc(")&&(l=Ha(l));var d=Fr(l);return os.set(l,d),d}function xc(l){try{return Oc(l)}catch{return null}}function Kc(l,d){if(Yo.has(d.toLowerCase()))return d;try{var y=Oc(d);return l.includes("background")?function(S){return Up(y,S)}:l.includes("border")||l.includes("outline")?function(S){return Kf(y,S)}:function(S){return tf(y,S)}}catch{return null}}var qc=/[\-a-z]+gradient\(([^\(\)]*(\(([^\(\)]*(\(.*?\)))*[^\(\)]*\))){0,15}[^\(\)]*\)/g,tu=new Map,An=new Map;function Wn(l,d){if(!l||d.length===0)return!1;if(d.some(function(M){return M==="*"}))return!0;for(var y=l.split(/,\s*/g),S=function(M){var L=d[M];if(y.some(function(Ce){return Ce===L}))return{value:!0}},O=0;O2){""+We.src;var B=S_(We,v(v({},Re),{sepia:fi(Re.sepia+10,0,100)}));Kt='url("'+B+'")'}else if(St&&!It&&Re.mode===1)if(Gt)Kt="none";else{""+We.src;var X=S_(We,Re);Kt='url("'+X+'")'}else if(Re.mode===0&&St&&!Gt){""+We.src;var G=S_(We,v(v({},Re),{brightness:fi(Re.brightness-10,5,200),sepia:fi(Re.sepia+10,0,100)}));Kt='url("'+G+'")'}else Kt=null;return Kt},Q=[],ae=0;return Ce.forEach(function(We,Re){var et=We.match,St=We.type,It=We.index,Gt=ae,_t=It+et.length;ae=_t,Q.push(function(){return l.substring(Gt,It)}),Q.push(St==="url"?U(et):Ue(et)),Re===Ce.length-1&&Q.push(function(){return l.substring(_t)})}),function(We){var Re=Q.filter(Boolean).map(function(et){return et(We)});return Re.some(function(et){return et instanceof Promise})?Promise.all(Re).then(function(et){return et.join("")}):Re.join("")}}catch{return null}}function mi(l){try{var d=0,y=rp(/(^|\s)(?!calc)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/ig,l,2),S=0,O=y.map(function(J,M){var L=d,Ce=l.indexOf(J,d),Ue=Ce+J.length;d=Ue;var U=xc(J);return U?function($){return""+l.substring(L,Ce)+v_(U,$)+(M===y.length-1?l.substring(Ue):"")}:(S++,function(){return l.substring(L,Ue)})});return function(J){var M=O.map(function(L){return L(J)}).join("");return{matchesLength:y.length,unparseableMatchesLength:S,result:M}}}catch{return null}}function ta(l){var d=mi(l);return d?function(y){return d(y).result}:null}function ci(l,d,y,S,O,J){return l.getModifierForVariable({varName:d,sourceValue:y,rule:S,ignoredImgSelectors:O,isCancelled:J})}function Ji(l,d,y){return l.getModifierForVarDependant(d,y)}function Ta(){os.clear(),xl(),tu.clear(),Om(),An.clear()}var ba=1<<0,jn=1<<1,si=1<<2,Ii=1<<3,$i=function(){function l(){this.varTypes=new Map,this.rulesQueue=[],this.definedVars=new Set,this.varRefs=new Map,this.unknownColorVars=new Set,this.unknownBgVars=new Set,this.undefinedVars=new Set,this.initialVarTypes=new Map,this.changedTypeVars=new Set,this.typeChangeSubscriptions=new Map,this.unstableVarValues=new Map}return l.prototype.clear=function(){this.varTypes.clear(),this.rulesQueue.splice(0),this.definedVars.clear(),this.varRefs.clear(),this.unknownColorVars.clear(),this.unknownBgVars.clear(),this.undefinedVars.clear(),this.initialVarTypes.clear(),this.changedTypeVars.clear(),this.typeChangeSubscriptions.clear(),this.unstableVarValues.clear()},l.prototype.isVarType=function(d,y){return this.varTypes.has(d)&&(this.varTypes.get(d)&y)>0},l.prototype.addRulesForMatching=function(d){this.rulesQueue.push(d)},l.prototype.matchVariablesAndDependants=function(){var d=this;this.changedTypeVars.clear(),this.initialVarTypes=new Map(this.varTypes),this.collectRootVariables(),this.collectVariablesAndVarDep(this.rulesQueue),this.rulesQueue.splice(0),this.collectRootVarDependants(),this.varRefs.forEach(function(y,S){y.forEach(function(O){d.varTypes.has(S)&&d.resolveVariableType(O,d.varTypes.get(S))})}),this.unknownColorVars.forEach(function(y){d.unknownBgVars.has(y)?(d.unknownColorVars.delete(y),d.unknownBgVars.delete(y),d.resolveVariableType(y,ba)):d.isVarType(y,ba|jn|si)?d.unknownColorVars.delete(y):d.undefinedVars.add(y)}),this.unknownBgVars.forEach(function(y){var S=d.findVarRef(y,function(O){return d.unknownColorVars.has(O)||d.isVarType(O,jn|si)})!=null;S?d.itarateVarRefs(y,function(O){d.resolveVariableType(O,ba)}):d.isVarType(y,ba|Ii)?d.unknownBgVars.delete(y):d.undefinedVars.add(y)}),this.changedTypeVars.forEach(function(y){d.typeChangeSubscriptions.has(y)&&d.typeChangeSubscriptions.get(y).forEach(function(S){S()})}),this.changedTypeVars.clear()},l.prototype.getModifierForVariable=function(d){var y=this;return function(S){var O=d.varName,J=d.sourceValue,M=d.rule,L=d.ignoredImgSelectors,Ce=d.isCancelled,Ue=function(){var ae=[],We=function(It,Gt,_t){if(!!y.isVarType(O,It)){var ot=Gt(O),Kt;if(Yc(J))if(Xu(J)){var B=Cs(J,y.unstableVarValues);B||(B=It===ba?"#ffffff":"#000000"),Kt=_t(B,S)}else Kt=is(J,function(X){return Gt(X)},function(X){return _t(X,S)});else Kt=_t(J,S);ae.push({property:ot,value:Kt})}};if(We(ba,No,Sa),We(jn,lu,rs),We(si,Jo,yu),y.isVarType(O,Ii)){var Re=Sc(O),et=J;Yc(J)&&(et=is(J,function(It){return No(It)},function(It){return Sa(It,S)}));var St=Ei(et,M,L,Ce);et=typeof St=="function"?St(S):St,ae.push({property:Re,value:et})}return ae},U=new Set,$=function(ae){var We=function(){var Re=Ue();ae(Re)};U.add(We),y.subscribeForVarTypeChange(O,We)},Q=function(){U.forEach(function(ae){y.unsubscribeFromVariableTypeChanges(O,ae)})};return{declarations:Ue(),onTypeChange:{addListener:$,removeListeners:Q}}}},l.prototype.getModifierForVarDependant=function(d,y){var S=this;if(y.match(/^\s*(rgb|hsl)a?\(/)){var O=d.startsWith("background"),J=d==="color"||d==="caret-color";return function(M){var L=Cs(y,S.unstableVarValues);L||(L=O?"#ffffff":"#000000");var Ce=O?Sa:J?rs:yu;return Ce(L,M)}}return d==="background-color"?function(M){return is(y,function(L){return No(L)},function(L){return Sa(L,M)})}:d==="color"||d==="caret-color"?function(M){return is(y,function(L){return lu(L)},function(L){return rs(L,M)})}:d==="background"||d==="background-image"||d==="box-shadow"?function(M){var L=new Set,Ce=function(){var U=is(y,function(ae){return S.isVarType(ae,ba)?No(ae):S.isVarType(ae,Ii)?Sc(ae):(L.add(ae),ae)},function(ae){return Sa(ae,M)});if(d==="box-shadow"){var $=mi(U),Q=$(M);if(Q.unparseableMatchesLength!==Q.matchesLength)return Q.result}return U},Ue=Ce();return L.size>0?new Promise(function(U){var $=L.values().next().value,Q=function(){S.unsubscribeFromVariableTypeChanges($,Q);var ae=Ce();U(ae)};S.subscribeForVarTypeChange($,Q)}):Ue}:d.startsWith("border")||d.startsWith("outline")?function(M){return is(y,function(L){return Jo(L)},function(L){return yu(L,M)})}:null},l.prototype.subscribeForVarTypeChange=function(d,y){this.typeChangeSubscriptions.has(d)||this.typeChangeSubscriptions.set(d,new Set);var S=this.typeChangeSubscriptions.get(d);S.has(y)||S.add(y)},l.prototype.unsubscribeFromVariableTypeChanges=function(d,y){this.typeChangeSubscriptions.has(d)&&this.typeChangeSubscriptions.get(d).delete(y)},l.prototype.collectVariablesAndVarDep=function(d){var y=this;d.forEach(function(S){Pl(S,function(O){O.style&&tc(O.style,function(J,M){bs(J)&&y.inspectVariable(J,M),Yc(M)&&y.inspectVarDependant(J,M)})})})},l.prototype.collectRootVariables=function(){var d=this;tc(document.documentElement.style,function(y,S){bs(y)&&d.inspectVariable(y,S)})},l.prototype.inspectVariable=function(d,y){if(this.unstableVarValues.set(d,y),Yc(y)&&Xu(y)&&(this.unknownColorVars.add(d),this.definedVars.add(d)),!this.definedVars.has(d)){this.definedVars.add(d);var S=xc(y);S?this.unknownColorVars.add(d):(y.includes("url(")||y.includes("linear-gradient(")||y.includes("radial-gradient("))&&this.resolveVariableType(d,Ii)}},l.prototype.resolveVariableType=function(d,y){var S=this.initialVarTypes.get(d)||0,O=this.varTypes.get(d)||0,J=O|y;this.varTypes.set(d,J),(J!==S||this.undefinedVars.has(d))&&(this.changedTypeVars.add(d),this.undefinedVars.delete(d)),this.unknownColorVars.delete(d),this.unknownBgVars.delete(d)},l.prototype.collectRootVarDependants=function(){var d=this;tc(document.documentElement.style,function(y,S){Yc(S)&&d.inspectVarDependant(y,S)})},l.prototype.inspectVarDependant=function(d,y){var S=this;bs(d)?this.iterateVarDeps(y,function(O){S.varRefs.has(d)||S.varRefs.set(d,new Set),S.varRefs.get(d).add(O)}):d==="background-color"||d==="box-shadow"?this.iterateVarDeps(y,function(O){return S.resolveVariableType(O,ba)}):d==="color"||d==="caret-color"?this.iterateVarDeps(y,function(O){return S.resolveVariableType(O,jn)}):d.startsWith("border")||d.startsWith("outline")?this.iterateVarDeps(y,function(O){return S.resolveVariableType(O,si)}):(d==="background"||d==="background-image")&&this.iterateVarDeps(y,function(O){if(!S.isVarType(O,ba|Ii)){var J=S.findVarRef(O,function(M){return S.unknownColorVars.has(M)||S.isVarType(M,jn|si)})!=null;S.itarateVarRefs(O,function(M){J?S.resolveVariableType(M,ba):S.unknownBgVars.add(M)})}})},l.prototype.iterateVarDeps=function(d,y){var S=new Set;oc(d,function(O){return S.add(O)}),S.forEach(function(O){return y(O)})},l.prototype.findVarRef=function(d,y,S){var O,J;if(S===void 0&&(S=new Set),S.has(d))return null;S.add(d);var M=y(d);if(M)return d;var L=this.varRefs.get(d);if(!L||L.size===0)return null;try{for(var Ce=$e(L),Ue=Ce.next();!Ue.done;Ue=Ce.next()){var U=Ue.value,$=this.findVarRef(U,y,S);if($)return $}}catch(Q){O={error:Q}}finally{try{Ue&&!Ue.done&&(J=Ce.return)&&J.call(Ce)}finally{if(O)throw O.error}}return null},l.prototype.itarateVarRefs=function(d,y){this.findVarRef(d,function(S){return y(S),!1})},l.prototype.setOnRootVariableChange=function(d){this.onRootVariableDefined=d},l.prototype.putRootVars=function(d,y){var S,O,J=this,M=d.sheet;M.cssRules.length>0&&M.deleteRule(0);var L=new Map;tc(document.documentElement.style,function(Re,et){bs(Re)&&(J.isVarType(Re,ba)&&L.set(No(Re),Sa(et,y)),J.isVarType(Re,jn)&&L.set(lu(Re),rs(et,y)),J.isVarType(Re,si)&&L.set(Jo(Re),yu(et,y)),J.subscribeForVarTypeChange(Re,J.onRootVariableDefined))});var Ce=[];Ce.push(":root {");try{for(var Ue=$e(L),U=Ue.next();!U.done;U=Ue.next()){var $=mt(U.value,2),Q=$[0],ae=$[1];Ce.push(" "+Q+": "+ae+";")}}catch(Re){S={error:Re}}finally{try{U&&!U.done&&(O=Ue.return)&&O.call(Ue)}finally{if(S)throw S.error}}Ce.push("}");var We=Ce.join(` `);M.insertRule(We)},l}(),io=new $i;function ka(l,d){d===void 0&&(d=0);var y=l.indexOf("var(",d);if(y>=0){var S=hu(l,y+3);return S?{start:y,end:S.end}:null}}function Oa(l){for(var d=[],y=0,S;S=ka(l,y);){var O=S.start,J=S.end;d.push({start:O,end:J,value:l.substring(O,J)}),y=S.end+1}return d}function Eo(l,d){var y=Oa(l),S=y.length;if(S===0)return l;var O=l.length,J=y.map(function(U){return d(U.value)}),M=[];M.push(l.substring(0,y[0].start));for(var L=0;L=0?(y=l.substring(4,d).trim(),S=l.substring(d+1,l.length-1).trim()):(y=l.substring(4,l.length-1).trim(),S=""),{name:y,fallback:S}}function is(l,d,y){var S=function(O){var J=wo(O),M=J.name,L=J.fallback,Ce=d(M);if(!L)return"var("+Ce+")";var Ue;return Yc(L)?Ue=is(L,d,y):y?Ue=y(L):Ue=L,"var("+Ce+", "+Ue+")"};return Eo(l,S)}function oc(l,d){is(l,function(y){return d(y),y})}function No(l){return"--darkreader-bg"+l}function lu(l){return"--darkreader-text"+l}function Jo(l){return"--darkreader-border"+l}function Sc(l){return"--darkreader-bgimg"+l}function bs(l){return l.startsWith("--")}function Yc(l){return l.includes("var(")}function Xu(l){return l.match(/^\s*(rgb|hsl)a?\(/)}var Gn=/^\d{1,3}, ?\d{1,3}, ?\d{1,3}$/;function Ai(l){if(Gn.test(l)){var d=l.split(","),y="rgb(";return d.forEach(function(S){y+=S.trim()+", "}),y=y.substr(0,y.length-2),y+=")",{isRaw:!0,color:y}}return{isRaw:!1,color:l}}function Ma(l,d,y){var S=Ai(l),O=S.isRaw,J=S.color,M=xc(J);if(M){var L=y(M,d);if(O){var Ce=xc(L);return Ce?Ce.r+", "+Ce.g+", "+Ce.b:L}return L}return J}function Sa(l,d){return Ma(l,d,Up)}function rs(l,d){return Ma(l,d,tf)}function yu(l,d){return Ma(l,d,Kf)}function Cs(l,d,y){y===void 0&&(y=new Set);var S=!1,O=function(M){var L=wo(M),Ce=L.name,Ue=L.fallback;if(y.has(Ce))return S=!0,null;y.add(Ce);var U=d.get(Ce)||Ue,$=null;return U&&(Yc(U)?$=Cs(U,d,y):$=U),$||(S=!0,null)},J=Eo(l,O);return S?null:J}var Qc={"background-color":{customProp:"--darkreader-inline-bgcolor",cssProp:"background-color",dataAttr:"data-darkreader-inline-bgcolor"},"background-image":{customProp:"--darkreader-inline-bgimage",cssProp:"background-image",dataAttr:"data-darkreader-inline-bgimage"},"border-color":{customProp:"--darkreader-inline-border",cssProp:"border-color",dataAttr:"data-darkreader-inline-border"},"border-bottom-color":{customProp:"--darkreader-inline-border-bottom",cssProp:"border-bottom-color",dataAttr:"data-darkreader-inline-border-bottom"},"border-left-color":{customProp:"--darkreader-inline-border-left",cssProp:"border-left-color",dataAttr:"data-darkreader-inline-border-left"},"border-right-color":{customProp:"--darkreader-inline-border-right",cssProp:"border-right-color",dataAttr:"data-darkreader-inline-border-right"},"border-top-color":{customProp:"--darkreader-inline-border-top",cssProp:"border-top-color",dataAttr:"data-darkreader-inline-border-top"},"box-shadow":{customProp:"--darkreader-inline-boxshadow",cssProp:"box-shadow",dataAttr:"data-darkreader-inline-boxshadow"},color:{customProp:"--darkreader-inline-color",cssProp:"color",dataAttr:"data-darkreader-inline-color"},fill:{customProp:"--darkreader-inline-fill",cssProp:"fill",dataAttr:"data-darkreader-inline-fill"},stroke:{customProp:"--darkreader-inline-stroke",cssProp:"stroke",dataAttr:"data-darkreader-inline-stroke"},"outline-color":{customProp:"--darkreader-inline-outline",cssProp:"outline-color",dataAttr:"data-darkreader-inline-outline"},"stop-color":{customProp:"--darkreader-inline-stopcolor",cssProp:"stop-color",dataAttr:"data-darkreader-inline-stopcolor"}},Yl=Object.values(Qc),Tu={};Yl.forEach(function(l){var d=l.cssProp,y=l.customProp;return Tu[y]=d});var op=["style","fill","stop-color","stroke","bgcolor","color"],Wl=op.map(function(l){return"["+l+"]"}).join(", ");function rd(){return Yl.map(function(l){var d=l.dataAttr,y=l.customProp,S=l.cssProp;return["["+d+"] {"," "+S+": var("+y+") !important;","}"].join(` `)}).join(` `)}function rf(l){var d=[];return l instanceof Element&&l.matches(Wl)&&d.push(l),(l instanceof Element||_a&&l instanceof ShadowRoot||l instanceof Document)&&us(d,l.querySelectorAll(Wl)),d}var ms=new Map,Fs=new Map;function Zs(l,d){Mc(document,l,d),_s(document.documentElement,function(y){Mc(y.shadowRoot,l,d)})}function Mc(l,d,y){ms.has(l)&&(ms.get(l).disconnect(),Fs.get(l).disconnect());var S=new WeakSet;function O(Re){rf(Re).forEach(function(et){S.has(et)||(S.add(et),d(et))}),_s(Re,function(et){S.has(Re)||(S.add(Re),y(et.shadowRoot),Mc(et.shadowRoot,d,y))})}var J=Oo(l,{onMinorMutations:function(Re){var et=Re.additions;et.forEach(function(St){return O(St)})},onHugeMutations:function(){O(l)}});ms.set(l,J);var M=0,L=null,Ce=el({seconds:10}),Ue=el({seconds:2}),U=50,$=[],Q=null,ae=nu(function(Re){Re.forEach(function(et){op.includes(et.attributeName)&&d(et.target)})}),We=new MutationObserver(function(Re){if(Q){$.push.apply($,Wt([],mt(Re),!1));return}M++;var et=Date.now();if(L==null)L=et;else if(M>=U){if(et-L0&&$d(l,y)){J.forEach(function($){l.removeAttribute(Qc[$].dataAttr)});return}if(l.hasAttribute("bgcolor")){var L=l.getAttribute("bgcolor");(L.match(/^[0-9a-f]{3}$/i)||L.match(/^[0-9a-f]{6}$/i))&&(L="#"+L),M("background-color","background-color",L)}if(l.hasAttribute("color")&&l.rel!=="mask-icon"){var L=l.getAttribute("color");(L.match(/^[0-9a-f]{3}$/i)||L.match(/^[0-9a-f]{6}$/i))&&(L="#"+L),M("color","color",L)}if(l instanceof SVGElement){if(l.hasAttribute("fill")){var Ce=32,Ue=l.getAttribute("fill");if(Ue!=="none")if(l instanceof SVGTextElement)M("fill","color",Ue);else{var U=function(){var $=l.getBoundingClientRect(),Q=$.width,ae=$.height,We=Q>Ce||ae>Ce;M("fill",We?"background-color":"color",Ue)};tn()?U():na(U)}}l.hasAttribute("stop-color")&&M("stop-color","background-color",l.getAttribute("stop-color"))}if(l.hasAttribute("stroke")){var L=l.getAttribute("stroke");M("stroke",l instanceof SVGLineElement||l instanceof SVGTextElement?"border-color":"color",L)}l.style&&tc(l.style,function($,Q){if(!($==="background-image"&&Q.includes("url")))if(Qc.hasOwnProperty($))M($,$,Q);else{var ae=Tu[$];if(ae&&!l.style.getPropertyValue(ae)&&!l.hasAttribute(ae)){if(ae==="background-color"&&l.hasAttribute("bgcolor"))return;l.style.setProperty($,"")}}}),l.style&&l instanceof SVGTextElement&&l.style.fill&&M("fill","color",l.style.getPropertyValue("fill")),Ca(J,function($){l.removeAttribute(Qc[$].dataAttr)}),bl.set(l,dd(l,d))}var nf="theme-color",o_='meta[name="'+nf+'"]',C_=null,Fd=null;function Sp(l,d){C_=C_||l.content;try{var y=Fr(C_);l.content=Up(y,d)}catch{}}function fd(l){var d=document.querySelector(o_);d?Sp(d,l):(Fd&&Fd.disconnect(),Fd=new MutationObserver(function(y){e:for(var S=0;S0){var Xe=Oe.parentRule;Nt={selector:Oe.selectorText,declarations:pe,parentRule:Xe},_t.push(Nt)}y.set(Pe,Nt)},function(){J=!0}),St.forEach(function(Oe){d.delete(Oe),y.delete(Oe)}),O=It,!ae&&!et&&!Gt)return;l++;function ot(Oe,Pe,be){var pe=be.selector,Nt=be.declarations,Xe=function(Le){var rt=Le.property,Pt=Le.value,Zt=Le.important,pr=Le.sourceValue;return rt+": "+(Pt==null?pr:Pt)+(Zt?" !important":"")+";"},Ct="";Nt.forEach(function(Le){Ct+=Xe(Le)+" "});var le=pe+" { "+Ct+" }";Oe.insertRule(le,Pe)}var Kt=new Map,B=new Map,X=0,G=0,de={rule:null,rules:[],isGroup:!0},oe=new WeakMap;function re(Oe){if(Oe==null)return de;if(oe.has(Oe))return oe.get(Oe);var Pe={rule:Oe,rules:[],isGroup:!0};oe.set(Oe,Pe);var be=re(Oe.parentRule);return be.rules.push(Pe),Pe}S.forEach(function(Oe){return Oe()}),S.clear(),_t.filter(function(Oe){return Oe}).forEach(function(Oe){var Pe=Oe.selector,be=Oe.declarations,pe=Oe.parentRule,Nt=re(pe),Xe={selector:Pe,declarations:[],isGroup:!1},Ct=Xe.declarations;Nt.rules.push(Xe);function le(rt,Pt,Zt,pr){var or=++X,Wr={property:rt,value:null,important:Zt,asyncKey:or,sourceValue:pr};Ct.push(Wr);var ze=l;Pt.then(function(Rt){!Rt||Re()||ze!==l||(Wr.value=Rt,by.add(function(){Re()||ze!==l||tt(or)}))})}function Le(rt,Pt,Zt,pr){var or=Pt,Wr=or.declarations,ze=or.onTypeChange,Rt=++G,Mr=l,qr=Ct.length,Pr=[];if(Wr.length===0){var cn={property:rt,value:pr,important:Zt,sourceValue:pr,varKey:Rt};Ct.push(cn),Pr=[cn]}Wr.forEach(function(Tn){if(Tn.value instanceof Promise)le(Tn.property,Tn.value,Zt,pr);else{var ai={property:Tn.property,value:Tn.value,important:Zt,sourceValue:pr,varKey:Rt};Ct.push(ai),Pr.push(ai)}}),ze.addListener(function(Tn){if(!(Re()||Mr!==l)){var ai=Tn.map(function(an){return{property:an.property,value:an.value,important:Zt,sourceValue:pr,varKey:Rt}}),yt=Ct.indexOf(Pr[0],qr);Ct.splice.apply(Ct,Wt([yt,Pr.length],mt(ai),!1)),Pr=ai,Qe(Rt)}}),S.add(function(){return ze.removeListeners()})}be.forEach(function(rt){var Pt=rt.property,Zt=rt.value,pr=rt.important,or=rt.sourceValue;if(typeof Zt=="function"){var Wr=Zt($);Wr instanceof Promise?le(Pt,Wr,pr,or):Pt.startsWith("--")?Le(Pt,Wr,pr,or):Ct.push({property:Pt,value:Wr,important:pr,sourceValue:or})}else Ct.push({property:Pt,value:Zt,important:pr,sourceValue:or})})});var Be=We();function nt(){function Oe(be,pe){var Nt=be.rule;if(Nt instanceof CSSMediaRule){var Xe=Nt.media,Ct=pe.cssRules.length;return pe.insertRule("@media "+Xe.mediaText+" {}",Ct),pe.cssRules[Ct]}return pe}function Pe(be,pe,Nt){be.rules.forEach(function(Xe){if(Xe.isGroup){var Ct=Oe(Xe,pe);Pe(Xe,Ct,Nt)}else Nt(Xe,pe)})}Pe(de,Be,function(be,pe){var Nt=pe.cssRules.length;be.declarations.forEach(function(Xe){var Ct=Xe.asyncKey,le=Xe.varKey;Ct!=null&&Kt.set(Ct,{rule:be,target:pe,index:Nt}),le!=null&&B.set(le,{rule:be,target:pe,index:Nt})}),ot(pe,Nt,be)})}function tt(Oe){var Pe=Kt.get(Oe),be=Pe.rule,pe=Pe.target,Nt=Pe.index;pe.deleteRule(Nt),ot(pe,Nt,be),Kt.delete(Oe)}function Qe(Oe){var Pe=B.get(Oe),be=Pe.rule,pe=Pe.target,Nt=Pe.index;pe.deleteRule(Nt),ot(pe,Nt,be)}nt()}return{modifySheet:Ce,shouldRebuildStyle:L}}var X_='style, link[rel*="stylesheet" i]:not([disabled])';function zu(l){return(l instanceof HTMLStyleElement||l instanceof SVGStyleElement||l instanceof HTMLLinkElement&&l.rel&&l.rel.toLowerCase().includes("stylesheet")&&!l.disabled&&(Vi?!l.href.startsWith("moz-extension://"):!0))&&!l.classList.contains("darkreader")&&l.media.toLowerCase()!=="print"&&!l.classList.contains("stylus")}function $p(l,d,y){return d===void 0&&(d=[]),y===void 0&&(y=!0),zu(l)?d.push(l):(l instanceof Element||_a&&l instanceof ShadowRoot||l===document)&&(Ca(l.querySelectorAll(X_),function(S){return $p(S,d,!1)}),y&&_s(l,function(S){return $p(S.shadowRoot,d,!1)})),d}var Mm=new WeakSet,Ug=new WeakSet,Ef=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){Ef=!0});var lv=0,Lm=new Map;function S0(){Lm.clear()}function kh(l,d){for(var y=d.update,S=d.loadingStart,O=d.loadingEnd,J=[],M=l;(M=M.nextElementSibling)&&M.matches(".darkreader");)J.push(M);var L=J.find(function(Rt){return Rt.matches(".darkreader--cors")&&!Ug.has(Rt)})||null,Ce=J.find(function(Rt){return Rt.matches(".darkreader--sync")&&!Mm.has(Rt)})||null,Ue=null,U=null,$=!1,Q=!0,ae=b0(),We=new MutationObserver(function(){y()}),Re={attributes:!0,childList:!0,subtree:!0,characterData:!0};function et(){return l instanceof HTMLStyleElement&&l.textContent.trim().match(mo)}function St(Rt,Mr){var qr=!1;if(Rt){var Pr=void 0;e:for(var cn=0,Tn=Rt.length;cn=0;yt--)ai.deleteRule(yt)}function cn(){Ce||_t(),U&&U.stop(),Gt(),Ce.sheet==null&&(Ce.textContent="");var ai=Ce.sheet;return Pr(ai),U?U.run():U=ks(Ce,"prev-sibling",function(){de=!0,Tn()}),Ce.sheet}function Tn(){var ai=de;de=!1,ae.modifySheet({prepareSheet:cn,sourceCSSRules:qr,theme:Rt,ignoreImageAnalysis:Mr,force:ai,isAsyncCancelled:function(){return $}}),Q=Ce.sheet.cssRules.length===0,ae.shouldRebuildStyle()&&na(function(){return y()})}Tn()}function re(){try{return l.sheet==null?[null,null]:[l.sheet.cssRules,null]}catch(Rt){return[null,Rt]}}function Be(Rt){return Rt&&Rt.message&&Rt.message.includes("loading")}function nt(){var Rt=mt(re(),2),Mr=Rt[0],qr=Rt[1];return qr?null:Mr}function tt(){le(),!Di&&!(Ef&&l.sheet)&&pe()}var Qe=null,Oe=null;function Pe(){var Rt=nt();return Rt?Rt.length:null}function be(){return Pe()!==Qe}function pe(){Qe=Pe(),Nt();var Rt=function(){if(be()&&(Qe=Pe(),y()),Ef&&l.sheet){Nt();return}Oe=requestAnimationFrame(Rt)};Rt()}function Nt(){cancelAnimationFrame(Oe)}var Xe=!1;function Ct(){if(Ef=!0,Nt(),Xe)return;function Rt(){Xe=!1,!$&&y()}Xe=!0,typeof queueMicrotask=="function"?queueMicrotask(Rt):requestAnimationFrame(Rt)}function le(){l.addEventListener("__darkreader__updateSheet",Ct)}function Le(){l.removeEventListener("__darkreader__updateSheet",Ct)}function rt(){Le(),Nt()}function Pt(){We.disconnect(),$=!0,Ue&&Ue.stop(),U&&U.stop(),rt()}function Zt(){if(Pt(),ao(L),ao(Ce),O(),Lm.has(B)){var Rt=Lm.get(B);Lm.delete(B),Rt&&Rt()}}function pr(){We.observe(l,Re),l instanceof HTMLStyleElement&&tt()}var or=10,Wr=0;function ze(){!Ce||(Wr++,!(Wr>or)&&(Gt(),Ue&&Ue.skip(),U&&U.skip(),Q||(de=!0,y())))}return{details:G,render:oe,pause:Pt,destroy:Zt,watch:pr,restore:ze}}function Ah(l,d){return H(this,void 0,void 0,function(){return se(this,function(y){return[2,new Promise(function(S,O){var J=function(){l.removeEventListener("load",M),l.removeEventListener("error",L),Lm.delete(d)},M=function(){J(),S()},L=function(){J(),O("Linkelement "+d+" couldn't be loaded. "+l.href)};Lm.set(d,function(){J(),O()}),l.addEventListener("load",M),l.addEventListener("error",L),l.href||L()})]})})}function E0(l){return vo(l.substring(7).trim().replace(/;$/,"").replace(/screen$/,""))}function Sy(l){return H(this,void 0,void 0,function(){return se(this,function(d){switch(d.label){case 0:return l.startsWith("data:")?[4,fetch(l)]:[3,3];case 1:return[4,d.sent().text()];case 2:return[2,d.sent()];case 3:return[4,Sh({url:l,responseType:"text",mimeType:"text/css",origin:window.location.origin})];case 4:return[2,d.sent()]}})})}function C0(l,d,y){return y===void 0&&(y=new Map),H(this,void 0,void 0,function(){var S,O,J,M,L,Ce,Ue,U,$,Q;return se(this,function(ae){switch(ae.label){case 0:l=Fa(l),l=Gi(l),l=Vo(l,d),S=rp(mo,l),ae.label=1;case 1:ae.trys.push([1,10,11,12]),O=$e(S),J=O.next(),ae.label=2;case 2:return J.done?[3,9]:(M=J.value,L=E0(M),Ce=rl(d,L),Ue=void 0,y.has(Ce)?(Ue=y.get(Ce),[3,7]):[3,3]);case 3:return ae.trys.push([3,6,,7]),[4,Sy(Ce)];case 4:return Ue=ae.sent(),y.set(Ce,Ue),[4,C0(Ue,Bo(Ce),y)];case 5:return Ue=ae.sent(),[3,7];case 6:return ae.sent(),Ue="",[3,7];case 7:l=l.split(M).join(Ue),ae.label=8;case 8:return J=O.next(),[3,2];case 9:return[3,12];case 10:return U=ae.sent(),$={error:U},[3,12];case 11:try{J&&!J.done&&(Q=O.return)&&Q.call(O)}finally{if($)throw $.error}return[7];case 12:return l=l.trim(),[2,l]}})})}function T0(l,d){if(!d)return null;var y=document.createElement("style");return y.classList.add("darkreader"),y.classList.add("darkreader--cors"),y.media="screen",y.textContent=d,l.parentNode.insertBefore(y,l.nextSibling),y.sheet.disabled=!0,Ug.add(y),y}var T_=[],Bm,_d=new Map,Z_;function Kg(l){!ea||Ca(l.querySelectorAll(":not(:defined)"),function(d){var y=d.tagName.toLowerCase();if(!y.includes("-")){var S=d.getAttribute("is");if(S)y=S;else return}_d.has(y)||(_d.set(y,new Set),tm(y).then(function(){if(Z_){var O=_d.get(y);_d.delete(y),Z_(Array.from(O))}})),_d.get(y).add(d)})}var Rm=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){Rm=!0});var Fh=new Map;function em(l){if(Rm=!0,Fh.has(l.detail.tag)){var d=Fh.get(l.detail.tag);d()}}function tm(l){return H(this,void 0,void 0,function(){return se(this,function(d){return[2,new Promise(function(y){if(window.customElements&&typeof customElements.whenDefined=="function")customElements.whenDefined(l).then(function(){return y()});else if(Rm)Fh.set(l,y),document.dispatchEvent(new CustomEvent("__darkreader__addUndefinedResolver",{detail:{tag:l}}));else{var S=function(){var O=_d.get(l);O&&O.size>0&&(O.values().next().value.matches(":defined")?y():requestAnimationFrame(S))};requestAnimationFrame(S)}})]})})}function k_(l){Z_=l}function jm(){Z_=null,_d.clear(),document.removeEventListener("__darkreader__isDefined",em)}function nd(l,d,y){Ey();var S=new Set(l),O=new WeakMap,J=new WeakMap;function M(Re){O.set(Re,Re.previousElementSibling),J.set(Re,Re.nextElementSibling)}function L(Re){O.delete(Re),J.delete(Re)}function Ce(Re){return Re.previousElementSibling!==O.get(Re)||Re.nextElementSibling!==J.get(Re)}l.forEach(M);function Ue(Re){var et=Re.createdStyles,St=Re.removedStyles,It=Re.movedStyles;et.forEach(function(Gt){return M(Gt)}),It.forEach(function(Gt){return M(Gt)}),St.forEach(function(Gt){return L(Gt)}),et.forEach(function(Gt){return S.add(Gt)}),St.forEach(function(Gt){return S.delete(Gt)}),et.size+St.size+It.size>0&&d({created:Array.from(et),removed:Array.from(St),moved:Array.from(It),updated:[]})}function U(Re){var et=Re.additions,St=Re.moves,It=Re.deletions,Gt=new Set,_t=new Set,ot=new Set;et.forEach(function(Kt){return $p(Kt).forEach(function(B){return Gt.add(B)})}),It.forEach(function(Kt){return $p(Kt).forEach(function(B){return _t.add(B)})}),St.forEach(function(Kt){return $p(Kt).forEach(function(B){return ot.add(B)})}),Ue({createdStyles:Gt,removedStyles:_t,movedStyles:ot}),et.forEach(function(Kt){_s(Kt,We),Kg(Kt)})}function $(Re){var et=new Set($p(Re)),St=new Set,It=new Set,Gt=new Set;et.forEach(function(_t){S.has(_t)||St.add(_t)}),S.forEach(function(_t){et.has(_t)||It.add(_t)}),et.forEach(function(_t){!St.has(_t)&&!It.has(_t)&&Ce(_t)&&Gt.add(_t)}),Ue({createdStyles:St,removedStyles:It,movedStyles:Gt}),_s(Re,We),Kg(Re)}function Q(Re){var et=new Set,St=new Set;Re.forEach(function(It){var Gt=It.target;Gt.isConnected&&(zu(Gt)?et.add(Gt):Gt instanceof HTMLLinkElement&&Gt.disabled&&St.add(Gt))}),et.size+St.size>0&&d({updated:Array.from(et),created:[],removed:Array.from(St),moved:[]})}function ae(Re){var et=Oo(Re,{onMinorMutations:U,onHugeMutations:$}),St=new MutationObserver(Q);St.observe(Re,{attributes:!0,attributeFilter:["rel","disabled","media"],subtree:!0}),T_.push(et,St),Bm.add(Re)}function We(Re){var et=Re.shadowRoot;et==null||Bm.has(et)||(ae(et),y(et))}ae(document),_s(document.documentElement,We),k_(function(Re){var et=[];Re.forEach(function(St){return us(et,$p(St.shadowRoot))}),d({created:et,updated:[],removed:[],moved:[]}),Re.forEach(function(St){var It=St.shadowRoot;It!=null&&(We(St),_s(It,We),Kg(It))})}),document.addEventListener("__darkreader__isDefined",em),Kg(document)}function Jm(){T_.forEach(function(l){return l.disconnect()}),T_.splice(0,T_.length),Bm=new WeakSet}function Ey(){Jm(),jm()}function A_(l){return(l<16?"0":"")+l.toString(16)}function Nh(){if(typeof crypto=="undefined")return"xxx-xxxx";if("randomUUID"in crypto){var l=crypto.randomUUID();return l.substring(0,8)+l.substring(9,13)+l.substring(14,18)+l.substring(19,23)+l.substring(24)}return Array.from(crypto.getRandomValues(new Uint8Array(16))).map(function(d){return A_(d)}).join("")}var wh=new WeakMap,Um=new WeakSet;function Km(l){var d=!1;function y(J,M){var L=Wt([],mt(l.adoptedStyleSheets),!1),Ce=L.indexOf(J),Ue=L.indexOf(M);Ce!==Ue-1&&(Ue>=0&&L.splice(Ue,1),L.splice(Ce+1,0,M),l.adoptedStyleSheets=L)}function S(){d=!0;var J=Wt([],mt(l.adoptedStyleSheets),!1);l.adoptedStyleSheets.forEach(function(M){if(Um.has(M)){var L=J.indexOf(M);L>=0&&J.splice(L,1),wh.delete(M),Um.delete(M)}}),l.adoptedStyleSheets=J}function O(J,M){l.adoptedStyleSheets.forEach(function(L){if(Um.has(L))return;var Ce=L.rules,Ue=new CSSStyleSheet;function U(){for(var Q=Ue.cssRules.length-1;Q>=0;Q--)Ue.deleteRule(Q);return y(L,Ue),wh.set(L,Ue),Um.add(Ue),Ue}var $=b0();$.modifySheet({prepareSheet:U,sourceCSSRules:Ce,theme:J,ignoreImageAnalysis:M,force:!1,isAsyncCancelled:function(){return d}})})}return{render:O,destroy:S}}function zg(l){document.dispatchEvent(new CustomEvent("__darkreader__inlineScriptsAllowed"));var d=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"addRule"),y=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"insertRule"),S=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"deleteRule"),O=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"removeRule"),J=l?Object.getOwnPropertyDescriptor(Document.prototype,"styleSheets"):null,M=location.hostname.endsWith("baidu.com"),L=M?Object.getOwnPropertyDescriptor(Element.prototype,"getElementsByTagName"):null,Ce=function(){Object.defineProperty(CSSStyleSheet.prototype,"addRule",d),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",y),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",S),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",O),document.removeEventListener("__darkreader__cleanUp",Ce),document.removeEventListener("__darkreader__addUndefinedResolver",Ue),l&&Object.defineProperty(Document.prototype,"styleSheets",J),M&&Object.defineProperty(Element.prototype,"getElementsByTagName",L)},Ue=function(St){customElements.whenDefined(St.detail.tag).then(function(){document.dispatchEvent(new CustomEvent("__darkreader__isDefined",{detail:{tag:St.detail.tag}}))})};document.addEventListener("__darkreader__cleanUp",Ce),document.addEventListener("__darkreader__addUndefinedResolver",Ue);var U=new Event("__darkreader__updateSheet");function $(St,It,Gt){return d.value.call(this,St,It,Gt),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(U),-1}function Q(St,It){var Gt=y.value.call(this,St,It);return this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(U),Gt}function ae(St){S.value.call(this,St),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(U)}function We(St){O.value.call(this,St),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(U)}function Re(){var St=J.get.call(this),It=Wt([],mt(St),!1).filter(function(Gt){return!Gt.ownerNode.classList.contains("darkreader")});return Object.setPrototypeOf(It,StyleSheetList.prototype)}function et(St){var It=this;if(St!=="style")return L.value.call(this,St);var Gt=function(){var Kt=L.value.call(It,St);return Object.setPrototypeOf(Wt([],mt(Kt),!1).filter(function(B){return!B.classList.contains("darkreader")}),NodeList.prototype)},_t=Gt(),ot={get:function(Kt,B){return Gt()[Number(B)]}};return _t=new Proxy(_t,ot),_t}Object.defineProperty(CSSStyleSheet.prototype,"addRule",Object.assign({},d,{value:$})),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",Object.assign({},y,{value:Q})),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Object.assign({},S,{value:ae})),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",Object.assign({},O,{value:We})),l&&Object.defineProperty(Document.prototype,"styleSheets",Object.assign({},J,{get:Re})),M&&Object.defineProperty(Element.prototype,"getElementsByTagName",Object.assign({},L,{value:et}))}var s_=Nh(),wd=new Map,qg=[],Su=null,np=null,k0=null,Ep=null,c_=null;function of(l,d){d===void 0&&(d=document.head||document);var y=d.querySelector("."+l);return y||(y=document.createElement("style"),y.classList.add("darkreader"),y.classList.add(l),y.media="screen",y.textContent=""),y}function Vg(l,d){d===void 0&&(d=document.head||document);var y=d.querySelector("."+l);return y||(y=document.createElement("script"),y.classList.add("darkreader"),y.classList.add(l)),y}var sf=new Map;function Ee(l,d){sf.has(d)&&sf.get(d).stop(),sf.set(d,ks(l,"parent"))}function De(){Ca(sf.values(),function(l){return l.stop()}),sf.clear()}function qt(){var l=of("darkreader--fallback",document);l.textContent=gs(Su,{strict:!0}),document.head.insertBefore(l,document.head.firstChild),Ee(l,"fallback");var d=of("darkreader--user-agent");d.textContent=Th(Su,k0,Su.styleSystemControls),document.head.insertBefore(d,l.nextSibling),Ee(d,"user-agent");var y=of("darkreader--text");Su.useFont||Su.textStroke>0?y.textContent=Im(Su):y.textContent="",document.head.insertBefore(y,l.nextSibling),Ee(y,"text");var S=of("darkreader--invert");np&&Array.isArray(np.invert)&&np.invert.length>0?S.textContent=[np.invert.join(", ")+" {"," filter: "+zf(v(v({},Su),{contrast:Su.mode===0?Su.contrast:fi(Su.contrast-10,0,100)}))+" !important;","}"].join(` `):S.textContent="",document.head.insertBefore(S,y.nextSibling),Ee(S,"invert");var O=of("darkreader--inline");O.textContent=rd(),document.head.insertBefore(O,S.nextSibling),Ee(O,"inline");var J=of("darkreader--override");J.textContent=np&&np.css?kr(np.css):"",document.head.appendChild(J),Ee(J,"override");var M=of("darkreader--variables"),L=ag(Su),Ce=Su.darkSchemeBackgroundColor,Ue=Su.darkSchemeTextColor,U=Su.lightSchemeBackgroundColor,$=Su.lightSchemeTextColor,Q=Su.mode,ae=Q===0?U:Ce,We=Q===0?$:Ue;ae=Up(Fr(ae),Su),We=tf(Fr(We),Su),M.textContent=[":root {"," --darkreader-neutral-background: "+ae+";"," --darkreader-neutral-text: "+We+";"," --darkreader-selection-background: "+L.backgroundColorSelection+";"," --darkreader-selection-text: "+L.foregroundColorSelection+";","}"].join(` `),document.head.insertBefore(M,O.nextSibling),Ee(M,"variables");var Re=of("darkreader--root-vars");document.head.insertBefore(Re,M.nextSibling);var et=Vg("darkreader--proxy");et.append("("+zg+")(!"+(np&&np.disableStyleSheetsProxy)+")"),document.head.insertBefore(et,Re.nextSibling),et.remove()}var br=new Set;function Sn(l){var d=of("darkreader--inline",l);d.textContent=rd(),l.insertBefore(d,l.firstChild);var y=of("darkreader--override",l);y.textContent=np&&np.css?kr(np.css):"",l.insertBefore(y,d.nextSibling);var S=of("darkreader--invert",l);np&&Array.isArray(np.invert)&&np.invert.length>0?S.textContent=[np.invert.join(", ")+" {"," filter: "+zf(v(v({},Su),{contrast:Su.mode===0?Su.contrast:fi(Su.contrast-10,0,100)}))+" !important;","}"].join(` `):S.textContent="",l.insertBefore(S,y.nextSibling),br.add(l)}function kr(l){return l.replace(/\${(.+?)}/g,function(d,y){var S=xc(y);return S?eu(S,Su):y})}function er(){var l=document.querySelector(".darkreader--fallback");l&&(l.textContent="")}function wr(){n();var l=$p(document),d=l.filter(function(S){return!wd.has(S)}).map(function(S){return a(S)});d.map(function(S){return S.details({secondRound:!1})}).filter(function(S){return S&&S.rules.length>0}).forEach(function(S){io.addRulesForMatching(S.rules)}),io.matchVariablesAndDependants(),io.setOnRootVariableChange(function(){io.putRootVars(document.head.querySelector(".darkreader--root-vars"),Su)}),io.putRootVars(document.head.querySelector(".darkreader--root-vars"),Su),wd.forEach(function(S){return S.render(Su,Ep)}),e.size===0&&er(),d.forEach(function(S){return S.watch()});var y=ws(document.querySelectorAll(Wl));_s(document.documentElement,function(S){Sn(S.shadowRoot);var O=S.shadowRoot.querySelectorAll(Wl);O.length>0&&us(y,O)}),y.forEach(function(S){return Kl(S,Su,c_,Ep)}),Fe(document)}var Te=0,e=new Set;function a(l){var d=++Te;function y(){if(!Vs()||!Ie){e.add(d),""+e.size;var M=document.querySelector(".darkreader--fallback");M.textContent||(M.textContent=gs(Su,{strict:!1}))}}function S(){e.delete(d),""+d+e.size,e.size===0&&Vs()&&er()}function O(){var M=J.details({secondRound:!0});!M||(io.addRulesForMatching(M.rules),io.matchVariablesAndDependants(),J.render(Su,Ep))}var J=kh(l,{update:O,loadingStart:y,loadingEnd:S});return wd.set(l,J),J}function h(l){var d=wd.get(l);d&&(d.destroy(),wd.delete(l))}var V=nu(function(l){wd.forEach(function(d){return d.render(Su,Ep)}),qg.forEach(function(d){return d.render(Su,Ep)}),l&&l()}),n=function(){V.cancel()};function F(){if(e.size===0){er();return}}var he=null,Ie=typeof document!="undefined"&&!document.hidden;function N(l){var d=Boolean(he);he=function(){document.hidden||(w(),l(),Ie=!0)},d||document.addEventListener("visibilitychange",he)}function w(){document.removeEventListener("visibilitychange",he),he=null}function z(){qt();function l(){wr(),je()}document.hidden?N(l):l(),fd(Su)}function Fe(l){if(Array.isArray(l.adoptedStyleSheets)&&l.adoptedStyleSheets.length>0){var d=Km(l);qg.push(d),d.render(Su,Ep)}}function je(){var l=Array.from(wd.keys());nd(l,function(d){var y=d.created,S=d.updated,O=d.removed,J=d.moved,M=O,L=y.concat(S).concat(J).filter(function(U){return!wd.has(U)}),Ce=J.filter(function(U){return wd.has(U)});M.forEach(function(U){return h(U)});var Ue=L.map(function(U){return a(U)});Ue.map(function(U){return U.details({secondRound:!1})}).filter(function(U){return U&&U.rules.length>0}).forEach(function(U){io.addRulesForMatching(U.rules)}),io.matchVariablesAndDependants(),Ue.forEach(function(U){return U.render(Su,Ep)}),Ue.forEach(function(U){return U.watch()}),Ce.forEach(function(U){return wd.get(U).restore()})},function(d){Sn(d),Fe(d)}),Zs(function(d){if(Kl(d,Su,c_,Ep),d===document.documentElement){var y=d.getAttribute("style");y.includes("--")&&(io.matchVariablesAndDependants(),io.putRootVars(document.head.querySelector(".darkreader--root-vars"),Su))}},function(d){Sn(d);var y=d.querySelectorAll(Wl);y.length>0&&Ca(y,function(S){return Kl(S,Su,c_,Ep)})}),Ku(F)}function E(){wd.forEach(function(l){return l.pause()}),De(),Ey(),tl(),Ri(F),Wa()}function P(){var l=document.createElement("meta");l.name="darkreader",l.content=s_,document.head.appendChild(l)}function A(){var l=document.querySelector('meta[name="darkreader"]');return l?l.content!==s_:(P(),!1)}function ce(l,d,y){if(Su=l,np=d,np?(Ep=Array.isArray(np.ignoreImageAnalysis)?np.ignoreImageAnalysis:[],c_=Array.isArray(np.ignoreInlineStyle)?np.ignoreInlineStyle:[]):(Ep=[],c_=[]),k0=y,document.head){if(A())return;document.documentElement.setAttribute("data-darkreader-mode","dynamic"),document.documentElement.setAttribute("data-darkreader-scheme",Su.mode?"dark":"dimmed"),z()}else{if(!Vi){var S=of("darkreader--fallback");document.documentElement.appendChild(S),S.textContent=gs(Su,{strict:!0})}var O=new MutationObserver(function(){if(document.head){if(O.disconnect(),A()){Se();return}z()}});O.observe(document,{childList:!0,subtree:!0})}}function we(){document.dispatchEvent(new CustomEvent("__darkreader__cleanUp")),ao(document.head.querySelector(".darkreader--proxy"))}function Se(){document.documentElement.removeAttribute("data-darkreader-mode"),document.documentElement.removeAttribute("data-darkreader-scheme"),ke(),ao(document.querySelector(".darkreader--fallback")),document.head&&(af(),ao(document.head.querySelector(".darkreader--user-agent")),ao(document.head.querySelector(".darkreader--text")),ao(document.head.querySelector(".darkreader--invert")),ao(document.head.querySelector(".darkreader--inline")),ao(document.head.querySelector(".darkreader--override")),ao(document.head.querySelector(".darkreader--variables")),ao(document.head.querySelector(".darkreader--root-vars")),ao(document.head.querySelector('meta[name="darkreader"]')),we()),br.forEach(function(l){ao(l.querySelector(".darkreader--inline")),ao(l.querySelector(".darkreader--override"))}),br.clear(),Ca(wd.keys(),function(l){return h(l)}),e.clear(),S0(),Ca(document.querySelectorAll(".darkreader"),ao),qg.forEach(function(l){l.destroy()}),qg.splice(0)}function ke(){io.clear(),_c.clear(),w(),n(),E(),Ta()}var Y=/url\(\"(blob\:.*?)\"\)/g;function te(l){return H(this,void 0,void 0,function(){var d,y;return se(this,function(S){switch(S.label){case 0:return d=[],rp(Y,l,1).forEach(function(O){var J=Hi(O);d.push(J)}),[4,Promise.all(d)];case 1:return y=S.sent(),[2,l.replace(Y,function(){return'url("'+y.shift()+'")'})]}})})}var ye=`/* _______ / \\ .==. .==. (( ))==(( )) / "==" "=="\\ /____|| || ||___\\ ________ ____ ________ ___ ___ | ___ \\ / \\ | ___ \\ | | / / | | \\ \\ / /\\ \\ | | \\ \\| |_/ / | | ) / /__\\ \\ | |__/ /| ___ \\ | |__/ / ______ \\| ____ \\| | \\ \\ _______|_______/__/ ____ \\__\\__|___\\__\\__|___\\__\\____ | ___ \\ | ____/ / \\ | ___ \\ | ____| ___ \\ | | \\ \\| |___ / /\\ \\ | | \\ \\| |___| | \\ \\ | |__/ /| ____/ /__\\ \\ | | ) | ____| |__/ / | ____ \\| |__/ ______ \\| |__/ /| |___| ____ \\ |__| \\__\\____/__/ \\__\\_______/ |______|__| \\__\\ https://darkreader.org */ /*! Dark reader generated CSS | Licensed under MIT https://github.com/darkreader/darkreader/blob/master/LICENSE */ `;function Je(){return H(this,void 0,void 0,function(){function l(M,L){var Ce=document.querySelector(M);Ce&&Ce.textContent&&(d.push("/* "+L+" */"),d.push(Ce.textContent),d.push(""))}var d,y,S,O,J;return se(this,function(M){switch(M.label){case 0:return d=[ye],l(".darkreader--fallback","Fallback Style"),l(".darkreader--user-agent","User-Agent Style"),l(".darkreader--text","Text Style"),l(".darkreader--invert","Invert Style"),l(".darkreader--variables","Variables Style"),y=[],document.querySelectorAll(".darkreader--sync").forEach(function(L){Ca(L.sheet.cssRules,function(Ce){Ce&&Ce.cssText&&y.push(Ce.cssText)})}),y.length?(S=ol(y.join(` `)),d.push("/* Modified CSS */"),J=(O=d).push,[4,te(S)]):[3,2];case 1:J.apply(O,[M.sent()]),d.push(""),M.label=2;case 2:return l(".darkreader--override","Override Style"),[2,d.join(` `)]}})})}var ve=!1,Z=function(){if(typeof window=="undefined")return!1;try{return window.self!==window.top}catch(l){return console.warn(l),!0}}();function xe(l,d){l===void 0&&(l={}),d===void 0&&(d=null);var y=v(v({},yo),l);if(y.engine!==Ko.dynamicTheme)throw new Error("Theme engine is not supported.");ce(y,d,Z),ve=!0}function ue(){return ve}function Ae(){Se(),ve=!1}var C={themeOptions:null,fixes:null};function W(){var l=matchMedia("(prefers-color-scheme: dark)");l.matches?xe(C.themeOptions,C.fixes):Ae()}function T(l,d){l===void 0&&(l={}),d===void 0&&(d=null);var y=matchMedia("(prefers-color-scheme: dark)");l?(C={themeOptions:l,fixes:d},W(),ha?y.addEventListener("change",W):y.addListener(W)):(ha?y.removeEventListener("change",W):y.removeListener(W),Ae())}function K(){return H(this,void 0,void 0,function(){return se(this,function(l){switch(l.label){case 0:return[4,Je()];case 1:return[2,l.sent()]}})})}var q=Io;f.auto=T,f.disable=Ae,f.enable=xe,f.exportGeneratedCSS=K,f.isEnabled=ue,f.setFetchMethod=q,Object.defineProperty(f,"__esModule",{value:!0})})})(FO,FO.exports);const NO=(o,u)=>{const f=o.storage||sessionStorage,v=o.key||u.$id;if(o.paths){const H=o.paths.reduce((se,$e)=>(se[$e]=u.$state[$e],se),{});f.setItem(v,JSON.stringify(H))}else f.setItem(v,JSON.stringify(u.$state))};var one=({options:o,store:u})=>{var f,v,H,se;if((f=o.persist)!=null&&f.enabled){const $e=[{key:u.$id,storage:sessionStorage}],mt=(H=(v=o.persist)==null?void 0:v.strategies)!=null&&H.length?(se=o.persist)==null?void 0:se.strategies:$e;mt.forEach(Wt=>{const fr=Wt.storage||sessionStorage,Yt=Wt.key||u.$id,Ir=fr.getItem(Yt);Ir&&(u.$patch(JSON.parse(Ir)),NO(Wt,u))}),u.$subscribe(()=>{mt.forEach(Wt=>{NO(Wt,u)})})}},yy=Uint8Array,yh=Uint16Array,hk=Uint32Array,VN=new yy([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),WN=new yy([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),wO=new yy([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ZM=function(o,u){for(var f=new yh(31),v=0;v<31;++v)f[v]=u+=1<>>1|(Cd&21845)<<1;l2=(l2&52428)>>>2|(l2&13107)<<2,l2=(l2&61680)>>>4|(l2&3855)<<4,tN[Cd]=((l2&65280)>>>8|(l2&255)<<8)>>>1}var jS=function(o,u,f){for(var v=o.length,H=0,se=new yh(u);H>>Wt]=fr}else for(mt=new yh(v),H=0;H>>15-o[H]);return mt},PD=new yy(288);for(var Cd=0;Cd<144;++Cd)PD[Cd]=8;for(var Cd=144;Cd<256;++Cd)PD[Cd]=9;for(var Cd=256;Cd<280;++Cd)PD[Cd]=7;for(var Cd=280;Cd<288;++Cd)PD[Cd]=8;var KT=new yy(32);for(var Cd=0;Cd<32;++Cd)KT[Cd]=5;var kee=jS(PD,9,0),Aee=jS(KT,5,0),tL=function(o){return(o+7)/8|0},HN=function(o,u,f){(u==null||u<0)&&(u=0),(f==null||f>o.length)&&(f=o.length);var v=new(o.BYTES_PER_ELEMENT==2?yh:o.BYTES_PER_ELEMENT==4?hk:yy)(f-u);return v.set(o.subarray(u,f)),v},Fee=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],rL=function(o,u,f){var v=new Error(u||Fee[o]);if(v.code=o,Error.captureStackTrace&&Error.captureStackTrace(v,rL),!f)throw v;return v},h1=function(o,u,f){f<<=u&7;var v=u/8|0;o[v]|=f,o[v+1]|=f>>>8},xS=function(o,u,f){f<<=u&7;var v=u/8|0;o[v]|=f,o[v+1]|=f>>>8,o[v+2]|=f>>>16},$6=function(o,u){for(var f=[],v=0;vQr&&(Qr=se[v].s);var Di=new yh(Qr+1),Vi=rN(f[Yt-1],Di,0);if(Vi>u){var v=0,gi=0,Mi=Vi-u,Yn=1<u)gi+=Yn-(1<>>=Mi;gi>0;){var ha=se[v].s;Di[ha]=0&&gi;--v){var ea=se[v].s;Di[ea]==u&&(--Di[ea],++gi)}Vi=u}return[new yy(Di),Vi]},rN=function(o,u,f){return o.s==-1?Math.max(rN(o.l,u,f+1),rN(o.r,u,f+1)):u[o.s]=f},IO=function(o){for(var u=o.length;u&&!o[--u];);for(var f=new yh(++u),v=0,H=o[0],se=1,$e=function(Wt){f[v++]=Wt},mt=1;mt<=u;++mt)if(o[mt]==H&&mt!=u)++se;else{if(!H&&se>2){for(;se>138;se-=138)$e(32754);se>2&&($e(se>10?se-11<<5|28690:se-3<<5|12305),se=0)}else if(se>3){for($e(H),--se;se>6;se-=6)$e(8304);se>2&&($e(se-3<<5|8208),se=0)}for(;se--;)$e(H);se=1,H=o[mt]}return[f.subarray(0,v),u]},bS=function(o,u){for(var f=0,v=0;v>>8,o[H+2]=o[H]^255,o[H+3]=o[H+1]^255;for(var se=0;se4&&!Io[wO[qo-1]];--qo);var Ko=fr+5<<3,ho=bS(H,PD)+bS(se,KT)+$e,yo=bS(H,Qr)+bS(se,gi)+$e+14+3*qo+bS(Qi,Io)+(2*Qi[16]+3*Qi[17]+7*Qi[18]);if(Ko<=ho&&Ko<=yo)return nN(u,Yt,o.subarray(Wt,Wt+fr));var ts,Ca,us,ws;if(h1(u,Yt,1+(yo15&&(h1(u,Yt,Mu[zi]>>>5&127),Yt+=Mu[zi]>>>12)}}else ts=kee,Ca=PD,us=Aee,ws=KT;for(var zi=0;zi255){var el=v[zi]>>>18&31;xS(u,Yt,ts[el+257]),Yt+=Ca[el+257],el>7&&(h1(u,Yt,v[zi]>>>23&31),Yt+=VN[el]);var ao=v[zi]&31;xS(u,Yt,us[ao]),Yt+=ws[ao],ao>3&&(xS(u,Yt,v[zi]>>>5&8191),Yt+=WN[ao])}else xS(u,Yt,ts[v[zi]]),Yt+=Ca[v[zi]];return xS(u,Yt,ts[256]),Yt+Ca[256]},Nee=new hk([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),GN=new yy(0),wee=function(o,u,f,v,H,se){var $e=o.length,mt=new yy(v+$e+5*(1+Math.ceil($e/7e3))+H),Wt=mt.subarray(v,mt.length-H),fr=0;if(!u||$e<8)for(var Yt=0;Yt<=$e;Yt+=65535){var Ir=Yt+65535;Ir>=$e&&(Wt[fr>>3]=se),fr=nN(Wt,fr+1,o.subarray(Yt,Ir))}else{for(var Qr=Nee[u-1],Di=Qr>>>13,Vi=Qr&8191,gi=(1<7e3||Io>24576)&&ts>423){fr=OO(o,Wt,0,Na,Hi,Qi,$a,Io,qo,Yt-qo,fr),Io=zi=$a=0,qo=Yt;for(var Ca=0;Ca<286;++Ca)Hi[Ca]=0;for(var Ca=0;Ca<30;++Ca)Qi[Ca]=0}var us=2,ws=0,cu=Vi,Ic=ho-yo&32767;if(ts>2&&Ko==ea(Yt-Ic))for(var nu=Math.min(Di,ts)-1,Mu=Math.min(32767,Yt),el=Math.min(258,ts);Ic<=Mu&&--cu&&ho!=yo;){if(o[Yt+us]==o[Yt+us-Ic]){for(var ao=0;aous){if(us=ao,ws=Ic,ao>nu)break;for(var ks=Math.min(Ic,ao-2),_s=0,Ca=0;Ca_s&&(_s=Ku,yo=Vs)}}}ho=yo,yo=Mi[ho],Ic+=ho-yo+32768&32767}if(ws){Na[Io++]=268435456|eN[us]<<18|PO[ws];var Ri=eN[us]&31,tn=PO[ws]&31;$a+=VN[Ri]+WN[tn],++Hi[257+Ri],++Qi[tn],ec=Yt+us,++zi}else Na[Io++]=o[Yt],++Hi[o[Yt]]}}fr=OO(o,Wt,se,Na,Hi,Qi,$a,Io,qo,Yt-qo,fr),!se&&fr&7&&(fr=nN(Wt,fr+1,GN))}return HN(mt,0,v+tL(fr)+H)},Pee=function(){var o=1,u=0;return{p:function(f){for(var v=o,H=u,se=f.length|0,$e=0;$e!=se;){for(var mt=Math.min($e+2655,se);$e>16),H=(H&65535)+15*(H>>16)}o=v,u=H},d:function(){return o%=65521,u%=65521,(o&255)<<24|o>>>8<<16|(u&255)<<8|u>>>8}}},Iee=function(o,u,f,v,H){return wee(o,u.level==null?6:u.level,u.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(o.length)))*1.5):12+u.mem,f,v,!H)},Oee=function(o,u,f){for(;f;++u)o[u]=f,f>>>=8},Mee=function(o,u){var f=u.level,v=f==0?0:f<6?1:f==9?3:2;o[0]=120,o[1]=v<<6|(v?32-2*v:1)};function sne(o,u){u||(u={});var f=Pee();f.p(o);var v=Iee(o,u,2,4);return Mee(v,u),Oee(v,v.length-4,f.d()),v}var MO=typeof TextEncoder!="undefined"&&new TextEncoder,iN=typeof TextDecoder!="undefined"&&new TextDecoder,Lee=0;try{iN.decode(GN,{stream:!0}),Lee=1}catch{}var Bee=function(o){for(var u="",f=0;;){var v=o[f++],H=(v>127)+(v>223)+(v>239);if(f+H>o.length)return[u,HN(o,f-1)];H?H==3?(v=((v&15)<<18|(o[f++]&63)<<12|(o[f++]&63)<<6|o[f++]&63)-65536,u+=String.fromCharCode(55296|v>>10,56320|v&1023)):H&1?u+=String.fromCharCode((v&31)<<6|o[f++]&63):u+=String.fromCharCode((v&15)<<12|(o[f++]&63)<<6|o[f++]&63):u+=String.fromCharCode(v)}};function cne(o,u){if(u){for(var f=new yy(o.length),v=0;v>1)),$e=0,mt=function(Yt){se[$e++]=Yt},v=0;vse.length){var Wt=new yy($e+8+(H-v<<1));Wt.set(se),se=Wt}var fr=o.charCodeAt(v);fr<128||u?mt(fr):fr<2048?(mt(192|fr>>6),mt(128|fr&63)):fr>55295&&fr<57344?(fr=65536+(fr&1023<<10)|o.charCodeAt(++v)&1023,mt(240|fr>>18),mt(128|fr>>12&63),mt(128|fr>>6&63),mt(128|fr&63)):(mt(224|fr>>12),mt(128|fr>>6&63),mt(128|fr&63))}return HN(se,0,$e)}function une(o,u){if(u){for(var f="",v=0;v=0&&u<=100?o+"="+Math.round(u):""}function jO(o,u,f){return typeof f=="string"&&u.includes(f)?o+"="+f:""}function iL(){return Math.random().toString(36).slice(2,6)+Math.random().toString(36).slice(2,6)}function Y6(o,u){return""+aL(u)+o+nL(u)}function Q6(o,u){var f={forceEmbedLayout:!0};return u&&typeof u=="object"&&Object.assign(f,u),""+aL(f)+o+nL(f)}function aL(o){return o===void 0&&(o={}),typeof o.origin=="string"?o.origin:"https://stackblitz.com"}function X6(o,u,f){if(!u||!o||!o.parentNode)throw new Error("Invalid Element");o.id&&(u.id=o.id),o.className&&(u.className=o.className),function(v,H){H&&typeof H=="object"&&(Object.hasOwnProperty.call(H,"height")&&(v.height=""+H.height),Object.hasOwnProperty.call(H,"width")&&(v.width=""+H.width)),v.height||(v.height="300"),v.width||v.setAttribute("style","width:100%;")}(u,f),o.parentNode.replaceChild(u,o)}function Z6(o){if(typeof o=="string"){var u=document.getElementById(o);if(!u)throw new Error("Could not find element with id '"+o+"'");return u}if(o instanceof HTMLElement)return o;throw new Error("Invalid element: "+o)}function eF(o){return o&&o.newWindow===!1?"_self":"_blank"}function zT(){return zT=Object.assign||function(o){for(var u=1;u=20)return $e(),v("Timeout: Unable to establish a connection with the StackBlitz VM"),void kT.forEach(function(fr,Yt){fr.id===u.id&&kT.splice(Yt,1)});mt++,se()}},500)}),kT.push(this)};function Nx(o,u){var f=document.createElement("input");return f.type="hidden",f.name=o,f.value=u,f}function JO(o){if(!LO.includes(o.template)){var u=LO.map(function(H){return"'"+H+"'"}).join(", ");console.warn("Unsupported project.template: must be one of "+u)}var f=o.template==="node",v=document.createElement("form");return v.method="POST",v.setAttribute("style","display:none!important;"),v.appendChild(Nx("project[title]",o.title)),v.appendChild(Nx("project[description]",o.description)),v.appendChild(Nx("project[template]",o.template)),o.dependencies&&(f?console.warn("Invalid project.dependencies: dependencies must be provided as a 'package.json' file when using the 'node' template."):v.appendChild(Nx("project[dependencies]",JSON.stringify(o.dependencies)))),o.settings&&v.appendChild(Nx("project[settings]",JSON.stringify(o.settings))),Object.keys(o.files).forEach(function(H){typeof o.files[H]=="string"&&v.appendChild(Nx("project[files]["+H+"]",o.files[H]))}),v}function gT(o){var u,f,v,H;return o!=null&&o.contentWindow?(H=(f=o)instanceof Element?"element":"id",(u=(v=kT.find(function(se){return se[H]===f}))!=null?v:null)!=null?u:new Jee(o)).pending:Promise.reject("Provided element is not an iframe.")}var lne={connect:gT,embedGithubProject:function(o,u,f){var v=Z6(o),H=document.createElement("iframe");return H.src=Q6("/github/"+u,f),X6(v,H,f),gT(H)},embedProject:function(o,u,f){var v,H=Z6(o),se=function(mt,Wt){var fr=JO(mt);return fr.action=Q6("/run",Wt),fr.id="sb",""+fr.outerHTML+"