Files
zsglpt/static/admin/assets/vendor-misc-DszMq72k.js
2026-05-27 21:24:48 +08:00

13 lines
142 KiB
JavaScript

import{r as Y,$ as Na,u as La,av as us,ai as cs,g as Ba,o as ja,z as ls,s as ds,m as Ha,c as ce,l as he,e as Wn,S as ci,aw as hs,k as Ar,a8 as K,K as ps}from"./vendor-vue-CVxSw_oJ.js";var qa=typeof global=="object"&&global&&global.Object===Object&&global,vs=typeof self=="object"&&self&&self.Object===Object&&self,Ee=qa||vs||Function("return this")(),pe=Ee.Symbol,ka=Object.prototype,gs=ka.hasOwnProperty,ms=ka.toString,_t=pe?pe.toStringTag:void 0;function ys(e){var t=gs.call(e,_t),n=e[_t];try{e[_t]=void 0;var r=!0}catch{}var i=ms.call(e);return r&&(t?e[_t]=n:delete e[_t]),i}var bs=Object.prototype,ws=bs.toString;function xs(e){return ws.call(e)}var Os="[object Null]",Ss="[object Undefined]",li=pe?pe.toStringTag:void 0;function tt(e){return e==null?e===void 0?Ss:Os:li&&li in Object(e)?ys(e):xs(e)}function Pe(e){return e!=null&&typeof e=="object"}var As="[object Symbol]";function Pn(e){return typeof e=="symbol"||Pe(e)&&tt(e)==As}function Er(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var J=Array.isArray,di=pe?pe.prototype:void 0,hi=di?di.toString:void 0;function Wa(e){if(typeof e=="string")return e;if(J(e))return Er(e,Wa)+"";if(Pn(e))return hi?hi.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Es=/\s/;function Ms(e){for(var t=e.length;t--&&Es.test(e.charAt(t)););return t}var _s=/^\s+/;function $s(e){return e&&e.slice(0,Ms(e)+1).replace(_s,"")}function ee(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var pi=NaN,Ps=/^[-+]0x[0-9a-f]+$/i,Ts=/^0b[01]+$/i,Rs=/^0o[0-7]+$/i,Cs=parseInt;function Rt(e){if(typeof e=="number")return e;if(Pn(e))return pi;if(ee(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ee(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=$s(e);var n=Ts.test(e);return n||Rs.test(e)?Cs(e.slice(2),n?2:8):Ps.test(e)?pi:+e}function Mr(e){return e}var Ds="[object AsyncFunction]",Fs="[object Function]",Is="[object GeneratorFunction]",Ns="[object Proxy]";function _r(e){if(!ee(e))return!1;var t=tt(e);return t==Fs||t==Is||t==Ds||t==Ns}var zn=Ee["__core-js_shared__"],vi=(function(){var e=/[^.]+$/.exec(zn&&zn.keys&&zn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Ls(e){return!!vi&&vi in e}var Bs=Function.prototype,js=Bs.toString;function nt(e){if(e!=null){try{return js.call(e)}catch{}try{return e+""}catch{}}return""}var Hs=/[\\^$.*+?()[\]{}|]/g,qs=/^\[object .+?Constructor\]$/,ks=Function.prototype,Ws=Object.prototype,zs=ks.toString,Ys=Ws.hasOwnProperty,Us=RegExp("^"+zs.call(Ys).replace(Hs,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gs(e){if(!ee(e)||Ls(e))return!1;var t=_r(e)?Us:qs;return t.test(nt(e))}function Vs(e,t){return e?.[t]}function rt(e,t){var n=Vs(e,t);return Gs(n)?n:void 0}var Jn=rt(Ee,"WeakMap"),gi=Object.create,Qs=(function(){function e(){}return function(t){if(!ee(t))return{};if(gi)return gi(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function Xs(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ks(){}function za(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Zs=800,Js=16,ef=Date.now;function tf(e){var t=0,n=0;return function(){var r=ef(),i=Js-(r-n);if(n=r,i>0){if(++t>=Zs)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function nf(e){return function(){return e}}var Sn=(function(){try{var e=rt(Object,"defineProperty");return e({},"",{}),e}catch{}})(),rf=Sn?function(e,t){return Sn(e,"toString",{configurable:!0,enumerable:!1,value:nf(t),writable:!0})}:Mr,Ya=tf(rf);function af(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function Ua(e,t,n,r){for(var i=e.length,s=n+(r?1:-1);r?s--:++s<i;)if(t(e[s],s,e))return s;return-1}function of(e){return e!==e}function sf(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function ff(e,t,n){return t===t?sf(e,t,n):Ua(e,of,n)}function uf(e,t){var n=e==null?0:e.length;return!!n&&ff(e,t,0)>-1}var cf=9007199254740991,lf=/^(?:0|[1-9]\d*)$/;function Tn(e,t){var n=typeof e;return t=t??cf,!!t&&(n=="number"||n!="symbol"&&lf.test(e))&&e>-1&&e%1==0&&e<t}function $r(e,t,n){t=="__proto__"&&Sn?Sn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Yt(e,t){return e===t||e!==e&&t!==t}var df=Object.prototype,hf=df.hasOwnProperty;function Pr(e,t,n){var r=e[t];(!(hf.call(e,t)&&Yt(r,n))||n===void 0&&!(t in e))&&$r(e,t,n)}function wt(e,t,n,r){var i=!n;n||(n={});for(var s=-1,o=t.length;++s<o;){var a=t[s],f=void 0;f===void 0&&(f=e[a]),i?$r(n,a,f):Pr(n,a,f)}return n}var mi=Math.max;function Ga(e,t,n){return t=mi(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=mi(r.length-t,0),o=Array(s);++i<s;)o[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(o),Xs(e,this,a)}}function Va(e,t){return Ya(Ga(e,t,Mr),e+"")}var pf=9007199254740991;function Tr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=pf}function xt(e){return e!=null&&Tr(e.length)&&!_r(e)}function vf(e,t,n){if(!ee(n))return!1;var r=typeof t;return(r=="number"?xt(n)&&Tn(t,n.length):r=="string"&&t in n)?Yt(n[t],e):!1}function gf(e){return Va(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&vf(n[0],n[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++r<i;){var a=n[r];a&&e(t,a,r,s)}return t})}var mf=Object.prototype;function Rr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||mf;return e===n}function yf(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var bf="[object Arguments]";function yi(e){return Pe(e)&&tt(e)==bf}var Qa=Object.prototype,wf=Qa.hasOwnProperty,xf=Qa.propertyIsEnumerable,Nt=yi((function(){return arguments})())?yi:function(e){return Pe(e)&&wf.call(e,"callee")&&!xf.call(e,"callee")};function Of(){return!1}var Xa=typeof exports=="object"&&exports&&!exports.nodeType&&exports,bi=Xa&&typeof module=="object"&&module&&!module.nodeType&&module,Sf=bi&&bi.exports===Xa,wi=Sf?Ee.Buffer:void 0,Af=wi?wi.isBuffer:void 0,Lt=Af||Of,Ef="[object Arguments]",Mf="[object Array]",_f="[object Boolean]",$f="[object Date]",Pf="[object Error]",Tf="[object Function]",Rf="[object Map]",Cf="[object Number]",Df="[object Object]",Ff="[object RegExp]",If="[object Set]",Nf="[object String]",Lf="[object WeakMap]",Bf="[object ArrayBuffer]",jf="[object DataView]",Hf="[object Float32Array]",qf="[object Float64Array]",kf="[object Int8Array]",Wf="[object Int16Array]",zf="[object Int32Array]",Yf="[object Uint8Array]",Uf="[object Uint8ClampedArray]",Gf="[object Uint16Array]",Vf="[object Uint32Array]",W={};W[Hf]=W[qf]=W[kf]=W[Wf]=W[zf]=W[Yf]=W[Uf]=W[Gf]=W[Vf]=!0;W[Ef]=W[Mf]=W[Bf]=W[_f]=W[jf]=W[$f]=W[Pf]=W[Tf]=W[Rf]=W[Cf]=W[Df]=W[Ff]=W[If]=W[Nf]=W[Lf]=!1;function Qf(e){return Pe(e)&&Tr(e.length)&&!!W[tt(e)]}function Cr(e){return function(t){return e(t)}}var Ka=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ct=Ka&&typeof module=="object"&&module&&!module.nodeType&&module,Xf=Ct&&Ct.exports===Ka,Yn=Xf&&qa.process,dt=(function(){try{var e=Ct&&Ct.require&&Ct.require("util").types;return e||Yn&&Yn.binding&&Yn.binding("util")}catch{}})(),xi=dt&&dt.isTypedArray,Dr=xi?Cr(xi):Qf,Kf=Object.prototype,Zf=Kf.hasOwnProperty;function Za(e,t){var n=J(e),r=!n&&Nt(e),i=!n&&!r&&Lt(e),s=!n&&!r&&!i&&Dr(e),o=n||r||i||s,a=o?yf(e.length,String):[],f=a.length;for(var u in e)(t||Zf.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||s&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Tn(u,f)))&&a.push(u);return a}function Ja(e,t){return function(n){return e(t(n))}}var Jf=Ja(Object.keys,Object),eu=Object.prototype,tu=eu.hasOwnProperty;function nu(e){if(!Rr(e))return Jf(e);var t=[];for(var n in Object(e))tu.call(e,n)&&n!="constructor"&&t.push(n);return t}function Ut(e){return xt(e)?Za(e):nu(e)}function ru(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var iu=Object.prototype,au=iu.hasOwnProperty;function ou(e){if(!ee(e))return ru(e);var t=Rr(e),n=[];for(var r in e)r=="constructor"&&(t||!au.call(e,r))||n.push(r);return n}function Gt(e){return xt(e)?Za(e,!0):ou(e)}var su=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fu=/^\w*$/;function Fr(e,t){if(J(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Pn(e)?!0:fu.test(e)||!su.test(e)||t!=null&&e in Object(t)}var Bt=rt(Object,"create");function uu(){this.__data__=Bt?Bt(null):{},this.size=0}function cu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var lu="__lodash_hash_undefined__",du=Object.prototype,hu=du.hasOwnProperty;function pu(e){var t=this.__data__;if(Bt){var n=t[e];return n===lu?void 0:n}return hu.call(t,e)?t[e]:void 0}var vu=Object.prototype,gu=vu.hasOwnProperty;function mu(e){var t=this.__data__;return Bt?t[e]!==void 0:gu.call(t,e)}var yu="__lodash_hash_undefined__";function bu(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Bt&&t===void 0?yu:t,this}function Ke(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ke.prototype.clear=uu;Ke.prototype.delete=cu;Ke.prototype.get=pu;Ke.prototype.has=mu;Ke.prototype.set=bu;function wu(){this.__data__=[],this.size=0}function Rn(e,t){for(var n=e.length;n--;)if(Yt(e[n][0],t))return n;return-1}var xu=Array.prototype,Ou=xu.splice;function Su(e){var t=this.__data__,n=Rn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ou.call(t,n,1),--this.size,!0}function Au(e){var t=this.__data__,n=Rn(t,e);return n<0?void 0:t[n][1]}function Eu(e){return Rn(this.__data__,e)>-1}function Mu(e,t){var n=this.__data__,r=Rn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Le(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Le.prototype.clear=wu;Le.prototype.delete=Su;Le.prototype.get=Au;Le.prototype.has=Eu;Le.prototype.set=Mu;var jt=rt(Ee,"Map");function _u(){this.size=0,this.__data__={hash:new Ke,map:new(jt||Le),string:new Ke}}function $u(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Cn(e,t){var n=e.__data__;return $u(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Pu(e){var t=Cn(this,e).delete(e);return this.size-=t?1:0,t}function Tu(e){return Cn(this,e).get(e)}function Ru(e){return Cn(this,e).has(e)}function Cu(e,t){var n=Cn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Be(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Be.prototype.clear=_u;Be.prototype.delete=Pu;Be.prototype.get=Tu;Be.prototype.has=Ru;Be.prototype.set=Cu;var Du="Expected a function";function Ir(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Du);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=e.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(Ir.Cache||Be),n}Ir.Cache=Be;var Fu=500;function Iu(e){var t=Ir(e,function(r){return n.size===Fu&&n.clear(),r}),n=t.cache;return t}var Nu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lu=/\\(\\)?/g,Bu=Iu(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Nu,function(n,r,i,s){t.push(i?s.replace(Lu,"$1"):r||n)}),t});function ju(e){return e==null?"":Wa(e)}function Ot(e,t){return J(e)?e:Fr(e,t)?[e]:Bu(ju(e))}function St(e){if(typeof e=="string"||Pn(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Dn(e,t){t=Ot(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[St(t[n++])];return n&&n==r?e:void 0}function Hu(e,t,n){var r=e==null?void 0:Dn(e,t);return r===void 0?n:r}function Nr(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Oi=pe?pe.isConcatSpreadable:void 0;function qu(e){return J(e)||Nt(e)||!!(Oi&&e&&e[Oi])}function Vt(e,t,n,r,i){var s=-1,o=e.length;for(n||(n=qu),i||(i=[]);++s<o;){var a=e[s];t>0&&n(a)?t>1?Vt(a,t-1,n,r,i):Nr(i,a):r||(i[i.length]=a)}return i}function ku(e){var t=e==null?0:e.length;return t?Vt(e,1):[]}function eo(e){return Ya(Ga(e,void 0,ku),e+"")}var Lr=Ja(Object.getPrototypeOf,Object),Wu="[object Object]",zu=Function.prototype,Yu=Object.prototype,to=zu.toString,Uu=Yu.hasOwnProperty,Gu=to.call(Object);function no(e){if(!Pe(e)||tt(e)!=Wu)return!1;var t=Lr(e);if(t===null)return!0;var n=Uu.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&to.call(n)==Gu}function Vu(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r<i;)s[r]=e[r+t];return s}function qg(){if(!arguments.length)return[];var e=arguments[0];return J(e)?e:[e]}function Qu(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function kg(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=Rt(n),n=n===n?n:0),t!==void 0&&(t=Rt(t),t=t===t?t:0),Qu(Rt(e),t,n)}function Xu(){this.__data__=new Le,this.size=0}function Ku(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Zu(e){return this.__data__.get(e)}function Ju(e){return this.__data__.has(e)}var ec=200;function tc(e,t){var n=this.__data__;if(n instanceof Le){var r=n.__data__;if(!jt||r.length<ec-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Be(r)}return n.set(e,t),this.size=n.size,this}function Oe(e){var t=this.__data__=new Le(e);this.size=t.size}Oe.prototype.clear=Xu;Oe.prototype.delete=Ku;Oe.prototype.get=Zu;Oe.prototype.has=Ju;Oe.prototype.set=tc;function nc(e,t){return e&&wt(t,Ut(t),e)}function rc(e,t){return e&&wt(t,Gt(t),e)}var ro=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Si=ro&&typeof module=="object"&&module&&!module.nodeType&&module,ic=Si&&Si.exports===ro,Ai=ic?Ee.Buffer:void 0,Ei=Ai?Ai.allocUnsafe:void 0;function io(e,t){if(t)return e.slice();var n=e.length,r=Ei?Ei(n):new e.constructor(n);return e.copy(r),r}function ac(e,t){for(var n=-1,r=e==null?0:e.length,i=0,s=[];++n<r;){var o=e[n];t(o,n,e)&&(s[i++]=o)}return s}function ao(){return[]}var oc=Object.prototype,sc=oc.propertyIsEnumerable,Mi=Object.getOwnPropertySymbols,Br=Mi?function(e){return e==null?[]:(e=Object(e),ac(Mi(e),function(t){return sc.call(e,t)}))}:ao;function fc(e,t){return wt(e,Br(e),t)}var uc=Object.getOwnPropertySymbols,oo=uc?function(e){for(var t=[];e;)Nr(t,Br(e)),e=Lr(e);return t}:ao;function cc(e,t){return wt(e,oo(e),t)}function so(e,t,n){var r=t(e);return J(e)?r:Nr(r,n(e))}function er(e){return so(e,Ut,Br)}function fo(e){return so(e,Gt,oo)}var tr=rt(Ee,"DataView"),nr=rt(Ee,"Promise"),ut=rt(Ee,"Set"),_i="[object Map]",lc="[object Object]",$i="[object Promise]",Pi="[object Set]",Ti="[object WeakMap]",Ri="[object DataView]",dc=nt(tr),hc=nt(jt),pc=nt(nr),vc=nt(ut),gc=nt(Jn),we=tt;(tr&&we(new tr(new ArrayBuffer(1)))!=Ri||jt&&we(new jt)!=_i||nr&&we(nr.resolve())!=$i||ut&&we(new ut)!=Pi||Jn&&we(new Jn)!=Ti)&&(we=function(e){var t=tt(e),n=t==lc?e.constructor:void 0,r=n?nt(n):"";if(r)switch(r){case dc:return Ri;case hc:return _i;case pc:return $i;case vc:return Pi;case gc:return Ti}return t});var mc=Object.prototype,yc=mc.hasOwnProperty;function bc(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&yc.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var An=Ee.Uint8Array;function jr(e){var t=new e.constructor(e.byteLength);return new An(t).set(new An(e)),t}function wc(e,t){var n=t?jr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var xc=/\w*$/;function Oc(e){var t=new e.constructor(e.source,xc.exec(e));return t.lastIndex=e.lastIndex,t}var Ci=pe?pe.prototype:void 0,Di=Ci?Ci.valueOf:void 0;function Sc(e){return Di?Object(Di.call(e)):{}}function uo(e,t){var n=t?jr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Ac="[object Boolean]",Ec="[object Date]",Mc="[object Map]",_c="[object Number]",$c="[object RegExp]",Pc="[object Set]",Tc="[object String]",Rc="[object Symbol]",Cc="[object ArrayBuffer]",Dc="[object DataView]",Fc="[object Float32Array]",Ic="[object Float64Array]",Nc="[object Int8Array]",Lc="[object Int16Array]",Bc="[object Int32Array]",jc="[object Uint8Array]",Hc="[object Uint8ClampedArray]",qc="[object Uint16Array]",kc="[object Uint32Array]";function Wc(e,t,n){var r=e.constructor;switch(t){case Cc:return jr(e);case Ac:case Ec:return new r(+e);case Dc:return wc(e,n);case Fc:case Ic:case Nc:case Lc:case Bc:case jc:case Hc:case qc:case kc:return uo(e,n);case Mc:return new r;case _c:case Tc:return new r(e);case $c:return Oc(e);case Pc:return new r;case Rc:return Sc(e)}}function co(e){return typeof e.constructor=="function"&&!Rr(e)?Qs(Lr(e)):{}}var zc="[object Map]";function Yc(e){return Pe(e)&&we(e)==zc}var Fi=dt&&dt.isMap,Uc=Fi?Cr(Fi):Yc,Gc="[object Set]";function Vc(e){return Pe(e)&&we(e)==Gc}var Ii=dt&&dt.isSet,Qc=Ii?Cr(Ii):Vc,Xc=1,Kc=2,Zc=4,lo="[object Arguments]",Jc="[object Array]",el="[object Boolean]",tl="[object Date]",nl="[object Error]",ho="[object Function]",rl="[object GeneratorFunction]",il="[object Map]",al="[object Number]",po="[object Object]",ol="[object RegExp]",sl="[object Set]",fl="[object String]",ul="[object Symbol]",cl="[object WeakMap]",ll="[object ArrayBuffer]",dl="[object DataView]",hl="[object Float32Array]",pl="[object Float64Array]",vl="[object Int8Array]",gl="[object Int16Array]",ml="[object Int32Array]",yl="[object Uint8Array]",bl="[object Uint8ClampedArray]",wl="[object Uint16Array]",xl="[object Uint32Array]",k={};k[lo]=k[Jc]=k[ll]=k[dl]=k[el]=k[tl]=k[hl]=k[pl]=k[vl]=k[gl]=k[ml]=k[il]=k[al]=k[po]=k[ol]=k[sl]=k[fl]=k[ul]=k[yl]=k[bl]=k[wl]=k[xl]=!0;k[nl]=k[ho]=k[cl]=!1;function ct(e,t,n,r,i,s){var o,a=t&Xc,f=t&Kc,u=t&Zc;if(n&&(o=i?n(e,r,i,s):n(e)),o!==void 0)return o;if(!ee(e))return e;var c=J(e);if(c){if(o=bc(e),!a)return za(e,o)}else{var l=we(e),d=l==ho||l==rl;if(Lt(e))return io(e,a);if(l==po||l==lo||d&&!i){if(o=f||d?{}:co(e),!a)return f?cc(e,rc(o,e)):fc(e,nc(o,e))}else{if(!k[l])return i?e:{};o=Wc(e,l,a)}}s||(s=new Oe);var h=s.get(e);if(h)return h;s.set(e,o),Qc(e)?e.forEach(function(g){o.add(ct(g,t,n,g,e,s))}):Uc(e)&&e.forEach(function(g,p){o.set(p,ct(g,t,n,p,e,s))});var m=u?f?fo:er:f?Gt:Ut,v=c?void 0:m(e);return af(v||e,function(g,p){v&&(p=g,g=e[p]),Pr(o,p,ct(g,t,n,p,e,s))}),o}var Ol=4;function Wg(e){return ct(e,Ol)}var Sl=1,Al=4;function zg(e){return ct(e,Sl|Al)}var El="__lodash_hash_undefined__";function Ml(e){return this.__data__.set(e,El),this}function _l(e){return this.__data__.has(e)}function Ht(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Be;++t<n;)this.add(e[t])}Ht.prototype.add=Ht.prototype.push=Ml;Ht.prototype.has=_l;function $l(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function vo(e,t){return e.has(t)}var Pl=1,Tl=2;function go(e,t,n,r,i,s){var o=n&Pl,a=e.length,f=t.length;if(a!=f&&!(o&&f>a))return!1;var u=s.get(e),c=s.get(t);if(u&&c)return u==t&&c==e;var l=-1,d=!0,h=n&Tl?new Ht:void 0;for(s.set(e,t),s.set(t,e);++l<a;){var m=e[l],v=t[l];if(r)var g=o?r(v,m,l,t,e,s):r(m,v,l,e,t,s);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!$l(t,function(p,x){if(!vo(h,x)&&(m===p||i(m,p,n,r,s)))return h.push(x)})){d=!1;break}}else if(!(m===v||i(m,v,n,r,s))){d=!1;break}}return s.delete(e),s.delete(t),d}function Rl(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function Hr(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Cl=1,Dl=2,Fl="[object Boolean]",Il="[object Date]",Nl="[object Error]",Ll="[object Map]",Bl="[object Number]",jl="[object RegExp]",Hl="[object Set]",ql="[object String]",kl="[object Symbol]",Wl="[object ArrayBuffer]",zl="[object DataView]",Ni=pe?pe.prototype:void 0,Un=Ni?Ni.valueOf:void 0;function Yl(e,t,n,r,i,s,o){switch(n){case zl:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Wl:return!(e.byteLength!=t.byteLength||!s(new An(e),new An(t)));case Fl:case Il:case Bl:return Yt(+e,+t);case Nl:return e.name==t.name&&e.message==t.message;case jl:case ql:return e==t+"";case Ll:var a=Rl;case Hl:var f=r&Cl;if(a||(a=Hr),e.size!=t.size&&!f)return!1;var u=o.get(e);if(u)return u==t;r|=Dl,o.set(e,t);var c=go(a(e),a(t),r,i,s,o);return o.delete(e),c;case kl:if(Un)return Un.call(e)==Un.call(t)}return!1}var Ul=1,Gl=Object.prototype,Vl=Gl.hasOwnProperty;function Ql(e,t,n,r,i,s){var o=n&Ul,a=er(e),f=a.length,u=er(t),c=u.length;if(f!=c&&!o)return!1;for(var l=f;l--;){var d=a[l];if(!(o?d in t:Vl.call(t,d)))return!1}var h=s.get(e),m=s.get(t);if(h&&m)return h==t&&m==e;var v=!0;s.set(e,t),s.set(t,e);for(var g=o;++l<f;){d=a[l];var p=e[d],x=t[d];if(r)var y=o?r(x,p,d,t,e,s):r(p,x,d,e,t,s);if(!(y===void 0?p===x||i(p,x,n,r,s):y)){v=!1;break}g||(g=d=="constructor")}if(v&&!g){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof w=="function"&&w instanceof w)&&(v=!1)}return s.delete(e),s.delete(t),v}var Xl=1,Li="[object Arguments]",Bi="[object Array]",nn="[object Object]",Kl=Object.prototype,ji=Kl.hasOwnProperty;function Zl(e,t,n,r,i,s){var o=J(e),a=J(t),f=o?Bi:we(e),u=a?Bi:we(t);f=f==Li?nn:f,u=u==Li?nn:u;var c=f==nn,l=u==nn,d=f==u;if(d&&Lt(e)){if(!Lt(t))return!1;o=!0,c=!1}if(d&&!c)return s||(s=new Oe),o||Dr(e)?go(e,t,n,r,i,s):Yl(e,t,f,n,r,i,s);if(!(n&Xl)){var h=c&&ji.call(e,"__wrapped__"),m=l&&ji.call(t,"__wrapped__");if(h||m){var v=h?e.value():e,g=m?t.value():t;return s||(s=new Oe),i(v,g,n,r,s)}}return d?(s||(s=new Oe),Ql(e,t,n,r,i,s)):!1}function Fn(e,t,n,r,i){return e===t?!0:e==null||t==null||!Pe(e)&&!Pe(t)?e!==e&&t!==t:Zl(e,t,n,r,Fn,i)}var Jl=1,ed=2;function td(e,t,n,r){var i=n.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var o=n[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<s;){o=n[i];var a=o[0],f=e[a],u=o[1];if(o[2]){if(f===void 0&&!(a in e))return!1}else{var c=new Oe,l;if(!(l===void 0?Fn(u,f,Jl|ed,r,c):l))return!1}}return!0}function mo(e){return e===e&&!ee(e)}function nd(e){for(var t=Ut(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,mo(i)]}return t}function yo(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function rd(e){var t=nd(e);return t.length==1&&t[0][2]?yo(t[0][0],t[0][1]):function(n){return n===e||td(n,e,t)}}function id(e,t){return e!=null&&t in Object(e)}function ad(e,t,n){t=Ot(t,e);for(var r=-1,i=t.length,s=!1;++r<i;){var o=St(t[r]);if(!(s=e!=null&&n(e,o)))break;e=e[o]}return s||++r!=i?s:(i=e==null?0:e.length,!!i&&Tr(i)&&Tn(o,i)&&(J(e)||Nt(e)))}function bo(e,t){return e!=null&&ad(e,t,id)}var od=1,sd=2;function fd(e,t){return Fr(e)&&mo(t)?yo(St(e),t):function(n){var r=Hu(n,e);return r===void 0&&r===t?bo(n,e):Fn(t,r,od|sd)}}function ud(e){return function(t){return t?.[e]}}function cd(e){return function(t){return Dn(t,e)}}function ld(e){return Fr(e)?ud(St(e)):cd(e)}function wo(e){return typeof e=="function"?e:e==null?Mr:typeof e=="object"?J(e)?fd(e[0],e[1]):rd(e):ld(e)}function dd(e){return function(t,n,r){for(var i=-1,s=Object(t),o=r(t),a=o.length;a--;){var f=o[++i];if(n(s[f],f,s)===!1)break}return t}}var xo=dd();function hd(e,t){return e&&xo(e,t,Ut)}function pd(e,t){return function(n,r){if(n==null)return n;if(!xt(n))return e(n,r);for(var i=n.length,s=-1,o=Object(n);++s<i&&r(o[s],s,o)!==!1;);return n}}var vd=pd(hd),Gn=function(){return Ee.Date.now()},gd="Expected a function",md=Math.max,yd=Math.min;function bd(e,t,n){var r,i,s,o,a,f,u=0,c=!1,l=!1,d=!0;if(typeof e!="function")throw new TypeError(gd);t=Rt(t)||0,ee(n)&&(c=!!n.leading,l="maxWait"in n,s=l?md(Rt(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d);function h(S){var $=r,R=i;return r=i=void 0,u=S,o=e.apply(R,$),o}function m(S){return u=S,a=setTimeout(p,t),c?h(S):o}function v(S){var $=S-f,R=S-u,D=t-$;return l?yd(D,s-R):D}function g(S){var $=S-f,R=S-u;return f===void 0||$>=t||$<0||l&&R>=s}function p(){var S=Gn();if(g(S))return x(S);a=setTimeout(p,v(S))}function x(S){return a=void 0,d&&r?h(S):(r=i=void 0,o)}function y(){a!==void 0&&clearTimeout(a),u=0,r=f=i=a=void 0}function b(){return a===void 0?o:x(Gn())}function w(){var S=Gn(),$=g(S);if(r=arguments,i=this,f=S,$){if(a===void 0)return m(f);if(l)return clearTimeout(a),a=setTimeout(p,t),h(f)}return a===void 0&&(a=setTimeout(p,t)),o}return w.cancel=y,w.flush=b,w}function rr(e,t,n){(n!==void 0&&!Yt(e[t],n)||n===void 0&&!(t in e))&&$r(e,t,n)}function Oo(e){return Pe(e)&&xt(e)}function ir(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function wd(e){return wt(e,Gt(e))}function xd(e,t,n,r,i,s,o){var a=ir(e,n),f=ir(t,n),u=o.get(f);if(u){rr(e,n,u);return}var c=s?s(a,f,n+"",e,t,o):void 0,l=c===void 0;if(l){var d=J(f),h=!d&&Lt(f),m=!d&&!h&&Dr(f);c=f,d||h||m?J(a)?c=a:Oo(a)?c=za(a):h?(l=!1,c=io(f,!0)):m?(l=!1,c=uo(f,!0)):c=[]:no(f)||Nt(f)?(c=a,Nt(a)?c=wd(a):(!ee(a)||_r(a))&&(c=co(f))):l=!1}l&&(o.set(f,c),i(c,f,r,s,o),o.delete(f)),rr(e,n,c)}function So(e,t,n,r,i){e!==t&&xo(t,function(s,o){if(i||(i=new Oe),ee(s))xd(e,t,o,n,So,r,i);else{var a=r?r(ir(e,o),s,o+"",e,t,i):void 0;a===void 0&&(a=s),rr(e,o,a)}},Gt)}function Od(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Yg(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=r-1;return Ua(e,wo(t),i,!0)}function Sd(e,t){var n=-1,r=xt(e)?Array(e.length):[];return vd(e,function(i,s,o){r[++n]=t(i,s,o)}),r}function Ad(e,t){var n=J(e)?Er:Sd;return n(e,wo(t))}function Ug(e,t){return Vt(Ad(e,t),1)}var Ed=1/0;function Gg(e){var t=e==null?0:e.length;return t?Vt(e,Ed):[]}function Vg(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function Md(e,t){return t.length<2?e:Dn(e,Vu(t,0,-1))}function Qg(e,t){return Fn(e,t)}function Xg(e){return e==null}function Kg(e){return e===null}function Zg(e){return e===void 0}var Jg=gf(function(e,t,n){So(e,t,n)});function _d(e,t){return t=Ot(t,e),e=Md(e,t),e==null||delete e[St(Od(t))]}function $d(e){return no(e)?void 0:e}var Pd=1,Td=2,Rd=4,e0=eo(function(e,t){var n={};if(e==null)return n;var r=!1;t=Er(t,function(s){return s=Ot(s,e),r||(r=s.length>1),s}),wt(e,fo(e),n),r&&(n=ct(n,Pd|Td|Rd,$d));for(var i=t.length;i--;)_d(n,t[i]);return n});function Ao(e,t,n,r){if(!ee(e))return e;t=Ot(t,e);for(var i=-1,s=t.length,o=s-1,a=e;a!=null&&++i<s;){var f=St(t[i]),u=n;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(i!=o){var c=a[f];u=void 0,u===void 0&&(u=ee(c)?c:Tn(t[i+1])?[]:{})}Pr(a,f,u),a=a[f]}return e}function Cd(e,t,n){for(var r=-1,i=t.length,s={};++r<i;){var o=t[r],a=Dn(e,o);n(a,o)&&Ao(s,Ot(o,e),a)}return s}function Dd(e,t){return Cd(e,t,function(n,r){return bo(e,r)})}var t0=eo(function(e,t){return e==null?{}:Dd(e,t)});function n0(e,t,n){return e==null?e:Ao(e,t,n)}var Fd="Expected a function";function r0(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(Fd);return ee(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),bd(e,t,{leading:r,maxWait:t,trailing:i})}var Id=1/0,Nd=ut&&1/Hr(new ut([,-0]))[1]==Id?function(e){return new ut(e)}:Ks,Ld=200;function Bd(e,t,n){var r=-1,i=uf,s=e.length,o=!0,a=[],f=a;if(s>=Ld){var u=Nd(e);if(u)return Hr(u);o=!1,i=vo,f=new Ht}else f=a;e:for(;++r<s;){var c=e[r],l=c;if(c=c!==0?c:0,o&&l===l){for(var d=f.length;d--;)if(f[d]===l)continue e;a.push(c)}else i(f,l,n)||(f!==a&&f.push(l),a.push(c))}return a}var i0=Va(function(e){return Bd(Vt(e,1,Oo,!0))}),jd=Object.defineProperty,Hd=Object.defineProperties,qd=Object.getOwnPropertyDescriptors,Hi=Object.getOwnPropertySymbols,kd=Object.prototype.hasOwnProperty,Wd=Object.prototype.propertyIsEnumerable,qi=(e,t,n)=>t in e?jd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zd=(e,t)=>{for(var n in t||(t={}))kd.call(t,n)&&qi(e,n,t[n]);if(Hi)for(var n of Hi(t))Wd.call(t,n)&&qi(e,n,t[n]);return e},Yd=(e,t)=>Hd(e,qd(t));function a0(e,t){var n;const r=ds();return Ha(()=>{r.value=e()},Yd(zd({},t),{flush:(n=void 0)!=null?n:"sync"})),Na(r)}var ki;const In=typeof window<"u",Ud=e=>typeof e<"u",ar=e=>typeof e=="function",Gd=e=>typeof e=="string",o0=(e,t,n)=>Math.min(n,Math.max(t,e)),Ie=()=>{},Vd=In&&((ki=window?.navigator)==null?void 0:ki.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function We(e){return typeof e=="function"?e():La(e)}function Eo(e,t){function n(...r){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(s)})}return n}function Qd(e,t={}){let n,r,i=Ie;const s=a=>{clearTimeout(a),i(),i=Ie};return a=>{const f=We(e),u=We(t.maxWait);return n&&s(n),f<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,l)=>{i=t.rejectOnCancel?l:c,u&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},u)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},f)})}}function Xd(e,t=!0,n=!0,r=!1){let i=0,s,o=!0,a=Ie,f;const u=()=>{s&&(clearTimeout(s),s=void 0,a(),a=Ie)};return l=>{const d=We(e),h=Date.now()-i,m=()=>f=l();return u(),d<=0?(i=Date.now(),m()):(h>d&&(n||!o)?(i=Date.now(),m()):t&&(f=new Promise((v,g)=>{a=r?g:v,s=setTimeout(()=>{i=Date.now(),o=!0,v(m()),u()},Math.max(0,d-h))})),!n&&!s&&(s=setTimeout(()=>o=!0,d)),o=!1,f)}}function Kd(e){return e}function Zd(e,t){let n,r,i;const s=Y(!0),o=()=>{s.value=!0,i()};he(e,o,{flush:"sync"});const a=ar(t)?t:t.get,f=ar(t)?void 0:t.set,u=hs((c,l)=>(r=c,i=l,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(d){f?.(d)}}));return Object.isExtensible(u)&&(u.trigger=o),u}function Qt(e){return us()?(cs(e),!0):!1}function Jd(e){if(!Wn(e))return ci(e);const t=new Proxy({},{get(n,r,i){return La(Reflect.get(e.value,r,i))},set(n,r,i){return Wn(e.value[r])&&!Wn(i)?e.value[r].value=i:e.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return ci(t)}function s0(e){return Jd(ce(e))}function eh(e,t=200,n={}){return Eo(Qd(t,n),e)}function f0(e,t=200,n={}){const r=Y(e.value),i=eh(()=>{r.value=e.value},t,n);return he(e,()=>i()),r}function u0(e,t=200,n=!1,r=!0,i=!1){return Eo(Xd(t,n,r,i),e)}function qr(e,t=!0){Ba()?ja(e):t?e():ls(e)}function c0(e,t,n={}){const{immediate:r=!0}=n,i=Y(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function a(){i.value=!1,o()}function f(...u){o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,e(...u)},We(t))}return r&&(i.value=!0,In&&f()),Qt(a),{isPending:Na(i),start:f,stop:a}}function Z(e){var t;const n=We(e);return(t=n?.$el)!=null?t:n}const Ce=In?window:void 0,th=In?window.document:void 0;function le(...e){let t,n,r,i;if(Gd(e[0])||Array.isArray(e[0])?([n,r,i]=e,t=Ce):[t,n,r,i]=e,!t)return Ie;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(c=>c()),s.length=0},a=(c,l,d,h)=>(c.addEventListener(l,d,h),()=>c.removeEventListener(l,d,h)),f=he(()=>[Z(t),We(i)],([c,l])=>{o(),c&&s.push(...n.flatMap(d=>r.map(h=>a(c,d,h,l))))},{immediate:!0,flush:"post"}),u=()=>{f(),o()};return Qt(u),u}let Wi=!1;function l0(e,t,n={}){const{window:r=Ce,ignore:i=[],capture:s=!0,detectIframe:o=!1}=n;if(!r)return;Vd&&!Wi&&(Wi=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Ie)));let a=!0;const f=d=>i.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(m=>m===d.target||d.composedPath().includes(m));{const m=Z(h);return m&&(d.target===m||d.composedPath().includes(m))}}),c=[le(r,"click",d=>{const h=Z(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!f(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:s}),le(r,"pointerdown",d=>{const h=Z(e);h&&(a=!d.composedPath().includes(h)&&!f(d))},{passive:!0}),o&&le(r,"blur",d=>{var h;const m=Z(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!m?.contains(r.document.activeElement)&&t(d)})].filter(Boolean);return()=>c.forEach(d=>d())}function d0(e={}){var t;const{window:n=Ce}=e,r=(t=e.document)!=null?t:n?.document,i=Zd(()=>null,()=>r?.activeElement);return n&&(le(n,"blur",s=>{s.relatedTarget===null&&i.trigger()},!0),le(n,"focus",i.trigger,!0)),i}function kr(e,t=!1){const n=Y(),r=()=>n.value=!!e();return r(),qr(r,t),n}function nh(e){return JSON.parse(JSON.stringify(e))}const zi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yi="__vueuse_ssr_handlers__";zi[Yi]=zi[Yi]||{};function h0(e,t,{window:n=Ce,initialValue:r=""}={}){const i=Y(r),s=ce(()=>{var o;return Z(t)||((o=n?.document)==null?void 0:o.documentElement)});return he([s,()=>We(e)],([o,a])=>{var f;if(o&&n){const u=(f=n.getComputedStyle(o).getPropertyValue(a))==null?void 0:f.trim();i.value=u||r}},{immediate:!0}),he(i,o=>{var a;(a=s.value)!=null&&a.style&&s.value.style.setProperty(We(e),o)}),i}function p0({document:e=th}={}){if(!e)return Y("visible");const t=Y(e.visibilityState);return le(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Ui=Object.getOwnPropertySymbols,rh=Object.prototype.hasOwnProperty,ih=Object.prototype.propertyIsEnumerable,ah=(e,t)=>{var n={};for(var r in e)rh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ui)for(var r of Ui(e))t.indexOf(r)<0&&ih.call(e,r)&&(n[r]=e[r]);return n};function Mo(e,t,n={}){const r=n,{window:i=Ce}=r,s=ah(r,["window"]);let o;const a=kr(()=>i&&"ResizeObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},u=he(()=>Z(e),l=>{f(),a.value&&i&&l&&(o=new ResizeObserver(t),o.observe(l,s))},{immediate:!0,flush:"post"}),c=()=>{f(),u()};return Qt(c),{isSupported:a,stop:c}}function v0(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:s=!0}=t,o=Y(0),a=Y(0),f=Y(0),u=Y(0),c=Y(0),l=Y(0),d=Y(0),h=Y(0);function m(){const v=Z(e);if(!v){n&&(o.value=0,a.value=0,f.value=0,u.value=0,c.value=0,l.value=0,d.value=0,h.value=0);return}const g=v.getBoundingClientRect();o.value=g.height,a.value=g.bottom,f.value=g.left,u.value=g.right,c.value=g.top,l.value=g.width,d.value=g.x,h.value=g.y}return Mo(e,m),he(()=>Z(e),v=>!v&&m()),i&&le("scroll",m,{capture:!0,passive:!0}),r&&le("resize",m,{passive:!0}),qr(()=>{s&&m()}),{height:o,bottom:a,left:f,right:u,top:c,width:l,x:d,y:h,update:m}}function g0(e,t={width:0,height:0},n={}){const{window:r=Ce,box:i="content-box"}=n,s=ce(()=>{var f,u;return(u=(f=Z(e))==null?void 0:f.namespaceURI)==null?void 0:u.includes("svg")}),o=Y(t.width),a=Y(t.height);return Mo(e,([f])=>{const u=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const c=Z(e);if(c){const l=r.getComputedStyle(c);o.value=parseFloat(l.width),a.value=parseFloat(l.height)}}else if(u){const c=Array.isArray(u)?u:[u];o.value=c.reduce((l,{inlineSize:d})=>l+d,0),a.value=c.reduce((l,{blockSize:d})=>l+d,0)}else o.value=f.contentRect.width,a.value=f.contentRect.height},n),he(()=>Z(e),f=>{o.value=f?t.width:0,a.value=f?t.height:0}),{width:o,height:a}}function m0(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=Ce}=n,a=kr(()=>o&&"IntersectionObserver"in o);let f=Ie;const u=a.value?he(()=>({el:Z(e),root:Z(r)}),({el:l,root:d})=>{if(f(),!l)return;const h=new IntersectionObserver(t,{root:d,rootMargin:i,threshold:s});h.observe(l),f=()=>{h.disconnect(),f=Ie}},{immediate:!0,flush:"post"}):Ie,c=()=>{f(),u()};return Qt(c),{isSupported:a,stop:c}}var Gi=Object.getOwnPropertySymbols,oh=Object.prototype.hasOwnProperty,sh=Object.prototype.propertyIsEnumerable,fh=(e,t)=>{var n={};for(var r in e)oh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Gi)for(var r of Gi(e))t.indexOf(r)<0&&sh.call(e,r)&&(n[r]=e[r]);return n};function y0(e,t,n={}){const r=n,{window:i=Ce}=r,s=fh(r,["window"]);let o;const a=kr(()=>i&&"MutationObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},u=he(()=>Z(e),l=>{f(),a.value&&i&&l&&(o=new MutationObserver(t),o.observe(l,s))},{immediate:!0}),c=()=>{f(),u()};return Qt(c),{isSupported:a,stop:c}}var Vi;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Vi||(Vi={}));var uh=Object.defineProperty,Qi=Object.getOwnPropertySymbols,ch=Object.prototype.hasOwnProperty,lh=Object.prototype.propertyIsEnumerable,Xi=(e,t,n)=>t in e?uh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dh=(e,t)=>{for(var n in t||(t={}))ch.call(t,n)&&Xi(e,n,t[n]);if(Qi)for(var n of Qi(t))lh.call(t,n)&&Xi(e,n,t[n]);return e};const hh={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]};dh({linear:Kd},hh);function b0(e,t,n,r={}){var i,s,o;const{clone:a=!1,passive:f=!1,eventName:u,deep:c=!1,defaultValue:l}=r,d=Ba(),h=n||d?.emit||((i=d?.$emit)==null?void 0:i.bind(d))||((o=(s=d?.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(d?.proxy));let m=u;t||(t="modelValue"),m=u||m||`update:${t.toString()}`;const v=p=>a?ar(a)?a(p):nh(p):p,g=()=>Ud(e[t])?v(e[t]):l;if(f){const p=g(),x=Y(p);return he(()=>e[t],y=>x.value=v(y)),he(x,y=>{(y!==e[t]||c)&&h(m,y)},{deep:c}),x}else return ce({get(){return g()},set(p){h(m,p)}})}function w0({window:e=Ce}={}){if(!e)return Y(!1);const t=Y(e.document.hasFocus());return le(e,"blur",()=>{t.value=!1}),le(e,"focus",()=>{t.value=!0}),t}function x0(e={}){const{window:t=Ce,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:s=!0}=e,o=Y(n),a=Y(r),f=()=>{t&&(s?(o.value=t.innerWidth,a.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};return f(),qr(f),le("resize",f,{passive:!0}),i&&le("orientationchange",f,{passive:!0}),{width:o,height:a}}var re="top",ve="bottom",ge="right",ie="left",Wr="auto",Xt=[re,ve,ge,ie],ht="start",qt="end",ph="clippingParents",_o="viewport",$t="popper",vh="reference",Ki=Xt.reduce(function(e,t){return e.concat([t+"-"+ht,t+"-"+qt])},[]),$o=[].concat(Xt,[Wr]).reduce(function(e,t){return e.concat([t,t+"-"+ht,t+"-"+qt])},[]),gh="beforeRead",mh="read",yh="afterRead",bh="beforeMain",wh="main",xh="afterMain",Oh="beforeWrite",Sh="write",Ah="afterWrite",Eh=[gh,mh,yh,bh,wh,xh,Oh,Sh,Ah];function Te(e){return e?(e.nodeName||"").toLowerCase():null}function Me(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pt(e){var t=Me(e).Element;return e instanceof t||e instanceof Element}function de(e){var t=Me(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function zr(e){if(typeof ShadowRoot>"u")return!1;var t=Me(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Mh(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];!de(s)||!Te(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function _h(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(f,u){return f[u]="",f},{});!de(i)||!Te(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(f){i.removeAttribute(f)}))})}}var Po={name:"applyStyles",enabled:!0,phase:"write",fn:Mh,effect:_h,requires:["computeStyles"]};function _e(e){return e.split("-")[0]}var Qe=Math.max,En=Math.min,vt=Math.round;function gt(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(de(e)&&t){var s=e.offsetHeight,o=e.offsetWidth;o>0&&(r=vt(n.width)/o||1),s>0&&(i=vt(n.height)/s||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function Yr(e){var t=gt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function To(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&zr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ne(e){return Me(e).getComputedStyle(e)}function $h(e){return["table","td","th"].indexOf(Te(e))>=0}function Ye(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Nn(e){return Te(e)==="html"?e:e.assignedSlot||e.parentNode||(zr(e)?e.host:null)||Ye(e)}function Zi(e){return!de(e)||Ne(e).position==="fixed"?null:e.offsetParent}function Ph(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&de(e)){var r=Ne(e);if(r.position==="fixed")return null}var i=Nn(e);for(zr(i)&&(i=i.host);de(i)&&["html","body"].indexOf(Te(i))<0;){var s=Ne(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function Kt(e){for(var t=Me(e),n=Zi(e);n&&$h(n)&&Ne(n).position==="static";)n=Zi(n);return n&&(Te(n)==="html"||Te(n)==="body"&&Ne(n).position==="static")?t:n||Ph(e)||t}function Ur(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dt(e,t,n){return Qe(e,En(t,n))}function Th(e,t,n){var r=Dt(e,t,n);return r>n?n:r}function Ro(){return{top:0,right:0,bottom:0,left:0}}function Co(e){return Object.assign({},Ro(),e)}function Do(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Rh=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Co(typeof e!="number"?e:Do(e,Xt))};function Ch(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=_e(n.placement),f=Ur(a),u=[ie,ge].indexOf(a)>=0,c=u?"height":"width";if(!(!s||!o)){var l=Rh(i.padding,n),d=Yr(s),h=f==="y"?re:ie,m=f==="y"?ve:ge,v=n.rects.reference[c]+n.rects.reference[f]-o[f]-n.rects.popper[c],g=o[f]-n.rects.reference[f],p=Kt(s),x=p?f==="y"?p.clientHeight||0:p.clientWidth||0:0,y=v/2-g/2,b=l[h],w=x-d[c]-l[m],S=x/2-d[c]/2+y,$=Dt(b,S,w),R=f;n.modifiersData[r]=(t={},t[R]=$,t.centerOffset=$-S,t)}}function Dh(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!To(t.elements.popper,i)||(t.elements.arrow=i))}var Fh={name:"arrow",enabled:!0,phase:"main",fn:Ch,effect:Dh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mt(e){return e.split("-")[1]}var Ih={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nh(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:vt(t*i)/i||0,y:vt(n*i)/i||0}}function Ji(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,a=e.position,f=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,l=e.isFixed,d=o.x,h=d===void 0?0:d,m=o.y,v=m===void 0?0:m,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var p=o.hasOwnProperty("x"),x=o.hasOwnProperty("y"),y=ie,b=re,w=window;if(u){var S=Kt(n),$="clientHeight",R="clientWidth";if(S===Me(n)&&(S=Ye(n),Ne(S).position!=="static"&&a==="absolute"&&($="scrollHeight",R="scrollWidth")),S=S,i===re||(i===ie||i===ge)&&s===qt){b=ve;var D=l&&S===w&&w.visualViewport?w.visualViewport.height:S[$];v-=D-r.height,v*=f?1:-1}if(i===ie||(i===re||i===ve)&&s===qt){y=ge;var C=l&&S===w&&w.visualViewport?w.visualViewport.width:S[R];h-=C-r.width,h*=f?1:-1}}var P=Object.assign({position:a},u&&Ih),N=c===!0?Nh({x:h,y:v}):{x:h,y:v};if(h=N.x,v=N.y,f){var I;return Object.assign({},P,(I={},I[b]=x?"0":"",I[y]=p?"0":"",I.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",I))}return Object.assign({},P,(t={},t[b]=x?v+"px":"",t[y]=p?h+"px":"",t.transform="",t))}function Lh(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,f=a===void 0?!0:a,u={placement:_e(t.placement),variation:mt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ji(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ji(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Fo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Lh,data:{}},rn={passive:!0};function Bh(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,f=Me(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach(function(c){c.addEventListener("scroll",n.update,rn)}),a&&f.addEventListener("resize",n.update,rn),function(){s&&u.forEach(function(c){c.removeEventListener("scroll",n.update,rn)}),a&&f.removeEventListener("resize",n.update,rn)}}var Io={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Bh,data:{}},jh={left:"right",right:"left",bottom:"top",top:"bottom"};function un(e){return e.replace(/left|right|bottom|top/g,function(t){return jh[t]})}var Hh={start:"end",end:"start"};function ea(e){return e.replace(/start|end/g,function(t){return Hh[t]})}function Gr(e){var t=Me(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Vr(e){return gt(Ye(e)).left+Gr(e).scrollLeft}function qh(e){var t=Me(e),n=Ye(e),r=t.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,a=0;return r&&(i=r.width,s=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,a=r.offsetTop)),{width:i,height:s,x:o+Vr(e),y:a}}function kh(e){var t,n=Ye(e),r=Gr(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=Qe(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Qe(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Vr(e),f=-r.scrollTop;return Ne(i||n).direction==="rtl"&&(a+=Qe(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:f}}function Qr(e){var t=Ne(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function No(e){return["html","body","#document"].indexOf(Te(e))>=0?e.ownerDocument.body:de(e)&&Qr(e)?e:No(Nn(e))}function Ft(e,t){var n;t===void 0&&(t=[]);var r=No(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=Me(r),o=i?[s].concat(s.visualViewport||[],Qr(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(Ft(Nn(o)))}function or(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Wh(e){var t=gt(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function ta(e,t){return t===_o?or(qh(e)):pt(t)?Wh(t):or(kh(Ye(e)))}function zh(e){var t=Ft(Nn(e)),n=["absolute","fixed"].indexOf(Ne(e).position)>=0,r=n&&de(e)?Kt(e):e;return pt(r)?t.filter(function(i){return pt(i)&&To(i,r)&&Te(i)!=="body"}):[]}function Yh(e,t,n){var r=t==="clippingParents"?zh(e):[].concat(t),i=[].concat(r,[n]),s=i[0],o=i.reduce(function(a,f){var u=ta(e,f);return a.top=Qe(u.top,a.top),a.right=En(u.right,a.right),a.bottom=En(u.bottom,a.bottom),a.left=Qe(u.left,a.left),a},ta(e,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Lo(e){var t=e.reference,n=e.element,r=e.placement,i=r?_e(r):null,s=r?mt(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,f;switch(i){case re:f={x:o,y:t.y-n.height};break;case ve:f={x:o,y:t.y+t.height};break;case ge:f={x:t.x+t.width,y:a};break;case ie:f={x:t.x-n.width,y:a};break;default:f={x:t.x,y:t.y}}var u=i?Ur(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(s){case ht:f[u]=f[u]-(t[c]/2-n[c]/2);break;case qt:f[u]=f[u]+(t[c]/2-n[c]/2);break}}return f}function kt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.boundary,o=s===void 0?ph:s,a=n.rootBoundary,f=a===void 0?_o:a,u=n.elementContext,c=u===void 0?$t:u,l=n.altBoundary,d=l===void 0?!1:l,h=n.padding,m=h===void 0?0:h,v=Co(typeof m!="number"?m:Do(m,Xt)),g=c===$t?vh:$t,p=e.rects.popper,x=e.elements[d?g:c],y=Yh(pt(x)?x:x.contextElement||Ye(e.elements.popper),o,f),b=gt(e.elements.reference),w=Lo({reference:b,element:p,placement:i}),S=or(Object.assign({},p,w)),$=c===$t?S:b,R={top:y.top-$.top+v.top,bottom:$.bottom-y.bottom+v.bottom,left:y.left-$.left+v.left,right:$.right-y.right+v.right},D=e.modifiersData.offset;if(c===$t&&D){var C=D[i];Object.keys(R).forEach(function(P){var N=[ge,ve].indexOf(P)>=0?1:-1,I=[re,ve].indexOf(P)>=0?"y":"x";R[P]+=C[I]*N})}return R}function Uh(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,f=n.allowedAutoPlacements,u=f===void 0?$o:f,c=mt(r),l=c?a?Ki:Ki.filter(function(m){return mt(m)===c}):Xt,d=l.filter(function(m){return u.indexOf(m)>=0});d.length===0&&(d=l);var h=d.reduce(function(m,v){return m[v]=kt(e,{placement:v,boundary:i,rootBoundary:s,padding:o})[_e(v)],m},{});return Object.keys(h).sort(function(m,v){return h[m]-h[v]})}function Gh(e){if(_e(e)===Wr)return[];var t=un(e);return[ea(e),t,ea(t)]}function Vh(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,f=n.fallbackPlacements,u=n.padding,c=n.boundary,l=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=h===void 0?!0:h,v=n.allowedAutoPlacements,g=t.options.placement,p=_e(g),x=p===g,y=f||(x||!m?[un(g)]:Gh(g)),b=[g].concat(y).reduce(function(q,z){return q.concat(_e(z)===Wr?Uh(t,{placement:z,boundary:c,rootBoundary:l,padding:u,flipVariations:m,allowedAutoPlacements:v}):z)},[]),w=t.rects.reference,S=t.rects.popper,$=new Map,R=!0,D=b[0],C=0;C<b.length;C++){var P=b[C],N=_e(P),I=mt(P)===ht,_=[re,ve].indexOf(N)>=0,A=_?"width":"height",O=kt(t,{placement:P,boundary:c,rootBoundary:l,altBoundary:d,padding:u}),M=_?I?ge:ie:I?ve:re;w[A]>S[A]&&(M=un(M));var E=un(M),T=[];if(s&&T.push(O[N]<=0),a&&T.push(O[M]<=0,O[E]<=0),T.every(function(q){return q})){D=P,R=!1;break}$.set(P,T)}if(R)for(var F=m?3:1,L=function(q){var z=b.find(function(ae){var X=$.get(ae);if(X)return X.slice(0,q).every(function(te){return te})});if(z)return D=z,"break"},j=F;j>0;j--){var H=L(j);if(H==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}var Qh={name:"flip",enabled:!0,phase:"main",fn:Vh,requiresIfExists:["offset"],data:{_skip:!1}};function na(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ra(e){return[re,ge,ve,ie].some(function(t){return e[t]>=0})}function Xh(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=kt(t,{elementContext:"reference"}),a=kt(t,{altBoundary:!0}),f=na(o,r),u=na(a,i,s),c=ra(f),l=ra(u);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}var Kh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Xh};function Zh(e,t,n){var r=_e(e),i=[ie,re].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[ie,ge].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function Jh(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,o=$o.reduce(function(c,l){return c[l]=Zh(l,t.rects,s),c},{}),a=o[t.placement],f=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}var ep={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Jh};function tp(e){var t=e.state,n=e.name;t.modifiersData[n]=Lo({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Bo={name:"popperOffsets",enabled:!0,phase:"read",fn:tp,data:{}};function np(e){return e==="x"?"y":"x"}function rp(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,f=n.boundary,u=n.rootBoundary,c=n.altBoundary,l=n.padding,d=n.tether,h=d===void 0?!0:d,m=n.tetherOffset,v=m===void 0?0:m,g=kt(t,{boundary:f,rootBoundary:u,padding:l,altBoundary:c}),p=_e(t.placement),x=mt(t.placement),y=!x,b=Ur(p),w=np(b),S=t.modifiersData.popperOffsets,$=t.rects.reference,R=t.rects.popper,D=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,C=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(S){if(s){var I,_=b==="y"?re:ie,A=b==="y"?ve:ge,O=b==="y"?"height":"width",M=S[b],E=M+g[_],T=M-g[A],F=h?-R[O]/2:0,L=x===ht?$[O]:R[O],j=x===ht?-R[O]:-$[O],H=t.elements.arrow,q=h&&H?Yr(H):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ro(),ae=z[_],X=z[A],te=Dt(0,$[O],q[O]),ue=y?$[O]/2-F-te-ae-C.mainAxis:L-te-ae-C.mainAxis,U=y?-$[O]/2+F+te+X+C.mainAxis:j+te+X+C.mainAxis,Q=t.elements.arrow&&Kt(t.elements.arrow),me=Q?b==="y"?Q.clientTop||0:Q.clientLeft||0:0,ye=(I=P?.[b])!=null?I:0,it=M+ue-ye-me,at=M+U-ye,ot=Dt(h?En(E,it):E,M,h?Qe(T,at):T);S[b]=ot,N[b]=ot-M}if(a){var st,Et=b==="x"?re:ie,Mt=b==="x"?ve:ge,He=S[w],tn=w==="y"?"height":"width",ii=He+g[Et],ai=He-g[Mt],kn=[re,ie].indexOf(p)!==-1,oi=(st=P?.[w])!=null?st:0,si=kn?ii:He-$[tn]-R[tn]-oi+C.altAxis,fi=kn?He+$[tn]+R[tn]-oi-C.altAxis:ai,ui=h&&kn?Th(si,He,fi):Dt(h?si:ii,He,h?fi:ai);S[w]=ui,N[w]=ui-He}t.modifiersData[r]=N}}var ip={name:"preventOverflow",enabled:!0,phase:"main",fn:rp,requiresIfExists:["offset"]};function ap(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function op(e){return e===Me(e)||!de(e)?Gr(e):ap(e)}function sp(e){var t=e.getBoundingClientRect(),n=vt(t.width)/e.offsetWidth||1,r=vt(t.height)/e.offsetHeight||1;return n!==1||r!==1}function fp(e,t,n){n===void 0&&(n=!1);var r=de(t),i=de(t)&&sp(t),s=Ye(t),o=gt(e,i),a={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((Te(t)!=="body"||Qr(s))&&(a=op(t)),de(t)?(f=gt(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=Vr(s))),{x:o.left+a.scrollLeft-f.x,y:o.top+a.scrollTop-f.y,width:o.width,height:o.height}}function up(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var f=t.get(a);f&&i(f)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function cp(e){var t=up(e);return Eh.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function lp(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function dp(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ia={placement:"bottom",modifiers:[],strategy:"absolute"};function aa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Xr(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,s=i===void 0?ia:i;return function(o,a,f){f===void 0&&(f=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},ia,s),modifiersData:{},elements:{reference:o,popper:a},attributes:{},styles:{}},c=[],l=!1,d={state:u,setOptions:function(v){var g=typeof v=="function"?v(u.options):v;m(),u.options=Object.assign({},s,u.options,g),u.scrollParents={reference:pt(o)?Ft(o):o.contextElement?Ft(o.contextElement):[],popper:Ft(a)};var p=cp(dp([].concat(r,u.options.modifiers)));return u.orderedModifiers=p.filter(function(x){return x.enabled}),h(),d.update()},forceUpdate:function(){if(!l){var v=u.elements,g=v.reference,p=v.popper;if(aa(g,p)){u.rects={reference:fp(g,Kt(p),u.options.strategy==="fixed"),popper:Yr(p)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(R){return u.modifiersData[R.name]=Object.assign({},R.data)});for(var x=0;x<u.orderedModifiers.length;x++){if(u.reset===!0){u.reset=!1,x=-1;continue}var y=u.orderedModifiers[x],b=y.fn,w=y.options,S=w===void 0?{}:w,$=y.name;typeof b=="function"&&(u=b({state:u,options:S,name:$,instance:d})||u)}}}},update:lp(function(){return new Promise(function(v){d.forceUpdate(),v(u)})}),destroy:function(){m(),l=!0}};if(!aa(o,a))return d;d.setOptions(f).then(function(v){!l&&f.onFirstUpdate&&f.onFirstUpdate(v)});function h(){u.orderedModifiers.forEach(function(v){var g=v.name,p=v.options,x=p===void 0?{}:p,y=v.effect;if(typeof y=="function"){var b=y({state:u,name:g,instance:d,options:x}),w=function(){};c.push(b||w)}})}function m(){c.forEach(function(v){return v()}),c=[]}return d}}Xr();var hp=[Io,Bo,Fo,Po];Xr({defaultModifiers:hp});var pp=[Io,Bo,Fo,Po,ep,Qh,ip,Fh,Kh],O0=Xr({defaultModifiers:pp});function V(e,t){vp(e)&&(e="100%");var n=gp(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function an(e){return Math.min(1,Math.max(0,e))}function vp(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function gp(e){return typeof e=="string"&&e.indexOf("%")!==-1}function jo(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function on(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ge(e){return e.length===1?"0"+e:String(e)}function mp(e,t,n){return{r:V(e,255)*255,g:V(t,255)*255,b:V(n,255)*255}}function oa(e,t,n){e=V(e,255),t=V(t,255),n=V(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=0,a=(r+i)/2;if(r===i)o=0,s=0;else{var f=r-i;switch(o=a>.5?f/(2-r-i):f/(r+i),r){case e:s=(t-n)/f+(t<n?6:0);break;case t:s=(n-e)/f+2;break;case n:s=(e-t)/f+4;break}s/=6}return{h:s,s:o,l:a}}function Vn(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function yp(e,t,n){var r,i,s;if(e=V(e,360),t=V(t,100),n=V(n,100),t===0)i=n,s=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=Vn(a,o,e+1/3),i=Vn(a,o,e),s=Vn(a,o,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function sa(e,t,n){e=V(e,255),t=V(t,255),n=V(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=r,a=r-i,f=r===0?0:a/r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/a+(t<n?6:0);break;case t:s=(n-e)/a+2;break;case n:s=(e-t)/a+4;break}s/=6}return{h:s,s:f,v:o}}function bp(e,t,n){e=V(e,360)*6,t=V(t,100),n=V(n,100);var r=Math.floor(e),i=e-r,s=n*(1-t),o=n*(1-i*t),a=n*(1-(1-i)*t),f=r%6,u=[n,o,s,s,a,n][f],c=[a,n,n,o,s,s][f],l=[s,s,a,n,n,o][f];return{r:u*255,g:c*255,b:l*255}}function fa(e,t,n,r){var i=[Ge(Math.round(e).toString(16)),Ge(Math.round(t).toString(16)),Ge(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function wp(e,t,n,r,i){var s=[Ge(Math.round(e).toString(16)),Ge(Math.round(t).toString(16)),Ge(Math.round(n).toString(16)),Ge(xp(r))];return i&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function xp(e){return Math.round(parseFloat(e)*255).toString(16)}function ua(e){return oe(e)/255}function oe(e){return parseInt(e,16)}function Op(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var sr={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 Sp(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,s=null,o=!1,a=!1;return typeof e=="string"&&(e=Mp(e)),typeof e=="object"&&(Fe(e.r)&&Fe(e.g)&&Fe(e.b)?(t=mp(e.r,e.g,e.b),o=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Fe(e.h)&&Fe(e.s)&&Fe(e.v)?(r=on(e.s),i=on(e.v),t=bp(e.h,r,i),o=!0,a="hsv"):Fe(e.h)&&Fe(e.s)&&Fe(e.l)&&(r=on(e.s),s=on(e.l),t=yp(e.h,r,s),o=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=jo(n),{ok:o,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Ap="[-\\+]?\\d+%?",Ep="[-\\+]?\\d*\\.\\d+%?",qe="(?:".concat(Ep,")|(?:").concat(Ap,")"),Qn="[\\s|\\(]+(".concat(qe,")[,|\\s]+(").concat(qe,")[,|\\s]+(").concat(qe,")\\s*\\)?"),Xn="[\\s|\\(]+(".concat(qe,")[,|\\s]+(").concat(qe,")[,|\\s]+(").concat(qe,")[,|\\s]+(").concat(qe,")\\s*\\)?"),be={CSS_UNIT:new RegExp(qe),rgb:new RegExp("rgb"+Qn),rgba:new RegExp("rgba"+Xn),hsl:new RegExp("hsl"+Qn),hsla:new RegExp("hsla"+Xn),hsv:new RegExp("hsv"+Qn),hsva:new RegExp("hsva"+Xn),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 Mp(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(sr[e])e=sr[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=be.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=be.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=be.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=be.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=be.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=be.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=be.hex8.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),a:ua(n[4]),format:t?"name":"hex8"}:(n=be.hex6.exec(e),n?{r:oe(n[1]),g:oe(n[2]),b:oe(n[3]),format:t?"name":"hex"}:(n=be.hex4.exec(e),n?{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),a:ua(n[4]+n[4]),format:t?"name":"hex8"}:(n=be.hex3.exec(e),n?{r:oe(n[1]+n[1]),g:oe(n[2]+n[2]),b:oe(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Fe(e){return!!be.CSS_UNIT.exec(String(e))}var S0=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Op(t)),this.originalInput=t;var i=Sp(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.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=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,s=t.r/255,o=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=jo(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=sa(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=sa(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=oa(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=oa(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),fa(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),wp(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(V(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(V(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+fa(this.r,this.g,this.b,!1),n=0,r=Object.entries(sr);n<r.length;n++){var i=r[n],s=i[0],o=i[1];if(t===o)return s}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,i=this.a<1&&this.a>=0,s=!n&&i&&(t.startsWith("hex")||t==="name");return s?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=an(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=an(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=an(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=an(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),s=n/100,o={r:(i.r-r.r)*s+r.r,g:(i.g-r.g)*s+r.g,b:(i.b-r.b)*s+r.b,a:(i.a-r.a)*s+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,s=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,s.push(new e(r));return s},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,s=n.v,o=[],a=1/t;t--;)o.push(new e({h:r,s:i,v:s})),s=(s+a)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],s=360/t,o=1;o<t;o++)i.push(new e({h:(r+o*s)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e})();function je(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cn={exports:{}},_p=cn.exports,ca;function $p(){return ca||(ca=1,(function(e,t){(function(n,r){e.exports=r()})(_p,(function(){var n=1e3,r=6e4,i=36e5,s="millisecond",o="second",a="minute",f="hour",u="day",c="week",l="month",d="quarter",h="year",m="date",v="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|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,x={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("_"),ordinal:function(_){var A=["th","st","nd","rd"],O=_%100;return"["+_+(A[(O-20)%10]||A[O]||A[0])+"]"}},y=function(_,A,O){var M=String(_);return!M||M.length>=A?_:""+Array(A+1-M.length).join(O)+_},b={s:y,z:function(_){var A=-_.utcOffset(),O=Math.abs(A),M=Math.floor(O/60),E=O%60;return(A<=0?"+":"-")+y(M,2,"0")+":"+y(E,2,"0")},m:function _(A,O){if(A.date()<O.date())return-_(O,A);var M=12*(O.year()-A.year())+(O.month()-A.month()),E=A.clone().add(M,l),T=O-E<0,F=A.clone().add(M+(T?-1:1),l);return+(-(M+(O-E)/(T?E-F:F-E))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:l,y:h,w:c,d:u,D:m,h:f,m:a,s:o,ms:s,Q:d}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},w="en",S={};S[w]=x;var $="$isDayjsObject",R=function(_){return _ instanceof N||!(!_||!_[$])},D=function _(A,O,M){var E;if(!A)return w;if(typeof A=="string"){var T=A.toLowerCase();S[T]&&(E=T),O&&(S[T]=O,E=T);var F=A.split("-");if(!E&&F.length>1)return _(F[0])}else{var L=A.name;S[L]=A,E=L}return!M&&E&&(w=E),E||!M&&w},C=function(_,A){if(R(_))return _.clone();var O=typeof A=="object"?A:{};return O.date=_,O.args=arguments,new N(O)},P=b;P.l=D,P.i=R,P.w=function(_,A){return C(_,{locale:A.$L,utc:A.$u,x:A.$x,$offset:A.$offset})};var N=(function(){function _(O){this.$L=D(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[$]=!0}var A=_.prototype;return A.parse=function(O){this.$d=(function(M){var E=M.date,T=M.utc;if(E===null)return new Date(NaN);if(P.u(E))return new Date;if(E instanceof Date)return new Date(E);if(typeof E=="string"&&!/Z$/i.test(E)){var F=E.match(g);if(F){var L=F[2]-1||0,j=(F[7]||"0").substring(0,3);return T?new Date(Date.UTC(F[1],L,F[3]||1,F[4]||0,F[5]||0,F[6]||0,j)):new Date(F[1],L,F[3]||1,F[4]||0,F[5]||0,F[6]||0,j)}}return new Date(E)})(O),this.init()},A.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},A.$utils=function(){return P},A.isValid=function(){return this.$d.toString()!==v},A.isSame=function(O,M){var E=C(O);return this.startOf(M)<=E&&E<=this.endOf(M)},A.isAfter=function(O,M){return C(O)<this.startOf(M)},A.isBefore=function(O,M){return this.endOf(M)<C(O)},A.$g=function(O,M,E){return P.u(O)?this[M]:this.set(E,O)},A.unix=function(){return Math.floor(this.valueOf()/1e3)},A.valueOf=function(){return this.$d.getTime()},A.startOf=function(O,M){var E=this,T=!!P.u(M)||M,F=P.p(O),L=function(ue,U){var Q=P.w(E.$u?Date.UTC(E.$y,U,ue):new Date(E.$y,U,ue),E);return T?Q:Q.endOf(u)},j=function(ue,U){return P.w(E.toDate()[ue].apply(E.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(U)),E)},H=this.$W,q=this.$M,z=this.$D,ae="set"+(this.$u?"UTC":"");switch(F){case h:return T?L(1,0):L(31,11);case l:return T?L(1,q):L(0,q+1);case c:var X=this.$locale().weekStart||0,te=(H<X?H+7:H)-X;return L(T?z-te:z+(6-te),q);case u:case m:return j(ae+"Hours",0);case f:return j(ae+"Minutes",1);case a:return j(ae+"Seconds",2);case o:return j(ae+"Milliseconds",3);default:return this.clone()}},A.endOf=function(O){return this.startOf(O,!1)},A.$set=function(O,M){var E,T=P.p(O),F="set"+(this.$u?"UTC":""),L=(E={},E[u]=F+"Date",E[m]=F+"Date",E[l]=F+"Month",E[h]=F+"FullYear",E[f]=F+"Hours",E[a]=F+"Minutes",E[o]=F+"Seconds",E[s]=F+"Milliseconds",E)[T],j=T===u?this.$D+(M-this.$W):M;if(T===l||T===h){var H=this.clone().set(m,1);H.$d[L](j),H.init(),this.$d=H.set(m,Math.min(this.$D,H.daysInMonth())).$d}else L&&this.$d[L](j);return this.init(),this},A.set=function(O,M){return this.clone().$set(O,M)},A.get=function(O){return this[P.p(O)]()},A.add=function(O,M){var E,T=this;O=Number(O);var F=P.p(M),L=function(q){var z=C(T);return P.w(z.date(z.date()+Math.round(q*O)),T)};if(F===l)return this.set(l,this.$M+O);if(F===h)return this.set(h,this.$y+O);if(F===u)return L(1);if(F===c)return L(7);var j=(E={},E[a]=r,E[f]=i,E[o]=n,E)[F]||1,H=this.$d.getTime()+O*j;return P.w(H,this)},A.subtract=function(O,M){return this.add(-1*O,M)},A.format=function(O){var M=this,E=this.$locale();if(!this.isValid())return E.invalidDate||v;var T=O||"YYYY-MM-DDTHH:mm:ssZ",F=P.z(this),L=this.$H,j=this.$m,H=this.$M,q=E.weekdays,z=E.months,ae=E.meridiem,X=function(U,Q,me,ye){return U&&(U[Q]||U(M,T))||me[Q].slice(0,ye)},te=function(U){return P.s(L%12||12,U,"0")},ue=ae||function(U,Q,me){var ye=U<12?"AM":"PM";return me?ye.toLowerCase():ye};return T.replace(p,(function(U,Q){return Q||(function(me){switch(me){case"YY":return String(M.$y).slice(-2);case"YYYY":return P.s(M.$y,4,"0");case"M":return H+1;case"MM":return P.s(H+1,2,"0");case"MMM":return X(E.monthsShort,H,z,3);case"MMMM":return X(z,H);case"D":return M.$D;case"DD":return P.s(M.$D,2,"0");case"d":return String(M.$W);case"dd":return X(E.weekdaysMin,M.$W,q,2);case"ddd":return X(E.weekdaysShort,M.$W,q,3);case"dddd":return q[M.$W];case"H":return String(L);case"HH":return P.s(L,2,"0");case"h":return te(1);case"hh":return te(2);case"a":return ue(L,j,!0);case"A":return ue(L,j,!1);case"m":return String(j);case"mm":return P.s(j,2,"0");case"s":return String(M.$s);case"ss":return P.s(M.$s,2,"0");case"SSS":return P.s(M.$ms,3,"0");case"Z":return F}return null})(U)||F.replace(":","")}))},A.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},A.diff=function(O,M,E){var T,F=this,L=P.p(M),j=C(O),H=(j.utcOffset()-this.utcOffset())*r,q=this-j,z=function(){return P.m(F,j)};switch(L){case h:T=z()/12;break;case l:T=z();break;case d:T=z()/3;break;case c:T=(q-H)/6048e5;break;case u:T=(q-H)/864e5;break;case f:T=q/i;break;case a:T=q/r;break;case o:T=q/n;break;default:T=q}return E?T:P.a(T)},A.daysInMonth=function(){return this.endOf(l).$D},A.$locale=function(){return S[this.$L]},A.locale=function(O,M){if(!O)return this.$L;var E=this.clone(),T=D(O,M,!0);return T&&(E.$L=T),E},A.clone=function(){return P.w(this.$d,this)},A.toDate=function(){return new Date(this.valueOf())},A.toJSON=function(){return this.isValid()?this.toISOString():null},A.toISOString=function(){return this.$d.toISOString()},A.toString=function(){return this.$d.toUTCString()},_})(),I=N.prototype;return C.prototype=I,[["$ms",s],["$s",o],["$m",a],["$H",f],["$W",u],["$M",l],["$y",h],["$D",m]].forEach((function(_){I[_[1]]=function(A){return this.$g(A,_[0],_[1])}})),C.extend=function(_,A){return _.$i||(_(A,N,C),_.$i=!0),C},C.locale=D,C.isDayjs=R,C.unix=function(_){return C(1e3*_)},C.en=S[w],C.Ls=S,C.p={},C}))})(cn)),cn.exports}var Pp=$p();const A0=je(Pp);var ln={exports:{}},Tp=ln.exports,la;function Rp(){return la||(la=1,(function(e,t){(function(n,r){e.exports=r()})(Tp,(function(){return function(n,r,i){var s=r.prototype,o=function(l){return l&&(l.indexOf?l:l.s)},a=function(l,d,h,m,v){var g=l.name?l:l.$locale(),p=o(g[d]),x=o(g[h]),y=p||x.map((function(w){return w.slice(0,m)}));if(!v)return y;var b=g.weekStart;return y.map((function(w,S){return y[(S+(b||0))%7]}))},f=function(){return i.Ls[i.locale()]},u=function(l,d){return l.formats[d]||(function(h){return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(m,v,g){return v||g.slice(1)}))})(l.formats[d.toUpperCase()])},c=function(){var l=this;return{months:function(d){return d?d.format("MMMM"):a(l,"months")},monthsShort:function(d){return d?d.format("MMM"):a(l,"monthsShort","months",3)},firstDayOfWeek:function(){return l.$locale().weekStart||0},weekdays:function(d){return d?d.format("dddd"):a(l,"weekdays")},weekdaysMin:function(d){return d?d.format("dd"):a(l,"weekdaysMin","weekdays",2)},weekdaysShort:function(d){return d?d.format("ddd"):a(l,"weekdaysShort","weekdays",3)},longDateFormat:function(d){return u(l.$locale(),d)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return c.bind(this)()},i.localeData=function(){var l=f();return{firstDayOfWeek:function(){return l.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(d){return u(l,d)},meridiem:l.meridiem,ordinal:l.ordinal}},i.months=function(){return a(f(),"months")},i.monthsShort=function(){return a(f(),"monthsShort","months",3)},i.weekdays=function(l){return a(f(),"weekdays",null,null,l)},i.weekdaysShort=function(l){return a(f(),"weekdaysShort","weekdays",3,l)},i.weekdaysMin=function(l){return a(f(),"weekdaysMin","weekdays",2,l)}}}))})(ln)),ln.exports}var Cp=Rp();const E0=je(Cp);var dn={exports:{}},Dp=dn.exports,da;function Fp(){return da||(da=1,(function(e,t){(function(n,r){e.exports=r()})(Dp,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,o=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,f={},u=function(g){return(g=+g)+(g>68?1900:2e3)},c=function(g){return function(p){this[g]=+p}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(p){if(!p||p==="Z")return 0;var x=p.match(/([+-]|\d\d)/g),y=60*x[1]+(+x[2]||0);return y===0?0:x[0]==="+"?-y:y})(g)}],d=function(g){var p=f[g];return p&&(p.indexOf?p:p.s.concat(p.f))},h=function(g,p){var x,y=f.meridiem;if(y){for(var b=1;b<=24;b+=1)if(g.indexOf(y(b,0,p))>-1){x=b>12;break}}else x=g===(p?"pm":"PM");return x},m={A:[a,function(g){this.afternoon=h(g,!1)}],a:[a,function(g){this.afternoon=h(g,!0)}],Q:[i,function(g){this.month=3*(g-1)+1}],S:[i,function(g){this.milliseconds=100*+g}],SS:[s,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[s,c("day")],Do:[a,function(g){var p=f.ordinal,x=g.match(/\d+/);if(this.day=x[0],p)for(var y=1;y<=31;y+=1)p(y).replace(/\[|\]/g,"")===g&&(this.day=y)}],w:[o,c("week")],ww:[s,c("week")],M:[o,c("month")],MM:[s,c("month")],MMM:[a,function(g){var p=d("months"),x=(d("monthsShort")||p.map((function(y){return y.slice(0,3)}))).indexOf(g)+1;if(x<1)throw new Error;this.month=x%12||x}],MMMM:[a,function(g){var p=d("months").indexOf(g)+1;if(p<1)throw new Error;this.month=p%12||p}],Y:[/[+-]?\d+/,c("year")],YY:[s,function(g){this.year=u(g)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l};function v(g){var p,x;p=g,x=f&&f.formats;for(var y=(g=p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(C,P,N){var I=N&&N.toUpperCase();return P||x[N]||n[N]||x[I].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(_,A,O){return A||O.slice(1)}))}))).match(r),b=y.length,w=0;w<b;w+=1){var S=y[w],$=m[S],R=$&&$[0],D=$&&$[1];y[w]=D?{regex:R,parser:D}:S.replace(/^\[|\]$/g,"")}return function(C){for(var P={},N=0,I=0;N<b;N+=1){var _=y[N];if(typeof _=="string")I+=_.length;else{var A=_.regex,O=_.parser,M=C.slice(I),E=A.exec(M)[0];O.call(P,E),C=C.replace(E,"")}}return(function(T){var F=T.afternoon;if(F!==void 0){var L=T.hours;F?L<12&&(T.hours+=12):L===12&&(T.hours=0),delete T.afternoon}})(P),P}}return function(g,p,x){x.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(u=g.parseTwoDigitYear);var y=p.prototype,b=y.parse;y.parse=function(w){var S=w.date,$=w.utc,R=w.args;this.$u=$;var D=R[1];if(typeof D=="string"){var C=R[2]===!0,P=R[3]===!0,N=C||P,I=R[2];P&&(I=R[2]),f=this.$locale(),!C&&I&&(f=x.Ls[I]),this.$d=(function(M,E,T,F){try{if(["x","X"].indexOf(E)>-1)return new Date((E==="X"?1e3:1)*M);var L=v(E)(M),j=L.year,H=L.month,q=L.day,z=L.hours,ae=L.minutes,X=L.seconds,te=L.milliseconds,ue=L.zone,U=L.week,Q=new Date,me=q||(j||H?1:Q.getDate()),ye=j||Q.getFullYear(),it=0;j&&!H||(it=H>0?H-1:Q.getMonth());var at,ot=z||0,st=ae||0,Et=X||0,Mt=te||0;return ue?new Date(Date.UTC(ye,it,me,ot,st,Et,Mt+60*ue.offset*1e3)):T?new Date(Date.UTC(ye,it,me,ot,st,Et,Mt)):(at=new Date(ye,it,me,ot,st,Et,Mt),U&&(at=F(at).week(U).toDate()),at)}catch{return new Date("")}})(S,D,$,x),this.init(),I&&I!==!0&&(this.$L=this.locale(I).$L),N&&S!=this.format(D)&&(this.$d=new Date("")),f={}}else if(D instanceof Array)for(var _=D.length,A=1;A<=_;A+=1){R[1]=D[A-1];var O=x.apply(this,R);if(O.isValid()){this.$d=O.$d,this.$L=O.$L,this.init();break}A===_&&(this.$d=new Date(""))}else b.call(this,w)}}}))})(dn)),dn.exports}var Ip=Fp();const M0=je(Ip);var hn={exports:{}},Np=hn.exports,ha;function Lp(){return ha||(ha=1,(function(e,t){(function(n,r){e.exports=r()})(Np,(function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(o){var a=this,f=this.$locale();if(!this.isValid())return s.bind(this)(o);var u=this.$utils(),c=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(l){switch(l){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return f.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return f.ordinal(a.week(),"W");case"w":case"ww":return u.s(a.week(),l==="w"?1:2,"0");case"W":case"WW":return u.s(a.isoWeek(),l==="W"?1:2,"0");case"k":case"kk":return u.s(String(a.$H===0?24:a.$H),l==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return l}}));return s.bind(this)(c)}}}))})(hn)),hn.exports}var Bp=Lp();const _0=je(Bp);var pn={exports:{}},jp=pn.exports,pa;function Hp(){return pa||(pa=1,(function(e,t){(function(n,r){e.exports=r()})(jp,(function(){var n="week",r="year";return function(i,s,o){var a=s.prototype;a.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=o(this).startOf(r).add(1,r).date(u),l=o(this).endOf(n);if(c.isBefore(l))return 1}var d=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),h=this.diff(d,n,!0);return h<0?o(this).startOf("week").week():Math.ceil(h)},a.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}}))})(pn)),pn.exports}var qp=Hp();const $0=je(qp);var vn={exports:{}},kp=vn.exports,va;function Wp(){return va||(va=1,(function(e,t){(function(n,r){e.exports=r()})(kp,(function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),s=this.week(),o=this.year();return s===1&&i===11?o+1:i===0&&s>=52?o-1:o}}}))})(vn)),vn.exports}var zp=Wp();const P0=je(zp);var gn={exports:{}},Yp=gn.exports,ga;function Up(){return ga||(ga=1,(function(e,t){(function(n,r){e.exports=r()})(Yp,(function(){return function(n,r,i){r.prototype.dayOfYear=function(s){var o=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return s==null?o:this.add(s-o,"day")}}}))})(gn)),gn.exports}var Gp=Up();const T0=je(Gp);var mn={exports:{}},Vp=mn.exports,ma;function Qp(){return ma||(ma=1,(function(e,t){(function(n,r){e.exports=r()})(Vp,(function(){return function(n,r){r.prototype.isSameOrAfter=function(i,s){return this.isSame(i,s)||this.isAfter(i,s)}}}))})(mn)),mn.exports}var Xp=Qp();const R0=je(Xp);var yn={exports:{}},Kp=yn.exports,ya;function Zp(){return ya||(ya=1,(function(e,t){(function(n,r){e.exports=r()})(Kp,(function(){return function(n,r){r.prototype.isSameOrBefore=function(i,s){return this.isSame(i,s)||this.isBefore(i,s)}}}))})(yn)),yn.exports}var Jp=Zp();const C0=je(Jp);function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ve.apply(this,arguments)}function ev(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wt(e,t)}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},fr(e)}function Wt(e,t){return Wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Wt(e,t)}function tv(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bn(e,t,n){return tv()?bn=Reflect.construct.bind():bn=function(i,s,o){var a=[null];a.push.apply(a,s);var f=Function.bind.apply(i,a),u=new f;return o&&Wt(u,o.prototype),u},bn.apply(null,arguments)}function nv(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ur(e){var t=typeof Map=="function"?new Map:void 0;return ur=function(r){if(r===null||!nv(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return bn(r,arguments,fr(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Wt(i,r)},ur(e)}var rv=/%[sdj%]/g,iv=function(){};function cr(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,s=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var o=e.replace(rv,function(a){if(a==="%%")return"%";if(i>=s)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return a}});return o}return e}function av(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function G(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||av(t)&&typeof e=="string"&&!e)}function ov(e,t,n){var r=[],i=0,s=e.length;function o(a){r.push.apply(r,a||[]),i++,i===s&&n(r)}e.forEach(function(a){t(a,o)})}function ba(e,t,n){var r=0,i=e.length;function s(o){if(o&&o.length){n(o);return}var a=r;r=r+1,a<i?t(e[a],s):n([])}s([])}function sv(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var wa=(function(e){ev(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t})(ur(Error));function fv(e,t,n,r,i){if(t.first){var s=new Promise(function(d,h){var m=function(p){return r(p),p.length?h(new wa(p,cr(p))):d(i)},v=sv(e);ba(v,n,m)});return s.catch(function(d){return d}),s}var o=t.firstFields===!0?Object.keys(e):t.firstFields||[],a=Object.keys(e),f=a.length,u=0,c=[],l=new Promise(function(d,h){var m=function(g){if(c.push.apply(c,g),u++,u===f)return r(c),c.length?h(new wa(c,cr(c))):d(i)};a.length||(r(c),d(i)),a.forEach(function(v){var g=e[v];o.indexOf(v)!==-1?ba(g,n,m):ov(g,n,m)})});return l.catch(function(d){return d}),l}function uv(e){return!!(e&&e.message!==void 0)}function cv(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function xa(e,t){return function(n){var r;return e.fullFields?r=cv(t,e.fullFields):r=t[n.field||e.fullField],uv(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function Oa(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Ve({},e[n],r):e[n]=r}}return e}var Ho=function(t,n,r,i,s,o){t.required&&(!r.hasOwnProperty(t.field)||G(n,o||t.type))&&i.push(se(s.messages.required,t.fullField))},lv=function(t,n,r,i,s){(/^\s+$/.test(n)||n==="")&&i.push(se(s.messages.whitespace,t.fullField))},sn,dv=(function(){if(sn)return sn;var e="[a-fA-F\\d:]",t=function(b){return b&&b.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=(`
(?:
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),o=new RegExp("^"+n+"$"),a=new RegExp("^"+i+"$"),f=function(b){return b&&b.exact?s:new RegExp("(?:"+t(b)+n+t(b)+")|(?:"+t(b)+i+t(b)+")","g")};f.v4=function(y){return y&&y.exact?o:new RegExp(""+t(y)+n+t(y),"g")},f.v6=function(y){return y&&y.exact?a:new RegExp(""+t(y)+i+t(y),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",l=f.v4().source,d=f.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",m="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",p='(?:[/?#][^\\s"]*)?',x="(?:"+u+"|www\\.)"+c+"(?:localhost|"+l+"|"+d+"|"+h+m+v+")"+g+p;return sn=new RegExp("(?:^"+x+"$)","i"),sn}),Sa={email:/^(([^<>()\[\]\\.,;:\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,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Pt={integer:function(t){return Pt.number(t)&&parseInt(t,10)===t},float:function(t){return Pt.number(t)&&!Pt.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Pt.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Sa.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(dv())},hex:function(t){return typeof t=="string"&&!!t.match(Sa.hex)}},hv=function(t,n,r,i,s){if(t.required&&n===void 0){Ho(t,n,r,i,s);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;o.indexOf(a)>-1?Pt[a](n)||i.push(se(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&i.push(se(s.messages.types[a],t.fullField,t.type))},pv=function(t,n,r,i,s){var o=typeof t.len=="number",a=typeof t.min=="number",f=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,l=null,d=typeof n=="number",h=typeof n=="string",m=Array.isArray(n);if(d?l="number":h?l="string":m&&(l="array"),!l)return!1;m&&(c=n.length),h&&(c=n.replace(u,"_").length),o?c!==t.len&&i.push(se(s.messages[l].len,t.fullField,t.len)):a&&!f&&c<t.min?i.push(se(s.messages[l].min,t.fullField,t.min)):f&&!a&&c>t.max?i.push(se(s.messages[l].max,t.fullField,t.max)):a&&f&&(c<t.min||c>t.max)&&i.push(se(s.messages[l].range,t.fullField,t.min,t.max))},ft="enum",vv=function(t,n,r,i,s){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(n)===-1&&i.push(se(s.messages[ft],t.fullField,t[ft].join(", ")))},gv=function(t,n,r,i,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(se(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||i.push(se(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},B={required:Ho,whitespace:lv,type:hv,range:pv,enum:vv,pattern:gv},mv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n,"string")&&!t.required)return r();B.required(t,n,i,o,s,"string"),G(n,"string")||(B.type(t,n,i,o,s),B.range(t,n,i,o,s),B.pattern(t,n,i,o,s),t.whitespace===!0&&B.whitespace(t,n,i,o,s))}r(o)},yv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B.type(t,n,i,o,s)}r(o)},bv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},wv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B.type(t,n,i,o,s)}r(o)},xv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),G(n)||B.type(t,n,i,o,s)}r(o)},Ov=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},Sv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},Av=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();B.required(t,n,i,o,s,"array"),n!=null&&(B.type(t,n,i,o,s),B.range(t,n,i,o,s))}r(o)},Ev=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B.type(t,n,i,o,s)}r(o)},Mv="enum",_v=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s),n!==void 0&&B[Mv](t,n,i,o,s)}r(o)},$v=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n,"string")&&!t.required)return r();B.required(t,n,i,o,s),G(n,"string")||B.pattern(t,n,i,o,s)}r(o)},Pv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n,"date")&&!t.required)return r();if(B.required(t,n,i,o,s),!G(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),B.type(t,f,i,o,s),f&&B.range(t,f.getTime(),i,o,s)}}r(o)},Tv=function(t,n,r,i,s){var o=[],a=Array.isArray(n)?"array":typeof n;B.required(t,n,i,o,s,a),r(o)},Kn=function(t,n,r,i,s){var o=t.type,a=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(G(n,o)&&!t.required)return r();B.required(t,n,i,a,s,o),G(n,o)||B.type(t,n,i,a,s)}r(a)},Rv=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(n)&&!t.required)return r();B.required(t,n,i,o,s)}r(o)},It={string:mv,method:yv,number:bv,boolean:wv,regexp:xv,integer:Ov,float:Sv,array:Av,object:Ev,enum:_v,pattern:$v,date:Pv,url:Kn,hex:Kn,email:Kn,required:Tv,any:Rv};function lr(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var dr=lr(),Ln=(function(){function e(n){this.rules=null,this._messages=dr,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(s){var o=r[s];i.rules[s]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=Oa(lr(),r)),this._messages},t.validate=function(r,i,s){var o=this;i===void 0&&(i={}),s===void 0&&(s=function(){});var a=r,f=i,u=s;if(typeof f=="function"&&(u=f,f={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,a),Promise.resolve(a);function c(v){var g=[],p={};function x(b){if(Array.isArray(b)){var w;g=(w=g).concat.apply(w,b)}else g.push(b)}for(var y=0;y<v.length;y++)x(v[y]);g.length?(p=cr(g),u(g,p)):u(null,a)}if(f.messages){var l=this.messages();l===dr&&(l=lr()),Oa(l,f.messages),f.messages=l}else f.messages=this.messages();var d={},h=f.keys||Object.keys(this.rules);h.forEach(function(v){var g=o.rules[v],p=a[v];g.forEach(function(x){var y=x;typeof y.transform=="function"&&(a===r&&(a=Ve({},a)),p=a[v]=y.transform(p)),typeof y=="function"?y={validator:y}:y=Ve({},y),y.validator=o.getValidationMethod(y),y.validator&&(y.field=v,y.fullField=y.fullField||v,y.type=o.getType(y),d[v]=d[v]||[],d[v].push({rule:y,value:p,source:a,field:v}))})});var m={};return fv(d,f,function(v,g){var p=v.rule,x=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");x=x&&(p.required||!p.required&&v.value),p.field=v.field;function y(S,$){return Ve({},$,{fullField:p.fullField+"."+S,fullFields:p.fullFields?[].concat(p.fullFields,[S]):[S]})}function b(S){S===void 0&&(S=[]);var $=Array.isArray(S)?S:[S];!f.suppressWarning&&$.length&&e.warning("async-validator:",$),$.length&&p.message!==void 0&&($=[].concat(p.message));var R=$.map(xa(p,a));if(f.first&&R.length)return m[p.field]=1,g(R);if(!x)g(R);else{if(p.required&&!v.value)return p.message!==void 0?R=[].concat(p.message).map(xa(p,a)):f.error&&(R=[f.error(p,se(f.messages.required,p.field))]),g(R);var D={};p.defaultField&&Object.keys(v.value).map(function(N){D[N]=p.defaultField}),D=Ve({},D,v.rule.fields);var C={};Object.keys(D).forEach(function(N){var I=D[N],_=Array.isArray(I)?I:[I];C[N]=_.map(y.bind(null,N))});var P=new e(C);P.messages(f.messages),v.rule.options&&(v.rule.options.messages=f.messages,v.rule.options.error=f.error),P.validate(v.value,v.rule.options||f,function(N){var I=[];R&&R.length&&I.push.apply(I,R),N&&N.length&&I.push.apply(I,N),g(I.length?I:null)})}}var w;if(p.asyncValidator)w=p.asyncValidator(p,v.value,b,v.source,f);else if(p.validator){try{w=p.validator(p,v.value,b,v.source,f)}catch(S){console.error?.(S),f.suppressValidatorError||setTimeout(function(){throw S},0),b(S.message)}w===!0?b():w===!1?b(typeof p.message=="function"?p.message(p.fullField||p.field):p.message||(p.fullField||p.field)+" fails"):w instanceof Array?b(w):w instanceof Error&&b(w.message)}w&&w.then&&w.then(function(){return b()},function(S){return b(S)})},function(v){c(v)},a)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!It.hasOwnProperty(r.type))throw new Error(se("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var i=Object.keys(r),s=i.indexOf("message");return s!==-1&&i.splice(s,1),i.length===1&&i[0]==="required"?It.required:It[this.getType(r)]||void 0},e})();Ln.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");It[t]=n};Ln.warning=iv;Ln.messages=dr;Ln.validators=It;var Aa=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Cv(e,t){return!!(e===t||Aa(e)&&Aa(t))}function Dv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Cv(e[n],t[n]))return!1;return!0}function D0(e,t){t===void 0&&(t=Dv);var n=null;function r(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}var Ea=!1,Ue,hr,pr,wn,xn,qo,On,vr,gr,mr,ko,yr,br,Wo,zo;function ne(){if(!Ea){Ea=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(yr=/\b(iPhone|iP[ao]d)/.exec(e),br=/\b(iP[ao]d)/.exec(e),mr=/Android/i.exec(e),Wo=/FBAN\/\w+;/i.exec(e),zo=/Mobile/i.exec(e),ko=!!/Win64/.exec(e),t){Ue=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Ue&&document&&document.documentMode&&(Ue=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);qo=r?parseFloat(r[1])+4:Ue,hr=t[2]?parseFloat(t[2]):NaN,pr=t[3]?parseFloat(t[3]):NaN,wn=t[4]?parseFloat(t[4]):NaN,wn?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),xn=t&&t[1]?parseFloat(t[1]):NaN):xn=NaN}else Ue=hr=pr=xn=wn=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);On=i?parseFloat(i[1].replace("_",".")):!0}else On=!1;vr=!!n[2],gr=!!n[3]}else On=vr=gr=!1}}var wr={ie:function(){return ne()||Ue},ieCompatibilityMode:function(){return ne()||qo>Ue},ie64:function(){return wr.ie()&&ko},firefox:function(){return ne()||hr},opera:function(){return ne()||pr},webkit:function(){return ne()||wn},safari:function(){return wr.webkit()},chrome:function(){return ne()||xn},windows:function(){return ne()||vr},osx:function(){return ne()||On},linux:function(){return ne()||gr},iphone:function(){return ne()||yr},mobile:function(){return ne()||yr||br||mr||zo},nativeApp:function(){return ne()||Wo},android:function(){return ne()||mr},ipad:function(){return ne()||br}},Fv=wr,Iv=!!(typeof window<"u"&&window.document&&window.document.createElement),Nv={canUseDOM:Iv},Yo=Nv,Uo;Yo.canUseDOM&&(Uo=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Lv(e,t){if(!Yo.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r=typeof i[n]=="function"}return!r&&Uo&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Bv=Lv,Ma=10,_a=40,$a=800;function Go(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*Ma,i=n*Ma,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=_a,i*=_a):(r*=$a,i*=$a)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}Go.getEventType=function(){return Fv.firefox()?"DOMMouseScroll":Bv("wheel")?"wheel":"mousewheel"};var F0=Go;const yt=Math.min,Xe=Math.max,Mn=Math.round,fn=Math.floor,$e=e=>({x:e,y:e}),jv={left:"right",right:"left",bottom:"top",top:"bottom"},Hv={start:"end",end:"start"};function xr(e,t,n){return Xe(e,yt(t,n))}function Zt(e,t){return typeof e=="function"?e(t):e}function Ze(e){return e.split("-")[0]}function Jt(e){return e.split("-")[1]}function Vo(e){return e==="x"?"y":"x"}function Kr(e){return e==="y"?"height":"width"}const qv=new Set(["top","bottom"]);function ke(e){return qv.has(Ze(e))?"y":"x"}function Zr(e){return Vo(ke(e))}function kv(e,t,n){n===void 0&&(n=!1);const r=Jt(e),i=Zr(e),s=Kr(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=_n(o)),[o,_n(o)]}function Wv(e){const t=_n(e);return[Or(e),t,Or(t)]}function Or(e){return e.replace(/start|end/g,t=>Hv[t])}const Pa=["left","right"],Ta=["right","left"],zv=["top","bottom"],Yv=["bottom","top"];function Uv(e,t,n){switch(e){case"top":case"bottom":return n?t?Ta:Pa:t?Pa:Ta;case"left":case"right":return t?zv:Yv;default:return[]}}function Gv(e,t,n,r){const i=Jt(e);let s=Uv(Ze(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Or)))),s}function _n(e){return e.replace(/left|right|bottom|top/g,t=>jv[t])}function Vv(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qo(e){return typeof e!="number"?Vv(e):{top:e,right:e,bottom:e,left:e}}function $n(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Ra(e,t,n){let{reference:r,floating:i}=e;const s=ke(t),o=Zr(t),a=Kr(o),f=Ze(t),u=s==="y",c=r.x+r.width/2-i.width/2,l=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(f){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:l};break;case"left":h={x:r.x-i.width,y:l};break;default:h={x:r.x,y:r.y}}switch(Jt(t)){case"start":h[o]-=d*(n&&u?-1:1);break;case"end":h[o]+=d*(n&&u?-1:1);break}return h}const Qv=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),f=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:l}=Ra(u,r,f),d=r,h={},m=0;for(let v=0;v<a.length;v++){const{name:g,fn:p}=a[v],{x,y,data:b,reset:w}=await p({x:c,y:l,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:o,elements:{reference:e,floating:t}});c=x??c,l=y??l,h={...h,[g]:{...h[g],...b}},w&&m<=50&&(m++,typeof w=="object"&&(w.placement&&(d=w.placement),w.rects&&(u=w.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:l}=Ra(u,d,f)),v=-1)}return{x:c,y:l,placement:d,strategy:i,middlewareData:h}};async function Jr(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:l="floating",altBoundary:d=!1,padding:h=0}=Zt(t,e),m=Qo(h),g=a[d?l==="floating"?"reference":"floating":l],p=$n(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:f})),x=l==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),b=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},w=$n(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:y,strategy:f}):x);return{top:(p.top-w.top+m.top)/b.y,bottom:(w.bottom-p.bottom+m.bottom)/b.y,left:(p.left-w.left+m.left)/b.x,right:(w.right-p.right+m.right)/b.x}}const Xv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:f}=t,{element:u,padding:c=0}=Zt(e,t)||{};if(u==null)return{};const l=Qo(c),d={x:n,y:r},h=Zr(i),m=Kr(h),v=await o.getDimensions(u),g=h==="y",p=g?"top":"left",x=g?"bottom":"right",y=g?"clientHeight":"clientWidth",b=s.reference[m]+s.reference[h]-d[h]-s.floating[m],w=d[h]-s.reference[h],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let $=S?S[y]:0;(!$||!await(o.isElement==null?void 0:o.isElement(S)))&&($=a.floating[y]||s.floating[m]);const R=b/2-w/2,D=$/2-v[m]/2-1,C=yt(l[p],D),P=yt(l[x],D),N=C,I=$-v[m]-P,_=$/2-v[m]/2+R,A=xr(N,_,I),O=!f.arrow&&Jt(i)!=null&&_!==A&&s.reference[m]/2-(_<N?C:P)-v[m]/2<0,M=O?_<N?_-N:_-I:0;return{[h]:d[h]+M,data:{[h]:A,centerOffset:_-A-M,...O&&{alignmentOffset:M}},reset:O}}}),Kv=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:f,elements:u}=t,{mainAxis:c=!0,crossAxis:l=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:v=!0,...g}=Zt(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const p=Ze(i),x=ke(a),y=Ze(a)===a,b=await(f.isRTL==null?void 0:f.isRTL(u.floating)),w=d||(y||!v?[_n(a)]:Wv(a)),S=m!=="none";!d&&S&&w.push(...Gv(a,v,m,b));const $=[a,...w],R=await Jr(t,g),D=[];let C=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&D.push(R[p]),l){const _=kv(i,o,b);D.push(R[_[0]],R[_[1]])}if(C=[...C,{placement:i,overflows:D}],!D.every(_=>_<=0)){var P,N;const _=(((P=s.flip)==null?void 0:P.index)||0)+1,A=$[_];if(A&&(!(l==="alignment"?x!==ke(A):!1)||C.every(E=>ke(E.placement)===x?E.overflows[0]>0:!0)))return{data:{index:_,overflows:C},reset:{placement:A}};let O=(N=C.filter(M=>M.overflows[0]<=0).sort((M,E)=>M.overflows[1]-E.overflows[1])[0])==null?void 0:N.placement;if(!O)switch(h){case"bestFit":{var I;const M=(I=C.filter(E=>{if(S){const T=ke(E.placement);return T===x||T==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(T=>T>0).reduce((T,F)=>T+F,0)]).sort((E,T)=>E[1]-T[1])[0])==null?void 0:I[0];M&&(O=M);break}case"initialPlacement":O=a;break}if(i!==O)return{reset:{placement:O}}}return{}}}},Zv=new Set(["left","top"]);async function Jv(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Ze(n),a=Jt(n),f=ke(n)==="y",u=Zv.has(o)?-1:1,c=s&&f?-1:1,l=Zt(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:m}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return a&&typeof m=="number"&&(h=a==="end"?m*-1:m),f?{x:h*c,y:d*u}:{x:d*u,y:h*c}}const eg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,f=await Jv(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:o}}}}},tg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:g=>{let{x:p,y:x}=g;return{x:p,y:x}}},...f}=Zt(e,t),u={x:n,y:r},c=await Jr(t,f),l=ke(Ze(i)),d=Vo(l);let h=u[d],m=u[l];if(s){const g=d==="y"?"top":"left",p=d==="y"?"bottom":"right",x=h+c[g],y=h-c[p];h=xr(x,h,y)}if(o){const g=l==="y"?"top":"left",p=l==="y"?"bottom":"right",x=m+c[g],y=m-c[p];m=xr(x,m,y)}const v=a.fn({...t,[d]:h,[l]:m});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:s,[l]:o}}}}}};function Bn(){return typeof window<"u"}function At(e){return Xo(e)?(e.nodeName||"").toLowerCase():"#document"}function fe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function De(e){var t;return(t=(Xo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Xo(e){return Bn()?e instanceof Node||e instanceof fe(e).Node:!1}function Se(e){return Bn()?e instanceof Element||e instanceof fe(e).Element:!1}function Re(e){return Bn()?e instanceof HTMLElement||e instanceof fe(e).HTMLElement:!1}function Ca(e){return!Bn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof fe(e).ShadowRoot}const ng=new Set(["inline","contents"]);function en(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ng.has(i)}const rg=new Set(["table","td","th"]);function ig(e){return rg.has(At(e))}const ag=[":popover-open",":modal"];function jn(e){return ag.some(t=>{try{return e.matches(t)}catch{return!1}})}const og=["transform","translate","scale","rotate","perspective"],sg=["transform","translate","scale","rotate","perspective","filter"],fg=["paint","layout","strict","content"];function ei(e){const t=ti(),n=Se(e)?Ae(e):e;return og.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||sg.some(r=>(n.willChange||"").includes(r))||fg.some(r=>(n.contain||"").includes(r))}function ug(e){let t=ze(e);for(;Re(t)&&!bt(t);){if(ei(t))return t;if(jn(t))return null;t=ze(t)}return null}function ti(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const cg=new Set(["html","body","#document"]);function bt(e){return cg.has(At(e))}function Ae(e){return fe(e).getComputedStyle(e)}function Hn(e){return Se(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ze(e){if(At(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ca(e)&&e.host||De(e);return Ca(t)?t.host:t}function Ko(e){const t=ze(e);return bt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Re(t)&&en(t)?t:Ko(t)}function zt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Ko(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=fe(i);if(s){const a=Sr(o);return t.concat(o,o.visualViewport||[],en(i)?i:[],a&&n?zt(a):[])}return t.concat(i,zt(i,[],n))}function Sr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Zo(e){const t=Ae(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Re(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Mn(n)!==s||Mn(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function ni(e){return Se(e)?e:e.contextElement}function lt(e){const t=ni(e);if(!Re(t))return $e(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=Zo(t);let o=(s?Mn(n.width):n.width)/r,a=(s?Mn(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const lg=$e(0);function Jo(e){const t=fe(e);return!ti()||!t.visualViewport?lg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dg(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==fe(e)?!1:t}function Je(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=ni(e);let o=$e(1);t&&(r?Se(r)&&(o=lt(r)):o=lt(e));const a=dg(s,n,r)?Jo(s):$e(0);let f=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,l=i.height/o.y;if(s){const d=fe(s),h=r&&Se(r)?fe(r):r;let m=d,v=Sr(m);for(;v&&r&&h!==m;){const g=lt(v),p=v.getBoundingClientRect(),x=Ae(v),y=p.left+(v.clientLeft+parseFloat(x.paddingLeft))*g.x,b=p.top+(v.clientTop+parseFloat(x.paddingTop))*g.y;f*=g.x,u*=g.y,c*=g.x,l*=g.y,f+=y,u+=b,m=fe(v),v=Sr(m)}}return $n({width:c,height:l,x:f,y:u})}function qn(e,t){const n=Hn(e).scrollLeft;return t?t.left+n:Je(De(e)).left+n}function es(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-qn(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function hg(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=De(r),a=t?jn(t.floating):!1;if(r===o||a&&s)return n;let f={scrollLeft:0,scrollTop:0},u=$e(1);const c=$e(0),l=Re(r);if((l||!l&&!s)&&((At(r)!=="body"||en(o))&&(f=Hn(r)),Re(r))){const h=Je(r);u=lt(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const d=o&&!l&&!s?es(o,f):$e(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-f.scrollTop*u.y+c.y+d.y}}function pg(e){return Array.from(e.getClientRects())}function vg(e){const t=De(e),n=Hn(e),r=e.ownerDocument.body,i=Xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+qn(e);const a=-n.scrollTop;return Ae(r).direction==="rtl"&&(o+=Xe(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}const Da=25;function gg(e,t){const n=fe(e),r=De(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,f=0;if(i){s=i.width,o=i.height;const c=ti();(!c||c&&t==="fixed")&&(a=i.offsetLeft,f=i.offsetTop)}const u=qn(r);if(u<=0){const c=r.ownerDocument,l=c.body,d=getComputedStyle(l),h=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,m=Math.abs(r.clientWidth-l.clientWidth-h);m<=Da&&(s-=m)}else u<=Da&&(s+=u);return{width:s,height:o,x:a,y:f}}const mg=new Set(["absolute","fixed"]);function yg(e,t){const n=Je(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Re(e)?lt(e):$e(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,f=i*s.x,u=r*s.y;return{width:o,height:a,x:f,y:u}}function Fa(e,t,n){let r;if(t==="viewport")r=gg(e,n);else if(t==="document")r=vg(De(e));else if(Se(t))r=yg(t,n);else{const i=Jo(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return $n(r)}function ts(e,t){const n=ze(e);return n===t||!Se(n)||bt(n)?!1:Ae(n).position==="fixed"||ts(n,t)}function bg(e,t){const n=t.get(e);if(n)return n;let r=zt(e,[],!1).filter(a=>Se(a)&&At(a)!=="body"),i=null;const s=Ae(e).position==="fixed";let o=s?ze(e):e;for(;Se(o)&&!bt(o);){const a=Ae(o),f=ei(o);!f&&a.position==="fixed"&&(i=null),(s?!f&&!i:!f&&a.position==="static"&&!!i&&mg.has(i.position)||en(o)&&!f&&ts(e,o))?r=r.filter(c=>c!==o):i=a,o=ze(o)}return t.set(e,r),r}function wg(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?jn(t)?[]:bg(t,this._c):[].concat(n),r],a=o[0],f=o.reduce((u,c)=>{const l=Fa(t,c,i);return u.top=Xe(l.top,u.top),u.right=yt(l.right,u.right),u.bottom=yt(l.bottom,u.bottom),u.left=Xe(l.left,u.left),u},Fa(t,a,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function xg(e){const{width:t,height:n}=Zo(e);return{width:t,height:n}}function Og(e,t,n){const r=Re(t),i=De(t),s=n==="fixed",o=Je(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const f=$e(0);function u(){f.x=qn(i)}if(r||!r&&!s)if((At(t)!=="body"||en(i))&&(a=Hn(t)),r){const h=Je(t,!0,s,t);f.x=h.x+t.clientLeft,f.y=h.y+t.clientTop}else i&&u();s&&!r&&i&&u();const c=i&&!r&&!s?es(i,a):$e(0),l=o.left+a.scrollLeft-f.x-c.x,d=o.top+a.scrollTop-f.y-c.y;return{x:l,y:d,width:o.width,height:o.height}}function Zn(e){return Ae(e).position==="static"}function Ia(e,t){if(!Re(e)||Ae(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return De(e)===n&&(n=n.ownerDocument.body),n}function ns(e,t){const n=fe(e);if(jn(e))return n;if(!Re(e)){let i=ze(e);for(;i&&!bt(i);){if(Se(i)&&!Zn(i))return i;i=ze(i)}return n}let r=Ia(e,t);for(;r&&ig(r)&&Zn(r);)r=Ia(r,t);return r&&bt(r)&&Zn(r)&&!ei(r)?n:r||ug(e)||n}const Sg=async function(e){const t=this.getOffsetParent||ns,n=this.getDimensions,r=await n(e.floating);return{reference:Og(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Ag(e){return Ae(e).direction==="rtl"}const Eg={convertOffsetParentRelativeRectToViewportRelativeRect:hg,getDocumentElement:De,getClippingRect:wg,getOffsetParent:ns,getElementRects:Sg,getClientRects:pg,getDimensions:xg,getScale:lt,isElement:Se,isRTL:Ag};function rs(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mg(e,t){let n=null,r;const i=De(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,f){a===void 0&&(a=!1),f===void 0&&(f=1),s();const u=e.getBoundingClientRect(),{left:c,top:l,width:d,height:h}=u;if(a||t(),!d||!h)return;const m=fn(l),v=fn(i.clientWidth-(c+d)),g=fn(i.clientHeight-(l+h)),p=fn(c),y={rootMargin:-m+"px "+-v+"px "+-g+"px "+-p+"px",threshold:Xe(0,yt(1,f))||1};let b=!0;function w(S){const $=S[0].intersectionRatio;if($!==f){if(!b)return o();$?o(!1,$):r=setTimeout(()=>{o(!1,1e-7)},1e3)}$===1&&!rs(u,e.getBoundingClientRect())&&o(),b=!1}try{n=new IntersectionObserver(w,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(w,y)}n.observe(e)}return o(!0),s}function I0(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,u=ni(e),c=i||s?[...u?zt(u):[],...zt(t)]:[];c.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),s&&p.addEventListener("resize",n)});const l=u&&a?Mg(u,n):null;let d=-1,h=null;o&&(h=new ResizeObserver(p=>{let[x]=p;x&&x.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=h)==null||y.observe(t)})),n()}),u&&!f&&h.observe(u),h.observe(t));let m,v=f?Je(e):null;f&&g();function g(){const p=Je(e);v&&!rs(v,p)&&n(),v=p,m=requestAnimationFrame(g)}return n(),()=>{var p;c.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),l?.(),(p=h)==null||p.disconnect(),h=null,f&&cancelAnimationFrame(m)}}const N0=Jr,L0=eg,B0=tg,j0=Kv,H0=Xv,q0=(e,t,n)=>{const r=new Map,i={platform:Eg,...n},s={...i.platform,_c:r};return Qv(e,t,{...i,platform:s})};var xe=function(){return xe=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},xe.apply(this,arguments)};var et;(function(e){var t=(function(){function o(a,f,u,c){if(this.version=a,this.errorCorrectionLevel=f,this.modules=[],this.isFunction=[],a<o.MIN_VERSION||a>o.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;for(var l=[],d=0;d<this.size;d++)l.push(!1);for(var d=0;d<this.size;d++)this.modules.push(l.slice()),this.isFunction.push(l.slice());this.drawFunctionPatterns();var h=this.addEccAndInterleave(u);if(this.drawCodewords(h),c==-1)for(var m=1e9,d=0;d<8;d++){this.applyMask(d),this.drawFormatBits(d);var v=this.getPenaltyScore();v<m&&(c=d,m=v),this.applyMask(d)}i(0<=c&&c<=7),this.mask=c,this.applyMask(c),this.drawFormatBits(c),this.isFunction=[]}return o.encodeText=function(a,f){var u=e.QrSegment.makeSegments(a);return o.encodeSegments(u,f)},o.encodeBinary=function(a,f){var u=e.QrSegment.makeBytes(a);return o.encodeSegments([u],f)},o.encodeSegments=function(a,f,u,c,l,d){if(u===void 0&&(u=1),c===void 0&&(c=40),l===void 0&&(l=-1),d===void 0&&(d=!0),!(o.MIN_VERSION<=u&&u<=c&&c<=o.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");var h,m;for(h=u;;h++){var v=o.getNumDataCodewords(h,f)*8,g=s.getTotalBits(a,h);if(g<=v){m=g;break}if(h>=c)throw new RangeError("Data too long")}for(var p=0,x=[o.Ecc.MEDIUM,o.Ecc.QUARTILE,o.Ecc.HIGH];p<x.length;p++){var y=x[p];d&&m<=o.getNumDataCodewords(h,y)*8&&(f=y)}for(var b=[],w=0,S=a;w<S.length;w++){var $=S[w];n($.mode.modeBits,4,b),n($.numChars,$.mode.numCharCountBits(h),b);for(var R=0,D=$.getData();R<D.length;R++){var C=D[R];b.push(C)}}i(b.length==m);var P=o.getNumDataCodewords(h,f)*8;i(b.length<=P),n(0,Math.min(4,P-b.length),b),n(0,(8-b.length%8)%8,b),i(b.length%8==0);for(var N=236;b.length<P;N^=253)n(N,8,b);for(var I=[];I.length*8<b.length;)I.push(0);return b.forEach(function(_,A){return I[A>>>3]|=_<<7-(A&7)}),new o(h,f,I,l)},o.prototype.getModule=function(a,f){return 0<=a&&a<this.size&&0<=f&&f<this.size&&this.modules[f][a]},o.prototype.getModules=function(){return this.modules},o.prototype.drawFunctionPatterns=function(){for(var a=0;a<this.size;a++)this.setFunctionModule(6,a,a%2==0),this.setFunctionModule(a,6,a%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);for(var f=this.getAlignmentPatternPositions(),u=f.length,a=0;a<u;a++)for(var c=0;c<u;c++)a==0&&c==0||a==0&&c==u-1||a==u-1&&c==0||this.drawAlignmentPattern(f[a],f[c]);this.drawFormatBits(0),this.drawVersion()},o.prototype.drawFormatBits=function(a){for(var f=this.errorCorrectionLevel.formatBits<<3|a,u=f,c=0;c<10;c++)u=u<<1^(u>>>9)*1335;var l=(f<<10|u)^21522;i(l>>>15==0);for(var c=0;c<=5;c++)this.setFunctionModule(8,c,r(l,c));this.setFunctionModule(8,7,r(l,6)),this.setFunctionModule(8,8,r(l,7)),this.setFunctionModule(7,8,r(l,8));for(var c=9;c<15;c++)this.setFunctionModule(14-c,8,r(l,c));for(var c=0;c<8;c++)this.setFunctionModule(this.size-1-c,8,r(l,c));for(var c=8;c<15;c++)this.setFunctionModule(8,this.size-15+c,r(l,c));this.setFunctionModule(8,this.size-8,!0)},o.prototype.drawVersion=function(){if(!(this.version<7)){for(var a=this.version,f=0;f<12;f++)a=a<<1^(a>>>11)*7973;var u=this.version<<12|a;i(u>>>18==0);for(var f=0;f<18;f++){var c=r(u,f),l=this.size-11+f%3,d=Math.floor(f/3);this.setFunctionModule(l,d,c),this.setFunctionModule(d,l,c)}}},o.prototype.drawFinderPattern=function(a,f){for(var u=-4;u<=4;u++)for(var c=-4;c<=4;c++){var l=Math.max(Math.abs(c),Math.abs(u)),d=a+c,h=f+u;0<=d&&d<this.size&&0<=h&&h<this.size&&this.setFunctionModule(d,h,l!=2&&l!=4)}},o.prototype.drawAlignmentPattern=function(a,f){for(var u=-2;u<=2;u++)for(var c=-2;c<=2;c++)this.setFunctionModule(a+c,f+u,Math.max(Math.abs(c),Math.abs(u))!=1)},o.prototype.setFunctionModule=function(a,f,u){this.modules[f][a]=u,this.isFunction[f][a]=!0},o.prototype.addEccAndInterleave=function(a){var f=this.version,u=this.errorCorrectionLevel;if(a.length!=o.getNumDataCodewords(f,u))throw new RangeError("Invalid argument");for(var c=o.NUM_ERROR_CORRECTION_BLOCKS[u.ordinal][f],l=o.ECC_CODEWORDS_PER_BLOCK[u.ordinal][f],d=Math.floor(o.getNumRawDataModules(f)/8),h=c-d%c,m=Math.floor(d/c),v=[],g=o.reedSolomonComputeDivisor(l),p=0,x=0;p<c;p++){var y=a.slice(x,x+m-l+(p<h?0:1));x+=y.length;var b=o.reedSolomonComputeRemainder(y,g);p<h&&y.push(0),v.push(y.concat(b))}for(var w=[],S=function($){v.forEach(function(R,D){($!=m-l||D>=h)&&w.push(R[$])})},p=0;p<v[0].length;p++)S(p);return i(w.length==d),w},o.prototype.drawCodewords=function(a){if(a.length!=Math.floor(o.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");for(var f=0,u=this.size-1;u>=1;u-=2){u==6&&(u=5);for(var c=0;c<this.size;c++)for(var l=0;l<2;l++){var d=u-l,h=(u+1&2)==0,m=h?this.size-1-c:c;!this.isFunction[m][d]&&f<a.length*8&&(this.modules[m][d]=r(a[f>>>3],7-(f&7)),f++)}}i(f==a.length*8)},o.prototype.applyMask=function(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(var f=0;f<this.size;f++)for(var u=0;u<this.size;u++){var c=void 0;switch(a){case 0:c=(u+f)%2==0;break;case 1:c=f%2==0;break;case 2:c=u%3==0;break;case 3:c=(u+f)%3==0;break;case 4:c=(Math.floor(u/3)+Math.floor(f/2))%2==0;break;case 5:c=u*f%2+u*f%3==0;break;case 6:c=(u*f%2+u*f%3)%2==0;break;case 7:c=((u+f)%2+u*f%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[f][u]&&c&&(this.modules[f][u]=!this.modules[f][u])}},o.prototype.getPenaltyScore=function(){for(var a=0,f=0;f<this.size;f++){for(var u=!1,c=0,l=[0,0,0,0,0,0,0],d=0;d<this.size;d++)this.modules[f][d]==u?(c++,c==5?a+=o.PENALTY_N1:c>5&&a++):(this.finderPenaltyAddHistory(c,l),u||(a+=this.finderPenaltyCountPatterns(l)*o.PENALTY_N3),u=this.modules[f][d],c=1);a+=this.finderPenaltyTerminateAndCount(u,c,l)*o.PENALTY_N3}for(var d=0;d<this.size;d++){for(var u=!1,h=0,l=[0,0,0,0,0,0,0],f=0;f<this.size;f++)this.modules[f][d]==u?(h++,h==5?a+=o.PENALTY_N1:h>5&&a++):(this.finderPenaltyAddHistory(h,l),u||(a+=this.finderPenaltyCountPatterns(l)*o.PENALTY_N3),u=this.modules[f][d],h=1);a+=this.finderPenaltyTerminateAndCount(u,h,l)*o.PENALTY_N3}for(var f=0;f<this.size-1;f++)for(var d=0;d<this.size-1;d++){var m=this.modules[f][d];m==this.modules[f][d+1]&&m==this.modules[f+1][d]&&m==this.modules[f+1][d+1]&&(a+=o.PENALTY_N2)}for(var v=0,g=0,p=this.modules;g<p.length;g++){var x=p[g];v=x.reduce(function(w,S){return w+(S?1:0)},v)}var y=this.size*this.size,b=Math.ceil(Math.abs(v*20-y*10)/y)-1;return i(0<=b&&b<=9),a+=b*o.PENALTY_N4,i(0<=a&&a<=2568888),a},o.prototype.getAlignmentPatternPositions=function(){if(this.version==1)return[];for(var a=Math.floor(this.version/7)+2,f=Math.floor((this.version*8+a*3+5)/(a*4-4))*2,u=[6],c=this.size-7;u.length<a;c-=f)u.splice(1,0,c);return u},o.getNumRawDataModules=function(a){if(a<o.MIN_VERSION||a>o.MAX_VERSION)throw new RangeError("Version number out of range");var f=(16*a+128)*a+64;if(a>=2){var u=Math.floor(a/7)+2;f-=(25*u-10)*u-55,a>=7&&(f-=36)}return i(208<=f&&f<=29648),f},o.getNumDataCodewords=function(a,f){return Math.floor(o.getNumRawDataModules(a)/8)-o.ECC_CODEWORDS_PER_BLOCK[f.ordinal][a]*o.NUM_ERROR_CORRECTION_BLOCKS[f.ordinal][a]},o.reedSolomonComputeDivisor=function(a){if(a<1||a>255)throw new RangeError("Degree out of range");for(var f=[],u=0;u<a-1;u++)f.push(0);f.push(1);for(var c=1,u=0;u<a;u++){for(var l=0;l<f.length;l++)f[l]=o.reedSolomonMultiply(f[l],c),l+1<f.length&&(f[l]^=f[l+1]);c=o.reedSolomonMultiply(c,2)}return f},o.reedSolomonComputeRemainder=function(a,f){for(var u=f.map(function(m){return 0}),c=function(m){var v=m^u.shift();u.push(0),f.forEach(function(g,p){return u[p]^=o.reedSolomonMultiply(g,v)})},l=0,d=a;l<d.length;l++){var h=d[l];c(h)}return u},o.reedSolomonMultiply=function(a,f){if(a>>>8||f>>>8)throw new RangeError("Byte out of range");for(var u=0,c=7;c>=0;c--)u=u<<1^(u>>>7)*285,u^=(f>>>c&1)*a;return i(u>>>8==0),u},o.prototype.finderPenaltyCountPatterns=function(a){var f=a[1];i(f<=this.size*3);var u=f>0&&a[2]==f&&a[3]==f*3&&a[4]==f&&a[5]==f;return(u&&a[0]>=f*4&&a[6]>=f?1:0)+(u&&a[6]>=f*4&&a[0]>=f?1:0)},o.prototype.finderPenaltyTerminateAndCount=function(a,f,u){return a&&(this.finderPenaltyAddHistory(f,u),f=0),f+=this.size,this.finderPenaltyAddHistory(f,u),this.finderPenaltyCountPatterns(u)},o.prototype.finderPenaltyAddHistory=function(a,f){f[0]==0&&(a+=this.size),f.pop(),f.unshift(a)},o.MIN_VERSION=1,o.MAX_VERSION=40,o.PENALTY_N1=3,o.PENALTY_N2=3,o.PENALTY_N3=40,o.PENALTY_N4=10,o.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],o.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],o})();e.QrCode=t;function n(o,a,f){if(a<0||a>31||o>>>a)throw new RangeError("Value out of range");for(var u=a-1;u>=0;u--)f.push(o>>>u&1)}function r(o,a){return(o>>>a&1)!=0}function i(o){if(!o)throw new Error("Assertion error")}var s=(function(){function o(a,f,u){if(this.mode=a,this.numChars=f,this.bitData=u,f<0)throw new RangeError("Invalid argument");this.bitData=u.slice()}return o.makeBytes=function(a){for(var f=[],u=0,c=a;u<c.length;u++){var l=c[u];n(l,8,f)}return new o(o.Mode.BYTE,a.length,f)},o.makeNumeric=function(a){if(!o.isNumeric(a))throw new RangeError("String contains non-numeric characters");for(var f=[],u=0;u<a.length;){var c=Math.min(a.length-u,3);n(parseInt(a.substring(u,u+c),10),c*3+1,f),u+=c}return new o(o.Mode.NUMERIC,a.length,f)},o.makeAlphanumeric=function(a){if(!o.isAlphanumeric(a))throw new RangeError("String contains unencodable characters in alphanumeric mode");var f=[],u;for(u=0;u+2<=a.length;u+=2){var c=o.ALPHANUMERIC_CHARSET.indexOf(a.charAt(u))*45;c+=o.ALPHANUMERIC_CHARSET.indexOf(a.charAt(u+1)),n(c,11,f)}return u<a.length&&n(o.ALPHANUMERIC_CHARSET.indexOf(a.charAt(u)),6,f),new o(o.Mode.ALPHANUMERIC,a.length,f)},o.makeSegments=function(a){return a==""?[]:o.isNumeric(a)?[o.makeNumeric(a)]:o.isAlphanumeric(a)?[o.makeAlphanumeric(a)]:[o.makeBytes(o.toUtf8ByteArray(a))]},o.makeEci=function(a){var f=[];if(a<0)throw new RangeError("ECI assignment value out of range");if(a<128)n(a,8,f);else if(a<16384)n(2,2,f),n(a,14,f);else if(a<1e6)n(6,3,f),n(a,21,f);else throw new RangeError("ECI assignment value out of range");return new o(o.Mode.ECI,0,f)},o.isNumeric=function(a){return o.NUMERIC_REGEX.test(a)},o.isAlphanumeric=function(a){return o.ALPHANUMERIC_REGEX.test(a)},o.prototype.getData=function(){return this.bitData.slice()},o.getTotalBits=function(a,f){for(var u=0,c=0,l=a;c<l.length;c++){var d=l[c],h=d.mode.numCharCountBits(f);if(d.numChars>=1<<h)return 1/0;u+=4+h+d.bitData.length}return u},o.toUtf8ByteArray=function(a){a=encodeURI(a);for(var f=[],u=0;u<a.length;u++)a.charAt(u)!="%"?f.push(a.charCodeAt(u)):(f.push(parseInt(a.substring(u+1,u+3),16)),u+=2);return f},o.NUMERIC_REGEX=/^[0-9]*$/,o.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,o.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",o})();e.QrSegment=s})(et||(et={}));(function(e){(function(t){var n=(function(){function r(i,s){this.ordinal=i,this.formatBits=s}return r.LOW=new r(0,1),r.MEDIUM=new r(1,0),r.QUARTILE=new r(2,3),r.HIGH=new r(3,2),r})();t.Ecc=n})(e.QrCode||(e.QrCode={}))})(et||(et={}));(function(e){(function(t){var n=(function(){function r(i,s){this.modeBits=i,this.numBitsCharCount=s}return r.prototype.numCharCountBits=function(i){return this.numBitsCharCount[Math.floor((i+7)/17)]},r.NUMERIC=new r(1,[10,12,14]),r.ALPHANUMERIC=new r(2,[9,11,13]),r.BYTE=new r(4,[8,16,16]),r.KANJI=new r(8,[8,10,12]),r.ECI=new r(7,[0,0,0]),r})();t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(et||(et={}));var Tt=et,_g=0;function $g(e){return e||"v-".concat(_g++)}var is="L",Pg=100,as=0,Tg=.1,Rg=2,os={L:Tt.QrCode.Ecc.LOW,M:Tt.QrCode.Ecc.MEDIUM,Q:Tt.QrCode.Ecc.QUARTILE,H:Tt.QrCode.Ecc.HIGH},Cg=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})();function ss(e){return e in os}function Dg(e,t,n){var r=t>0?e[t-1][n]:!1,i=t<e.length-1?e[t+1][n]:!1,s=n>0?e[t][n-1]:!1,o=n<e[t].length-1?e[t][n+1]:!1;return{nw:!r&&!s,ne:!r&&!o,se:!i&&!o,sw:!i&&!s}}function Fg(e,t,n){t===void 0&&(t=0),n===void 0&&(n=0);for(var r=[],i=Math.min(n,.5),s=0;s<e.length;s++)for(var o=0;o<e[s].length;o++)if(e[s][o]){var a=Dg(e,s,o),f=a.nw,u=a.ne,c=a.se,l=a.sw,d=o+t,h=s+t;r.push("M".concat(d+(f?i:0)," ").concat(h),"L".concat(d+1-(u?i:0)," ").concat(h)),u&&r.push("A".concat(i," ").concat(i," 0 0 1 ").concat(d+1," ").concat(h+i)),r.push("L".concat(d+1," ").concat(h+1-(c?i:0))),c&&r.push("A".concat(i," ").concat(i," 0 0 1 ").concat(d+1-i," ").concat(h+1)),r.push("L".concat(d+(l?i:0)," ").concat(h+1)),l&&r.push("A".concat(i," ").concat(i," 0 0 1 ").concat(d," ").concat(h+1-i)),r.push("L".concat(d," ").concat(h+(f?i:0))),f&&r.push("A".concat(i," ").concat(i," 0 0 1 ").concat(d+i," ").concat(h)),r.push("z")}return r.join("")}function Ig(e,t){t===void 0&&(t=0);for(var n=[],r=0;r<e.length;r++)for(var i=e[r],s=null,o=0;o<i.length;o++){var a=i[o];if(!a&&s!==null){n.push("M".concat(s+t," ").concat(r+t,"h").concat(o-s,"v1H").concat(s+t,"z")),s=null;continue}if(o===i.length-1){if(!a)continue;s===null?n.push("M".concat(o+t,",").concat(r+t," h1v1H").concat(o+t,"z")):n.push("M".concat(s+t,",").concat(r+t," h").concat(o+1-s,"v1H").concat(s+t,"z"));continue}a&&s===null&&(s=o)}return n.join("")}function Ng(e,t,n,r){var i=r.width,s=r.height,o=r.x,a=r.y,f=e.length+n*2,u=Math.floor(t*Tg),c=f/t,l=(i||u)*c,d=(s||u)*c,h=o==null?e.length/2-l/2:o*c,m=a==null?e.length/2-d/2:a*c,v=(r.borderRadius||0)*c;return{x:h,y:m,h:d,w:l,borderRadius:v}}function fs(e){var t=ce(function(){var a;return((a=e.margin)!==null&&a!==void 0?a:as)>>>0}),n=ce(function(){var a=ss(e.level)?e.level:is;return Tt.QrCode.encodeText(e.value,os[a]).getModules()}),r=ce(function(){return n.value.length+t.value*2}),i=ce(function(){return e.radius>0?Fg(n.value,t.value,e.radius):Ig(n.value,t.value)}),s=ce(function(){if(!e.imageSettings.src)return null;var a=Ng(n.value,e.size,t.value,e.imageSettings);return{x:a.x+t.value,y:a.y+t.value,width:a.w,height:a.h,borderRadius:a.borderRadius}}),o=ce(function(){if(!e.imageSettings.excavate||!s.value)return null;var a=Rg/(e.size/r.value);return{x:s.value.x-a,y:s.value.y-a,width:s.value.width+a*2,height:s.value.height+a*2,borderRadius:s.value.borderRadius}});return{margin:t,numCells:r,cells:n,fgPath:i,imageProps:s,imageBorderProps:o}}var ri={value:{type:String,required:!0,default:""},size:{type:Number,default:Pg},level:{type:String,default:is,validator:function(e){return ss(e)}},background:{type:String,default:"#fff"},foreground:{type:String,default:"#000"},margin:{type:Number,required:!1,default:as},imageSettings:{type:Object,required:!1,default:function(){return{}}},gradient:{type:Boolean,required:!1,default:!1},gradientType:{type:String,required:!1,default:"linear",validator:function(e){return["linear","radial"].indexOf(e)>-1}},gradientStartColor:{type:String,required:!1,default:"#000"},gradientEndColor:{type:String,required:!1,default:"#fff"},radius:{type:Number,required:!1,default:0,validator:function(e){return!isNaN(e)&&e>=0&&e<=.5}},id:{type:String,required:!1}},Lg=xe(xe({},ri),{renderAs:{type:String,required:!1,default:"canvas",validator:function(e){return["canvas","svg"].indexOf(e)>-1}}}),Bg=Ar({name:"QRCodeSvg",props:ri,setup:function(e){var t=fs(e),n=t.numCells,r=t.fgPath,i=t.imageProps,s=t.imageBorderProps,o=$g(e.id),a="qrcode.vue-gradient-".concat(o),f="qrcode.vue-logo-clip-path-".concat(o),u=ce(function(){if(!e.gradient)return null;var l=e.gradientType==="linear"?{x1:"0%",y1:"0%",x2:"100%",y2:"100%"}:{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"};return K(e.gradientType==="linear"?"linearGradient":"radialGradient",xe({id:a},l),[K("stop",{offset:"0%",style:{stopColor:e.gradientStartColor}}),K("stop",{offset:"100%",style:{stopColor:e.gradientEndColor}})])}),c=ce(function(){if(!i.value)return null;var l=i.value.borderRadius;return l<=0?null:K("clipPath",{id:f},[K("rect",{x:i.value.x,y:i.value.y,width:i.value.width,height:i.value.height,rx:l,ry:l})])});return function(){return K("svg",{width:e.size,height:e.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(n.value," ").concat(n.value),role:"img","aria-label":e.value},[K("defs",{},[u.value,c.value]),K("rect",{width:"100%",height:"100%",fill:e.background}),K("path",{fill:e.gradient?"url(#".concat(a,")"):e.foreground,d:r.value}),s.value&&K("rect",{x:s.value.x,y:s.value.y,width:s.value.width,height:s.value.height,fill:e.background,rx:s.value.borderRadius,ry:s.value.borderRadius}),e.imageSettings.src&&i.value&&K("image",xe(xe({href:e.imageSettings.src},i.value),i.value.borderRadius>0?{"clip-path":"url(#".concat(f,")")}:{}))])}}}),jg=Ar({name:"QRCodeCanvas",props:ri,setup:function(e,t){var n=fs(e),r=n.margin,i=n.cells,s=n.numCells,o=n.fgPath,a=n.imageProps,f=n.imageBorderProps,u=Y(null),c=Y(null),l=function(h,m,v,g,p,x){h.beginPath(),h.roundRect?h.roundRect(m,v,g,p,x):h.rect(m,v,g,p)},d=function(){var h=e.size,m=e.background,v=e.foreground,g=e.gradient,p=e.gradientType,x=e.gradientStartColor,y=e.gradientEndColor,b=u.value;if(b){var w=b.getContext("2d");if(w){var S=c.value,$=typeof window<"u"&&window.devicePixelRatio||1,R=h/s.value*$;if(b.height=b.width=h*$,w.setTransform(R,0,0,R,0,0),w.fillStyle=m,w.fillRect(0,0,s.value,s.value),g){var D=void 0;p==="linear"?D=w.createLinearGradient(0,0,s.value,s.value):D=w.createRadialGradient(s.value/2,s.value/2,0,s.value/2,s.value/2,s.value/2),D.addColorStop(0,x),D.addColorStop(1,y),w.fillStyle=D}else w.fillStyle=v;Cg?w.fill(new Path2D(o.value)):i.value.forEach(function(I,_){I.forEach(function(A,O){A&&w.fillRect(O+r.value,_+r.value,1,1)})});var C=e.imageSettings.src&&S&&S.naturalWidth!==0&&S.naturalHeight!==0;if(C&&a.value){if(f.value){var P=f.value;w.fillStyle=e.background,l(w,P.x,P.y,P.width,P.height,P.borderRadius),w.fill()}var N=a.value.borderRadius;N>0?(w.save(),l(w,a.value.x,a.value.y,a.value.width,a.value.height,N),w.clip(),w.drawImage(S,a.value.x,a.value.y,a.value.width,a.value.height),w.restore()):w.drawImage(S,a.value.x,a.value.y,a.value.width,a.value.height)}}}};return ja(d),Ha(d),function(){return K(ps,[K("canvas",xe(xe({},t.attrs),{ref:u,role:"img","aria-label":e.value,style:xe(xe({},t.attrs.style),{width:"".concat(e.size,"px"),height:"".concat(e.size,"px")})})),e.imageSettings.src&&K("img",{ref:c,src:e.imageSettings.src,style:{display:"none"},onLoad:d})])}}}),k0=Ar({name:"Qrcode",props:Lg,setup:function(e){return function(){return K(e.renderAs==="svg"?Bg:jg,{value:e.value,size:e.size,margin:e.margin,level:e.level,background:e.background,foreground:e.foreground,imageSettings:e.imageSettings,gradient:e.gradient,gradientType:e.gradientType,gradientStartColor:e.gradientStartColor,gradientEndColor:e.gradientEndColor,radius:e.radius,id:e.id})}}});export{F0 as $,s0 as A,i0 as B,M0 as C,ku as D,$o as E,_0 as F,$0 as G,P0 as H,T0 as I,R0 as J,C0 as K,c0 as L,o0 as M,f0 as N,Wg as O,m0 as P,Vd as Q,Yg as R,Ln as S,S0 as T,y0 as U,kg as V,Ir as W,D0 as X,Kg as Y,Jg as Z,Ug as _,In as a,p0 as a0,w0 as a1,g0 as a2,e0 as a3,H0 as a4,q0 as a5,L0 as a6,b0 as a7,j0 as a8,B0 as a9,I0 as aa,N0 as ab,d0 as ac,k0 as ad,Qg as b,v0 as c,le as d,a0 as e,Vg as f,Hu as g,Mo as h,Xg as i,Z as j,Zg as k,bd as l,u0 as m,A0 as n,l0 as o,t0 as p,E0 as q,r0 as r,n0 as s,Qt as t,x0 as u,Gg as v,zg as w,h0 as x,O0 as y,qg as z};